2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libltdl 1.2.
5 # Report bugs to <bug-libtool@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/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 -z "`(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
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL
=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec
; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo
; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo
; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 if test "X${CDPATH+set}" = Xset
; then CDPATH
=:; export CDPATH
; fi
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset
; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
291 echo_test_string
="`eval $cmd`" &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
311 for dir
in $PATH /usr
/ucb
; do
313 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho
; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL
=/bin
/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
352 SHELL
="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string
=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames
=`echo "$tagnames,CXX" | sed 's/^,//'`
398 tagnames
=`echo "$tagnames,F77" | sed 's/^,//'`
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix
=/usr
/local
411 ac_config_libobj_dir
=.
416 SHELL
=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME
='libltdl'
425 PACKAGE_TARNAME
='libltdl'
426 PACKAGE_VERSION
='1.2'
427 PACKAGE_STRING
='libltdl 1.2'
428 PACKAGE_BUGREPORT
='bug-libtool@gnu.org'
430 ac_unique_file
="ltdl.c"
431 # Factoring default headers for most tests.
432 ac_includes_default
="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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'
471 # Initialize some variables set by options.
473 ac_init_version
=false
474 # The variables have the same names as the options, with
475 # dashes changed to underlines.
483 program_transform_name
=s
,x
,x
,
491 # Installation directory options.
492 # These are left unexpanded so users can "make install exec_prefix=/foo"
493 # and all the variables that are supposed to be based on exec_prefix
494 # by default will actually change.
495 # Use braces instead of parens because sh, perl, etc. also accept them.
496 bindir
='${exec_prefix}/bin'
497 sbindir
='${exec_prefix}/sbin'
498 libexecdir
='${exec_prefix}/libexec'
499 datadir
='${prefix}/share'
500 sysconfdir
='${prefix}/etc'
501 sharedstatedir
='${prefix}/com'
502 localstatedir
='${prefix}/var'
503 libdir
='${exec_prefix}/lib'
504 includedir
='${prefix}/include'
505 oldincludedir
='/usr/include'
506 infodir
='${prefix}/info'
507 mandir
='${prefix}/man'
512 # If the previous option needs an argument, assign it.
513 if test -n "$ac_prev"; then
514 eval "$ac_prev=\$ac_option"
519 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
527 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
530 -build |
--build |
--buil |
--bui |
--bu)
531 ac_prev
=build_alias
;;
532 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
533 build_alias
=$ac_optarg ;;
535 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
536 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
537 ac_prev
=cache_file
;;
538 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
539 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
540 cache_file
=$ac_optarg ;;
543 cache_file
=config.cache
;;
545 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
547 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
549 datadir
=$ac_optarg ;;
551 -disable-* |
--disable-*)
552 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
555 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556 { (exit 1); exit 1; }; }
557 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
558 eval "enable_$ac_feature=no" ;;
560 -enable-* |
--enable-*)
561 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
564 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565 { (exit 1); exit 1; }; }
566 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
568 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571 eval "enable_$ac_feature='$ac_optarg'" ;;
573 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
574 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
575 |
--exec |
--exe |
--ex)
576 ac_prev
=exec_prefix
;;
577 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
578 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
579 |
--exec=* |
--exe=* |
--ex=*)
580 exec_prefix
=$ac_optarg ;;
582 -gas |
--gas |
--ga |
--g)
583 # Obsolete; use --with-gas.
586 -help |
--help |
--hel |
--he |
-h)
588 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
589 ac_init_help
=recursive
;;
590 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
591 ac_init_help
=short
;;
593 -host |
--host |
--hos |
--ho)
594 ac_prev
=host_alias
;;
595 -host=* |
--host=* |
--hos=* |
--ho=*)
596 host_alias
=$ac_optarg ;;
598 -includedir |
--includedir |
--includedi |
--included |
--include \
599 |
--includ |
--inclu |
--incl |
--inc)
600 ac_prev
=includedir
;;
601 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
602 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
603 includedir
=$ac_optarg ;;
605 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
607 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
608 infodir
=$ac_optarg ;;
610 -libdir |
--libdir |
--libdi |
--libd)
612 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
615 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
616 |
--libexe |
--libex |
--libe)
617 ac_prev
=libexecdir
;;
618 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
619 |
--libexe=* |
--libex=* |
--libe=*)
620 libexecdir
=$ac_optarg ;;
622 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
623 |
--localstate |
--localstat |
--localsta |
--localst \
624 |
--locals |
--local |
--loca |
--loc |
--lo)
625 ac_prev
=localstatedir
;;
626 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
627 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
628 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
629 localstatedir
=$ac_optarg ;;
631 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
633 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
637 # Obsolete; use --without-fp.
640 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
641 |
--no-cr |
--no-c |
-n)
644 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
645 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
648 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
649 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
650 |
--oldin |
--oldi |
--old |
--ol |
--o)
651 ac_prev
=oldincludedir
;;
652 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
653 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
654 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
655 oldincludedir
=$ac_optarg ;;
657 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
659 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
662 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
663 |
--program-pre |
--program-pr |
--program-p)
664 ac_prev
=program_prefix
;;
665 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
666 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
667 program_prefix
=$ac_optarg ;;
669 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
670 |
--program-suf |
--program-su |
--program-s)
671 ac_prev
=program_suffix
;;
672 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
673 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
674 program_suffix
=$ac_optarg ;;
676 -program-transform-name |
--program-transform-name \
677 |
--program-transform-nam |
--program-transform-na \
678 |
--program-transform-n |
--program-transform- \
679 |
--program-transform |
--program-transfor \
680 |
--program-transfo |
--program-transf \
681 |
--program-trans |
--program-tran \
682 |
--progr-tra |
--program-tr |
--program-t)
683 ac_prev
=program_transform_name
;;
684 -program-transform-name=* |
--program-transform-name=* \
685 |
--program-transform-nam=* |
--program-transform-na=* \
686 |
--program-transform-n=* |
--program-transform-=* \
687 |
--program-transform=* |
--program-transfor=* \
688 |
--program-transfo=* |
--program-transf=* \
689 |
--program-trans=* |
--program-tran=* \
690 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
691 program_transform_name
=$ac_optarg ;;
693 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
694 |
-silent |
--silent |
--silen |
--sile |
--sil)
697 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
699 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
701 sbindir
=$ac_optarg ;;
703 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
704 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
705 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
707 ac_prev
=sharedstatedir
;;
708 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
709 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
710 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
712 sharedstatedir
=$ac_optarg ;;
714 -site |
--site |
--sit)
716 -site=* |
--site=* |
--sit=*)
719 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
721 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
724 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
725 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
726 ac_prev
=sysconfdir
;;
727 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
728 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
729 sysconfdir
=$ac_optarg ;;
731 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
732 ac_prev
=target_alias
;;
733 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
734 target_alias
=$ac_optarg ;;
736 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
739 -version |
--version |
--versio |
--versi |
--vers |
-V)
743 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
746 { echo "$as_me: error: invalid package name: $ac_package" >&2
747 { (exit 1); exit 1; }; }
748 ac_package
=`echo $ac_package| sed 's/-/_/g'`
750 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753 eval "with_$ac_package='$ac_optarg'" ;;
755 -without-* |
--without-*)
756 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
759 { echo "$as_me: error: invalid package name: $ac_package" >&2
760 { (exit 1); exit 1; }; }
761 ac_package
=`echo $ac_package | sed 's/-/_/g'`
762 eval "with_$ac_package=no" ;;
765 # Obsolete; use --with-x.
768 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
769 |
--x-incl |
--x-inc |
--x-in |
--x-i)
770 ac_prev
=x_includes
;;
771 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
772 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
773 x_includes
=$ac_optarg ;;
775 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
776 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
777 ac_prev
=x_libraries
;;
778 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
779 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
780 x_libraries
=$ac_optarg ;;
782 -*) { echo "$as_me: error: unrecognized option: $ac_option
783 Try \`$0 --help' for more information." >&2
784 { (exit 1); exit 1; }; }
788 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
791 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792 { (exit 1); exit 1; }; }
793 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794 eval "$ac_envvar='$ac_optarg'"
798 # FIXME: should be removed in autoconf 3.0.
799 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
801 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
808 if test -n "$ac_prev"; then
809 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
810 { echo "$as_me: error: missing argument to $ac_option" >&2
811 { (exit 1); exit 1; }; }
814 # Be sure to have absolute paths.
815 for ac_var
in exec_prefix prefix
817 eval ac_val
=$
`echo $ac_var`
819 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
820 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821 { (exit 1); exit 1; }; };;
825 # Be sure to have absolute paths.
826 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827 localstatedir libdir includedir oldincludedir infodir mandir
829 eval ac_val
=$
`echo $ac_var`
831 [\\/$
]* | ?
:[\\/]* ) ;;
832 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833 { (exit 1); exit 1; }; };;
837 # There might be people who depend on the old broken behavior: `$host'
838 # used to hold the argument of --host etc.
839 # FIXME: To remove some day.
844 # FIXME: To remove some day.
845 if test "x$host_alias" != x
; then
846 if test "x$build_alias" = x
; then
847 cross_compiling
=maybe
848 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849 If a cross compiler is detected then cross compile mode will be used." >&2
850 elif test "x$build_alias" != "x$host_alias"; then
856 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
858 test "$silent" = yes && exec 6>/dev
/null
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted
=yes
864 # Try the directory containing this script, then its parent.
865 ac_confdir
=`(dirname "$0") 2>/dev/null ||
866 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867 X"$0" : 'X\(//\)[^/]' \| \
868 X"$0" : 'X\(//\)$' \| \
869 X"$0" : 'X\(/\)' \| \
870 . : '\(.\)' 2>/dev/null ||
872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874 /^X\(\/\/\)$/{ s//\1/; q; }
875 /^X\(\/\).*/{ s//\1/; q; }
878 if test ! -r $srcdir/$ac_unique_file; then
882 ac_srcdir_defaulted
=no
884 if test ! -r $srcdir/$ac_unique_file; then
885 if test "$ac_srcdir_defaulted" = yes; then
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887 { (exit 1); exit 1; }; }
889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890 { (exit 1); exit 1; }; }
893 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
894 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895 { (exit 1); exit 1; }; }
896 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897 ac_env_build_alias_set
=${build_alias+set}
898 ac_env_build_alias_value
=$build_alias
899 ac_cv_env_build_alias_set
=${build_alias+set}
900 ac_cv_env_build_alias_value
=$build_alias
901 ac_env_host_alias_set
=${host_alias+set}
902 ac_env_host_alias_value
=$host_alias
903 ac_cv_env_host_alias_set
=${host_alias+set}
904 ac_cv_env_host_alias_value
=$host_alias
905 ac_env_target_alias_set
=${target_alias+set}
906 ac_env_target_alias_value
=$target_alias
907 ac_cv_env_target_alias_set
=${target_alias+set}
908 ac_cv_env_target_alias_value
=$target_alias
909 ac_env_CC_set
=${CC+set}
911 ac_cv_env_CC_set
=${CC+set}
912 ac_cv_env_CC_value
=$CC
913 ac_env_CFLAGS_set
=${CFLAGS+set}
914 ac_env_CFLAGS_value
=$CFLAGS
915 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
916 ac_cv_env_CFLAGS_value
=$CFLAGS
917 ac_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_env_LDFLAGS_value
=$LDFLAGS
919 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value
=$LDFLAGS
921 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
924 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
925 ac_env_CPP_set
=${CPP+set}
926 ac_env_CPP_value
=$CPP
927 ac_cv_env_CPP_set
=${CPP+set}
928 ac_cv_env_CPP_value
=$CPP
929 ac_env_CXX_set
=${CXX+set}
930 ac_env_CXX_value
=$CXX
931 ac_cv_env_CXX_set
=${CXX+set}
932 ac_cv_env_CXX_value
=$CXX
933 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
934 ac_env_CXXFLAGS_value
=$CXXFLAGS
935 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
936 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
937 ac_env_CXXCPP_set
=${CXXCPP+set}
938 ac_env_CXXCPP_value
=$CXXCPP
939 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
940 ac_cv_env_CXXCPP_value
=$CXXCPP
941 ac_env_F77_set
=${F77+set}
942 ac_env_F77_value
=$F77
943 ac_cv_env_F77_set
=${F77+set}
944 ac_cv_env_F77_value
=$F77
945 ac_env_FFLAGS_set
=${FFLAGS+set}
946 ac_env_FFLAGS_value
=$FFLAGS
947 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
948 ac_cv_env_FFLAGS_value
=$FFLAGS
951 # Report the --help message.
953 if test "$ac_init_help" = "long"; then
954 # Omit some internal or obsolete options to make the list less imposing.
955 # This message is too long to be a string in the A/UX 3.1 sh.
957 \`configure' configures libltdl 1.2 to adapt to many kinds of systems.
959 Usage: $0 [OPTION]... [VAR=VALUE]...
961 To assign environment variables (e.g., CC, CFLAGS...), specify them as
962 VAR=VALUE. See below for descriptions of some of the useful variables.
964 Defaults for the options are specified in brackets.
967 -h, --help display this help and exit
968 --help=short display options specific to this package
969 --help=recursive display the short help of all the included packages
970 -V, --version display version information and exit
971 -q, --quiet, --silent do not print \`checking...' messages
972 --cache-file=FILE cache test results in FILE [disabled]
973 -C, --config-cache alias for \`--cache-file=config.cache'
974 -n, --no-create do not create output files
975 --srcdir=DIR find the sources in DIR [configure dir or \`..']
980 Installation directories:
981 --prefix=PREFIX install architecture-independent files in PREFIX
983 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
986 By default, \`make install' will install all the files in
987 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
988 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
989 for instance \`--prefix=\$HOME'.
991 For better control, use the options below.
993 Fine tuning of the installation directories:
994 --bindir=DIR user executables [EPREFIX/bin]
995 --sbindir=DIR system admin executables [EPREFIX/sbin]
996 --libexecdir=DIR program executables [EPREFIX/libexec]
997 --datadir=DIR read-only architecture-independent data [PREFIX/share]
998 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
999 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1000 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1001 --libdir=DIR object code libraries [EPREFIX/lib]
1002 --includedir=DIR C header files [PREFIX/include]
1003 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1004 --infodir=DIR info documentation [PREFIX/info]
1005 --mandir=DIR man documentation [PREFIX/man]
1011 --program-prefix=PREFIX prepend PREFIX to installed program names
1012 --program-suffix=SUFFIX append SUFFIX to installed program names
1013 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1016 --build=BUILD configure
for building on BUILD
[guessed
]
1017 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1021 if test -n "$ac_init_help"; then
1022 case $ac_init_help in
1023 short | recursive
) echo "Configuration of libltdl 1.2:";;
1028 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1029 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1030 --enable-maintainer-mode enable make rules and dependencies not useful
1031 (and sometimes confusing
) to the casual installer
1032 --disable-dependency-tracking speeds up one-time build
1033 --enable-dependency-tracking do not reject slow dependency extractors
1034 --enable-shared[=PKGS
]
1035 build shared libraries
[default
=yes]
1036 --enable-static[=PKGS
]
1037 build static libraries
[default
=yes]
1038 --enable-fast-install[=PKGS
]
1039 optimize
for fast installation
[default
=yes]
1040 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1041 --enable-ltdl-install install libltdl
1044 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1045 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1046 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1047 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1050 include additional configurations
[automatic
]
1052 Some influential environment variables
:
1053 CC C compiler
command
1054 CFLAGS C compiler flags
1055 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1056 nonstandard directory
<lib dir
>
1057 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1058 headers
in a nonstandard directory
<include dir
>
1060 CXX C
++ compiler
command
1061 CXXFLAGS C
++ compiler flags
1062 CXXCPP C
++ preprocessor
1063 F77 Fortran
77 compiler
command
1064 FFLAGS Fortran
77 compiler flags
1066 Use these variables to override the choices made by
`configure' or to help
1067 it to find libraries and programs with nonstandard names/locations.
1069 Report bugs to <bug-libtool@gnu.org>.
1073 if test "$ac_init_help" = "recursive"; then
1074 # If there are subdirs, report their specific --help.
1076 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1077 test -d $ac_dir || continue
1080 if test "$ac_dir" != .; then
1081 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1082 # A "../" for each directory in $ac_dir_suffix.
1083 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1085 ac_dir_suffix= ac_top_builddir=
1089 .) # No --srcdir option. We are building in place.
1091 if test -z "$ac_top_builddir"; then
1094 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1096 [\\/]* | ?:[\\/]* ) # Absolute path.
1097 ac_srcdir=$srcdir$ac_dir_suffix;
1098 ac_top_srcdir=$srcdir ;;
1100 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1101 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1104 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1105 # the directories may not exist.
1107 .) ac_abs_builddir="$ac_dir";;
1110 .) ac_abs_builddir=`pwd`;;
1111 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1112 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1115 case $ac_abs_builddir in
1116 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1118 case ${ac_top_builddir}. in
1119 .) ac_abs_top_builddir=$ac_abs_builddir;;
1120 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1121 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1124 case $ac_abs_builddir in
1125 .) ac_abs_srcdir=$ac_srcdir;;
1128 .) ac_abs_srcdir=$ac_abs_builddir;;
1129 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1130 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1133 case $ac_abs_builddir in
1134 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1136 case $ac_top_srcdir in
1137 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1138 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1139 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1144 # Check for guested configure; otherwise get Cygnus style configure.
1145 if test -f $ac_srcdir/configure.gnu; then
1147 $SHELL $ac_srcdir/configure.gnu --help=recursive
1148 elif test -f $ac_srcdir/configure; then
1150 $SHELL $ac_srcdir/configure --help=recursive
1151 elif test -f $ac_srcdir/configure.ac ||
1152 test -f $ac_srcdir/configure.in; then
1154 $ac_configure --help
1156 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1162 test -n "$ac_init_help" && exit 0
1163 if $ac_init_version; then
1165 libltdl configure 1.2
1166 generated by GNU Autoconf 2.59
1168 Copyright (C) 2003 Free Software Foundation, Inc.
1169 This configure script is free software; the Free Software Foundation
1170 gives unlimited permission to copy, distribute and modify it.
1176 This file contains any messages produced by compilers while
1177 running configure, to aid debugging if configure makes a mistake.
1179 It was created by libltdl $as_me 1.2, which was
1180 generated by GNU Autoconf 2.59. Invocation command line was
1191 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1192 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1193 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1194 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1195 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1197 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1198 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1200 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1201 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1202 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1203 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1204 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1205 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1206 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1214 test -z "$as_dir" && as_dir=.
1215 echo "PATH: $as_dir"
1230 # Keep a trace of the command line.
1231 # Strip out --no-create and --no-recursion so they do not pile up.
1232 # Strip out --silent because we don't want to record it for future runs.
1233 # Also quote any args containing shell meta-characters.
1234 # Make two passes to allow for proper duplicate-argument suppression.
1239 ac_must_keep_next=false
1245 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1247 | -silent | --silent | --silen | --sile | --sil)
1249 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1250 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1253 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1255 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1256 if test $ac_must_keep_next = true; then
1257 ac_must_keep_next=false # Got value, back to normal.
1260 *=* | --config-cache | -C | -disable-* | --disable-* \
1261 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1262 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1263 | -with-* | --with-* | -without-* | --without-* | --x)
1264 case "$ac_configure_args0 " in
1265 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1268 -* ) ac_must_keep_next=true ;;
1271 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1272 # Get rid of the leading space.
1278 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1279 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1281 # When interrupted or exit'd, cleanup temporary files, and complete
1282 # config.log. We remove comments because anyway the quotes in there
1283 # would cause problems or look ugly.
1284 # WARNING: Be sure not to use single quotes in there, as some shells,
1285 # such as our DU 5.0 friend, will then `close
' the trap.
1286 trap 'exit_status
=$?
1287 # Save into config.log some information that might help in debugging.
1292 ## ---------------- ##
1293 ## Cache variables. ##
1294 ## ---------------- ##
1297 # The following way of writing the cache mishandles newlines in values,
1300 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1303 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1308 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1315 ## ----------------- ##
1316 ## Output variables. ##
1317 ## ----------------- ##
1320 for ac_var
in $ac_subst_vars
1322 eval ac_val
=$
`echo $ac_var`
1323 echo "$ac_var='"'"'$ac_val'"'"'"
1327 if test -n "$ac_subst_files"; then
1334 for ac_var
in $ac_subst_files
1336 eval ac_val
=$
`echo $ac_var`
1337 echo "$ac_var='"'"'$ac_val'"'"'"
1342 if test -s confdefs.h
; then
1349 sed "/^$/d" confdefs.h |
sort
1352 test "$ac_signal" != 0 &&
1353 echo "$as_me: caught signal $ac_signal"
1354 echo "$as_me: exit $exit_status"
1356 rm -f core
*.core
&&
1357 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1360 for ac_signal in 1 2 13 15; do
1361 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1365 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1366 rm -rf conftest* confdefs.h
1367 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1370 # Predefined preprocessor variables.
1372 cat >>confdefs.h <<_ACEOF
1373 #define PACKAGE_NAME "$PACKAGE_NAME"
1377 cat >>confdefs.h <<_ACEOF
1378 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1382 cat >>confdefs.h <<_ACEOF
1383 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1387 cat >>confdefs.h <<_ACEOF
1388 #define PACKAGE_STRING "$PACKAGE_STRING"
1392 cat >>confdefs.h <<_ACEOF
1393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1397 # Let the site file select an alternate cache file if it wants to.
1398 # Prefer explicitly selected file to automatically selected ones.
1399 if test -z "$CONFIG_SITE"; then
1400 if test "x$prefix" != xNONE; then
1401 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1403 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1406 for ac_site_file in $CONFIG_SITE; do
1407 if test -r "$ac_site_file"; then
1408 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1409 echo "$as_me: loading site script $ac_site_file" >&6;}
1410 sed 's
/^
/|
/' "$ac_site_file" >&5
1415 if test -r "$cache_file"; then
1416 # Some versions of bash will fail to source /dev/null (special
1417 # files actually), so we avoid doing that.
1418 if test -f "$cache_file"; then
1419 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1420 echo "$as_me: loading cache $cache_file" >&6;}
1422 [\\/]* | ?:[\\/]* ) . $cache_file;;
1423 *) . ./$cache_file;;
1427 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1428 echo "$as_me: creating cache $cache_file" >&6;}
1432 # Check that the precious variables saved in the cache have kept the same
1434 ac_cache_corrupted=false
1435 for ac_var in `(set) 2>&1 |
1436 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1437 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1438 eval ac_new_set=\$ac_env_${ac_var}_set
1439 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1440 eval ac_new_val="\$ac_env_${ac_var}_value"
1441 case $ac_old_set,$ac_new_set in
1443 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1444 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1445 ac_cache_corrupted=: ;;
1447 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1448 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1449 ac_cache_corrupted=: ;;
1452 if test "x$ac_old_val" != "x$ac_new_val"; then
1453 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1454 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1455 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1456 echo "$as_me: former value: $ac_old_val" >&2;}
1457 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1458 echo "$as_me: current value: $ac_new_val" >&2;}
1459 ac_cache_corrupted=:
1462 # Pass precious variables to config.status.
1463 if test "$ac_new_set" = set; then
1465 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1466 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1467 *) ac_arg=$ac_var=$ac_new_val ;;
1469 case " $ac_configure_args " in
1470 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1471 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1475 if $ac_cache_corrupted; then
1476 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1477 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1478 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1479 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1480 { (exit 1); exit 1; }; }
1484 ac_cpp='$CPP $CPPFLAGS'
1485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1486 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1516 ac_config_files="$ac_config_files config.h:config-h.in"
1520 ## ------------------------------- ##
1521 ## Libltdl specific configuration. ##
1522 ## ------------------------------- ##
1525 for ac_dir in . $srcdir/.; do
1526 if test -f $ac_dir/install-sh; then
1528 ac_install_sh="$ac_aux_dir/install-sh -c"
1530 elif test -f $ac_dir/install.sh; then
1532 ac_install_sh="$ac_aux_dir/install.sh -c"
1534 elif test -f $ac_dir/shtool; then
1536 ac_install_sh="$ac_aux_dir/shtool install -c"
1540 if test -z "$ac_aux_dir"; then
1541 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
1542 echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
1543 { (exit 1); exit 1; }; }
1545 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1546 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1547 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1550 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
1551 if test -f ${srcdir}/ltmain.sh; then
1552 # if libltdl is libtoolized, it is assumed to be stand-alone and
1553 # installed unless the command line overrides it (tested above)
1554 enable_ltdl_install=yes
1556 { echo "$as_me:$LINENO: WARNING: *** The top-level configure must select either" >&5
1557 echo "$as_me: WARNING: *** The top-level configure must select either" >&2;}
1558 { echo "$as_me:$LINENO: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&5
1559 echo "$as_me: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&2;}
1560 { { echo "$as_me:$LINENO: error: *** Maybe you want to --enable-ltdl-install?" >&5
1561 echo "$as_me: error: *** Maybe you want to --enable-ltdl-install?" >&2;}
1562 { (exit 1); exit 1; }; }
1567 ## ------------------------ ##
1568 ## Automake Initialisation. ##
1569 ## ------------------------ ##
1570 am__api_version="1.9"
1571 # Find a good install program. We prefer a C program (faster),
1572 # so one script is as good as another. But avoid the broken or
1573 # incompatible versions:
1574 # SysV /etc/install, /usr/sbin/install
1575 # SunOS /usr/etc/install
1576 # IRIX /sbin/install
1578 # AmigaOS /C/install, which installs bootblocks on floppy discs
1579 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1580 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1581 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1582 # OS/2's system install, which has a completely different semantic
1583 # ./install, which can be erroneously created by make from ./install.sh.
1584 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1585 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1586 if test -z "$INSTALL"; then
1587 if test "${ac_cv_path_install+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1594 test -z "$as_dir" && as_dir
=.
1595 # Account for people who put trailing slashes in PATH elements.
1597 .
/ | .
// |
/cC
/* | \
1598 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1599 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1602 # OSF1 and SCO ODT 3.0 have their own names for install.
1603 # Don't use installbsd from OSF since it installs stuff as root
1605 for ac_prog
in ginstall scoinst
install; do
1606 for ac_exec_ext
in '' $ac_executable_extensions; do
1607 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1608 if test $ac_prog = install &&
1609 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1610 # AIX install. It has an incompatible calling convention.
1612 elif test $ac_prog = install &&
1613 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1614 # program-specific install script used by HP pwplus--don't use.
1617 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1629 if test "${ac_cv_path_install+set}" = set; then
1630 INSTALL
=$ac_cv_path_install
1632 # As a last resort, use the slow shell script. We don't cache a
1633 # path for INSTALL within a source directory, because that will
1634 # break other packages using the cache if that directory is
1635 # removed, or if the path is relative.
1636 INSTALL
=$ac_install_sh
1639 echo "$as_me:$LINENO: result: $INSTALL" >&5
1640 echo "${ECHO_T}$INSTALL" >&6
1642 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1643 # It thinks the first close brace ends the variable substitution.
1644 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1646 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1648 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1650 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1651 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1654 echo timestamp
> conftest.
file
1655 # Do `set' in a subshell so we don't clobber the current shell's
1656 # arguments. Must try -L first in case configure is actually a
1657 # symlink; some systems play weird games with the mod time of symlinks
1658 # (eg FreeBSD returns the mod time of the symlink's containing
1661 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1662 if test "$*" = "X"; then
1664 set X
`ls -t $srcdir/configure conftest.file`
1667 if test "$*" != "X $srcdir/configure conftest.file" \
1668 && test "$*" != "X conftest.file $srcdir/configure"; then
1670 # If neither matched, then we have a broken ls. This can happen
1671 # if, for instance, CONFIG_SHELL is bash and it inherits a
1672 # broken ls alias from the environment. This has actually
1673 # happened. Such a system could not be considered "sane".
1674 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1675 alias in your environment" >&5
1676 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1677 alias in your environment" >&2;}
1678 { (exit 1); exit 1; }; }
1681 test "$2" = conftest.
file
1687 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1688 Check your system clock" >&5
1689 echo "$as_me: error: newly created file is older than distributed files!
1690 Check your system clock" >&2;}
1691 { (exit 1); exit 1; }; }
1693 echo "$as_me:$LINENO: result: yes" >&5
1694 echo "${ECHO_T}yes" >&6
1695 test "$program_prefix" != NONE
&&
1696 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1697 # Use a double $ so make ignores it.
1698 test "$program_suffix" != NONE
&&
1699 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1700 # Double any \ or $. echo might interpret backslashes.
1701 # By default was `s,x,x', remove it if useless.
1702 cat <<\_ACEOF
>conftest.
sed
1703 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1705 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1708 # expand $ac_aux_dir to an absolute path
1709 am_aux_dir
=`cd $ac_aux_dir && pwd`
1711 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1712 # Use eval to expand $SHELL
1713 if eval "$MISSING --run true"; then
1714 am_missing_run
="$MISSING --run "
1717 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1718 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1721 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1722 # We used to keeping the `.' as first argument, in order to
1723 # allow $(mkdir_p) to be used without argument. As in
1724 # $(mkdir_p) $(somedir)
1725 # where $(somedir) is conditionally defined. However this is wrong
1727 # 1. if the package is installed by a user who cannot write `.'
1728 # make install will fail,
1729 # 2. the above comment should most certainly read
1730 # $(mkdir_p) $(DESTDIR)$(somedir)
1731 # so it does not work when $(somedir) is undefined and
1732 # $(DESTDIR) is not.
1733 # To support the latter case, we have to write
1734 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1735 # so the `.' trick is pointless.
1736 mkdir_p
='mkdir -p --'
1738 # On NextStep and OpenStep, the `mkdir' command does not
1739 # recognize any option. It will interpret all options as
1740 # directories to create, and then abort because `.' already
1742 for d
in .
/-p .
/--version;
1744 test -d $d && rmdir $d
1746 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1747 if test -f "$ac_aux_dir/mkinstalldirs"; then
1748 mkdir_p
='$(mkinstalldirs)'
1750 mkdir_p
='$(install_sh) -d'
1754 for ac_prog
in gawk mawk nawk
awk
1756 # Extract the first word of "$ac_prog", so it can be a program name with args.
1757 set dummy
$ac_prog; ac_word
=$2
1758 echo "$as_me:$LINENO: checking for $ac_word" >&5
1759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1760 if test "${ac_cv_prog_AWK+set}" = set; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1763 if test -n "$AWK"; then
1764 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1770 test -z "$as_dir" && as_dir
=.
1771 for ac_exec_ext
in '' $ac_executable_extensions; do
1772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1773 ac_cv_prog_AWK
="$ac_prog"
1774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 if test -n "$AWK"; then
1784 echo "$as_me:$LINENO: result: $AWK" >&5
1785 echo "${ECHO_T}$AWK" >&6
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1791 test -n "$AWK" && break
1794 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1795 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1796 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1797 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
1800 cat >conftest.
make <<\_ACEOF
1802 @
echo 'ac_maketemp="$(MAKE)"'
1804 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1805 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1806 if test -n "$ac_maketemp"; then
1807 eval ac_cv_prog_make_
${ac_make}_set
=yes
1809 eval ac_cv_prog_make_
${ac_make}_set
=no
1813 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1814 echo "$as_me:$LINENO: result: yes" >&5
1815 echo "${ECHO_T}yes" >&6
1818 echo "$as_me:$LINENO: result: no" >&5
1819 echo "${ECHO_T}no" >&6
1820 SET_MAKE
="MAKE=${MAKE-make}"
1823 rm -rf .tst
2>/dev
/null
1824 mkdir .tst
2>/dev
/null
1825 if test -d .tst
; then
1830 rmdir .tst
2>/dev
/null
1832 # test to see if srcdir already configured
1833 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1834 test -f $srcdir/config.status
; then
1835 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1836 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1837 { (exit 1); exit 1; }; }
1840 # test whether we have cygpath
1841 if test -z "$CYGPATH_W"; then
1842 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1843 CYGPATH_W
='cygpath -w'
1850 # Define the identity of the package.
1855 cat >>confdefs.h
<<_ACEOF
1856 #define PACKAGE "$PACKAGE"
1860 cat >>confdefs.h
<<_ACEOF
1861 #define VERSION "$VERSION"
1864 # Some tools Automake needs.
1866 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1869 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1872 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1875 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1878 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1880 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1882 # Installed binaries are usually stripped using `strip' when the user
1883 # run `make install-strip'. However `strip' might not be the right
1884 # tool to use in cross-compilation environments, therefore Automake
1885 # will honor the `STRIP' environment variable to overrule this program.
1886 if test "$cross_compiling" != no
; then
1887 if test -n "$ac_tool_prefix"; then
1888 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1889 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1890 echo "$as_me:$LINENO: checking for $ac_word" >&5
1891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1892 if test "${ac_cv_prog_STRIP+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 if test -n "$STRIP"; then
1896 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir
=.
1903 for ac_exec_ext
in '' $ac_executable_extensions; do
1904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1905 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 STRIP
=$ac_cv_prog_STRIP
1915 if test -n "$STRIP"; then
1916 echo "$as_me:$LINENO: result: $STRIP" >&5
1917 echo "${ECHO_T}$STRIP" >&6
1919 echo "$as_me:$LINENO: result: no" >&5
1920 echo "${ECHO_T}no" >&6
1924 if test -z "$ac_cv_prog_STRIP"; then
1926 # Extract the first word of "strip", so it can be a program name with args.
1927 set dummy strip
; ac_word
=$2
1928 echo "$as_me:$LINENO: checking for $ac_word" >&5
1929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1930 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 if test -n "$ac_ct_STRIP"; then
1934 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1940 test -z "$as_dir" && as_dir
=.
1941 for ac_exec_ext
in '' $ac_executable_extensions; do
1942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1943 ac_cv_prog_ac_ct_STRIP
="strip"
1944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1950 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1953 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1954 if test -n "$ac_ct_STRIP"; then
1955 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1956 echo "${ECHO_T}$ac_ct_STRIP" >&6
1958 echo "$as_me:$LINENO: result: no" >&5
1959 echo "${ECHO_T}no" >&6
1964 STRIP
="$ac_cv_prog_STRIP"
1968 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1970 # We need awk for the "check" target. The system "awk" is bad on
1972 # Always define AMTAR for backward compatibility.
1974 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1976 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1982 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1983 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1984 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1985 if test "${enable_maintainer_mode+set}" = set; then
1986 enableval
="$enable_maintainer_mode"
1987 USE_MAINTAINER_MODE
=$enableval
1989 USE_MAINTAINER_MODE
=no
1991 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1992 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1995 if test $USE_MAINTAINER_MODE = yes; then
1996 MAINTAINER_MODE_TRUE
=
1997 MAINTAINER_MODE_FALSE
='#'
1999 MAINTAINER_MODE_TRUE
='#'
2000 MAINTAINER_MODE_FALSE
=
2003 MAINT
=$MAINTAINER_MODE_TRUE
2008 ## ------------------ ##
2009 ## C compiler checks. ##
2010 ## ------------------ ##
2012 ac_cpp
='$CPP $CPPFLAGS'
2013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2016 if test -n "$ac_tool_prefix"; then
2017 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2018 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2019 echo "$as_me:$LINENO: checking for $ac_word" >&5
2020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2021 if test "${ac_cv_prog_CC+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2024 if test -n "$CC"; then
2025 ac_cv_prog_CC
="$CC" # Let the user override the test.
2027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2031 test -z "$as_dir" && as_dir
=.
2032 for ac_exec_ext
in '' $ac_executable_extensions; do
2033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2034 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2044 if test -n "$CC"; then
2045 echo "$as_me:$LINENO: result: $CC" >&5
2046 echo "${ECHO_T}$CC" >&6
2048 echo "$as_me:$LINENO: result: no" >&5
2049 echo "${ECHO_T}no" >&6
2053 if test -z "$ac_cv_prog_CC"; then
2055 # Extract the first word of "gcc", so it can be a program name with args.
2056 set dummy gcc
; ac_word
=$2
2057 echo "$as_me:$LINENO: checking for $ac_word" >&5
2058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2059 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2060 echo $ECHO_N "(cached) $ECHO_C" >&6
2062 if test -n "$ac_ct_CC"; then
2063 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2069 test -z "$as_dir" && as_dir
=.
2070 for ac_exec_ext
in '' $ac_executable_extensions; do
2071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2072 ac_cv_prog_ac_ct_CC
="gcc"
2073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2081 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2082 if test -n "$ac_ct_CC"; then
2083 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2084 echo "${ECHO_T}$ac_ct_CC" >&6
2086 echo "$as_me:$LINENO: result: no" >&5
2087 echo "${ECHO_T}no" >&6
2095 if test -z "$CC"; then
2096 if test -n "$ac_tool_prefix"; then
2097 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2098 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2099 echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2101 if test "${ac_cv_prog_CC+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2104 if test -n "$CC"; then
2105 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 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 if test -n "$CC"; then
2125 echo "$as_me:$LINENO: result: $CC" >&5
2126 echo "${ECHO_T}$CC" >&6
2128 echo "$as_me:$LINENO: result: no" >&5
2129 echo "${ECHO_T}no" >&6
2133 if test -z "$ac_cv_prog_CC"; then
2135 # Extract the first word of "cc", so it can be a program name with args.
2136 set dummy cc
; ac_word
=$2
2137 echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2139 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2142 if test -n "$ac_ct_CC"; then
2143 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir
=.
2150 for ac_exec_ext
in '' $ac_executable_extensions; do
2151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152 ac_cv_prog_ac_ct_CC
="cc"
2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2162 if test -n "$ac_ct_CC"; then
2163 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2164 echo "${ECHO_T}$ac_ct_CC" >&6
2166 echo "$as_me:$LINENO: result: no" >&5
2167 echo "${ECHO_T}no" >&6
2176 if test -z "$CC"; then
2177 # Extract the first word of "cc", so it can be a program name with args.
2178 set dummy cc
; ac_word
=$2
2179 echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2181 if test "${ac_cv_prog_CC+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 if test -n "$CC"; then
2185 ac_cv_prog_CC
="$CC" # Let the user override the test.
2188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2192 test -z "$as_dir" && as_dir
=.
2193 for ac_exec_ext
in '' $ac_executable_extensions; do
2194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2195 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2196 ac_prog_rejected
=yes
2200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 if test $ac_prog_rejected = yes; then
2207 # We found a bogon in the path, so make sure we never use it.
2208 set dummy
$ac_cv_prog_CC
2210 if test $# != 0; then
2211 # We chose a different compiler from the bogus one.
2212 # However, it has the same basename, so the bogon will be chosen
2213 # first if we set CC to just the basename; use the full file name.
2215 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2221 if test -n "$CC"; then
2222 echo "$as_me:$LINENO: result: $CC" >&5
2223 echo "${ECHO_T}$CC" >&6
2225 echo "$as_me:$LINENO: result: no" >&5
2226 echo "${ECHO_T}no" >&6
2230 if test -z "$CC"; then
2231 if test -n "$ac_tool_prefix"; then
2234 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2235 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2236 echo "$as_me:$LINENO: checking for $ac_word" >&5
2237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2238 if test "${ac_cv_prog_CC+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 if test -n "$CC"; then
2242 ac_cv_prog_CC
="$CC" # Let the user override the test.
2244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir
=.
2249 for ac_exec_ext
in '' $ac_executable_extensions; do
2250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2251 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 if test -n "$CC"; then
2262 echo "$as_me:$LINENO: result: $CC" >&5
2263 echo "${ECHO_T}$CC" >&6
2265 echo "$as_me:$LINENO: result: no" >&5
2266 echo "${ECHO_T}no" >&6
2269 test -n "$CC" && break
2272 if test -z "$CC"; then
2276 # Extract the first word of "$ac_prog", so it can be a program name with args.
2277 set dummy
$ac_prog; ac_word
=$2
2278 echo "$as_me:$LINENO: checking for $ac_word" >&5
2279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2280 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 if test -n "$ac_ct_CC"; then
2284 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir
=.
2291 for ac_exec_ext
in '' $ac_executable_extensions; do
2292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2293 ac_cv_prog_ac_ct_CC
="$ac_prog"
2294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2303 if test -n "$ac_ct_CC"; then
2304 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2305 echo "${ECHO_T}$ac_ct_CC" >&6
2307 echo "$as_me:$LINENO: result: no" >&5
2308 echo "${ECHO_T}no" >&6
2311 test -n "$ac_ct_CC" && break
2320 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2321 See \`config.log' for more details." >&5
2322 echo "$as_me: error: no acceptable C compiler found in \$PATH
2323 See \`config.log' for more details." >&2;}
2324 { (exit 1); exit 1; }; }
2326 # Provide some information about the compiler.
2327 echo "$as_me:$LINENO:" \
2328 "checking for C compiler version" >&5
2329 ac_compiler
=`set X $ac_compile; echo $2`
2330 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2331 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }
2335 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2336 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }
2340 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2341 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }
2346 cat >conftest.
$ac_ext <<_ACEOF
2349 cat confdefs.h
>>conftest.
$ac_ext
2350 cat >>conftest.
$ac_ext <<_ACEOF
2351 /* end confdefs.h. */
2361 ac_clean_files_save
=$ac_clean_files
2362 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2363 # Try to create an executable without -o first, disregard a.out.
2364 # It will help us diagnose broken compilers, and finding out an intuition
2366 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2367 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2368 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2369 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2370 (eval $ac_link_default) 2>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }; then
2374 # Find the output, starting from the most likely. This scheme is
2375 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2378 # Be careful to initialize this variable, since it used to be cached.
2379 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2381 # b.out is created by i960 compilers.
2382 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2384 test -f "$ac_file" ||
continue
2386 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2389 # This is the source file.
2392 # We found the default executable, but exeext='' is most
2396 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2397 # FIXME: I believe we export ac_cv_exeext for Libtool,
2398 # but it would be cool to find out if it's true. Does anybody
2399 # maintain Libtool? --akim.
2407 echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.
$ac_ext >&5
2410 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2411 See \`config.log' for more details." >&5
2412 echo "$as_me: error: C compiler cannot create executables
2413 See \`config.log' for more details." >&2;}
2414 { (exit 77); exit 77; }; }
2417 ac_exeext
=$ac_cv_exeext
2418 echo "$as_me:$LINENO: result: $ac_file" >&5
2419 echo "${ECHO_T}$ac_file" >&6
2421 # Check the compiler produces executables we can run. If not, either
2422 # the compiler is broken, or we cross compile.
2423 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2424 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2425 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2426 # If not cross compiling, check that we can run a simple program.
2427 if test "$cross_compiling" != yes; then
2428 if { ac_try
='./$ac_file'
2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }; }; then
2436 if test "$cross_compiling" = maybe
; then
2439 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2440 If you meant to cross compile, use \`--host'.
2441 See \`config.log' for more details." >&5
2442 echo "$as_me: error: cannot run C compiled programs.
2443 If you meant to cross compile, use \`--host'.
2444 See \`config.log' for more details." >&2;}
2445 { (exit 1); exit 1; }; }
2449 echo "$as_me:$LINENO: result: yes" >&5
2450 echo "${ECHO_T}yes" >&6
2452 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2453 ac_clean_files
=$ac_clean_files_save
2454 # Check the compiler produces executables we can run. If not, either
2455 # the compiler is broken, or we cross compile.
2456 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2457 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2458 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2459 echo "${ECHO_T}$cross_compiling" >&6
2461 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2462 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2464 (eval $ac_link) 2>&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); }; then
2468 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2469 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2470 # work properly (i.e., refer to `conftest.exe'), while it won't with
2472 for ac_file
in conftest.exe conftest conftest.
*; do
2473 test -f "$ac_file" ||
continue
2475 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2476 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2483 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2484 See \`config.log' for more details." >&5
2485 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2486 See \`config.log' for more details." >&2;}
2487 { (exit 1); exit 1; }; }
2490 rm -f conftest
$ac_cv_exeext
2491 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2492 echo "${ECHO_T}$ac_cv_exeext" >&6
2494 rm -f conftest.
$ac_ext
2495 EXEEXT
=$ac_cv_exeext
2497 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2498 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2499 if test "${ac_cv_objext+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 cat >conftest.
$ac_ext <<_ACEOF
2505 cat confdefs.h
>>conftest.
$ac_ext
2506 cat >>conftest.
$ac_ext <<_ACEOF
2507 /* end confdefs.h. */
2517 rm -f conftest.o conftest.obj
2518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2519 (eval $ac_compile) 2>&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; then
2523 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2525 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2526 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2531 echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.
$ac_ext >&5
2534 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2541 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2543 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2544 echo "${ECHO_T}$ac_cv_objext" >&6
2545 OBJEXT
=$ac_cv_objext
2547 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2548 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2549 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 cat >conftest.
$ac_ext <<_ACEOF
2555 cat confdefs.h
>>conftest.
$ac_ext
2556 cat >>conftest.
$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2570 rm -f conftest.
$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 2>conftest.er1
2574 grep -v '^ *+' conftest.er1
>conftest.err
2576 cat conftest.err
>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } &&
2579 { ac_try
='test -z "$ac_c_werror_flag"
2580 || test ! -s conftest.err'
2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; } &&
2586 { ac_try
='test -s conftest.$ac_objext'
2587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); }; }; then
2594 echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.
$ac_ext >&5
2599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2600 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2603 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2604 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2605 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2606 ac_test_CFLAGS
=${CFLAGS+set}
2607 ac_save_CFLAGS
=$CFLAGS
2609 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2610 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2611 if test "${ac_cv_prog_cc_g+set}" = set; then
2612 echo $ECHO_N "(cached) $ECHO_C" >&6
2614 cat >conftest.
$ac_ext <<_ACEOF
2617 cat confdefs.h
>>conftest.
$ac_ext
2618 cat >>conftest.
$ac_ext <<_ACEOF
2619 /* end confdefs.h. */
2629 rm -f conftest.
$ac_objext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2631 (eval $ac_compile) 2>conftest.er1
2633 grep -v '^ *+' conftest.er1
>conftest.err
2635 cat conftest.err
>&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); } &&
2638 { ac_try
='test -z "$ac_c_werror_flag"
2639 || test ! -s conftest.err'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; } &&
2645 { ac_try
='test -s conftest.$ac_objext'
2646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; }; then
2653 echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.
$ac_ext >&5
2658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2660 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2661 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2662 if test "$ac_test_CFLAGS" = set; then
2663 CFLAGS
=$ac_save_CFLAGS
2664 elif test $ac_cv_prog_cc_g = yes; then
2665 if test "$GCC" = yes; then
2671 if test "$GCC" = yes; then
2677 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2678 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2679 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 ac_cv_prog_cc_stdc
=no
2684 cat >conftest.
$ac_ext <<_ACEOF
2687 cat confdefs.h
>>conftest.
$ac_ext
2688 cat >>conftest.
$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2692 #include <sys/types.h>
2693 #include <sys/stat.h>
2694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2695 struct buf { int x; };
2696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2697 static char *e (p, i)
2703 static char *f (char * (*g) (char **, int), char **p, ...)
2708 s = g (p, va_arg (v,int));
2713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2714 function prototypes and stuff, but not '\xHH' hex character constants.
2715 These don't provoke an error unfortunately, instead are silently treated
2716 as 'x'. The following induces an error, until -std1 is added to get
2717 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2718 array size at least. It's necessary to write '\x00'==0 to get something
2719 that's true only with -std1. */
2720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2722 int test (int i, double x);
2723 struct s1 {int (*f) (int a);};
2724 struct s2 {int (*f) (double a);};
2725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2731 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2736 # Don't try gcc -ansi; that turns off useful extensions and
2737 # breaks some systems' header files.
2738 # AIX -qlanglvl=ansi
2739 # Ultrix and OSF/1 -std1
2740 # HP-UX 10.20 and later -Ae
2741 # HP-UX older versions -Aa -D_HPUX_SOURCE
2742 # SVR4 -Xc -D__EXTENSIONS__
2743 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2745 CC
="$ac_save_CC $ac_arg"
2746 rm -f conftest.
$ac_objext
2747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2748 (eval $ac_compile) 2>conftest.er1
2750 grep -v '^ *+' conftest.er1
>conftest.err
2752 cat conftest.err
>&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); } &&
2755 { ac_try
='test -z "$ac_c_werror_flag"
2756 || test ! -s conftest.err'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; } &&
2762 { ac_try
='test -s conftest.$ac_objext'
2763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }; }; then
2768 ac_cv_prog_cc_stdc
=$ac_arg
2771 echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.
$ac_ext >&5
2775 rm -f conftest.err conftest.
$ac_objext
2777 rm -f conftest.
$ac_ext conftest.
$ac_objext
2782 case "x$ac_cv_prog_cc_stdc" in
2784 echo "$as_me:$LINENO: result: none needed" >&5
2785 echo "${ECHO_T}none needed" >&6 ;;
2787 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2788 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2789 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2792 # Some people use a C++ compiler to compile C. Since we use `exit',
2793 # in C++ we need to declare it. In case someone uses the same compiler
2794 # for both compiling C and C++ we need to have the C++ compiler decide
2795 # the declaration of exit, since it's the most demanding environment.
2796 cat >conftest.
$ac_ext <<_ACEOF
2801 rm -f conftest.
$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803 (eval $ac_compile) 2>conftest.er1
2805 grep -v '^ *+' conftest.er1
>conftest.err
2807 cat conftest.err
>&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } &&
2810 { ac_try
='test -z "$ac_c_werror_flag"
2811 || test ! -s conftest.err'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; } &&
2817 { ac_try
='test -s conftest.$ac_objext'
2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); }; }; then
2823 for ac_declaration
in \
2825 'extern "C" void std::exit (int) throw (); using std::exit;' \
2826 'extern "C" void std::exit (int); using std::exit;' \
2827 'extern "C" void exit (int) throw ();' \
2828 'extern "C" void exit (int);' \
2831 cat >conftest.
$ac_ext <<_ACEOF
2834 cat confdefs.h
>>conftest.
$ac_ext
2835 cat >>conftest.
$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2847 rm -f conftest.
$ac_objext
2848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2849 (eval $ac_compile) 2>conftest.er1
2851 grep -v '^ *+' conftest.er1
>conftest.err
2853 cat conftest.err
>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); } &&
2856 { ac_try
='test -z "$ac_c_werror_flag"
2857 || test ! -s conftest.err'
2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; } &&
2863 { ac_try
='test -s conftest.$ac_objext'
2864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; }; then
2871 echo "$as_me: failed program was:" >&5
2872 sed 's/^/| /' conftest.
$ac_ext >&5
2876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2877 cat >conftest.
$ac_ext <<_ACEOF
2880 cat confdefs.h
>>conftest.
$ac_ext
2881 cat >>conftest.
$ac_ext <<_ACEOF
2882 /* end confdefs.h. */
2892 rm -f conftest.
$ac_objext
2893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2894 (eval $ac_compile) 2>conftest.er1
2896 grep -v '^ *+' conftest.er1
>conftest.err
2898 cat conftest.err
>&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); } &&
2901 { ac_try
='test -z "$ac_c_werror_flag"
2902 || test ! -s conftest.err'
2903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); }; } &&
2908 { ac_try
='test -s conftest.$ac_objext'
2909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }; }; then
2916 echo "$as_me: failed program was:" >&5
2917 sed 's/^/| /' conftest.
$ac_ext >&5
2920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2923 if test -n "$ac_declaration"; then
2924 echo '#ifdef __cplusplus' >>confdefs.h
2925 echo $ac_declaration >>confdefs.h
2926 echo '#endif' >>confdefs.h
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.
$ac_ext >&5
2934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2936 ac_cpp
='$CPP $CPPFLAGS'
2937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2940 DEPDIR
="${am__leading_dot}deps"
2942 ac_config_commands
="$ac_config_commands depfiles"
2945 am_make
=${MAKE-make}
2946 cat > confinc
<< 'END'
2951 # If we don't find an include directive, just comment out the code.
2952 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2953 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2957 # First try GNU make style include.
2958 echo "include confinc" > confmf
2959 # We grep out `Entering directory' and `Leaving directory'
2960 # messages which can occur if `w' ends up in MAKEFLAGS.
2961 # In particular we don't look at `^make:' because GNU make might
2962 # be invoked under some other name (usually "gmake"), in which
2963 # case it prints its new name instead of `make'.
2964 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2969 # Now try BSD make style include.
2970 if test "$am__include" = "#"; then
2971 echo '.include "confinc"' > confmf
2972 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2973 am__include
=.include
2980 echo "$as_me:$LINENO: result: $_am_result" >&5
2981 echo "${ECHO_T}$_am_result" >&6
2982 rm -f confinc confmf
2984 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2985 if test "${enable_dependency_tracking+set}" = set; then
2986 enableval
="$enable_dependency_tracking"
2989 if test "x$enable_dependency_tracking" != xno
; then
2990 am_depcomp
="$ac_aux_dir/depcomp"
2995 if test "x$enable_dependency_tracking" != xno; then
3006 depcc
="$CC" am_compiler_list
=
3008 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3009 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3010 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3011 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3014 # We make a subdir and do the tests there. Otherwise we can end up
3015 # making bogus files that we don't know about and never remove. For
3016 # instance it was reported that on HP-UX the gcc test will end up
3017 # making a dummy file named `D' -- because `-MD' means `put the output
3020 # Copy depcomp to subdir because otherwise we won't find it if we're
3021 # using a relative directory.
3022 cp "$am_depcomp" conftest.dir
3024 # We will build objects and dependencies in a subdirectory because
3025 # it helps to detect inapplicable dependency modes. For instance
3026 # both Tru64's cc and ICC support -MD to output dependencies as a
3027 # side effect of compilation, but ICC will put the dependencies in
3028 # the current directory while Tru64 will put them in the object
3032 am_cv_CC_dependencies_compiler_type
=none
3033 if test "$am_compiler_list" = ""; then
3034 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3036 for depmode
in $am_compiler_list; do
3037 # Setup a source with many dependencies, because some compilers
3038 # like to wrap large dependency lists on column 80 (with \), and
3039 # we should not choose a depcomp mode which is confused by this.
3041 # We need to recreate these files for each test, as the compiler may
3042 # overwrite some of them when testing with obscure command lines.
3043 # This happens at least with the AIX C compiler.
3045 for i
in 1 2 3 4 5 6; do
3046 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3047 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3048 # Solaris 8's {/usr,}/bin/sh.
3049 touch sub
/conftst
$i.h
3051 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3055 # after this tag, mechanisms are not by side-effect, so they'll
3056 # only be used when explicitly requested
3057 if test "x$enable_dependency_tracking" = xyes
; then
3065 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3066 # mode. It turns out that the SunPro C++ compiler does not properly
3067 # handle `-M -o', and we need to detect this.
3068 if depmode
=$depmode \
3069 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3070 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3071 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3072 >/dev
/null
2>conftest.err
&&
3073 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3074 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3075 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3076 # icc doesn't choke on unknown options, it will just issue warnings
3077 # or remarks (even with -Werror). So we grep stderr for any message
3078 # that says an option was ignored or not supported.
3079 # When given -MP, icc 7.0 and 7.1 complain thusly:
3080 # icc: Command line warning: ignoring option '-M'; no argument required
3081 # The diagnosis changed in icc 8.0:
3082 # icc: Command line remark: option '-MP' not supported
3083 if (grep 'ignoring option' conftest.err ||
3084 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3085 am_cv_CC_dependencies_compiler_type
=$depmode
3094 am_cv_CC_dependencies_compiler_type
=none
3098 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3099 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3100 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3105 test "x$enable_dependency_tracking" != xno \
3106 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3108 am__fastdepCC_FALSE
='#'
3110 am__fastdepCC_TRUE
='#'
3111 am__fastdepCC_FALSE
=
3116 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3117 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3118 if test "${ac_cv_c_const+set}" = set; then
3119 echo $ECHO_N "(cached) $ECHO_C" >&6
3121 cat >conftest.
$ac_ext <<_ACEOF
3124 cat confdefs.h
>>conftest.
$ac_ext
3125 cat >>conftest.
$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3131 /* FIXME: Include the comments suggested by Paul. */
3133 /* Ultrix mips cc rejects this. */
3134 typedef int charset[2];
3136 /* SunOS 4.1.1 cc rejects this. */
3137 char const *const *ccp;
3139 /* NEC SVR4.0.2 mips cc rejects this. */
3140 struct point {int x, y;};
3141 static struct point const zero = {0,0};
3142 /* AIX XL C 1.02.0.0 rejects this.
3143 It does not let you subtract one const X* pointer from another in
3144 an arm of an if-expression whose if-part is not a constant
3146 const char *g = "string";
3147 ccp = &g + (g ? g-g : 0);
3148 /* HPUX 7.0 cc rejects these. */
3151 ccp = (char const *const *) p;
3152 { /* SCO 3.2v4 cc rejects this. */
3154 char const *s = 0 ? (char *) 0 : (char const *) 0;
3158 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3160 const int *foo = &x[0];
3163 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3164 typedef const int *iptr;
3168 { /* AIX XL C 1.02.0.0 rejects this saying
3169 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3170 struct s { int j; const int *ap[3]; };
3171 struct s *b; b->j = 5;
3173 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3182 rm -f conftest.
$ac_objext
3183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3184 (eval $ac_compile) 2>conftest.er1
3186 grep -v '^ *+' conftest.er1
>conftest.err
3188 cat conftest.err
>&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); } &&
3191 { ac_try
='test -z "$ac_c_werror_flag"
3192 || test ! -s conftest.err'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; } &&
3198 { ac_try
='test -s conftest.$ac_objext'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; }; then
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.
$ac_ext >&5
3211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3213 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3214 echo "${ECHO_T}$ac_cv_c_const" >&6
3215 if test $ac_cv_c_const = no
; then
3217 cat >>confdefs.h
<<\_ACEOF
3223 echo "$as_me:$LINENO: checking for inline" >&5
3224 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3225 if test "${ac_cv_c_inline+set}" = set; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3229 for ac_kw
in inline __inline__ __inline
; do
3230 cat >conftest.
$ac_ext <<_ACEOF
3233 cat confdefs.h
>>conftest.
$ac_ext
3234 cat >>conftest.
$ac_ext <<_ACEOF
3235 /* end confdefs.h. */
3238 static $ac_kw foo_t static_foo () {return 0; }
3239 $ac_kw foo_t foo () {return 0; }
3243 rm -f conftest.
$ac_objext
3244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3245 (eval $ac_compile) 2>conftest.er1
3247 grep -v '^ *+' conftest.er1
>conftest.err
3249 cat conftest.err
>&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); } &&
3252 { ac_try
='test -z "$ac_c_werror_flag"
3253 || test ! -s conftest.err'
3254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); }; } &&
3259 { ac_try
='test -s conftest.$ac_objext'
3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }; }; then
3265 ac_cv_c_inline
=$ac_kw; break
3267 echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.
$ac_ext >&5
3271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3275 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3276 echo "${ECHO_T}$ac_cv_c_inline" >&6
3279 case $ac_cv_c_inline in
3282 case $ac_cv_c_inline in
3284 *) ac_val
=$ac_cv_c_inline;;
3286 cat >>confdefs.h
<<_ACEOF
3288 #define inline $ac_val
3296 ## ----------------------- ##
3297 ## Libtool initialisation. ##
3298 ## ----------------------- ##
3301 # Check whether --enable-shared or --disable-shared was given.
3302 if test "${enable_shared+set}" = set; then
3303 enableval
="$enable_shared"
3304 p
=${PACKAGE-default}
3306 yes) enable_shared
=yes ;;
3307 no
) enable_shared
=no
;;
3310 # Look at the argument we got. We use all the common list separators.
3311 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3312 for pkg
in $enableval; do
3314 if test "X$pkg" = "X$p"; then
3325 # Check whether --enable-static or --disable-static was given.
3326 if test "${enable_static+set}" = set; then
3327 enableval
="$enable_static"
3328 p
=${PACKAGE-default}
3330 yes) enable_static
=yes ;;
3331 no
) enable_static
=no
;;
3334 # Look at the argument we got. We use all the common list separators.
3335 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3336 for pkg
in $enableval; do
3338 if test "X$pkg" = "X$p"; then
3349 # Check whether --enable-fast-install or --disable-fast-install was given.
3350 if test "${enable_fast_install+set}" = set; then
3351 enableval
="$enable_fast_install"
3352 p
=${PACKAGE-default}
3354 yes) enable_fast_install
=yes ;;
3355 no
) enable_fast_install
=no
;;
3357 enable_fast_install
=no
3358 # Look at the argument we got. We use all the common list separators.
3359 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3360 for pkg
in $enableval; do
3362 if test "X$pkg" = "X$p"; then
3363 enable_fast_install
=yes
3370 enable_fast_install
=yes
3373 # Make sure we can run config.sub.
3374 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3375 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3376 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3377 { (exit 1); exit 1; }; }
3379 echo "$as_me:$LINENO: checking build system type" >&5
3380 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3381 if test "${ac_cv_build+set}" = set; then
3382 echo $ECHO_N "(cached) $ECHO_C" >&6
3384 ac_cv_build_alias
=$build_alias
3385 test -z "$ac_cv_build_alias" &&
3386 ac_cv_build_alias
=`$ac_config_guess`
3387 test -z "$ac_cv_build_alias" &&
3388 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3389 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3390 { (exit 1); exit 1; }; }
3391 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3392 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3393 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3394 { (exit 1); exit 1; }; }
3397 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3398 echo "${ECHO_T}$ac_cv_build" >&6
3400 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3401 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3402 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3405 echo "$as_me:$LINENO: checking host system type" >&5
3406 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3407 if test "${ac_cv_host+set}" = set; then
3408 echo $ECHO_N "(cached) $ECHO_C" >&6
3410 ac_cv_host_alias
=$host_alias
3411 test -z "$ac_cv_host_alias" &&
3412 ac_cv_host_alias
=$ac_cv_build_alias
3413 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3415 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3416 { (exit 1); exit 1; }; }
3419 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3420 echo "${ECHO_T}$ac_cv_host" >&6
3422 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3423 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3424 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3427 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3428 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3429 if test "${lt_cv_path_SED+set}" = set; then
3430 echo $ECHO_N "(cached) $ECHO_C" >&6
3432 # Loop through the user's path and test for sed and gsed.
3433 # Then use that list of sed's as ones to test for truncation.
3434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3438 test -z "$as_dir" && as_dir
=.
3439 for lt_ac_prog
in sed gsed
; do
3440 for ac_exec_ext
in '' $ac_executable_extensions; do
3441 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3442 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3449 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3450 # along with /bin/sed that truncates output.
3451 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3452 test ! -f $lt_ac_sed && break
3453 cat /dev
/null
> conftest.
in
3455 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3456 # Check for GNU sed and select it if it is found.
3457 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3458 lt_cv_path_SED
=$lt_ac_sed
3462 cat conftest.
in conftest.
in >conftest.tmp
3463 mv conftest.tmp conftest.
in
3464 cp conftest.
in conftest.
nl
3466 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3467 cmp -s conftest.out conftest.
nl ||
break
3468 # 10000 chars as input seems more than enough
3469 test $lt_ac_count -gt 10 && break
3470 lt_ac_count
=`expr $lt_ac_count + 1`
3471 if test $lt_ac_count -gt $lt_ac_max; then
3472 lt_ac_max
=$lt_ac_count
3473 lt_cv_path_SED
=$lt_ac_sed
3481 echo "$as_me:$LINENO: result: $SED" >&5
3482 echo "${ECHO_T}$SED" >&6
3484 echo "$as_me:$LINENO: checking for egrep" >&5
3485 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3486 if test "${ac_cv_prog_egrep+set}" = set; then
3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3490 then ac_cv_prog_egrep
='grep -E'
3491 else ac_cv_prog_egrep
='egrep'
3494 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3495 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3496 EGREP
=$ac_cv_prog_egrep
3500 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3501 if test "${with_gnu_ld+set}" = set; then
3502 withval
="$with_gnu_ld"
3503 test "$withval" = no || with_gnu_ld
=yes
3508 if test "$GCC" = yes; then
3509 # Check if gcc -print-prog-name=ld gives a path.
3510 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3511 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3514 # gcc leaves a trailing carriage return which upsets mingw
3515 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3517 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3520 # Accept absolute paths.
3522 re_direlt
='/[^/][^/]*/\.\./'
3523 # Canonicalize the path of ld
3524 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3525 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3526 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3528 test -z "$LD" && LD
="$ac_prog"
3531 # If it fails, then pretend we aren't using GCC.
3535 # If it is relative, then search for the first ld in PATH.
3539 elif test "$with_gnu_ld" = yes; then
3540 echo "$as_me:$LINENO: checking for GNU ld" >&5
3541 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3543 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3544 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3546 if test "${lt_cv_path_LD+set}" = set; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3549 if test -z "$LD"; then
3550 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3551 for ac_dir
in $PATH; do
3553 test -z "$ac_dir" && ac_dir
=.
3554 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3555 lt_cv_path_LD
="$ac_dir/$ac_prog"
3556 # Check to see if the program is GNU ld. I'd rather use --version,
3557 # but apparently some GNU ld's only accept -v.
3558 # Break only if it was the GNU/non-GNU ld that we prefer.
3559 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3560 *GNU
* |
*'with BFD'*)
3561 test "$with_gnu_ld" != no
&& break
3564 test "$with_gnu_ld" != yes && break
3571 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3576 if test -n "$LD"; then
3577 echo "$as_me:$LINENO: result: $LD" >&5
3578 echo "${ECHO_T}$LD" >&6
3580 echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6
3583 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3584 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3585 { (exit 1); exit 1; }; }
3586 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3587 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3588 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3592 case `"$LD" -v 2>&1 </dev/null` in
3593 *GNU
* |
*'with BFD'*)
3594 lt_cv_prog_gnu_ld
=yes
3597 lt_cv_prog_gnu_ld
=no
3601 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3602 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3603 with_gnu_ld
=$lt_cv_prog_gnu_ld
3606 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3607 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3608 if test "${lt_cv_ld_reload_flag+set}" = set; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 lt_cv_ld_reload_flag
='-r'
3613 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3614 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3615 reload_flag
=$lt_cv_ld_reload_flag
3616 case $reload_flag in
3618 *) reload_flag
=" $reload_flag" ;;
3620 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3622 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3623 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3624 if test "${lt_cv_path_NM+set}" = set; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3627 if test -n "$NM"; then
3628 # Let the user override the test.
3631 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3632 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3634 test -z "$ac_dir" && ac_dir
=.
3635 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3636 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3637 # Check to see if the nm accepts a BSD-compat flag.
3638 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3639 # nm: unknown option "B" ignored
3640 # Tru64's nm complains that /dev/null is an invalid object file
3641 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3642 */dev
/null
* |
*'Invalid file or object type'*)
3643 lt_cv_path_NM
="$tmp_nm -B"
3647 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3649 lt_cv_path_NM
="$tmp_nm -p"
3653 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3654 continue # so that we can try to find one that supports BSD flags
3661 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3664 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3665 echo "${ECHO_T}$lt_cv_path_NM" >&6
3668 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3669 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3671 if test "$LN_S" = "ln -s"; then
3672 echo "$as_me:$LINENO: result: yes" >&5
3673 echo "${ECHO_T}yes" >&6
3675 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3676 echo "${ECHO_T}no, using $LN_S" >&6
3679 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3680 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3681 if test "${lt_cv_deplibs_check_method+set}" = set; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3685 lt_cv_file_magic_test_file
=
3686 lt_cv_deplibs_check_method
='unknown'
3687 # Need to set the preceding variable on all platforms that support
3688 # interlibrary dependencies.
3689 # 'none' -- dependencies not supported.
3690 # `unknown' -- same as none, but documents that we really don't know.
3691 # 'pass_all' -- all dependencies passed with no checks.
3692 # 'test_compile' -- check by making test program.
3693 # 'file_magic [[regex]]' -- check by looking for files in library path
3694 # which responds to the $file_magic_cmd with a given extended regex.
3695 # If you have `file' or equivalent on your system and you're not sure
3696 # whether `pass_all' will *always* work, you probably want this one.
3700 lt_cv_deplibs_check_method
=pass_all
3704 lt_cv_deplibs_check_method
=pass_all
3708 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3709 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3710 lt_cv_file_magic_test_file
=/shlib
/libc.so
3713 cygwin
* | mingw
* | pw32
*)
3714 # win32_libid is a shell function defined in ltmain.sh
3715 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3716 lt_cv_file_magic_cmd
='win32_libid'
3719 darwin
* | rhapsody
*)
3720 # this will be overwritten by pass_all, but leave it in just in case
3721 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3722 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3724 rhapsody
* | darwin1.
[012])
3725 lt_cv_file_magic_test_file
=`/System/Library/Frameworks/System.framework/System`
3728 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3731 lt_cv_deplibs_check_method
=pass_all
3735 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3738 # Not sure whether the presence of OpenBSD here was a mistake.
3739 # Let's accept both of them until this is cleared up.
3740 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3741 lt_cv_file_magic_cmd
=/usr
/bin
/file
3742 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3746 lt_cv_deplibs_check_method
=pass_all
3751 lt_cv_deplibs_check_method
=pass_all
3754 hpux10.20
* | hpux11
*)
3755 lt_cv_file_magic_cmd
=/usr
/bin
/file
3758 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3759 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3762 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]'
3763 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3766 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3767 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3772 irix5
* | irix6
* | nonstopux
*)
3774 irix5
* | nonstopux
*)
3775 # this will be overridden with pass_all, but let us keep it just in case
3776 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3780 *-32|
*"-32 ") libmagic
=32-bit;;
3781 *-n32|
*"-n32 ") libmagic
=N32
;;
3782 *-64|
*"-64 ") libmagic
=64-bit;;
3783 *) libmagic
=never-match
;;
3785 # this will be overridden with pass_all, but let us keep it just in case
3786 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3789 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3790 lt_cv_deplibs_check_method
=pass_all
3793 # This must be Linux ELF.
3796 alpha
* | hppa
* | i
*86 | ia64
* | m68
* | mips | mipsel | powerpc
* | sparc
* | s390
* | sh
*)
3797 lt_cv_deplibs_check_method
=pass_all
;;
3799 # glibc up to 2.1.1 does not perform some relocations on ARM
3800 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3802 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3806 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3807 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3809 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3814 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3815 lt_cv_file_magic_cmd
=/usr
/bin
/file
3816 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3820 lt_cv_deplibs_check_method
=unknown
3824 lt_cv_file_magic_cmd
=/usr
/bin
/file
3825 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3826 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3827 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
3829 lt_cv_deplibs_check_method
='file_magic OpenBSD.* shared library'
3833 osf3
* | osf4
* | osf5
*)
3834 # this will be overridden with pass_all, but let us keep it just in case
3835 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3836 lt_cv_file_magic_test_file
=/shlib
/libc.so
3837 lt_cv_deplibs_check_method
=pass_all
3841 lt_cv_deplibs_check_method
=pass_all
3845 lt_cv_deplibs_check_method
=pass_all
3846 lt_cv_file_magic_test_file
=/lib
/libc.so
3849 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3850 case $host_vendor in
3852 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]'
3853 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3856 lt_cv_deplibs_check_method
=pass_all
3859 lt_cv_file_magic_cmd
='/bin/file'
3860 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3863 lt_cv_file_magic_cmd
='/bin/file'
3864 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3865 lt_cv_file_magic_test_file
=/lib
/libc.so
3868 lt_cv_deplibs_check_method
=pass_all
3873 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
3874 lt_cv_deplibs_check_method
=pass_all
3879 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3880 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3881 file_magic_cmd
=$lt_cv_file_magic_cmd
3882 deplibs_check_method
=$lt_cv_deplibs_check_method
3883 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3888 # If no C compiler was specified, use CC.
3891 # Allow CC to be a program name with arguments.
3894 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3895 if test "${enable_libtool_lock+set}" = set; then
3896 enableval
="$enable_libtool_lock"
3899 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3901 # Some flags need to be propagated to the compiler or linker for good
3905 # Find out which ABI we are using.
3906 echo 'int i;' > conftest.
$ac_ext
3907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3908 (eval $ac_compile) 2>&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); }; then
3912 case `/usr/bin/file conftest.$ac_objext` in
3924 # Find out which ABI we are using.
3925 echo '#line 3925 "configure"' > conftest.
$ac_ext
3926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3927 (eval $ac_compile) 2>&5
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); }; then
3931 if test "$lt_cv_prog_gnu_ld" = yes; then
3932 case `/usr/bin/file conftest.$ac_objext` in
3934 LD
="${LD-ld} -melf32bsmip"
3937 LD
="${LD-ld} -melf32bmipn32"
3940 LD
="${LD-ld} -melf64bmip"
3944 case `/usr/bin/file conftest.$ac_objext` in
3960 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3961 # Find out which ABI we are using.
3962 echo 'int i;' > conftest.
$ac_ext
3963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3964 (eval $ac_compile) 2>&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); }; then
3968 case "`/usr/bin/file conftest.o`" in
3972 LD
="${LD-ld} -m elf_i386"
3975 LD
="${LD-ld} -m elf32ppclinux"
3978 LD
="${LD-ld} -m elf_s390"
3981 LD
="${LD-ld} -m elf32_sparc"
3988 LD
="${LD-ld} -m elf_x86_64"
3990 ppc
*-*linux
*|powerpc
*-*linux
*)
3991 LD
="${LD-ld} -m elf64ppc"
3994 LD
="${LD-ld} -m elf64_s390"
3997 LD
="${LD-ld} -m elf64_sparc"
4007 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4008 SAVE_CFLAGS
="$CFLAGS"
4009 CFLAGS
="$CFLAGS -belf"
4010 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4011 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4012 if test "${lt_cv_cc_needs_belf+set}" = set; then
4013 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 ac_cpp
='$CPP $CPPFLAGS'
4017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4021 cat >conftest.
$ac_ext <<_ACEOF
4024 cat confdefs.h
>>conftest.
$ac_ext
4025 cat >>conftest.
$ac_ext <<_ACEOF
4026 /* end confdefs.h. */
4036 rm -f conftest.
$ac_objext conftest
$ac_exeext
4037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4038 (eval $ac_link) 2>conftest.er1
4040 grep -v '^ *+' conftest.er1
>conftest.err
4042 cat conftest.err
>&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); } &&
4045 { ac_try
='test -z "$ac_c_werror_flag"
4046 || test ! -s conftest.err'
4047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; } &&
4052 { ac_try
='test -s conftest$ac_exeext'
4053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }; }; then
4058 lt_cv_cc_needs_belf
=yes
4060 echo "$as_me: failed program was:" >&5
4061 sed 's/^/| /' conftest.
$ac_ext >&5
4063 lt_cv_cc_needs_belf
=no
4065 rm -f conftest.err conftest.
$ac_objext \
4066 conftest
$ac_exeext conftest.
$ac_ext
4068 ac_cpp
='$CPP $CPPFLAGS'
4069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4074 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4075 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4076 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4077 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4078 CFLAGS
="$SAVE_CFLAGS"
4081 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
4082 if test -n "$ac_tool_prefix"; then
4083 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4084 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4085 echo "$as_me:$LINENO: checking for $ac_word" >&5
4086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4087 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 if test -n "$DLLTOOL"; then
4091 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir
=.
4098 for ac_exec_ext
in '' $ac_executable_extensions; do
4099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4100 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 DLLTOOL
=$ac_cv_prog_DLLTOOL
4110 if test -n "$DLLTOOL"; then
4111 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4112 echo "${ECHO_T}$DLLTOOL" >&6
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4119 if test -z "$ac_cv_prog_DLLTOOL"; then
4120 ac_ct_DLLTOOL
=$DLLTOOL
4121 # Extract the first word of "dlltool", so it can be a program name with args.
4122 set dummy dlltool
; ac_word
=$2
4123 echo "$as_me:$LINENO: checking for $ac_word" >&5
4124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4125 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 if test -n "$ac_ct_DLLTOOL"; then
4129 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir
=.
4136 for ac_exec_ext
in '' $ac_executable_extensions; do
4137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4138 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
4148 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4149 if test -n "$ac_ct_DLLTOOL"; then
4150 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4151 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4153 echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6
4157 DLLTOOL
=$ac_ct_DLLTOOL
4159 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4162 if test -n "$ac_tool_prefix"; then
4163 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4164 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4165 echo "$as_me:$LINENO: checking for $ac_word" >&5
4166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4167 if test "${ac_cv_prog_AS+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 if test -n "$AS"; then
4171 ac_cv_prog_AS
="$AS" # Let the user override the test.
4173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4177 test -z "$as_dir" && as_dir
=.
4178 for ac_exec_ext
in '' $ac_executable_extensions; do
4179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180 ac_cv_prog_AS
="${ac_tool_prefix}as"
4181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4190 if test -n "$AS"; then
4191 echo "$as_me:$LINENO: result: $AS" >&5
4192 echo "${ECHO_T}$AS" >&6
4194 echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6
4199 if test -z "$ac_cv_prog_AS"; then
4201 # Extract the first word of "as", so it can be a program name with args.
4202 set dummy as
; ac_word
=$2
4203 echo "$as_me:$LINENO: checking for $ac_word" >&5
4204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4205 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 if test -n "$ac_ct_AS"; then
4209 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4215 test -z "$as_dir" && as_dir
=.
4216 for ac_exec_ext
in '' $ac_executable_extensions; do
4217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4218 ac_cv_prog_ac_ct_AS
="as"
4219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
4228 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4229 if test -n "$ac_ct_AS"; then
4230 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4231 echo "${ECHO_T}$ac_ct_AS" >&6
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4242 if test -n "$ac_tool_prefix"; then
4243 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4244 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4245 echo "$as_me:$LINENO: checking for $ac_word" >&5
4246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4247 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 if test -n "$OBJDUMP"; then
4251 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir
=.
4258 for ac_exec_ext
in '' $ac_executable_extensions; do
4259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4260 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4269 OBJDUMP
=$ac_cv_prog_OBJDUMP
4270 if test -n "$OBJDUMP"; then
4271 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4272 echo "${ECHO_T}$OBJDUMP" >&6
4274 echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6
4279 if test -z "$ac_cv_prog_OBJDUMP"; then
4280 ac_ct_OBJDUMP
=$OBJDUMP
4281 # Extract the first word of "objdump", so it can be a program name with args.
4282 set dummy objdump
; ac_word
=$2
4283 echo "$as_me:$LINENO: checking for $ac_word" >&5
4284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4285 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 if test -n "$ac_ct_OBJDUMP"; then
4289 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir
=.
4296 for ac_exec_ext
in '' $ac_executable_extensions; do
4297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4305 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
4308 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4309 if test -n "$ac_ct_OBJDUMP"; then
4310 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4311 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4313 echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6
4317 OBJDUMP
=$ac_ct_OBJDUMP
4319 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4326 need_locks
="$enable_libtool_lock"
4330 ac_cpp
='$CPP $CPPFLAGS'
4331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4334 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4335 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4336 # On Suns, sometimes $CPP names a directory.
4337 if test -n "$CPP" && test -d "$CPP"; then
4340 if test -z "$CPP"; then
4341 if test "${ac_cv_prog_CPP+set}" = set; then
4342 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 # Double quotes because CPP needs to be expanded
4345 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4348 for ac_c_preproc_warn_flag
in '' yes
4350 # Use a header file that comes with gcc, so configuring glibc
4351 # with a fresh cross-compiler works.
4352 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4353 # <limits.h> exists even on freestanding compilers.
4354 # On the NeXT, cc -E runs the code through the compiler's parser,
4355 # not just through cpp. "Syntax error" is here to catch this case.
4356 cat >conftest.
$ac_ext <<_ACEOF
4359 cat confdefs.h
>>conftest.
$ac_ext
4360 cat >>conftest.
$ac_ext <<_ACEOF
4361 /* end confdefs.h. */
4363 # include <limits.h>
4365 # include <assert.h>
4369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4372 grep -v '^ *+' conftest.er1
>conftest.err
4374 cat conftest.err
>&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); } >/dev
/null
; then
4377 if test -s conftest.err
; then
4378 ac_cpp_err
=$ac_c_preproc_warn_flag
4379 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4386 if test -z "$ac_cpp_err"; then
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.
$ac_ext >&5
4392 # Broken: fails on valid input.
4395 rm -f conftest.err conftest.
$ac_ext
4397 # OK, works on sane cases. Now check whether non-existent headers
4398 # can be detected and how.
4399 cat >conftest.
$ac_ext <<_ACEOF
4402 cat confdefs.h
>>conftest.
$ac_ext
4403 cat >>conftest.
$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4405 #include <ac_nonexistent.h>
4407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4408 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4410 grep -v '^ *+' conftest.er1
>conftest.err
4412 cat conftest.err
>&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); } >/dev
/null
; then
4415 if test -s conftest.err
; then
4416 ac_cpp_err
=$ac_c_preproc_warn_flag
4417 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4424 if test -z "$ac_cpp_err"; then
4425 # Broken: success on invalid input.
4428 echo "$as_me: failed program was:" >&5
4429 sed 's/^/| /' conftest.
$ac_ext >&5
4431 # Passes both tests.
4435 rm -f conftest.err conftest.
$ac_ext
4438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4439 rm -f conftest.err conftest.
$ac_ext
4440 if $ac_preproc_ok; then
4452 echo "$as_me:$LINENO: result: $CPP" >&5
4453 echo "${ECHO_T}$CPP" >&6
4455 for ac_c_preproc_warn_flag
in '' yes
4457 # Use a header file that comes with gcc, so configuring glibc
4458 # with a fresh cross-compiler works.
4459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4460 # <limits.h> exists even on freestanding compilers.
4461 # On the NeXT, cc -E runs the code through the compiler's parser,
4462 # not just through cpp. "Syntax error" is here to catch this case.
4463 cat >conftest.
$ac_ext <<_ACEOF
4466 cat confdefs.h
>>conftest.
$ac_ext
4467 cat >>conftest.
$ac_ext <<_ACEOF
4468 /* end confdefs.h. */
4470 # include <limits.h>
4472 # include <assert.h>
4476 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4477 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4479 grep -v '^ *+' conftest.er1
>conftest.err
4481 cat conftest.err
>&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); } >/dev
/null
; then
4484 if test -s conftest.err
; then
4485 ac_cpp_err
=$ac_c_preproc_warn_flag
4486 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4493 if test -z "$ac_cpp_err"; then
4496 echo "$as_me: failed program was:" >&5
4497 sed 's/^/| /' conftest.
$ac_ext >&5
4499 # Broken: fails on valid input.
4502 rm -f conftest.err conftest.
$ac_ext
4504 # OK, works on sane cases. Now check whether non-existent headers
4505 # can be detected and how.
4506 cat >conftest.
$ac_ext <<_ACEOF
4509 cat confdefs.h
>>conftest.
$ac_ext
4510 cat >>conftest.
$ac_ext <<_ACEOF
4511 /* end confdefs.h. */
4512 #include <ac_nonexistent.h>
4514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4515 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4517 grep -v '^ *+' conftest.er1
>conftest.err
4519 cat conftest.err
>&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } >/dev
/null
; then
4522 if test -s conftest.err
; then
4523 ac_cpp_err
=$ac_c_preproc_warn_flag
4524 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4531 if test -z "$ac_cpp_err"; then
4532 # Broken: success on invalid input.
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.
$ac_ext >&5
4538 # Passes both tests.
4542 rm -f conftest.err conftest.
$ac_ext
4545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4546 rm -f conftest.err conftest.
$ac_ext
4547 if $ac_preproc_ok; then
4550 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4551 See \`config.log' for more details." >&5
4552 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4553 See \`config.log' for more details." >&2;}
4554 { (exit 1); exit 1; }; }
4558 ac_cpp
='$CPP $CPPFLAGS'
4559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4564 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4565 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4566 if test "${ac_cv_header_stdc+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 cat >conftest.
$ac_ext <<_ACEOF
4572 cat confdefs.h
>>conftest.
$ac_ext
4573 cat >>conftest.
$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4588 rm -f conftest.
$ac_objext
4589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4590 (eval $ac_compile) 2>conftest.er1
4592 grep -v '^ *+' conftest.er1
>conftest.err
4594 cat conftest.err
>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); } &&
4597 { ac_try
='test -z "$ac_c_werror_flag"
4598 || test ! -s conftest.err'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; } &&
4604 { ac_try
='test -s conftest.$ac_objext'
4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); }; }; then
4610 ac_cv_header_stdc
=yes
4612 echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.
$ac_ext >&5
4615 ac_cv_header_stdc
=no
4617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4619 if test $ac_cv_header_stdc = yes; then
4620 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4621 cat >conftest.
$ac_ext <<_ACEOF
4624 cat confdefs.h
>>conftest.
$ac_ext
4625 cat >>conftest.
$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4631 $EGREP "memchr" >/dev
/null
2>&1; then
4634 ac_cv_header_stdc
=no
4640 if test $ac_cv_header_stdc = yes; then
4641 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4642 cat >conftest.
$ac_ext <<_ACEOF
4645 cat confdefs.h
>>conftest.
$ac_ext
4646 cat >>conftest.
$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4652 $EGREP "free" >/dev
/null
2>&1; then
4655 ac_cv_header_stdc
=no
4661 if test $ac_cv_header_stdc = yes; then
4662 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4663 if test "$cross_compiling" = yes; then
4666 cat >conftest.
$ac_ext <<_ACEOF
4669 cat confdefs.h
>>conftest.
$ac_ext
4670 cat >>conftest.
$ac_ext <<_ACEOF
4671 /* end confdefs.h. */
4673 #if ((' ' & 0x0FF) == 0x020)
4674 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4675 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4677 # define ISLOWER(c) \
4678 (('a' <= (c) && (c) <= 'i') \
4679 || ('j' <= (c) && (c) <= 'r') \
4680 || ('s' <= (c) && (c) <= 'z'))
4681 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4684 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4689 for (i = 0; i < 256; i++)
4690 if (XOR (islower (i), ISLOWER (i))
4691 || toupper (i) != TOUPPER (i))
4696 rm -f conftest
$ac_exeext
4697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4698 (eval $ac_link) 2>&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); }; }; then
4709 echo "$as_me: program exited with status $ac_status" >&5
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.
$ac_ext >&5
4714 ac_cv_header_stdc
=no
4716 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4720 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4721 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4722 if test $ac_cv_header_stdc = yes; then
4724 cat >>confdefs.h
<<\_ACEOF
4725 #define STDC_HEADERS 1
4730 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4740 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4741 inttypes.h stdint.h unistd.h
4743 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4744 echo "$as_me:$LINENO: checking for $ac_header" >&5
4745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4747 echo $ECHO_N "(cached) $ECHO_C" >&6
4749 cat >conftest.
$ac_ext <<_ACEOF
4752 cat confdefs.h
>>conftest.
$ac_ext
4753 cat >>conftest.
$ac_ext <<_ACEOF
4754 /* end confdefs.h. */
4755 $ac_includes_default
4757 #include <$ac_header>
4759 rm -f conftest.
$ac_objext
4760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4761 (eval $ac_compile) 2>conftest.er1
4763 grep -v '^ *+' conftest.er1
>conftest.err
4765 cat conftest.err
>&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } &&
4768 { ac_try
='test -z "$ac_c_werror_flag"
4769 || test ! -s conftest.err'
4770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); }; } &&
4775 { ac_try
='test -s conftest.$ac_objext'
4776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; }; then
4781 eval "$as_ac_Header=yes"
4783 echo "$as_me: failed program was:" >&5
4784 sed 's/^/| /' conftest.
$ac_ext >&5
4786 eval "$as_ac_Header=no"
4788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4793 cat >>confdefs.h
<<_ACEOF
4794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4803 for ac_header
in dlfcn.h
4805 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4807 echo "$as_me:$LINENO: checking for $ac_header" >&5
4808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4815 # Is the header compilable?
4816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4818 cat >conftest.
$ac_ext <<_ACEOF
4821 cat confdefs.h
>>conftest.
$ac_ext
4822 cat >>conftest.
$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4824 $ac_includes_default
4825 #include <$ac_header>
4827 rm -f conftest.
$ac_objext
4828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4829 (eval $ac_compile) 2>conftest.er1
4831 grep -v '^ *+' conftest.er1
>conftest.err
4833 cat conftest.err
>&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } &&
4836 { ac_try
='test -z "$ac_c_werror_flag"
4837 || test ! -s conftest.err'
4838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); }; } &&
4843 { ac_try
='test -s conftest.$ac_objext'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; }; then
4849 ac_header_compiler
=yes
4851 echo "$as_me: failed program was:" >&5
4852 sed 's/^/| /' conftest.
$ac_ext >&5
4854 ac_header_compiler
=no
4856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4858 echo "${ECHO_T}$ac_header_compiler" >&6
4860 # Is the header present?
4861 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4863 cat >conftest.
$ac_ext <<_ACEOF
4866 cat confdefs.h
>>conftest.
$ac_ext
4867 cat >>conftest.
$ac_ext <<_ACEOF
4868 /* end confdefs.h. */
4869 #include <$ac_header>
4871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4874 grep -v '^ *+' conftest.er1
>conftest.err
4876 cat conftest.err
>&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); } >/dev
/null
; then
4879 if test -s conftest.err
; then
4880 ac_cpp_err
=$ac_c_preproc_warn_flag
4881 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4888 if test -z "$ac_cpp_err"; then
4889 ac_header_preproc
=yes
4891 echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.
$ac_ext >&5
4894 ac_header_preproc
=no
4896 rm -f conftest.err conftest.
$ac_ext
4897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4898 echo "${ECHO_T}$ac_header_preproc" >&6
4900 # So? What about this header?
4901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4906 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4907 ac_header_preproc
=yes
4910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4914 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4915 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4916 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4924 ## ---------------------------------- ##
4925 ## Report this to bug-libtool@gnu.org ##
4926 ## ---------------------------------- ##
4929 sed "s/^/$as_me: WARNING: /" >&2
4932 echo "$as_me:$LINENO: checking for $ac_header" >&5
4933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4937 eval "$as_ac_Header=\$ac_header_preproc"
4939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4944 cat >>confdefs.h
<<_ACEOF
4945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4953 ac_cpp
='$CXXCPP $CPPFLAGS'
4954 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4955 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4956 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4957 if test -n "$ac_tool_prefix"; then
4958 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4960 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4961 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4962 echo "$as_me:$LINENO: checking for $ac_word" >&5
4963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4964 if test "${ac_cv_prog_CXX+set}" = set; then
4965 echo $ECHO_N "(cached) $ECHO_C" >&6
4967 if test -n "$CXX"; then
4968 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4974 test -z "$as_dir" && as_dir
=.
4975 for ac_exec_ext
in '' $ac_executable_extensions; do
4976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4977 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 if test -n "$CXX"; then
4988 echo "$as_me:$LINENO: result: $CXX" >&5
4989 echo "${ECHO_T}$CXX" >&6
4991 echo "$as_me:$LINENO: result: no" >&5
4992 echo "${ECHO_T}no" >&6
4995 test -n "$CXX" && break
4998 if test -z "$CXX"; then
5000 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5002 # Extract the first word of "$ac_prog", so it can be a program name with args.
5003 set dummy
$ac_prog; ac_word
=$2
5004 echo "$as_me:$LINENO: checking for $ac_word" >&5
5005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5006 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 if test -n "$ac_ct_CXX"; then
5010 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir
=.
5017 for ac_exec_ext
in '' $ac_executable_extensions; do
5018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5029 if test -n "$ac_ct_CXX"; then
5030 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5031 echo "${ECHO_T}$ac_ct_CXX" >&6
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5037 test -n "$ac_ct_CXX" && break
5039 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
5045 # Provide some information about the compiler.
5046 echo "$as_me:$LINENO:" \
5047 "checking for C++ compiler version" >&5
5048 ac_compiler
=`set X $ac_compile; echo $2`
5049 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5050 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }
5054 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5055 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); }
5059 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5060 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); }
5065 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5066 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5067 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5068 echo $ECHO_N "(cached) $ECHO_C" >&6
5070 cat >conftest.
$ac_ext <<_ACEOF
5073 cat confdefs.h
>>conftest.
$ac_ext
5074 cat >>conftest.
$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5088 rm -f conftest.
$ac_objext
5089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5090 (eval $ac_compile) 2>conftest.er1
5092 grep -v '^ *+' conftest.er1
>conftest.err
5094 cat conftest.err
>&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); } &&
5097 { ac_try
='test -z "$ac_cxx_werror_flag"
5098 || test ! -s conftest.err'
5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }; } &&
5104 { ac_try
='test -s conftest.$ac_objext'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5112 echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.
$ac_ext >&5
5117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5118 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5121 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5122 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5123 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5124 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5125 ac_save_CXXFLAGS
=$CXXFLAGS
5127 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5128 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5129 if test "${ac_cv_prog_cxx_g+set}" = set; then
5130 echo $ECHO_N "(cached) $ECHO_C" >&6
5132 cat >conftest.
$ac_ext <<_ACEOF
5135 cat confdefs.h
>>conftest.
$ac_ext
5136 cat >>conftest.
$ac_ext <<_ACEOF
5137 /* end confdefs.h. */
5147 rm -f conftest.
$ac_objext
5148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5149 (eval $ac_compile) 2>conftest.er1
5151 grep -v '^ *+' conftest.er1
>conftest.err
5153 cat conftest.err
>&5
5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); } &&
5156 { ac_try
='test -z "$ac_cxx_werror_flag"
5157 || test ! -s conftest.err'
5158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); }; } &&
5163 { ac_try
='test -s conftest.$ac_objext'
5164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); }; }; then
5169 ac_cv_prog_cxx_g
=yes
5171 echo "$as_me: failed program was:" >&5
5172 sed 's/^/| /' conftest.
$ac_ext >&5
5176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5178 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5179 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5180 if test "$ac_test_CXXFLAGS" = set; then
5181 CXXFLAGS
=$ac_save_CXXFLAGS
5182 elif test $ac_cv_prog_cxx_g = yes; then
5183 if test "$GXX" = yes; then
5189 if test "$GXX" = yes; then
5195 for ac_declaration
in \
5197 'extern "C" void std::exit (int) throw (); using std::exit;' \
5198 'extern "C" void std::exit (int); using std::exit;' \
5199 'extern "C" void exit (int) throw ();' \
5200 'extern "C" void exit (int);' \
5203 cat >conftest.
$ac_ext <<_ACEOF
5206 cat confdefs.h
>>conftest.
$ac_ext
5207 cat >>conftest.
$ac_ext <<_ACEOF
5208 /* end confdefs.h. */
5219 rm -f conftest.
$ac_objext
5220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5221 (eval $ac_compile) 2>conftest.er1
5223 grep -v '^ *+' conftest.er1
>conftest.err
5225 cat conftest.err
>&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } &&
5228 { ac_try
='test -z "$ac_cxx_werror_flag"
5229 || test ! -s conftest.err'
5230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }; } &&
5235 { ac_try
='test -s conftest.$ac_objext'
5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }; }; then
5243 echo "$as_me: failed program was:" >&5
5244 sed 's/^/| /' conftest.
$ac_ext >&5
5248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5249 cat >conftest.
$ac_ext <<_ACEOF
5252 cat confdefs.h
>>conftest.
$ac_ext
5253 cat >>conftest.
$ac_ext <<_ACEOF
5254 /* end confdefs.h. */
5264 rm -f conftest.
$ac_objext
5265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5266 (eval $ac_compile) 2>conftest.er1
5268 grep -v '^ *+' conftest.er1
>conftest.err
5270 cat conftest.err
>&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); } &&
5273 { ac_try
='test -z "$ac_cxx_werror_flag"
5274 || test ! -s conftest.err'
5275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); }; } &&
5280 { ac_try
='test -s conftest.$ac_objext'
5281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); }; }; then
5288 echo "$as_me: failed program was:" >&5
5289 sed 's/^/| /' conftest.
$ac_ext >&5
5292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5295 if test -n "$ac_declaration"; then
5296 echo '#ifdef __cplusplus' >>confdefs.h
5297 echo $ac_declaration >>confdefs.h
5298 echo '#endif' >>confdefs.h
5302 ac_cpp
='$CXXCPP $CPPFLAGS'
5303 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5304 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5305 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5307 depcc
="$CXX" am_compiler_list
=
5309 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5310 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5311 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5315 # We make a subdir and do the tests there. Otherwise we can end up
5316 # making bogus files that we don't know about and never remove. For
5317 # instance it was reported that on HP-UX the gcc test will end up
5318 # making a dummy file named `D' -- because `-MD' means `put the output
5321 # Copy depcomp to subdir because otherwise we won't find it if we're
5322 # using a relative directory.
5323 cp "$am_depcomp" conftest.dir
5325 # We will build objects and dependencies in a subdirectory because
5326 # it helps to detect inapplicable dependency modes. For instance
5327 # both Tru64's cc and ICC support -MD to output dependencies as a
5328 # side effect of compilation, but ICC will put the dependencies in
5329 # the current directory while Tru64 will put them in the object
5333 am_cv_CXX_dependencies_compiler_type
=none
5334 if test "$am_compiler_list" = ""; then
5335 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5337 for depmode
in $am_compiler_list; do
5338 # Setup a source with many dependencies, because some compilers
5339 # like to wrap large dependency lists on column 80 (with \), and
5340 # we should not choose a depcomp mode which is confused by this.
5342 # We need to recreate these files for each test, as the compiler may
5343 # overwrite some of them when testing with obscure command lines.
5344 # This happens at least with the AIX C compiler.
5346 for i
in 1 2 3 4 5 6; do
5347 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5348 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5349 # Solaris 8's {/usr,}/bin/sh.
5350 touch sub
/conftst
$i.h
5352 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5356 # after this tag, mechanisms are not by side-effect, so they'll
5357 # only be used when explicitly requested
5358 if test "x$enable_dependency_tracking" = xyes
; then
5366 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5367 # mode. It turns out that the SunPro C++ compiler does not properly
5368 # handle `-M -o', and we need to detect this.
5369 if depmode
=$depmode \
5370 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5371 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5372 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5373 >/dev
/null
2>conftest.err
&&
5374 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5375 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5376 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5377 # icc doesn't choke on unknown options, it will just issue warnings
5378 # or remarks (even with -Werror). So we grep stderr for any message
5379 # that says an option was ignored or not supported.
5380 # When given -MP, icc 7.0 and 7.1 complain thusly:
5381 # icc: Command line warning: ignoring option '-M'; no argument required
5382 # The diagnosis changed in icc 8.0:
5383 # icc: Command line remark: option '-MP' not supported
5384 if (grep 'ignoring option' conftest.err ||
5385 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5386 am_cv_CXX_dependencies_compiler_type
=$depmode
5395 am_cv_CXX_dependencies_compiler_type
=none
5399 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5400 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5401 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5406 test "x$enable_dependency_tracking" != xno \
5407 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5408 am__fastdepCXX_TRUE
=
5409 am__fastdepCXX_FALSE
='#'
5411 am__fastdepCXX_TRUE
='#'
5412 am__fastdepCXX_FALSE
=
5417 ac_cpp
='$CXXCPP $CPPFLAGS'
5418 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5419 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5420 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5421 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5422 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5423 if test -z "$CXXCPP"; then
5424 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5425 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 # Double quotes because CXXCPP needs to be expanded
5428 for CXXCPP
in "$CXX -E" "/lib/cpp"
5431 for ac_cxx_preproc_warn_flag
in '' yes
5433 # Use a header file that comes with gcc, so configuring glibc
5434 # with a fresh cross-compiler works.
5435 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5436 # <limits.h> exists even on freestanding compilers.
5437 # On the NeXT, cc -E runs the code through the compiler's parser,
5438 # not just through cpp. "Syntax error" is here to catch this case.
5439 cat >conftest.
$ac_ext <<_ACEOF
5442 cat confdefs.h
>>conftest.
$ac_ext
5443 cat >>conftest.
$ac_ext <<_ACEOF
5444 /* end confdefs.h. */
5446 # include <limits.h>
5448 # include <assert.h>
5452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5455 grep -v '^ *+' conftest.er1
>conftest.err
5457 cat conftest.err
>&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); } >/dev
/null
; then
5460 if test -s conftest.err
; then
5461 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5462 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5469 if test -z "$ac_cpp_err"; then
5472 echo "$as_me: failed program was:" >&5
5473 sed 's/^/| /' conftest.
$ac_ext >&5
5475 # Broken: fails on valid input.
5478 rm -f conftest.err conftest.
$ac_ext
5480 # OK, works on sane cases. Now check whether non-existent headers
5481 # can be detected and how.
5482 cat >conftest.
$ac_ext <<_ACEOF
5485 cat confdefs.h
>>conftest.
$ac_ext
5486 cat >>conftest.
$ac_ext <<_ACEOF
5487 /* end confdefs.h. */
5488 #include <ac_nonexistent.h>
5490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5493 grep -v '^ *+' conftest.er1
>conftest.err
5495 cat conftest.err
>&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } >/dev
/null
; then
5498 if test -s conftest.err
; then
5499 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5500 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5507 if test -z "$ac_cpp_err"; then
5508 # Broken: success on invalid input.
5511 echo "$as_me: failed program was:" >&5
5512 sed 's/^/| /' conftest.
$ac_ext >&5
5514 # Passes both tests.
5518 rm -f conftest.err conftest.
$ac_ext
5521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5522 rm -f conftest.err conftest.
$ac_ext
5523 if $ac_preproc_ok; then
5528 ac_cv_prog_CXXCPP
=$CXXCPP
5531 CXXCPP
=$ac_cv_prog_CXXCPP
5533 ac_cv_prog_CXXCPP
=$CXXCPP
5535 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5536 echo "${ECHO_T}$CXXCPP" >&6
5538 for ac_cxx_preproc_warn_flag
in '' yes
5540 # Use a header file that comes with gcc, so configuring glibc
5541 # with a fresh cross-compiler works.
5542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5543 # <limits.h> exists even on freestanding compilers.
5544 # On the NeXT, cc -E runs the code through the compiler's parser,
5545 # not just through cpp. "Syntax error" is here to catch this case.
5546 cat >conftest.
$ac_ext <<_ACEOF
5549 cat confdefs.h
>>conftest.
$ac_ext
5550 cat >>conftest.
$ac_ext <<_ACEOF
5551 /* end confdefs.h. */
5553 # include <limits.h>
5555 # include <assert.h>
5559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5560 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5562 grep -v '^ *+' conftest.er1
>conftest.err
5564 cat conftest.err
>&5
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); } >/dev
/null
; then
5567 if test -s conftest.err
; then
5568 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5569 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5576 if test -z "$ac_cpp_err"; then
5579 echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.
$ac_ext >&5
5582 # Broken: fails on valid input.
5585 rm -f conftest.err conftest.
$ac_ext
5587 # OK, works on sane cases. Now check whether non-existent headers
5588 # can be detected and how.
5589 cat >conftest.
$ac_ext <<_ACEOF
5592 cat confdefs.h
>>conftest.
$ac_ext
5593 cat >>conftest.
$ac_ext <<_ACEOF
5594 /* end confdefs.h. */
5595 #include <ac_nonexistent.h>
5597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5598 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5600 grep -v '^ *+' conftest.er1
>conftest.err
5602 cat conftest.err
>&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } >/dev
/null
; then
5605 if test -s conftest.err
; then
5606 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5607 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5614 if test -z "$ac_cpp_err"; then
5615 # Broken: success on invalid input.
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.
$ac_ext >&5
5621 # Passes both tests.
5625 rm -f conftest.err conftest.
$ac_ext
5628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5629 rm -f conftest.err conftest.
$ac_ext
5630 if $ac_preproc_ok; then
5633 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5634 See \`config.log' for more details." >&5
5635 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5636 See \`config.log' for more details." >&2;}
5637 { (exit 1); exit 1; }; }
5641 ac_cpp
='$CXXCPP $CPPFLAGS'
5642 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5643 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5644 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5648 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5649 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5650 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5651 if test -n "$ac_tool_prefix"; then
5652 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5654 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5655 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5656 echo "$as_me:$LINENO: checking for $ac_word" >&5
5657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5658 if test "${ac_cv_prog_F77+set}" = set; then
5659 echo $ECHO_N "(cached) $ECHO_C" >&6
5661 if test -n "$F77"; then
5662 ac_cv_prog_F77
="$F77" # Let the user override the test.
5664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5668 test -z "$as_dir" && as_dir
=.
5669 for ac_exec_ext
in '' $ac_executable_extensions; do
5670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5671 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5681 if test -n "$F77"; then
5682 echo "$as_me:$LINENO: result: $F77" >&5
5683 echo "${ECHO_T}$F77" >&6
5685 echo "$as_me:$LINENO: result: no" >&5
5686 echo "${ECHO_T}no" >&6
5689 test -n "$F77" && break
5692 if test -z "$F77"; then
5694 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5696 # Extract the first word of "$ac_prog", so it can be a program name with args.
5697 set dummy
$ac_prog; ac_word
=$2
5698 echo "$as_me:$LINENO: checking for $ac_word" >&5
5699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5700 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 if test -n "$ac_ct_F77"; then
5704 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5710 test -z "$as_dir" && as_dir
=.
5711 for ac_exec_ext
in '' $ac_executable_extensions; do
5712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713 ac_cv_prog_ac_ct_F77
="$ac_prog"
5714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5723 if test -n "$ac_ct_F77"; then
5724 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5725 echo "${ECHO_T}$ac_ct_F77" >&6
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5731 test -n "$ac_ct_F77" && break
5738 # Provide some information about the compiler.
5739 echo "$as_me:5739:" \
5740 "checking for Fortran 77 compiler version" >&5
5741 ac_compiler
=`set X $ac_compile; echo $2`
5742 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5743 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); }
5747 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5748 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }
5752 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5753 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); }
5759 # If we don't use `.F' as extension, the preprocessor is not run on the
5760 # input file. (Note that this only needs to work for GNU compilers.)
5763 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5764 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5765 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5768 cat >conftest.
$ac_ext <<_ACEOF
5776 rm -f conftest.
$ac_objext
5777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5778 (eval $ac_compile) 2>conftest.er1
5780 grep -v '^ *+' conftest.er1
>conftest.err
5782 cat conftest.err
>&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); } &&
5785 { ac_try
='test -z "$ac_f77_werror_flag"
5786 || test ! -s conftest.err'
5787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); }; } &&
5792 { ac_try
='test -s conftest.$ac_objext'
5793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); }; }; then
5800 echo "$as_me: failed program was:" >&5
5801 sed 's/^/| /' conftest.
$ac_ext >&5
5805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5806 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5809 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5810 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5812 ac_test_FFLAGS
=${FFLAGS+set}
5813 ac_save_FFLAGS
=$FFLAGS
5815 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5816 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5817 if test "${ac_cv_prog_f77_g+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5821 cat >conftest.
$ac_ext <<_ACEOF
5826 rm -f conftest.
$ac_objext
5827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5828 (eval $ac_compile) 2>conftest.er1
5830 grep -v '^ *+' conftest.er1
>conftest.err
5832 cat conftest.err
>&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } &&
5835 { ac_try
='test -z "$ac_f77_werror_flag"
5836 || test ! -s conftest.err'
5837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); }; } &&
5842 { ac_try
='test -s conftest.$ac_objext'
5843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847 (exit $ac_status); }; }; then
5848 ac_cv_prog_f77_g
=yes
5850 echo "$as_me: failed program was:" >&5
5851 sed 's/^/| /' conftest.
$ac_ext >&5
5855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5858 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5859 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5860 if test "$ac_test_FFLAGS" = set; then
5861 FFLAGS
=$ac_save_FFLAGS
5862 elif test $ac_cv_prog_f77_g = yes; then
5863 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5869 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5876 G77
=`test $ac_compiler_gnu = yes && echo yes`
5878 ac_cpp
='$CPP $CPPFLAGS'
5879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5885 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5887 # find the maximum length of command line arguments
5888 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5889 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5890 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 # On DJGPP, this test can blow up pretty badly due to problems in libc
5899 # (any single argument exceeding 2000 bytes causes a buffer overrun
5900 # during glob expansion). Even if it were fixed, the result of this
5901 # check would be larger than it should be.
5902 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5906 # Under GNU Hurd, this test is not required because there is
5907 # no limit to the length of command line arguments.
5908 # Libtool will interpret -1 as no limit whatsoever
5909 lt_cv_sys_max_cmd_len
=-1;
5913 # On Win9x/ME, this test blows up -- it succeeds, but takes
5914 # about 5 minutes as the teststring grows exponentially.
5915 # Worse, since 9x/ME are not pre-emptively multitasking,
5916 # you end up with a "frozen" computer, even though with patience
5917 # the test eventually succeeds (with a max line length of 256k).
5918 # Instead, let's just punt: use the minimum linelength reported by
5919 # all of the supported platforms: 8192 (on NT/2K/XP).
5920 lt_cv_sys_max_cmd_len
=8192;
5924 # If test is not a shell built-in, we'll probably end up computing a
5925 # maximum length that is only half of the actual maximum length, but
5927 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5928 = "XX$testring") >/dev
/null
2>&1 &&
5929 new_result
=`expr "X$testring" : ".*" 2>&1` &&
5930 lt_cv_sys_max_cmd_len
=$new_result &&
5931 test $i != 17 # 1/2 MB should be enough
5934 testring
=$testring$testring
5937 # Add a significant safety factor because C++ compilers can tack on massive
5938 # amounts of additional arguments before passing them to the linker.
5939 # It appears as though 1/2 is a usable value.
5940 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5946 if test -n $lt_cv_sys_max_cmd_len ; then
5947 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5948 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5950 echo "$as_me:$LINENO: result: none" >&5
5951 echo "${ECHO_T}none" >&6
5957 # Check for command to grab the raw symbol name followed by C symbol from nm.
5958 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5959 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5960 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5961 echo $ECHO_N "(cached) $ECHO_C" >&6
5964 # These are sane defaults that work on at least a few old systems.
5965 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5967 # Character class describing NM global symbol codes.
5968 symcode
='[BCDEGRST]'
5970 # Regexp to match symbols that can be accessed directly from C.
5971 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5973 # Transform the above into a raw symbol and a C symbol.
5974 symxfrm
='\1 \2\3 \3'
5976 # Transform an extracted symbol line into a proper C declaration
5977 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5979 # Transform an extracted symbol line into symbol name and symbol address
5980 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'"
5982 # Define system-specific variables.
5987 cygwin
* | mingw
* | pw32
*)
5988 symcode
='[ABCDGISTW]'
5990 hpux
*) # Its linker distinguishes data from code symbols
5991 if test "$host_cpu" = ia64
; then
5992 symcode
='[ABCDEGRST]'
5994 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5995 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'"
5998 symcode
='[BCDEGRST]'
6001 symcode
='[BCDEGQRST]'
6011 # Handle CRLF in mingw tool chain
6015 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6019 # If we're using GNU nm, then use its standard symbol codes.
6020 case `$NM -V 2>&1` in
6021 *GNU
* |
*'with BFD'*)
6022 symcode
='[ABCDGISTW]' ;;
6025 # Try without a prefix undercore, then with it.
6026 for ac_symprfx
in "" "_"; do
6028 # Write the raw and C identifiers.
6029 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
6031 # Check to see that the pipe works correctly.
6035 cat > conftest.
$ac_ext <<EOF
6040 void nm_test_func(){}
6044 int main(){nm_test_var='a';nm_test_func();return(0);}
6047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6048 (eval $ac_compile) 2>&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; then
6052 # Now try to grab the symbols.
6054 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6055 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); } && test -s "$nlist"; then
6059 # Try sorting and uniquifying the output.
6060 if sort "$nlist" |
uniq > "$nlist"T
; then
6061 mv -f "$nlist"T
"$nlist"
6066 # Make sure that we snagged all the symbols we need.
6067 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6068 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6069 cat <<EOF > conftest.$ac_ext
6075 # Now generate the symbol file.
6076 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6078 cat <<EOF >> conftest.$ac_ext
6079 #if defined (__STDC__) && __STDC__
6080 # define lt_ptr_t void *
6082 # define lt_ptr_t char *
6086 /* The mapping between symbol names and symbols. */
6091 lt_preloaded_symbols[] =
6094 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6095 cat <<\EOF
>> conftest.
$ac_ext
6103 # Now try linking the two files.
6104 mv conftest.
$ac_objext conftstm.
$ac_objext
6105 lt_save_LIBS
="$LIBS"
6106 lt_save_CFLAGS
="$CFLAGS"
6107 LIBS
="conftstm.$ac_objext"
6108 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6110 (eval $ac_link) 2>&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6116 LIBS
="$lt_save_LIBS"
6117 CFLAGS
="$lt_save_CFLAGS"
6119 echo "cannot find nm_test_func in $nlist" >&5
6122 echo "cannot find nm_test_var in $nlist" >&5
6125 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6128 echo "$progname: failed program was:" >&5
6129 cat conftest.
$ac_ext >&5
6131 rm -f conftest
* conftst
*
6133 # Do not use the global_symbol_pipe unless it works.
6134 if test "$pipe_works" = yes; then
6137 lt_cv_sys_global_symbol_pipe
=
6143 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6144 lt_cv_sys_global_symbol_to_cdecl
=
6146 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6147 echo "$as_me:$LINENO: result: failed" >&5
6148 echo "${ECHO_T}failed" >&6
6150 echo "$as_me:$LINENO: result: ok" >&5
6151 echo "${ECHO_T}ok" >&6
6154 echo "$as_me:$LINENO: checking for objdir" >&5
6155 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6156 if test "${lt_cv_objdir+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 rm -f .libs
2>/dev
/null
6160 mkdir .libs
2>/dev
/null
6161 if test -d .libs
; then
6164 # MS-DOS does not allow filenames that begin with a dot.
6167 rmdir .libs
2>/dev
/null
6169 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6170 echo "${ECHO_T}$lt_cv_objdir" >&6
6171 objdir
=$lt_cv_objdir
6179 # AIX sometimes has problems with the GCC collect2 program. For some
6180 # reason, if we set the COLLECT_NAMES environment variable, the problems
6181 # vanish in a puff of smoke.
6182 if test "X${COLLECT_NAMES+set}" != Xset
; then
6184 export COLLECT_NAMES
6189 # Sed substitution that helps us do robust quoting. It backslashifies
6190 # metacharacters that are still active within double-quoted strings.
6191 Xsed
='sed -e s/^X//'
6192 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6194 # Same as above, but do not quote variable references.
6195 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6197 # Sed substitution to delay expansion of an escaped shell variable in a
6198 # double_quote_subst'ed string.
6199 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6201 # Sed substitution to avoid accidental globbing in evaled expressions
6202 no_glob_subst
='s/\*/\\\*/g'
6208 default_ofile
=libtool
6209 can_build_shared
=yes
6211 # All known linkers require a `.a' archive for static linking (except M$VC,
6212 # which needs '.lib').
6214 ltmain
="$ac_aux_dir/ltmain.sh"
6215 ofile
="$default_ofile"
6216 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6218 if test -n "$ac_tool_prefix"; then
6219 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6220 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6221 echo "$as_me:$LINENO: checking for $ac_word" >&5
6222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6223 if test "${ac_cv_prog_AR+set}" = set; then
6224 echo $ECHO_N "(cached) $ECHO_C" >&6
6226 if test -n "$AR"; then
6227 ac_cv_prog_AR
="$AR" # Let the user override the test.
6229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6233 test -z "$as_dir" && as_dir
=.
6234 for ac_exec_ext
in '' $ac_executable_extensions; do
6235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6236 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 if test -n "$AR"; then
6247 echo "$as_me:$LINENO: result: $AR" >&5
6248 echo "${ECHO_T}$AR" >&6
6250 echo "$as_me:$LINENO: result: no" >&5
6251 echo "${ECHO_T}no" >&6
6255 if test -z "$ac_cv_prog_AR"; then
6257 # Extract the first word of "ar", so it can be a program name with args.
6258 set dummy
ar; ac_word
=$2
6259 echo "$as_me:$LINENO: checking for $ac_word" >&5
6260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6261 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6262 echo $ECHO_N "(cached) $ECHO_C" >&6
6264 if test -n "$ac_ct_AR"; then
6265 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6271 test -z "$as_dir" && as_dir
=.
6272 for ac_exec_ext
in '' $ac_executable_extensions; do
6273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6274 ac_cv_prog_ac_ct_AR
="ar"
6275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6281 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6284 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6285 if test -n "$ac_ct_AR"; then
6286 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6287 echo "${ECHO_T}$ac_ct_AR" >&6
6289 echo "$as_me:$LINENO: result: no" >&5
6290 echo "${ECHO_T}no" >&6
6298 if test -n "$ac_tool_prefix"; then
6299 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6300 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6301 echo "$as_me:$LINENO: checking for $ac_word" >&5
6302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6303 if test "${ac_cv_prog_RANLIB+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6306 if test -n "$RANLIB"; then
6307 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir
=.
6314 for ac_exec_ext
in '' $ac_executable_extensions; do
6315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 RANLIB
=$ac_cv_prog_RANLIB
6326 if test -n "$RANLIB"; then
6327 echo "$as_me:$LINENO: result: $RANLIB" >&5
6328 echo "${ECHO_T}$RANLIB" >&6
6330 echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6
6335 if test -z "$ac_cv_prog_RANLIB"; then
6336 ac_ct_RANLIB
=$RANLIB
6337 # Extract the first word of "ranlib", so it can be a program name with args.
6338 set dummy ranlib
; ac_word
=$2
6339 echo "$as_me:$LINENO: checking for $ac_word" >&5
6340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6341 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 if test -n "$ac_ct_RANLIB"; then
6345 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir
=.
6352 for ac_exec_ext
in '' $ac_executable_extensions; do
6353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6354 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6361 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6364 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6365 if test -n "$ac_ct_RANLIB"; then
6366 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6367 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6369 echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6
6373 RANLIB
=$ac_ct_RANLIB
6375 RANLIB
="$ac_cv_prog_RANLIB"
6378 if test -n "$ac_tool_prefix"; then
6379 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6380 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6381 echo "$as_me:$LINENO: checking for $ac_word" >&5
6382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6383 if test "${ac_cv_prog_STRIP+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 if test -n "$STRIP"; then
6387 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir
=.
6394 for ac_exec_ext
in '' $ac_executable_extensions; do
6395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6396 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6405 STRIP
=$ac_cv_prog_STRIP
6406 if test -n "$STRIP"; then
6407 echo "$as_me:$LINENO: result: $STRIP" >&5
6408 echo "${ECHO_T}$STRIP" >&6
6410 echo "$as_me:$LINENO: result: no" >&5
6411 echo "${ECHO_T}no" >&6
6415 if test -z "$ac_cv_prog_STRIP"; then
6417 # Extract the first word of "strip", so it can be a program name with args.
6418 set dummy strip
; ac_word
=$2
6419 echo "$as_me:$LINENO: checking for $ac_word" >&5
6420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6421 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6422 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 if test -n "$ac_ct_STRIP"; then
6425 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6431 test -z "$as_dir" && as_dir
=.
6432 for ac_exec_ext
in '' $ac_executable_extensions; do
6433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6434 ac_cv_prog_ac_ct_STRIP
="strip"
6435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6441 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6444 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6445 if test -n "$ac_ct_STRIP"; then
6446 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6447 echo "${ECHO_T}$ac_ct_STRIP" >&6
6449 echo "$as_me:$LINENO: result: no" >&5
6450 echo "${ECHO_T}no" >&6
6455 STRIP
="$ac_cv_prog_STRIP"
6460 old_CFLAGS
="$CFLAGS"
6462 # Set sane defaults for various variables
6463 test -z "$AR" && AR
=ar
6464 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6465 test -z "$AS" && AS
=as
6466 test -z "$CC" && CC
=cc
6467 test -z "$LTCC" && LTCC
=$CC
6468 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6469 test -z "$LD" && LD
=ld
6470 test -z "$LN_S" && LN_S
="ln -s"
6471 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6472 test -z "$NM" && NM
=nm
6473 test -z "$SED" && SED
=sed
6474 test -z "$OBJDUMP" && OBJDUMP
=objdump
6475 test -z "$RANLIB" && RANLIB
=:
6476 test -z "$STRIP" && STRIP
=:
6477 test -z "$ac_objext" && ac_objext
=o
6479 # Determine commands to create old-style static archives.
6480 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6481 old_postinstall_cmds
='chmod 644 $oldlib'
6482 old_postuninstall_cmds
=
6484 if test -n "$RANLIB"; then
6487 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6490 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6493 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6496 # Only perform the check for file, if the check method requires it
6497 case $deplibs_check_method in
6499 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6500 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6501 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6502 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6507 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6510 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6511 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6512 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6513 for ac_dir
in $ac_dummy; do
6515 test -z "$ac_dir" && ac_dir
=.
6516 if test -f $ac_dir/${ac_tool_prefix}file; then
6517 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6518 if test -n "$file_magic_test_file"; then
6519 case $deplibs_check_method in
6521 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6522 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6523 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6524 $EGREP "$file_magic_regex" > /dev
/null
; then
6529 *** Warning: the command libtool uses to detect shared libraries,
6530 *** $file_magic_cmd, produces output that libtool cannot recognize.
6531 *** The result is that libtool may fail to recognize shared libraries
6532 *** as such. This will affect the creation of libtool libraries that
6533 *** depend on shared libraries, but programs linked with such libtool
6534 *** libraries will work regardless of this problem. Nevertheless, you
6535 *** may want to report the problem to your system manager and/or to
6536 *** bug-libtool@gnu.org
6546 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6551 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6552 if test -n "$MAGIC_CMD"; then
6553 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6554 echo "${ECHO_T}$MAGIC_CMD" >&6
6556 echo "$as_me:$LINENO: result: no" >&5
6557 echo "${ECHO_T}no" >&6
6560 if test -z "$lt_cv_path_MAGIC_CMD"; then
6561 if test -n "$ac_tool_prefix"; then
6562 echo "$as_me:$LINENO: checking for file" >&5
6563 echo $ECHO_N "checking for file... $ECHO_C" >&6
6564 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6569 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6572 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6573 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6574 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6575 for ac_dir
in $ac_dummy; do
6577 test -z "$ac_dir" && ac_dir
=.
6578 if test -f $ac_dir/file; then
6579 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6580 if test -n "$file_magic_test_file"; then
6581 case $deplibs_check_method in
6583 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6584 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6585 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6586 $EGREP "$file_magic_regex" > /dev
/null
; then
6591 *** Warning: the command libtool uses to detect shared libraries,
6592 *** $file_magic_cmd, produces output that libtool cannot recognize.
6593 *** The result is that libtool may fail to recognize shared libraries
6594 *** as such. This will affect the creation of libtool libraries that
6595 *** depend on shared libraries, but programs linked with such libtool
6596 *** libraries will work regardless of this problem. Nevertheless, you
6597 *** may want to report the problem to your system manager and/or to
6598 *** bug-libtool@gnu.org
6608 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6613 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6614 if test -n "$MAGIC_CMD"; then
6615 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6616 echo "${ECHO_T}$MAGIC_CMD" >&6
6618 echo "$as_me:$LINENO: result: no" >&5
6619 echo "${ECHO_T}no" >&6
6632 enable_win32_dll
=yes
6634 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6635 if test "${enable_libtool_lock+set}" = set; then
6636 enableval
="$enable_libtool_lock"
6639 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6642 # Check whether --with-pic or --without-pic was given.
6643 if test "${with_pic+set}" = set; then
6649 test -z "$pic_mode" && pic_mode
=default
6651 # Use C for the default configuration in the libtool script
6655 ac_cpp
='$CPP $CPPFLAGS'
6656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6661 # Source file extension for C test sources.
6664 # Object file extension for compiled C test sources.
6668 # Code to be used in simple compile tests
6669 lt_simple_compile_test_code
="int some_variable = 0;\n"
6671 # Code to be used in simple link tests
6672 lt_simple_link_test_code
='int main(){return(0);}\n'
6675 # If no C compiler was specified, use CC.
6678 # Allow CC to be a program name with arguments.
6683 # Check for any special shared library compilation flags.
6686 if test "$GCC" = no
; then
6689 lt_prog_cc_shlib
='-belf'
6693 if test -n "$lt_prog_cc_shlib"; then
6694 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6695 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6696 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6698 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6699 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6700 lt_cv_prog_cc_can_build_shared
=no
6706 # Check to make sure the static flag actually works.
6708 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6709 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6710 if test "${lt_prog_compiler_static_works+set}" = set; then
6711 echo $ECHO_N "(cached) $ECHO_C" >&6
6713 lt_prog_compiler_static_works
=no
6714 save_LDFLAGS
="$LDFLAGS"
6715 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6716 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6717 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6718 # The compiler can only warn and ignore the option if not recognized
6719 # So say no if there are warnings
6720 if test -s conftest.err
; then
6721 # Append any errors to the config.log.
6722 cat conftest.err
1>&5
6724 lt_prog_compiler_static_works
=yes
6728 LDFLAGS
="$save_LDFLAGS"
6731 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6732 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6734 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6737 lt_prog_compiler_static
=
6743 ## There is no encapsulation within the following macros, do not change
6744 ## the running order or otherwise move them around unless you know exactly
6745 ## what you are doing...
6747 lt_prog_compiler_no_builtin_flag
=
6749 if test "$GCC" = yes; then
6750 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6752 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6753 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6754 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 lt_cv_prog_compiler_rtti_exceptions
=no
6758 ac_outfile
=conftest.
$ac_objext
6759 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6760 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6761 # Insert the option either (1) after the last *FLAGS variable, or
6762 # (2) before a word containing "conftest.", or (3) at the end.
6763 # Note that $ac_compile itself does not contain backslashes and begins
6764 # with a dollar sign (not a hyphen), so the echo should work correctly.
6765 # The option is referenced via a variable to avoid confusing sed.
6766 lt_compile
=`echo "$ac_compile" | $SED \
6767 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6768 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6769 -e 's:$: $lt_compiler_flag:'`
6770 (eval echo "\"\$as_me:6770: $lt_compile\"" >&5)
6771 (eval "$lt_compile" 2>conftest.err
)
6773 cat conftest.err
>&5
6774 echo "$as_me:6774: \$? = $ac_status" >&5
6775 if (exit $ac_status) && test -s "$ac_outfile"; then
6776 # The compiler can only warn and ignore the option if not recognized
6777 # So say no if there are warnings
6778 if test ! -s conftest.err
; then
6779 lt_cv_prog_compiler_rtti_exceptions
=yes
6785 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6786 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6788 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6789 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6796 lt_prog_compiler_wl
=
6797 lt_prog_compiler_pic
=
6798 lt_prog_compiler_static
=
6800 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6801 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6803 if test "$GCC" = yes; then
6804 lt_prog_compiler_wl
='-Wl,'
6805 lt_prog_compiler_static
='-static'
6809 # All AIX code is PIC.
6810 if test "$host_cpu" = ia64
; then
6811 # AIX 5 now supports IA64 processor
6812 lt_prog_compiler_static
='-Bstatic'
6817 # FIXME: we need at least 68020 code to build shared libraries, but
6818 # adding the `-m68020' flag to GCC prevents building anything better,
6820 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6823 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6824 # PIC is the default for these OSes.
6827 mingw
* | pw32
* | os2
*)
6828 # This hack is so that the source file can tell whether it is being
6829 # built for inclusion in a dll (and should export symbols for example).
6830 lt_prog_compiler_pic
='-DDLL_EXPORT'
6833 darwin
* | rhapsody
*)
6834 # PIC is the default on this platform
6835 # Common symbols not allowed in MH_DYLIB files
6836 lt_prog_compiler_pic
='-fno-common'
6840 # Just because we use GCC doesn't mean we suddenly get shared libraries
6841 # on systems that don't support them.
6842 lt_prog_compiler_can_build_shared
=no
6847 if test -d /usr
/nec
; then
6848 lt_prog_compiler_pic
=-Kconform_pic
6853 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6860 lt_prog_compiler_pic
='-fPIC'
6866 lt_prog_compiler_pic
='-fPIC'
6870 # PORTME Check for flag to pass linker flags through the system compiler.
6873 lt_prog_compiler_wl
='-Wl,'
6874 if test "$host_cpu" = ia64
; then
6875 # AIX 5 now supports IA64 processor
6876 lt_prog_compiler_static
='-Bstatic'
6878 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6882 mingw
* | pw32
* | os2
*)
6883 # This hack is so that the source file can tell whether it is being
6884 # built for inclusion in a dll (and should export symbols for example).
6885 lt_prog_compiler_pic
='-DDLL_EXPORT'
6888 hpux9
* | hpux10
* | hpux11
*)
6889 lt_prog_compiler_wl
='-Wl,'
6890 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6897 lt_prog_compiler_pic
='+Z'
6900 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6901 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6904 irix5
* | irix6
* | nonstopux
*)
6905 lt_prog_compiler_wl
='-Wl,'
6906 # PIC (with -KPIC) is the default.
6907 lt_prog_compiler_static
='-non_shared'
6911 lt_prog_compiler_pic
='-KPIC'
6912 lt_prog_compiler_static
='-Bstatic'
6918 lt_prog_compiler_wl
='-Wl,'
6919 lt_prog_compiler_pic
='-KPIC'
6920 lt_prog_compiler_static
='-static'
6923 lt_prog_compiler_wl
='-Wl,'
6924 # All Alpha code is PIC.
6925 lt_prog_compiler_static
='-non_shared'
6930 osf3
* | osf4
* | osf5
*)
6931 lt_prog_compiler_wl
='-Wl,'
6932 # All OSF/1 code is PIC.
6933 lt_prog_compiler_static
='-non_shared'
6937 lt_prog_compiler_pic
='-Kpic'
6938 lt_prog_compiler_static
='-dn'
6942 lt_prog_compiler_wl
='-Wl,'
6943 lt_prog_compiler_pic
='-KPIC'
6944 lt_prog_compiler_static
='-Bstatic'
6948 lt_prog_compiler_wl
='-Qoption ld '
6949 lt_prog_compiler_pic
='-PIC'
6950 lt_prog_compiler_static
='-Bstatic'
6953 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6954 lt_prog_compiler_wl
='-Wl,'
6955 lt_prog_compiler_pic
='-KPIC'
6956 lt_prog_compiler_static
='-Bstatic'
6960 if test -d /usr
/nec
;then
6961 lt_prog_compiler_pic
='-Kconform_pic'
6962 lt_prog_compiler_static
='-Bstatic'
6967 lt_prog_compiler_pic
='-pic'
6968 lt_prog_compiler_static
='-Bstatic'
6972 lt_prog_compiler_can_build_shared
=no
6977 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6978 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6981 # Check to make sure the PIC flag actually works.
6983 if test -n "$lt_prog_compiler_pic"; then
6984 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6985 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6986 if test "${lt_prog_compiler_pic_works+set}" = set; then
6987 echo $ECHO_N "(cached) $ECHO_C" >&6
6989 lt_prog_compiler_pic_works
=no
6990 ac_outfile
=conftest.
$ac_objext
6991 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6992 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6993 # Insert the option either (1) after the last *FLAGS variable, or
6994 # (2) before a word containing "conftest.", or (3) at the end.
6995 # Note that $ac_compile itself does not contain backslashes and begins
6996 # with a dollar sign (not a hyphen), so the echo should work correctly.
6997 # The option is referenced via a variable to avoid confusing sed.
6998 lt_compile
=`echo "$ac_compile" | $SED \
6999 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7000 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7001 -e 's:$: $lt_compiler_flag:'`
7002 (eval echo "\"\$as_me:7002: $lt_compile\"" >&5)
7003 (eval "$lt_compile" 2>conftest.err
)
7005 cat conftest.err
>&5
7006 echo "$as_me:7006: \$? = $ac_status" >&5
7007 if (exit $ac_status) && test -s "$ac_outfile"; then
7008 # The compiler can only warn and ignore the option if not recognized
7009 # So say no if there are warnings
7010 if test ! -s conftest.err
; then
7011 lt_prog_compiler_pic_works
=yes
7017 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7018 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7020 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7021 case $lt_prog_compiler_pic in
7023 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7026 lt_prog_compiler_pic
=
7027 lt_prog_compiler_can_build_shared
=no
7032 # For platforms which do not support PIC, -DPIC is meaningless:
7034 lt_prog_compiler_pic
=
7037 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7041 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7042 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7043 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7044 echo $ECHO_N "(cached) $ECHO_C" >&6
7046 lt_cv_prog_compiler_c_o
=no
7047 $rm -r conftest
2>/dev
/null
7051 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7053 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
7054 # that will create temporary files in the current directory regardless of
7055 # the output directory. Thus, making CWD read-only will cause this test
7056 # to fail, enabling locking or at least warning the user not to do parallel
7060 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7061 # Insert the option either (1) after the last *FLAGS variable, or
7062 # (2) before a word containing "conftest.", or (3) at the end.
7063 # Note that $ac_compile itself does not contain backslashes and begins
7064 # with a dollar sign (not a hyphen), so the echo should work correctly.
7065 lt_compile
=`echo "$ac_compile" | $SED \
7066 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7067 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7068 -e 's:$: $lt_compiler_flag:'`
7069 (eval echo "\"\$as_me:7069: $lt_compile\"" >&5)
7070 (eval "$lt_compile" 2>out
/conftest.err
)
7072 cat out
/conftest.err
>&5
7073 echo "$as_me:7073: \$? = $ac_status" >&5
7074 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7076 # The compiler can only warn and ignore the option if not recognized
7077 # So say no if there are warnings
7078 if test ! -s out
/conftest.err
; then
7079 lt_cv_prog_compiler_c_o
=yes
7090 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7091 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7094 hard_links
="nottested"
7095 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7096 # do not overwrite the value of need_locks provided by the user
7097 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7098 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7101 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7103 ln conftest.a conftest.b
2>&5 || hard_links
=no
7104 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7105 echo "$as_me:$LINENO: result: $hard_links" >&5
7106 echo "${ECHO_T}$hard_links" >&6
7107 if test "$hard_links" = no
; then
7108 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7109 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7116 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7117 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7120 allow_undefined_flag
=
7121 enable_shared_with_static_runtimes
=no
7123 archive_expsym_cmds
=
7124 old_archive_From_new_cmds
=
7125 old_archive_from_expsyms_cmds
=
7126 export_dynamic_flag_spec
=
7127 whole_archive_flag_spec
=
7128 thread_safe_flag_spec
=
7129 hardcode_libdir_flag_spec
=
7130 hardcode_libdir_flag_spec_ld
=
7131 hardcode_libdir_separator
=
7134 hardcode_shlibpath_var
=unsupported
7135 link_all_deplibs
=unknown
7136 hardcode_automatic
=no
7139 always_export_symbols
=no
7140 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7141 # include_expsyms should be a list of space-separated symbols to be *always*
7142 # included in the symbol list
7144 # exclude_expsyms can be an extended regexp of symbols to exclude
7145 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7146 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7147 # as well as any symbol that contains `d'.
7148 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7149 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7150 # platforms (ab)use it in PIC code, but their linkers get confused if
7151 # the symbol is explicitly referenced. Since portable code cannot
7152 # rely on this symbol name, it's probably fine to never include it in
7153 # preloaded symbol tables.
7154 extract_expsyms_cmds
=
7157 cygwin
* | mingw
* | pw32
*)
7158 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7159 # When not using gcc, we currently assume that we are using
7160 # Microsoft Visual C++.
7161 if test "$GCC" != yes; then
7171 if test "$with_gnu_ld" = yes; then
7172 # If archive_cmds runs LD, not CC, wlarc should be empty
7175 # See if GNU ld supports shared libraries.
7177 aix3
* | aix4
* | aix5
*)
7178 # On AIX/PPC, the GNU linker is very broken
7179 if test "$host_cpu" != ia64
; then
7183 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7184 *** to be unable to reliably create shared libraries on AIX.
7185 *** Therefore, libtool is disabling shared libraries support. If you
7186 *** really care for shared libraries, you may want to modify your PATH
7187 *** so that a non-GNU linker is found, and then restart.
7194 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)'
7195 hardcode_libdir_flag_spec
='-L$libdir'
7196 hardcode_minus_L
=yes
7198 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7199 # that the semantics of dynamic libraries on AmigaOS, at least up
7200 # to version 4, is to share data among multiple programs linked
7201 # with the same dynamic library. Since this doesn't match the
7202 # behavior of shared libraries on other platforms, we can't use
7208 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7209 allow_undefined_flag
=unsupported
7210 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7211 # support --undefined. This deserves some investigation. FIXME
7212 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7218 cygwin
* | mingw
* | pw32
*)
7219 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7220 # as there is no search path for DLLs.
7221 hardcode_libdir_flag_spec
='-L$libdir'
7222 allow_undefined_flag
=unsupported
7223 always_export_symbols
=no
7224 enable_shared_with_static_runtimes
=yes
7225 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7227 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7228 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7229 # If the export-symbols file already is a .def file (1st line
7230 # is EXPORTS), use it as is; otherwise, prepend...
7231 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7232 cp $export_symbols $output_objdir/$soname.def;
7234 echo EXPORTS > $output_objdir/$soname.def;
7235 cat $export_symbols >> $output_objdir/$soname.def;
7237 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7244 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7245 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7248 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7249 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7254 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7258 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7259 *** create shared libraries on Solaris systems. Therefore, libtool
7260 *** is disabling shared libraries support. We urge you to upgrade GNU
7261 *** binutils to release 2.9.1 or newer. Another option is to modify
7262 *** your PATH or compiler configuration so that the native linker is
7263 *** used, and then restart.
7266 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7267 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7268 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7275 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7278 hardcode_shlibpath_var
=no
7282 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7283 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7284 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7291 if test "$ld_shlibs" = yes; then
7292 runpath_var
=LD_RUN_PATH
7293 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7294 export_dynamic_flag_spec
='${wl}--export-dynamic'
7295 # ancient GNU ld didn't support --whole-archive et. al.
7296 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7297 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7299 whole_archive_flag_spec
=
7303 # PORTME fill in a description of your system's linker (not GNU ld)
7306 allow_undefined_flag
=unsupported
7307 always_export_symbols
=yes
7308 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'
7309 # Note: this linker hardcodes the directories in LIBPATH if there
7310 # are no directories specified by -L.
7311 hardcode_minus_L
=yes
7312 if test "$GCC" = yes && test -z "$link_static_flag"; then
7313 # Neither direct hardcoding nor static linking is supported with a
7315 hardcode_direct
=unsupported
7320 if test "$host_cpu" = ia64
; then
7321 # On IA64, the linker does run time linking by default, so we don't
7322 # have to do anything special.
7323 aix_use_runtimelinking
=no
7324 exp_sym_flag
='-Bexport'
7327 # If we're using GNU nm, then we don't want the "-C" option.
7328 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7329 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7330 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'
7332 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'
7334 aix_use_runtimelinking
=no
7336 # Test if we are trying to use run time linking or normal
7337 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7338 # need to do runtime linking.
7339 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7340 for ld_flag
in $LDFLAGS; do
7341 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7342 aix_use_runtimelinking
=yes
7348 exp_sym_flag
='-bexport'
7349 no_entry_flag
='-bnoentry'
7352 # When large executables or shared objects are built, AIX ld can
7353 # have problems creating the table of contents. If linking a library
7354 # or program results in "error TOC overflow" add -mminimal-toc to
7355 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7356 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7360 hardcode_libdir_separator
=':'
7361 link_all_deplibs
=yes
7363 if test "$GCC" = yes; then
7364 case $host_os in aix4.012|aix4.012.
*)
7365 # We only want to do this on AIX 4.2 and lower, the check
7366 # below for broken collect2 doesn't work under 4.3+
7367 collect2name
=`${CC} -print-prog-name=collect2`
7368 if test -f "$collect2name" && \
7369 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7371 # We have reworked collect2
7374 # We have old collect2
7375 hardcode_direct
=unsupported
7376 # It fails to find uninstalled libraries when the uninstalled
7377 # path is not listed in the libpath. Setting hardcode_minus_L
7378 # to unsupported forces relinking
7379 hardcode_minus_L
=yes
7380 hardcode_libdir_flag_spec
='-L$libdir'
7381 hardcode_libdir_separator
=
7384 shared_flag
='-shared'
7387 if test "$host_cpu" = ia64
; then
7388 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7389 # chokes on -Wl,-G. The following line is correct:
7392 if test "$aix_use_runtimelinking" = yes; then
7393 shared_flag
='${wl}-G'
7395 shared_flag
='${wl}-bM:SRE'
7400 # It seems that -bexpall does not export symbols beginning with
7401 # underscore (_), so it is better to generate a list of symbols to export.
7402 always_export_symbols
=yes
7403 if test "$aix_use_runtimelinking" = yes; then
7404 # Warning - without using the other runtime loading flags (-brtl),
7405 # -berok will link without error, but may produce a broken library.
7406 allow_undefined_flag
='-berok'
7407 # Determine the default libpath from the value encoded in an empty executable.
7408 cat >conftest.
$ac_ext <<_ACEOF
7411 cat confdefs.h
>>conftest.
$ac_ext
7412 cat >>conftest.
$ac_ext <<_ACEOF
7413 /* end confdefs.h. */
7423 rm -f conftest.
$ac_objext conftest
$ac_exeext
7424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7425 (eval $ac_link) 2>conftest.er1
7427 grep -v '^ *+' conftest.er1
>conftest.err
7429 cat conftest.err
>&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); } &&
7432 { ac_try
='test -z "$ac_c_werror_flag"
7433 || test ! -s conftest.err'
7434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); }; } &&
7439 { ac_try
='test -s conftest$ac_exeext'
7440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; }; then
7446 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7448 # Check for a 64-bit object if we didn't find anything.
7449 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; }
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.
$ac_ext >&5
7456 rm -f conftest.err conftest.
$ac_objext \
7457 conftest
$ac_exeext conftest.
$ac_ext
7458 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7460 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7461 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"
7463 if test "$host_cpu" = ia64; then
7464 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7465 allow_undefined_flag="-z nodefs"
7466 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"
7468 # Determine the default libpath from the value encoded in an empty executable.
7469 cat >conftest.$ac_ext <<_ACEOF
7472 cat confdefs.h >>conftest.$ac_ext
7473 cat >>conftest.$ac_ext <<_ACEOF
7474 /* end confdefs.h. */
7484 rm -f conftest.$ac_objext conftest$ac_exeext
7485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7486 (eval $ac_link) 2>conftest.er1
7488 grep -v '^ *+' conftest.er1 >conftest.err
7490 cat conftest.err >&5
7491 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7492 (exit $ac_status); } &&
7493 { ac_try='test -z "$ac_c_werror_flag"
7494 || test ! -s conftest.err'
7495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7499 (exit $ac_status); }; } &&
7500 { ac_try='test -s conftest$ac_exeext'
7501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7505 (exit $ac_status); }; }; then
7507 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7509 # Check for a 64-bit object if we didn't find anything.
7510 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; }
7513 echo "$as_me: failed program was
:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7517 rm -f conftest.err conftest.$ac_objext \
7518 conftest$ac_exeext conftest.$ac_ext
7519 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7521 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7522 # Warning - without using the other run time loading flags,
7523 # -berok will link without error, but may produce a broken library.
7524 no_undefined_flag=' ${wl}-bernotok'
7525 allow_undefined_flag=' ${wl}-berok'
7526 # -bexpall does not export symbols beginning with underscore (_)
7527 always_export_symbols=yes
7528 # Exported symbols can be pulled into shared objects from archives
7529 whole_archive_flag_spec=' '
7530 archive_cmds_need_lc=yes
7531 # This is similar to how AIX traditionally builds it's shared libraries.
7532 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'
7538 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)'
7539 hardcode_libdir_flag_spec
='-L$libdir'
7540 hardcode_minus_L
=yes
7541 # see comment about different semantics on the GNU ld section
7546 export_dynamic_flag_spec
=-rdynamic
7549 cygwin
* | mingw
* | pw32
*)
7550 # When not using gcc, we currently assume that we are using
7551 # Microsoft Visual C++.
7552 # hardcode_libdir_flag_spec is actually meaningless, as there is
7553 # no search path for DLLs.
7554 hardcode_libdir_flag_spec
=' '
7555 allow_undefined_flag
=unsupported
7556 # Tell ltmain to make .lib files, not .a files.
7558 # Tell ltmain to make .dll files, not .so files.
7560 # FIXME: Setting linknames here is a bad hack.
7561 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7562 # The linker will automatically build a .lib file if we build a DLL.
7563 old_archive_From_new_cmds
='true'
7564 # FIXME: Should let the user specify the lib program.
7565 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7566 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7567 enable_shared_with_static_runtimes
=yes
7570 darwin
* | rhapsody
*)
7571 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
7572 archive_cmds_need_lc
=no
7574 rhapsody
* | darwin1.
[012])
7575 allow_undefined_flag
='-undefined suppress'
7578 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag
='-flat_namespace -undefined suppress'
7581 # FIXME: Relying on posixy $() will cause problems for
7582 # cross-compilation, but unfortunately the echo tests do not
7583 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7584 # `"' quotes if we put them in here... so don't!
7585 lt_int_apple_cc_single_mod
=no
7586 output_verbose_link_cmd
='echo'
7587 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
7588 lt_int_apple_cc_single_mod
=yes
7590 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7591 archive_cmds
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7593 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'
7595 module_cmds
='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7596 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7597 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7598 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}'
7600 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}'
7602 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}'
7604 hardcode_automatic
=yes
7605 hardcode_shlibpath_var
=unsupported
7606 whole_archive_flag_spec
='-all_load $convenience'
7607 link_all_deplibs
=yes
7612 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7613 hardcode_libdir_flag_spec
='-L$libdir'
7614 hardcode_shlibpath_var
=no
7621 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7622 # support. Future versions do this automatically, but an explicit c++rt0.o
7623 # does not break anything, and helps significantly (at the cost of a little
7626 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7627 hardcode_libdir_flag_spec
='-R$libdir'
7629 hardcode_shlibpath_var
=no
7632 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7634 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7636 hardcode_minus_L
=yes
7637 hardcode_shlibpath_var
=no
7640 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7642 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7643 hardcode_libdir_flag_spec
='-R$libdir'
7645 hardcode_shlibpath_var
=no
7649 if test "$GCC" = yes; then
7650 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'
7652 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'
7654 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7655 hardcode_libdir_separator
=:
7658 # hardcode_minus_L: Not really in the search PATH,
7659 # but as the default location of the library.
7660 hardcode_minus_L
=yes
7661 export_dynamic_flag_spec
='${wl}-E'
7665 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7668 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7671 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7677 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7680 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7684 if test "$with_gnu_ld" = no
; then
7687 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7688 hardcode_libdir_flag_spec_ld
='+b $libdir'
7689 hardcode_libdir_separator
=:
7691 hardcode_shlibpath_var
=no
7694 hardcode_libdir_flag_spec
='-L$libdir'
7696 hardcode_shlibpath_var
=no
7698 # hardcode_minus_L: Not really in the search PATH,
7699 # but as the default location of the library.
7700 hardcode_minus_L
=yes
7703 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7704 hardcode_libdir_separator
=:
7706 export_dynamic_flag_spec
='${wl}-E'
7708 # hardcode_minus_L: Not really in the search PATH,
7709 # but as the default location of the library.
7710 hardcode_minus_L
=yes
7716 irix5
* | irix6
* | nonstopux
*)
7717 if test "$GCC" = yes; then
7718 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'
7720 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'
7721 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7723 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7724 hardcode_libdir_separator
=:
7725 link_all_deplibs
=yes
7729 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7730 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7732 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7734 hardcode_libdir_flag_spec
='-R$libdir'
7736 hardcode_shlibpath_var
=no
7740 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7742 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7743 hardcode_libdir_separator
=:
7744 hardcode_shlibpath_var
=no
7749 hardcode_shlibpath_var
=no
7750 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7751 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7752 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7753 export_dynamic_flag_spec
='${wl}-E'
7756 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7757 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7758 hardcode_libdir_flag_spec
='-R$libdir'
7761 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7762 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7769 hardcode_libdir_flag_spec
='-L$libdir'
7770 hardcode_minus_L
=yes
7771 allow_undefined_flag
=unsupported
7772 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'
7773 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7777 if test "$GCC" = yes; then
7778 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7779 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'
7781 allow_undefined_flag
=' -expect_unresolved \*'
7782 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'
7784 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7785 hardcode_libdir_separator
=:
7788 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7789 if test "$GCC" = yes; then
7790 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7791 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'
7792 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7794 allow_undefined_flag
=' -expect_unresolved \*'
7795 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'
7796 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7797 $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'
7799 # Both c and cxx compiler support -rpath directly
7800 hardcode_libdir_flag_spec
='-rpath $libdir'
7802 hardcode_libdir_separator
=:
7806 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7807 hardcode_shlibpath_var
=no
7808 export_dynamic_flag_spec
='${wl}-Bexport'
7809 runpath_var
=LD_RUN_PATH
7810 hardcode_runpath_var
=yes
7814 no_undefined_flag
=' -z text'
7815 if test "$GCC" = yes; then
7816 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7817 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7818 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7820 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7821 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7822 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7824 hardcode_libdir_flag_spec
='-R$libdir'
7825 hardcode_shlibpath_var
=no
7827 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7828 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7829 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7831 link_all_deplibs
=yes
7835 if test "x$host_vendor" = xsequent
; then
7836 # Use $CC to link under sequent, because it throws in some extra .o
7837 # files that make .init and .fini sections work.
7838 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7840 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7842 hardcode_libdir_flag_spec
='-L$libdir'
7844 hardcode_minus_L
=yes
7845 hardcode_shlibpath_var
=no
7849 case $host_vendor in
7851 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7852 hardcode_direct
=yes # is this really true???
7855 ## LD is ld it makes a PLAMLIB
7856 ## CC just makes a GrossModule.
7857 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7858 reload_cmds
='$CC -r -o $output$reload_objs'
7862 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7863 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7866 runpath_var
='LD_RUN_PATH'
7867 hardcode_shlibpath_var
=no
7871 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7872 hardcode_shlibpath_var
=no
7873 export_dynamic_flag_spec
='-Bexport'
7877 if test -d /usr
/nec
; then
7878 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7879 hardcode_shlibpath_var
=no
7880 runpath_var
=LD_RUN_PATH
7881 hardcode_runpath_var
=yes
7887 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7890 hardcode_shlibpath_var
=no
7891 hardcode_runpath_var
=yes
7892 runpath_var
=LD_RUN_PATH
7895 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7896 no_undefined_flag
='${wl}-z ${wl}text'
7897 if test "$GCC" = yes; then
7898 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7900 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7902 runpath_var
='LD_RUN_PATH'
7903 hardcode_shlibpath_var
=no
7907 no_undefined_flag
=' -z text'
7908 # $CC -shared without GNU ld will not create a library from C++
7909 # object files and a static libstdc++, better avoid it by now
7910 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7911 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7912 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7913 hardcode_libdir_flag_spec
=
7914 hardcode_shlibpath_var
=no
7915 runpath_var
='LD_RUN_PATH'
7919 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7920 hardcode_libdir_flag_spec
='-L$libdir'
7921 hardcode_shlibpath_var
=no
7930 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7931 echo "${ECHO_T}$ld_shlibs" >&6
7932 test "$ld_shlibs" = no
&& can_build_shared
=no
7934 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7935 if test "$GCC" = yes; then
7936 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7940 # Do we need to explicitly link libc?
7942 case "x$archive_cmds_need_lc" in
7944 # Assume -lc should be added
7945 archive_cmds_need_lc
=yes
7947 if test "$enable_shared" = yes && test "$GCC" = yes; then
7948 case $archive_cmds in
7950 # FIXME: we may have to deal with multi-command sequences.
7953 # Test whether the compiler implicitly links with -lc since on some
7954 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7955 # to ld, don't add -lc before -lgcc.
7956 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7957 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7959 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7962 (eval $ac_compile) 2>&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); } 2>conftest.err
; then
7968 libobjs
=conftest.
$ac_objext
7970 wl
=$lt_prog_compiler_wl
7976 lt_save_allow_undefined_flag
=$allow_undefined_flag
7977 allow_undefined_flag
=
7978 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7979 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7982 (exit $ac_status); }
7984 archive_cmds_need_lc
=no
7986 archive_cmds_need_lc
=yes
7988 allow_undefined_flag
=$lt_save_allow_undefined_flag
7990 cat conftest.err
1>&5
7993 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7994 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8001 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8002 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8004 if test -n "$hardcode_libdir_flag_spec" || \
8005 test -n "$runpath_var " || \
8006 test "X$hardcode_automatic"="Xyes" ; then
8008 # We can hardcode non-existant directories.
8009 if test "$hardcode_direct" != no
&&
8010 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8011 # have to relink, otherwise we might link with an installed library
8012 # when we should be linking with a yet-to-be-installed one
8013 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8014 test "$hardcode_minus_L" != no
; then
8015 # Linking always hardcodes the temporary library directory.
8016 hardcode_action
=relink
8018 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8019 hardcode_action
=immediate
8022 # We cannot hardcode anything, or else we can only hardcode existing
8024 hardcode_action
=unsupported
8026 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8027 echo "${ECHO_T}$hardcode_action" >&6
8029 if test "$hardcode_action" = relink
; then
8030 # Fast installation is not supported
8031 enable_fast_install
=no
8032 elif test "$shlibpath_overrides_runpath" = yes ||
8033 test "$enable_shared" = no
; then
8034 # Fast installation is not necessary
8035 enable_fast_install
=needless
8040 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8041 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8042 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8043 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8044 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8045 echo "$as_me:$LINENO: result: yes" >&5
8046 echo "${ECHO_T}yes" >&6
8048 # FIXME - insert some real tests, host_os isn't really good enough
8051 if test -n "$STRIP" ; then
8052 striplib
="$STRIP -x"
8053 echo "$as_me:$LINENO: result: yes" >&5
8054 echo "${ECHO_T}yes" >&6
8056 echo "$as_me:$LINENO: result: no" >&5
8057 echo "${ECHO_T}no" >&6
8061 echo "$as_me:$LINENO: result: no" >&5
8062 echo "${ECHO_T}no" >&6
8067 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8068 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8070 libname_spec
='lib$name'
8078 shlibpath_overrides_runpath
=unknown
8080 dynamic_linker
="$host_os ld.so"
8081 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8082 if test "$GCC" = yes; then
8083 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8084 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8085 # if the path contains ";" then we assume it to be the separator
8086 # otherwise default to the standard path separator (i.e. ":") - it is
8087 # assumed that no part of a normal pathname contains ";" but that should
8088 # okay in the real world where ";" in dirpaths is itself problematic.
8089 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8091 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8094 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8096 need_lib_prefix
=unknown
8097 hardcode_into_libs
=no
8099 # when you set need_version to no, make sure it does not cause -set_version
8100 # flags to be left without arguments
8101 need_version
=unknown
8106 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8107 shlibpath_var
=LIBPATH
8109 # AIX 3 has no versioning support, so we append a major version to the name.
8110 soname_spec
='${libname}${release}${shared_ext}$major'
8117 hardcode_into_libs
=yes
8118 if test "$host_cpu" = ia64
; then
8119 # AIX 5 supports IA64
8120 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8121 shlibpath_var
=LD_LIBRARY_PATH
8123 # With GCC up to 2.95.x, collect2 would create an import file
8124 # for dependence libraries. The import file would start with
8125 # the line `#! .'. This would cause the generated library to
8126 # depend on `.', always an invalid library. This was fixed in
8127 # development snapshots of GCC prior to 3.0.
8129 aix4 | aix4.
[01] | aix4.
[01].
*)
8130 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8132 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8139 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8140 # soname into executable. Probably we can add versioning support to
8141 # collect2, so additional links can be useful in future.
8142 if test "$aix_use_runtimelinking" = yes; then
8143 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8144 # instead of lib<name>.a to let people know that these are not
8145 # typical AIX shared libraries.
8146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8148 # We preserve .a as extension for shared libraries through AIX4.2
8149 # and later when we are not doing run time linking.
8150 library_names_spec
='${libname}${release}.a $libname.a'
8151 soname_spec
='${libname}${release}${shared_ext}$major'
8153 shlibpath_var
=LIBPATH
8158 library_names_spec
='$libname.ixlibrary $libname.a'
8159 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8160 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'
8164 library_names_spec
='${libname}${shared_ext}'
8165 dynamic_linker
="$host_os ld.so"
8166 shlibpath_var
=LIBRARY_PATH
8172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8173 soname_spec
='${libname}${release}${shared_ext}$major'
8174 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8175 shlibpath_var
=LD_LIBRARY_PATH
8176 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8177 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8178 # the default ld.so.conf also contains /usr/contrib/lib and
8179 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8180 # libtool to hard-code these into programs
8183 cygwin
* | mingw
* | pw32
*)
8184 version_type
=windows
8189 case $GCC,$host_os in
8190 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8191 library_names_spec
='$libname.dll.a'
8192 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8193 postinstall_cmds
='base_file=`basename \${file}`~
8194 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8195 dldir=$destdir/`dirname \$dlpath`~
8196 test -d \$dldir || mkdir -p \$dldir~
8197 $install_prog $dir/$dlname \$dldir/$dlname'
8198 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8199 dlpath=$dir/\$dldll~
8201 shlibpath_overrides_runpath
=yes
8205 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8206 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8207 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
8210 # MinGW DLLs use traditional 'lib' prefix
8211 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8212 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8213 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8214 # It is most probably a Windows format PATH printed by
8215 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8216 # path with ; separators, and with drive letters. We can handle the
8217 # drive letters (cygwin fileutils understands them), so leave them,
8218 # especially as we might pass files found there to a mingw objdump,
8219 # which wouldn't understand a cygwinified path. Ahh.
8220 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8222 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8226 # pw32 DLLs use 'pw' prefix rather than 'lib'
8227 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
8233 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8236 dynamic_linker
='Win32 ld.exe'
8237 # FIXME: first we should search . and the directory the executable is in
8241 darwin
* | rhapsody
*)
8242 dynamic_linker
="$host_os dyld"
8246 # FIXME: Relying on posixy $() will cause problems for
8247 # cross-compilation, but unfortunately the echo tests do not
8248 # yet detect zsh echo's removal of \ escapes.
8249 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8250 soname_spec
='${libname}${release}${major}$shared_ext'
8251 shlibpath_overrides_runpath
=yes
8252 shlibpath_var
=DYLD_LIBRARY_PATH
8253 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
8254 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8255 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
8256 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"`
8258 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8266 soname_spec
='${libname}${release}${shared_ext}$major'
8267 shlibpath_var
=LD_LIBRARY_PATH
8275 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8276 version_type
=freebsd-
$objformat
8277 case $version_type in
8279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8284 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8288 shlibpath_var
=LD_LIBRARY_PATH
8291 shlibpath_overrides_runpath
=yes
8293 freebsd3.01
* | freebsdelf3.01
*)
8294 shlibpath_overrides_runpath
=yes
8295 hardcode_into_libs
=yes
8298 shlibpath_overrides_runpath
=no
8299 hardcode_into_libs
=yes
8308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8309 soname_spec
='${libname}${release}${shared_ext}$major'
8310 shlibpath_var
=LD_LIBRARY_PATH
8311 hardcode_into_libs
=yes
8314 hpux9
* | hpux10
* | hpux11
*)
8315 # Give a soname corresponding to the major version so that dld.sl refuses to
8316 # link against other versions.
8323 hardcode_into_libs
=yes
8324 dynamic_linker
="$host_os dld.so"
8325 shlibpath_var
=LD_LIBRARY_PATH
8326 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8328 soname_spec
='${libname}${release}${shared_ext}$major'
8329 if test "X$HPUX_IA64_MODE" = X32
; then
8330 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8332 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8334 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8338 hardcode_into_libs
=yes
8339 dynamic_linker
="$host_os dld.sl"
8340 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8341 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8343 soname_spec
='${libname}${release}${shared_ext}$major'
8344 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8345 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8349 dynamic_linker
="$host_os dld.sl"
8350 shlibpath_var
=SHLIB_PATH
8351 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8353 soname_spec
='${libname}${release}${shared_ext}$major'
8356 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8357 postinstall_cmds
='chmod 555 $lib'
8360 irix5
* | irix6
* | nonstopux
*)
8362 nonstopux
*) version_type
=nonstopux
;;
8364 if test "$lt_cv_prog_gnu_ld" = yes; then
8372 soname_spec
='${libname}${release}${shared_ext}$major'
8373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8375 irix5
* | nonstopux
*)
8379 case $LD in # libtool.m4 will add one of these switches to LD
8380 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8381 libsuff
= shlibsuff
= libmagic
=32-bit;;
8382 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8383 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8384 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8385 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8386 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8390 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8391 shlibpath_overrides_runpath
=no
8392 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8393 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8394 hardcode_into_libs
=yes
8397 # No shared lib support for Linux oldld, aout, or coff.
8398 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8402 # This must be Linux ELF.
8407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8408 soname_spec
='${libname}${release}${shared_ext}$major'
8409 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8410 shlibpath_var
=LD_LIBRARY_PATH
8411 shlibpath_overrides_runpath
=no
8412 # This implies no fast_install, which is unacceptable.
8413 # Some rework will be needed to allow for fast_install
8414 # before this can be enabled.
8415 hardcode_into_libs
=yes
8417 # We used to test for /lib/ld.so.1 and disable shared libraries on
8418 # powerpc, because MkLinux only supported shared libraries with the
8419 # GNU dynamic linker. Since this was broken with cross compilers,
8420 # most powerpc-linux boxes support dynamic linking these days and
8421 # people can always --disable-shared, the test was removed, and we
8422 # assume the GNU/Linux dynamic linker is in use.
8423 dynamic_linker
='GNU/Linux ld.so'
8430 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8432 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8433 dynamic_linker
='NetBSD (a.out) ld.so'
8435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
8436 soname_spec
='${libname}${release}${shared_ext}$major'
8437 dynamic_linker
='NetBSD ld.elf_so'
8439 shlibpath_var
=LD_LIBRARY_PATH
8440 shlibpath_overrides_runpath
=yes
8441 hardcode_into_libs
=yes
8446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8447 shlibpath_var
=LD_LIBRARY_PATH
8448 shlibpath_overrides_runpath
=yes
8455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8456 soname_spec
='${libname}${release}${shared_ext}$major'
8457 shlibpath_var
=LD_LIBRARY_PATH
8458 shlibpath_overrides_runpath
=yes
8465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8466 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8467 shlibpath_var
=LD_LIBRARY_PATH
8468 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8470 openbsd2.
[89] | openbsd2.
[89].
*)
8471 shlibpath_overrides_runpath
=no
8474 shlibpath_overrides_runpath
=yes
8478 shlibpath_overrides_runpath
=yes
8483 libname_spec
='$name'
8486 library_names_spec
='$libname${shared_ext} $libname.a'
8487 dynamic_linker
='OS/2 ld.exe'
8488 shlibpath_var
=LIBPATH
8491 osf3
* | osf4
* | osf5
*)
8495 soname_spec
='${libname}${release}${shared_ext}$major'
8496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8497 shlibpath_var
=LD_LIBRARY_PATH
8498 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8499 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8504 soname_spec
='${libname}${release}${shared_ext}$major'
8505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8506 shlibpath_var
=LD_LIBRARY_PATH
8513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8514 soname_spec
='${libname}${release}${shared_ext}$major'
8515 shlibpath_var
=LD_LIBRARY_PATH
8516 shlibpath_overrides_runpath
=yes
8517 hardcode_into_libs
=yes
8518 # ldd complains unless libraries are executable
8519 postinstall_cmds
='chmod +x $lib'
8524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8525 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8526 shlibpath_var
=LD_LIBRARY_PATH
8527 shlibpath_overrides_runpath
=yes
8528 if test "$with_gnu_ld" = yes; then
8534 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8537 soname_spec
='${libname}${release}${shared_ext}$major'
8538 shlibpath_var
=LD_LIBRARY_PATH
8539 case $host_vendor in
8541 shlibpath_overrides_runpath
=no
8543 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8544 runpath_var
=LD_RUN_PATH
8552 shlibpath_overrides_runpath
=no
8553 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8559 if test -d /usr
/nec
;then
8561 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8562 soname_spec
='$libname${shared_ext}.$major'
8563 shlibpath_var
=LD_LIBRARY_PATH
8569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8570 soname_spec
='${libname}${release}${shared_ext}$major'
8571 shlibpath_var
=LD_LIBRARY_PATH
8578 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8579 echo "${ECHO_T}$dynamic_linker" >&6
8580 test "$dynamic_linker" = no
&& can_build_shared
=no
8582 if test "x$enable_dlopen" != xyes
; then
8583 enable_dlopen
=unknown
8584 enable_dlopen_self
=unknown
8585 enable_dlopen_self_static
=unknown
8592 lt_cv_dlopen
="load_add_on"
8594 lt_cv_dlopen_self
=yes
8598 lt_cv_dlopen
="LoadLibrary"
8603 lt_cv_dlopen
="dlopen"
8608 # if libdl is installed we need to link against it
8609 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8610 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8611 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8612 echo $ECHO_N "(cached) $ECHO_C" >&6
8614 ac_check_lib_save_LIBS
=$LIBS
8616 cat >conftest.
$ac_ext <<_ACEOF
8619 cat confdefs.h
>>conftest.
$ac_ext
8620 cat >>conftest.
$ac_ext <<_ACEOF
8621 /* end confdefs.h. */
8623 /* Override any gcc2 internal prototype to avoid an error. */
8627 /* We use char because int might match the return type of a gcc2
8628 builtin and then its argument prototype would still apply. */
8638 rm -f conftest.
$ac_objext conftest
$ac_exeext
8639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8640 (eval $ac_link) 2>conftest.er1
8642 grep -v '^ *+' conftest.er1
>conftest.err
8644 cat conftest.err
>&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); } &&
8647 { ac_try
='test -z "$ac_c_werror_flag"
8648 || test ! -s conftest.err'
8649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); }; } &&
8654 { ac_try
='test -s conftest$ac_exeext'
8655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }; }; then
8660 ac_cv_lib_dl_dlopen
=yes
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.
$ac_ext >&5
8665 ac_cv_lib_dl_dlopen
=no
8667 rm -f conftest.err conftest.
$ac_objext \
8668 conftest
$ac_exeext conftest.
$ac_ext
8669 LIBS
=$ac_check_lib_save_LIBS
8671 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8672 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8673 if test $ac_cv_lib_dl_dlopen = yes; then
8674 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8679 lt_cv_dlopen_self
=yes
8686 echo "$as_me:$LINENO: checking for shl_load" >&5
8687 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8688 if test "${ac_cv_func_shl_load+set}" = set; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 cat >conftest.
$ac_ext <<_ACEOF
8694 cat confdefs.h
>>conftest.
$ac_ext
8695 cat >>conftest.
$ac_ext <<_ACEOF
8696 /* end confdefs.h. */
8697 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8699 #define shl_load innocuous_shl_load
8701 /* System header to define __stub macros and hopefully few prototypes,
8702 which can conflict with char shl_load (); below.
8703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8704 <limits.h> exists even on freestanding compilers. */
8707 # include <limits.h>
8709 # include <assert.h>
8714 /* Override any gcc2 internal prototype to avoid an error. */
8719 /* We use char because int might match the return type of a gcc2
8720 builtin and then its argument prototype would still apply. */
8722 /* The GNU C library defines this for functions which it implements
8723 to always fail with ENOSYS. Some functions are actually named
8724 something starting with __ and the normal name is an alias. */
8725 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8728 char (*f) () = shl_load;
8737 return f != shl_load;
8742 rm -f conftest.
$ac_objext conftest
$ac_exeext
8743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8744 (eval $ac_link) 2>conftest.er1
8746 grep -v '^ *+' conftest.er1
>conftest.err
8748 cat conftest.err
>&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 (exit $ac_status); } &&
8751 { ac_try
='test -z "$ac_c_werror_flag"
8752 || test ! -s conftest.err'
8753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 (exit $ac_status); }; } &&
8758 { ac_try
='test -s conftest$ac_exeext'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; }; then
8764 ac_cv_func_shl_load
=yes
8766 echo "$as_me: failed program was:" >&5
8767 sed 's/^/| /' conftest.
$ac_ext >&5
8769 ac_cv_func_shl_load
=no
8771 rm -f conftest.err conftest.
$ac_objext \
8772 conftest
$ac_exeext conftest.
$ac_ext
8774 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8775 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8776 if test $ac_cv_func_shl_load = yes; then
8777 lt_cv_dlopen
="shl_load"
8779 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8780 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8781 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8782 echo $ECHO_N "(cached) $ECHO_C" >&6
8784 ac_check_lib_save_LIBS
=$LIBS
8786 cat >conftest.
$ac_ext <<_ACEOF
8789 cat confdefs.h
>>conftest.
$ac_ext
8790 cat >>conftest.
$ac_ext <<_ACEOF
8791 /* end confdefs.h. */
8793 /* Override any gcc2 internal prototype to avoid an error. */
8797 /* We use char because int might match the return type of a gcc2
8798 builtin and then its argument prototype would still apply. */
8808 rm -f conftest.
$ac_objext conftest
$ac_exeext
8809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8810 (eval $ac_link) 2>conftest.er1
8812 grep -v '^ *+' conftest.er1
>conftest.err
8814 cat conftest.err
>&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); } &&
8817 { ac_try
='test -z "$ac_c_werror_flag"
8818 || test ! -s conftest.err'
8819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); }; } &&
8824 { ac_try
='test -s conftest$ac_exeext'
8825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); }; }; then
8830 ac_cv_lib_dld_shl_load
=yes
8832 echo "$as_me: failed program was:" >&5
8833 sed 's/^/| /' conftest.
$ac_ext >&5
8835 ac_cv_lib_dld_shl_load
=no
8837 rm -f conftest.err conftest.
$ac_objext \
8838 conftest
$ac_exeext conftest.
$ac_ext
8839 LIBS
=$ac_check_lib_save_LIBS
8841 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8842 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8843 if test $ac_cv_lib_dld_shl_load = yes; then
8844 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8846 echo "$as_me:$LINENO: checking for dlopen" >&5
8847 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8848 if test "${ac_cv_func_dlopen+set}" = set; then
8849 echo $ECHO_N "(cached) $ECHO_C" >&6
8851 cat >conftest.
$ac_ext <<_ACEOF
8854 cat confdefs.h
>>conftest.
$ac_ext
8855 cat >>conftest.
$ac_ext <<_ACEOF
8856 /* end confdefs.h. */
8857 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8859 #define dlopen innocuous_dlopen
8861 /* System header to define __stub macros and hopefully few prototypes,
8862 which can conflict with char dlopen (); below.
8863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8864 <limits.h> exists even on freestanding compilers. */
8867 # include <limits.h>
8869 # include <assert.h>
8874 /* Override any gcc2 internal prototype to avoid an error. */
8879 /* We use char because int might match the return type of a gcc2
8880 builtin and then its argument prototype would still apply. */
8882 /* The GNU C library defines this for functions which it implements
8883 to always fail with ENOSYS. Some functions are actually named
8884 something starting with __ and the normal name is an alias. */
8885 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8888 char (*f) () = dlopen;
8902 rm -f conftest.
$ac_objext conftest
$ac_exeext
8903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8904 (eval $ac_link) 2>conftest.er1
8906 grep -v '^ *+' conftest.er1
>conftest.err
8908 cat conftest.err
>&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); } &&
8911 { ac_try
='test -z "$ac_c_werror_flag"
8912 || test ! -s conftest.err'
8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); }; } &&
8918 { ac_try
='test -s conftest$ac_exeext'
8919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; }; then
8924 ac_cv_func_dlopen
=yes
8926 echo "$as_me: failed program was:" >&5
8927 sed 's/^/| /' conftest.
$ac_ext >&5
8929 ac_cv_func_dlopen
=no
8931 rm -f conftest.err conftest.
$ac_objext \
8932 conftest
$ac_exeext conftest.
$ac_ext
8934 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8935 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8936 if test $ac_cv_func_dlopen = yes; then
8937 lt_cv_dlopen
="dlopen"
8939 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8940 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8941 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8942 echo $ECHO_N "(cached) $ECHO_C" >&6
8944 ac_check_lib_save_LIBS
=$LIBS
8946 cat >conftest.
$ac_ext <<_ACEOF
8949 cat confdefs.h
>>conftest.
$ac_ext
8950 cat >>conftest.
$ac_ext <<_ACEOF
8951 /* end confdefs.h. */
8953 /* Override any gcc2 internal prototype to avoid an error. */
8957 /* We use char because int might match the return type of a gcc2
8958 builtin and then its argument prototype would still apply. */
8968 rm -f conftest.
$ac_objext conftest
$ac_exeext
8969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8970 (eval $ac_link) 2>conftest.er1
8972 grep -v '^ *+' conftest.er1
>conftest.err
8974 cat conftest.err
>&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); } &&
8977 { ac_try
='test -z "$ac_c_werror_flag"
8978 || test ! -s conftest.err'
8979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); }; } &&
8984 { ac_try
='test -s conftest$ac_exeext'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; }; then
8990 ac_cv_lib_dl_dlopen
=yes
8992 echo "$as_me: failed program was:" >&5
8993 sed 's/^/| /' conftest.
$ac_ext >&5
8995 ac_cv_lib_dl_dlopen
=no
8997 rm -f conftest.err conftest.
$ac_objext \
8998 conftest
$ac_exeext conftest.
$ac_ext
8999 LIBS
=$ac_check_lib_save_LIBS
9001 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9002 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9003 if test $ac_cv_lib_dl_dlopen = yes; then
9004 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9006 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9007 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9008 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9009 echo $ECHO_N "(cached) $ECHO_C" >&6
9011 ac_check_lib_save_LIBS
=$LIBS
9013 cat >conftest.
$ac_ext <<_ACEOF
9016 cat confdefs.h
>>conftest.
$ac_ext
9017 cat >>conftest.
$ac_ext <<_ACEOF
9018 /* end confdefs.h. */
9020 /* Override any gcc2 internal prototype to avoid an error. */
9024 /* We use char because int might match the return type of a gcc2
9025 builtin and then its argument prototype would still apply. */
9035 rm -f conftest.
$ac_objext conftest
$ac_exeext
9036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9037 (eval $ac_link) 2>conftest.er1
9039 grep -v '^ *+' conftest.er1
>conftest.err
9041 cat conftest.err
>&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); } &&
9044 { ac_try
='test -z "$ac_c_werror_flag"
9045 || test ! -s conftest.err'
9046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); }; } &&
9051 { ac_try
='test -s conftest$ac_exeext'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; }; then
9057 ac_cv_lib_svld_dlopen
=yes
9059 echo "$as_me: failed program was:" >&5
9060 sed 's/^/| /' conftest.
$ac_ext >&5
9062 ac_cv_lib_svld_dlopen
=no
9064 rm -f conftest.err conftest.
$ac_objext \
9065 conftest
$ac_exeext conftest.
$ac_ext
9066 LIBS
=$ac_check_lib_save_LIBS
9068 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9069 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9070 if test $ac_cv_lib_svld_dlopen = yes; then
9071 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9073 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9074 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9075 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9076 echo $ECHO_N "(cached) $ECHO_C" >&6
9078 ac_check_lib_save_LIBS
=$LIBS
9080 cat >conftest.
$ac_ext <<_ACEOF
9083 cat confdefs.h
>>conftest.
$ac_ext
9084 cat >>conftest.
$ac_ext <<_ACEOF
9085 /* end confdefs.h. */
9087 /* Override any gcc2 internal prototype to avoid an error. */
9091 /* We use char because int might match the return type of a gcc2
9092 builtin and then its argument prototype would still apply. */
9102 rm -f conftest.
$ac_objext conftest
$ac_exeext
9103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9104 (eval $ac_link) 2>conftest.er1
9106 grep -v '^ *+' conftest.er1
>conftest.err
9108 cat conftest.err
>&5
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); } &&
9111 { ac_try
='test -z "$ac_c_werror_flag"
9112 || test ! -s conftest.err'
9113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); }; } &&
9118 { ac_try
='test -s conftest$ac_exeext'
9119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); }; }; then
9124 ac_cv_lib_dld_dld_link
=yes
9126 echo "$as_me: failed program was:" >&5
9127 sed 's/^/| /' conftest.
$ac_ext >&5
9129 ac_cv_lib_dld_dld_link
=no
9131 rm -f conftest.err conftest.
$ac_objext \
9132 conftest
$ac_exeext conftest.
$ac_ext
9133 LIBS
=$ac_check_lib_save_LIBS
9135 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9136 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9137 if test $ac_cv_lib_dld_dld_link = yes; then
9138 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9159 if test "x$lt_cv_dlopen" != xno
; then
9165 case $lt_cv_dlopen in
9167 save_CPPFLAGS
="$CPPFLAGS"
9168 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9170 save_LDFLAGS
="$LDFLAGS"
9171 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9174 LIBS
="$lt_cv_dlopen_libs $LIBS"
9176 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9177 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9178 if test "${lt_cv_dlopen_self+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 if test "$cross_compiling" = yes; then :
9182 lt_cv_dlopen_self
=cross
9184 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9185 lt_status
=$lt_dlunknown
9186 cat > conftest.
$ac_ext <<EOF
9187 #line 9187 "configure"
9188 #include "confdefs.h"
9197 # define LT_DLGLOBAL RTLD_GLOBAL
9200 # define LT_DLGLOBAL DL_GLOBAL
9202 # define LT_DLGLOBAL 0
9206 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9207 find out it does not work in some platform. */
9208 #ifndef LT_DLLAZY_OR_NOW
9210 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9213 # define LT_DLLAZY_OR_NOW DL_LAZY
9216 # define LT_DLLAZY_OR_NOW RTLD_NOW
9219 # define LT_DLLAZY_OR_NOW DL_NOW
9221 # define LT_DLLAZY_OR_NOW 0
9229 extern "C" void exit (int);
9232 void fnord() { int i=42;}
9235 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9236 int status = $lt_dlunknown;
9240 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9241 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9242 /* dlclose (self); */
9248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9249 (eval $ac_link) 2>&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9253 (.
/conftest
; exit; ) 2>/dev
/null
9256 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9257 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9258 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
9261 # compilation failed
9262 lt_cv_dlopen_self
=no
9269 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9270 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9272 if test "x$lt_cv_dlopen_self" = xyes
; then
9273 LDFLAGS
="$LDFLAGS $link_static_flag"
9274 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9275 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9276 if test "${lt_cv_dlopen_self_static+set}" = set; then
9277 echo $ECHO_N "(cached) $ECHO_C" >&6
9279 if test "$cross_compiling" = yes; then :
9280 lt_cv_dlopen_self_static
=cross
9282 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9283 lt_status
=$lt_dlunknown
9284 cat > conftest.
$ac_ext <<EOF
9285 #line 9285 "configure"
9286 #include "confdefs.h"
9295 # define LT_DLGLOBAL RTLD_GLOBAL
9298 # define LT_DLGLOBAL DL_GLOBAL
9300 # define LT_DLGLOBAL 0
9304 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9305 find out it does not work in some platform. */
9306 #ifndef LT_DLLAZY_OR_NOW
9308 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9311 # define LT_DLLAZY_OR_NOW DL_LAZY
9314 # define LT_DLLAZY_OR_NOW RTLD_NOW
9317 # define LT_DLLAZY_OR_NOW DL_NOW
9319 # define LT_DLLAZY_OR_NOW 0
9327 extern "C" void exit (int);
9330 void fnord() { int i=42;}
9333 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9334 int status = $lt_dlunknown;
9338 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9339 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9340 /* dlclose (self); */
9346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9347 (eval $ac_link) 2>&5
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9351 (.
/conftest
; exit; ) 2>/dev
/null
9354 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9355 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9356 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
9359 # compilation failed
9360 lt_cv_dlopen_self_static
=no
9367 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9368 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9371 CPPFLAGS
="$save_CPPFLAGS"
9372 LDFLAGS
="$save_LDFLAGS"
9377 case $lt_cv_dlopen_self in
9378 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9379 *) enable_dlopen_self
=unknown
;;
9382 case $lt_cv_dlopen_self_static in
9383 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9384 *) enable_dlopen_self_static
=unknown
;;
9389 # Report which librarie types wil actually be built
9390 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9391 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9392 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9393 echo "${ECHO_T}$can_build_shared" >&6
9395 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9396 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9397 test "$can_build_shared" = "no" && enable_shared
=no
9399 # On AIX, shared libraries and static libraries use the same namespace, and
9400 # are all built from PIC.
9403 test "$enable_shared" = yes && enable_static
=no
9404 if test -n "$RANLIB"; then
9405 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9406 postinstall_cmds
='$RANLIB $lib'
9411 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9412 test "$enable_shared" = yes && enable_static
=no
9415 darwin
* | rhapsody
*)
9416 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
9417 archive_cmds_need_lc
=no
9419 rhapsody
* | darwin1.
[012])
9420 allow_undefined_flag
='-undefined suppress'
9423 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag
='-flat_namespace -undefined suppress'
9426 # FIXME: Relying on posixy $() will cause problems for
9427 # cross-compilation, but unfortunately the echo tests do not
9428 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
9429 # `"' quotes if we put them in here... so don't!
9430 output_verbose_link_cmd
='echo'
9431 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9432 module_cmds
='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9433 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9434 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}'
9435 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}'
9437 hardcode_automatic
=yes
9438 hardcode_shlibpath_var
=unsupported
9439 whole_archive_flag_spec
='-all_load $convenience'
9440 link_all_deplibs
=yes
9444 echo "$as_me:$LINENO: result: $enable_shared" >&5
9445 echo "${ECHO_T}$enable_shared" >&6
9447 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9448 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9449 # Make sure either enable_shared or enable_static is yes.
9450 test "$enable_shared" = yes || enable_static
=yes
9451 echo "$as_me:$LINENO: result: $enable_static" >&5
9452 echo "${ECHO_T}$enable_static" >&6
9454 # The else clause should only fire when bootstrapping the
9455 # libtool distribution, otherwise you forgot to ship ltmain.sh
9456 # with your package, and you will get complaints that there are
9457 # no rules to generate ltmain.sh.
9458 if test -f "$ltmain"; then
9459 # See if we are running on zsh, and set the options which allow our commands through
9460 # without removal of \ escapes.
9461 if test -n "${ZSH_VERSION+set}" ; then
9462 setopt NO_GLOB_SUBST
9464 # Now quote all the things that may contain metacharacters while being
9465 # careful not to overquote the AC_SUBSTed values. We take copies of the
9466 # variables and quote the copies for generation of the libtool script.
9467 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
9468 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9469 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9470 deplibs_check_method reload_flag reload_cmds need_locks \
9471 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9472 lt_cv_sys_global_symbol_to_c_name_address \
9473 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9474 old_postinstall_cmds old_postuninstall_cmds \
9478 lt_prog_compiler_wl \
9479 lt_prog_compiler_pic \
9480 lt_prog_compiler_static \
9481 lt_prog_compiler_no_builtin_flag \
9482 export_dynamic_flag_spec \
9483 thread_safe_flag_spec \
9484 whole_archive_flag_spec \
9485 enable_shared_with_static_runtimes \
9487 old_archive_from_new_cmds \
9492 compiler_lib_search_path \
9494 archive_expsym_cmds \
9496 postuninstall_cmds \
9497 old_archive_from_expsyms_cmds \
9498 allow_undefined_flag \
9500 export_symbols_cmds \
9501 hardcode_libdir_flag_spec \
9502 hardcode_libdir_flag_spec_ld \
9503 hardcode_libdir_separator \
9504 hardcode_automatic \
9506 module_expsym_cmds \
9507 lt_cv_prog_compiler_c_o \
9512 old_archive_cmds | \
9513 old_archive_from_new_cmds | \
9515 archive_expsym_cmds | \
9517 module_expsym_cmds | \
9518 old_archive_from_expsyms_cmds | \
9519 export_symbols_cmds | \
9520 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9521 postinstall_cmds | postuninstall_cmds | \
9522 old_postinstall_cmds | old_postuninstall_cmds | \
9523 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9524 # Double-quote double-evaled strings.
9525 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9528 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9534 *'\$0 --fallback-echo"')
9535 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9540 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9542 { echo "$as_me:$LINENO: creating $ofile" >&5
9543 echo "$as_me: creating $ofile" >&6;}
9545 cat <<__EOF__ >> "$cfgfile"
9548 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9549 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9550 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9552 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9553 # Free Software Foundation, Inc.
9555 # This file is part of GNU Libtool:
9556 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9558 # This program is free software; you can redistribute it and/or modify
9559 # it under the terms of the GNU General Public License as published by
9560 # the Free Software Foundation; either version 2 of the License, or
9561 # (at your option) any later version.
9563 # This program is distributed in the hope that it will be useful, but
9564 # WITHOUT ANY WARRANTY; without even the implied warranty of
9565 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9566 # General Public License for more details.
9568 # You should have received a copy of the GNU General Public License
9569 # along with this program; if not, write to the Free Software
9570 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9572 # As a special exception to the GNU General Public License, if you
9573 # distribute this file as part of a program that contains a
9574 # configuration script generated by Autoconf, you may include it under
9575 # the same distribution terms that you use for the rest of that program.
9577 # A sed program that does not truncate output.
9580 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9581 Xsed="$SED -e s/^X//"
9583 # The HP-UX ksh and POSIX shell print the target directory to stdout
9585 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9587 # The names of the tagged configurations supported by this script.
9590 # ### BEGIN LIBTOOL CONFIG
9592 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9594 # Shell to use when invoking shell scripts.
9597 # Whether or not to build shared libraries.
9598 build_libtool_libs=$enable_shared
9600 # Whether or not to build static libraries.
9601 build_old_libs=$enable_static
9603 # Whether or not to add -lc for building shared libraries.
9604 build_libtool_need_lc=$archive_cmds_need_lc
9606 # Whether or not to disallow shared libs when runtime libs are static
9607 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9609 # Whether or not to optimize for fast installation.
9610 fast_install=$enable_fast_install
9613 host_alias=$host_alias
9616 # An echo program that does not interpret backslashes.
9621 AR_FLAGS=$lt_AR_FLAGS
9626 # A language-specific compiler.
9629 # Is the compiler the GNU C compiler?
9635 # The linker used to build libraries.
9638 # Whether we need hard or soft links.
9641 # A BSD-compatible nm program.
9644 # A symbol stripping program
9647 # Used to examine libraries when file_magic_cmd begins "file"
9648 MAGIC_CMD=$MAGIC_CMD
9650 # Used on cygwin: DLL creation program.
9653 # Used on cygwin: object dumper.
9656 # Used on cygwin: assembler.
9659 # The name of the directory that contains temporary libtool files.
9662 # How to create reloadable object files.
9663 reload_flag=$lt_reload_flag
9664 reload_cmds=$lt_reload_cmds
9666 # How to pass a linker flag through the compiler.
9667 wl=$lt_lt_prog_compiler_wl
9669 # Object file suffix (normally "o").
9672 # Old archive suffix (normally "a").
9675 # Shared library suffix (normally ".so").
9678 # Executable file suffix (normally "").
9681 # Additional compiler flags for building library objects.
9682 pic_flag=$lt_lt_prog_compiler_pic
9685 # What is the maximum length of a command?
9686 max_cmd_len=$lt_cv_sys_max_cmd_len
9688 # Does compiler simultaneously support -c and -o options?
9689 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9691 # Must we lock files when doing compilation ?
9692 need_locks=$lt_need_locks
9694 # Do we need the lib prefix for modules?
9695 need_lib_prefix=$need_lib_prefix
9697 # Do we need a version for libraries?
9698 need_version=$need_version
9700 # Whether dlopen is supported.
9701 dlopen_support=$enable_dlopen
9703 # Whether dlopen of programs is supported.
9704 dlopen_self=$enable_dlopen_self
9706 # Whether dlopen of statically linked programs is supported.
9707 dlopen_self_static=$enable_dlopen_self_static
9709 # Compiler flag to prevent dynamic linking.
9710 link_static_flag=$lt_lt_prog_compiler_static
9712 # Compiler flag to turn off builtin functions.
9713 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9715 # Compiler flag to allow reflexive dlopens.
9716 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9718 # Compiler flag to generate shared objects directly from archives.
9719 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9721 # Compiler flag to generate thread-safe objects.
9722 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9724 # Library versioning type.
9725 version_type=$version_type
9727 # Format of library name prefix.
9728 libname_spec=$lt_libname_spec
9730 # List of archive names. First name is the real one, the rest are links.
9731 # The last name is the one that the linker finds with -lNAME.
9732 library_names_spec=$lt_library_names_spec
9734 # The coded name of the library, if different from the real name.
9735 soname_spec=$lt_soname_spec
9737 # Commands used to build and install an old-style archive.
9739 old_archive_cmds=$lt_old_archive_cmds
9740 old_postinstall_cmds=$lt_old_postinstall_cmds
9741 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9743 # Create an old-style archive from a shared archive.
9744 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9746 # Create a temporary old-style archive to link instead of a shared archive.
9747 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9749 # Commands used to build and install a shared archive.
9750 archive_cmds=$lt_archive_cmds
9751 archive_expsym_cmds=$lt_archive_expsym_cmds
9752 postinstall_cmds=$lt_postinstall_cmds
9753 postuninstall_cmds=$lt_postuninstall_cmds
9755 # Commands used to build a loadable module (assumed same as above if empty)
9756 module_cmds=$lt_module_cmds
9757 module_expsym_cmds=$lt_module_expsym_cmds
9759 # Commands to strip libraries.
9760 old_striplib=$lt_old_striplib
9761 striplib=$lt_striplib
9763 # Dependencies to place before the objects being linked to create a
9765 predep_objects=$lt_predep_objects
9767 # Dependencies to place after the objects being linked to create a
9769 postdep_objects=$lt_postdep_objects
9771 # Dependencies to place before the objects being linked to create a
9775 # Dependencies to place after the objects being linked to create a
9777 postdeps=$lt_postdeps
9779 # The library search path used internally by the compiler when linking
9781 compiler_lib_search_path=$lt_compiler_lib_search_path
9783 # Method to check whether dependent libraries are shared objects.
9784 deplibs_check_method=$lt_deplibs_check_method
9786 # Command to use when deplibs_check_method == file_magic.
9787 file_magic_cmd=$lt_file_magic_cmd
9789 # Flag that allows shared libraries with undefined symbols to be built.
9790 allow_undefined_flag=$lt_allow_undefined_flag
9792 # Flag that forces no undefined symbols.
9793 no_undefined_flag=$lt_no_undefined_flag
9795 # Commands used to finish a libtool library installation in a directory.
9796 finish_cmds=$lt_finish_cmds
9798 # Same as above, but a single script fragment to be evaled but not shown.
9799 finish_eval=$lt_finish_eval
9801 # Take the output of nm and produce a listing of raw symbols and C names.
9802 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9804 # Transform the output of nm in a proper C declaration
9805 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9807 # Transform the output of nm in a C name address pair
9808 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9810 # This is the shared library runtime path variable.
9811 runpath_var=$runpath_var
9813 # This is the shared library path variable.
9814 shlibpath_var=$shlibpath_var
9816 # Is shlibpath searched before the hard-coded library search path?
9817 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9819 # How to hardcode a shared library path into an executable.
9820 hardcode_action=$hardcode_action
9822 # Whether we should hardcode library paths into libraries.
9823 hardcode_into_libs=$hardcode_into_libs
9825 # Flag to hardcode \$libdir into a binary during linking.
9826 # This must work even if \$libdir does not exist.
9827 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9829 # If ld is used when linking, flag to hardcode \$libdir into
9830 # a binary during linking. This must work even if \$libdir does
9832 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9834 # Whether we need a single -rpath flag with a separated argument.
9835 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9837 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9839 hardcode_direct=$hardcode_direct
9841 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9843 hardcode_minus_L=$hardcode_minus_L
9845 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9846 # the resulting binary.
9847 hardcode_shlibpath_var=$hardcode_shlibpath_var
9849 # Set to yes if building a shared library automatically hardcodes DIR into the library
9850 # and all subsequent libraries and executables linked against it.
9851 hardcode_automatic=$hardcode_automatic
9853 # Variables whose values should be saved in libtool wrapper scripts and
9854 # restored at relink time.
9855 variables_saved_for_relink="$variables_saved_for_relink"
9857 # Whether libtool must link a program against all its dependency libraries.
9858 link_all_deplibs=$link_all_deplibs
9860 # Compile-time system search path for libraries
9861 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9863 # Run-time system search path for libraries
9864 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9866 # Fix the shell variable \$srcfile for the compiler.
9867 fix_srcfile_path="$fix_srcfile_path"
9869 # Set to yes if exported symbols are required.
9870 always_export_symbols=$always_export_symbols
9872 # The commands to list exported symbols.
9873 export_symbols_cmds=$lt_export_symbols_cmds
9875 # The commands to extract the exported symbol list from a shared archive.
9876 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9878 # Symbols that should not be listed in the preloaded symbols.
9879 exclude_expsyms=$lt_exclude_expsyms
9881 # Symbols that must always be exported.
9882 include_expsyms=$lt_include_expsyms
9884 # ### END LIBTOOL CONFIG
9891 cat <<\EOF
>> "$cfgfile"
9893 # AIX sometimes has problems with the GCC collect2 program. For some
9894 # reason, if we set the COLLECT_NAMES environment variable, the problems
9895 # vanish in a puff of smoke.
9896 if test "X${COLLECT_NAMES+set}" != Xset
; then
9898 export COLLECT_NAMES
9904 # We use sed instead of cat because bash on DJGPP gets confused if
9905 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9906 # text mode, it properly converts lines to CR/LF. This bash problem
9907 # is reportedly fixed, but why not run on old versions too?
9908 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9910 mv -f "$cfgfile" "$ofile" || \
9911 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9915 # If there is no Makefile yet, we rely on a make rule to execute
9916 # `config.status --recheck' to rerun these tests and create the
9917 # libtool script then.
9918 test -f Makefile
&& make "$ltmain"
9923 ac_cpp
='$CPP $CPPFLAGS'
9924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9931 # Check whether --with-tags or --without-tags was given.
9932 if test "${with_tags+set}" = set; then
9933 withval
="$with_tags"
9937 if test -f "$ltmain" && test -n "$tagnames"; then
9938 if test ! -f "${ofile}"; then
9939 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9940 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9943 if test -z "$LTCC"; then
9944 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9945 if test -z "$LTCC"; then
9946 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9947 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9949 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9950 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9954 # Extract list of available tagged configurations in $ofile.
9955 # Note that this assumes the entire list is on one line.
9956 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9958 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9959 for tagname
in $tagnames; do
9961 # Check whether tagname contains only valid characters
9962 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9964 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9965 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9966 { (exit 1); exit 1; }; }
9970 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9972 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9973 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9974 { (exit 1); exit 1; }; }
9977 # Update the list of available tags.
9978 if test -n "$tagname"; then
9979 echo appending configuration tag
\"$tagname\" to
$ofile
9983 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9985 ac_cpp
='$CXXCPP $CPPFLAGS'
9986 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9987 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9988 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9993 archive_cmds_need_lc_CXX
=no
9994 allow_undefined_flag_CXX
=
9995 always_export_symbols_CXX
=no
9996 archive_expsym_cmds_CXX
=
9997 export_dynamic_flag_spec_CXX
=
9998 hardcode_direct_CXX
=no
9999 hardcode_libdir_flag_spec_CXX
=
10000 hardcode_libdir_flag_spec_ld_CXX
=
10001 hardcode_libdir_separator_CXX
=
10002 hardcode_minus_L_CXX
=no
10003 hardcode_automatic_CXX
=no
10005 module_expsym_cmds_CXX
=
10006 link_all_deplibs_CXX
=unknown
10007 old_archive_cmds_CXX
=$old_archive_cmds
10008 no_undefined_flag_CXX
=
10009 whole_archive_flag_spec_CXX
=
10010 enable_shared_with_static_runtimes_CXX
=no
10012 # Dependencies to place before and after the object being linked:
10013 predep_objects_CXX
=
10014 postdep_objects_CXX
=
10017 compiler_lib_search_path_CXX
=
10019 # Source file extension for C++ test sources.
10022 # Object file extension for compiled C++ test sources.
10026 # Code to be used in simple compile tests
10027 lt_simple_compile_test_code
="int some_variable = 0;\n"
10029 # Code to be used in simple link tests
10030 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
10032 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10034 # If no C compiler was specified, use CC.
10037 # Allow CC to be a program name with arguments.
10041 # Allow CC to be a program name with arguments.
10046 lt_save_with_gnu_ld
=$with_gnu_ld
10047 lt_save_path_LD
=$lt_cv_path_LD
10048 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10049 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10051 unset lt_cv_prog_gnu_ld
10053 if test -n "${lt_cv_path_LDCXX+set}"; then
10054 lt_cv_path_LD
=$lt_cv_path_LDCXX
10056 unset lt_cv_path_LD
10058 test -z "${LDCXX+set}" || LD
=$LDCXX
10062 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
10064 # We don't want -fno-exception wen compiling C++ code, so set the
10065 # no_builtin_flag separately
10066 if test "$GXX" = yes; then
10067 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10069 lt_prog_compiler_no_builtin_flag_CXX
=
10072 if test "$GXX" = yes; then
10073 # Set up default GNU C++ configuration
10076 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10077 if test "${with_gnu_ld+set}" = set; then
10078 withval
="$with_gnu_ld"
10079 test "$withval" = no || with_gnu_ld
=yes
10084 if test "$GCC" = yes; then
10085 # Check if gcc -print-prog-name=ld gives a path.
10086 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10087 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10090 # gcc leaves a trailing carriage return which upsets mingw
10091 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10093 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10096 # Accept absolute paths.
10098 re_direlt
='/[^/][^/]*/\.\./'
10099 # Canonicalize the path of ld
10100 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10101 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10102 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10104 test -z "$LD" && LD
="$ac_prog"
10107 # If it fails, then pretend we aren't using GCC.
10111 # If it is relative, then search for the first ld in PATH.
10112 with_gnu_ld
=unknown
10115 elif test "$with_gnu_ld" = yes; then
10116 echo "$as_me:$LINENO: checking for GNU ld" >&5
10117 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10119 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10120 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10122 if test "${lt_cv_path_LD+set}" = set; then
10123 echo $ECHO_N "(cached) $ECHO_C" >&6
10125 if test -z "$LD"; then
10126 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10127 for ac_dir
in $PATH; do
10129 test -z "$ac_dir" && ac_dir
=.
10130 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10131 lt_cv_path_LD
="$ac_dir/$ac_prog"
10132 # Check to see if the program is GNU ld. I'd rather use --version,
10133 # but apparently some GNU ld's only accept -v.
10134 # Break only if it was the GNU/non-GNU ld that we prefer.
10135 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10136 *GNU
* |
*'with BFD'*)
10137 test "$with_gnu_ld" != no
&& break
10140 test "$with_gnu_ld" != yes && break
10147 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10151 LD
="$lt_cv_path_LD"
10152 if test -n "$LD"; then
10153 echo "$as_me:$LINENO: result: $LD" >&5
10154 echo "${ECHO_T}$LD" >&6
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10159 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10160 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10161 { (exit 1); exit 1; }; }
10162 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10163 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10164 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10165 echo $ECHO_N "(cached) $ECHO_C" >&6
10167 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10168 case `"$LD" -v 2>&1 </dev/null` in
10169 *GNU
* |
*'with BFD'*)
10170 lt_cv_prog_gnu_ld
=yes
10173 lt_cv_prog_gnu_ld
=no
10177 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10178 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10179 with_gnu_ld
=$lt_cv_prog_gnu_ld
10183 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10184 # archiving commands below assume that GNU ld is being used.
10185 if test "$with_gnu_ld" = yes; then
10186 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10187 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'
10189 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10190 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10192 # If archive_cmds runs LD, not CC, wlarc should be empty
10193 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10194 # investigate it a little bit more. (MM)
10197 # ancient GNU ld didn't support --whole-archive et. al.
10198 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10199 grep 'no-whole-archive' > /dev
/null
; then
10200 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10202 whole_archive_flag_spec_CXX
=
10208 # A generic and very simple default shared library creation
10209 # command for GNU C++ for the case where it uses the native
10210 # linker, instead of GNU ld. If possible, this setting should
10211 # overridden to take advantage of the native linker features on
10212 # the platform it is being used on.
10213 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10216 # Commands to make compiler produce verbose output that lists
10217 # what "hidden" libraries, object files and flags are used when
10218 # linking a shared library.
10219 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10227 # PORTME: fill in a description of your system's C++ link characteristics
10228 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10229 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10233 # FIXME: insert proper C++ library support
10237 if test "$host_cpu" = ia64
; then
10238 # On IA64, the linker does run time linking by default, so we don't
10239 # have to do anything special.
10240 aix_use_runtimelinking
=no
10241 exp_sym_flag
='-Bexport'
10244 aix_use_runtimelinking
=no
10246 # Test if we are trying to use run time linking or normal
10247 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10248 # need to do runtime linking.
10249 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10250 for ld_flag
in $LDFLAGS; do
10253 aix_use_runtimelinking
=yes
10260 exp_sym_flag
='-bexport'
10261 no_entry_flag
='-bnoentry'
10264 # When large executables or shared objects are built, AIX ld can
10265 # have problems creating the table of contents. If linking a library
10266 # or program results in "error TOC overflow" add -mminimal-toc to
10267 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10268 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10270 archive_cmds_CXX
=''
10271 hardcode_direct_CXX
=yes
10272 hardcode_libdir_separator_CXX
=':'
10273 link_all_deplibs_CXX
=yes
10275 if test "$GXX" = yes; then
10276 case $host_os in aix4.012|aix4.012.
*)
10277 # We only want to do this on AIX 4.2 and lower, the check
10278 # below for broken collect2 doesn't work under 4.3+
10279 collect2name
=`${CC} -print-prog-name=collect2`
10280 if test -f "$collect2name" && \
10281 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10283 # We have reworked collect2
10284 hardcode_direct_CXX
=yes
10286 # We have old collect2
10287 hardcode_direct_CXX
=unsupported
10288 # It fails to find uninstalled libraries when the uninstalled
10289 # path is not listed in the libpath. Setting hardcode_minus_L
10290 # to unsupported forces relinking
10291 hardcode_minus_L_CXX
=yes
10292 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10293 hardcode_libdir_separator_CXX
=
10296 shared_flag
='-shared'
10299 if test "$host_cpu" = ia64
; then
10300 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10301 # chokes on -Wl,-G. The following line is correct:
10304 if test "$aix_use_runtimelinking" = yes; then
10305 shared_flag
='${wl}-G'
10307 shared_flag
='${wl}-bM:SRE'
10312 # It seems that -bexpall does not export symbols beginning with
10313 # underscore (_), so it is better to generate a list of symbols to export.
10314 always_export_symbols_CXX
=yes
10315 if test "$aix_use_runtimelinking" = yes; then
10316 # Warning - without using the other runtime loading flags (-brtl),
10317 # -berok will link without error, but may produce a broken library.
10318 allow_undefined_flag_CXX
='-berok'
10319 # Determine the default libpath from the value encoded in an empty executable.
10320 cat >conftest.
$ac_ext <<_ACEOF
10323 cat confdefs.h
>>conftest.
$ac_ext
10324 cat >>conftest.
$ac_ext <<_ACEOF
10325 /* end confdefs.h. */
10335 rm -f conftest.
$ac_objext conftest
$ac_exeext
10336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10337 (eval $ac_link) 2>conftest.er1
10339 grep -v '^ *+' conftest.er1
>conftest.err
10341 cat conftest.err
>&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } &&
10344 { ac_try
='test -z "$ac_cxx_werror_flag"
10345 || test ! -s conftest.err'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try
='test -s conftest$ac_exeext'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; }; then
10358 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10360 # Check for a 64-bit object if we didn't find anything.
10361 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; }
10364 echo "$as_me: failed program was:" >&5
10365 sed 's/^/| /' conftest.
$ac_ext >&5
10368 rm -f conftest.err conftest.
$ac_objext \
10369 conftest
$ac_exeext conftest.
$ac_ext
10370 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10372 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10374 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"
10376 if test "$host_cpu" = ia64; then
10377 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10378 allow_undefined_flag_CXX="-z nodefs"
10379 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"
10381 # Determine the default libpath from the value encoded in an empty executable.
10382 cat >conftest.$ac_ext <<_ACEOF
10385 cat confdefs.h >>conftest.$ac_ext
10386 cat >>conftest.$ac_ext <<_ACEOF
10387 /* end confdefs.h. */
10397 rm -f conftest.$ac_objext conftest$ac_exeext
10398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10399 (eval $ac_link) 2>conftest.er1
10401 grep -v '^ *+' conftest.er1 >conftest.err
10403 cat conftest.err >&5
10404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10405 (exit $ac_status); } &&
10406 { ac_try='test -z "$ac_cxx_werror_flag"
10407 || test ! -s conftest.err'
10408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10409 (eval $ac_try) 2>&5
10411 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10412 (exit $ac_status); }; } &&
10413 { ac_try='test -s conftest$ac_exeext'
10414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10415 (eval $ac_try) 2>&5
10417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10418 (exit $ac_status); }; }; then
10420 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10422 # Check for a 64-bit object if we didn't find anything.
10423 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; }
10426 echo "$as_me: failed program was
:" >&5
10427 sed 's/^/| /' conftest.$ac_ext >&5
10430 rm -f conftest.err conftest.$ac_objext \
10431 conftest$ac_exeext conftest.$ac_ext
10432 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10434 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10435 # Warning - without using the other run time loading flags,
10436 # -berok will link without error, but may produce a broken library.
10437 no_undefined_flag_CXX=' ${wl}-bernotok'
10438 allow_undefined_flag_CXX=' ${wl}-berok'
10439 # -bexpall does not export symbols beginning with underscore (_)
10440 always_export_symbols_CXX=yes
10441 # Exported symbols can be pulled into shared objects from archives
10442 whole_archive_flag_spec_CXX=' '
10443 archive_cmds_need_lc_CXX=yes
10444 # This is similar to how AIX traditionally builds it's shared libraries.
10445 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'
10450 case $cc_basename in
10452 # FIXME: insert proper C++ library support
10458 cygwin* | mingw* | pw32*)
10459 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10460 # as there is no search path for DLLs.
10461 hardcode_libdir_flag_spec_CXX='-L$libdir'
10462 allow_undefined_flag_CXX=unsupported
10463 always_export_symbols_CXX=no
10464 enable_shared_with_static_runtimes_CXX=yes
10466 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10467 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'
10468 # If the export-symbols file already is a .def file (1st line
10469 # is EXPORTS), use it as is; otherwise, prepend...
10470 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10471 cp $export_symbols $output_objdir/$soname.def;
10473 echo EXPORTS > $output_objdir/$soname.def;
10474 cat $export_symbols >> $output_objdir/$soname.def;
10476 $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'
10482 darwin* | rhapsody*)
10483 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
10484 archive_cmds_need_lc_CXX=no
10486 rhapsody* | darwin1.[012])
10487 allow_undefined_flag_CXX='-undefined suppress'
10490 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10493 lt_int_apple_cc_single_mod=no
10494 output_verbose_link_cmd='echo'
10495 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10496 lt_int_apple_cc_single_mod=yes
10498 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10499 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10501 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'
10503 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
10505 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10506 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10507 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}'
10509 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}'
10511 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}'
10512 hardcode_direct_CXX
=no
10513 hardcode_automatic_CXX
=yes
10514 hardcode_shlibpath_var_CXX
=unsupported
10515 whole_archive_flag_spec_CXX
='-all_load $convenience'
10516 link_all_deplibs_CXX
=yes
10521 case $cc_basename in
10523 # FIXME: insert proper C++ library support
10527 # Green Hills C++ Compiler
10528 # FIXME: insert proper C++ library support
10532 # FIXME: insert proper C++ library support
10538 # C++ shared libraries reported to be fairly broken before switch to ELF
10542 archive_cmds_need_lc_CXX
=no
10545 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10552 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10553 hardcode_libdir_separator_CXX
=:
10554 export_dynamic_flag_spec_CXX
='${wl}-E'
10555 hardcode_direct_CXX
=yes
10556 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10557 # but as the default
10558 # location of the library.
10560 case $cc_basename in
10562 # FIXME: insert proper C++ library support
10566 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'
10567 # Commands to make compiler produce verbose output that lists
10568 # what "hidden" libraries, object files and flags are used when
10569 # linking a shared library.
10571 # There doesn't appear to be a way to prevent this compiler from
10572 # explicitly linking system object files so we need to strip them
10573 # from the output so that they don't get included in the library
10575 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'
10578 if test "$GXX" = yes; then
10579 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'
10581 # FIXME: insert proper C++ library support
10588 if test $with_gnu_ld = no
; then
10589 case "$host_cpu" in
10591 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10592 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10593 hardcode_libdir_separator_CXX
=:
10596 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10599 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10600 hardcode_libdir_separator_CXX
=:
10601 export_dynamic_flag_spec_CXX
='${wl}-E'
10605 case "$host_cpu" in
10607 hardcode_direct_CXX
=no
10608 hardcode_shlibpath_var_CXX
=no
10611 hardcode_direct_CXX
=no
10612 hardcode_shlibpath_var_CXX
=no
10613 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10614 # but as the default
10615 # location of the library.
10618 hardcode_direct_CXX
=yes
10619 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10620 # but as the default
10621 # location of the library.
10625 case $cc_basename in
10627 # FIXME: insert proper C++ library support
10631 case "$host_cpu" in
10633 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10636 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10639 # Commands to make compiler produce verbose output that lists
10640 # what "hidden" libraries, object files and flags are used when
10641 # linking a shared library.
10643 # There doesn't appear to be a way to prevent this compiler from
10644 # explicitly linking system object files so we need to strip them
10645 # from the output so that they don't get included in the library
10647 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'
10650 if test "$GXX" = yes; then
10651 if test $with_gnu_ld = no
; then
10652 case "$host_cpu" in
10654 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10657 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'
10662 # FIXME: insert proper C++ library support
10669 case $cc_basename in
10672 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'
10674 # Archives containing C++ object files must be created using
10675 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10676 # necessary to make sure instantiated templates are included
10678 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10681 if test "$GXX" = yes; then
10682 if test "$with_gnu_ld" = no
; then
10683 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'
10685 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'
10688 link_all_deplibs_CXX
=yes
10691 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10692 hardcode_libdir_separator_CXX
=:
10695 case $cc_basename in
10697 # Kuck and Associates, Inc. (KAI) C++ Compiler
10699 # KCC will only create a shared library if the output file
10700 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10701 # to its proper name (with version) after linking.
10702 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'
10703 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'
10704 # Commands to make compiler produce verbose output that lists
10705 # what "hidden" libraries, object files and flags are used when
10706 # linking a shared library.
10708 # There doesn't appear to be a way to prevent this compiler from
10709 # explicitly linking system object files so we need to strip them
10710 # from the output so that they don't get included in the library
10712 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'
10714 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10715 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10717 # Archives containing C++ object files must be created using
10718 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10719 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10724 archive_cmds_need_lc_CXX
=no
10725 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10726 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'
10727 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10728 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10729 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10733 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10734 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'
10736 runpath_var
=LD_RUN_PATH
10737 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10738 hardcode_libdir_separator_CXX
=:
10740 # Commands to make compiler produce verbose output that lists
10741 # what "hidden" libraries, object files and flags are used when
10742 # linking a shared library.
10744 # There doesn't appear to be a way to prevent this compiler from
10745 # explicitly linking system object files so we need to strip them
10746 # from the output so that they don't get included in the library
10748 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'
10753 # FIXME: insert proper C++ library support
10757 # FIXME: insert proper C++ library support
10761 case $cc_basename in
10763 # FIXME: insert proper C++ library support
10767 # FIXME: insert proper C++ library support
10773 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10774 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10776 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10777 hardcode_direct_CXX
=yes
10778 hardcode_shlibpath_var_CXX
=no
10780 # Workaround some broken pre-1.5 toolchains
10781 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10784 case $cc_basename in
10786 # Kuck and Associates, Inc. (KAI) C++ Compiler
10788 # KCC will only create a shared library if the output file
10789 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10790 # to its proper name (with version) after linking.
10791 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'
10793 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10794 hardcode_libdir_separator_CXX
=:
10796 # Archives containing C++ object files must be created using
10797 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10798 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10802 # Rational C++ 2.4.1
10803 # FIXME: insert proper C++ library support
10807 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10808 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'
10810 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10811 hardcode_libdir_separator_CXX
=:
10813 # Commands to make compiler produce verbose output that lists
10814 # what "hidden" libraries, object files and flags are used when
10815 # linking a shared library.
10817 # There doesn't appear to be a way to prevent this compiler from
10818 # explicitly linking system object files so we need to strip them
10819 # from the output so that they don't get included in the library
10821 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'
10824 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10825 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10826 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'
10828 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10829 hardcode_libdir_separator_CXX
=:
10831 # Commands to make compiler produce verbose output that lists
10832 # what "hidden" libraries, object files and flags are used when
10833 # linking a shared library.
10834 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10837 # FIXME: insert proper C++ library support
10844 case $cc_basename in
10846 # Kuck and Associates, Inc. (KAI) C++ Compiler
10848 # KCC will only create a shared library if the output file
10849 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10850 # to its proper name (with version) after linking.
10851 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'
10853 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10854 hardcode_libdir_separator_CXX
=:
10856 # Archives containing C++ object files must be created using
10857 # the KAI C++ compiler.
10858 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10861 # Rational C++ 2.4.1
10862 # FIXME: insert proper C++ library support
10866 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10867 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'
10868 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10869 echo "-hidden">> $lib.exp~
10870 $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~
10873 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10874 hardcode_libdir_separator_CXX
=:
10876 # Commands to make compiler produce verbose output that lists
10877 # what "hidden" libraries, object files and flags are used when
10878 # linking a shared library.
10880 # There doesn't appear to be a way to prevent this compiler from
10881 # explicitly linking system object files so we need to strip them
10882 # from the output so that they don't get included in the library
10884 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'
10887 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10888 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10889 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'
10891 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10892 hardcode_libdir_separator_CXX
=:
10894 # Commands to make compiler produce verbose output that lists
10895 # what "hidden" libraries, object files and flags are used when
10896 # linking a shared library.
10897 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10900 # FIXME: insert proper C++ library support
10907 # FIXME: insert proper C++ library support
10911 archive_cmds_need_lc_CXX
=no
10912 case $cc_basename in
10914 # FIXME: insert proper C++ library support
10918 # FIXME: insert proper C++ library support
10924 case $cc_basename in
10927 # FIXME: insert proper C++ library support
10932 # FIXME: insert proper C++ library support
10936 # FIXME: insert proper C++ library support
10942 case $cc_basename in
10944 # Sun C++ 4.2, 5.x and Centerline C++
10945 no_undefined_flag_CXX
=' -zdefs'
10946 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10947 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10948 $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'
10950 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10951 hardcode_shlibpath_var_CXX
=no
10953 solaris2.0
-5 | solaris2.0
-5.
*) ;;
10955 # The C++ compiler is used as linker so we must use $wl
10956 # flag to pass the commands to the underlying system
10958 # Supported since Solaris 2.6 (maybe 2.5.1?)
10959 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10962 link_all_deplibs_CXX
=yes
10964 # Commands to make compiler produce verbose output that lists
10965 # what "hidden" libraries, object files and flags are used when
10966 # linking a shared library.
10968 # There doesn't appear to be a way to prevent this compiler from
10969 # explicitly linking system object files so we need to strip them
10970 # from the output so that they don't get included in the library
10972 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'
10974 # Archives containing C++ object files must be created using
10975 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10976 # necessary to make sure instantiated templates are included
10978 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10981 # Green Hills C++ Compiler
10982 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10984 # The C++ compiler must be used to create the archive.
10985 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10988 # GNU C++ compiler with Solaris linker
10989 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10990 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10991 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10992 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10993 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10994 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10996 # Commands to make compiler produce verbose output that lists
10997 # what "hidden" libraries, object files and flags are used when
10998 # linking a shared library.
10999 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11001 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11003 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11004 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11005 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11007 # Commands to make compiler produce verbose output that lists
11008 # what "hidden" libraries, object files and flags are used when
11009 # linking a shared library.
11010 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11013 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11018 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
11019 archive_cmds_need_lc_CXX
=no
11022 case $cc_basename in
11024 # NonStop-UX NCC 3.20
11025 # FIXME: insert proper C++ library support
11029 # FIXME: insert proper C++ library support
11035 # FIXME: insert proper C++ library support
11039 # FIXME: insert proper C++ library support
11043 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11044 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11045 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11051 ## There is no encapsulation within the following macros, do not change
11052 ## the running order or otherwise move them around unless you know exactly
11053 ## what you are doing...
11055 cat > conftest.
$ac_ext <<EOF
11059 Foo (void) { a = 0; }
11065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11066 (eval $ac_compile) 2>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); }; then
11070 # Parse the compiler output and extract the necessary
11071 # objects, libraries and library flags.
11073 # Sentinel used to keep track of whether or not we are before
11074 # the conftest object file.
11075 pre_test_object_deps_done
=no
11077 # The `*' in the case matches for architectures that use `case' in
11078 # $output_verbose_cmd can trigger glob expansion during the loop
11079 # eval without this substitution.
11080 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11082 for p
in `eval $output_verbose_link_cmd`; do
11086 # Some compilers place space between "-{L,R}" and the path.
11087 # Remove the space.
11088 if test $p = "-L" \
11089 ||
test $p = "-R"; then
11096 if test "$pre_test_object_deps_done" = no
; then
11099 # Internal compiler library paths should come after those
11100 # provided the user. The postdeps already come after the
11101 # user supplied libs so there is no need to process them.
11102 if test -z "$compiler_lib_search_path_CXX"; then
11103 compiler_lib_search_path_CXX
="${prev}${p}"
11105 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11108 # The "-l" case would never come before the object being
11109 # linked, so don't bother handling this case.
11112 if test -z "$postdeps_CXX"; then
11113 postdeps_CXX
="${prev}${p}"
11115 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11121 # This assumes that the test object file only shows up
11122 # once in the compiler output.
11123 if test "$p" = "conftest.$objext"; then
11124 pre_test_object_deps_done
=yes
11128 if test "$pre_test_object_deps_done" = no
; then
11129 if test -z "$predep_objects_CXX"; then
11130 predep_objects_CXX
="$p"
11132 predep_objects_CXX
="$predep_objects_CXX $p"
11135 if test -z "$postdep_objects_CXX"; then
11136 postdep_objects_CXX
="$p"
11138 postdep_objects_CXX
="$postdep_objects_CXX $p"
11143 *) ;; # Ignore the rest.
11151 echo "libtool.m4: error: problem compiling CXX test program"
11154 $rm -f confest.
$objext
11156 case " $postdeps_CXX " in
11157 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11160 lt_prog_compiler_wl_CXX
=
11161 lt_prog_compiler_pic_CXX
=
11162 lt_prog_compiler_static_CXX
=
11164 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11165 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11167 # C++ specific cases for pic, static, wl, etc.
11168 if test "$GXX" = yes; then
11169 lt_prog_compiler_wl_CXX
='-Wl,'
11170 lt_prog_compiler_static_CXX
='-static'
11174 # All AIX code is PIC.
11175 if test "$host_cpu" = ia64
; then
11176 # AIX 5 now supports IA64 processor
11177 lt_prog_compiler_static_CXX
='-Bstatic'
11181 # FIXME: we need at least 68020 code to build shared libraries, but
11182 # adding the `-m68020' flag to GCC prevents building anything better,
11184 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11186 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11187 # PIC is the default for these OSes.
11189 mingw
* | os2
* | pw32
*)
11190 # This hack is so that the source file can tell whether it is being
11191 # built for inclusion in a dll (and should export symbols for example).
11192 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11194 darwin
* | rhapsody
*)
11195 # PIC is the default on this platform
11196 # Common symbols not allowed in MH_DYLIB files
11197 lt_prog_compiler_pic_CXX
='-fno-common'
11200 # DJGPP does not support shared libraries at all
11201 lt_prog_compiler_pic_CXX
=
11204 if test -d /usr
/nec
; then
11205 lt_prog_compiler_pic_CXX
=-Kconform_pic
11209 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11210 # not for PA HP-UX.
11211 case "$host_cpu" in
11215 lt_prog_compiler_pic_CXX
='-fPIC'
11220 lt_prog_compiler_pic_CXX
='-fPIC'
11226 # All AIX code is PIC.
11227 if test "$host_cpu" = ia64
; then
11228 # AIX 5 now supports IA64 processor
11229 lt_prog_compiler_static_CXX
='-Bstatic'
11231 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11235 case $cc_basename in
11237 # Green Hills C++ Compiler
11238 # _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"
11243 case $cc_basename in
11245 lt_prog_compiler_pic_CXX
='-KPIC'
11248 # Green Hills C++ Compiler
11249 lt_prog_compiler_pic_CXX
='-pic'
11256 # FreeBSD uses GNU C++
11258 hpux9
* | hpux10
* | hpux11
*)
11259 case $cc_basename in
11261 lt_prog_compiler_wl_CXX
='-Wl,'
11262 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11263 if test "$host_cpu" != ia64
; then
11264 lt_prog_compiler_pic_CXX
='+Z'
11268 lt_prog_compiler_wl_CXX
='-Wl,'
11269 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11270 case "$host_cpu" in
11275 lt_prog_compiler_pic_CXX
='+Z'
11283 irix5
* | irix6
* | nonstopux
*)
11284 case $cc_basename in
11286 lt_prog_compiler_wl_CXX
='-Wl,'
11287 lt_prog_compiler_static_CXX
='-non_shared'
11288 # CC pic flag -KPIC is the default.
11295 case $cc_basename in
11298 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11299 lt_prog_compiler_pic_CXX
='-fPIC'
11303 lt_prog_compiler_wl_CXX
='-Wl,'
11304 lt_prog_compiler_pic_CXX
='-KPIC'
11305 lt_prog_compiler_static_CXX
='-static'
11309 # Make sure the PIC flag is empty. It appears that all Alpha
11310 # Linux and Compaq Tru64 Unix objects are PIC.
11311 lt_prog_compiler_pic_CXX
=
11312 lt_prog_compiler_static_CXX
='-non_shared'
11323 case $cc_basename in
11325 lt_prog_compiler_pic_CXX
='-Wextra c,exportall'
11333 osf3
* | osf4
* | osf5
*)
11334 case $cc_basename in
11336 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11339 # Rational C++ 2.4.1
11340 lt_prog_compiler_pic_CXX
='-pic'
11343 # Digital/Compaq C++
11344 lt_prog_compiler_wl_CXX
='-Wl,'
11345 # Make sure the PIC flag is empty. It appears that all Alpha
11346 # Linux and Compaq Tru64 Unix objects are PIC.
11347 lt_prog_compiler_pic_CXX
=
11348 lt_prog_compiler_static_CXX
='-non_shared'
11357 case $cc_basename in
11359 lt_prog_compiler_pic_CXX
='-fPIC'
11366 case $cc_basename in
11368 # Sun C++ 4.2, 5.x and Centerline C++
11369 lt_prog_compiler_pic_CXX
='-KPIC'
11370 lt_prog_compiler_static_CXX
='-Bstatic'
11371 lt_prog_compiler_wl_CXX
='-Qoption ld '
11374 # Green Hills C++ Compiler
11375 lt_prog_compiler_pic_CXX
='-PIC'
11382 case $cc_basename in
11385 lt_prog_compiler_pic_CXX
='-pic'
11386 lt_prog_compiler_static_CXX
='-Bstatic'
11390 lt_prog_compiler_pic_CXX
='-pic'
11397 case $cc_basename in
11399 # NonStop-UX NCC 3.20
11400 lt_prog_compiler_pic_CXX
='-KPIC'
11411 lt_prog_compiler_can_build_shared_CXX
=no
11416 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11417 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11420 # Check to make sure the PIC flag actually works.
11422 if test -n "$lt_prog_compiler_pic_CXX"; then
11423 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11424 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11425 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 lt_prog_compiler_pic_works_CXX
=no
11429 ac_outfile
=conftest.
$ac_objext
11430 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11431 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11432 # Insert the option either (1) after the last *FLAGS variable, or
11433 # (2) before a word containing "conftest.", or (3) at the end.
11434 # Note that $ac_compile itself does not contain backslashes and begins
11435 # with a dollar sign (not a hyphen), so the echo should work correctly.
11436 # The option is referenced via a variable to avoid confusing sed.
11437 lt_compile
=`echo "$ac_compile" | $SED \
11438 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11440 -e 's:$: $lt_compiler_flag:'`
11441 (eval echo "\"\$as_me:11441: $lt_compile\"" >&5)
11442 (eval "$lt_compile" 2>conftest.err
)
11444 cat conftest.err
>&5
11445 echo "$as_me:11445: \$? = $ac_status" >&5
11446 if (exit $ac_status) && test -s "$ac_outfile"; then
11447 # The compiler can only warn and ignore the option if not recognized
11448 # So say no if there are warnings
11449 if test ! -s conftest.err
; then
11450 lt_prog_compiler_pic_works_CXX
=yes
11456 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11457 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11459 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11460 case $lt_prog_compiler_pic_CXX in
11462 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11465 lt_prog_compiler_pic_CXX
=
11466 lt_prog_compiler_can_build_shared_CXX
=no
11471 # For platforms which do not support PIC, -DPIC is meaningless:
11473 lt_prog_compiler_pic_CXX
=
11476 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11480 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11481 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11482 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11483 echo $ECHO_N "(cached) $ECHO_C" >&6
11485 lt_cv_prog_compiler_c_o_CXX
=no
11486 $rm -r conftest
2>/dev
/null
11490 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11492 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
11493 # that will create temporary files in the current directory regardless of
11494 # the output directory. Thus, making CWD read-only will cause this test
11495 # to fail, enabling locking or at least warning the user not to do parallel
11499 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11500 # Insert the option either (1) after the last *FLAGS variable, or
11501 # (2) before a word containing "conftest.", or (3) at the end.
11502 # Note that $ac_compile itself does not contain backslashes and begins
11503 # with a dollar sign (not a hyphen), so the echo should work correctly.
11504 lt_compile
=`echo "$ac_compile" | $SED \
11505 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11506 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11507 -e 's:$: $lt_compiler_flag:'`
11508 (eval echo "\"\$as_me:11508: $lt_compile\"" >&5)
11509 (eval "$lt_compile" 2>out
/conftest.err
)
11511 cat out
/conftest.err
>&5
11512 echo "$as_me:11512: \$? = $ac_status" >&5
11513 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11515 # The compiler can only warn and ignore the option if not recognized
11516 # So say no if there are warnings
11517 if test ! -s out
/conftest.err
; then
11518 lt_cv_prog_compiler_c_o_CXX
=yes
11522 $rm conftest
* out
/*
11529 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11530 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11533 hard_links
="nottested"
11534 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11535 # do not overwrite the value of need_locks provided by the user
11536 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11537 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11540 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11542 ln conftest.a conftest.b
2>&5 || hard_links
=no
11543 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11544 echo "$as_me:$LINENO: result: $hard_links" >&5
11545 echo "${ECHO_T}$hard_links" >&6
11546 if test "$hard_links" = no
; then
11547 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11548 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11555 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11556 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11558 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11561 # If we're using GNU nm, then we don't want the "-C" option.
11562 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11563 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11564 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'
11566 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'
11570 export_symbols_cmds_CXX
="$ltdll_cmds"
11573 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11576 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11580 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11581 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11582 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11584 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11585 if test "$GCC" = yes; then
11586 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11590 # Do we need to explicitly link libc?
11592 case "x$archive_cmds_need_lc_CXX" in
11594 # Assume -lc should be added
11595 archive_cmds_need_lc_CXX
=yes
11597 if test "$enable_shared" = yes && test "$GCC" = yes; then
11598 case $archive_cmds_CXX in
11600 # FIXME: we may have to deal with multi-command sequences.
11603 # Test whether the compiler implicitly links with -lc since on some
11604 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11605 # to ld, don't add -lc before -lgcc.
11606 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11607 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11609 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11612 (eval $ac_compile) 2>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); } 2>conftest.err
; then
11618 libobjs
=conftest.
$ac_objext
11620 wl
=$lt_prog_compiler_wl_CXX
11626 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11627 allow_undefined_flag_CXX
=
11628 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11629 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }
11634 archive_cmds_need_lc_CXX
=no
11636 archive_cmds_need_lc_CXX
=yes
11638 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11640 cat conftest.err
1>&5
11643 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11644 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11651 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11652 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11653 hardcode_action_CXX
=
11654 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11655 test -n "$runpath_var CXX" || \
11656 test "X$hardcode_automatic_CXX"="Xyes" ; then
11658 # We can hardcode non-existant directories.
11659 if test "$hardcode_direct_CXX" != no
&&
11660 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11661 # have to relink, otherwise we might link with an installed library
11662 # when we should be linking with a yet-to-be-installed one
11663 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11664 test "$hardcode_minus_L_CXX" != no
; then
11665 # Linking always hardcodes the temporary library directory.
11666 hardcode_action_CXX
=relink
11668 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11669 hardcode_action_CXX
=immediate
11672 # We cannot hardcode anything, or else we can only hardcode existing
11674 hardcode_action_CXX
=unsupported
11676 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11677 echo "${ECHO_T}$hardcode_action_CXX" >&6
11679 if test "$hardcode_action_CXX" = relink
; then
11680 # Fast installation is not supported
11681 enable_fast_install
=no
11682 elif test "$shlibpath_overrides_runpath" = yes ||
11683 test "$enable_shared" = no
; then
11684 # Fast installation is not necessary
11685 enable_fast_install
=needless
11690 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11691 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11692 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11693 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11694 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11695 echo "$as_me:$LINENO: result: yes" >&5
11696 echo "${ECHO_T}yes" >&6
11698 # FIXME - insert some real tests, host_os isn't really good enough
11701 if test -n "$STRIP" ; then
11702 striplib
="$STRIP -x"
11703 echo "$as_me:$LINENO: result: yes" >&5
11704 echo "${ECHO_T}yes" >&6
11706 echo "$as_me:$LINENO: result: no" >&5
11707 echo "${ECHO_T}no" >&6
11711 echo "$as_me:$LINENO: result: no" >&5
11712 echo "${ECHO_T}no" >&6
11717 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11718 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11719 library_names_spec
=
11720 libname_spec
='lib$name'
11724 postuninstall_cmds
=
11728 shlibpath_overrides_runpath
=unknown
11730 dynamic_linker
="$host_os ld.so"
11731 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11732 if test "$GCC" = yes; then
11733 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11734 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11735 # if the path contains ";" then we assume it to be the separator
11736 # otherwise default to the standard path separator (i.e. ":") - it is
11737 # assumed that no part of a normal pathname contains ";" but that should
11738 # okay in the real world where ";" in dirpaths is itself problematic.
11739 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11741 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11744 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11746 need_lib_prefix
=unknown
11747 hardcode_into_libs
=no
11749 # when you set need_version to no, make sure it does not cause -set_version
11750 # flags to be left without arguments
11751 need_version
=unknown
11756 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11757 shlibpath_var
=LIBPATH
11759 # AIX 3 has no versioning support, so we append a major version to the name.
11760 soname_spec
='${libname}${release}${shared_ext}$major'
11767 hardcode_into_libs
=yes
11768 if test "$host_cpu" = ia64
; then
11769 # AIX 5 supports IA64
11770 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11771 shlibpath_var
=LD_LIBRARY_PATH
11773 # With GCC up to 2.95.x, collect2 would create an import file
11774 # for dependence libraries. The import file would start with
11775 # the line `#! .'. This would cause the generated library to
11776 # depend on `.', always an invalid library. This was fixed in
11777 # development snapshots of GCC prior to 3.0.
11779 aix4 | aix4.
[01] | aix4.
[01].
*)
11780 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11782 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11785 can_build_shared
=no
11789 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11790 # soname into executable. Probably we can add versioning support to
11791 # collect2, so additional links can be useful in future.
11792 if test "$aix_use_runtimelinking" = yes; then
11793 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11794 # instead of lib<name>.a to let people know that these are not
11795 # typical AIX shared libraries.
11796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11798 # We preserve .a as extension for shared libraries through AIX4.2
11799 # and later when we are not doing run time linking.
11800 library_names_spec
='${libname}${release}.a $libname.a'
11801 soname_spec
='${libname}${release}${shared_ext}$major'
11803 shlibpath_var
=LIBPATH
11808 library_names_spec
='$libname.ixlibrary $libname.a'
11809 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11810 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'
11814 library_names_spec
='${libname}${shared_ext}'
11815 dynamic_linker
="$host_os ld.so"
11816 shlibpath_var
=LIBRARY_PATH
11822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11823 soname_spec
='${libname}${release}${shared_ext}$major'
11824 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11825 shlibpath_var
=LD_LIBRARY_PATH
11826 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11827 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11828 # the default ld.so.conf also contains /usr/contrib/lib and
11829 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11830 # libtool to hard-code these into programs
11833 cygwin
* | mingw
* | pw32
*)
11834 version_type
=windows
11839 case $GCC,$host_os in
11840 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11841 library_names_spec
='$libname.dll.a'
11842 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11843 postinstall_cmds
='base_file=`basename \${file}`~
11844 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11845 dldir=$destdir/`dirname \$dlpath`~
11846 test -d \$dldir || mkdir -p \$dldir~
11847 $install_prog $dir/$dlname \$dldir/$dlname'
11848 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11849 dlpath=$dir/\$dldll~
11851 shlibpath_overrides_runpath
=yes
11855 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11856 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11857 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
11860 # MinGW DLLs use traditional 'lib' prefix
11861 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11862 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11863 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11864 # It is most probably a Windows format PATH printed by
11865 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11866 # path with ; separators, and with drive letters. We can handle the
11867 # drive letters (cygwin fileutils understands them), so leave them,
11868 # especially as we might pass files found there to a mingw objdump,
11869 # which wouldn't understand a cygwinified path. Ahh.
11870 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11872 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11876 # pw32 DLLs use 'pw' prefix rather than 'lib'
11877 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11883 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11886 dynamic_linker
='Win32 ld.exe'
11887 # FIXME: first we should search . and the directory the executable is in
11891 darwin
* | rhapsody
*)
11892 dynamic_linker
="$host_os dyld"
11893 version_type
=darwin
11896 # FIXME: Relying on posixy $() will cause problems for
11897 # cross-compilation, but unfortunately the echo tests do not
11898 # yet detect zsh echo's removal of \ escapes.
11899 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11900 soname_spec
='${libname}${release}${major}$shared_ext'
11901 shlibpath_overrides_runpath
=yes
11902 shlibpath_var
=DYLD_LIBRARY_PATH
11903 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
11904 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11905 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
11906 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"`
11908 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11916 soname_spec
='${libname}${release}${shared_ext}$major'
11917 shlibpath_var
=LD_LIBRARY_PATH
11925 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11926 version_type
=freebsd-
$objformat
11927 case $version_type in
11929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11934 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11938 shlibpath_var
=LD_LIBRARY_PATH
11941 shlibpath_overrides_runpath
=yes
11943 freebsd3.01
* | freebsdelf3.01
*)
11944 shlibpath_overrides_runpath
=yes
11945 hardcode_into_libs
=yes
11948 shlibpath_overrides_runpath
=no
11949 hardcode_into_libs
=yes
11958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11959 soname_spec
='${libname}${release}${shared_ext}$major'
11960 shlibpath_var
=LD_LIBRARY_PATH
11961 hardcode_into_libs
=yes
11964 hpux9
* | hpux10
* | hpux11
*)
11965 # Give a soname corresponding to the major version so that dld.sl refuses to
11966 # link against other versions.
11970 case "$host_cpu" in
11973 hardcode_into_libs
=yes
11974 dynamic_linker
="$host_os dld.so"
11975 shlibpath_var
=LD_LIBRARY_PATH
11976 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11978 soname_spec
='${libname}${release}${shared_ext}$major'
11979 if test "X$HPUX_IA64_MODE" = X32
; then
11980 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11982 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11984 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11988 hardcode_into_libs
=yes
11989 dynamic_linker
="$host_os dld.sl"
11990 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11991 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11993 soname_spec
='${libname}${release}${shared_ext}$major'
11994 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11995 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11999 dynamic_linker
="$host_os dld.sl"
12000 shlibpath_var
=SHLIB_PATH
12001 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12003 soname_spec
='${libname}${release}${shared_ext}$major'
12006 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12007 postinstall_cmds
='chmod 555 $lib'
12010 irix5
* | irix6
* | nonstopux
*)
12012 nonstopux
*) version_type
=nonstopux
;;
12014 if test "$lt_cv_prog_gnu_ld" = yes; then
12022 soname_spec
='${libname}${release}${shared_ext}$major'
12023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12025 irix5
* | nonstopux
*)
12026 libsuff
= shlibsuff
=
12029 case $LD in # libtool.m4 will add one of these switches to LD
12030 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12031 libsuff
= shlibsuff
= libmagic
=32-bit;;
12032 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12033 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12034 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12035 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12036 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12040 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12041 shlibpath_overrides_runpath
=no
12042 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12043 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12044 hardcode_into_libs
=yes
12047 # No shared lib support for Linux oldld, aout, or coff.
12048 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12052 # This must be Linux ELF.
12057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12058 soname_spec
='${libname}${release}${shared_ext}$major'
12059 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12060 shlibpath_var
=LD_LIBRARY_PATH
12061 shlibpath_overrides_runpath
=no
12062 # This implies no fast_install, which is unacceptable.
12063 # Some rework will be needed to allow for fast_install
12064 # before this can be enabled.
12065 hardcode_into_libs
=yes
12067 # We used to test for /lib/ld.so.1 and disable shared libraries on
12068 # powerpc, because MkLinux only supported shared libraries with the
12069 # GNU dynamic linker. Since this was broken with cross compilers,
12070 # most powerpc-linux boxes support dynamic linking these days and
12071 # people can always --disable-shared, the test was removed, and we
12072 # assume the GNU/Linux dynamic linker is in use.
12073 dynamic_linker
='GNU/Linux ld.so'
12080 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12082 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12083 dynamic_linker
='NetBSD (a.out) ld.so'
12085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
12086 soname_spec
='${libname}${release}${shared_ext}$major'
12087 dynamic_linker
='NetBSD ld.elf_so'
12089 shlibpath_var
=LD_LIBRARY_PATH
12090 shlibpath_overrides_runpath
=yes
12091 hardcode_into_libs
=yes
12096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12097 shlibpath_var
=LD_LIBRARY_PATH
12098 shlibpath_overrides_runpath
=yes
12105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12106 soname_spec
='${libname}${release}${shared_ext}$major'
12107 shlibpath_var
=LD_LIBRARY_PATH
12108 shlibpath_overrides_runpath
=yes
12115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12116 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12117 shlibpath_var
=LD_LIBRARY_PATH
12118 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12120 openbsd2.
[89] | openbsd2.
[89].
*)
12121 shlibpath_overrides_runpath
=no
12124 shlibpath_overrides_runpath
=yes
12128 shlibpath_overrides_runpath
=yes
12133 libname_spec
='$name'
12136 library_names_spec
='$libname${shared_ext} $libname.a'
12137 dynamic_linker
='OS/2 ld.exe'
12138 shlibpath_var
=LIBPATH
12141 osf3
* | osf4
* | osf5
*)
12145 soname_spec
='${libname}${release}${shared_ext}$major'
12146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12147 shlibpath_var
=LD_LIBRARY_PATH
12148 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12149 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12154 soname_spec
='${libname}${release}${shared_ext}$major'
12155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12156 shlibpath_var
=LD_LIBRARY_PATH
12163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12164 soname_spec
='${libname}${release}${shared_ext}$major'
12165 shlibpath_var
=LD_LIBRARY_PATH
12166 shlibpath_overrides_runpath
=yes
12167 hardcode_into_libs
=yes
12168 # ldd complains unless libraries are executable
12169 postinstall_cmds
='chmod +x $lib'
12174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12175 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12176 shlibpath_var
=LD_LIBRARY_PATH
12177 shlibpath_overrides_runpath
=yes
12178 if test "$with_gnu_ld" = yes; then
12184 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12187 soname_spec
='${libname}${release}${shared_ext}$major'
12188 shlibpath_var
=LD_LIBRARY_PATH
12189 case $host_vendor in
12191 shlibpath_overrides_runpath
=no
12193 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12194 runpath_var
=LD_RUN_PATH
12202 shlibpath_overrides_runpath
=no
12203 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12209 if test -d /usr
/nec
;then
12211 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12212 soname_spec
='$libname${shared_ext}.$major'
12213 shlibpath_var
=LD_LIBRARY_PATH
12219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12220 soname_spec
='${libname}${release}${shared_ext}$major'
12221 shlibpath_var
=LD_LIBRARY_PATH
12228 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12229 echo "${ECHO_T}$dynamic_linker" >&6
12230 test "$dynamic_linker" = no
&& can_build_shared
=no
12232 if test "x$enable_dlopen" != xyes
; then
12233 enable_dlopen
=unknown
12234 enable_dlopen_self
=unknown
12235 enable_dlopen_self_static
=unknown
12242 lt_cv_dlopen
="load_add_on"
12244 lt_cv_dlopen_self
=yes
12248 lt_cv_dlopen
="LoadLibrary"
12253 lt_cv_dlopen
="dlopen"
12258 # if libdl is installed we need to link against it
12259 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12260 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12261 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12262 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 ac_check_lib_save_LIBS
=$LIBS
12266 cat >conftest.
$ac_ext <<_ACEOF
12269 cat confdefs.h
>>conftest.
$ac_ext
12270 cat >>conftest.
$ac_ext <<_ACEOF
12271 /* end confdefs.h. */
12273 /* Override any gcc2 internal prototype to avoid an error. */
12277 /* We use char because int might match the return type of a gcc2
12278 builtin and then its argument prototype would still apply. */
12288 rm -f conftest.
$ac_objext conftest
$ac_exeext
12289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12290 (eval $ac_link) 2>conftest.er1
12292 grep -v '^ *+' conftest.er1
>conftest.err
12294 cat conftest.err
>&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); } &&
12297 { ac_try
='test -z "$ac_cxx_werror_flag"
12298 || test ! -s conftest.err'
12299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12300 (eval $ac_try) 2>&5
12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 (exit $ac_status); }; } &&
12304 { ac_try
='test -s conftest$ac_exeext'
12305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12306 (eval $ac_try) 2>&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); }; }; then
12310 ac_cv_lib_dl_dlopen
=yes
12312 echo "$as_me: failed program was:" >&5
12313 sed 's/^/| /' conftest.
$ac_ext >&5
12315 ac_cv_lib_dl_dlopen
=no
12317 rm -f conftest.err conftest.
$ac_objext \
12318 conftest
$ac_exeext conftest.
$ac_ext
12319 LIBS
=$ac_check_lib_save_LIBS
12321 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12322 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12323 if test $ac_cv_lib_dl_dlopen = yes; then
12324 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12327 lt_cv_dlopen
="dyld"
12329 lt_cv_dlopen_self
=yes
12336 echo "$as_me:$LINENO: checking for shl_load" >&5
12337 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12338 if test "${ac_cv_func_shl_load+set}" = set; then
12339 echo $ECHO_N "(cached) $ECHO_C" >&6
12341 cat >conftest.
$ac_ext <<_ACEOF
12344 cat confdefs.h
>>conftest.
$ac_ext
12345 cat >>conftest.
$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12347 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12349 #define shl_load innocuous_shl_load
12351 /* System header to define __stub macros and hopefully few prototypes,
12352 which can conflict with char shl_load (); below.
12353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12354 <limits.h> exists even on freestanding compilers. */
12357 # include <limits.h>
12359 # include <assert.h>
12364 /* Override any gcc2 internal prototype to avoid an error. */
12369 /* We use char because int might match the return type of a gcc2
12370 builtin and then its argument prototype would still apply. */
12372 /* The GNU C library defines this for functions which it implements
12373 to always fail with ENOSYS. Some functions are actually named
12374 something starting with __ and the normal name is an alias. */
12375 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12378 char (*f) () = shl_load;
12387 return f != shl_load;
12392 rm -f conftest.
$ac_objext conftest
$ac_exeext
12393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12394 (eval $ac_link) 2>conftest.er1
12396 grep -v '^ *+' conftest.er1
>conftest.err
12398 cat conftest.err
>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); } &&
12401 { ac_try
='test -z "$ac_cxx_werror_flag"
12402 || test ! -s conftest.err'
12403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12404 (eval $ac_try) 2>&5
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); }; } &&
12408 { ac_try
='test -s conftest$ac_exeext'
12409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12410 (eval $ac_try) 2>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }; }; then
12414 ac_cv_func_shl_load
=yes
12416 echo "$as_me: failed program was:" >&5
12417 sed 's/^/| /' conftest.
$ac_ext >&5
12419 ac_cv_func_shl_load
=no
12421 rm -f conftest.err conftest.
$ac_objext \
12422 conftest
$ac_exeext conftest.
$ac_ext
12424 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12425 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12426 if test $ac_cv_func_shl_load = yes; then
12427 lt_cv_dlopen
="shl_load"
12429 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12430 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12431 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12432 echo $ECHO_N "(cached) $ECHO_C" >&6
12434 ac_check_lib_save_LIBS
=$LIBS
12436 cat >conftest.
$ac_ext <<_ACEOF
12439 cat confdefs.h
>>conftest.
$ac_ext
12440 cat >>conftest.
$ac_ext <<_ACEOF
12441 /* end confdefs.h. */
12443 /* Override any gcc2 internal prototype to avoid an error. */
12447 /* We use char because int might match the return type of a gcc2
12448 builtin and then its argument prototype would still apply. */
12458 rm -f conftest.
$ac_objext conftest
$ac_exeext
12459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12460 (eval $ac_link) 2>conftest.er1
12462 grep -v '^ *+' conftest.er1
>conftest.err
12464 cat conftest.err
>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); } &&
12467 { ac_try
='test -z "$ac_cxx_werror_flag"
12468 || test ! -s conftest.err'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; } &&
12474 { ac_try
='test -s conftest$ac_exeext'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; }; then
12480 ac_cv_lib_dld_shl_load
=yes
12482 echo "$as_me: failed program was:" >&5
12483 sed 's/^/| /' conftest.
$ac_ext >&5
12485 ac_cv_lib_dld_shl_load
=no
12487 rm -f conftest.err conftest.
$ac_objext \
12488 conftest
$ac_exeext conftest.
$ac_ext
12489 LIBS
=$ac_check_lib_save_LIBS
12491 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12492 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12493 if test $ac_cv_lib_dld_shl_load = yes; then
12494 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12496 echo "$as_me:$LINENO: checking for dlopen" >&5
12497 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12498 if test "${ac_cv_func_dlopen+set}" = set; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 cat >conftest.
$ac_ext <<_ACEOF
12504 cat confdefs.h
>>conftest.
$ac_ext
12505 cat >>conftest.
$ac_ext <<_ACEOF
12506 /* end confdefs.h. */
12507 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12509 #define dlopen innocuous_dlopen
12511 /* System header to define __stub macros and hopefully few prototypes,
12512 which can conflict with char dlopen (); below.
12513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12514 <limits.h> exists even on freestanding compilers. */
12517 # include <limits.h>
12519 # include <assert.h>
12524 /* Override any gcc2 internal prototype to avoid an error. */
12529 /* We use char because int might match the return type of a gcc2
12530 builtin and then its argument prototype would still apply. */
12532 /* The GNU C library defines this for functions which it implements
12533 to always fail with ENOSYS. Some functions are actually named
12534 something starting with __ and the normal name is an alias. */
12535 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12538 char (*f) () = dlopen;
12547 return f != dlopen;
12552 rm -f conftest.
$ac_objext conftest
$ac_exeext
12553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12554 (eval $ac_link) 2>conftest.er1
12556 grep -v '^ *+' conftest.er1
>conftest.err
12558 cat conftest.err
>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); } &&
12561 { ac_try
='test -z "$ac_cxx_werror_flag"
12562 || test ! -s conftest.err'
12563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12564 (eval $ac_try) 2>&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); }; } &&
12568 { ac_try
='test -s conftest$ac_exeext'
12569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12570 (eval $ac_try) 2>&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); }; }; then
12574 ac_cv_func_dlopen
=yes
12576 echo "$as_me: failed program was:" >&5
12577 sed 's/^/| /' conftest.
$ac_ext >&5
12579 ac_cv_func_dlopen
=no
12581 rm -f conftest.err conftest.
$ac_objext \
12582 conftest
$ac_exeext conftest.
$ac_ext
12584 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12585 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12586 if test $ac_cv_func_dlopen = yes; then
12587 lt_cv_dlopen
="dlopen"
12589 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12590 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12591 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12592 echo $ECHO_N "(cached) $ECHO_C" >&6
12594 ac_check_lib_save_LIBS
=$LIBS
12596 cat >conftest.
$ac_ext <<_ACEOF
12599 cat confdefs.h
>>conftest.
$ac_ext
12600 cat >>conftest.
$ac_ext <<_ACEOF
12601 /* end confdefs.h. */
12603 /* Override any gcc2 internal prototype to avoid an error. */
12607 /* We use char because int might match the return type of a gcc2
12608 builtin and then its argument prototype would still apply. */
12618 rm -f conftest.
$ac_objext conftest
$ac_exeext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12620 (eval $ac_link) 2>conftest.er1
12622 grep -v '^ *+' conftest.er1
>conftest.err
12624 cat conftest.err
>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try
='test -z "$ac_cxx_werror_flag"
12628 || test ! -s conftest.err'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; } &&
12634 { ac_try
='test -s conftest$ac_exeext'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; }; then
12640 ac_cv_lib_dl_dlopen
=yes
12642 echo "$as_me: failed program was:" >&5
12643 sed 's/^/| /' conftest.
$ac_ext >&5
12645 ac_cv_lib_dl_dlopen
=no
12647 rm -f conftest.err conftest.
$ac_objext \
12648 conftest
$ac_exeext conftest.
$ac_ext
12649 LIBS
=$ac_check_lib_save_LIBS
12651 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12652 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12653 if test $ac_cv_lib_dl_dlopen = yes; then
12654 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12656 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12657 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12658 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12661 ac_check_lib_save_LIBS
=$LIBS
12662 LIBS
="-lsvld $LIBS"
12663 cat >conftest.
$ac_ext <<_ACEOF
12666 cat confdefs.h
>>conftest.
$ac_ext
12667 cat >>conftest.
$ac_ext <<_ACEOF
12668 /* end confdefs.h. */
12670 /* Override any gcc2 internal prototype to avoid an error. */
12674 /* We use char because int might match the return type of a gcc2
12675 builtin and then its argument prototype would still apply. */
12685 rm -f conftest.
$ac_objext conftest
$ac_exeext
12686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12687 (eval $ac_link) 2>conftest.er1
12689 grep -v '^ *+' conftest.er1
>conftest.err
12691 cat conftest.err
>&5
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); } &&
12694 { ac_try
='test -z "$ac_cxx_werror_flag"
12695 || test ! -s conftest.err'
12696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12697 (eval $ac_try) 2>&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); }; } &&
12701 { ac_try
='test -s conftest$ac_exeext'
12702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12703 (eval $ac_try) 2>&5
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); }; }; then
12707 ac_cv_lib_svld_dlopen
=yes
12709 echo "$as_me: failed program was:" >&5
12710 sed 's/^/| /' conftest.
$ac_ext >&5
12712 ac_cv_lib_svld_dlopen
=no
12714 rm -f conftest.err conftest.
$ac_objext \
12715 conftest
$ac_exeext conftest.
$ac_ext
12716 LIBS
=$ac_check_lib_save_LIBS
12718 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12719 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12720 if test $ac_cv_lib_svld_dlopen = yes; then
12721 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12723 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12724 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12725 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12726 echo $ECHO_N "(cached) $ECHO_C" >&6
12728 ac_check_lib_save_LIBS
=$LIBS
12730 cat >conftest.
$ac_ext <<_ACEOF
12733 cat confdefs.h
>>conftest.
$ac_ext
12734 cat >>conftest.
$ac_ext <<_ACEOF
12735 /* end confdefs.h. */
12737 /* Override any gcc2 internal prototype to avoid an error. */
12741 /* We use char because int might match the return type of a gcc2
12742 builtin and then its argument prototype would still apply. */
12752 rm -f conftest.
$ac_objext conftest
$ac_exeext
12753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12754 (eval $ac_link) 2>conftest.er1
12756 grep -v '^ *+' conftest.er1
>conftest.err
12758 cat conftest.err
>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); } &&
12761 { ac_try
='test -z "$ac_cxx_werror_flag"
12762 || test ! -s conftest.err'
12763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12764 (eval $ac_try) 2>&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); }; } &&
12768 { ac_try
='test -s conftest$ac_exeext'
12769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12770 (eval $ac_try) 2>&5
12772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773 (exit $ac_status); }; }; then
12774 ac_cv_lib_dld_dld_link
=yes
12776 echo "$as_me: failed program was:" >&5
12777 sed 's/^/| /' conftest.
$ac_ext >&5
12779 ac_cv_lib_dld_dld_link
=no
12781 rm -f conftest.err conftest.
$ac_objext \
12782 conftest
$ac_exeext conftest.
$ac_ext
12783 LIBS
=$ac_check_lib_save_LIBS
12785 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12786 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12787 if test $ac_cv_lib_dld_dld_link = yes; then
12788 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12809 if test "x$lt_cv_dlopen" != xno
; then
12815 case $lt_cv_dlopen in
12817 save_CPPFLAGS
="$CPPFLAGS"
12818 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12820 save_LDFLAGS
="$LDFLAGS"
12821 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12824 LIBS
="$lt_cv_dlopen_libs $LIBS"
12826 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12827 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12828 if test "${lt_cv_dlopen_self+set}" = set; then
12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12831 if test "$cross_compiling" = yes; then :
12832 lt_cv_dlopen_self
=cross
12834 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12835 lt_status
=$lt_dlunknown
12836 cat > conftest.
$ac_ext <<EOF
12837 #line 12837 "configure"
12838 #include "confdefs.h"
12847 # define LT_DLGLOBAL RTLD_GLOBAL
12850 # define LT_DLGLOBAL DL_GLOBAL
12852 # define LT_DLGLOBAL 0
12856 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12857 find out it does not work in some platform. */
12858 #ifndef LT_DLLAZY_OR_NOW
12860 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12863 # define LT_DLLAZY_OR_NOW DL_LAZY
12866 # define LT_DLLAZY_OR_NOW RTLD_NOW
12869 # define LT_DLLAZY_OR_NOW DL_NOW
12871 # define LT_DLLAZY_OR_NOW 0
12879 extern "C" void exit (int);
12882 void fnord() { int i=42;}
12885 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12886 int status = $lt_dlunknown;
12890 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12891 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12892 /* dlclose (self); */
12898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12899 (eval $ac_link) 2>&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12903 (.
/conftest
; exit; ) 2>/dev
/null
12905 case x
$lt_status in
12906 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12907 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12908 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12911 # compilation failed
12912 lt_cv_dlopen_self
=no
12919 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12920 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12922 if test "x$lt_cv_dlopen_self" = xyes
; then
12923 LDFLAGS
="$LDFLAGS $link_static_flag"
12924 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12925 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12926 if test "${lt_cv_dlopen_self_static+set}" = set; then
12927 echo $ECHO_N "(cached) $ECHO_C" >&6
12929 if test "$cross_compiling" = yes; then :
12930 lt_cv_dlopen_self_static
=cross
12932 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12933 lt_status
=$lt_dlunknown
12934 cat > conftest.
$ac_ext <<EOF
12935 #line 12935 "configure"
12936 #include "confdefs.h"
12945 # define LT_DLGLOBAL RTLD_GLOBAL
12948 # define LT_DLGLOBAL DL_GLOBAL
12950 # define LT_DLGLOBAL 0
12954 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12955 find out it does not work in some platform. */
12956 #ifndef LT_DLLAZY_OR_NOW
12958 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12961 # define LT_DLLAZY_OR_NOW DL_LAZY
12964 # define LT_DLLAZY_OR_NOW RTLD_NOW
12967 # define LT_DLLAZY_OR_NOW DL_NOW
12969 # define LT_DLLAZY_OR_NOW 0
12977 extern "C" void exit (int);
12980 void fnord() { int i=42;}
12983 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12984 int status = $lt_dlunknown;
12988 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12989 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12990 /* dlclose (self); */
12996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12997 (eval $ac_link) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13001 (.
/conftest
; exit; ) 2>/dev
/null
13003 case x
$lt_status in
13004 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13005 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13006 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
13009 # compilation failed
13010 lt_cv_dlopen_self_static
=no
13017 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13018 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13021 CPPFLAGS
="$save_CPPFLAGS"
13022 LDFLAGS
="$save_LDFLAGS"
13027 case $lt_cv_dlopen_self in
13028 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13029 *) enable_dlopen_self
=unknown
;;
13032 case $lt_cv_dlopen_self_static in
13033 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13034 *) enable_dlopen_self_static
=unknown
;;
13039 # The else clause should only fire when bootstrapping the
13040 # libtool distribution, otherwise you forgot to ship ltmain.sh
13041 # with your package, and you will get complaints that there are
13042 # no rules to generate ltmain.sh.
13043 if test -f "$ltmain"; then
13044 # See if we are running on zsh, and set the options which allow our commands through
13045 # without removal of \ escapes.
13046 if test -n "${ZSH_VERSION+set}" ; then
13047 setopt NO_GLOB_SUBST
13049 # Now quote all the things that may contain metacharacters while being
13050 # careful not to overquote the AC_SUBSTed values. We take copies of the
13051 # variables and quote the copies for generation of the libtool script.
13052 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
13053 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13054 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13055 deplibs_check_method reload_flag reload_cmds need_locks \
13056 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13057 lt_cv_sys_global_symbol_to_c_name_address \
13058 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13059 old_postinstall_cmds old_postuninstall_cmds \
13063 lt_prog_compiler_wl_CXX \
13064 lt_prog_compiler_pic_CXX \
13065 lt_prog_compiler_static_CXX \
13066 lt_prog_compiler_no_builtin_flag_CXX \
13067 export_dynamic_flag_spec_CXX \
13068 thread_safe_flag_spec_CXX \
13069 whole_archive_flag_spec_CXX \
13070 enable_shared_with_static_runtimes_CXX \
13071 old_archive_cmds_CXX \
13072 old_archive_from_new_cmds_CXX \
13073 predep_objects_CXX \
13074 postdep_objects_CXX \
13077 compiler_lib_search_path_CXX \
13079 archive_expsym_cmds_CXX \
13080 postinstall_cmds_CXX \
13081 postuninstall_cmds_CXX \
13082 old_archive_from_expsyms_cmds_CXX \
13083 allow_undefined_flag_CXX \
13084 no_undefined_flag_CXX \
13085 export_symbols_cmds_CXX \
13086 hardcode_libdir_flag_spec_CXX \
13087 hardcode_libdir_flag_spec_ld_CXX \
13088 hardcode_libdir_separator_CXX \
13089 hardcode_automatic_CXX \
13091 module_expsym_cmds_CXX \
13092 lt_cv_prog_compiler_c_o_CXX \
13093 exclude_expsyms_CXX \
13094 include_expsyms_CXX
; do
13097 old_archive_cmds_CXX | \
13098 old_archive_from_new_cmds_CXX | \
13099 archive_cmds_CXX | \
13100 archive_expsym_cmds_CXX | \
13101 module_cmds_CXX | \
13102 module_expsym_cmds_CXX | \
13103 old_archive_from_expsyms_cmds_CXX | \
13104 export_symbols_cmds_CXX | \
13105 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13106 postinstall_cmds | postuninstall_cmds | \
13107 old_postinstall_cmds | old_postuninstall_cmds | \
13108 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13109 # Double-quote double-evaled strings.
13110 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13113 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13119 *'\$0 --fallback-echo"')
13120 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13126 cat <<__EOF__ >> "$cfgfile"
13127 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13129 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13131 # Shell to use when invoking shell scripts.
13134 # Whether or not to build shared libraries.
13135 build_libtool_libs=$enable_shared
13137 # Whether or not to build static libraries.
13138 build_old_libs=$enable_static
13140 # Whether or not to add -lc for building shared libraries.
13141 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13143 # Whether or not to disallow shared libs when runtime libs are static
13144 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13146 # Whether or not to optimize for fast installation.
13147 fast_install=$enable_fast_install
13150 host_alias=$host_alias
13153 # An echo program that does not interpret backslashes.
13158 AR_FLAGS=$lt_AR_FLAGS
13163 # A language-specific compiler.
13164 CC=$lt_compiler_CXX
13166 # Is the compiler the GNU C compiler?
13172 # The linker used to build libraries.
13175 # Whether we need hard or soft links.
13178 # A BSD-compatible nm program.
13181 # A symbol stripping program
13184 # Used to examine libraries when file_magic_cmd begins "file"
13185 MAGIC_CMD=$MAGIC_CMD
13187 # Used on cygwin: DLL creation program.
13190 # Used on cygwin: object dumper.
13193 # Used on cygwin: assembler.
13196 # The name of the directory that contains temporary libtool files.
13199 # How to create reloadable object files.
13200 reload_flag=$lt_reload_flag
13201 reload_cmds=$lt_reload_cmds
13203 # How to pass a linker flag through the compiler.
13204 wl=$lt_lt_prog_compiler_wl_CXX
13206 # Object file suffix (normally "o").
13207 objext="$ac_objext"
13209 # Old archive suffix (normally "a").
13212 # Shared library suffix (normally ".so").
13215 # Executable file suffix (normally "").
13218 # Additional compiler flags for building library objects.
13219 pic_flag=$lt_lt_prog_compiler_pic_CXX
13222 # What is the maximum length of a command?
13223 max_cmd_len=$lt_cv_sys_max_cmd_len
13225 # Does compiler simultaneously support -c and -o options?
13226 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13228 # Must we lock files when doing compilation ?
13229 need_locks=$lt_need_locks
13231 # Do we need the lib prefix for modules?
13232 need_lib_prefix=$need_lib_prefix
13234 # Do we need a version for libraries?
13235 need_version=$need_version
13237 # Whether dlopen is supported.
13238 dlopen_support=$enable_dlopen
13240 # Whether dlopen of programs is supported.
13241 dlopen_self=$enable_dlopen_self
13243 # Whether dlopen of statically linked programs is supported.
13244 dlopen_self_static=$enable_dlopen_self_static
13246 # Compiler flag to prevent dynamic linking.
13247 link_static_flag=$lt_lt_prog_compiler_static_CXX
13249 # Compiler flag to turn off builtin functions.
13250 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13252 # Compiler flag to allow reflexive dlopens.
13253 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13255 # Compiler flag to generate shared objects directly from archives.
13256 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13258 # Compiler flag to generate thread-safe objects.
13259 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13261 # Library versioning type.
13262 version_type=$version_type
13264 # Format of library name prefix.
13265 libname_spec=$lt_libname_spec
13267 # List of archive names. First name is the real one, the rest are links.
13268 # The last name is the one that the linker finds with -lNAME.
13269 library_names_spec=$lt_library_names_spec
13271 # The coded name of the library, if different from the real name.
13272 soname_spec=$lt_soname_spec
13274 # Commands used to build and install an old-style archive.
13276 old_archive_cmds=$lt_old_archive_cmds_CXX
13277 old_postinstall_cmds=$lt_old_postinstall_cmds
13278 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13280 # Create an old-style archive from a shared archive.
13281 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13283 # Create a temporary old-style archive to link instead of a shared archive.
13284 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13286 # Commands used to build and install a shared archive.
13287 archive_cmds=$lt_archive_cmds_CXX
13288 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13289 postinstall_cmds=$lt_postinstall_cmds
13290 postuninstall_cmds=$lt_postuninstall_cmds
13292 # Commands used to build a loadable module (assumed same as above if empty)
13293 module_cmds=$lt_module_cmds_CXX
13294 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13296 # Commands to strip libraries.
13297 old_striplib=$lt_old_striplib
13298 striplib=$lt_striplib
13300 # Dependencies to place before the objects being linked to create a
13302 predep_objects=$lt_predep_objects_CXX
13304 # Dependencies to place after the objects being linked to create a
13306 postdep_objects=$lt_postdep_objects_CXX
13308 # Dependencies to place before the objects being linked to create a
13310 predeps=$lt_predeps_CXX
13312 # Dependencies to place after the objects being linked to create a
13314 postdeps=$lt_postdeps_CXX
13316 # The library search path used internally by the compiler when linking
13317 # a shared library.
13318 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13320 # Method to check whether dependent libraries are shared objects.
13321 deplibs_check_method=$lt_deplibs_check_method
13323 # Command to use when deplibs_check_method == file_magic.
13324 file_magic_cmd=$lt_file_magic_cmd
13326 # Flag that allows shared libraries with undefined symbols to be built.
13327 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13329 # Flag that forces no undefined symbols.
13330 no_undefined_flag=$lt_no_undefined_flag_CXX
13332 # Commands used to finish a libtool library installation in a directory.
13333 finish_cmds=$lt_finish_cmds
13335 # Same as above, but a single script fragment to be evaled but not shown.
13336 finish_eval=$lt_finish_eval
13338 # Take the output of nm and produce a listing of raw symbols and C names.
13339 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13341 # Transform the output of nm in a proper C declaration
13342 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13344 # Transform the output of nm in a C name address pair
13345 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13347 # This is the shared library runtime path variable.
13348 runpath_var=$runpath_var
13350 # This is the shared library path variable.
13351 shlibpath_var=$shlibpath_var
13353 # Is shlibpath searched before the hard-coded library search path?
13354 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13356 # How to hardcode a shared library path into an executable.
13357 hardcode_action=$hardcode_action_CXX
13359 # Whether we should hardcode library paths into libraries.
13360 hardcode_into_libs=$hardcode_into_libs
13362 # Flag to hardcode \$libdir into a binary during linking.
13363 # This must work even if \$libdir does not exist.
13364 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13366 # If ld is used when linking, flag to hardcode \$libdir into
13367 # a binary during linking. This must work even if \$libdir does
13369 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13371 # Whether we need a single -rpath flag with a separated argument.
13372 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13374 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13375 # resulting binary.
13376 hardcode_direct=$hardcode_direct_CXX
13378 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13379 # resulting binary.
13380 hardcode_minus_L=$hardcode_minus_L_CXX
13382 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13383 # the resulting binary.
13384 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13386 # Set to yes if building a shared library automatically hardcodes DIR into the library
13387 # and all subsequent libraries and executables linked against it.
13388 hardcode_automatic=$hardcode_automatic_CXX
13390 # Variables whose values should be saved in libtool wrapper scripts and
13391 # restored at relink time.
13392 variables_saved_for_relink="$variables_saved_for_relink"
13394 # Whether libtool must link a program against all its dependency libraries.
13395 link_all_deplibs=$link_all_deplibs_CXX
13397 # Compile-time system search path for libraries
13398 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13400 # Run-time system search path for libraries
13401 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13403 # Fix the shell variable \$srcfile for the compiler.
13404 fix_srcfile_path="$fix_srcfile_path_CXX"
13406 # Set to yes if exported symbols are required.
13407 always_export_symbols=$always_export_symbols_CXX
13409 # The commands to list exported symbols.
13410 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13412 # The commands to extract the exported symbol list from a shared archive.
13413 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13415 # Symbols that should not be listed in the preloaded symbols.
13416 exclude_expsyms=$lt_exclude_expsyms_CXX
13418 # Symbols that must always be exported.
13419 include_expsyms=$lt_include_expsyms_CXX
13421 # ### END LIBTOOL TAG CONFIG: $tagname
13427 # If there is no Makefile yet, we rely on a make rule to execute
13428 # `config.status --recheck' to rerun these tests and create the
13429 # libtool script then.
13430 test -f Makefile
&& make "$ltmain"
13435 ac_cpp
='$CPP $CPPFLAGS'
13436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13444 with_gnu_ldcxx
=$with_gnu_ld
13445 with_gnu_ld
=$lt_save_with_gnu_ld
13446 lt_cv_path_LDCXX
=$lt_cv_path_LD
13447 lt_cv_path_LD
=$lt_save_path_LD
13448 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13449 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13457 if test -n "$F77" && test "X$F77" != "Xno"; then
13460 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13461 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13462 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13465 archive_cmds_need_lc_F77
=no
13466 allow_undefined_flag_F77
=
13467 always_export_symbols_F77
=no
13468 archive_expsym_cmds_F77
=
13469 export_dynamic_flag_spec_F77
=
13470 hardcode_direct_F77
=no
13471 hardcode_libdir_flag_spec_F77
=
13472 hardcode_libdir_flag_spec_ld_F77
=
13473 hardcode_libdir_separator_F77
=
13474 hardcode_minus_L_F77
=no
13475 hardcode_automatic_F77
=no
13477 module_expsym_cmds_F77
=
13478 link_all_deplibs_F77
=unknown
13479 old_archive_cmds_F77
=$old_archive_cmds
13480 no_undefined_flag_F77
=
13481 whole_archive_flag_spec_F77
=
13482 enable_shared_with_static_runtimes_F77
=no
13484 # Source file extension for f77 test sources.
13487 # Object file extension for compiled f77 test sources.
13491 # Code to be used in simple compile tests
13492 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13494 # Code to be used in simple link tests
13495 lt_simple_link_test_code
=" program t\n end\n"
13497 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13499 # If no C compiler was specified, use CC.
13502 # Allow CC to be a program name with arguments.
13506 # Allow CC to be a program name with arguments.
13511 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13513 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13514 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13515 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13516 echo "${ECHO_T}$can_build_shared" >&6
13518 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13519 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13520 test "$can_build_shared" = "no" && enable_shared
=no
13522 # On AIX, shared libraries and static libraries use the same namespace, and
13523 # are all built from PIC.
13526 test "$enable_shared" = yes && enable_static
=no
13527 if test -n "$RANLIB"; then
13528 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13529 postinstall_cmds
='$RANLIB $lib'
13533 test "$enable_shared" = yes && enable_static
=no
13536 echo "$as_me:$LINENO: result: $enable_shared" >&5
13537 echo "${ECHO_T}$enable_shared" >&6
13539 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13540 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13541 # Make sure either enable_shared or enable_static is yes.
13542 test "$enable_shared" = yes || enable_static
=yes
13543 echo "$as_me:$LINENO: result: $enable_static" >&5
13544 echo "${ECHO_T}$enable_static" >&6
13546 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13551 lt_prog_compiler_wl_F77
=
13552 lt_prog_compiler_pic_F77
=
13553 lt_prog_compiler_static_F77
=
13555 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13556 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13558 if test "$GCC" = yes; then
13559 lt_prog_compiler_wl_F77
='-Wl,'
13560 lt_prog_compiler_static_F77
='-static'
13564 # All AIX code is PIC.
13565 if test "$host_cpu" = ia64
; then
13566 # AIX 5 now supports IA64 processor
13567 lt_prog_compiler_static_F77
='-Bstatic'
13572 # FIXME: we need at least 68020 code to build shared libraries, but
13573 # adding the `-m68020' flag to GCC prevents building anything better,
13575 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13578 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13579 # PIC is the default for these OSes.
13582 mingw
* | pw32
* | os2
*)
13583 # This hack is so that the source file can tell whether it is being
13584 # built for inclusion in a dll (and should export symbols for example).
13585 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13588 darwin
* | rhapsody
*)
13589 # PIC is the default on this platform
13590 # Common symbols not allowed in MH_DYLIB files
13591 lt_prog_compiler_pic_F77
='-fno-common'
13595 # Just because we use GCC doesn't mean we suddenly get shared libraries
13596 # on systems that don't support them.
13597 lt_prog_compiler_can_build_shared_F77
=no
13602 if test -d /usr
/nec
; then
13603 lt_prog_compiler_pic_F77
=-Kconform_pic
13608 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13609 # not for PA HP-UX.
13610 case "$host_cpu" in
13615 lt_prog_compiler_pic_F77
='-fPIC'
13621 lt_prog_compiler_pic_F77
='-fPIC'
13625 # PORTME Check for flag to pass linker flags through the system compiler.
13628 lt_prog_compiler_wl_F77
='-Wl,'
13629 if test "$host_cpu" = ia64
; then
13630 # AIX 5 now supports IA64 processor
13631 lt_prog_compiler_static_F77
='-Bstatic'
13633 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13637 mingw
* | pw32
* | os2
*)
13638 # This hack is so that the source file can tell whether it is being
13639 # built for inclusion in a dll (and should export symbols for example).
13640 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13643 hpux9
* | hpux10
* | hpux11
*)
13644 lt_prog_compiler_wl_F77
='-Wl,'
13645 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13646 # not for PA HP-UX.
13647 case "$host_cpu" in
13652 lt_prog_compiler_pic_F77
='+Z'
13655 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13656 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13659 irix5
* | irix6
* | nonstopux
*)
13660 lt_prog_compiler_wl_F77
='-Wl,'
13661 # PIC (with -KPIC) is the default.
13662 lt_prog_compiler_static_F77
='-non_shared'
13666 lt_prog_compiler_pic_F77
='-KPIC'
13667 lt_prog_compiler_static_F77
='-Bstatic'
13673 lt_prog_compiler_wl_F77
='-Wl,'
13674 lt_prog_compiler_pic_F77
='-KPIC'
13675 lt_prog_compiler_static_F77
='-static'
13678 lt_prog_compiler_wl_F77
='-Wl,'
13679 # All Alpha code is PIC.
13680 lt_prog_compiler_static_F77
='-non_shared'
13685 osf3
* | osf4
* | osf5
*)
13686 lt_prog_compiler_wl_F77
='-Wl,'
13687 # All OSF/1 code is PIC.
13688 lt_prog_compiler_static_F77
='-non_shared'
13692 lt_prog_compiler_pic_F77
='-Kpic'
13693 lt_prog_compiler_static_F77
='-dn'
13697 lt_prog_compiler_wl_F77
='-Wl,'
13698 lt_prog_compiler_pic_F77
='-KPIC'
13699 lt_prog_compiler_static_F77
='-Bstatic'
13703 lt_prog_compiler_wl_F77
='-Qoption ld '
13704 lt_prog_compiler_pic_F77
='-PIC'
13705 lt_prog_compiler_static_F77
='-Bstatic'
13708 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13709 lt_prog_compiler_wl_F77
='-Wl,'
13710 lt_prog_compiler_pic_F77
='-KPIC'
13711 lt_prog_compiler_static_F77
='-Bstatic'
13715 if test -d /usr
/nec
;then
13716 lt_prog_compiler_pic_F77
='-Kconform_pic'
13717 lt_prog_compiler_static_F77
='-Bstatic'
13722 lt_prog_compiler_pic_F77
='-pic'
13723 lt_prog_compiler_static_F77
='-Bstatic'
13727 lt_prog_compiler_can_build_shared_F77
=no
13732 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13733 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13736 # Check to make sure the PIC flag actually works.
13738 if test -n "$lt_prog_compiler_pic_F77"; then
13739 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13740 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13741 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13742 echo $ECHO_N "(cached) $ECHO_C" >&6
13744 lt_prog_compiler_pic_works_F77
=no
13745 ac_outfile
=conftest.
$ac_objext
13746 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13747 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13748 # Insert the option either (1) after the last *FLAGS variable, or
13749 # (2) before a word containing "conftest.", or (3) at the end.
13750 # Note that $ac_compile itself does not contain backslashes and begins
13751 # with a dollar sign (not a hyphen), so the echo should work correctly.
13752 # The option is referenced via a variable to avoid confusing sed.
13753 lt_compile
=`echo "$ac_compile" | $SED \
13754 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13755 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13756 -e 's:$: $lt_compiler_flag:'`
13757 (eval echo "\"\$as_me:13757: $lt_compile\"" >&5)
13758 (eval "$lt_compile" 2>conftest.err
)
13760 cat conftest.err
>&5
13761 echo "$as_me:13761: \$? = $ac_status" >&5
13762 if (exit $ac_status) && test -s "$ac_outfile"; then
13763 # The compiler can only warn and ignore the option if not recognized
13764 # So say no if there are warnings
13765 if test ! -s conftest.err
; then
13766 lt_prog_compiler_pic_works_F77
=yes
13772 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13773 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13775 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13776 case $lt_prog_compiler_pic_F77 in
13778 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13781 lt_prog_compiler_pic_F77
=
13782 lt_prog_compiler_can_build_shared_F77
=no
13787 # For platforms which do not support PIC, -DPIC is meaningless:
13789 lt_prog_compiler_pic_F77
=
13792 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13796 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13797 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13798 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13799 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 lt_cv_prog_compiler_c_o_F77
=no
13802 $rm -r conftest
2>/dev
/null
13806 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13808 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13809 # that will create temporary files in the current directory regardless of
13810 # the output directory. Thus, making CWD read-only will cause this test
13811 # to fail, enabling locking or at least warning the user not to do parallel
13815 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13816 # Insert the option either (1) after the last *FLAGS variable, or
13817 # (2) before a word containing "conftest.", or (3) at the end.
13818 # Note that $ac_compile itself does not contain backslashes and begins
13819 # with a dollar sign (not a hyphen), so the echo should work correctly.
13820 lt_compile
=`echo "$ac_compile" | $SED \
13821 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13822 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13823 -e 's:$: $lt_compiler_flag:'`
13824 (eval echo "\"\$as_me:13824: $lt_compile\"" >&5)
13825 (eval "$lt_compile" 2>out
/conftest.err
)
13827 cat out
/conftest.err
>&5
13828 echo "$as_me:13828: \$? = $ac_status" >&5
13829 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13831 # The compiler can only warn and ignore the option if not recognized
13832 # So say no if there are warnings
13833 if test ! -s out
/conftest.err
; then
13834 lt_cv_prog_compiler_c_o_F77
=yes
13838 $rm conftest
* out
/*
13845 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13846 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13849 hard_links
="nottested"
13850 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13851 # do not overwrite the value of need_locks provided by the user
13852 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13853 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13856 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13858 ln conftest.a conftest.b
2>&5 || hard_links
=no
13859 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13860 echo "$as_me:$LINENO: result: $hard_links" >&5
13861 echo "${ECHO_T}$hard_links" >&6
13862 if test "$hard_links" = no
; then
13863 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13864 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13871 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13872 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13875 allow_undefined_flag_F77
=
13876 enable_shared_with_static_runtimes_F77
=no
13878 archive_expsym_cmds_F77
=
13879 old_archive_From_new_cmds_F77
=
13880 old_archive_from_expsyms_cmds_F77
=
13881 export_dynamic_flag_spec_F77
=
13882 whole_archive_flag_spec_F77
=
13883 thread_safe_flag_spec_F77
=
13884 hardcode_libdir_flag_spec_F77
=
13885 hardcode_libdir_flag_spec_ld_F77
=
13886 hardcode_libdir_separator_F77
=
13887 hardcode_direct_F77
=no
13888 hardcode_minus_L_F77
=no
13889 hardcode_shlibpath_var_F77
=unsupported
13890 link_all_deplibs_F77
=unknown
13891 hardcode_automatic_F77
=no
13893 module_expsym_cmds_F77
=
13894 always_export_symbols_F77
=no
13895 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13896 # include_expsyms should be a list of space-separated symbols to be *always*
13897 # included in the symbol list
13898 include_expsyms_F77
=
13899 # exclude_expsyms can be an extended regexp of symbols to exclude
13900 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13901 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13902 # as well as any symbol that contains `d'.
13903 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13904 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13905 # platforms (ab)use it in PIC code, but their linkers get confused if
13906 # the symbol is explicitly referenced. Since portable code cannot
13907 # rely on this symbol name, it's probably fine to never include it in
13908 # preloaded symbol tables.
13909 extract_expsyms_cmds
=
13912 cygwin
* | mingw
* | pw32
*)
13913 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13914 # When not using gcc, we currently assume that we are using
13915 # Microsoft Visual C++.
13916 if test "$GCC" != yes; then
13926 if test "$with_gnu_ld" = yes; then
13927 # If archive_cmds runs LD, not CC, wlarc should be empty
13930 # See if GNU ld supports shared libraries.
13932 aix3
* | aix4
* | aix5
*)
13933 # On AIX/PPC, the GNU linker is very broken
13934 if test "$host_cpu" != ia64
; then
13938 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13939 *** to be unable to reliably create shared libraries on AIX.
13940 *** Therefore, libtool is disabling shared libraries support. If you
13941 *** really care for shared libraries, you may want to modify your PATH
13942 *** so that a non-GNU linker is found, and then restart.
13949 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)'
13950 hardcode_libdir_flag_spec_F77
='-L$libdir'
13951 hardcode_minus_L_F77
=yes
13953 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13954 # that the semantics of dynamic libraries on AmigaOS, at least up
13955 # to version 4, is to share data among multiple programs linked
13956 # with the same dynamic library. Since this doesn't match the
13957 # behavior of shared libraries on other platforms, we can't use
13963 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13964 allow_undefined_flag_F77
=unsupported
13965 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13966 # support --undefined. This deserves some investigation. FIXME
13967 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13973 cygwin
* | mingw
* | pw32
*)
13974 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13975 # as there is no search path for DLLs.
13976 hardcode_libdir_flag_spec_F77
='-L$libdir'
13977 allow_undefined_flag_F77
=unsupported
13978 always_export_symbols_F77
=no
13979 enable_shared_with_static_runtimes_F77
=yes
13980 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13982 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13983 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13984 # If the export-symbols file already is a .def file (1st line
13985 # is EXPORTS), use it as is; otherwise, prepend...
13986 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13987 cp $export_symbols $output_objdir/$soname.def;
13989 echo EXPORTS > $output_objdir/$soname.def;
13990 cat $export_symbols >> $output_objdir/$soname.def;
13992 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13999 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14000 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14003 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14004 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14009 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14013 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14014 *** create shared libraries on Solaris systems. Therefore, libtool
14015 *** is disabling shared libraries support. We urge you to upgrade GNU
14016 *** binutils to release 2.9.1 or newer. Another option is to modify
14017 *** your PATH or compiler configuration so that the native linker is
14018 *** used, and then restart.
14021 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14022 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14023 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14030 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14032 hardcode_direct_F77
=yes
14033 hardcode_shlibpath_var_F77
=no
14037 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14038 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14039 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14046 if test "$ld_shlibs_F77" = yes; then
14047 runpath_var
=LD_RUN_PATH
14048 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14049 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14050 # ancient GNU ld didn't support --whole-archive et. al.
14051 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14052 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14054 whole_archive_flag_spec_F77
=
14058 # PORTME fill in a description of your system's linker (not GNU ld)
14061 allow_undefined_flag_F77
=unsupported
14062 always_export_symbols_F77
=yes
14063 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'
14064 # Note: this linker hardcodes the directories in LIBPATH if there
14065 # are no directories specified by -L.
14066 hardcode_minus_L_F77
=yes
14067 if test "$GCC" = yes && test -z "$link_static_flag"; then
14068 # Neither direct hardcoding nor static linking is supported with a
14070 hardcode_direct_F77
=unsupported
14075 if test "$host_cpu" = ia64
; then
14076 # On IA64, the linker does run time linking by default, so we don't
14077 # have to do anything special.
14078 aix_use_runtimelinking
=no
14079 exp_sym_flag
='-Bexport'
14082 # If we're using GNU nm, then we don't want the "-C" option.
14083 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14084 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14085 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'
14087 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'
14089 aix_use_runtimelinking
=no
14091 # Test if we are trying to use run time linking or normal
14092 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14093 # need to do runtime linking.
14094 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14095 for ld_flag
in $LDFLAGS; do
14096 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14097 aix_use_runtimelinking
=yes
14103 exp_sym_flag
='-bexport'
14104 no_entry_flag
='-bnoentry'
14107 # When large executables or shared objects are built, AIX ld can
14108 # have problems creating the table of contents. If linking a library
14109 # or program results in "error TOC overflow" add -mminimal-toc to
14110 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14111 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14113 archive_cmds_F77
=''
14114 hardcode_direct_F77
=yes
14115 hardcode_libdir_separator_F77
=':'
14116 link_all_deplibs_F77
=yes
14118 if test "$GCC" = yes; then
14119 case $host_os in aix4.012|aix4.012.
*)
14120 # We only want to do this on AIX 4.2 and lower, the check
14121 # below for broken collect2 doesn't work under 4.3+
14122 collect2name
=`${CC} -print-prog-name=collect2`
14123 if test -f "$collect2name" && \
14124 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14126 # We have reworked collect2
14127 hardcode_direct_F77
=yes
14129 # We have old collect2
14130 hardcode_direct_F77
=unsupported
14131 # It fails to find uninstalled libraries when the uninstalled
14132 # path is not listed in the libpath. Setting hardcode_minus_L
14133 # to unsupported forces relinking
14134 hardcode_minus_L_F77
=yes
14135 hardcode_libdir_flag_spec_F77
='-L$libdir'
14136 hardcode_libdir_separator_F77
=
14139 shared_flag
='-shared'
14142 if test "$host_cpu" = ia64
; then
14143 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14144 # chokes on -Wl,-G. The following line is correct:
14147 if test "$aix_use_runtimelinking" = yes; then
14148 shared_flag
='${wl}-G'
14150 shared_flag
='${wl}-bM:SRE'
14155 # It seems that -bexpall does not export symbols beginning with
14156 # underscore (_), so it is better to generate a list of symbols to export.
14157 always_export_symbols_F77
=yes
14158 if test "$aix_use_runtimelinking" = yes; then
14159 # Warning - without using the other runtime loading flags (-brtl),
14160 # -berok will link without error, but may produce a broken library.
14161 allow_undefined_flag_F77
='-berok'
14162 # Determine the default libpath from the value encoded in an empty executable.
14163 cat >conftest.
$ac_ext <<_ACEOF
14168 rm -f conftest.
$ac_objext conftest
$ac_exeext
14169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14170 (eval $ac_link) 2>conftest.er1
14172 grep -v '^ *+' conftest.er1
>conftest.err
14174 cat conftest.err
>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } &&
14177 { ac_try
='test -z "$ac_f77_werror_flag"
14178 || test ! -s conftest.err'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; } &&
14184 { ac_try
='test -s conftest$ac_exeext'
14185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186 (eval $ac_try) 2>&5
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); }; }; then
14191 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14193 # Check for a 64-bit object if we didn't find anything.
14194 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; }
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.
$ac_ext >&5
14201 rm -f conftest.err conftest.
$ac_objext \
14202 conftest
$ac_exeext conftest.
$ac_ext
14203 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14205 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14206 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"
14208 if test "$host_cpu" = ia64; then
14209 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
14210 allow_undefined_flag_F77="-z nodefs"
14211 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"
14213 # Determine the default libpath from the value encoded in an empty executable.
14214 cat >conftest.$ac_ext <<_ACEOF
14219 rm -f conftest.$ac_objext conftest$ac_exeext
14220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14221 (eval $ac_link) 2>conftest.er1
14223 grep -v '^ *+' conftest.er1 >conftest.err
14225 cat conftest.err >&5
14226 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14227 (exit $ac_status); } &&
14228 { ac_try='test -z "$ac_f77_werror_flag"
14229 || test ! -s conftest.err'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14234 (exit $ac_status); }; } &&
14235 { ac_try='test -s conftest$ac_exeext'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14239 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14240 (exit $ac_status); }; }; then
14242 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14244 # Check for a 64-bit object if we didn't find anything.
14245 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; }
14248 echo "$as_me: failed program was
:" >&5
14249 sed 's/^/| /' conftest.$ac_ext >&5
14252 rm -f conftest.err conftest.$ac_objext \
14253 conftest$ac_exeext conftest.$ac_ext
14254 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
14256 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14257 # Warning - without using the other run time loading flags,
14258 # -berok will link without error, but may produce a broken library.
14259 no_undefined_flag_F77=' ${wl}-bernotok'
14260 allow_undefined_flag_F77=' ${wl}-berok'
14261 # -bexpall does not export symbols beginning with underscore (_)
14262 always_export_symbols_F77=yes
14263 # Exported symbols can be pulled into shared objects from archives
14264 whole_archive_flag_spec_F77=' '
14265 archive_cmds_need_lc_F77=yes
14266 # This is similar to how AIX traditionally builds it's shared libraries.
14267 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'
14273 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)'
14274 hardcode_libdir_flag_spec_F77
='-L$libdir'
14275 hardcode_minus_L_F77
=yes
14276 # see comment about different semantics on the GNU ld section
14281 export_dynamic_flag_spec_F77
=-rdynamic
14284 cygwin
* | mingw
* | pw32
*)
14285 # When not using gcc, we currently assume that we are using
14286 # Microsoft Visual C++.
14287 # hardcode_libdir_flag_spec is actually meaningless, as there is
14288 # no search path for DLLs.
14289 hardcode_libdir_flag_spec_F77
=' '
14290 allow_undefined_flag_F77
=unsupported
14291 # Tell ltmain to make .lib files, not .a files.
14293 # Tell ltmain to make .dll files, not .so files.
14295 # FIXME: Setting linknames here is a bad hack.
14296 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14297 # The linker will automatically build a .lib file if we build a DLL.
14298 old_archive_From_new_cmds_F77
='true'
14299 # FIXME: Should let the user specify the lib program.
14300 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14301 fix_srcfile_path
='`cygpath -w "$srcfile"`'
14302 enable_shared_with_static_runtimes_F77
=yes
14305 darwin
* | rhapsody
*)
14306 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
14307 archive_cmds_need_lc_F77
=no
14309 rhapsody
* | darwin1.
[012])
14310 allow_undefined_flag_F77
='-undefined suppress'
14313 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
14316 # FIXME: Relying on posixy $() will cause problems for
14317 # cross-compilation, but unfortunately the echo tests do not
14318 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
14319 # `"' quotes if we put them in here... so don't!
14320 lt_int_apple_cc_single_mod
=no
14321 output_verbose_link_cmd
='echo'
14322 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
14323 lt_int_apple_cc_single_mod
=yes
14325 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14326 archive_cmds_F77
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14328 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'
14330 module_cmds_F77
='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
14331 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14332 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14333 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}'
14335 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}'
14337 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}'
14338 hardcode_direct_F77
=no
14339 hardcode_automatic_F77
=yes
14340 hardcode_shlibpath_var_F77
=unsupported
14341 whole_archive_flag_spec_F77
='-all_load $convenience'
14342 link_all_deplibs_F77
=yes
14347 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14348 hardcode_libdir_flag_spec_F77
='-L$libdir'
14349 hardcode_shlibpath_var_F77
=no
14356 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14357 # support. Future versions do this automatically, but an explicit c++rt0.o
14358 # does not break anything, and helps significantly (at the cost of a little
14361 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14362 hardcode_libdir_flag_spec_F77
='-R$libdir'
14363 hardcode_direct_F77
=yes
14364 hardcode_shlibpath_var_F77
=no
14367 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14369 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14370 hardcode_direct_F77
=yes
14371 hardcode_minus_L_F77
=yes
14372 hardcode_shlibpath_var_F77
=no
14375 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14377 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14378 hardcode_libdir_flag_spec_F77
='-R$libdir'
14379 hardcode_direct_F77
=yes
14380 hardcode_shlibpath_var_F77
=no
14384 if test "$GCC" = yes; then
14385 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'
14387 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'
14389 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14390 hardcode_libdir_separator_F77
=:
14391 hardcode_direct_F77
=yes
14393 # hardcode_minus_L: Not really in the search PATH,
14394 # but as the default location of the library.
14395 hardcode_minus_L_F77
=yes
14396 export_dynamic_flag_spec_F77
='${wl}-E'
14400 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14401 case "$host_cpu" in
14403 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14406 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14410 case "$host_cpu" in
14412 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14415 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14419 if test "$with_gnu_ld" = no
; then
14420 case "$host_cpu" in
14422 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14423 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14424 hardcode_libdir_separator_F77
=:
14425 hardcode_direct_F77
=no
14426 hardcode_shlibpath_var_F77
=no
14429 hardcode_libdir_flag_spec_F77
='-L$libdir'
14430 hardcode_direct_F77
=no
14431 hardcode_shlibpath_var_F77
=no
14433 # hardcode_minus_L: Not really in the search PATH,
14434 # but as the default location of the library.
14435 hardcode_minus_L_F77
=yes
14438 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14439 hardcode_libdir_separator_F77
=:
14440 hardcode_direct_F77
=yes
14441 export_dynamic_flag_spec_F77
='${wl}-E'
14443 # hardcode_minus_L: Not really in the search PATH,
14444 # but as the default location of the library.
14445 hardcode_minus_L_F77
=yes
14451 irix5
* | irix6
* | nonstopux
*)
14452 if test "$GCC" = yes; then
14453 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'
14455 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'
14456 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14458 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14459 hardcode_libdir_separator_F77
=:
14460 link_all_deplibs_F77
=yes
14464 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14465 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14467 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14469 hardcode_libdir_flag_spec_F77
='-R$libdir'
14470 hardcode_direct_F77
=yes
14471 hardcode_shlibpath_var_F77
=no
14475 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14476 hardcode_direct_F77
=yes
14477 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14478 hardcode_libdir_separator_F77
=:
14479 hardcode_shlibpath_var_F77
=no
14483 hardcode_direct_F77
=yes
14484 hardcode_shlibpath_var_F77
=no
14485 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14486 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14487 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14488 export_dynamic_flag_spec_F77
='${wl}-E'
14491 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14492 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14493 hardcode_libdir_flag_spec_F77
='-R$libdir'
14496 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14497 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14504 hardcode_libdir_flag_spec_F77
='-L$libdir'
14505 hardcode_minus_L_F77
=yes
14506 allow_undefined_flag_F77
=unsupported
14507 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'
14508 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14512 if test "$GCC" = yes; then
14513 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14514 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'
14516 allow_undefined_flag_F77
=' -expect_unresolved \*'
14517 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'
14519 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14520 hardcode_libdir_separator_F77
=:
14523 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14524 if test "$GCC" = yes; then
14525 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14526 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'
14527 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14529 allow_undefined_flag_F77
=' -expect_unresolved \*'
14530 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'
14531 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~
14532 $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'
14534 # Both c and cxx compiler support -rpath directly
14535 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14537 hardcode_libdir_separator_F77
=:
14541 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14542 hardcode_shlibpath_var_F77
=no
14543 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14544 runpath_var
=LD_RUN_PATH
14545 hardcode_runpath_var
=yes
14549 no_undefined_flag_F77
=' -z text'
14550 if test "$GCC" = yes; then
14551 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14552 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14553 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14555 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14556 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14557 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14559 hardcode_libdir_flag_spec_F77
='-R$libdir'
14560 hardcode_shlibpath_var_F77
=no
14562 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14563 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14564 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14566 link_all_deplibs_F77
=yes
14570 if test "x$host_vendor" = xsequent
; then
14571 # Use $CC to link under sequent, because it throws in some extra .o
14572 # files that make .init and .fini sections work.
14573 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14575 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14577 hardcode_libdir_flag_spec_F77
='-L$libdir'
14578 hardcode_direct_F77
=yes
14579 hardcode_minus_L_F77
=yes
14580 hardcode_shlibpath_var_F77
=no
14584 case $host_vendor in
14586 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14587 hardcode_direct_F77
=yes # is this really true???
14590 ## LD is ld it makes a PLAMLIB
14591 ## CC just makes a GrossModule.
14592 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14593 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14594 hardcode_direct_F77
=no
14597 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14598 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14601 runpath_var
='LD_RUN_PATH'
14602 hardcode_shlibpath_var_F77
=no
14606 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14607 hardcode_shlibpath_var_F77
=no
14608 export_dynamic_flag_spec_F77
='-Bexport'
14612 if test -d /usr
/nec
; then
14613 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14614 hardcode_shlibpath_var_F77
=no
14615 runpath_var
=LD_RUN_PATH
14616 hardcode_runpath_var
=yes
14622 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14623 hardcode_direct_F77
=yes
14624 hardcode_minus_L_F77
=no
14625 hardcode_shlibpath_var_F77
=no
14626 hardcode_runpath_var
=yes
14627 runpath_var
=LD_RUN_PATH
14630 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14631 no_undefined_flag_F77
='${wl}-z ${wl}text'
14632 if test "$GCC" = yes; then
14633 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14635 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14637 runpath_var
='LD_RUN_PATH'
14638 hardcode_shlibpath_var_F77
=no
14642 no_undefined_flag_F77
=' -z text'
14643 # $CC -shared without GNU ld will not create a library from C++
14644 # object files and a static libstdc++, better avoid it by now
14645 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14646 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14647 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14648 hardcode_libdir_flag_spec_F77
=
14649 hardcode_shlibpath_var_F77
=no
14650 runpath_var
='LD_RUN_PATH'
14654 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14655 hardcode_libdir_flag_spec_F77
='-L$libdir'
14656 hardcode_shlibpath_var_F77
=no
14665 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14666 echo "${ECHO_T}$ld_shlibs_F77" >&6
14667 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14669 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14670 if test "$GCC" = yes; then
14671 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14675 # Do we need to explicitly link libc?
14677 case "x$archive_cmds_need_lc_F77" in
14679 # Assume -lc should be added
14680 archive_cmds_need_lc_F77
=yes
14682 if test "$enable_shared" = yes && test "$GCC" = yes; then
14683 case $archive_cmds_F77 in
14685 # FIXME: we may have to deal with multi-command sequences.
14688 # Test whether the compiler implicitly links with -lc since on some
14689 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14690 # to ld, don't add -lc before -lgcc.
14691 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14692 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14694 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14697 (eval $ac_compile) 2>&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); } 2>conftest.err
; then
14703 libobjs
=conftest.
$ac_objext
14705 wl
=$lt_prog_compiler_wl_F77
14711 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14712 allow_undefined_flag_F77
=
14713 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14714 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }
14719 archive_cmds_need_lc_F77
=no
14721 archive_cmds_need_lc_F77
=yes
14723 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14725 cat conftest.err
1>&5
14728 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14729 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14736 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14737 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14738 hardcode_action_F77
=
14739 if test -n "$hardcode_libdir_flag_spec_F77" || \
14740 test -n "$runpath_var F77" || \
14741 test "X$hardcode_automatic_F77"="Xyes" ; then
14743 # We can hardcode non-existant directories.
14744 if test "$hardcode_direct_F77" != no
&&
14745 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14746 # have to relink, otherwise we might link with an installed library
14747 # when we should be linking with a yet-to-be-installed one
14748 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14749 test "$hardcode_minus_L_F77" != no
; then
14750 # Linking always hardcodes the temporary library directory.
14751 hardcode_action_F77
=relink
14753 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14754 hardcode_action_F77
=immediate
14757 # We cannot hardcode anything, or else we can only hardcode existing
14759 hardcode_action_F77
=unsupported
14761 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14762 echo "${ECHO_T}$hardcode_action_F77" >&6
14764 if test "$hardcode_action_F77" = relink
; then
14765 # Fast installation is not supported
14766 enable_fast_install
=no
14767 elif test "$shlibpath_overrides_runpath" = yes ||
14768 test "$enable_shared" = no
; then
14769 # Fast installation is not necessary
14770 enable_fast_install
=needless
14775 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14776 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14777 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
14778 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14779 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14780 echo "$as_me:$LINENO: result: yes" >&5
14781 echo "${ECHO_T}yes" >&6
14783 # FIXME - insert some real tests, host_os isn't really good enough
14786 if test -n "$STRIP" ; then
14787 striplib
="$STRIP -x"
14788 echo "$as_me:$LINENO: result: yes" >&5
14789 echo "${ECHO_T}yes" >&6
14791 echo "$as_me:$LINENO: result: no" >&5
14792 echo "${ECHO_T}no" >&6
14796 echo "$as_me:$LINENO: result: no" >&5
14797 echo "${ECHO_T}no" >&6
14802 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14803 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14804 library_names_spec
=
14805 libname_spec
='lib$name'
14809 postuninstall_cmds
=
14813 shlibpath_overrides_runpath
=unknown
14815 dynamic_linker
="$host_os ld.so"
14816 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14817 if test "$GCC" = yes; then
14818 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14819 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14820 # if the path contains ";" then we assume it to be the separator
14821 # otherwise default to the standard path separator (i.e. ":") - it is
14822 # assumed that no part of a normal pathname contains ";" but that should
14823 # okay in the real world where ";" in dirpaths is itself problematic.
14824 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14826 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14829 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14831 need_lib_prefix
=unknown
14832 hardcode_into_libs
=no
14834 # when you set need_version to no, make sure it does not cause -set_version
14835 # flags to be left without arguments
14836 need_version
=unknown
14841 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14842 shlibpath_var
=LIBPATH
14844 # AIX 3 has no versioning support, so we append a major version to the name.
14845 soname_spec
='${libname}${release}${shared_ext}$major'
14852 hardcode_into_libs
=yes
14853 if test "$host_cpu" = ia64
; then
14854 # AIX 5 supports IA64
14855 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14856 shlibpath_var
=LD_LIBRARY_PATH
14858 # With GCC up to 2.95.x, collect2 would create an import file
14859 # for dependence libraries. The import file would start with
14860 # the line `#! .'. This would cause the generated library to
14861 # depend on `.', always an invalid library. This was fixed in
14862 # development snapshots of GCC prior to 3.0.
14864 aix4 | aix4.
[01] | aix4.
[01].
*)
14865 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14867 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14870 can_build_shared
=no
14874 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14875 # soname into executable. Probably we can add versioning support to
14876 # collect2, so additional links can be useful in future.
14877 if test "$aix_use_runtimelinking" = yes; then
14878 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14879 # instead of lib<name>.a to let people know that these are not
14880 # typical AIX shared libraries.
14881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14883 # We preserve .a as extension for shared libraries through AIX4.2
14884 # and later when we are not doing run time linking.
14885 library_names_spec
='${libname}${release}.a $libname.a'
14886 soname_spec
='${libname}${release}${shared_ext}$major'
14888 shlibpath_var
=LIBPATH
14893 library_names_spec
='$libname.ixlibrary $libname.a'
14894 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14895 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'
14899 library_names_spec
='${libname}${shared_ext}'
14900 dynamic_linker
="$host_os ld.so"
14901 shlibpath_var
=LIBRARY_PATH
14907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14908 soname_spec
='${libname}${release}${shared_ext}$major'
14909 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14910 shlibpath_var
=LD_LIBRARY_PATH
14911 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14912 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14913 # the default ld.so.conf also contains /usr/contrib/lib and
14914 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14915 # libtool to hard-code these into programs
14918 cygwin
* | mingw
* | pw32
*)
14919 version_type
=windows
14924 case $GCC,$host_os in
14925 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14926 library_names_spec
='$libname.dll.a'
14927 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14928 postinstall_cmds
='base_file=`basename \${file}`~
14929 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14930 dldir=$destdir/`dirname \$dlpath`~
14931 test -d \$dldir || mkdir -p \$dldir~
14932 $install_prog $dir/$dlname \$dldir/$dlname'
14933 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14934 dlpath=$dir/\$dldll~
14936 shlibpath_overrides_runpath
=yes
14940 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14941 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14942 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
14945 # MinGW DLLs use traditional 'lib' prefix
14946 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14947 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14948 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14949 # It is most probably a Windows format PATH printed by
14950 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14951 # path with ; separators, and with drive letters. We can handle the
14952 # drive letters (cygwin fileutils understands them), so leave them,
14953 # especially as we might pass files found there to a mingw objdump,
14954 # which wouldn't understand a cygwinified path. Ahh.
14955 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14957 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14961 # pw32 DLLs use 'pw' prefix rather than 'lib'
14962 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14968 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14971 dynamic_linker
='Win32 ld.exe'
14972 # FIXME: first we should search . and the directory the executable is in
14976 darwin
* | rhapsody
*)
14977 dynamic_linker
="$host_os dyld"
14978 version_type
=darwin
14981 # FIXME: Relying on posixy $() will cause problems for
14982 # cross-compilation, but unfortunately the echo tests do not
14983 # yet detect zsh echo's removal of \ escapes.
14984 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14985 soname_spec
='${libname}${release}${major}$shared_ext'
14986 shlibpath_overrides_runpath
=yes
14987 shlibpath_var
=DYLD_LIBRARY_PATH
14988 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
14989 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14990 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
14991 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"`
14993 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15001 soname_spec
='${libname}${release}${shared_ext}$major'
15002 shlibpath_var
=LD_LIBRARY_PATH
15010 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15011 version_type
=freebsd-
$objformat
15012 case $version_type in
15014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15019 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15023 shlibpath_var
=LD_LIBRARY_PATH
15026 shlibpath_overrides_runpath
=yes
15028 freebsd3.01
* | freebsdelf3.01
*)
15029 shlibpath_overrides_runpath
=yes
15030 hardcode_into_libs
=yes
15033 shlibpath_overrides_runpath
=no
15034 hardcode_into_libs
=yes
15043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15044 soname_spec
='${libname}${release}${shared_ext}$major'
15045 shlibpath_var
=LD_LIBRARY_PATH
15046 hardcode_into_libs
=yes
15049 hpux9
* | hpux10
* | hpux11
*)
15050 # Give a soname corresponding to the major version so that dld.sl refuses to
15051 # link against other versions.
15055 case "$host_cpu" in
15058 hardcode_into_libs
=yes
15059 dynamic_linker
="$host_os dld.so"
15060 shlibpath_var
=LD_LIBRARY_PATH
15061 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15063 soname_spec
='${libname}${release}${shared_ext}$major'
15064 if test "X$HPUX_IA64_MODE" = X32
; then
15065 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15067 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15069 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15073 hardcode_into_libs
=yes
15074 dynamic_linker
="$host_os dld.sl"
15075 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15076 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15078 soname_spec
='${libname}${release}${shared_ext}$major'
15079 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15080 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15084 dynamic_linker
="$host_os dld.sl"
15085 shlibpath_var
=SHLIB_PATH
15086 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15088 soname_spec
='${libname}${release}${shared_ext}$major'
15091 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15092 postinstall_cmds
='chmod 555 $lib'
15095 irix5
* | irix6
* | nonstopux
*)
15097 nonstopux
*) version_type
=nonstopux
;;
15099 if test "$lt_cv_prog_gnu_ld" = yes; then
15107 soname_spec
='${libname}${release}${shared_ext}$major'
15108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15110 irix5
* | nonstopux
*)
15111 libsuff
= shlibsuff
=
15114 case $LD in # libtool.m4 will add one of these switches to LD
15115 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15116 libsuff
= shlibsuff
= libmagic
=32-bit;;
15117 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15118 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15119 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15120 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15121 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15125 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15126 shlibpath_overrides_runpath
=no
15127 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15128 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15129 hardcode_into_libs
=yes
15132 # No shared lib support for Linux oldld, aout, or coff.
15133 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15137 # This must be Linux ELF.
15142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15143 soname_spec
='${libname}${release}${shared_ext}$major'
15144 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15145 shlibpath_var
=LD_LIBRARY_PATH
15146 shlibpath_overrides_runpath
=no
15147 # This implies no fast_install, which is unacceptable.
15148 # Some rework will be needed to allow for fast_install
15149 # before this can be enabled.
15150 hardcode_into_libs
=yes
15152 # We used to test for /lib/ld.so.1 and disable shared libraries on
15153 # powerpc, because MkLinux only supported shared libraries with the
15154 # GNU dynamic linker. Since this was broken with cross compilers,
15155 # most powerpc-linux boxes support dynamic linking these days and
15156 # people can always --disable-shared, the test was removed, and we
15157 # assume the GNU/Linux dynamic linker is in use.
15158 dynamic_linker
='GNU/Linux ld.so'
15165 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15167 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15168 dynamic_linker
='NetBSD (a.out) ld.so'
15170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
15171 soname_spec
='${libname}${release}${shared_ext}$major'
15172 dynamic_linker
='NetBSD ld.elf_so'
15174 shlibpath_var
=LD_LIBRARY_PATH
15175 shlibpath_overrides_runpath
=yes
15176 hardcode_into_libs
=yes
15181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15182 shlibpath_var
=LD_LIBRARY_PATH
15183 shlibpath_overrides_runpath
=yes
15190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15191 soname_spec
='${libname}${release}${shared_ext}$major'
15192 shlibpath_var
=LD_LIBRARY_PATH
15193 shlibpath_overrides_runpath
=yes
15200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15201 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15202 shlibpath_var
=LD_LIBRARY_PATH
15203 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15205 openbsd2.
[89] | openbsd2.
[89].
*)
15206 shlibpath_overrides_runpath
=no
15209 shlibpath_overrides_runpath
=yes
15213 shlibpath_overrides_runpath
=yes
15218 libname_spec
='$name'
15221 library_names_spec
='$libname${shared_ext} $libname.a'
15222 dynamic_linker
='OS/2 ld.exe'
15223 shlibpath_var
=LIBPATH
15226 osf3
* | osf4
* | osf5
*)
15230 soname_spec
='${libname}${release}${shared_ext}$major'
15231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15232 shlibpath_var
=LD_LIBRARY_PATH
15233 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15234 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15239 soname_spec
='${libname}${release}${shared_ext}$major'
15240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15241 shlibpath_var
=LD_LIBRARY_PATH
15248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15249 soname_spec
='${libname}${release}${shared_ext}$major'
15250 shlibpath_var
=LD_LIBRARY_PATH
15251 shlibpath_overrides_runpath
=yes
15252 hardcode_into_libs
=yes
15253 # ldd complains unless libraries are executable
15254 postinstall_cmds
='chmod +x $lib'
15259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15260 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15261 shlibpath_var
=LD_LIBRARY_PATH
15262 shlibpath_overrides_runpath
=yes
15263 if test "$with_gnu_ld" = yes; then
15269 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15272 soname_spec
='${libname}${release}${shared_ext}$major'
15273 shlibpath_var
=LD_LIBRARY_PATH
15274 case $host_vendor in
15276 shlibpath_overrides_runpath
=no
15278 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15279 runpath_var
=LD_RUN_PATH
15287 shlibpath_overrides_runpath
=no
15288 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15294 if test -d /usr
/nec
;then
15296 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15297 soname_spec
='$libname${shared_ext}.$major'
15298 shlibpath_var
=LD_LIBRARY_PATH
15304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15305 soname_spec
='${libname}${release}${shared_ext}$major'
15306 shlibpath_var
=LD_LIBRARY_PATH
15313 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15314 echo "${ECHO_T}$dynamic_linker" >&6
15315 test "$dynamic_linker" = no
&& can_build_shared
=no
15318 # The else clause should only fire when bootstrapping the
15319 # libtool distribution, otherwise you forgot to ship ltmain.sh
15320 # with your package, and you will get complaints that there are
15321 # no rules to generate ltmain.sh.
15322 if test -f "$ltmain"; then
15323 # See if we are running on zsh, and set the options which allow our commands through
15324 # without removal of \ escapes.
15325 if test -n "${ZSH_VERSION+set}" ; then
15326 setopt NO_GLOB_SUBST
15328 # Now quote all the things that may contain metacharacters while being
15329 # careful not to overquote the AC_SUBSTed values. We take copies of the
15330 # variables and quote the copies for generation of the libtool script.
15331 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
15332 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15333 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15334 deplibs_check_method reload_flag reload_cmds need_locks \
15335 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15336 lt_cv_sys_global_symbol_to_c_name_address \
15337 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15338 old_postinstall_cmds old_postuninstall_cmds \
15342 lt_prog_compiler_wl_F77 \
15343 lt_prog_compiler_pic_F77 \
15344 lt_prog_compiler_static_F77 \
15345 lt_prog_compiler_no_builtin_flag_F77 \
15346 export_dynamic_flag_spec_F77 \
15347 thread_safe_flag_spec_F77 \
15348 whole_archive_flag_spec_F77 \
15349 enable_shared_with_static_runtimes_F77 \
15350 old_archive_cmds_F77 \
15351 old_archive_from_new_cmds_F77 \
15352 predep_objects_F77 \
15353 postdep_objects_F77 \
15356 compiler_lib_search_path_F77 \
15358 archive_expsym_cmds_F77 \
15359 postinstall_cmds_F77 \
15360 postuninstall_cmds_F77 \
15361 old_archive_from_expsyms_cmds_F77 \
15362 allow_undefined_flag_F77 \
15363 no_undefined_flag_F77 \
15364 export_symbols_cmds_F77 \
15365 hardcode_libdir_flag_spec_F77 \
15366 hardcode_libdir_flag_spec_ld_F77 \
15367 hardcode_libdir_separator_F77 \
15368 hardcode_automatic_F77 \
15370 module_expsym_cmds_F77 \
15371 lt_cv_prog_compiler_c_o_F77 \
15372 exclude_expsyms_F77 \
15373 include_expsyms_F77
; do
15376 old_archive_cmds_F77 | \
15377 old_archive_from_new_cmds_F77 | \
15378 archive_cmds_F77 | \
15379 archive_expsym_cmds_F77 | \
15380 module_cmds_F77 | \
15381 module_expsym_cmds_F77 | \
15382 old_archive_from_expsyms_cmds_F77 | \
15383 export_symbols_cmds_F77 | \
15384 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15385 postinstall_cmds | postuninstall_cmds | \
15386 old_postinstall_cmds | old_postuninstall_cmds | \
15387 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15388 # Double-quote double-evaled strings.
15389 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15392 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15398 *'\$0 --fallback-echo"')
15399 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15405 cat <<__EOF__ >> "$cfgfile"
15406 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15408 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15410 # Shell to use when invoking shell scripts.
15413 # Whether or not to build shared libraries.
15414 build_libtool_libs=$enable_shared
15416 # Whether or not to build static libraries.
15417 build_old_libs=$enable_static
15419 # Whether or not to add -lc for building shared libraries.
15420 build_libtool_need_lc=$archive_cmds_need_lc_F77
15422 # Whether or not to disallow shared libs when runtime libs are static
15423 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15425 # Whether or not to optimize for fast installation.
15426 fast_install=$enable_fast_install
15429 host_alias=$host_alias
15432 # An echo program that does not interpret backslashes.
15437 AR_FLAGS=$lt_AR_FLAGS
15442 # A language-specific compiler.
15443 CC=$lt_compiler_F77
15445 # Is the compiler the GNU C compiler?
15451 # The linker used to build libraries.
15454 # Whether we need hard or soft links.
15457 # A BSD-compatible nm program.
15460 # A symbol stripping program
15463 # Used to examine libraries when file_magic_cmd begins "file"
15464 MAGIC_CMD=$MAGIC_CMD
15466 # Used on cygwin: DLL creation program.
15469 # Used on cygwin: object dumper.
15472 # Used on cygwin: assembler.
15475 # The name of the directory that contains temporary libtool files.
15478 # How to create reloadable object files.
15479 reload_flag=$lt_reload_flag
15480 reload_cmds=$lt_reload_cmds
15482 # How to pass a linker flag through the compiler.
15483 wl=$lt_lt_prog_compiler_wl_F77
15485 # Object file suffix (normally "o").
15486 objext="$ac_objext"
15488 # Old archive suffix (normally "a").
15491 # Shared library suffix (normally ".so").
15494 # Executable file suffix (normally "").
15497 # Additional compiler flags for building library objects.
15498 pic_flag=$lt_lt_prog_compiler_pic_F77
15501 # What is the maximum length of a command?
15502 max_cmd_len=$lt_cv_sys_max_cmd_len
15504 # Does compiler simultaneously support -c and -o options?
15505 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15507 # Must we lock files when doing compilation ?
15508 need_locks=$lt_need_locks
15510 # Do we need the lib prefix for modules?
15511 need_lib_prefix=$need_lib_prefix
15513 # Do we need a version for libraries?
15514 need_version=$need_version
15516 # Whether dlopen is supported.
15517 dlopen_support=$enable_dlopen
15519 # Whether dlopen of programs is supported.
15520 dlopen_self=$enable_dlopen_self
15522 # Whether dlopen of statically linked programs is supported.
15523 dlopen_self_static=$enable_dlopen_self_static
15525 # Compiler flag to prevent dynamic linking.
15526 link_static_flag=$lt_lt_prog_compiler_static_F77
15528 # Compiler flag to turn off builtin functions.
15529 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15531 # Compiler flag to allow reflexive dlopens.
15532 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15534 # Compiler flag to generate shared objects directly from archives.
15535 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15537 # Compiler flag to generate thread-safe objects.
15538 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15540 # Library versioning type.
15541 version_type=$version_type
15543 # Format of library name prefix.
15544 libname_spec=$lt_libname_spec
15546 # List of archive names. First name is the real one, the rest are links.
15547 # The last name is the one that the linker finds with -lNAME.
15548 library_names_spec=$lt_library_names_spec
15550 # The coded name of the library, if different from the real name.
15551 soname_spec=$lt_soname_spec
15553 # Commands used to build and install an old-style archive.
15555 old_archive_cmds=$lt_old_archive_cmds_F77
15556 old_postinstall_cmds=$lt_old_postinstall_cmds
15557 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15559 # Create an old-style archive from a shared archive.
15560 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15562 # Create a temporary old-style archive to link instead of a shared archive.
15563 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15565 # Commands used to build and install a shared archive.
15566 archive_cmds=$lt_archive_cmds_F77
15567 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15568 postinstall_cmds=$lt_postinstall_cmds
15569 postuninstall_cmds=$lt_postuninstall_cmds
15571 # Commands used to build a loadable module (assumed same as above if empty)
15572 module_cmds=$lt_module_cmds_F77
15573 module_expsym_cmds=$lt_module_expsym_cmds_F77
15575 # Commands to strip libraries.
15576 old_striplib=$lt_old_striplib
15577 striplib=$lt_striplib
15579 # Dependencies to place before the objects being linked to create a
15581 predep_objects=$lt_predep_objects_F77
15583 # Dependencies to place after the objects being linked to create a
15585 postdep_objects=$lt_postdep_objects_F77
15587 # Dependencies to place before the objects being linked to create a
15589 predeps=$lt_predeps_F77
15591 # Dependencies to place after the objects being linked to create a
15593 postdeps=$lt_postdeps_F77
15595 # The library search path used internally by the compiler when linking
15596 # a shared library.
15597 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15599 # Method to check whether dependent libraries are shared objects.
15600 deplibs_check_method=$lt_deplibs_check_method
15602 # Command to use when deplibs_check_method == file_magic.
15603 file_magic_cmd=$lt_file_magic_cmd
15605 # Flag that allows shared libraries with undefined symbols to be built.
15606 allow_undefined_flag=$lt_allow_undefined_flag_F77
15608 # Flag that forces no undefined symbols.
15609 no_undefined_flag=$lt_no_undefined_flag_F77
15611 # Commands used to finish a libtool library installation in a directory.
15612 finish_cmds=$lt_finish_cmds
15614 # Same as above, but a single script fragment to be evaled but not shown.
15615 finish_eval=$lt_finish_eval
15617 # Take the output of nm and produce a listing of raw symbols and C names.
15618 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15620 # Transform the output of nm in a proper C declaration
15621 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15623 # Transform the output of nm in a C name address pair
15624 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15626 # This is the shared library runtime path variable.
15627 runpath_var=$runpath_var
15629 # This is the shared library path variable.
15630 shlibpath_var=$shlibpath_var
15632 # Is shlibpath searched before the hard-coded library search path?
15633 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15635 # How to hardcode a shared library path into an executable.
15636 hardcode_action=$hardcode_action_F77
15638 # Whether we should hardcode library paths into libraries.
15639 hardcode_into_libs=$hardcode_into_libs
15641 # Flag to hardcode \$libdir into a binary during linking.
15642 # This must work even if \$libdir does not exist.
15643 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15645 # If ld is used when linking, flag to hardcode \$libdir into
15646 # a binary during linking. This must work even if \$libdir does
15648 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15650 # Whether we need a single -rpath flag with a separated argument.
15651 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15653 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15654 # resulting binary.
15655 hardcode_direct=$hardcode_direct_F77
15657 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15658 # resulting binary.
15659 hardcode_minus_L=$hardcode_minus_L_F77
15661 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15662 # the resulting binary.
15663 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15665 # Set to yes if building a shared library automatically hardcodes DIR into the library
15666 # and all subsequent libraries and executables linked against it.
15667 hardcode_automatic=$hardcode_automatic_F77
15669 # Variables whose values should be saved in libtool wrapper scripts and
15670 # restored at relink time.
15671 variables_saved_for_relink="$variables_saved_for_relink"
15673 # Whether libtool must link a program against all its dependency libraries.
15674 link_all_deplibs=$link_all_deplibs_F77
15676 # Compile-time system search path for libraries
15677 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15679 # Run-time system search path for libraries
15680 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15682 # Fix the shell variable \$srcfile for the compiler.
15683 fix_srcfile_path="$fix_srcfile_path_F77"
15685 # Set to yes if exported symbols are required.
15686 always_export_symbols=$always_export_symbols_F77
15688 # The commands to list exported symbols.
15689 export_symbols_cmds=$lt_export_symbols_cmds_F77
15691 # The commands to extract the exported symbol list from a shared archive.
15692 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15694 # Symbols that should not be listed in the preloaded symbols.
15695 exclude_expsyms=$lt_exclude_expsyms_F77
15697 # Symbols that must always be exported.
15698 include_expsyms=$lt_include_expsyms_F77
15700 # ### END LIBTOOL TAG CONFIG: $tagname
15706 # If there is no Makefile yet, we rely on a make rule to execute
15707 # `config.status --recheck' to rerun these tests and create the
15708 # libtool script then.
15709 test -f Makefile
&& make "$ltmain"
15714 ac_cpp
='$CPP $CPPFLAGS'
15715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15727 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15731 # Source file extension for Java test sources.
15734 # Object file extension for compiled Java test sources.
15738 # Code to be used in simple compile tests
15739 lt_simple_compile_test_code
="class foo {}\n"
15741 # Code to be used in simple link tests
15742 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
15744 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15746 # If no C compiler was specified, use CC.
15749 # Allow CC to be a program name with arguments.
15753 # Allow CC to be a program name with arguments.
15759 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15760 archive_cmds_need_lc_GCJ
=no
15763 ## There is no encapsulation within the following macros, do not change
15764 ## the running order or otherwise move them around unless you know exactly
15765 ## what you are doing...
15767 lt_prog_compiler_no_builtin_flag_GCJ
=
15769 if test "$GCC" = yes; then
15770 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15772 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15773 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15774 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15775 echo $ECHO_N "(cached) $ECHO_C" >&6
15777 lt_cv_prog_compiler_rtti_exceptions
=no
15778 ac_outfile
=conftest.
$ac_objext
15779 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15780 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15781 # Insert the option either (1) after the last *FLAGS variable, or
15782 # (2) before a word containing "conftest.", or (3) at the end.
15783 # Note that $ac_compile itself does not contain backslashes and begins
15784 # with a dollar sign (not a hyphen), so the echo should work correctly.
15785 # The option is referenced via a variable to avoid confusing sed.
15786 lt_compile
=`echo "$ac_compile" | $SED \
15787 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15789 -e 's:$: $lt_compiler_flag:'`
15790 (eval echo "\"\$as_me:15790: $lt_compile\"" >&5)
15791 (eval "$lt_compile" 2>conftest.err
)
15793 cat conftest.err
>&5
15794 echo "$as_me:15794: \$? = $ac_status" >&5
15795 if (exit $ac_status) && test -s "$ac_outfile"; then
15796 # The compiler can only warn and ignore the option if not recognized
15797 # So say no if there are warnings
15798 if test ! -s conftest.err
; then
15799 lt_cv_prog_compiler_rtti_exceptions
=yes
15805 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15806 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15808 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15809 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15816 lt_prog_compiler_wl_GCJ
=
15817 lt_prog_compiler_pic_GCJ
=
15818 lt_prog_compiler_static_GCJ
=
15820 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15821 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15823 if test "$GCC" = yes; then
15824 lt_prog_compiler_wl_GCJ
='-Wl,'
15825 lt_prog_compiler_static_GCJ
='-static'
15829 # All AIX code is PIC.
15830 if test "$host_cpu" = ia64
; then
15831 # AIX 5 now supports IA64 processor
15832 lt_prog_compiler_static_GCJ
='-Bstatic'
15837 # FIXME: we need at least 68020 code to build shared libraries, but
15838 # adding the `-m68020' flag to GCC prevents building anything better,
15840 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15843 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15844 # PIC is the default for these OSes.
15847 mingw
* | pw32
* | os2
*)
15848 # This hack is so that the source file can tell whether it is being
15849 # built for inclusion in a dll (and should export symbols for example).
15850 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15853 darwin
* | rhapsody
*)
15854 # PIC is the default on this platform
15855 # Common symbols not allowed in MH_DYLIB files
15856 lt_prog_compiler_pic_GCJ
='-fno-common'
15860 # Just because we use GCC doesn't mean we suddenly get shared libraries
15861 # on systems that don't support them.
15862 lt_prog_compiler_can_build_shared_GCJ
=no
15867 if test -d /usr
/nec
; then
15868 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15873 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15874 # not for PA HP-UX.
15875 case "$host_cpu" in
15880 lt_prog_compiler_pic_GCJ
='-fPIC'
15886 lt_prog_compiler_pic_GCJ
='-fPIC'
15890 # PORTME Check for flag to pass linker flags through the system compiler.
15893 lt_prog_compiler_wl_GCJ
='-Wl,'
15894 if test "$host_cpu" = ia64
; then
15895 # AIX 5 now supports IA64 processor
15896 lt_prog_compiler_static_GCJ
='-Bstatic'
15898 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15902 mingw
* | pw32
* | os2
*)
15903 # This hack is so that the source file can tell whether it is being
15904 # built for inclusion in a dll (and should export symbols for example).
15905 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15908 hpux9
* | hpux10
* | hpux11
*)
15909 lt_prog_compiler_wl_GCJ
='-Wl,'
15910 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15911 # not for PA HP-UX.
15912 case "$host_cpu" in
15917 lt_prog_compiler_pic_GCJ
='+Z'
15920 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15921 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15924 irix5
* | irix6
* | nonstopux
*)
15925 lt_prog_compiler_wl_GCJ
='-Wl,'
15926 # PIC (with -KPIC) is the default.
15927 lt_prog_compiler_static_GCJ
='-non_shared'
15931 lt_prog_compiler_pic_GCJ
='-KPIC'
15932 lt_prog_compiler_static_GCJ
='-Bstatic'
15938 lt_prog_compiler_wl_GCJ
='-Wl,'
15939 lt_prog_compiler_pic_GCJ
='-KPIC'
15940 lt_prog_compiler_static_GCJ
='-static'
15943 lt_prog_compiler_wl_GCJ
='-Wl,'
15944 # All Alpha code is PIC.
15945 lt_prog_compiler_static_GCJ
='-non_shared'
15950 osf3
* | osf4
* | osf5
*)
15951 lt_prog_compiler_wl_GCJ
='-Wl,'
15952 # All OSF/1 code is PIC.
15953 lt_prog_compiler_static_GCJ
='-non_shared'
15957 lt_prog_compiler_pic_GCJ
='-Kpic'
15958 lt_prog_compiler_static_GCJ
='-dn'
15962 lt_prog_compiler_wl_GCJ
='-Wl,'
15963 lt_prog_compiler_pic_GCJ
='-KPIC'
15964 lt_prog_compiler_static_GCJ
='-Bstatic'
15968 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15969 lt_prog_compiler_pic_GCJ
='-PIC'
15970 lt_prog_compiler_static_GCJ
='-Bstatic'
15973 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15974 lt_prog_compiler_wl_GCJ
='-Wl,'
15975 lt_prog_compiler_pic_GCJ
='-KPIC'
15976 lt_prog_compiler_static_GCJ
='-Bstatic'
15980 if test -d /usr
/nec
;then
15981 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15982 lt_prog_compiler_static_GCJ
='-Bstatic'
15987 lt_prog_compiler_pic_GCJ
='-pic'
15988 lt_prog_compiler_static_GCJ
='-Bstatic'
15992 lt_prog_compiler_can_build_shared_GCJ
=no
15997 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15998 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16001 # Check to make sure the PIC flag actually works.
16003 if test -n "$lt_prog_compiler_pic_GCJ"; then
16004 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16005 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16006 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16009 lt_prog_compiler_pic_works_GCJ
=no
16010 ac_outfile
=conftest.
$ac_objext
16011 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16012 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16013 # Insert the option either (1) after the last *FLAGS variable, or
16014 # (2) before a word containing "conftest.", or (3) at the end.
16015 # Note that $ac_compile itself does not contain backslashes and begins
16016 # with a dollar sign (not a hyphen), so the echo should work correctly.
16017 # The option is referenced via a variable to avoid confusing sed.
16018 lt_compile
=`echo "$ac_compile" | $SED \
16019 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16021 -e 's:$: $lt_compiler_flag:'`
16022 (eval echo "\"\$as_me:16022: $lt_compile\"" >&5)
16023 (eval "$lt_compile" 2>conftest.err
)
16025 cat conftest.err
>&5
16026 echo "$as_me:16026: \$? = $ac_status" >&5
16027 if (exit $ac_status) && test -s "$ac_outfile"; then
16028 # The compiler can only warn and ignore the option if not recognized
16029 # So say no if there are warnings
16030 if test ! -s conftest.err
; then
16031 lt_prog_compiler_pic_works_GCJ
=yes
16037 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16038 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16040 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16041 case $lt_prog_compiler_pic_GCJ in
16043 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16046 lt_prog_compiler_pic_GCJ
=
16047 lt_prog_compiler_can_build_shared_GCJ
=no
16052 # For platforms which do not support PIC, -DPIC is meaningless:
16054 lt_prog_compiler_pic_GCJ
=
16057 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16061 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16062 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16063 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 lt_cv_prog_compiler_c_o_GCJ
=no
16067 $rm -r conftest
2>/dev
/null
16071 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16073 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
16074 # that will create temporary files in the current directory regardless of
16075 # the output directory. Thus, making CWD read-only will cause this test
16076 # to fail, enabling locking or at least warning the user not to do parallel
16080 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16081 # Insert the option either (1) after the last *FLAGS variable, or
16082 # (2) before a word containing "conftest.", or (3) at the end.
16083 # Note that $ac_compile itself does not contain backslashes and begins
16084 # with a dollar sign (not a hyphen), so the echo should work correctly.
16085 lt_compile
=`echo "$ac_compile" | $SED \
16086 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16087 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16088 -e 's:$: $lt_compiler_flag:'`
16089 (eval echo "\"\$as_me:16089: $lt_compile\"" >&5)
16090 (eval "$lt_compile" 2>out
/conftest.err
)
16092 cat out
/conftest.err
>&5
16093 echo "$as_me:16093: \$? = $ac_status" >&5
16094 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16096 # The compiler can only warn and ignore the option if not recognized
16097 # So say no if there are warnings
16098 if test ! -s out
/conftest.err
; then
16099 lt_cv_prog_compiler_c_o_GCJ
=yes
16103 $rm conftest
* out
/*
16110 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16111 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16114 hard_links
="nottested"
16115 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16116 # do not overwrite the value of need_locks provided by the user
16117 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16118 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16121 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16123 ln conftest.a conftest.b
2>&5 || hard_links
=no
16124 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16125 echo "$as_me:$LINENO: result: $hard_links" >&5
16126 echo "${ECHO_T}$hard_links" >&6
16127 if test "$hard_links" = no
; then
16128 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16129 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16136 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16137 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16140 allow_undefined_flag_GCJ
=
16141 enable_shared_with_static_runtimes_GCJ
=no
16143 archive_expsym_cmds_GCJ
=
16144 old_archive_From_new_cmds_GCJ
=
16145 old_archive_from_expsyms_cmds_GCJ
=
16146 export_dynamic_flag_spec_GCJ
=
16147 whole_archive_flag_spec_GCJ
=
16148 thread_safe_flag_spec_GCJ
=
16149 hardcode_libdir_flag_spec_GCJ
=
16150 hardcode_libdir_flag_spec_ld_GCJ
=
16151 hardcode_libdir_separator_GCJ
=
16152 hardcode_direct_GCJ
=no
16153 hardcode_minus_L_GCJ
=no
16154 hardcode_shlibpath_var_GCJ
=unsupported
16155 link_all_deplibs_GCJ
=unknown
16156 hardcode_automatic_GCJ
=no
16158 module_expsym_cmds_GCJ
=
16159 always_export_symbols_GCJ
=no
16160 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16161 # include_expsyms should be a list of space-separated symbols to be *always*
16162 # included in the symbol list
16163 include_expsyms_GCJ
=
16164 # exclude_expsyms can be an extended regexp of symbols to exclude
16165 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16166 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16167 # as well as any symbol that contains `d'.
16168 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16169 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16170 # platforms (ab)use it in PIC code, but their linkers get confused if
16171 # the symbol is explicitly referenced. Since portable code cannot
16172 # rely on this symbol name, it's probably fine to never include it in
16173 # preloaded symbol tables.
16174 extract_expsyms_cmds
=
16177 cygwin
* | mingw
* | pw32
*)
16178 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16179 # When not using gcc, we currently assume that we are using
16180 # Microsoft Visual C++.
16181 if test "$GCC" != yes; then
16191 if test "$with_gnu_ld" = yes; then
16192 # If archive_cmds runs LD, not CC, wlarc should be empty
16195 # See if GNU ld supports shared libraries.
16197 aix3
* | aix4
* | aix5
*)
16198 # On AIX/PPC, the GNU linker is very broken
16199 if test "$host_cpu" != ia64
; then
16203 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16204 *** to be unable to reliably create shared libraries on AIX.
16205 *** Therefore, libtool is disabling shared libraries support. If you
16206 *** really care for shared libraries, you may want to modify your PATH
16207 *** so that a non-GNU linker is found, and then restart.
16214 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)'
16215 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16216 hardcode_minus_L_GCJ
=yes
16218 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16219 # that the semantics of dynamic libraries on AmigaOS, at least up
16220 # to version 4, is to share data among multiple programs linked
16221 # with the same dynamic library. Since this doesn't match the
16222 # behavior of shared libraries on other platforms, we can't use
16228 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16229 allow_undefined_flag_GCJ
=unsupported
16230 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16231 # support --undefined. This deserves some investigation. FIXME
16232 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16238 cygwin
* | mingw
* | pw32
*)
16239 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16240 # as there is no search path for DLLs.
16241 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16242 allow_undefined_flag_GCJ
=unsupported
16243 always_export_symbols_GCJ
=no
16244 enable_shared_with_static_runtimes_GCJ
=yes
16245 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16247 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16248 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16249 # If the export-symbols file already is a .def file (1st line
16250 # is EXPORTS), use it as is; otherwise, prepend...
16251 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16252 cp $export_symbols $output_objdir/$soname.def;
16254 echo EXPORTS > $output_objdir/$soname.def;
16255 cat $export_symbols >> $output_objdir/$soname.def;
16257 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16264 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16265 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16268 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16269 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16274 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16278 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16279 *** create shared libraries on Solaris systems. Therefore, libtool
16280 *** is disabling shared libraries support. We urge you to upgrade GNU
16281 *** binutils to release 2.9.1 or newer. Another option is to modify
16282 *** your PATH or compiler configuration so that the native linker is
16283 *** used, and then restart.
16286 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16287 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16288 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16295 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16297 hardcode_direct_GCJ
=yes
16298 hardcode_shlibpath_var_GCJ
=no
16302 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16303 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16304 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16311 if test "$ld_shlibs_GCJ" = yes; then
16312 runpath_var
=LD_RUN_PATH
16313 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16314 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16315 # ancient GNU ld didn't support --whole-archive et. al.
16316 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16317 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16319 whole_archive_flag_spec_GCJ
=
16323 # PORTME fill in a description of your system's linker (not GNU ld)
16326 allow_undefined_flag_GCJ
=unsupported
16327 always_export_symbols_GCJ
=yes
16328 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'
16329 # Note: this linker hardcodes the directories in LIBPATH if there
16330 # are no directories specified by -L.
16331 hardcode_minus_L_GCJ
=yes
16332 if test "$GCC" = yes && test -z "$link_static_flag"; then
16333 # Neither direct hardcoding nor static linking is supported with a
16335 hardcode_direct_GCJ
=unsupported
16340 if test "$host_cpu" = ia64
; then
16341 # On IA64, the linker does run time linking by default, so we don't
16342 # have to do anything special.
16343 aix_use_runtimelinking
=no
16344 exp_sym_flag
='-Bexport'
16347 # If we're using GNU nm, then we don't want the "-C" option.
16348 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16349 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16350 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'
16352 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'
16354 aix_use_runtimelinking
=no
16356 # Test if we are trying to use run time linking or normal
16357 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16358 # need to do runtime linking.
16359 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16360 for ld_flag
in $LDFLAGS; do
16361 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16362 aix_use_runtimelinking
=yes
16368 exp_sym_flag
='-bexport'
16369 no_entry_flag
='-bnoentry'
16372 # When large executables or shared objects are built, AIX ld can
16373 # have problems creating the table of contents. If linking a library
16374 # or program results in "error TOC overflow" add -mminimal-toc to
16375 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16376 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16378 archive_cmds_GCJ
=''
16379 hardcode_direct_GCJ
=yes
16380 hardcode_libdir_separator_GCJ
=':'
16381 link_all_deplibs_GCJ
=yes
16383 if test "$GCC" = yes; then
16384 case $host_os in aix4.012|aix4.012.
*)
16385 # We only want to do this on AIX 4.2 and lower, the check
16386 # below for broken collect2 doesn't work under 4.3+
16387 collect2name
=`${CC} -print-prog-name=collect2`
16388 if test -f "$collect2name" && \
16389 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16391 # We have reworked collect2
16392 hardcode_direct_GCJ
=yes
16394 # We have old collect2
16395 hardcode_direct_GCJ
=unsupported
16396 # It fails to find uninstalled libraries when the uninstalled
16397 # path is not listed in the libpath. Setting hardcode_minus_L
16398 # to unsupported forces relinking
16399 hardcode_minus_L_GCJ
=yes
16400 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16401 hardcode_libdir_separator_GCJ
=
16404 shared_flag
='-shared'
16407 if test "$host_cpu" = ia64
; then
16408 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16409 # chokes on -Wl,-G. The following line is correct:
16412 if test "$aix_use_runtimelinking" = yes; then
16413 shared_flag
='${wl}-G'
16415 shared_flag
='${wl}-bM:SRE'
16420 # It seems that -bexpall does not export symbols beginning with
16421 # underscore (_), so it is better to generate a list of symbols to export.
16422 always_export_symbols_GCJ
=yes
16423 if test "$aix_use_runtimelinking" = yes; then
16424 # Warning - without using the other runtime loading flags (-brtl),
16425 # -berok will link without error, but may produce a broken library.
16426 allow_undefined_flag_GCJ
='-berok'
16427 # Determine the default libpath from the value encoded in an empty executable.
16428 cat >conftest.
$ac_ext <<_ACEOF
16431 cat confdefs.h
>>conftest.
$ac_ext
16432 cat >>conftest.
$ac_ext <<_ACEOF
16433 /* end confdefs.h. */
16443 rm -f conftest.
$ac_objext conftest
$ac_exeext
16444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16445 (eval $ac_link) 2>conftest.er1
16447 grep -v '^ *+' conftest.er1
>conftest.err
16449 cat conftest.err
>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); } &&
16452 { ac_try
='test -z "$ac_c_werror_flag"
16453 || test ! -s conftest.err'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; } &&
16459 { ac_try
='test -s conftest$ac_exeext'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461 (eval $ac_try) 2>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; }; then
16466 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16468 # Check for a 64-bit object if we didn't find anything.
16469 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; }
16472 echo "$as_me: failed program was:" >&5
16473 sed 's/^/| /' conftest.
$ac_ext >&5
16476 rm -f conftest.err conftest.
$ac_objext \
16477 conftest
$ac_exeext conftest.
$ac_ext
16478 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16480 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16481 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"
16483 if test "$host_cpu" = ia64; then
16484 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
16485 allow_undefined_flag_GCJ="-z nodefs"
16486 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"
16488 # Determine the default libpath from the value encoded in an empty executable.
16489 cat >conftest.$ac_ext <<_ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16504 rm -f conftest.$ac_objext conftest$ac_exeext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16506 (eval $ac_link) 2>conftest.er1
16508 grep -v '^ *+' conftest.er1 >conftest.err
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try='test -z "$ac_c_werror_flag"
16514 || test ! -s conftest.err'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16519 (exit $ac_status); }; } &&
16520 { ac_try='test -s conftest$ac_exeext'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16525 (exit $ac_status); }; }; then
16527 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16529 # Check for a 64-bit object if we didn't find anything.
16530 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; }
16533 echo "$as_me: failed program was
:" >&5
16534 sed 's/^/| /' conftest.$ac_ext >&5
16537 rm -f conftest.err conftest.$ac_objext \
16538 conftest$ac_exeext conftest.$ac_ext
16539 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16541 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16542 # Warning - without using the other run time loading flags,
16543 # -berok will link without error, but may produce a broken library.
16544 no_undefined_flag_GCJ=' ${wl}-bernotok'
16545 allow_undefined_flag_GCJ=' ${wl}-berok'
16546 # -bexpall does not export symbols beginning with underscore (_)
16547 always_export_symbols_GCJ=yes
16548 # Exported symbols can be pulled into shared objects from archives
16549 whole_archive_flag_spec_GCJ=' '
16550 archive_cmds_need_lc_GCJ=yes
16551 # This is similar to how AIX traditionally builds it's shared libraries.
16552 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'
16558 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)'
16559 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16560 hardcode_minus_L_GCJ
=yes
16561 # see comment about different semantics on the GNU ld section
16566 export_dynamic_flag_spec_GCJ
=-rdynamic
16569 cygwin
* | mingw
* | pw32
*)
16570 # When not using gcc, we currently assume that we are using
16571 # Microsoft Visual C++.
16572 # hardcode_libdir_flag_spec is actually meaningless, as there is
16573 # no search path for DLLs.
16574 hardcode_libdir_flag_spec_GCJ
=' '
16575 allow_undefined_flag_GCJ
=unsupported
16576 # Tell ltmain to make .lib files, not .a files.
16578 # Tell ltmain to make .dll files, not .so files.
16580 # FIXME: Setting linknames here is a bad hack.
16581 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16582 # The linker will automatically build a .lib file if we build a DLL.
16583 old_archive_From_new_cmds_GCJ
='true'
16584 # FIXME: Should let the user specify the lib program.
16585 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16586 fix_srcfile_path
='`cygpath -w "$srcfile"`'
16587 enable_shared_with_static_runtimes_GCJ
=yes
16590 darwin
* | rhapsody
*)
16591 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
16592 archive_cmds_need_lc_GCJ
=no
16594 rhapsody
* | darwin1.
[012])
16595 allow_undefined_flag_GCJ
='-undefined suppress'
16598 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16601 # FIXME: Relying on posixy $() will cause problems for
16602 # cross-compilation, but unfortunately the echo tests do not
16603 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
16604 # `"' quotes if we put them in here... so don't!
16605 lt_int_apple_cc_single_mod
=no
16606 output_verbose_link_cmd
='echo'
16607 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
16608 lt_int_apple_cc_single_mod
=yes
16610 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16611 archive_cmds_GCJ
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16613 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'
16615 module_cmds_GCJ
='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
16616 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16617 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16618 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}'
16620 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}'
16622 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}'
16623 hardcode_direct_GCJ
=no
16624 hardcode_automatic_GCJ
=yes
16625 hardcode_shlibpath_var_GCJ
=unsupported
16626 whole_archive_flag_spec_GCJ
='-all_load $convenience'
16627 link_all_deplibs_GCJ
=yes
16632 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16633 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16634 hardcode_shlibpath_var_GCJ
=no
16641 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16642 # support. Future versions do this automatically, but an explicit c++rt0.o
16643 # does not break anything, and helps significantly (at the cost of a little
16646 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16647 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16648 hardcode_direct_GCJ
=yes
16649 hardcode_shlibpath_var_GCJ
=no
16652 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16654 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16655 hardcode_direct_GCJ
=yes
16656 hardcode_minus_L_GCJ
=yes
16657 hardcode_shlibpath_var_GCJ
=no
16660 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16662 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16663 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16664 hardcode_direct_GCJ
=yes
16665 hardcode_shlibpath_var_GCJ
=no
16669 if test "$GCC" = yes; then
16670 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'
16672 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'
16674 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16675 hardcode_libdir_separator_GCJ
=:
16676 hardcode_direct_GCJ
=yes
16678 # hardcode_minus_L: Not really in the search PATH,
16679 # but as the default location of the library.
16680 hardcode_minus_L_GCJ
=yes
16681 export_dynamic_flag_spec_GCJ
='${wl}-E'
16685 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16686 case "$host_cpu" in
16688 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16691 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16695 case "$host_cpu" in
16697 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16700 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16704 if test "$with_gnu_ld" = no
; then
16705 case "$host_cpu" in
16707 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16708 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16709 hardcode_libdir_separator_GCJ
=:
16710 hardcode_direct_GCJ
=no
16711 hardcode_shlibpath_var_GCJ
=no
16714 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16715 hardcode_direct_GCJ
=no
16716 hardcode_shlibpath_var_GCJ
=no
16718 # hardcode_minus_L: Not really in the search PATH,
16719 # but as the default location of the library.
16720 hardcode_minus_L_GCJ
=yes
16723 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16724 hardcode_libdir_separator_GCJ
=:
16725 hardcode_direct_GCJ
=yes
16726 export_dynamic_flag_spec_GCJ
='${wl}-E'
16728 # hardcode_minus_L: Not really in the search PATH,
16729 # but as the default location of the library.
16730 hardcode_minus_L_GCJ
=yes
16736 irix5
* | irix6
* | nonstopux
*)
16737 if test "$GCC" = yes; then
16738 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'
16740 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'
16741 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16743 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16744 hardcode_libdir_separator_GCJ
=:
16745 link_all_deplibs_GCJ
=yes
16749 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16750 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16752 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16754 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16755 hardcode_direct_GCJ
=yes
16756 hardcode_shlibpath_var_GCJ
=no
16760 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16761 hardcode_direct_GCJ
=yes
16762 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16763 hardcode_libdir_separator_GCJ
=:
16764 hardcode_shlibpath_var_GCJ
=no
16768 hardcode_direct_GCJ
=yes
16769 hardcode_shlibpath_var_GCJ
=no
16770 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16771 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16772 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16773 export_dynamic_flag_spec_GCJ
='${wl}-E'
16776 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16777 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16778 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16781 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16782 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16789 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16790 hardcode_minus_L_GCJ
=yes
16791 allow_undefined_flag_GCJ
=unsupported
16792 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'
16793 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16797 if test "$GCC" = yes; then
16798 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16799 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'
16801 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16802 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'
16804 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16805 hardcode_libdir_separator_GCJ
=:
16808 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16809 if test "$GCC" = yes; then
16810 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16811 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'
16812 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16814 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16815 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'
16816 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~
16817 $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'
16819 # Both c and cxx compiler support -rpath directly
16820 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16822 hardcode_libdir_separator_GCJ
=:
16826 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16827 hardcode_shlibpath_var_GCJ
=no
16828 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16829 runpath_var
=LD_RUN_PATH
16830 hardcode_runpath_var
=yes
16834 no_undefined_flag_GCJ
=' -z text'
16835 if test "$GCC" = yes; then
16836 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16837 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16838 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16840 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16841 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16842 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16844 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16845 hardcode_shlibpath_var_GCJ
=no
16847 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16848 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16849 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16851 link_all_deplibs_GCJ
=yes
16855 if test "x$host_vendor" = xsequent
; then
16856 # Use $CC to link under sequent, because it throws in some extra .o
16857 # files that make .init and .fini sections work.
16858 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16860 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16862 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16863 hardcode_direct_GCJ
=yes
16864 hardcode_minus_L_GCJ
=yes
16865 hardcode_shlibpath_var_GCJ
=no
16869 case $host_vendor in
16871 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16872 hardcode_direct_GCJ
=yes # is this really true???
16875 ## LD is ld it makes a PLAMLIB
16876 ## CC just makes a GrossModule.
16877 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16878 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16879 hardcode_direct_GCJ
=no
16882 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16883 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16886 runpath_var
='LD_RUN_PATH'
16887 hardcode_shlibpath_var_GCJ
=no
16891 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16892 hardcode_shlibpath_var_GCJ
=no
16893 export_dynamic_flag_spec_GCJ
='-Bexport'
16897 if test -d /usr
/nec
; then
16898 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16899 hardcode_shlibpath_var_GCJ
=no
16900 runpath_var
=LD_RUN_PATH
16901 hardcode_runpath_var
=yes
16907 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16908 hardcode_direct_GCJ
=yes
16909 hardcode_minus_L_GCJ
=no
16910 hardcode_shlibpath_var_GCJ
=no
16911 hardcode_runpath_var
=yes
16912 runpath_var
=LD_RUN_PATH
16915 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16916 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
16917 if test "$GCC" = yes; then
16918 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16920 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16922 runpath_var
='LD_RUN_PATH'
16923 hardcode_shlibpath_var_GCJ
=no
16927 no_undefined_flag_GCJ
=' -z text'
16928 # $CC -shared without GNU ld will not create a library from C++
16929 # object files and a static libstdc++, better avoid it by now
16930 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16931 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16932 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16933 hardcode_libdir_flag_spec_GCJ
=
16934 hardcode_shlibpath_var_GCJ
=no
16935 runpath_var
='LD_RUN_PATH'
16939 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16940 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16941 hardcode_shlibpath_var_GCJ
=no
16950 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16951 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16952 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
16954 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16955 if test "$GCC" = yes; then
16956 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16960 # Do we need to explicitly link libc?
16962 case "x$archive_cmds_need_lc_GCJ" in
16964 # Assume -lc should be added
16965 archive_cmds_need_lc_GCJ
=yes
16967 if test "$enable_shared" = yes && test "$GCC" = yes; then
16968 case $archive_cmds_GCJ in
16970 # FIXME: we may have to deal with multi-command sequences.
16973 # Test whether the compiler implicitly links with -lc since on some
16974 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16975 # to ld, don't add -lc before -lgcc.
16976 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16977 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16979 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16982 (eval $ac_compile) 2>&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); } 2>conftest.err
; then
16988 libobjs
=conftest.
$ac_objext
16990 wl
=$lt_prog_compiler_wl_GCJ
16996 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
16997 allow_undefined_flag_GCJ
=
16998 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16999 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }
17004 archive_cmds_need_lc_GCJ
=no
17006 archive_cmds_need_lc_GCJ
=yes
17008 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17010 cat conftest.err
1>&5
17013 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17014 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17021 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17022 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17023 hardcode_action_GCJ
=
17024 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17025 test -n "$runpath_var GCJ" || \
17026 test "X$hardcode_automatic_GCJ"="Xyes" ; then
17028 # We can hardcode non-existant directories.
17029 if test "$hardcode_direct_GCJ" != no
&&
17030 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17031 # have to relink, otherwise we might link with an installed library
17032 # when we should be linking with a yet-to-be-installed one
17033 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17034 test "$hardcode_minus_L_GCJ" != no
; then
17035 # Linking always hardcodes the temporary library directory.
17036 hardcode_action_GCJ
=relink
17038 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17039 hardcode_action_GCJ
=immediate
17042 # We cannot hardcode anything, or else we can only hardcode existing
17044 hardcode_action_GCJ
=unsupported
17046 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17047 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17049 if test "$hardcode_action_GCJ" = relink
; then
17050 # Fast installation is not supported
17051 enable_fast_install
=no
17052 elif test "$shlibpath_overrides_runpath" = yes ||
17053 test "$enable_shared" = no
; then
17054 # Fast installation is not necessary
17055 enable_fast_install
=needless
17060 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17061 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17062 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17063 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17064 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17065 echo "$as_me:$LINENO: result: yes" >&5
17066 echo "${ECHO_T}yes" >&6
17068 # FIXME - insert some real tests, host_os isn't really good enough
17071 if test -n "$STRIP" ; then
17072 striplib
="$STRIP -x"
17073 echo "$as_me:$LINENO: result: yes" >&5
17074 echo "${ECHO_T}yes" >&6
17076 echo "$as_me:$LINENO: result: no" >&5
17077 echo "${ECHO_T}no" >&6
17081 echo "$as_me:$LINENO: result: no" >&5
17082 echo "${ECHO_T}no" >&6
17087 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17088 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17089 library_names_spec
=
17090 libname_spec
='lib$name'
17094 postuninstall_cmds
=
17098 shlibpath_overrides_runpath
=unknown
17100 dynamic_linker
="$host_os ld.so"
17101 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17102 if test "$GCC" = yes; then
17103 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17104 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17105 # if the path contains ";" then we assume it to be the separator
17106 # otherwise default to the standard path separator (i.e. ":") - it is
17107 # assumed that no part of a normal pathname contains ";" but that should
17108 # okay in the real world where ";" in dirpaths is itself problematic.
17109 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17111 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17114 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17116 need_lib_prefix
=unknown
17117 hardcode_into_libs
=no
17119 # when you set need_version to no, make sure it does not cause -set_version
17120 # flags to be left without arguments
17121 need_version
=unknown
17126 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17127 shlibpath_var
=LIBPATH
17129 # AIX 3 has no versioning support, so we append a major version to the name.
17130 soname_spec
='${libname}${release}${shared_ext}$major'
17137 hardcode_into_libs
=yes
17138 if test "$host_cpu" = ia64
; then
17139 # AIX 5 supports IA64
17140 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17141 shlibpath_var
=LD_LIBRARY_PATH
17143 # With GCC up to 2.95.x, collect2 would create an import file
17144 # for dependence libraries. The import file would start with
17145 # the line `#! .'. This would cause the generated library to
17146 # depend on `.', always an invalid library. This was fixed in
17147 # development snapshots of GCC prior to 3.0.
17149 aix4 | aix4.
[01] | aix4.
[01].
*)
17150 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17152 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17155 can_build_shared
=no
17159 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17160 # soname into executable. Probably we can add versioning support to
17161 # collect2, so additional links can be useful in future.
17162 if test "$aix_use_runtimelinking" = yes; then
17163 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17164 # instead of lib<name>.a to let people know that these are not
17165 # typical AIX shared libraries.
17166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17168 # We preserve .a as extension for shared libraries through AIX4.2
17169 # and later when we are not doing run time linking.
17170 library_names_spec
='${libname}${release}.a $libname.a'
17171 soname_spec
='${libname}${release}${shared_ext}$major'
17173 shlibpath_var
=LIBPATH
17178 library_names_spec
='$libname.ixlibrary $libname.a'
17179 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17180 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'
17184 library_names_spec
='${libname}${shared_ext}'
17185 dynamic_linker
="$host_os ld.so"
17186 shlibpath_var
=LIBRARY_PATH
17192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17193 soname_spec
='${libname}${release}${shared_ext}$major'
17194 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17195 shlibpath_var
=LD_LIBRARY_PATH
17196 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17197 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17198 # the default ld.so.conf also contains /usr/contrib/lib and
17199 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17200 # libtool to hard-code these into programs
17203 cygwin
* | mingw
* | pw32
*)
17204 version_type
=windows
17209 case $GCC,$host_os in
17210 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17211 library_names_spec
='$libname.dll.a'
17212 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17213 postinstall_cmds
='base_file=`basename \${file}`~
17214 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17215 dldir=$destdir/`dirname \$dlpath`~
17216 test -d \$dldir || mkdir -p \$dldir~
17217 $install_prog $dir/$dlname \$dldir/$dlname'
17218 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17219 dlpath=$dir/\$dldll~
17221 shlibpath_overrides_runpath
=yes
17225 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17226 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17227 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
17230 # MinGW DLLs use traditional 'lib' prefix
17231 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17232 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17233 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17234 # It is most probably a Windows format PATH printed by
17235 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17236 # path with ; separators, and with drive letters. We can handle the
17237 # drive letters (cygwin fileutils understands them), so leave them,
17238 # especially as we might pass files found there to a mingw objdump,
17239 # which wouldn't understand a cygwinified path. Ahh.
17240 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17242 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17246 # pw32 DLLs use 'pw' prefix rather than 'lib'
17247 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17253 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17256 dynamic_linker
='Win32 ld.exe'
17257 # FIXME: first we should search . and the directory the executable is in
17261 darwin
* | rhapsody
*)
17262 dynamic_linker
="$host_os dyld"
17263 version_type
=darwin
17266 # FIXME: Relying on posixy $() will cause problems for
17267 # cross-compilation, but unfortunately the echo tests do not
17268 # yet detect zsh echo's removal of \ escapes.
17269 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17270 soname_spec
='${libname}${release}${major}$shared_ext'
17271 shlibpath_overrides_runpath
=yes
17272 shlibpath_var
=DYLD_LIBRARY_PATH
17273 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
17274 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17275 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
17276 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"`
17278 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17286 soname_spec
='${libname}${release}${shared_ext}$major'
17287 shlibpath_var
=LD_LIBRARY_PATH
17295 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17296 version_type
=freebsd-
$objformat
17297 case $version_type in
17299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17304 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17308 shlibpath_var
=LD_LIBRARY_PATH
17311 shlibpath_overrides_runpath
=yes
17313 freebsd3.01
* | freebsdelf3.01
*)
17314 shlibpath_overrides_runpath
=yes
17315 hardcode_into_libs
=yes
17318 shlibpath_overrides_runpath
=no
17319 hardcode_into_libs
=yes
17328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17329 soname_spec
='${libname}${release}${shared_ext}$major'
17330 shlibpath_var
=LD_LIBRARY_PATH
17331 hardcode_into_libs
=yes
17334 hpux9
* | hpux10
* | hpux11
*)
17335 # Give a soname corresponding to the major version so that dld.sl refuses to
17336 # link against other versions.
17340 case "$host_cpu" in
17343 hardcode_into_libs
=yes
17344 dynamic_linker
="$host_os dld.so"
17345 shlibpath_var
=LD_LIBRARY_PATH
17346 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17348 soname_spec
='${libname}${release}${shared_ext}$major'
17349 if test "X$HPUX_IA64_MODE" = X32
; then
17350 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17352 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17354 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17358 hardcode_into_libs
=yes
17359 dynamic_linker
="$host_os dld.sl"
17360 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17361 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17363 soname_spec
='${libname}${release}${shared_ext}$major'
17364 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17365 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17369 dynamic_linker
="$host_os dld.sl"
17370 shlibpath_var
=SHLIB_PATH
17371 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17373 soname_spec
='${libname}${release}${shared_ext}$major'
17376 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17377 postinstall_cmds
='chmod 555 $lib'
17380 irix5
* | irix6
* | nonstopux
*)
17382 nonstopux
*) version_type
=nonstopux
;;
17384 if test "$lt_cv_prog_gnu_ld" = yes; then
17392 soname_spec
='${libname}${release}${shared_ext}$major'
17393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17395 irix5
* | nonstopux
*)
17396 libsuff
= shlibsuff
=
17399 case $LD in # libtool.m4 will add one of these switches to LD
17400 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17401 libsuff
= shlibsuff
= libmagic
=32-bit;;
17402 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17403 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17404 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17405 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17406 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17410 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17411 shlibpath_overrides_runpath
=no
17412 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17413 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17414 hardcode_into_libs
=yes
17417 # No shared lib support for Linux oldld, aout, or coff.
17418 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17422 # This must be Linux ELF.
17427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17428 soname_spec
='${libname}${release}${shared_ext}$major'
17429 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17430 shlibpath_var
=LD_LIBRARY_PATH
17431 shlibpath_overrides_runpath
=no
17432 # This implies no fast_install, which is unacceptable.
17433 # Some rework will be needed to allow for fast_install
17434 # before this can be enabled.
17435 hardcode_into_libs
=yes
17437 # We used to test for /lib/ld.so.1 and disable shared libraries on
17438 # powerpc, because MkLinux only supported shared libraries with the
17439 # GNU dynamic linker. Since this was broken with cross compilers,
17440 # most powerpc-linux boxes support dynamic linking these days and
17441 # people can always --disable-shared, the test was removed, and we
17442 # assume the GNU/Linux dynamic linker is in use.
17443 dynamic_linker
='GNU/Linux ld.so'
17450 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17452 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17453 dynamic_linker
='NetBSD (a.out) ld.so'
17455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
17456 soname_spec
='${libname}${release}${shared_ext}$major'
17457 dynamic_linker
='NetBSD ld.elf_so'
17459 shlibpath_var
=LD_LIBRARY_PATH
17460 shlibpath_overrides_runpath
=yes
17461 hardcode_into_libs
=yes
17466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17467 shlibpath_var
=LD_LIBRARY_PATH
17468 shlibpath_overrides_runpath
=yes
17475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17476 soname_spec
='${libname}${release}${shared_ext}$major'
17477 shlibpath_var
=LD_LIBRARY_PATH
17478 shlibpath_overrides_runpath
=yes
17485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17486 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17487 shlibpath_var
=LD_LIBRARY_PATH
17488 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17490 openbsd2.
[89] | openbsd2.
[89].
*)
17491 shlibpath_overrides_runpath
=no
17494 shlibpath_overrides_runpath
=yes
17498 shlibpath_overrides_runpath
=yes
17503 libname_spec
='$name'
17506 library_names_spec
='$libname${shared_ext} $libname.a'
17507 dynamic_linker
='OS/2 ld.exe'
17508 shlibpath_var
=LIBPATH
17511 osf3
* | osf4
* | osf5
*)
17515 soname_spec
='${libname}${release}${shared_ext}$major'
17516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17517 shlibpath_var
=LD_LIBRARY_PATH
17518 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17519 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17524 soname_spec
='${libname}${release}${shared_ext}$major'
17525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17526 shlibpath_var
=LD_LIBRARY_PATH
17533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17534 soname_spec
='${libname}${release}${shared_ext}$major'
17535 shlibpath_var
=LD_LIBRARY_PATH
17536 shlibpath_overrides_runpath
=yes
17537 hardcode_into_libs
=yes
17538 # ldd complains unless libraries are executable
17539 postinstall_cmds
='chmod +x $lib'
17544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17545 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17546 shlibpath_var
=LD_LIBRARY_PATH
17547 shlibpath_overrides_runpath
=yes
17548 if test "$with_gnu_ld" = yes; then
17554 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17557 soname_spec
='${libname}${release}${shared_ext}$major'
17558 shlibpath_var
=LD_LIBRARY_PATH
17559 case $host_vendor in
17561 shlibpath_overrides_runpath
=no
17563 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17564 runpath_var
=LD_RUN_PATH
17572 shlibpath_overrides_runpath
=no
17573 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17579 if test -d /usr
/nec
;then
17581 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17582 soname_spec
='$libname${shared_ext}.$major'
17583 shlibpath_var
=LD_LIBRARY_PATH
17589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17590 soname_spec
='${libname}${release}${shared_ext}$major'
17591 shlibpath_var
=LD_LIBRARY_PATH
17598 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17599 echo "${ECHO_T}$dynamic_linker" >&6
17600 test "$dynamic_linker" = no
&& can_build_shared
=no
17602 if test "x$enable_dlopen" != xyes
; then
17603 enable_dlopen
=unknown
17604 enable_dlopen_self
=unknown
17605 enable_dlopen_self_static
=unknown
17612 lt_cv_dlopen
="load_add_on"
17614 lt_cv_dlopen_self
=yes
17618 lt_cv_dlopen
="LoadLibrary"
17623 lt_cv_dlopen
="dlopen"
17628 # if libdl is installed we need to link against it
17629 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17630 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17631 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17632 echo $ECHO_N "(cached) $ECHO_C" >&6
17634 ac_check_lib_save_LIBS
=$LIBS
17636 cat >conftest.
$ac_ext <<_ACEOF
17639 cat confdefs.h
>>conftest.
$ac_ext
17640 cat >>conftest.
$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17643 /* Override any gcc2 internal prototype to avoid an error. */
17647 /* We use char because int might match the return type of a gcc2
17648 builtin and then its argument prototype would still apply. */
17658 rm -f conftest.
$ac_objext conftest
$ac_exeext
17659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17660 (eval $ac_link) 2>conftest.er1
17662 grep -v '^ *+' conftest.er1
>conftest.err
17664 cat conftest.err
>&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); } &&
17667 { ac_try
='test -z "$ac_c_werror_flag"
17668 || test ! -s conftest.err'
17669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17670 (eval $ac_try) 2>&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); }; } &&
17674 { ac_try
='test -s conftest$ac_exeext'
17675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17676 (eval $ac_try) 2>&5
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); }; }; then
17680 ac_cv_lib_dl_dlopen
=yes
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.
$ac_ext >&5
17685 ac_cv_lib_dl_dlopen
=no
17687 rm -f conftest.err conftest.
$ac_objext \
17688 conftest
$ac_exeext conftest.
$ac_ext
17689 LIBS
=$ac_check_lib_save_LIBS
17691 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17692 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17693 if test $ac_cv_lib_dl_dlopen = yes; then
17694 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17697 lt_cv_dlopen
="dyld"
17699 lt_cv_dlopen_self
=yes
17706 echo "$as_me:$LINENO: checking for shl_load" >&5
17707 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17708 if test "${ac_cv_func_shl_load+set}" = set; then
17709 echo $ECHO_N "(cached) $ECHO_C" >&6
17711 cat >conftest.
$ac_ext <<_ACEOF
17714 cat confdefs.h
>>conftest.
$ac_ext
17715 cat >>conftest.
$ac_ext <<_ACEOF
17716 /* end confdefs.h. */
17717 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17719 #define shl_load innocuous_shl_load
17721 /* System header to define __stub macros and hopefully few prototypes,
17722 which can conflict with char shl_load (); below.
17723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17724 <limits.h> exists even on freestanding compilers. */
17727 # include <limits.h>
17729 # include <assert.h>
17734 /* Override any gcc2 internal prototype to avoid an error. */
17739 /* We use char because int might match the return type of a gcc2
17740 builtin and then its argument prototype would still apply. */
17742 /* The GNU C library defines this for functions which it implements
17743 to always fail with ENOSYS. Some functions are actually named
17744 something starting with __ and the normal name is an alias. */
17745 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17748 char (*f) () = shl_load;
17757 return f != shl_load;
17762 rm -f conftest.
$ac_objext conftest
$ac_exeext
17763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17764 (eval $ac_link) 2>conftest.er1
17766 grep -v '^ *+' conftest.er1
>conftest.err
17768 cat conftest.err
>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); } &&
17771 { ac_try
='test -z "$ac_c_werror_flag"
17772 || test ! -s conftest.err'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; } &&
17778 { ac_try
='test -s conftest$ac_exeext'
17779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780 (eval $ac_try) 2>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; }; then
17784 ac_cv_func_shl_load
=yes
17786 echo "$as_me: failed program was:" >&5
17787 sed 's/^/| /' conftest.
$ac_ext >&5
17789 ac_cv_func_shl_load
=no
17791 rm -f conftest.err conftest.
$ac_objext \
17792 conftest
$ac_exeext conftest.
$ac_ext
17794 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17795 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17796 if test $ac_cv_func_shl_load = yes; then
17797 lt_cv_dlopen
="shl_load"
17799 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17800 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17801 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17802 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 ac_check_lib_save_LIBS
=$LIBS
17806 cat >conftest.
$ac_ext <<_ACEOF
17809 cat confdefs.h
>>conftest.
$ac_ext
17810 cat >>conftest.
$ac_ext <<_ACEOF
17811 /* end confdefs.h. */
17813 /* Override any gcc2 internal prototype to avoid an error. */
17817 /* We use char because int might match the return type of a gcc2
17818 builtin and then its argument prototype would still apply. */
17828 rm -f conftest.
$ac_objext conftest
$ac_exeext
17829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17830 (eval $ac_link) 2>conftest.er1
17832 grep -v '^ *+' conftest.er1
>conftest.err
17834 cat conftest.err
>&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } &&
17837 { ac_try
='test -z "$ac_c_werror_flag"
17838 || test ! -s conftest.err'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; } &&
17844 { ac_try
='test -s conftest$ac_exeext'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17850 ac_cv_lib_dld_shl_load
=yes
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.
$ac_ext >&5
17855 ac_cv_lib_dld_shl_load
=no
17857 rm -f conftest.err conftest.
$ac_objext \
17858 conftest
$ac_exeext conftest.
$ac_ext
17859 LIBS
=$ac_check_lib_save_LIBS
17861 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17862 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17863 if test $ac_cv_lib_dld_shl_load = yes; then
17864 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
17866 echo "$as_me:$LINENO: checking for dlopen" >&5
17867 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17868 if test "${ac_cv_func_dlopen+set}" = set; then
17869 echo $ECHO_N "(cached) $ECHO_C" >&6
17871 cat >conftest.
$ac_ext <<_ACEOF
17874 cat confdefs.h
>>conftest.
$ac_ext
17875 cat >>conftest.
$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17879 #define dlopen innocuous_dlopen
17881 /* System header to define __stub macros and hopefully few prototypes,
17882 which can conflict with char dlopen (); below.
17883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17884 <limits.h> exists even on freestanding compilers. */
17887 # include <limits.h>
17889 # include <assert.h>
17894 /* Override any gcc2 internal prototype to avoid an error. */
17899 /* We use char because int might match the return type of a gcc2
17900 builtin and then its argument prototype would still apply. */
17902 /* The GNU C library defines this for functions which it implements
17903 to always fail with ENOSYS. Some functions are actually named
17904 something starting with __ and the normal name is an alias. */
17905 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17908 char (*f) () = dlopen;
17917 return f != dlopen;
17922 rm -f conftest.
$ac_objext conftest
$ac_exeext
17923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17924 (eval $ac_link) 2>conftest.er1
17926 grep -v '^ *+' conftest.er1
>conftest.err
17928 cat conftest.err
>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } &&
17931 { ac_try
='test -z "$ac_c_werror_flag"
17932 || test ! -s conftest.err'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; } &&
17938 { ac_try
='test -s conftest$ac_exeext'
17939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17940 (eval $ac_try) 2>&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); }; }; then
17944 ac_cv_func_dlopen
=yes
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.
$ac_ext >&5
17949 ac_cv_func_dlopen
=no
17951 rm -f conftest.err conftest.
$ac_objext \
17952 conftest
$ac_exeext conftest.
$ac_ext
17954 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17955 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17956 if test $ac_cv_func_dlopen = yes; then
17957 lt_cv_dlopen
="dlopen"
17959 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17960 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17961 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17962 echo $ECHO_N "(cached) $ECHO_C" >&6
17964 ac_check_lib_save_LIBS
=$LIBS
17966 cat >conftest.
$ac_ext <<_ACEOF
17969 cat confdefs.h
>>conftest.
$ac_ext
17970 cat >>conftest.
$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17973 /* Override any gcc2 internal prototype to avoid an error. */
17977 /* We use char because int might match the return type of a gcc2
17978 builtin and then its argument prototype would still apply. */
17988 rm -f conftest.
$ac_objext conftest
$ac_exeext
17989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17990 (eval $ac_link) 2>conftest.er1
17992 grep -v '^ *+' conftest.er1
>conftest.err
17994 cat conftest.err
>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } &&
17997 { ac_try
='test -z "$ac_c_werror_flag"
17998 || test ! -s conftest.err'
17999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000 (eval $ac_try) 2>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; } &&
18004 { ac_try
='test -s conftest$ac_exeext'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; }; then
18010 ac_cv_lib_dl_dlopen
=yes
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.
$ac_ext >&5
18015 ac_cv_lib_dl_dlopen
=no
18017 rm -f conftest.err conftest.
$ac_objext \
18018 conftest
$ac_exeext conftest.
$ac_ext
18019 LIBS
=$ac_check_lib_save_LIBS
18021 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18022 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18023 if test $ac_cv_lib_dl_dlopen = yes; then
18024 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18026 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18027 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18028 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18029 echo $ECHO_N "(cached) $ECHO_C" >&6
18031 ac_check_lib_save_LIBS
=$LIBS
18032 LIBS
="-lsvld $LIBS"
18033 cat >conftest.
$ac_ext <<_ACEOF
18036 cat confdefs.h
>>conftest.
$ac_ext
18037 cat >>conftest.
$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18040 /* Override any gcc2 internal prototype to avoid an error. */
18044 /* We use char because int might match the return type of a gcc2
18045 builtin and then its argument prototype would still apply. */
18055 rm -f conftest.
$ac_objext conftest
$ac_exeext
18056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18057 (eval $ac_link) 2>conftest.er1
18059 grep -v '^ *+' conftest.er1
>conftest.err
18061 cat conftest.err
>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } &&
18064 { ac_try
='test -z "$ac_c_werror_flag"
18065 || test ! -s conftest.err'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; } &&
18071 { ac_try
='test -s conftest$ac_exeext'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; }; then
18077 ac_cv_lib_svld_dlopen
=yes
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.
$ac_ext >&5
18082 ac_cv_lib_svld_dlopen
=no
18084 rm -f conftest.err conftest.
$ac_objext \
18085 conftest
$ac_exeext conftest.
$ac_ext
18086 LIBS
=$ac_check_lib_save_LIBS
18088 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18089 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18090 if test $ac_cv_lib_svld_dlopen = yes; then
18091 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18093 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18094 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18095 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18096 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 ac_check_lib_save_LIBS
=$LIBS
18100 cat >conftest.
$ac_ext <<_ACEOF
18103 cat confdefs.h
>>conftest.
$ac_ext
18104 cat >>conftest.
$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18107 /* Override any gcc2 internal prototype to avoid an error. */
18111 /* We use char because int might match the return type of a gcc2
18112 builtin and then its argument prototype would still apply. */
18122 rm -f conftest.
$ac_objext conftest
$ac_exeext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18124 (eval $ac_link) 2>conftest.er1
18126 grep -v '^ *+' conftest.er1
>conftest.err
18128 cat conftest.err
>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } &&
18131 { ac_try
='test -z "$ac_c_werror_flag"
18132 || test ! -s conftest.err'
18133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134 (eval $ac_try) 2>&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); }; } &&
18138 { ac_try
='test -s conftest$ac_exeext'
18139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140 (eval $ac_try) 2>&5
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }; }; then
18144 ac_cv_lib_dld_dld_link
=yes
18146 echo "$as_me: failed program was:" >&5
18147 sed 's/^/| /' conftest.
$ac_ext >&5
18149 ac_cv_lib_dld_dld_link
=no
18151 rm -f conftest.err conftest.
$ac_objext \
18152 conftest
$ac_exeext conftest.
$ac_ext
18153 LIBS
=$ac_check_lib_save_LIBS
18155 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18156 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18157 if test $ac_cv_lib_dld_dld_link = yes; then
18158 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
18179 if test "x$lt_cv_dlopen" != xno
; then
18185 case $lt_cv_dlopen in
18187 save_CPPFLAGS
="$CPPFLAGS"
18188 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
18190 save_LDFLAGS
="$LDFLAGS"
18191 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
18194 LIBS
="$lt_cv_dlopen_libs $LIBS"
18196 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18197 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18198 if test "${lt_cv_dlopen_self+set}" = set; then
18199 echo $ECHO_N "(cached) $ECHO_C" >&6
18201 if test "$cross_compiling" = yes; then :
18202 lt_cv_dlopen_self
=cross
18204 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18205 lt_status
=$lt_dlunknown
18206 cat > conftest.
$ac_ext <<EOF
18207 #line 18207 "configure"
18208 #include "confdefs.h"
18217 # define LT_DLGLOBAL RTLD_GLOBAL
18220 # define LT_DLGLOBAL DL_GLOBAL
18222 # define LT_DLGLOBAL 0
18226 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18227 find out it does not work in some platform. */
18228 #ifndef LT_DLLAZY_OR_NOW
18230 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18233 # define LT_DLLAZY_OR_NOW DL_LAZY
18236 # define LT_DLLAZY_OR_NOW RTLD_NOW
18239 # define LT_DLLAZY_OR_NOW DL_NOW
18241 # define LT_DLLAZY_OR_NOW 0
18249 extern "C" void exit (int);
18252 void fnord() { int i=42;}
18255 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18256 int status = $lt_dlunknown;
18260 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18261 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18262 /* dlclose (self); */
18268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18269 (eval $ac_link) 2>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18273 (.
/conftest
; exit; ) 2>/dev
/null
18275 case x
$lt_status in
18276 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18277 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18278 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18281 # compilation failed
18282 lt_cv_dlopen_self
=no
18289 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18290 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18292 if test "x$lt_cv_dlopen_self" = xyes
; then
18293 LDFLAGS
="$LDFLAGS $link_static_flag"
18294 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18295 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18296 if test "${lt_cv_dlopen_self_static+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 if test "$cross_compiling" = yes; then :
18300 lt_cv_dlopen_self_static
=cross
18302 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18303 lt_status
=$lt_dlunknown
18304 cat > conftest.
$ac_ext <<EOF
18305 #line 18305 "configure"
18306 #include "confdefs.h"
18315 # define LT_DLGLOBAL RTLD_GLOBAL
18318 # define LT_DLGLOBAL DL_GLOBAL
18320 # define LT_DLGLOBAL 0
18324 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18325 find out it does not work in some platform. */
18326 #ifndef LT_DLLAZY_OR_NOW
18328 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18331 # define LT_DLLAZY_OR_NOW DL_LAZY
18334 # define LT_DLLAZY_OR_NOW RTLD_NOW
18337 # define LT_DLLAZY_OR_NOW DL_NOW
18339 # define LT_DLLAZY_OR_NOW 0
18347 extern "C" void exit (int);
18350 void fnord() { int i=42;}
18353 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18354 int status = $lt_dlunknown;
18358 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18359 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18360 /* dlclose (self); */
18366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18367 (eval $ac_link) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18371 (.
/conftest
; exit; ) 2>/dev
/null
18373 case x
$lt_status in
18374 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18375 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18376 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18379 # compilation failed
18380 lt_cv_dlopen_self_static
=no
18387 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18388 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18391 CPPFLAGS
="$save_CPPFLAGS"
18392 LDFLAGS
="$save_LDFLAGS"
18397 case $lt_cv_dlopen_self in
18398 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18399 *) enable_dlopen_self
=unknown
;;
18402 case $lt_cv_dlopen_self_static in
18403 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18404 *) enable_dlopen_self_static
=unknown
;;
18409 # The else clause should only fire when bootstrapping the
18410 # libtool distribution, otherwise you forgot to ship ltmain.sh
18411 # with your package, and you will get complaints that there are
18412 # no rules to generate ltmain.sh.
18413 if test -f "$ltmain"; then
18414 # See if we are running on zsh, and set the options which allow our commands through
18415 # without removal of \ escapes.
18416 if test -n "${ZSH_VERSION+set}" ; then
18417 setopt NO_GLOB_SUBST
18419 # Now quote all the things that may contain metacharacters while being
18420 # careful not to overquote the AC_SUBSTed values. We take copies of the
18421 # variables and quote the copies for generation of the libtool script.
18422 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18423 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18424 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18425 deplibs_check_method reload_flag reload_cmds need_locks \
18426 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18427 lt_cv_sys_global_symbol_to_c_name_address \
18428 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18429 old_postinstall_cmds old_postuninstall_cmds \
18433 lt_prog_compiler_wl_GCJ \
18434 lt_prog_compiler_pic_GCJ \
18435 lt_prog_compiler_static_GCJ \
18436 lt_prog_compiler_no_builtin_flag_GCJ \
18437 export_dynamic_flag_spec_GCJ \
18438 thread_safe_flag_spec_GCJ \
18439 whole_archive_flag_spec_GCJ \
18440 enable_shared_with_static_runtimes_GCJ \
18441 old_archive_cmds_GCJ \
18442 old_archive_from_new_cmds_GCJ \
18443 predep_objects_GCJ \
18444 postdep_objects_GCJ \
18447 compiler_lib_search_path_GCJ \
18449 archive_expsym_cmds_GCJ \
18450 postinstall_cmds_GCJ \
18451 postuninstall_cmds_GCJ \
18452 old_archive_from_expsyms_cmds_GCJ \
18453 allow_undefined_flag_GCJ \
18454 no_undefined_flag_GCJ \
18455 export_symbols_cmds_GCJ \
18456 hardcode_libdir_flag_spec_GCJ \
18457 hardcode_libdir_flag_spec_ld_GCJ \
18458 hardcode_libdir_separator_GCJ \
18459 hardcode_automatic_GCJ \
18461 module_expsym_cmds_GCJ \
18462 lt_cv_prog_compiler_c_o_GCJ \
18463 exclude_expsyms_GCJ \
18464 include_expsyms_GCJ
; do
18467 old_archive_cmds_GCJ | \
18468 old_archive_from_new_cmds_GCJ | \
18469 archive_cmds_GCJ | \
18470 archive_expsym_cmds_GCJ | \
18471 module_cmds_GCJ | \
18472 module_expsym_cmds_GCJ | \
18473 old_archive_from_expsyms_cmds_GCJ | \
18474 export_symbols_cmds_GCJ | \
18475 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18476 postinstall_cmds | postuninstall_cmds | \
18477 old_postinstall_cmds | old_postuninstall_cmds | \
18478 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18479 # Double-quote double-evaled strings.
18480 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18483 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18489 *'\$0 --fallback-echo"')
18490 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18496 cat <<__EOF__ >> "$cfgfile"
18497 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18499 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18501 # Shell to use when invoking shell scripts.
18504 # Whether or not to build shared libraries.
18505 build_libtool_libs=$enable_shared
18507 # Whether or not to build static libraries.
18508 build_old_libs=$enable_static
18510 # Whether or not to add -lc for building shared libraries.
18511 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18513 # Whether or not to disallow shared libs when runtime libs are static
18514 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18516 # Whether or not to optimize for fast installation.
18517 fast_install=$enable_fast_install
18520 host_alias=$host_alias
18523 # An echo program that does not interpret backslashes.
18528 AR_FLAGS=$lt_AR_FLAGS
18533 # A language-specific compiler.
18534 CC=$lt_compiler_GCJ
18536 # Is the compiler the GNU C compiler?
18542 # The linker used to build libraries.
18545 # Whether we need hard or soft links.
18548 # A BSD-compatible nm program.
18551 # A symbol stripping program
18554 # Used to examine libraries when file_magic_cmd begins "file"
18555 MAGIC_CMD=$MAGIC_CMD
18557 # Used on cygwin: DLL creation program.
18560 # Used on cygwin: object dumper.
18563 # Used on cygwin: assembler.
18566 # The name of the directory that contains temporary libtool files.
18569 # How to create reloadable object files.
18570 reload_flag=$lt_reload_flag
18571 reload_cmds=$lt_reload_cmds
18573 # How to pass a linker flag through the compiler.
18574 wl=$lt_lt_prog_compiler_wl_GCJ
18576 # Object file suffix (normally "o").
18577 objext="$ac_objext"
18579 # Old archive suffix (normally "a").
18582 # Shared library suffix (normally ".so").
18585 # Executable file suffix (normally "").
18588 # Additional compiler flags for building library objects.
18589 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18592 # What is the maximum length of a command?
18593 max_cmd_len=$lt_cv_sys_max_cmd_len
18595 # Does compiler simultaneously support -c and -o options?
18596 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18598 # Must we lock files when doing compilation ?
18599 need_locks=$lt_need_locks
18601 # Do we need the lib prefix for modules?
18602 need_lib_prefix=$need_lib_prefix
18604 # Do we need a version for libraries?
18605 need_version=$need_version
18607 # Whether dlopen is supported.
18608 dlopen_support=$enable_dlopen
18610 # Whether dlopen of programs is supported.
18611 dlopen_self=$enable_dlopen_self
18613 # Whether dlopen of statically linked programs is supported.
18614 dlopen_self_static=$enable_dlopen_self_static
18616 # Compiler flag to prevent dynamic linking.
18617 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18619 # Compiler flag to turn off builtin functions.
18620 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18622 # Compiler flag to allow reflexive dlopens.
18623 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18625 # Compiler flag to generate shared objects directly from archives.
18626 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18628 # Compiler flag to generate thread-safe objects.
18629 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18631 # Library versioning type.
18632 version_type=$version_type
18634 # Format of library name prefix.
18635 libname_spec=$lt_libname_spec
18637 # List of archive names. First name is the real one, the rest are links.
18638 # The last name is the one that the linker finds with -lNAME.
18639 library_names_spec=$lt_library_names_spec
18641 # The coded name of the library, if different from the real name.
18642 soname_spec=$lt_soname_spec
18644 # Commands used to build and install an old-style archive.
18646 old_archive_cmds=$lt_old_archive_cmds_GCJ
18647 old_postinstall_cmds=$lt_old_postinstall_cmds
18648 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18650 # Create an old-style archive from a shared archive.
18651 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18653 # Create a temporary old-style archive to link instead of a shared archive.
18654 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18656 # Commands used to build and install a shared archive.
18657 archive_cmds=$lt_archive_cmds_GCJ
18658 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18659 postinstall_cmds=$lt_postinstall_cmds
18660 postuninstall_cmds=$lt_postuninstall_cmds
18662 # Commands used to build a loadable module (assumed same as above if empty)
18663 module_cmds=$lt_module_cmds_GCJ
18664 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18666 # Commands to strip libraries.
18667 old_striplib=$lt_old_striplib
18668 striplib=$lt_striplib
18670 # Dependencies to place before the objects being linked to create a
18672 predep_objects=$lt_predep_objects_GCJ
18674 # Dependencies to place after the objects being linked to create a
18676 postdep_objects=$lt_postdep_objects_GCJ
18678 # Dependencies to place before the objects being linked to create a
18680 predeps=$lt_predeps_GCJ
18682 # Dependencies to place after the objects being linked to create a
18684 postdeps=$lt_postdeps_GCJ
18686 # The library search path used internally by the compiler when linking
18687 # a shared library.
18688 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18690 # Method to check whether dependent libraries are shared objects.
18691 deplibs_check_method=$lt_deplibs_check_method
18693 # Command to use when deplibs_check_method == file_magic.
18694 file_magic_cmd=$lt_file_magic_cmd
18696 # Flag that allows shared libraries with undefined symbols to be built.
18697 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18699 # Flag that forces no undefined symbols.
18700 no_undefined_flag=$lt_no_undefined_flag_GCJ
18702 # Commands used to finish a libtool library installation in a directory.
18703 finish_cmds=$lt_finish_cmds
18705 # Same as above, but a single script fragment to be evaled but not shown.
18706 finish_eval=$lt_finish_eval
18708 # Take the output of nm and produce a listing of raw symbols and C names.
18709 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18711 # Transform the output of nm in a proper C declaration
18712 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18714 # Transform the output of nm in a C name address pair
18715 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18717 # This is the shared library runtime path variable.
18718 runpath_var=$runpath_var
18720 # This is the shared library path variable.
18721 shlibpath_var=$shlibpath_var
18723 # Is shlibpath searched before the hard-coded library search path?
18724 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18726 # How to hardcode a shared library path into an executable.
18727 hardcode_action=$hardcode_action_GCJ
18729 # Whether we should hardcode library paths into libraries.
18730 hardcode_into_libs=$hardcode_into_libs
18732 # Flag to hardcode \$libdir into a binary during linking.
18733 # This must work even if \$libdir does not exist.
18734 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18736 # If ld is used when linking, flag to hardcode \$libdir into
18737 # a binary during linking. This must work even if \$libdir does
18739 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18741 # Whether we need a single -rpath flag with a separated argument.
18742 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18744 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18745 # resulting binary.
18746 hardcode_direct=$hardcode_direct_GCJ
18748 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18749 # resulting binary.
18750 hardcode_minus_L=$hardcode_minus_L_GCJ
18752 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18753 # the resulting binary.
18754 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18756 # Set to yes if building a shared library automatically hardcodes DIR into the library
18757 # and all subsequent libraries and executables linked against it.
18758 hardcode_automatic=$hardcode_automatic_GCJ
18760 # Variables whose values should be saved in libtool wrapper scripts and
18761 # restored at relink time.
18762 variables_saved_for_relink="$variables_saved_for_relink"
18764 # Whether libtool must link a program against all its dependency libraries.
18765 link_all_deplibs=$link_all_deplibs_GCJ
18767 # Compile-time system search path for libraries
18768 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18770 # Run-time system search path for libraries
18771 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18773 # Fix the shell variable \$srcfile for the compiler.
18774 fix_srcfile_path="$fix_srcfile_path_GCJ"
18776 # Set to yes if exported symbols are required.
18777 always_export_symbols=$always_export_symbols_GCJ
18779 # The commands to list exported symbols.
18780 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18782 # The commands to extract the exported symbol list from a shared archive.
18783 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18785 # Symbols that should not be listed in the preloaded symbols.
18786 exclude_expsyms=$lt_exclude_expsyms_GCJ
18788 # Symbols that must always be exported.
18789 include_expsyms=$lt_include_expsyms_GCJ
18791 # ### END LIBTOOL TAG CONFIG: $tagname
18797 # If there is no Makefile yet, we rely on a make rule to execute
18798 # `config.status --recheck' to rerun these tests and create the
18799 # libtool script then.
18800 test -f Makefile
&& make "$ltmain"
18805 ac_cpp
='$CPP $CPPFLAGS'
18806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18821 # Source file extension for RC test sources.
18824 # Object file extension for compiled RC test sources.
18828 # Code to be used in simple compile tests
18829 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18831 # Code to be used in simple link tests
18832 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18834 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18836 # If no C compiler was specified, use CC.
18839 # Allow CC to be a program name with arguments.
18843 # Allow CC to be a program name with arguments.
18848 lt_cv_prog_compiler_c_o_RC
=yes
18850 # The else clause should only fire when bootstrapping the
18851 # libtool distribution, otherwise you forgot to ship ltmain.sh
18852 # with your package, and you will get complaints that there are
18853 # no rules to generate ltmain.sh.
18854 if test -f "$ltmain"; then
18855 # See if we are running on zsh, and set the options which allow our commands through
18856 # without removal of \ escapes.
18857 if test -n "${ZSH_VERSION+set}" ; then
18858 setopt NO_GLOB_SUBST
18860 # Now quote all the things that may contain metacharacters while being
18861 # careful not to overquote the AC_SUBSTed values. We take copies of the
18862 # variables and quote the copies for generation of the libtool script.
18863 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18864 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18865 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18866 deplibs_check_method reload_flag reload_cmds need_locks \
18867 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18868 lt_cv_sys_global_symbol_to_c_name_address \
18869 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18870 old_postinstall_cmds old_postuninstall_cmds \
18874 lt_prog_compiler_wl_RC \
18875 lt_prog_compiler_pic_RC \
18876 lt_prog_compiler_static_RC \
18877 lt_prog_compiler_no_builtin_flag_RC \
18878 export_dynamic_flag_spec_RC \
18879 thread_safe_flag_spec_RC \
18880 whole_archive_flag_spec_RC \
18881 enable_shared_with_static_runtimes_RC \
18882 old_archive_cmds_RC \
18883 old_archive_from_new_cmds_RC \
18884 predep_objects_RC \
18885 postdep_objects_RC \
18888 compiler_lib_search_path_RC \
18890 archive_expsym_cmds_RC \
18891 postinstall_cmds_RC \
18892 postuninstall_cmds_RC \
18893 old_archive_from_expsyms_cmds_RC \
18894 allow_undefined_flag_RC \
18895 no_undefined_flag_RC \
18896 export_symbols_cmds_RC \
18897 hardcode_libdir_flag_spec_RC \
18898 hardcode_libdir_flag_spec_ld_RC \
18899 hardcode_libdir_separator_RC \
18900 hardcode_automatic_RC \
18902 module_expsym_cmds_RC \
18903 lt_cv_prog_compiler_c_o_RC \
18904 exclude_expsyms_RC \
18905 include_expsyms_RC
; do
18908 old_archive_cmds_RC | \
18909 old_archive_from_new_cmds_RC | \
18910 archive_cmds_RC | \
18911 archive_expsym_cmds_RC | \
18913 module_expsym_cmds_RC | \
18914 old_archive_from_expsyms_cmds_RC | \
18915 export_symbols_cmds_RC | \
18916 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18917 postinstall_cmds | postuninstall_cmds | \
18918 old_postinstall_cmds | old_postuninstall_cmds | \
18919 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18920 # Double-quote double-evaled strings.
18921 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18924 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18930 *'\$0 --fallback-echo"')
18931 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18937 cat <<__EOF__ >> "$cfgfile"
18938 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18940 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18942 # Shell to use when invoking shell scripts.
18945 # Whether or not to build shared libraries.
18946 build_libtool_libs=$enable_shared
18948 # Whether or not to build static libraries.
18949 build_old_libs=$enable_static
18951 # Whether or not to add -lc for building shared libraries.
18952 build_libtool_need_lc=$archive_cmds_need_lc_RC
18954 # Whether or not to disallow shared libs when runtime libs are static
18955 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18957 # Whether or not to optimize for fast installation.
18958 fast_install=$enable_fast_install
18961 host_alias=$host_alias
18964 # An echo program that does not interpret backslashes.
18969 AR_FLAGS=$lt_AR_FLAGS
18974 # A language-specific compiler.
18977 # Is the compiler the GNU C compiler?
18983 # The linker used to build libraries.
18986 # Whether we need hard or soft links.
18989 # A BSD-compatible nm program.
18992 # A symbol stripping program
18995 # Used to examine libraries when file_magic_cmd begins "file"
18996 MAGIC_CMD=$MAGIC_CMD
18998 # Used on cygwin: DLL creation program.
19001 # Used on cygwin: object dumper.
19004 # Used on cygwin: assembler.
19007 # The name of the directory that contains temporary libtool files.
19010 # How to create reloadable object files.
19011 reload_flag=$lt_reload_flag
19012 reload_cmds=$lt_reload_cmds
19014 # How to pass a linker flag through the compiler.
19015 wl=$lt_lt_prog_compiler_wl_RC
19017 # Object file suffix (normally "o").
19018 objext="$ac_objext"
19020 # Old archive suffix (normally "a").
19023 # Shared library suffix (normally ".so").
19026 # Executable file suffix (normally "").
19029 # Additional compiler flags for building library objects.
19030 pic_flag=$lt_lt_prog_compiler_pic_RC
19033 # What is the maximum length of a command?
19034 max_cmd_len=$lt_cv_sys_max_cmd_len
19036 # Does compiler simultaneously support -c and -o options?
19037 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19039 # Must we lock files when doing compilation ?
19040 need_locks=$lt_need_locks
19042 # Do we need the lib prefix for modules?
19043 need_lib_prefix=$need_lib_prefix
19045 # Do we need a version for libraries?
19046 need_version=$need_version
19048 # Whether dlopen is supported.
19049 dlopen_support=$enable_dlopen
19051 # Whether dlopen of programs is supported.
19052 dlopen_self=$enable_dlopen_self
19054 # Whether dlopen of statically linked programs is supported.
19055 dlopen_self_static=$enable_dlopen_self_static
19057 # Compiler flag to prevent dynamic linking.
19058 link_static_flag=$lt_lt_prog_compiler_static_RC
19060 # Compiler flag to turn off builtin functions.
19061 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19063 # Compiler flag to allow reflexive dlopens.
19064 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19066 # Compiler flag to generate shared objects directly from archives.
19067 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19069 # Compiler flag to generate thread-safe objects.
19070 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19072 # Library versioning type.
19073 version_type=$version_type
19075 # Format of library name prefix.
19076 libname_spec=$lt_libname_spec
19078 # List of archive names. First name is the real one, the rest are links.
19079 # The last name is the one that the linker finds with -lNAME.
19080 library_names_spec=$lt_library_names_spec
19082 # The coded name of the library, if different from the real name.
19083 soname_spec=$lt_soname_spec
19085 # Commands used to build and install an old-style archive.
19087 old_archive_cmds=$lt_old_archive_cmds_RC
19088 old_postinstall_cmds=$lt_old_postinstall_cmds
19089 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19091 # Create an old-style archive from a shared archive.
19092 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19094 # Create a temporary old-style archive to link instead of a shared archive.
19095 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19097 # Commands used to build and install a shared archive.
19098 archive_cmds=$lt_archive_cmds_RC
19099 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19100 postinstall_cmds=$lt_postinstall_cmds
19101 postuninstall_cmds=$lt_postuninstall_cmds
19103 # Commands used to build a loadable module (assumed same as above if empty)
19104 module_cmds=$lt_module_cmds_RC
19105 module_expsym_cmds=$lt_module_expsym_cmds_RC
19107 # Commands to strip libraries.
19108 old_striplib=$lt_old_striplib
19109 striplib=$lt_striplib
19111 # Dependencies to place before the objects being linked to create a
19113 predep_objects=$lt_predep_objects_RC
19115 # Dependencies to place after the objects being linked to create a
19117 postdep_objects=$lt_postdep_objects_RC
19119 # Dependencies to place before the objects being linked to create a
19121 predeps=$lt_predeps_RC
19123 # Dependencies to place after the objects being linked to create a
19125 postdeps=$lt_postdeps_RC
19127 # The library search path used internally by the compiler when linking
19128 # a shared library.
19129 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19131 # Method to check whether dependent libraries are shared objects.
19132 deplibs_check_method=$lt_deplibs_check_method
19134 # Command to use when deplibs_check_method == file_magic.
19135 file_magic_cmd=$lt_file_magic_cmd
19137 # Flag that allows shared libraries with undefined symbols to be built.
19138 allow_undefined_flag=$lt_allow_undefined_flag_RC
19140 # Flag that forces no undefined symbols.
19141 no_undefined_flag=$lt_no_undefined_flag_RC
19143 # Commands used to finish a libtool library installation in a directory.
19144 finish_cmds=$lt_finish_cmds
19146 # Same as above, but a single script fragment to be evaled but not shown.
19147 finish_eval=$lt_finish_eval
19149 # Take the output of nm and produce a listing of raw symbols and C names.
19150 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19152 # Transform the output of nm in a proper C declaration
19153 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19155 # Transform the output of nm in a C name address pair
19156 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19158 # This is the shared library runtime path variable.
19159 runpath_var=$runpath_var
19161 # This is the shared library path variable.
19162 shlibpath_var=$shlibpath_var
19164 # Is shlibpath searched before the hard-coded library search path?
19165 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19167 # How to hardcode a shared library path into an executable.
19168 hardcode_action=$hardcode_action_RC
19170 # Whether we should hardcode library paths into libraries.
19171 hardcode_into_libs=$hardcode_into_libs
19173 # Flag to hardcode \$libdir into a binary during linking.
19174 # This must work even if \$libdir does not exist.
19175 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19177 # If ld is used when linking, flag to hardcode \$libdir into
19178 # a binary during linking. This must work even if \$libdir does
19180 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19182 # Whether we need a single -rpath flag with a separated argument.
19183 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19185 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19186 # resulting binary.
19187 hardcode_direct=$hardcode_direct_RC
19189 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19190 # resulting binary.
19191 hardcode_minus_L=$hardcode_minus_L_RC
19193 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19194 # the resulting binary.
19195 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19197 # Set to yes if building a shared library automatically hardcodes DIR into the library
19198 # and all subsequent libraries and executables linked against it.
19199 hardcode_automatic=$hardcode_automatic_RC
19201 # Variables whose values should be saved in libtool wrapper scripts and
19202 # restored at relink time.
19203 variables_saved_for_relink="$variables_saved_for_relink"
19205 # Whether libtool must link a program against all its dependency libraries.
19206 link_all_deplibs=$link_all_deplibs_RC
19208 # Compile-time system search path for libraries
19209 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19211 # Run-time system search path for libraries
19212 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19214 # Fix the shell variable \$srcfile for the compiler.
19215 fix_srcfile_path="$fix_srcfile_path_RC"
19217 # Set to yes if exported symbols are required.
19218 always_export_symbols=$always_export_symbols_RC
19220 # The commands to list exported symbols.
19221 export_symbols_cmds=$lt_export_symbols_cmds_RC
19223 # The commands to extract the exported symbol list from a shared archive.
19224 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19226 # Symbols that should not be listed in the preloaded symbols.
19227 exclude_expsyms=$lt_exclude_expsyms_RC
19229 # Symbols that must always be exported.
19230 include_expsyms=$lt_include_expsyms_RC
19232 # ### END LIBTOOL TAG CONFIG: $tagname
19238 # If there is no Makefile yet, we rely on a make rule to execute
19239 # `config.status --recheck' to rerun these tests and create the
19240 # libtool script then.
19241 test -f Makefile
&& make "$ltmain"
19246 ac_cpp
='$CPP $CPPFLAGS'
19247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19256 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19257 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19258 { (exit 1); exit 1; }; }
19262 # Append the new tag name to the list of available tags.
19263 if test -n "$tagname" ; then
19264 available_tags
="$available_tags $tagname"
19270 # Now substitute the updated list of available tags.
19271 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19272 mv "${ofile}T" "$ofile"
19276 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19277 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19278 { (exit 1); exit 1; }; }
19284 # This can be used to rebuild libtool when needed
19285 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19287 # Always use our own libtool.
19288 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19290 # Prevent multiple expansion
19318 ac_header_dirent
=no
19319 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
19320 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19321 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
19322 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
19323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19324 echo $ECHO_N "(cached) $ECHO_C" >&6
19326 cat >conftest.
$ac_ext <<_ACEOF
19329 cat confdefs.h
>>conftest.
$ac_ext
19330 cat >>conftest.
$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 #include <sys/types.h>
19344 rm -f conftest.
$ac_objext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19346 (eval $ac_compile) 2>conftest.er1
19348 grep -v '^ *+' conftest.er1
>conftest.err
19350 cat conftest.err
>&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } &&
19353 { ac_try
='test -z "$ac_c_werror_flag"
19354 || test ! -s conftest.err'
19355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19356 (eval $ac_try) 2>&5
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); }; } &&
19360 { ac_try
='test -s conftest.$ac_objext'
19361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362 (eval $ac_try) 2>&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); }; }; then
19366 eval "$as_ac_Header=yes"
19368 echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.
$ac_ext >&5
19371 eval "$as_ac_Header=no"
19373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19378 cat >>confdefs.h
<<_ACEOF
19379 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
19382 ac_header_dirent
=$ac_hdr; break
19386 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19387 if test $ac_header_dirent = dirent.h
; then
19388 echo "$as_me:$LINENO: checking for library containing opendir" >&5
19389 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
19390 if test "${ac_cv_search_opendir+set}" = set; then
19391 echo $ECHO_N "(cached) $ECHO_C" >&6
19393 ac_func_search_save_LIBS
=$LIBS
19394 ac_cv_search_opendir
=no
19395 cat >conftest.
$ac_ext <<_ACEOF
19398 cat confdefs.h
>>conftest.
$ac_ext
19399 cat >>conftest.
$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19402 /* Override any gcc2 internal prototype to avoid an error. */
19406 /* We use char because int might match the return type of a gcc2
19407 builtin and then its argument prototype would still apply. */
19417 rm -f conftest.
$ac_objext conftest
$ac_exeext
19418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19419 (eval $ac_link) 2>conftest.er1
19421 grep -v '^ *+' conftest.er1
>conftest.err
19423 cat conftest.err
>&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); } &&
19426 { ac_try
='test -z "$ac_c_werror_flag"
19427 || test ! -s conftest.err'
19428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429 (eval $ac_try) 2>&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; } &&
19433 { ac_try
='test -s conftest$ac_exeext'
19434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435 (eval $ac_try) 2>&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; }; then
19439 ac_cv_search_opendir
="none required"
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.
$ac_ext >&5
19445 rm -f conftest.err conftest.
$ac_objext \
19446 conftest
$ac_exeext conftest.
$ac_ext
19447 if test "$ac_cv_search_opendir" = no
; then
19448 for ac_lib
in dir
; do
19449 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19450 cat >conftest.
$ac_ext <<_ACEOF
19453 cat confdefs.h
>>conftest.
$ac_ext
19454 cat >>conftest.
$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19457 /* Override any gcc2 internal prototype to avoid an error. */
19461 /* We use char because int might match the return type of a gcc2
19462 builtin and then its argument prototype would still apply. */
19472 rm -f conftest.
$ac_objext conftest
$ac_exeext
19473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19474 (eval $ac_link) 2>conftest.er1
19476 grep -v '^ *+' conftest.er1
>conftest.err
19478 cat conftest.err
>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } &&
19481 { ac_try
='test -z "$ac_c_werror_flag"
19482 || test ! -s conftest.err'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; } &&
19488 { ac_try
='test -s conftest$ac_exeext'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; }; then
19494 ac_cv_search_opendir
="-l$ac_lib"
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.
$ac_ext >&5
19501 rm -f conftest.err conftest.
$ac_objext \
19502 conftest
$ac_exeext conftest.
$ac_ext
19505 LIBS
=$ac_func_search_save_LIBS
19507 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19508 echo "${ECHO_T}$ac_cv_search_opendir" >&6
19509 if test "$ac_cv_search_opendir" != no
; then
19510 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
19515 echo "$as_me:$LINENO: checking for library containing opendir" >&5
19516 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
19517 if test "${ac_cv_search_opendir+set}" = set; then
19518 echo $ECHO_N "(cached) $ECHO_C" >&6
19520 ac_func_search_save_LIBS
=$LIBS
19521 ac_cv_search_opendir
=no
19522 cat >conftest.
$ac_ext <<_ACEOF
19525 cat confdefs.h
>>conftest.
$ac_ext
19526 cat >>conftest.
$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19529 /* Override any gcc2 internal prototype to avoid an error. */
19533 /* We use char because int might match the return type of a gcc2
19534 builtin and then its argument prototype would still apply. */
19544 rm -f conftest.
$ac_objext conftest
$ac_exeext
19545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19546 (eval $ac_link) 2>conftest.er1
19548 grep -v '^ *+' conftest.er1
>conftest.err
19550 cat conftest.err
>&5
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); } &&
19553 { ac_try
='test -z "$ac_c_werror_flag"
19554 || test ! -s conftest.err'
19555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19556 (eval $ac_try) 2>&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); }; } &&
19560 { ac_try
='test -s conftest$ac_exeext'
19561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19562 (eval $ac_try) 2>&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); }; }; then
19566 ac_cv_search_opendir
="none required"
19568 echo "$as_me: failed program was:" >&5
19569 sed 's/^/| /' conftest.
$ac_ext >&5
19572 rm -f conftest.err conftest.
$ac_objext \
19573 conftest
$ac_exeext conftest.
$ac_ext
19574 if test "$ac_cv_search_opendir" = no
; then
19575 for ac_lib
in x
; do
19576 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19577 cat >conftest.
$ac_ext <<_ACEOF
19580 cat confdefs.h
>>conftest.
$ac_ext
19581 cat >>conftest.
$ac_ext <<_ACEOF
19582 /* end confdefs.h. */
19584 /* Override any gcc2 internal prototype to avoid an error. */
19588 /* We use char because int might match the return type of a gcc2
19589 builtin and then its argument prototype would still apply. */
19599 rm -f conftest.
$ac_objext conftest
$ac_exeext
19600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19601 (eval $ac_link) 2>conftest.er1
19603 grep -v '^ *+' conftest.er1
>conftest.err
19605 cat conftest.err
>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } &&
19608 { ac_try
='test -z "$ac_c_werror_flag"
19609 || test ! -s conftest.err'
19610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611 (eval $ac_try) 2>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); }; } &&
19615 { ac_try
='test -s conftest$ac_exeext'
19616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617 (eval $ac_try) 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; }; then
19621 ac_cv_search_opendir
="-l$ac_lib"
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.
$ac_ext >&5
19628 rm -f conftest.err conftest.
$ac_objext \
19629 conftest
$ac_exeext conftest.
$ac_ext
19632 LIBS
=$ac_func_search_save_LIBS
19634 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19635 echo "${ECHO_T}$ac_cv_search_opendir" >&6
19636 if test "$ac_cv_search_opendir" != no
; then
19637 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
19643 # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
19644 if test "${enable_ltdl_install+set}" = set; then
19645 enableval
="$enable_ltdl_install"
19651 if test x
"${enable_ltdl_install-no}" != xno
; then
19653 INSTALL_LTDL_FALSE
='#'
19655 INSTALL_LTDL_TRUE
='#'
19656 INSTALL_LTDL_FALSE
=
19661 if test x
"${enable_ltdl_convenience-no}" != xno
; then
19662 CONVENIENCE_LTDL_TRUE
=
19663 CONVENIENCE_LTDL_FALSE
='#'
19665 CONVENIENCE_LTDL_TRUE
='#'
19666 CONVENIENCE_LTDL_FALSE
=
19671 echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
19672 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6
19673 if test "${libltdl_cv_shlibext+set}" = set; then
19674 echo $ECHO_N "(cached) $ECHO_C" >&6
19677 # Here in libltdl for libgcj we don't build modules for darwin.
19678 # So we say no. Then the extension gets .dylib which is the right
19679 # thing for shared libraries on darwin.
19688 eval libltdl_cv_shlibext
=$shrext
19691 echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
19692 echo "${ECHO_T}$libltdl_cv_shlibext" >&6
19693 if test -n "$libltdl_cv_shlibext"; then
19695 cat >>confdefs.h
<<_ACEOF
19696 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
19702 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
19703 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
19704 if test "${libltdl_cv_shlibpath_var+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19707 libltdl_cv_shlibpath_var
="$shlibpath_var"
19709 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
19710 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
19711 if test -n "$libltdl_cv_shlibpath_var"; then
19713 cat >>confdefs.h
<<_ACEOF
19714 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
19720 echo "$as_me:$LINENO: checking for the default library search path" >&5
19721 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
19722 if test "${libltdl_cv_sys_search_path+set}" = set; then
19723 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
19727 echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
19728 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6
19729 if test -n "$libltdl_cv_sys_search_path"; then
19731 for dir
in $libltdl_cv_sys_search_path; do
19732 if test -z "$sys_search_path"; then
19733 sys_search_path
="$dir"
19735 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
19739 cat >>confdefs.h
<<_ACEOF
19740 #define LTDL_SYSSEARCHPATH "$sys_search_path"
19745 echo "$as_me:$LINENO: checking for objdir" >&5
19746 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
19747 if test "${libltdl_cv_objdir+set}" = set; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 libltdl_cv_objdir
="$objdir"
19751 if test -n "$objdir"; then
19754 rm -f .libs
2>/dev
/null
19755 mkdir .libs
2>/dev
/null
19756 if test -d .libs
; then
19757 libltdl_cv_objdir
=.libs
19759 # MS-DOS does not allow filenames that begin with a dot.
19760 libltdl_cv_objdir
=_libs
19762 rmdir .libs
2>/dev
/null
19766 echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
19767 echo "${ECHO_T}$libltdl_cv_objdir" >&6
19769 cat >>confdefs.h
<<_ACEOF
19770 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
19775 echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
19776 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
19777 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19780 if test -n "$lt_cv_sys_global_symbol_pipe"; then
19781 libltdl_cv_preloaded_symbols
=yes
19783 libltdl_cv_preloaded_symbols
=no
19787 echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
19788 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
19789 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
19791 cat >>confdefs.h
<<\_ACEOF
19792 #define HAVE_PRELOADED_SYMBOLS 1
19800 ac_cpp
='$CPP $CPPFLAGS'
19801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19806 echo "$as_me:$LINENO: checking for shl_load" >&5
19807 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19808 if test "${ac_cv_func_shl_load+set}" = set; then
19809 echo $ECHO_N "(cached) $ECHO_C" >&6
19811 cat >conftest.
$ac_ext <<_ACEOF
19814 cat confdefs.h
>>conftest.
$ac_ext
19815 cat >>conftest.
$ac_ext <<_ACEOF
19816 /* end confdefs.h. */
19817 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19819 #define shl_load innocuous_shl_load
19821 /* System header to define __stub macros and hopefully few prototypes,
19822 which can conflict with char shl_load (); below.
19823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19824 <limits.h> exists even on freestanding compilers. */
19827 # include <limits.h>
19829 # include <assert.h>
19834 /* Override any gcc2 internal prototype to avoid an error. */
19839 /* We use char because int might match the return type of a gcc2
19840 builtin and then its argument prototype would still apply. */
19842 /* The GNU C library defines this for functions which it implements
19843 to always fail with ENOSYS. Some functions are actually named
19844 something starting with __ and the normal name is an alias. */
19845 #if defined (__stub_shl_load) || defined (__stub___shl_load)
19848 char (*f) () = shl_load;
19857 return f != shl_load;
19862 rm -f conftest.
$ac_objext conftest
$ac_exeext
19863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19864 (eval $ac_link) 2>conftest.er1
19866 grep -v '^ *+' conftest.er1
>conftest.err
19868 cat conftest.err
>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); } &&
19871 { ac_try
='test -z "$ac_c_werror_flag"
19872 || test ! -s conftest.err'
19873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19874 (eval $ac_try) 2>&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); }; } &&
19878 { ac_try
='test -s conftest$ac_exeext'
19879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19880 (eval $ac_try) 2>&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); }; }; then
19884 ac_cv_func_shl_load
=yes
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.
$ac_ext >&5
19889 ac_cv_func_shl_load
=no
19891 rm -f conftest.err conftest.
$ac_objext \
19892 conftest
$ac_exeext conftest.
$ac_ext
19894 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19895 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19896 if test $ac_cv_func_shl_load = yes; then
19898 cat >>confdefs.h
<<\_ACEOF
19899 #define HAVE_SHL_LOAD 1
19903 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19904 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19905 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19906 echo $ECHO_N "(cached) $ECHO_C" >&6
19908 ac_check_lib_save_LIBS
=$LIBS
19910 cat >conftest.
$ac_ext <<_ACEOF
19913 cat confdefs.h
>>conftest.
$ac_ext
19914 cat >>conftest.
$ac_ext <<_ACEOF
19915 /* end confdefs.h. */
19917 /* Override any gcc2 internal prototype to avoid an error. */
19921 /* We use char because int might match the return type of a gcc2
19922 builtin and then its argument prototype would still apply. */
19932 rm -f conftest.
$ac_objext conftest
$ac_exeext
19933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19934 (eval $ac_link) 2>conftest.er1
19936 grep -v '^ *+' conftest.er1
>conftest.err
19938 cat conftest.err
>&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } &&
19941 { ac_try
='test -z "$ac_c_werror_flag"
19942 || test ! -s conftest.err'
19943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19944 (eval $ac_try) 2>&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); }; } &&
19948 { ac_try
='test -s conftest$ac_exeext'
19949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19950 (eval $ac_try) 2>&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); }; }; then
19954 ac_cv_lib_dld_shl_load
=yes
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.
$ac_ext >&5
19959 ac_cv_lib_dld_shl_load
=no
19961 rm -f conftest.err conftest.
$ac_objext \
19962 conftest
$ac_exeext conftest.
$ac_ext
19963 LIBS
=$ac_check_lib_save_LIBS
19965 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19966 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19967 if test $ac_cv_lib_dld_shl_load = yes; then
19969 cat >>confdefs.h
<<\_ACEOF
19970 #define HAVE_SHL_LOAD 1
19973 LIBADD_DL
="$LIBADD_DL -ldld"
19975 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19976 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19977 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19980 ac_check_lib_save_LIBS
=$LIBS
19982 cat >conftest.
$ac_ext <<_ACEOF
19985 cat confdefs.h
>>conftest.
$ac_ext
19986 cat >>conftest.
$ac_ext <<_ACEOF
19987 /* end confdefs.h. */
19989 /* Override any gcc2 internal prototype to avoid an error. */
19993 /* We use char because int might match the return type of a gcc2
19994 builtin and then its argument prototype would still apply. */
20004 rm -f conftest.
$ac_objext conftest
$ac_exeext
20005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20006 (eval $ac_link) 2>conftest.er1
20008 grep -v '^ *+' conftest.er1
>conftest.err
20010 cat conftest.err
>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } &&
20013 { ac_try
='test -z "$ac_c_werror_flag"
20014 || test ! -s conftest.err'
20015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20016 (eval $ac_try) 2>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); }; } &&
20020 { ac_try
='test -s conftest$ac_exeext'
20021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20022 (eval $ac_try) 2>&5
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); }; }; then
20026 ac_cv_lib_dl_dlopen
=yes
20028 echo "$as_me: failed program was:" >&5
20029 sed 's/^/| /' conftest.
$ac_ext >&5
20031 ac_cv_lib_dl_dlopen
=no
20033 rm -f conftest.err conftest.
$ac_objext \
20034 conftest
$ac_exeext conftest.
$ac_ext
20035 LIBS
=$ac_check_lib_save_LIBS
20037 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20038 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20039 if test $ac_cv_lib_dl_dlopen = yes; then
20041 cat >>confdefs.h
<<\_ACEOF
20042 #define HAVE_LIBDL 1
20045 LIBADD_DL
="-ldl" libltdl_cv_lib_dl_dlopen
="yes"
20047 cat >conftest.
$ac_ext <<_ACEOF
20050 cat confdefs.h
>>conftest.
$ac_ext
20051 cat >>conftest.
$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20054 # include <dlfcn.h>
20065 rm -f conftest.
$ac_objext conftest
$ac_exeext
20066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20067 (eval $ac_link) 2>conftest.er1
20069 grep -v '^ *+' conftest.er1
>conftest.err
20071 cat conftest.err
>&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); } &&
20074 { ac_try
='test -z "$ac_c_werror_flag"
20075 || test ! -s conftest.err'
20076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20077 (eval $ac_try) 2>&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); }; } &&
20081 { ac_try
='test -s conftest$ac_exeext'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; }; then
20088 cat >>confdefs.h
<<\_ACEOF
20089 #define HAVE_LIBDL 1
20091 libltdl_cv_func_dlopen
="yes"
20093 echo "$as_me: failed program was:" >&5
20094 sed 's/^/| /' conftest.
$ac_ext >&5
20096 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20097 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
20098 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20099 echo $ECHO_N "(cached) $ECHO_C" >&6
20101 ac_check_lib_save_LIBS
=$LIBS
20102 LIBS
="-lsvld $LIBS"
20103 cat >conftest.
$ac_ext <<_ACEOF
20106 cat confdefs.h
>>conftest.
$ac_ext
20107 cat >>conftest.
$ac_ext <<_ACEOF
20108 /* end confdefs.h. */
20110 /* Override any gcc2 internal prototype to avoid an error. */
20114 /* We use char because int might match the return type of a gcc2
20115 builtin and then its argument prototype would still apply. */
20125 rm -f conftest.
$ac_objext conftest
$ac_exeext
20126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20127 (eval $ac_link) 2>conftest.er1
20129 grep -v '^ *+' conftest.er1
>conftest.err
20131 cat conftest.err
>&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } &&
20134 { ac_try
='test -z "$ac_c_werror_flag"
20135 || test ! -s conftest.err'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; } &&
20141 { ac_try
='test -s conftest$ac_exeext'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; }; then
20147 ac_cv_lib_svld_dlopen
=yes
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.
$ac_ext >&5
20152 ac_cv_lib_svld_dlopen
=no
20154 rm -f conftest.err conftest.
$ac_objext \
20155 conftest
$ac_exeext conftest.
$ac_ext
20156 LIBS
=$ac_check_lib_save_LIBS
20158 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20159 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
20160 if test $ac_cv_lib_svld_dlopen = yes; then
20162 cat >>confdefs.h
<<\_ACEOF
20163 #define HAVE_LIBDL 1
20166 LIBADD_DL
="-lsvld" libltdl_cv_func_dlopen
="yes"
20168 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20169 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
20170 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20171 echo $ECHO_N "(cached) $ECHO_C" >&6
20173 ac_check_lib_save_LIBS
=$LIBS
20175 cat >conftest.
$ac_ext <<_ACEOF
20178 cat confdefs.h
>>conftest.
$ac_ext
20179 cat >>conftest.
$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20182 /* Override any gcc2 internal prototype to avoid an error. */
20186 /* We use char because int might match the return type of a gcc2
20187 builtin and then its argument prototype would still apply. */
20197 rm -f conftest.
$ac_objext conftest
$ac_exeext
20198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20199 (eval $ac_link) 2>conftest.er1
20201 grep -v '^ *+' conftest.er1
>conftest.err
20203 cat conftest.err
>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } &&
20206 { ac_try
='test -z "$ac_c_werror_flag"
20207 || test ! -s conftest.err'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; } &&
20213 { ac_try
='test -s conftest$ac_exeext'
20214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20215 (eval $ac_try) 2>&5
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); }; }; then
20219 ac_cv_lib_dld_dld_link
=yes
20221 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.
$ac_ext >&5
20224 ac_cv_lib_dld_dld_link
=no
20226 rm -f conftest.err conftest.
$ac_objext \
20227 conftest
$ac_exeext conftest.
$ac_ext
20228 LIBS
=$ac_check_lib_save_LIBS
20230 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20231 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
20232 if test $ac_cv_lib_dld_dld_link = yes; then
20234 cat >>confdefs.h
<<\_ACEOF
20238 LIBADD_DL
="$LIBADD_DL -ldld"
20240 echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
20241 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
20242 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
20243 echo $ECHO_N "(cached) $ECHO_C" >&6
20245 cat >conftest.
$ac_ext <<_ACEOF
20248 cat confdefs.h
>>conftest.
$ac_ext
20249 cat >>conftest.
$ac_ext <<_ACEOF
20250 /* end confdefs.h. */
20251 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
20252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20253 #define _dyld_func_lookup innocuous__dyld_func_lookup
20255 /* System header to define __stub macros and hopefully few prototypes,
20256 which can conflict with char _dyld_func_lookup (); below.
20257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20258 <limits.h> exists even on freestanding compilers. */
20261 # include <limits.h>
20263 # include <assert.h>
20266 #undef _dyld_func_lookup
20268 /* Override any gcc2 internal prototype to avoid an error. */
20273 /* We use char because int might match the return type of a gcc2
20274 builtin and then its argument prototype would still apply. */
20275 char _dyld_func_lookup ();
20276 /* The GNU C library defines this for functions which it implements
20277 to always fail with ENOSYS. Some functions are actually named
20278 something starting with __ and the normal name is an alias. */
20279 #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
20282 char (*f) () = _dyld_func_lookup;
20291 return f != _dyld_func_lookup;
20296 rm -f conftest.
$ac_objext conftest
$ac_exeext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20298 (eval $ac_link) 2>conftest.er1
20300 grep -v '^ *+' conftest.er1
>conftest.err
20302 cat conftest.err
>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try
='test -z "$ac_c_werror_flag"
20306 || test ! -s conftest.err'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; } &&
20312 { ac_try
='test -s conftest$ac_exeext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 ac_cv_func__dyld_func_lookup
=yes
20320 echo "$as_me: failed program was:" >&5
20321 sed 's/^/| /' conftest.
$ac_ext >&5
20323 ac_cv_func__dyld_func_lookup
=no
20325 rm -f conftest.err conftest.
$ac_objext \
20326 conftest
$ac_exeext conftest.
$ac_ext
20328 echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
20329 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
20330 if test $ac_cv_func__dyld_func_lookup = yes; then
20332 cat >>confdefs.h
<<\_ACEOF
20333 #define HAVE_DYLD 1
20346 rm -f conftest.err conftest.
$ac_objext \
20347 conftest
$ac_exeext conftest.
$ac_ext
20358 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
20360 lt_save_LIBS
="$LIBS"
20361 LIBS
="$LIBS $LIBADD_DL"
20363 for ac_func
in dlerror
20365 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20366 echo "$as_me:$LINENO: checking for $ac_func" >&5
20367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20368 if eval "test \"\${$as_ac_var+set}\" = set"; then
20369 echo $ECHO_N "(cached) $ECHO_C" >&6
20371 cat >conftest.
$ac_ext <<_ACEOF
20374 cat confdefs.h
>>conftest.
$ac_ext
20375 cat >>conftest.
$ac_ext <<_ACEOF
20376 /* end confdefs.h. */
20377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20379 #define $ac_func innocuous_$ac_func
20381 /* System header to define __stub macros and hopefully few prototypes,
20382 which can conflict with char $ac_func (); below.
20383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20384 <limits.h> exists even on freestanding compilers. */
20387 # include <limits.h>
20389 # include <assert.h>
20394 /* Override any gcc2 internal prototype to avoid an error. */
20399 /* We use char because int might match the return type of a gcc2
20400 builtin and then its argument prototype would still apply. */
20402 /* The GNU C library defines this for functions which it implements
20403 to always fail with ENOSYS. Some functions are actually named
20404 something starting with __ and the normal name is an alias. */
20405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20408 char (*f) () = $ac_func;
20417 return f != $ac_func;
20422 rm -f conftest.
$ac_objext conftest
$ac_exeext
20423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20424 (eval $ac_link) 2>conftest.er1
20426 grep -v '^ *+' conftest.er1
>conftest.err
20428 cat conftest.err
>&5
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); } &&
20431 { ac_try
='test -z "$ac_c_werror_flag"
20432 || test ! -s conftest.err'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; } &&
20438 { ac_try
='test -s conftest$ac_exeext'
20439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440 (eval $ac_try) 2>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 eval "$as_ac_var=yes"
20446 echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.
$ac_ext >&5
20449 eval "$as_ac_var=no"
20451 rm -f conftest.err conftest.
$ac_objext \
20452 conftest
$ac_exeext conftest.
$ac_ext
20454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20456 if test `eval echo '${'$as_ac_var'}'` = yes; then
20457 cat >>confdefs.h
<<_ACEOF
20458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20464 LIBS
="$lt_save_LIBS"
20467 ac_cpp
='$CPP $CPPFLAGS'
20468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20474 echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
20475 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
20476 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
20477 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 ac_cv_sys_symbol_underscore
=no
20480 cat > conftest.
$ac_ext <<EOF
20481 void nm_test_func(){}
20482 int main(){nm_test_func;return 0;}
20484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20485 (eval $ac_compile) 2>&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; then
20489 # Now try to grab the symbols.
20490 ac_nlist
=conftest.nm
20491 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
20492 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } && test -s "$ac_nlist"; then
20496 # See whether the symbols have a leading underscore.
20497 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
20498 ac_cv_sys_symbol_underscore
=yes
20500 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
20503 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
20507 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
20510 echo "configure: failed program was:" >&5
20516 echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
20517 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
20520 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
20521 if test x
"$libltdl_cv_func_dlopen" = xyes ||
20522 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
20523 echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
20524 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
20525 if test "${libltdl_cv_need_uscore+set}" = set; then
20526 echo $ECHO_N "(cached) $ECHO_C" >&6
20528 libltdl_cv_need_uscore
=unknown
20530 LIBS
="$LIBS $LIBADD_DL"
20531 if test "$cross_compiling" = yes; then :
20532 libltdl_cv_need_uscore
=cross
20534 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
20535 lt_status
=$lt_dlunknown
20536 cat > conftest.
$ac_ext <<EOF
20537 #line 20537 "configure"
20538 #include "confdefs.h"
20547 # define LT_DLGLOBAL RTLD_GLOBAL
20550 # define LT_DLGLOBAL DL_GLOBAL
20552 # define LT_DLGLOBAL 0
20556 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20557 find out it does not work in some platform. */
20558 #ifndef LT_DLLAZY_OR_NOW
20560 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20563 # define LT_DLLAZY_OR_NOW DL_LAZY
20566 # define LT_DLLAZY_OR_NOW RTLD_NOW
20569 # define LT_DLLAZY_OR_NOW DL_NOW
20571 # define LT_DLLAZY_OR_NOW 0
20579 extern "C" void exit (int);
20582 void fnord() { int i=42;}
20585 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20586 int status = $lt_dlunknown;
20590 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20591 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20592 /* dlclose (self); */
20598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20599 (eval $ac_link) 2>&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
20603 (.
/conftest
; exit; ) 2>/dev
/null
20605 case x
$lt_status in
20606 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
20607 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
20608 x
$lt_unknown|x
*) ;;
20611 # compilation failed
20620 echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
20621 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
20625 if test x
"$libltdl_cv_need_uscore" = xyes
; then
20627 cat >>confdefs.h
<<\_ACEOF
20628 #define NEED_USCORE 1
20634 echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
20635 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
20636 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20639 # PORTME does your system automatically load deplibs for dlopen?
20640 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
20641 # For now, we just catch OSes we know something about -- in the
20642 # future, we'll try test this programmatically.
20643 libltdl_cv_sys_dlopen_deplibs
=unknown
20645 aix3
*|aix4.1.
*|aix4.2.
*)
20646 # Unknown whether this is true for these versions of AIX, but
20647 # we want this `case' here to explicitly catch those versions.
20648 libltdl_cv_sys_dlopen_deplibs
=unknown
20651 libltdl_cv_sys_dlopen_deplibs
=yes
20654 # Assuming the user has installed a libdl from somewhere, this is true
20655 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
20656 libltdl_cv_sys_dlopen_deplibs
=yes
20659 libltdl_cv_sys_dlopen_deplibs
=yes
20662 libltdl_cv_sys_dlopen_deplibs
=yes
20664 irix
[12345]*|irix6.
[01]*)
20665 # Catch all versions of IRIX before 6.2, and indicate that we don't
20666 # know how it worked for any of those versions.
20667 libltdl_cv_sys_dlopen_deplibs
=unknown
20670 # The case above catches anything before 6.2, and it's known that
20671 # at 6.2 and later dlopen does load deplibs.
20672 libltdl_cv_sys_dlopen_deplibs
=yes
20675 libltdl_cv_sys_dlopen_deplibs
=yes
20678 libltdl_cv_sys_dlopen_deplibs
=yes
20681 libltdl_cv_sys_dlopen_deplibs
=yes
20684 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
20685 # it did *not* use an RPATH in a shared library to find objects the
20686 # library depends on, so we explictly say `no'.
20687 libltdl_cv_sys_dlopen_deplibs
=no
20689 osf5.0|osf5.0a|osf5.1
)
20690 # dlopen *does* load deplibs and with the right loader patch applied
20691 # it even uses RPATH in a shared library to search for shared objects
20692 # that the library depends on, but there's no easy way to know if that
20693 # patch is installed. Since this is the case, all we can really
20694 # say is unknown -- it depends on the patch being installed. If
20695 # it is, this changes to `yes'. Without it, it would be `no'.
20696 libltdl_cv_sys_dlopen_deplibs
=unknown
20699 # the two cases above should catch all versions of osf <= 5.1. Read
20700 # the comments above for what we know about them.
20701 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
20702 # is used to find them so we can finally say `yes'.
20703 libltdl_cv_sys_dlopen_deplibs
=yes
20706 libltdl_cv_sys_dlopen_deplibs
=yes
20711 echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
20712 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6
20713 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
20715 cat >>confdefs.h
<<\_ACEOF
20716 #define LTDL_DLOPEN_DEPLIBS 1
20722 for ac_header
in argz.h
20724 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20726 echo "$as_me:$LINENO: checking for $ac_header" >&5
20727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20734 # Is the header compilable?
20735 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20736 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20737 cat >conftest.
$ac_ext <<_ACEOF
20740 cat confdefs.h
>>conftest.
$ac_ext
20741 cat >>conftest.
$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 $ac_includes_default
20744 #include <$ac_header>
20746 rm -f conftest.
$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20750 grep -v '^ *+' conftest.er1
>conftest.err
20752 cat conftest.err
>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try
='test -z "$ac_c_werror_flag"
20756 || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try
='test -s conftest.$ac_objext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20768 ac_header_compiler
=yes
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.
$ac_ext >&5
20773 ac_header_compiler
=no
20775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20776 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20777 echo "${ECHO_T}$ac_header_compiler" >&6
20779 # Is the header present?
20780 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20781 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20782 cat >conftest.
$ac_ext <<_ACEOF
20785 cat confdefs.h
>>conftest.
$ac_ext
20786 cat >>conftest.
$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20788 #include <$ac_header>
20790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20791 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20793 grep -v '^ *+' conftest.er1
>conftest.err
20795 cat conftest.err
>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } >/dev
/null
; then
20798 if test -s conftest.err
; then
20799 ac_cpp_err
=$ac_c_preproc_warn_flag
20800 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20807 if test -z "$ac_cpp_err"; then
20808 ac_header_preproc
=yes
20810 echo "$as_me: failed program was:" >&5
20811 sed 's/^/| /' conftest.
$ac_ext >&5
20813 ac_header_preproc
=no
20815 rm -f conftest.err conftest.
$ac_ext
20816 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20817 echo "${ECHO_T}$ac_header_preproc" >&6
20819 # So? What about this header?
20820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20822 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20823 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20825 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20826 ac_header_preproc
=yes
20829 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20830 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20831 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20832 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20833 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20834 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20835 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20836 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20839 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20840 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20843 ## ---------------------------------- ##
20844 ## Report this to bug-libtool@gnu.org ##
20845 ## ---------------------------------- ##
20848 sed "s/^/$as_me: WARNING: /" >&2
20851 echo "$as_me:$LINENO: checking for $ac_header" >&5
20852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20854 echo $ECHO_N "(cached) $ECHO_C" >&6
20856 eval "$as_ac_Header=\$ac_header_preproc"
20858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20863 cat >>confdefs.h
<<_ACEOF
20864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20872 echo "$as_me:$LINENO: checking for error_t" >&5
20873 echo $ECHO_N "checking for error_t... $ECHO_C" >&6
20874 if test "${ac_cv_type_error_t+set}" = set; then
20875 echo $ECHO_N "(cached) $ECHO_C" >&6
20877 cat >conftest.
$ac_ext <<_ACEOF
20880 cat confdefs.h
>>conftest.
$ac_ext
20881 cat >>conftest.
$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20892 if (sizeof (error_t))
20898 rm -f conftest.
$ac_objext
20899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20900 (eval $ac_compile) 2>conftest.er1
20902 grep -v '^ *+' conftest.er1
>conftest.err
20904 cat conftest.err
>&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); } &&
20907 { ac_try
='test -z "$ac_c_werror_flag"
20908 || test ! -s conftest.err'
20909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20910 (eval $ac_try) 2>&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); }; } &&
20914 { ac_try
='test -s conftest.$ac_objext'
20915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20916 (eval $ac_try) 2>&5
20918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20919 (exit $ac_status); }; }; then
20920 ac_cv_type_error_t
=yes
20922 echo "$as_me: failed program was:" >&5
20923 sed 's/^/| /' conftest.
$ac_ext >&5
20925 ac_cv_type_error_t
=no
20927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20929 echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
20930 echo "${ECHO_T}$ac_cv_type_error_t" >&6
20931 if test $ac_cv_type_error_t = yes; then
20933 cat >>confdefs.h
<<_ACEOF
20934 #define HAVE_ERROR_T 1
20940 cat >>confdefs.h
<<\_ACEOF
20941 #define error_t int
20952 for ac_func
in argz_append argz_create_sep argz_insert argz_next argz_stringify
20954 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20955 echo "$as_me:$LINENO: checking for $ac_func" >&5
20956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20957 if eval "test \"\${$as_ac_var+set}\" = set"; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 cat >conftest.
$ac_ext <<_ACEOF
20963 cat confdefs.h
>>conftest.
$ac_ext
20964 cat >>conftest.
$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20968 #define $ac_func innocuous_$ac_func
20970 /* System header to define __stub macros and hopefully few prototypes,
20971 which can conflict with char $ac_func (); below.
20972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20973 <limits.h> exists even on freestanding compilers. */
20976 # include <limits.h>
20978 # include <assert.h>
20983 /* Override any gcc2 internal prototype to avoid an error. */
20988 /* We use char because int might match the return type of a gcc2
20989 builtin and then its argument prototype would still apply. */
20991 /* The GNU C library defines this for functions which it implements
20992 to always fail with ENOSYS. Some functions are actually named
20993 something starting with __ and the normal name is an alias. */
20994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20997 char (*f) () = $ac_func;
21006 return f != $ac_func;
21011 rm -f conftest.
$ac_objext conftest
$ac_exeext
21012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21013 (eval $ac_link) 2>conftest.er1
21015 grep -v '^ *+' conftest.er1
>conftest.err
21017 cat conftest.err
>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } &&
21020 { ac_try
='test -z "$ac_c_werror_flag"
21021 || test ! -s conftest.err'
21022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21023 (eval $ac_try) 2>&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); }; } &&
21027 { ac_try
='test -s conftest$ac_exeext'
21028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21029 (eval $ac_try) 2>&5
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); }; }; then
21033 eval "$as_ac_var=yes"
21035 echo "$as_me: failed program was:" >&5
21036 sed 's/^/| /' conftest.
$ac_ext >&5
21038 eval "$as_ac_var=no"
21040 rm -f conftest.err conftest.
$ac_objext \
21041 conftest
$ac_exeext conftest.
$ac_ext
21043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21045 if test `eval echo '${'$as_ac_var'}'` = yes; then
21046 cat >>confdefs.h
<<_ACEOF
21047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21080 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
21083 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21085 echo "$as_me:$LINENO: checking for $ac_header" >&5
21086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21088 echo $ECHO_N "(cached) $ECHO_C" >&6
21090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21093 # Is the header compilable?
21094 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21096 cat >conftest.
$ac_ext <<_ACEOF
21099 cat confdefs.h
>>conftest.
$ac_ext
21100 cat >>conftest.
$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21102 $ac_includes_default
21103 #include <$ac_header>
21105 rm -f conftest.
$ac_objext
21106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21107 (eval $ac_compile) 2>conftest.er1
21109 grep -v '^ *+' conftest.er1
>conftest.err
21111 cat conftest.err
>&5
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); } &&
21114 { ac_try
='test -z "$ac_c_werror_flag"
21115 || test ! -s conftest.err'
21116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21117 (eval $ac_try) 2>&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; } &&
21121 { ac_try
='test -s conftest.$ac_objext'
21122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21123 (eval $ac_try) 2>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); }; }; then
21127 ac_header_compiler
=yes
21129 echo "$as_me: failed program was:" >&5
21130 sed 's/^/| /' conftest.
$ac_ext >&5
21132 ac_header_compiler
=no
21134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21136 echo "${ECHO_T}$ac_header_compiler" >&6
21138 # Is the header present?
21139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21141 cat >conftest.
$ac_ext <<_ACEOF
21144 cat confdefs.h
>>conftest.
$ac_ext
21145 cat >>conftest.
$ac_ext <<_ACEOF
21146 /* end confdefs.h. */
21147 #include <$ac_header>
21149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21152 grep -v '^ *+' conftest.er1
>conftest.err
21154 cat conftest.err
>&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); } >/dev
/null
; then
21157 if test -s conftest.err
; then
21158 ac_cpp_err
=$ac_c_preproc_warn_flag
21159 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21166 if test -z "$ac_cpp_err"; then
21167 ac_header_preproc
=yes
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.
$ac_ext >&5
21172 ac_header_preproc
=no
21174 rm -f conftest.err conftest.
$ac_ext
21175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21176 echo "${ECHO_T}$ac_header_preproc" >&6
21178 # So? What about this header?
21179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21184 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21185 ac_header_preproc
=yes
21188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21192 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21193 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21194 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21195 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21198 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21199 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21202 ## ---------------------------------- ##
21203 ## Report this to bug-libtool@gnu.org ##
21204 ## ---------------------------------- ##
21207 sed "s/^/$as_me: WARNING: /" >&2
21210 echo "$as_me:$LINENO: checking for $ac_header" >&5
21211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21213 echo $ECHO_N "(cached) $ECHO_C" >&6
21215 eval "$as_ac_Header=\$ac_header_preproc"
21217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21222 cat >>confdefs.h
<<_ACEOF
21223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21234 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
21236 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21238 echo "$as_me:$LINENO: checking for $ac_header" >&5
21239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21241 echo $ECHO_N "(cached) $ECHO_C" >&6
21243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21246 # Is the header compilable?
21247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21249 cat >conftest.
$ac_ext <<_ACEOF
21252 cat confdefs.h
>>conftest.
$ac_ext
21253 cat >>conftest.
$ac_ext <<_ACEOF
21254 /* end confdefs.h. */
21255 $ac_includes_default
21256 #include <$ac_header>
21258 rm -f conftest.
$ac_objext
21259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21260 (eval $ac_compile) 2>conftest.er1
21262 grep -v '^ *+' conftest.er1
>conftest.err
21264 cat conftest.err
>&5
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } &&
21267 { ac_try
='test -z "$ac_c_werror_flag"
21268 || test ! -s conftest.err'
21269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21270 (eval $ac_try) 2>&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); }; } &&
21274 { ac_try
='test -s conftest.$ac_objext'
21275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21276 (eval $ac_try) 2>&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); }; }; then
21280 ac_header_compiler
=yes
21282 echo "$as_me: failed program was:" >&5
21283 sed 's/^/| /' conftest.
$ac_ext >&5
21285 ac_header_compiler
=no
21287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21289 echo "${ECHO_T}$ac_header_compiler" >&6
21291 # Is the header present?
21292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21294 cat >conftest.
$ac_ext <<_ACEOF
21297 cat confdefs.h
>>conftest.
$ac_ext
21298 cat >>conftest.
$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 #include <$ac_header>
21302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21305 grep -v '^ *+' conftest.er1
>conftest.err
21307 cat conftest.err
>&5
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); } >/dev
/null
; then
21310 if test -s conftest.err
; then
21311 ac_cpp_err
=$ac_c_preproc_warn_flag
21312 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21319 if test -z "$ac_cpp_err"; then
21320 ac_header_preproc
=yes
21322 echo "$as_me: failed program was:" >&5
21323 sed 's/^/| /' conftest.
$ac_ext >&5
21325 ac_header_preproc
=no
21327 rm -f conftest.err conftest.
$ac_ext
21328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21329 echo "${ECHO_T}$ac_header_preproc" >&6
21331 # So? What about this header?
21332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21338 ac_header_preproc
=yes
21341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21345 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21347 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21348 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21351 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21355 ## ---------------------------------- ##
21356 ## Report this to bug-libtool@gnu.org ##
21357 ## ---------------------------------- ##
21360 sed "s/^/$as_me: WARNING: /" >&2
21363 echo "$as_me:$LINENO: checking for $ac_header" >&5
21364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21366 echo $ECHO_N "(cached) $ECHO_C" >&6
21368 eval "$as_ac_Header=\$ac_header_preproc"
21370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21375 cat >>confdefs.h
<<_ACEOF
21376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21385 for ac_header
in string.h
strings.h
21387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21389 echo "$as_me:$LINENO: checking for $ac_header" >&5
21390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21392 echo $ECHO_N "(cached) $ECHO_C" >&6
21394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21397 # Is the header compilable?
21398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21400 cat >conftest.
$ac_ext <<_ACEOF
21403 cat confdefs.h
>>conftest.
$ac_ext
21404 cat >>conftest.
$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406 $ac_includes_default
21407 #include <$ac_header>
21409 rm -f conftest.
$ac_objext
21410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21411 (eval $ac_compile) 2>conftest.er1
21413 grep -v '^ *+' conftest.er1
>conftest.err
21415 cat conftest.err
>&5
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); } &&
21418 { ac_try
='test -z "$ac_c_werror_flag"
21419 || test ! -s conftest.err'
21420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21421 (eval $ac_try) 2>&5
21423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21424 (exit $ac_status); }; } &&
21425 { ac_try
='test -s conftest.$ac_objext'
21426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21427 (eval $ac_try) 2>&5
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); }; }; then
21431 ac_header_compiler
=yes
21433 echo "$as_me: failed program was:" >&5
21434 sed 's/^/| /' conftest.
$ac_ext >&5
21436 ac_header_compiler
=no
21438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21440 echo "${ECHO_T}$ac_header_compiler" >&6
21442 # Is the header present?
21443 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21445 cat >conftest.
$ac_ext <<_ACEOF
21448 cat confdefs.h
>>conftest.
$ac_ext
21449 cat >>conftest.
$ac_ext <<_ACEOF
21450 /* end confdefs.h. */
21451 #include <$ac_header>
21453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21454 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21456 grep -v '^ *+' conftest.er1
>conftest.err
21458 cat conftest.err
>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } >/dev
/null
; then
21461 if test -s conftest.err
; then
21462 ac_cpp_err
=$ac_c_preproc_warn_flag
21463 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21470 if test -z "$ac_cpp_err"; then
21471 ac_header_preproc
=yes
21473 echo "$as_me: failed program was:" >&5
21474 sed 's/^/| /' conftest.
$ac_ext >&5
21476 ac_header_preproc
=no
21478 rm -f conftest.err conftest.
$ac_ext
21479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21480 echo "${ECHO_T}$ac_header_preproc" >&6
21482 # So? What about this header?
21483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21485 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21486 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21488 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21489 ac_header_preproc
=yes
21492 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21493 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21494 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21495 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21496 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21497 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21498 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21499 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21502 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21503 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21506 ## ---------------------------------- ##
21507 ## Report this to bug-libtool@gnu.org ##
21508 ## ---------------------------------- ##
21511 sed "s/^/$as_me: WARNING: /" >&2
21514 echo "$as_me:$LINENO: checking for $ac_header" >&5
21515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21517 echo $ECHO_N "(cached) $ECHO_C" >&6
21519 eval "$as_ac_Header=\$ac_header_preproc"
21521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21526 cat >>confdefs.h
<<_ACEOF
21527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21537 for ac_func
in strchr index
21539 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21540 echo "$as_me:$LINENO: checking for $ac_func" >&5
21541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21542 if eval "test \"\${$as_ac_var+set}\" = set"; then
21543 echo $ECHO_N "(cached) $ECHO_C" >&6
21545 cat >conftest.
$ac_ext <<_ACEOF
21548 cat confdefs.h
>>conftest.
$ac_ext
21549 cat >>conftest.
$ac_ext <<_ACEOF
21550 /* end confdefs.h. */
21551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21553 #define $ac_func innocuous_$ac_func
21555 /* System header to define __stub macros and hopefully few prototypes,
21556 which can conflict with char $ac_func (); below.
21557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21558 <limits.h> exists even on freestanding compilers. */
21561 # include <limits.h>
21563 # include <assert.h>
21568 /* Override any gcc2 internal prototype to avoid an error. */
21573 /* We use char because int might match the return type of a gcc2
21574 builtin and then its argument prototype would still apply. */
21576 /* The GNU C library defines this for functions which it implements
21577 to always fail with ENOSYS. Some functions are actually named
21578 something starting with __ and the normal name is an alias. */
21579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21582 char (*f) () = $ac_func;
21591 return f != $ac_func;
21596 rm -f conftest.
$ac_objext conftest
$ac_exeext
21597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21598 (eval $ac_link) 2>conftest.er1
21600 grep -v '^ *+' conftest.er1
>conftest.err
21602 cat conftest.err
>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try
='test -z "$ac_c_werror_flag"
21606 || test ! -s conftest.err'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; } &&
21612 { ac_try
='test -s conftest$ac_exeext'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 eval "$as_ac_var=yes"
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.
$ac_ext >&5
21623 eval "$as_ac_var=no"
21625 rm -f conftest.err conftest.
$ac_objext \
21626 conftest
$ac_exeext conftest.
$ac_ext
21628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21630 if test `eval echo '${'$as_ac_var'}'` = yes; then
21631 cat >>confdefs.h
<<_ACEOF
21632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21640 for ac_func
in strrchr rindex
21642 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21643 echo "$as_me:$LINENO: checking for $ac_func" >&5
21644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21645 if eval "test \"\${$as_ac_var+set}\" = set"; then
21646 echo $ECHO_N "(cached) $ECHO_C" >&6
21648 cat >conftest.
$ac_ext <<_ACEOF
21651 cat confdefs.h
>>conftest.
$ac_ext
21652 cat >>conftest.
$ac_ext <<_ACEOF
21653 /* end confdefs.h. */
21654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21656 #define $ac_func innocuous_$ac_func
21658 /* System header to define __stub macros and hopefully few prototypes,
21659 which can conflict with char $ac_func (); below.
21660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21661 <limits.h> exists even on freestanding compilers. */
21664 # include <limits.h>
21666 # include <assert.h>
21671 /* Override any gcc2 internal prototype to avoid an error. */
21676 /* We use char because int might match the return type of a gcc2
21677 builtin and then its argument prototype would still apply. */
21679 /* The GNU C library defines this for functions which it implements
21680 to always fail with ENOSYS. Some functions are actually named
21681 something starting with __ and the normal name is an alias. */
21682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21685 char (*f) () = $ac_func;
21694 return f != $ac_func;
21699 rm -f conftest.
$ac_objext conftest
$ac_exeext
21700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21701 (eval $ac_link) 2>conftest.er1
21703 grep -v '^ *+' conftest.er1
>conftest.err
21705 cat conftest.err
>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); } &&
21708 { ac_try
='test -z "$ac_c_werror_flag"
21709 || test ! -s conftest.err'
21710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 (eval $ac_try) 2>&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); }; } &&
21715 { ac_try
='test -s conftest$ac_exeext'
21716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21717 (eval $ac_try) 2>&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); }; }; then
21721 eval "$as_ac_var=yes"
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.
$ac_ext >&5
21726 eval "$as_ac_var=no"
21728 rm -f conftest.err conftest.
$ac_objext \
21729 conftest
$ac_exeext conftest.
$ac_ext
21731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21733 if test `eval echo '${'$as_ac_var'}'` = yes; then
21734 cat >>confdefs.h
<<_ACEOF
21735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21743 for ac_func
in memcpy bcopy
21745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21746 echo "$as_me:$LINENO: checking for $ac_func" >&5
21747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21748 if eval "test \"\${$as_ac_var+set}\" = set"; then
21749 echo $ECHO_N "(cached) $ECHO_C" >&6
21751 cat >conftest.
$ac_ext <<_ACEOF
21754 cat confdefs.h
>>conftest.
$ac_ext
21755 cat >>conftest.
$ac_ext <<_ACEOF
21756 /* end confdefs.h. */
21757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21759 #define $ac_func innocuous_$ac_func
21761 /* System header to define __stub macros and hopefully few prototypes,
21762 which can conflict with char $ac_func (); below.
21763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21764 <limits.h> exists even on freestanding compilers. */
21767 # include <limits.h>
21769 # include <assert.h>
21774 /* Override any gcc2 internal prototype to avoid an error. */
21779 /* We use char because int might match the return type of a gcc2
21780 builtin and then its argument prototype would still apply. */
21782 /* The GNU C library defines this for functions which it implements
21783 to always fail with ENOSYS. Some functions are actually named
21784 something starting with __ and the normal name is an alias. */
21785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21788 char (*f) () = $ac_func;
21797 return f != $ac_func;
21802 rm -f conftest.
$ac_objext conftest
$ac_exeext
21803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21804 (eval $ac_link) 2>conftest.er1
21806 grep -v '^ *+' conftest.er1
>conftest.err
21808 cat conftest.err
>&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); } &&
21811 { ac_try
='test -z "$ac_c_werror_flag"
21812 || test ! -s conftest.err'
21813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21814 (eval $ac_try) 2>&5
21816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21817 (exit $ac_status); }; } &&
21818 { ac_try
='test -s conftest$ac_exeext'
21819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21820 (eval $ac_try) 2>&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); }; }; then
21824 eval "$as_ac_var=yes"
21826 echo "$as_me: failed program was:" >&5
21827 sed 's/^/| /' conftest.
$ac_ext >&5
21829 eval "$as_ac_var=no"
21831 rm -f conftest.err conftest.
$ac_objext \
21832 conftest
$ac_exeext conftest.
$ac_ext
21834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21836 if test `eval echo '${'$as_ac_var'}'` = yes; then
21837 cat >>confdefs.h
<<_ACEOF
21838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21846 for ac_func
in memmove strcmp
21848 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21849 echo "$as_me:$LINENO: checking for $ac_func" >&5
21850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21851 if eval "test \"\${$as_ac_var+set}\" = set"; then
21852 echo $ECHO_N "(cached) $ECHO_C" >&6
21854 cat >conftest.
$ac_ext <<_ACEOF
21857 cat confdefs.h
>>conftest.
$ac_ext
21858 cat >>conftest.
$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21862 #define $ac_func innocuous_$ac_func
21864 /* System header to define __stub macros and hopefully few prototypes,
21865 which can conflict with char $ac_func (); below.
21866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21867 <limits.h> exists even on freestanding compilers. */
21870 # include <limits.h>
21872 # include <assert.h>
21877 /* Override any gcc2 internal prototype to avoid an error. */
21882 /* We use char because int might match the return type of a gcc2
21883 builtin and then its argument prototype would still apply. */
21885 /* The GNU C library defines this for functions which it implements
21886 to always fail with ENOSYS. Some functions are actually named
21887 something starting with __ and the normal name is an alias. */
21888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21891 char (*f) () = $ac_func;
21900 return f != $ac_func;
21905 rm -f conftest.
$ac_objext conftest
$ac_exeext
21906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21907 (eval $ac_link) 2>conftest.er1
21909 grep -v '^ *+' conftest.er1
>conftest.err
21911 cat conftest.err
>&5
21912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 (exit $ac_status); } &&
21914 { ac_try
='test -z "$ac_c_werror_flag"
21915 || test ! -s conftest.err'
21916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21917 (eval $ac_try) 2>&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); }; } &&
21921 { ac_try
='test -s conftest$ac_exeext'
21922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21923 (eval $ac_try) 2>&5
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); }; }; then
21927 eval "$as_ac_var=yes"
21929 echo "$as_me: failed program was:" >&5
21930 sed 's/^/| /' conftest.
$ac_ext >&5
21932 eval "$as_ac_var=no"
21934 rm -f conftest.err conftest.
$ac_objext \
21935 conftest
$ac_exeext conftest.
$ac_ext
21937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21939 if test `eval echo '${'$as_ac_var'}'` = yes; then
21940 cat >>confdefs.h
<<_ACEOF
21941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21950 for ac_func
in closedir opendir readdir
21952 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21953 echo "$as_me:$LINENO: checking for $ac_func" >&5
21954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21955 if eval "test \"\${$as_ac_var+set}\" = set"; then
21956 echo $ECHO_N "(cached) $ECHO_C" >&6
21958 cat >conftest.
$ac_ext <<_ACEOF
21961 cat confdefs.h
>>conftest.
$ac_ext
21962 cat >>conftest.
$ac_ext <<_ACEOF
21963 /* end confdefs.h. */
21964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21966 #define $ac_func innocuous_$ac_func
21968 /* System header to define __stub macros and hopefully few prototypes,
21969 which can conflict with char $ac_func (); below.
21970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21971 <limits.h> exists even on freestanding compilers. */
21974 # include <limits.h>
21976 # include <assert.h>
21981 /* Override any gcc2 internal prototype to avoid an error. */
21986 /* We use char because int might match the return type of a gcc2
21987 builtin and then its argument prototype would still apply. */
21989 /* The GNU C library defines this for functions which it implements
21990 to always fail with ENOSYS. Some functions are actually named
21991 something starting with __ and the normal name is an alias. */
21992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21995 char (*f) () = $ac_func;
22004 return f != $ac_func;
22009 rm -f conftest.
$ac_objext conftest
$ac_exeext
22010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22011 (eval $ac_link) 2>conftest.er1
22013 grep -v '^ *+' conftest.er1
>conftest.err
22015 cat conftest.err
>&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); } &&
22018 { ac_try
='test -z "$ac_c_werror_flag"
22019 || test ! -s conftest.err'
22020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22021 (eval $ac_try) 2>&5
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); }; } &&
22025 { ac_try
='test -s conftest$ac_exeext'
22026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22027 (eval $ac_try) 2>&5
22029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); }; }; then
22031 eval "$as_ac_var=yes"
22033 echo "$as_me: failed program was:" >&5
22034 sed 's/^/| /' conftest.
$ac_ext >&5
22036 eval "$as_ac_var=no"
22038 rm -f conftest.err conftest.
$ac_objext \
22039 conftest
$ac_exeext conftest.
$ac_ext
22041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22043 if test `eval echo '${'$as_ac_var'}'` = yes; then
22044 cat >>confdefs.h
<<_ACEOF
22045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22057 ac_config_files
="$ac_config_files Makefile"
22059 cat >confcache
<<\_ACEOF
22060 # This file is a shell script that caches the results of configure
22061 # tests run on this system so they can be shared between configure
22062 # scripts and configure runs, see configure's option --config-cache.
22063 # It is not useful on other systems. If it contains results you don't
22064 # want to keep, you may remove or edit it.
22066 # config.status only pays attention to the cache file if you give it
22067 # the --recheck option to rerun configure.
22069 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22070 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22071 # following values.
22075 # The following way of writing the cache mishandles newlines in values,
22076 # but we know of no workaround that is simple, portable, and efficient.
22077 # So, don't put newlines in cache variables' values.
22078 # Ultrix sh set writes to stderr and can't be redirected directly,
22079 # and sets the high bit in the cache file unless we assign to the vars.
22082 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22084 # `set' does not quote correctly, so add quotes (double-quote
22085 # substitution turns \\\\ into \\, and sed turns \\ into \).
22088 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22091 # `set' quotes correctly as required by POSIX, so do not add quotes.
22093 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22100 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22102 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22104 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22105 if test -w $cache_file; then
22106 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22107 cat confcache
>$cache_file
22109 echo "not updating unwritable cache $cache_file"
22114 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22115 # Let make expand exec_prefix.
22116 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22118 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22119 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22120 # trailing colons and then remove the whole line if VPATH becomes empty
22121 # (actually we leave an empty line to preserve line numbers).
22122 if test "x$srcdir" = x.
; then
22123 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22124 s/:*\$(srcdir):*/:/;
22125 s/:*\${srcdir}:*/:/;
22127 s/^\([^=]*=[ ]*\):*/\1/;
22133 # Transform confdefs.h into DEFS.
22134 # Protect against shell expansion while executing Makefile rules.
22135 # Protect against Makefile macro expansion.
22137 # If the first sed substitution is executed (which looks for macros that
22138 # take arguments), then we branch to the quote section. Otherwise,
22139 # look for a macro that doesn't take arguments.
22140 cat >confdef2opt.
sed <<\_ACEOF
22143 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
22145 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
22149 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
22155 # We use echo to avoid assuming a particular line-breaking character.
22156 # The extra dot is to prevent the shell from consuming trailing
22157 # line-breaks from the sub-command output. A line-break within
22158 # single-quotes doesn't work because, if this script is created in a
22159 # platform that uses two characters for line-breaks (e.g., DOS), tr
22161 ac_LF_and_DOT=`echo; echo .
`
22162 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
22163 rm -f confdef2opt.sed
22168 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22169 # 1. Remove the extension, and $U if already installed.
22170 ac_i=`echo "$ac_i" |
22171 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22173 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22174 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22176 LIBOBJS=$ac_libobjs
22178 LTLIBOBJS=$ac_ltlibobjs
22181 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22182 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22183 Usually this means the macro was only invoked conditionally." >&5
22184 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22185 Usually this means the macro was only invoked conditionally." >&2;}
22186 { (exit 1); exit 1; }; }
22188 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22189 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22190 Usually this means the macro was only invoked conditionally." >&5
22191 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22192 Usually this means the macro was only invoked conditionally." >&2;}
22193 { (exit 1); exit 1; }; }
22195 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22196 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22197 Usually this means the macro was only invoked conditionally." >&5
22198 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22199 Usually this means the macro was only invoked conditionally." >&2;}
22200 { (exit 1); exit 1; }; }
22202 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22203 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22204 Usually this means the macro was only invoked conditionally." >&5
22205 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22206 Usually this means the macro was only invoked conditionally." >&2;}
22207 { (exit 1); exit 1; }; }
22209 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
22210 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
22211 Usually this means the macro was only invoked conditionally." >&5
22212 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
22213 Usually this means the macro was only invoked conditionally." >&2;}
22214 { (exit 1); exit 1; }; }
22216 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
22217 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22218 Usually this means the macro was only invoked conditionally." >&5
22219 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22220 Usually this means the macro was only invoked conditionally." >&2;}
22221 { (exit 1); exit 1; }; }
22224 : ${CONFIG_STATUS=./config.status}
22225 ac_clean_files_save=$ac_clean_files
22226 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22227 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22228 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22229 cat >$CONFIG_STATUS <<_ACEOF
22231 # Generated by $as_me.
22232 # Run this file to recreate the current configuration.
22233 # Compiler output produced by configure, useful for debugging
22234 # configure, is in config.log if it exists.
22237 ac_cs_recheck=false
22239 SHELL=\${CONFIG_SHELL-$SHELL}
22242 cat >>$CONFIG_STATUS <<\_ACEOF
22243 ## --------------------- ##
22244 ## M4sh Initialization. ##
22245 ## --------------------- ##
22247 # Be Bourne compatible
22248 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22251 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22252 # is contrary to our usage. Disable this feature.
22253 alias -g '${1+"$@"}'='"$@"'
22254 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22257 DUALCASE=1; export DUALCASE # for MKS sh
22259 # Support unset when possible.
22260 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22267 # Work around bugs in pre-3.0 UWIN ksh.
22268 $as_unset ENV MAIL MAILPATH
22275 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22276 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22277 LC_TELEPHONE LC_TIME
22279 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
22280 eval $as_var=C; export $as_var
22286 # Required to use basename.
22287 if expr a : '\(a\)' >/dev/null 2>&1; then
22293 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22294 as_basename=basename
22300 # Name of the executable.
22301 as_me=`$as_basename "$0" ||
22302 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22303 X
"$0" : 'X\(//\)$' \| \
22304 X
"$0" : 'X\(/\)$' \| \
22305 .
: '\(.\)' 2>/dev
/null ||
22307 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22308 /^X\/\(\/\/\)$/{ s//\1/; q; }
22309 /^X\/\(\/\).*/{ s//\1/; q; }
22313 # PATH needs CR, and LINENO needs CR and PATH.
22314 # Avoid depending upon Character Ranges.
22315 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22316 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22317 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22318 as_cr_digits='0123456789'
22319 as_cr_alnum=$as_cr_Letters$as_cr_digits
22321 # The user is always right.
22322 if test "${PATH_SEPARATOR+set}" != set; then
22323 echo "#! /bin/sh" >conf$$.sh
22324 echo "exit 0" >>conf$$.sh
22326 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22335 as_lineno_1=$LINENO
22336 as_lineno_2=$LINENO
22337 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
22338 test "x$as_lineno_1" != "x$as_lineno_2" &&
22339 test "x$as_lineno_3" = "x$as_lineno_2" || {
22340 # Find who we are. Look in the path if we contain no path at all
22343 *[\\/]* ) as_myself=$0 ;;
22344 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22345 for as_dir in $PATH
22348 test -z "$as_dir" && as_dir=.
22349 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22354 # We did not find ourselves, most probably we were run as `sh COMMAND
'
22355 # in which case we are not to be found in the path.
22356 if test "x$as_myself" = x; then
22359 if test ! -f "$as_myself"; then
22360 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22361 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22362 { (exit 1); exit 1; }; }
22364 case $CONFIG_SHELL in
22366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22367 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22370 test -z "$as_dir" && as_dir=.
22371 for as_base in sh bash ksh sh5; do
22374 if ("$as_dir/$as_base" -c '
22375 as_lineno_1
=$LINENO
22376 as_lineno_2
=$LINENO
22377 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22378 test "x$as_lineno_1" != "x$as_lineno_2" &&
22379 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22380 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22381 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22382 CONFIG_SHELL=$as_dir/$as_base
22383 export CONFIG_SHELL
22384 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22392 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22393 # uniformly replaced by the line number. The first 'sed' inserts a
22394 # line-number line before each line; the second 'sed' does the real
22395 # work. The second script uses 'N
' to pair each line-number line
22396 # with the numbered line, and appends trailing '-' during
22397 # substitution so that $LINENO is not a special case at line end.
22398 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22399 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
22400 sed '=' <$as_myself |
22405 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22408 s,^['$as_cr_digits']*\n,,
22409 ' >$as_me.lineno
&&
22410 chmod +x
$as_me.lineno ||
22411 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22412 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22413 { (exit 1); exit 1; }; }
22415 # Don't try to exec as it changes $[0], causing all sort of problems
22416 # (the dirname of $[0] is not the place where we might find the
22417 # original and so on. Autoconf is especially sensible to this).
22419 # Exit status is that of the last command.
22424 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22425 *c
*,-n*) ECHO_N
= ECHO_C
='
22427 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22428 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22431 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22437 rm -f conf$$ conf$$.exe conf$$.
file
22439 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22440 # We could just check for DJGPP; but this test a) works b) is more generic
22441 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22442 if test -f conf$$.exe
; then
22443 # Don't use ln at all; we don't have any links
22448 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22453 rm -f conf$$ conf$$.exe conf$$.
file
22455 if mkdir
-p .
2>/dev
/null
; then
22458 test -d .
/-p && rmdir .
/-p
22462 as_executable_p
="test -f"
22464 # Sed expression to map a string onto a valid CPP name.
22465 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22467 # Sed expression to map a string onto a valid variable name.
22468 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22472 # We need space, tab and new line, in precisely that order.
22482 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22483 # report actual input values of CONFIG_FILES etc. instead of their
22484 # values after options handling. Logging --version etc. is OK.
22488 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22489 ## Running $as_me. ##
22494 This file was extended by libltdl $as_me 1.2, which was
22495 generated by GNU Autoconf 2.59. Invocation command line was
22497 CONFIG_FILES = $CONFIG_FILES
22498 CONFIG_HEADERS = $CONFIG_HEADERS
22499 CONFIG_LINKS = $CONFIG_LINKS
22500 CONFIG_COMMANDS = $CONFIG_COMMANDS
22504 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22508 # Files that config.status was made for.
22509 if test -n "$ac_config_files"; then
22510 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22513 if test -n "$ac_config_headers"; then
22514 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22517 if test -n "$ac_config_links"; then
22518 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22521 if test -n "$ac_config_commands"; then
22522 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22525 cat >>$CONFIG_STATUS <<\_ACEOF
22528 \`$as_me' instantiates files from templates according to the
22529 current configuration.
22531 Usage: $0 [OPTIONS] [FILE]...
22533 -h, --help print this help, then exit
22534 -V, --version print version number, then exit
22535 -q, --quiet do not print progress messages
22536 -d, --debug don't remove temporary files
22537 --recheck update $as_me by reconfiguring in the same conditions
22538 --file=FILE[:TEMPLATE]
22539 instantiate the configuration file FILE
22541 Configuration files:
22544 Configuration commands:
22547 Report bugs to <bug-autoconf@gnu.org>."
22550 cat >>$CONFIG_STATUS <<_ACEOF
22552 libltdl config.status 1.2
22553 configured by $0, generated by GNU Autoconf 2.59,
22554 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22556 Copyright (C) 2003 Free Software Foundation, Inc.
22557 This config.status script is free software; the Free Software Foundation
22558 gives unlimited permission to copy, distribute and modify it."
22563 cat >>$CONFIG_STATUS <<\_ACEOF
22564 # If no file are specified by the user, then we need to provide default
22565 # value. By we need to know if files were specified by the user.
22571 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22572 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22580 *) # This is not an option, so the user has probably given explicit
22583 ac_need_defaults
=false
;;
22587 # Handling of the options.
22589 cat >>$CONFIG_STATUS <<\_ACEOF
22590 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22592 --version |
--vers* |
-V )
22593 echo "$ac_cs_version"; exit 0 ;;
22595 # Conflict between --help and --header
22596 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22597 Try \`$0 --help' for more information." >&5
22598 echo "$as_me: error: ambiguous option: $1
22599 Try \`$0 --help' for more information." >&2;}
22600 { (exit 1); exit 1; }; };;
22601 --help |
--hel |
-h )
22602 echo "$ac_cs_usage"; exit 0 ;;
22603 --debug |
--d* |
-d )
22605 --file |
--fil |
--fi |
--f )
22607 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22608 ac_need_defaults
=false
;;
22609 --header |
--heade |
--head |
--hea )
22611 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22612 ac_need_defaults
=false
;;
22613 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22614 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22617 # This is an error.
22618 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22619 Try \`$0 --help' for more information." >&5
22620 echo "$as_me: error: unrecognized option: $1
22621 Try \`$0 --help' for more information." >&2;}
22622 { (exit 1); exit 1; }; } ;;
22624 *) ac_config_targets
="$ac_config_targets $1" ;;
22630 ac_configure_extra_args
=
22632 if $ac_cs_silent; then
22634 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22638 cat >>$CONFIG_STATUS <<_ACEOF
22639 if \$ac_cs_recheck; then
22640 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22641 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22646 cat >>$CONFIG_STATUS <<_ACEOF
22648 # INIT-COMMANDS section.
22651 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22657 cat >>$CONFIG_STATUS <<\_ACEOF
22658 for ac_config_target
in $ac_config_targets
22660 case "$ac_config_target" in
22661 # Handling of arguments.
22662 "config.h" ) CONFIG_FILES
="$CONFIG_FILES config.h:config-h.in" ;;
22663 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22664 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22665 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22666 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22667 { (exit 1); exit 1; }; };;
22671 # If the user did not use the arguments to specify the items to instantiate,
22672 # then the envvar interface is used. Set only those that are not.
22673 # We use the long form for the default assignment because of an extremely
22674 # bizarre bug on SunOS 4.1.3.
22675 if $ac_need_defaults; then
22676 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22677 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22680 # Have a temporary directory for convenience. Make it in the build tree
22681 # simply because there is no reason to put it here, and in addition,
22682 # creating and moving files from /tmp can sometimes cause problems.
22683 # Create a temporary directory, and hook for its removal unless debugging.
22686 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22687 trap '{ (exit 1); exit 1; }' 1 2 13 15
22690 # Create a (secure) tmp directory for tmp files.
22693 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22694 test -n "$tmp" && test -d "$tmp"
22697 tmp
=.
/confstat$$
-$RANDOM
22698 (umask 077 && mkdir
$tmp)
22701 echo "$me: cannot create a temporary directory in ." >&2
22702 { (exit 1); exit 1; }
22707 cat >>$CONFIG_STATUS <<_ACEOF
22710 # CONFIG_FILES section.
22713 # No need to generate the scripts if there are no CONFIG_FILES.
22714 # This happens for instance when ./config.status config.h
22715 if test -n "\$CONFIG_FILES"; then
22716 # Protect against being on the right side of a sed subst in config.status.
22717 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22718 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22719 s,@SHELL@,$SHELL,;t t
22720 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22721 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22722 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22723 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22724 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22725 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22726 s,@exec_prefix@,$exec_prefix,;t t
22727 s,@prefix@,$prefix,;t t
22728 s,@program_transform_name@,$program_transform_name,;t t
22729 s,@bindir@,$bindir,;t t
22730 s,@sbindir@,$sbindir,;t t
22731 s,@libexecdir@,$libexecdir,;t t
22732 s,@datadir@,$datadir,;t t
22733 s,@sysconfdir@,$sysconfdir,;t t
22734 s,@sharedstatedir@,$sharedstatedir,;t t
22735 s,@localstatedir@,$localstatedir,;t t
22736 s,@libdir@,$libdir,;t t
22737 s,@includedir@,$includedir,;t t
22738 s,@oldincludedir@,$oldincludedir,;t t
22739 s,@infodir@,$infodir,;t t
22740 s,@mandir@,$mandir,;t t
22741 s,@build_alias@,$build_alias,;t t
22742 s,@host_alias@,$host_alias,;t t
22743 s,@target_alias@,$target_alias,;t t
22744 s,@DEFS@,$DEFS,;t t
22745 s,@ECHO_C@,$ECHO_C,;t t
22746 s,@ECHO_N@,$ECHO_N,;t t
22747 s,@ECHO_T@,$ECHO_T,;t t
22748 s,@LIBS@,$LIBS,;t t
22749 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22750 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22751 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22752 s,@CYGPATH_W@,$CYGPATH_W,;t t
22753 s,@PACKAGE@,$PACKAGE,;t t
22754 s,@VERSION@,$VERSION,;t t
22755 s,@ACLOCAL@,$ACLOCAL,;t t
22756 s,@AUTOCONF@,$AUTOCONF,;t t
22757 s,@AUTOMAKE@,$AUTOMAKE,;t t
22758 s,@AUTOHEADER@,$AUTOHEADER,;t t
22759 s,@MAKEINFO@,$MAKEINFO,;t t
22760 s,@install_sh@,$install_sh,;t t
22761 s,@STRIP@,$STRIP,;t t
22762 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22763 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22764 s,@mkdir_p@,$mkdir_p,;t t
22766 s,@SET_MAKE@,$SET_MAKE,;t t
22767 s,@am__leading_dot@,$am__leading_dot,;t t
22768 s,@AMTAR@,$AMTAR,;t t
22769 s,@am__tar@,$am__tar,;t t
22770 s,@am__untar@,$am__untar,;t t
22771 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22772 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22773 s,@MAINT@,$MAINT,;t t
22775 s,@CFLAGS@,$CFLAGS,;t t
22776 s,@LDFLAGS@,$LDFLAGS,;t t
22777 s,@CPPFLAGS@,$CPPFLAGS,;t t
22778 s,@ac_ct_CC@,$ac_ct_CC,;t t
22779 s,@EXEEXT@,$EXEEXT,;t t
22780 s,@OBJEXT@,$OBJEXT,;t t
22781 s,@DEPDIR@,$DEPDIR,;t t
22782 s,@am__include@,$am__include,;t t
22783 s,@am__quote@,$am__quote,;t t
22784 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22785 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22786 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22787 s,@CCDEPMODE@,$CCDEPMODE,;t t
22788 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22789 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22790 s,@build@,$build,;t t
22791 s,@build_cpu@,$build_cpu,;t t
22792 s,@build_vendor@,$build_vendor,;t t
22793 s,@build_os@,$build_os,;t t
22794 s,@host@,$host,;t t
22795 s,@host_cpu@,$host_cpu,;t t
22796 s,@host_vendor@,$host_vendor,;t t
22797 s,@host_os@,$host_os,;t t
22798 s,@EGREP@,$EGREP,;t t
22799 s,@LN_S@,$LN_S,;t t
22800 s,@ECHO@,$ECHO,;t t
22802 s,@ac_ct_AR@,$ac_ct_AR,;t t
22803 s,@RANLIB@,$RANLIB,;t t
22804 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22805 s,@DLLTOOL@,$DLLTOOL,;t t
22806 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
22808 s,@ac_ct_AS@,$ac_ct_AS,;t t
22809 s,@OBJDUMP@,$OBJDUMP,;t t
22810 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
22813 s,@CXXFLAGS@,$CXXFLAGS,;t t
22814 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22815 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22816 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22817 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22818 s,@CXXCPP@,$CXXCPP,;t t
22820 s,@FFLAGS@,$FFLAGS,;t t
22821 s,@ac_ct_F77@,$ac_ct_F77,;t t
22822 s,@LIBTOOL@,$LIBTOOL,;t t
22823 s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
22824 s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
22825 s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
22826 s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
22827 s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
22828 s,@LIBADD_DL@,$LIBADD_DL,;t t
22829 s,@LIBOBJS@,$LIBOBJS,;t t
22830 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22835 cat >>$CONFIG_STATUS <<\_ACEOF
22836 # Split the substitutions into bite-sized pieces for seds with
22837 # small command number limits, like on Digital OSF/1 and HP-UX.
22838 ac_max_sed_lines
=48
22839 ac_sed_frag
=1 # Number of current file.
22840 ac_beg
=1 # First line for current file.
22841 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22844 while $ac_more_lines; do
22845 if test $ac_beg -gt 1; then
22846 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22848 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22850 if test ! -s $tmp/subs.frag
; then
22851 ac_more_lines
=false
22853 # The purpose of the label and of the branching condition is to
22854 # speed up the sed processing (if there are no `@' at all, there
22855 # is no need to browse any of the substitutions).
22856 # These are the two extra sed commands mentioned above.
22858 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22859 if test -z "$ac_sed_cmds"; then
22860 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22862 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22864 ac_sed_frag
=`expr $ac_sed_frag + 1`
22866 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22869 if test -z "$ac_sed_cmds"; then
22872 fi # test -n "$CONFIG_FILES"
22875 cat >>$CONFIG_STATUS <<\_ACEOF
22876 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22877 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22879 - |
*:- |
*:-:* ) # input from stdin
22881 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22882 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22883 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22884 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22885 * ) ac_file_in
=$ac_file.
in ;;
22888 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22889 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22890 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22891 X"$ac_file" : 'X\(//\)[^/]' \| \
22892 X"$ac_file" : 'X\(//\)$' \| \
22893 X"$ac_file" : 'X\(/\)' \| \
22894 . : '\(.\)' 2>/dev/null ||
22896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22897 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22898 /^X\(\/\/\)$/{ s//\1/; q; }
22899 /^X\(\/\).*/{ s//\1/; q; }
22901 { if $as_mkdir_p; then
22906 while test ! -d "$as_dir"; do
22907 as_dirs
="$as_dir $as_dirs"
22908 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22910 X"$as_dir" : 'X\(//\)[^/]' \| \
22911 X"$as_dir" : 'X\(//\)$' \| \
22912 X"$as_dir" : 'X\(/\)' \| \
22913 . : '\(.\)' 2>/dev/null ||
22915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22916 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22917 /^X\(\/\/\)$/{ s//\1/; q; }
22918 /^X\(\/\).*/{ s//\1/; q; }
22921 test ! -n "$as_dirs" || mkdir
$as_dirs
22922 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22923 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22924 { (exit 1); exit 1; }; }; }
22928 if test "$ac_dir" != .
; then
22929 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22930 # A "../" for each directory in $ac_dir_suffix.
22931 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22933 ac_dir_suffix
= ac_top_builddir
=
22937 .
) # No --srcdir option. We are building in place.
22939 if test -z "$ac_top_builddir"; then
22942 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22944 [\\/]* | ?
:[\\/]* ) # Absolute path.
22945 ac_srcdir
=$srcdir$ac_dir_suffix;
22946 ac_top_srcdir
=$srcdir ;;
22947 *) # Relative path.
22948 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22949 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22952 # Do not use `cd foo && pwd` to compute absolute paths, because
22953 # the directories may not exist.
22955 .
) ac_abs_builddir
="$ac_dir";;
22958 .
) ac_abs_builddir
=`pwd`;;
22959 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22960 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22963 case $ac_abs_builddir in
22964 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22966 case ${ac_top_builddir}.
in
22967 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22968 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22969 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22972 case $ac_abs_builddir in
22973 .
) ac_abs_srcdir
=$ac_srcdir;;
22976 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22977 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22978 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22981 case $ac_abs_builddir in
22982 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22984 case $ac_top_srcdir in
22985 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22986 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22987 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22993 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22994 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22997 if test x
"$ac_file" != x-
; then
22998 { echo "$as_me:$LINENO: creating $ac_file" >&5
22999 echo "$as_me: creating $ac_file" >&6;}
23002 # Let's still pretend it is `configure' which instantiates (i.e., don't
23003 # use $as_me), people would be surprised to read:
23004 # /* config.h. Generated by config.status. */
23005 if test x
"$ac_file" = x-
; then
23008 configure_input
="$ac_file. "
23010 configure_input
=$configure_input"Generated from `echo $ac_file_in |
23011 sed 's,.*/,,'` by configure."
23013 # First look for the input files in the build tree, otherwise in the
23015 ac_file_inputs
=`IFS=:
23016 for f in $ac_file_in; do
23018 -) echo $tmp/stdin ;;
23020 # Absolute (can't be DOS-style, as IFS=:)
23021 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23022 echo "$as_me: error: cannot find input file: $f" >&2;}
23023 { (exit 1); exit 1; }; }
23026 if test -f "$f"; then
23029 elif test -f "$srcdir/$f"; then
23034 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23035 echo "$as_me: error: cannot find input file: $f" >&2;}
23036 { (exit 1); exit 1; }; }
23039 done` ||
{ (exit 1); exit 1; }
23041 cat >>$CONFIG_STATUS <<_ACEOF
23045 cat >>$CONFIG_STATUS <<\_ACEOF
23047 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23048 s
,@configure_input@
,$configure_input,;t t
23049 s
,@srcdir@
,$ac_srcdir,;t t
23050 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23051 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23052 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23053 s
,@builddir@
,$ac_builddir,;t t
23054 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23055 s
,@top_builddir@
,$ac_top_builddir,;t t
23056 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23057 s
,@INSTALL@
,$ac_INSTALL,;t t
23058 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23060 if test x"$ac_file" != x-; then
23061 mv $tmp/out $ac_file
23069 cat >>$CONFIG_STATUS <<\_ACEOF
23072 # CONFIG_COMMANDS section.
23074 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
23075 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
23076 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
23077 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
23078 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23079 X"$ac_dest" : 'X\(//\)[^/]' \| \
23080 X"$ac_dest" : 'X\(//\)$' \| \
23081 X"$ac_dest" : 'X\(/\)' \| \
23082 . : '\(.\)' 2>/dev/null ||
23084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23086 /^X\(\/\/\)$/{ s//\1/; q; }
23087 /^X\(\/\).*/{ s//\1/; q; }
23089 { if $as_mkdir_p; then
23094 while test ! -d "$as_dir"; do
23095 as_dirs="$as_dir $as_dirs"
23096 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23097 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23098 X"$as_dir" : 'X\(//\)[^/]' \| \
23099 X"$as_dir" : 'X\(//\)$' \| \
23100 X"$as_dir" : 'X\(/\)' \| \
23101 . : '\(.\)' 2>/dev/null ||
23103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23104 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23105 /^X\(\/\/\)$/{ s//\1/; q; }
23106 /^X\(\/\).*/{ s//\1/; q; }
23109 test ! -n "$as_dirs" || mkdir $as_dirs
23110 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
23111 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
23112 { (exit 1); exit 1; }; }; }
23116 if test "$ac_dir" != .; then
23117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23118 # A "..
/" for each directory in $ac_dir_suffix.
23119 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23121 ac_dir_suffix= ac_top_builddir=
23125 .) # No --srcdir option. We are building in place.
23127 if test -z "$ac_top_builddir"; then
23130 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23132 [\\/]* | ?:[\\/]* ) # Absolute path.
23133 ac_srcdir=$srcdir$ac_dir_suffix;
23134 ac_top_srcdir=$srcdir ;;
23135 *) # Relative path.
23136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23140 # Do not use `cd foo && pwd` to compute absolute paths, because
23141 # the directories may not exist.
23143 .) ac_abs_builddir="$ac_dir";;
23146 .) ac_abs_builddir=`pwd`;;
23147 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23148 *) ac_abs_builddir=`pwd`/"$ac_dir";;
23151 case $ac_abs_builddir in
23152 .) ac_abs_top_builddir=${ac_top_builddir}.;;
23154 case ${ac_top_builddir}. in
23155 .) ac_abs_top_builddir=$ac_abs_builddir;;
23156 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23157 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23160 case $ac_abs_builddir in
23161 .) ac_abs_srcdir=$ac_srcdir;;
23164 .) ac_abs_srcdir=$ac_abs_builddir;;
23165 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23166 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23169 case $ac_abs_builddir in
23170 .) ac_abs_top_srcdir=$ac_top_srcdir;;
23172 case $ac_top_srcdir in
23173 .) ac_abs_top_srcdir=$ac_abs_builddir;;
23174 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23175 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23180 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
23181 echo "$as_me: executing
$ac_dest commands
" >&6;}
23183 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23184 # Strip MF so we end up with the name of the file.
23185 mf=`echo "$mf" | sed -e 's/:.*$//'`
23186 # Check whether this is an Automake generated Makefile or not.
23187 # We used to match only the files named `Makefile.in', but
23188 # some people rename them; so instead we look at the file content.
23189 # Grep'ing the first line is not enough: some people post-process
23190 # each Makefile.in and add a new line on top of each file to say so.
23191 # So let's grep whole file.
23192 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
23193 dirpart=`(dirname "$mf") 2>/dev/null ||
23194 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23195 X"$mf" : 'X\(//\)[^/]' \| \
23196 X"$mf" : 'X\(//\)$' \| \
23197 X"$mf" : 'X\(/\)' \| \
23198 . : '\(.\)' 2>/dev/null ||
23200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23201 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23202 /^X\(\/\/\)$/{ s//\1/; q; }
23203 /^X\(\/\).*/{ s//\1/; q; }
23208 # Extract the definition of DEPDIR, am__include, and am__quote
23209 # from the Makefile without running `make'.
23210 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23211 test -z "$DEPDIR" && continue
23212 am__include=`sed -n 's/^am__include = //p' < "$mf"`
23213 test -z "am__include
" && continue
23214 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23215 # When using ansi2knr, U may be empty or an underscore; expand it
23216 U=`sed -n 's/^U = //p' < "$mf"`
23217 # Find all dependency output files, they are included files with
23218 # $(DEPDIR) in their names. We invoke sed twice because it is the
23219 # simplest approach to changing $(DEPDIR) to its actual value in the
23221 for file in `sed -n "
23222 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
23223 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23224 # Make sure the directory exists.
23225 test -f "$dirpart/$file" && continue
23226 fdir=`(dirname "$file") 2>/dev/null ||
23227 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23228 X"$file" : 'X\(//\)[^/]' \| \
23229 X"$file" : 'X\(//\)$' \| \
23230 X"$file" : 'X\(/\)' \| \
23231 . : '\(.\)' 2>/dev/null ||
23233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23234 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23235 /^X\(\/\/\)$/{ s//\1/; q; }
23236 /^X\(\/\).*/{ s//\1/; q; }
23238 { if $as_mkdir_p; then
23239 mkdir -p $dirpart/$fdir
23241 as_dir=$dirpart/$fdir
23243 while test ! -d "$as_dir"; do
23244 as_dirs="$as_dir $as_dirs"
23245 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23247 X"$as_dir" : 'X\(//\)[^/]' \| \
23248 X"$as_dir" : 'X\(//\)$' \| \
23249 X"$as_dir" : 'X\(/\)' \| \
23250 . : '\(.\)' 2>/dev/null ||
23252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23254 /^X\(\/\/\)$/{ s//\1/; q; }
23255 /^X\(\/\).*/{ s//\1/; q; }
23258 test ! -n "$as_dirs" || mkdir $as_dirs
23259 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
23260 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
23261 { (exit 1); exit 1; }; }; }
23263 # echo "creating
$dirpart/$file"
23264 echo '# dummy' > "$dirpart/$file"
23272 cat >>$CONFIG_STATUS <<\_ACEOF
23274 { (exit 0); exit 0; }
23276 chmod +x $CONFIG_STATUS
23277 ac_clean_files=$ac_clean_files_save
23280 # configure is writing to config.log, and then calls config.status.
23281 # config.status does its own redirection, appending to config.log.
23282 # Unfortunately, on DOS this fails, as config.log is still kept open
23283 # by configure, so config.status won't be able to write to it; its
23284 # output is simply discarded. So we exec the FD to /dev/null,
23285 # effectively closing config.log, so it can be properly (re)opened and
23286 # appended to by config.status. When coming back to configure, we
23287 # need to make the FD available again.
23288 if test "$no_create" != yes; then
23290 ac_config_status_args=
23291 test "$silent" = yes &&
23292 ac_config_status_args="$ac_config_status_args --quiet"
23294 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23296 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23297 # would make configure fail if this is the last instruction.
23298 $ac_cs_success || { (exit 1); exit 1; }