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 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
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
=${tagnames+${tagnames},}CXX
398 tagnames
=${tagnames+${tagnames},}F77
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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir 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 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'
472 # Initialize some variables set by options.
474 ac_init_version
=false
475 # The variables have the same names as the options, with
476 # dashes changed to underlines.
484 program_transform_name
=s
,x
,x
,
492 # Installation directory options.
493 # These are left unexpanded so users can "make install exec_prefix=/foo"
494 # and all the variables that are supposed to be based on exec_prefix
495 # by default will actually change.
496 # Use braces instead of parens because sh, perl, etc. also accept them.
497 bindir
='${exec_prefix}/bin'
498 sbindir
='${exec_prefix}/sbin'
499 libexecdir
='${exec_prefix}/libexec'
500 datadir
='${prefix}/share'
501 sysconfdir
='${prefix}/etc'
502 sharedstatedir
='${prefix}/com'
503 localstatedir
='${prefix}/var'
504 libdir
='${exec_prefix}/lib'
505 includedir
='${prefix}/include'
506 oldincludedir
='/usr/include'
507 infodir
='${prefix}/info'
508 mandir
='${prefix}/man'
513 # If the previous option needs an argument, assign it.
514 if test -n "$ac_prev"; then
515 eval "$ac_prev=\$ac_option"
520 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
528 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
531 -build |
--build |
--buil |
--bui |
--bu)
532 ac_prev
=build_alias
;;
533 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
534 build_alias
=$ac_optarg ;;
536 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
537 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
538 ac_prev
=cache_file
;;
539 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
540 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
541 cache_file
=$ac_optarg ;;
544 cache_file
=config.cache
;;
546 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
548 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
550 datadir
=$ac_optarg ;;
552 -disable-* |
--disable-*)
553 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
559 eval "enable_$ac_feature=no" ;;
561 -enable-* |
--enable-*)
562 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
565 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566 { (exit 1); exit 1; }; }
567 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
569 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572 eval "enable_$ac_feature='$ac_optarg'" ;;
574 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
575 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
576 |
--exec |
--exe |
--ex)
577 ac_prev
=exec_prefix
;;
578 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
579 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
580 |
--exec=* |
--exe=* |
--ex=*)
581 exec_prefix
=$ac_optarg ;;
583 -gas |
--gas |
--ga |
--g)
584 # Obsolete; use --with-gas.
587 -help |
--help |
--hel |
--he |
-h)
589 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
590 ac_init_help
=recursive
;;
591 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
592 ac_init_help
=short
;;
594 -host |
--host |
--hos |
--ho)
595 ac_prev
=host_alias
;;
596 -host=* |
--host=* |
--hos=* |
--ho=*)
597 host_alias
=$ac_optarg ;;
599 -includedir |
--includedir |
--includedi |
--included |
--include \
600 |
--includ |
--inclu |
--incl |
--inc)
601 ac_prev
=includedir
;;
602 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
603 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
604 includedir
=$ac_optarg ;;
606 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
608 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
609 infodir
=$ac_optarg ;;
611 -libdir |
--libdir |
--libdi |
--libd)
613 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
616 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
617 |
--libexe |
--libex |
--libe)
618 ac_prev
=libexecdir
;;
619 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
620 |
--libexe=* |
--libex=* |
--libe=*)
621 libexecdir
=$ac_optarg ;;
623 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
624 |
--localstate |
--localstat |
--localsta |
--localst \
625 |
--locals |
--local |
--loca |
--loc |
--lo)
626 ac_prev
=localstatedir
;;
627 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
628 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
629 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
630 localstatedir
=$ac_optarg ;;
632 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
634 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
638 # Obsolete; use --without-fp.
641 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
642 |
--no-cr |
--no-c |
-n)
645 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
646 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
649 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
650 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
651 |
--oldin |
--oldi |
--old |
--ol |
--o)
652 ac_prev
=oldincludedir
;;
653 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
654 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
655 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
656 oldincludedir
=$ac_optarg ;;
658 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
660 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
663 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
664 |
--program-pre |
--program-pr |
--program-p)
665 ac_prev
=program_prefix
;;
666 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
667 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
668 program_prefix
=$ac_optarg ;;
670 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
671 |
--program-suf |
--program-su |
--program-s)
672 ac_prev
=program_suffix
;;
673 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
674 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
675 program_suffix
=$ac_optarg ;;
677 -program-transform-name |
--program-transform-name \
678 |
--program-transform-nam |
--program-transform-na \
679 |
--program-transform-n |
--program-transform- \
680 |
--program-transform |
--program-transfor \
681 |
--program-transfo |
--program-transf \
682 |
--program-trans |
--program-tran \
683 |
--progr-tra |
--program-tr |
--program-t)
684 ac_prev
=program_transform_name
;;
685 -program-transform-name=* |
--program-transform-name=* \
686 |
--program-transform-nam=* |
--program-transform-na=* \
687 |
--program-transform-n=* |
--program-transform-=* \
688 |
--program-transform=* |
--program-transfor=* \
689 |
--program-transfo=* |
--program-transf=* \
690 |
--program-trans=* |
--program-tran=* \
691 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
692 program_transform_name
=$ac_optarg ;;
694 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
695 |
-silent |
--silent |
--silen |
--sile |
--sil)
698 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
700 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
702 sbindir
=$ac_optarg ;;
704 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
705 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
706 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
708 ac_prev
=sharedstatedir
;;
709 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
710 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
711 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
713 sharedstatedir
=$ac_optarg ;;
715 -site |
--site |
--sit)
717 -site=* |
--site=* |
--sit=*)
720 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
722 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
725 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
726 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
727 ac_prev
=sysconfdir
;;
728 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
729 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
730 sysconfdir
=$ac_optarg ;;
732 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
733 ac_prev
=target_alias
;;
734 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
735 target_alias
=$ac_optarg ;;
737 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
740 -version |
--version |
--versio |
--versi |
--vers |
-V)
744 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
747 { echo "$as_me: error: invalid package name: $ac_package" >&2
748 { (exit 1); exit 1; }; }
749 ac_package
=`echo $ac_package| sed 's/-/_/g'`
751 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
754 eval "with_$ac_package='$ac_optarg'" ;;
756 -without-* |
--without-*)
757 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
760 { echo "$as_me: error: invalid package name: $ac_package" >&2
761 { (exit 1); exit 1; }; }
762 ac_package
=`echo $ac_package | sed 's/-/_/g'`
763 eval "with_$ac_package=no" ;;
766 # Obsolete; use --with-x.
769 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
770 |
--x-incl |
--x-inc |
--x-in |
--x-i)
771 ac_prev
=x_includes
;;
772 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
773 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
774 x_includes
=$ac_optarg ;;
776 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
777 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
778 ac_prev
=x_libraries
;;
779 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
780 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
781 x_libraries
=$ac_optarg ;;
783 -*) { echo "$as_me: error: unrecognized option: $ac_option
784 Try \`$0 --help' for more information." >&2
785 { (exit 1); exit 1; }; }
789 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
792 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793 { (exit 1); exit 1; }; }
794 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
795 eval "$ac_envvar='$ac_optarg'"
799 # FIXME: should be removed in autoconf 3.0.
800 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
802 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
809 if test -n "$ac_prev"; then
810 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
811 { echo "$as_me: error: missing argument to $ac_option" >&2
812 { (exit 1); exit 1; }; }
815 # Be sure to have absolute paths.
816 for ac_var
in exec_prefix prefix
818 eval ac_val
=$
`echo $ac_var`
820 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
821 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822 { (exit 1); exit 1; }; };;
826 # Be sure to have absolute paths.
827 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828 localstatedir libdir includedir oldincludedir infodir mandir
830 eval ac_val
=$
`echo $ac_var`
832 [\\/$
]* | ?
:[\\/]* ) ;;
833 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
834 { (exit 1); exit 1; }; };;
838 # There might be people who depend on the old broken behavior: `$host'
839 # used to hold the argument of --host etc.
840 # FIXME: To remove some day.
845 # FIXME: To remove some day.
846 if test "x$host_alias" != x
; then
847 if test "x$build_alias" = x
; then
848 cross_compiling
=maybe
849 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
850 If a cross compiler is detected then cross compile mode will be used." >&2
851 elif test "x$build_alias" != "x$host_alias"; then
857 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
859 test "$silent" = yes && exec 6>/dev
/null
862 # Find the source files, if location was not specified.
863 if test -z "$srcdir"; then
864 ac_srcdir_defaulted
=yes
865 # Try the directory containing this script, then its parent.
866 ac_confdir
=`(dirname "$0") 2>/dev/null ||
867 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868 X"$0" : 'X\(//\)[^/]' \| \
869 X"$0" : 'X\(//\)$' \| \
870 X"$0" : 'X\(/\)' \| \
871 . : '\(.\)' 2>/dev/null ||
873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875 /^X\(\/\/\)$/{ s//\1/; q; }
876 /^X\(\/\).*/{ s//\1/; q; }
879 if test ! -r $srcdir/$ac_unique_file; then
883 ac_srcdir_defaulted
=no
885 if test ! -r $srcdir/$ac_unique_file; then
886 if test "$ac_srcdir_defaulted" = yes; then
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
888 { (exit 1); exit 1; }; }
890 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891 { (exit 1); exit 1; }; }
894 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
895 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896 { (exit 1); exit 1; }; }
897 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898 ac_env_build_alias_set
=${build_alias+set}
899 ac_env_build_alias_value
=$build_alias
900 ac_cv_env_build_alias_set
=${build_alias+set}
901 ac_cv_env_build_alias_value
=$build_alias
902 ac_env_host_alias_set
=${host_alias+set}
903 ac_env_host_alias_value
=$host_alias
904 ac_cv_env_host_alias_set
=${host_alias+set}
905 ac_cv_env_host_alias_value
=$host_alias
906 ac_env_target_alias_set
=${target_alias+set}
907 ac_env_target_alias_value
=$target_alias
908 ac_cv_env_target_alias_set
=${target_alias+set}
909 ac_cv_env_target_alias_value
=$target_alias
910 ac_env_CC_set
=${CC+set}
912 ac_cv_env_CC_set
=${CC+set}
913 ac_cv_env_CC_value
=$CC
914 ac_env_CFLAGS_set
=${CFLAGS+set}
915 ac_env_CFLAGS_value
=$CFLAGS
916 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
917 ac_cv_env_CFLAGS_value
=$CFLAGS
918 ac_env_LDFLAGS_set
=${LDFLAGS+set}
919 ac_env_LDFLAGS_value
=$LDFLAGS
920 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value
=$LDFLAGS
922 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
923 ac_env_CPPFLAGS_value
=$CPPFLAGS
924 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
925 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
926 ac_env_CPP_set
=${CPP+set}
927 ac_env_CPP_value
=$CPP
928 ac_cv_env_CPP_set
=${CPP+set}
929 ac_cv_env_CPP_value
=$CPP
930 ac_env_CXX_set
=${CXX+set}
931 ac_env_CXX_value
=$CXX
932 ac_cv_env_CXX_set
=${CXX+set}
933 ac_cv_env_CXX_value
=$CXX
934 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
935 ac_env_CXXFLAGS_value
=$CXXFLAGS
936 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
937 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
938 ac_env_CXXCPP_set
=${CXXCPP+set}
939 ac_env_CXXCPP_value
=$CXXCPP
940 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
941 ac_cv_env_CXXCPP_value
=$CXXCPP
942 ac_env_F77_set
=${F77+set}
943 ac_env_F77_value
=$F77
944 ac_cv_env_F77_set
=${F77+set}
945 ac_cv_env_F77_value
=$F77
946 ac_env_FFLAGS_set
=${FFLAGS+set}
947 ac_env_FFLAGS_value
=$FFLAGS
948 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
949 ac_cv_env_FFLAGS_value
=$FFLAGS
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
958 \`configure' configures libltdl 1.2 to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1012 --program-prefix=PREFIX prepend PREFIX to installed program names
1013 --program-suffix=SUFFIX append SUFFIX to installed program names
1014 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1017 --build=BUILD configure
for building on BUILD
[guessed
]
1018 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1022 if test -n "$ac_init_help"; then
1023 case $ac_init_help in
1024 short | recursive
) echo "Configuration of libltdl 1.2:";;
1029 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1030 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1031 --enable-maintainer-mode enable make rules and dependencies not useful
1032 (and sometimes confusing
) to the casual installer
1033 --enable-multilib build many library versions
(default
)
1034 --disable-dependency-tracking speeds up one-time build
1035 --enable-dependency-tracking do not reject slow dependency extractors
1036 --enable-shared[=PKGS
]
1037 build shared libraries
[default
=yes]
1038 --enable-static[=PKGS
]
1039 build static libraries
[default
=yes]
1040 --enable-fast-install[=PKGS
]
1041 optimize
for fast installation
[default
=yes]
1042 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1043 --enable-ltdl-install install libltdl
1046 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1047 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1048 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1049 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1052 include additional configurations
[automatic
]
1054 Some influential environment variables
:
1055 CC C compiler
command
1056 CFLAGS C compiler flags
1057 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1058 nonstandard directory
<lib dir
>
1059 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1060 headers
in a nonstandard directory
<include dir
>
1062 CXX C
++ compiler
command
1063 CXXFLAGS C
++ compiler flags
1064 CXXCPP C
++ preprocessor
1065 F77 Fortran
77 compiler
command
1066 FFLAGS Fortran
77 compiler flags
1068 Use these variables to override the choices made by
`configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <bug-libtool@gnu.org>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1106 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1107 # the directories may not exist.
1109 .) ac_abs_builddir="$ac_dir";;
1112 .) ac_abs_builddir=`pwd`;;
1113 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1114 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1117 case $ac_abs_builddir in
1118 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1120 case ${ac_top_builddir}. in
1121 .) ac_abs_top_builddir=$ac_abs_builddir;;
1122 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1123 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1126 case $ac_abs_builddir in
1127 .) ac_abs_srcdir=$ac_srcdir;;
1130 .) ac_abs_srcdir=$ac_abs_builddir;;
1131 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1132 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1135 case $ac_abs_builddir in
1136 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1138 case $ac_top_srcdir in
1139 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1140 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1141 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1146 # Check for guested configure; otherwise get Cygnus style configure.
1147 if test -f $ac_srcdir/configure.gnu; then
1149 $SHELL $ac_srcdir/configure.gnu --help=recursive
1150 elif test -f $ac_srcdir/configure; then
1152 $SHELL $ac_srcdir/configure --help=recursive
1153 elif test -f $ac_srcdir/configure.ac ||
1154 test -f $ac_srcdir/configure.in; then
1156 $ac_configure --help
1158 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1164 test -n "$ac_init_help" && exit 0
1165 if $ac_init_version; then
1167 libltdl configure 1.2
1168 generated by GNU Autoconf 2.59
1170 Copyright (C) 2003 Free Software Foundation, Inc.
1171 This configure script is free software; the Free Software Foundation
1172 gives unlimited permission to copy, distribute and modify it.
1178 This file contains any messages produced by compilers while
1179 running configure, to aid debugging if configure makes a mistake.
1181 It was created by libltdl $as_me 1.2, which was
1182 generated by GNU Autoconf 2.59. Invocation command line was
1193 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1194 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1195 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1196 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1197 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1199 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1200 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1202 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1203 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1204 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1205 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1206 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1207 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1208 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1216 test -z "$as_dir" && as_dir=.
1217 echo "PATH: $as_dir"
1232 # Keep a trace of the command line.
1233 # Strip out --no-create and --no-recursion so they do not pile up.
1234 # Strip out --silent because we don't want to record it for future runs.
1235 # Also quote any args containing shell meta-characters.
1236 # Make two passes to allow for proper duplicate-argument suppression.
1241 ac_must_keep_next=false
1247 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1248 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1249 | -silent | --silent | --silen | --sile | --sil)
1251 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1252 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1255 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1257 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1258 if test $ac_must_keep_next = true; then
1259 ac_must_keep_next=false # Got value, back to normal.
1262 *=* | --config-cache | -C | -disable-* | --disable-* \
1263 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1264 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1265 | -with-* | --with-* | -without-* | --without-* | --x)
1266 case "$ac_configure_args0 " in
1267 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1270 -* ) ac_must_keep_next=true ;;
1273 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1274 # Get rid of the leading space.
1280 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1281 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1283 # When interrupted or exit'd, cleanup temporary files, and complete
1284 # config.log. We remove comments because anyway the quotes in there
1285 # would cause problems or look ugly.
1286 # WARNING: Be sure not to use single quotes in there, as some shells,
1287 # such as our DU 5.0 friend, will then `close
' the trap.
1288 trap 'exit_status
=$?
1289 # Save into config.log some information that might help in debugging.
1294 ## ---------------- ##
1295 ## Cache variables. ##
1296 ## ---------------- ##
1299 # The following way of writing the cache mishandles newlines in values,
1302 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1305 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1310 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1317 ## ----------------- ##
1318 ## Output variables. ##
1319 ## ----------------- ##
1322 for ac_var
in $ac_subst_vars
1324 eval ac_val
=$
`echo $ac_var`
1325 echo "$ac_var='"'"'$ac_val'"'"'"
1329 if test -n "$ac_subst_files"; then
1336 for ac_var
in $ac_subst_files
1338 eval ac_val
=$
`echo $ac_var`
1339 echo "$ac_var='"'"'$ac_val'"'"'"
1344 if test -s confdefs.h
; then
1351 sed "/^$/d" confdefs.h |
sort
1354 test "$ac_signal" != 0 &&
1355 echo "$as_me: caught signal $ac_signal"
1356 echo "$as_me: exit $exit_status"
1358 rm -f core
*.core
&&
1359 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1362 for ac_signal in 1 2 13 15; do
1363 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1367 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1368 rm -rf conftest* confdefs.h
1369 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1372 # Predefined preprocessor variables.
1374 cat >>confdefs.h <<_ACEOF
1375 #define PACKAGE_NAME "$PACKAGE_NAME"
1379 cat >>confdefs.h <<_ACEOF
1380 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1384 cat >>confdefs.h <<_ACEOF
1385 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1389 cat >>confdefs.h <<_ACEOF
1390 #define PACKAGE_STRING "$PACKAGE_STRING"
1394 cat >>confdefs.h <<_ACEOF
1395 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1399 # Let the site file select an alternate cache file if it wants to.
1400 # Prefer explicitly selected file to automatically selected ones.
1401 if test -z "$CONFIG_SITE"; then
1402 if test "x$prefix" != xNONE; then
1403 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1405 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1408 for ac_site_file in $CONFIG_SITE; do
1409 if test -r "$ac_site_file"; then
1410 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1411 echo "$as_me: loading site script $ac_site_file" >&6;}
1412 sed 's
/^
/|
/' "$ac_site_file" >&5
1417 if test -r "$cache_file"; then
1418 # Some versions of bash will fail to source /dev/null (special
1419 # files actually), so we avoid doing that.
1420 if test -f "$cache_file"; then
1421 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1422 echo "$as_me: loading cache $cache_file" >&6;}
1424 [\\/]* | ?:[\\/]* ) . $cache_file;;
1425 *) . ./$cache_file;;
1429 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1430 echo "$as_me: creating cache $cache_file" >&6;}
1434 # Check that the precious variables saved in the cache have kept the same
1436 ac_cache_corrupted=false
1437 for ac_var in `(set) 2>&1 |
1438 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1439 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1440 eval ac_new_set=\$ac_env_${ac_var}_set
1441 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1442 eval ac_new_val="\$ac_env_${ac_var}_value"
1443 case $ac_old_set,$ac_new_set in
1445 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1446 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1447 ac_cache_corrupted=: ;;
1449 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1450 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1451 ac_cache_corrupted=: ;;
1454 if test "x$ac_old_val" != "x$ac_new_val"; then
1455 # differences in whitespace do not lead to failure.
1456 ac_old_val_w=`echo x $ac_old_val`
1457 ac_new_val_w=`echo x $ac_new_val`
1458 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1459 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1460 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1461 ac_cache_corrupted=:
1463 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1464 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1465 eval $ac_var=\$ac_old_val
1467 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1468 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1469 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1470 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1473 # Pass precious variables to config.status.
1474 if test "$ac_new_set" = set; then
1476 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1477 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1478 *) ac_arg=$ac_var=$ac_new_val ;;
1480 case " $ac_configure_args " in
1481 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1482 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1486 if $ac_cache_corrupted; then
1487 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1488 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1489 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1490 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1491 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1492 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1493 { (exit 1); exit 1; }; }
1497 ac_cpp='$CPP $CPPFLAGS'
1498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1533 ## GCJ LOCAL: gcc tree uses maintainer mode.
1534 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1535 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1536 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1537 if test "${enable_maintainer_mode+set}" = set; then
1538 enableval="$enable_maintainer_mode"
1539 USE_MAINTAINER_MODE=$enableval
1541 USE_MAINTAINER_MODE=no
1543 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1544 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1547 if test $USE_MAINTAINER_MODE = yes; then
1548 MAINTAINER_MODE_TRUE=
1549 MAINTAINER_MODE_FALSE='#'
1551 MAINTAINER_MODE_TRUE='#'
1552 MAINTAINER_MODE_FALSE=
1555 MAINT=$MAINTAINER_MODE_TRUE
1559 # Default to --enable-multilib
1560 # Check whether --enable-multilib or --disable-multilib was given.
1561 if test "${enable_multilib+set}" = set; then
1562 enableval="$enable_multilib"
1563 case "$enableval" in
1564 yes) multilib=yes ;;
1566 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1567 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1568 { (exit 1); exit 1; }; } ;;
1574 # We may get other options which we leave undocumented:
1575 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1576 # See config-ml.in if you want the gory details.
1578 if test "$srcdir" = "."; then
1579 if test "$with_target_subdir" != "."; then
1580 multi_basedir="$srcdir/$with_multisrctop../../.."
1582 multi_basedir="$srcdir/$with_multisrctop../.."
1585 multi_basedir="$srcdir/../.."
1589 # Even if the default multilib is not a cross compilation,
1590 # it may be that some of the other multilibs are.
1591 if test $cross_compiling = no && test $multilib = yes \
1592 && test "x${with_multisubdir}" != x ; then
1593 cross_compiling=maybe
1596 ac_config_commands="$ac_config_commands default-1"
1599 ## ------------------------------- ##
1600 ## Libltdl specific configuration. ##
1601 ## ------------------------------- ##
1604 for ac_dir in . $srcdir/.; do
1605 if test -f $ac_dir/install-sh; then
1607 ac_install_sh="$ac_aux_dir/install-sh -c"
1609 elif test -f $ac_dir/install.sh; then
1611 ac_install_sh="$ac_aux_dir/install.sh -c"
1613 elif test -f $ac_dir/shtool; then
1615 ac_install_sh="$ac_aux_dir/shtool install -c"
1619 if test -z "$ac_aux_dir"; then
1620 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
1621 echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
1622 { (exit 1); exit 1; }; }
1624 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1625 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1626 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1629 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
1630 if test -f ${srcdir}/ltmain.sh; then
1631 # if libltdl is libtoolized, it is assumed to be stand-alone and
1632 # installed unless the command line overrides it (tested above)
1633 enable_ltdl_install=yes
1635 { echo "$as_me:$LINENO: WARNING: *** The top-level configure must select either" >&5
1636 echo "$as_me: WARNING: *** The top-level configure must select either" >&2;}
1637 { echo "$as_me:$LINENO: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&5
1638 echo "$as_me: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&2;}
1639 { { echo "$as_me:$LINENO: error: *** Maybe you want to --enable-ltdl-install?" >&5
1640 echo "$as_me: error: *** Maybe you want to --enable-ltdl-install?" >&2;}
1641 { (exit 1); exit 1; }; }
1646 ## ------------------------ ##
1647 ## Automake Initialisation. ##
1648 ## ------------------------ ##
1649 am__api_version="1.9"
1650 # Find a good install program. We prefer a C program (faster),
1651 # so one script is as good as another. But avoid the broken or
1652 # incompatible versions:
1653 # SysV /etc/install, /usr/sbin/install
1654 # SunOS /usr/etc/install
1655 # IRIX /sbin/install
1657 # AmigaOS /C/install, which installs bootblocks on floppy discs
1658 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1659 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1660 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1661 # OS/2's system install, which has a completely different semantic
1662 # ./install, which can be erroneously created by make from ./install.sh.
1663 # Reject install programs that cannot install multiple files.
1664 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1665 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1666 if test -z "$INSTALL"; then
1667 if test "${ac_cv_path_install+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1674 test -z "$as_dir" && as_dir=.
1675 # Account for people who put trailing slashes in PATH elements.
1677 ./ | .// | /cC/* | \
1678 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1679 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1682 # OSF1 and SCO ODT 3.0 have their own names for install.
1683 # Don't use installbsd from OSF since it installs stuff as root
1685 for ac_prog in ginstall scoinst install; do
1686 for ac_exec_ext in '' $ac_executable_extensions; do
1687 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1688 if test $ac_prog = install &&
1689 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1690 # AIX install. It has an incompatible calling convention.
1692 elif test $ac_prog = install &&
1693 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1694 # program-specific install script used by HP pwplus--don't use.
1697 rm -rf conftest.one conftest.two conftest.dir
1698 echo one > conftest.one
1699 echo two > conftest.two
1701 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1702 test -s conftest.one && test -s conftest.two &&
1703 test -s conftest.dir/conftest.one &&
1704 test -s conftest.dir/conftest.two
1706 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1717 rm -rf conftest.one conftest.two conftest.dir
1720 if test "${ac_cv_path_install+set}" = set; then
1721 INSTALL=$ac_cv_path_install
1723 # As a last resort, use the slow shell script. Don't cache a
1724 # value for INSTALL within a source directory, because that will
1725 # break other packages using the cache if that directory is
1726 # removed, or if the value is a relative name.
1727 INSTALL=$ac_install_sh
1730 echo "$as_me:$LINENO: result: $INSTALL" >&5
1731 echo "${ECHO_T}$INSTALL" >&6
1733 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1734 # It thinks the first close brace ends the variable substitution.
1735 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1737 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1739 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1741 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1742 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1745 echo timestamp > conftest.file
1746 # Do `set' in a subshell so we don't clobber the current shell
's
1747 # arguments. Must try -L first in case configure is actually a
1748 # symlink; some systems play weird games with the mod time of symlinks
1749 # (eg FreeBSD returns the mod time of the symlink's containing
1752 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1753 if test "$*" = "X"; then
1755 set X
`ls -t $srcdir/configure conftest.file`
1758 if test "$*" != "X $srcdir/configure conftest.file" \
1759 && test "$*" != "X conftest.file $srcdir/configure"; then
1761 # If neither matched, then we have a broken ls. This can happen
1762 # if, for instance, CONFIG_SHELL is bash and it inherits a
1763 # broken ls alias from the environment. This has actually
1764 # happened. Such a system could not be considered "sane".
1765 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1766 alias in your environment" >&5
1767 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1768 alias in your environment" >&2;}
1769 { (exit 1); exit 1; }; }
1772 test "$2" = conftest.
file
1778 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1779 Check your system clock" >&5
1780 echo "$as_me: error: newly created file is older than distributed files!
1781 Check your system clock" >&2;}
1782 { (exit 1); exit 1; }; }
1784 echo "$as_me:$LINENO: result: yes" >&5
1785 echo "${ECHO_T}yes" >&6
1786 test "$program_prefix" != NONE
&&
1787 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1788 # Use a double $ so make ignores it.
1789 test "$program_suffix" != NONE
&&
1790 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1791 # Double any \ or $. echo might interpret backslashes.
1792 # By default was `s,x,x', remove it if useless.
1793 cat <<\_ACEOF
>conftest.
sed
1794 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1796 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1799 # expand $ac_aux_dir to an absolute path
1800 am_aux_dir
=`cd $ac_aux_dir && pwd`
1802 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1803 # Use eval to expand $SHELL
1804 if eval "$MISSING --run true"; then
1805 am_missing_run
="$MISSING --run "
1808 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1809 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1812 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1813 # We used to keeping the `.' as first argument, in order to
1814 # allow $(mkdir_p) to be used without argument. As in
1815 # $(mkdir_p) $(somedir)
1816 # where $(somedir) is conditionally defined. However this is wrong
1818 # 1. if the package is installed by a user who cannot write `.'
1819 # make install will fail,
1820 # 2. the above comment should most certainly read
1821 # $(mkdir_p) $(DESTDIR)$(somedir)
1822 # so it does not work when $(somedir) is undefined and
1823 # $(DESTDIR) is not.
1824 # To support the latter case, we have to write
1825 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1826 # so the `.' trick is pointless.
1827 mkdir_p
='mkdir -p --'
1829 # On NextStep and OpenStep, the `mkdir' command does not
1830 # recognize any option. It will interpret all options as
1831 # directories to create, and then abort because `.' already
1833 for d
in .
/-p .
/--version;
1835 test -d $d && rmdir $d
1837 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1838 if test -f "$ac_aux_dir/mkinstalldirs"; then
1839 mkdir_p
='$(mkinstalldirs)'
1841 mkdir_p
='$(install_sh) -d'
1845 for ac_prog
in gawk mawk nawk
awk
1847 # Extract the first word of "$ac_prog", so it can be a program name with args.
1848 set dummy
$ac_prog; ac_word
=$2
1849 echo "$as_me:$LINENO: checking for $ac_word" >&5
1850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1851 if test "${ac_cv_prog_AWK+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 if test -n "$AWK"; then
1855 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1861 test -z "$as_dir" && as_dir
=.
1862 for ac_exec_ext
in '' $ac_executable_extensions; do
1863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1864 ac_cv_prog_AWK
="$ac_prog"
1865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1874 if test -n "$AWK"; then
1875 echo "$as_me:$LINENO: result: $AWK" >&5
1876 echo "${ECHO_T}$AWK" >&6
1878 echo "$as_me:$LINENO: result: no" >&5
1879 echo "${ECHO_T}no" >&6
1882 test -n "$AWK" && break
1885 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1886 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1887 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1888 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 cat >conftest.
make <<\_ACEOF
1893 @
echo 'ac_maketemp="$(MAKE)"'
1895 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1896 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1897 if test -n "$ac_maketemp"; then
1898 eval ac_cv_prog_make_
${ac_make}_set
=yes
1900 eval ac_cv_prog_make_
${ac_make}_set
=no
1904 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1905 echo "$as_me:$LINENO: result: yes" >&5
1906 echo "${ECHO_T}yes" >&6
1909 echo "$as_me:$LINENO: result: no" >&5
1910 echo "${ECHO_T}no" >&6
1911 SET_MAKE
="MAKE=${MAKE-make}"
1914 rm -rf .tst
2>/dev
/null
1915 mkdir .tst
2>/dev
/null
1916 if test -d .tst
; then
1921 rmdir .tst
2>/dev
/null
1923 # test to see if srcdir already configured
1924 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1925 test -f $srcdir/config.status
; then
1926 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1927 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1928 { (exit 1); exit 1; }; }
1931 # test whether we have cygpath
1932 if test -z "$CYGPATH_W"; then
1933 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1934 CYGPATH_W
='cygpath -w'
1941 # Define the identity of the package.
1946 # Some tools Automake needs.
1948 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1951 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1954 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1957 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1960 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1962 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1964 # Installed binaries are usually stripped using `strip' when the user
1965 # run `make install-strip'. However `strip' might not be the right
1966 # tool to use in cross-compilation environments, therefore Automake
1967 # will honor the `STRIP' environment variable to overrule this program.
1968 if test "$cross_compiling" != no
; then
1969 if test -n "$ac_tool_prefix"; then
1970 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1971 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1972 echo "$as_me:$LINENO: checking for $ac_word" >&5
1973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1974 if test "${ac_cv_prog_STRIP+set}" = set; then
1975 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 if test -n "$STRIP"; then
1978 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1984 test -z "$as_dir" && as_dir
=.
1985 for ac_exec_ext
in '' $ac_executable_extensions; do
1986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 STRIP
=$ac_cv_prog_STRIP
1997 if test -n "$STRIP"; then
1998 echo "$as_me:$LINENO: result: $STRIP" >&5
1999 echo "${ECHO_T}$STRIP" >&6
2001 echo "$as_me:$LINENO: result: no" >&5
2002 echo "${ECHO_T}no" >&6
2006 if test -z "$ac_cv_prog_STRIP"; then
2008 # Extract the first word of "strip", so it can be a program name with args.
2009 set dummy strip
; ac_word
=$2
2010 echo "$as_me:$LINENO: checking for $ac_word" >&5
2011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2012 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 if test -n "$ac_ct_STRIP"; then
2016 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2022 test -z "$as_dir" && as_dir
=.
2023 for ac_exec_ext
in '' $ac_executable_extensions; do
2024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2025 ac_cv_prog_ac_ct_STRIP
="strip"
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2032 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2035 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2036 if test -n "$ac_ct_STRIP"; then
2037 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2038 echo "${ECHO_T}$ac_ct_STRIP" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2046 STRIP
="$ac_cv_prog_STRIP"
2050 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2052 # We need awk for the "check" target. The system "awk" is bad on
2054 # Always define AMTAR for backward compatibility.
2056 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2058 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2064 ac_config_headers
="$ac_config_headers config.h:config-h.in"
2068 ## ------------------ ##
2069 ## C compiler checks. ##
2070 ## ------------------ ##
2072 ac_cpp
='$CPP $CPPFLAGS'
2073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2076 if test -n "$ac_tool_prefix"; then
2077 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2078 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2079 echo "$as_me:$LINENO: checking for $ac_word" >&5
2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2081 if test "${ac_cv_prog_CC+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 if test -n "$CC"; then
2085 ac_cv_prog_CC
="$CC" # Let the user override the test.
2087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2091 test -z "$as_dir" && as_dir
=.
2092 for ac_exec_ext
in '' $ac_executable_extensions; do
2093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2094 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 if test -n "$CC"; then
2105 echo "$as_me:$LINENO: result: $CC" >&5
2106 echo "${ECHO_T}$CC" >&6
2108 echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6
2113 if test -z "$ac_cv_prog_CC"; then
2115 # Extract the first word of "gcc", so it can be a program name with args.
2116 set dummy gcc
; ac_word
=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 if test -n "$ac_ct_CC"; then
2123 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir
=.
2130 for ac_exec_ext
in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_ac_ct_CC
="gcc"
2133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2142 if test -n "$ac_ct_CC"; then
2143 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2144 echo "${ECHO_T}$ac_ct_CC" >&6
2146 echo "$as_me:$LINENO: result: no" >&5
2147 echo "${ECHO_T}no" >&6
2155 if test -z "$CC"; then
2156 if test -n "$ac_tool_prefix"; then
2157 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2158 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2159 echo "$as_me:$LINENO: checking for $ac_word" >&5
2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2161 if test "${ac_cv_prog_CC+set}" = set; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 if test -n "$CC"; then
2165 ac_cv_prog_CC
="$CC" # Let the user override the test.
2167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir
=.
2172 for ac_exec_ext
in '' $ac_executable_extensions; do
2173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2184 if test -n "$CC"; then
2185 echo "$as_me:$LINENO: result: $CC" >&5
2186 echo "${ECHO_T}$CC" >&6
2188 echo "$as_me:$LINENO: result: no" >&5
2189 echo "${ECHO_T}no" >&6
2193 if test -z "$ac_cv_prog_CC"; then
2195 # Extract the first word of "cc", so it can be a program name with args.
2196 set dummy cc
; ac_word
=$2
2197 echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 if test -n "$ac_ct_CC"; then
2203 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2209 test -z "$as_dir" && as_dir
=.
2210 for ac_exec_ext
in '' $ac_executable_extensions; do
2211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2212 ac_cv_prog_ac_ct_CC
="cc"
2213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2221 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2222 if test -n "$ac_ct_CC"; then
2223 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2224 echo "${ECHO_T}$ac_ct_CC" >&6
2226 echo "$as_me:$LINENO: result: no" >&5
2227 echo "${ECHO_T}no" >&6
2236 if test -z "$CC"; then
2237 # Extract the first word of "cc", so it can be a program name with args.
2238 set dummy cc
; ac_word
=$2
2239 echo "$as_me:$LINENO: checking for $ac_word" >&5
2240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2241 if test "${ac_cv_prog_CC+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 if test -n "$CC"; then
2245 ac_cv_prog_CC
="$CC" # Let the user override the test.
2248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2252 test -z "$as_dir" && as_dir
=.
2253 for ac_exec_ext
in '' $ac_executable_extensions; do
2254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2255 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2256 ac_prog_rejected
=yes
2260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 if test $ac_prog_rejected = yes; then
2267 # We found a bogon in the path, so make sure we never use it.
2268 set dummy
$ac_cv_prog_CC
2270 if test $# != 0; then
2271 # We chose a different compiler from the bogus one.
2272 # However, it has the same basename, so the bogon will be chosen
2273 # first if we set CC to just the basename; use the full file name.
2275 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2281 if test -n "$CC"; then
2282 echo "$as_me:$LINENO: result: $CC" >&5
2283 echo "${ECHO_T}$CC" >&6
2285 echo "$as_me:$LINENO: result: no" >&5
2286 echo "${ECHO_T}no" >&6
2290 if test -z "$CC"; then
2291 if test -n "$ac_tool_prefix"; then
2294 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2295 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298 if test "${ac_cv_prog_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$CC"; then
2302 ac_cv_prog_CC
="$CC" # Let the user override the test.
2304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir
=.
2309 for ac_exec_ext
in '' $ac_executable_extensions; do
2310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 if test -n "$CC"; then
2322 echo "$as_me:$LINENO: result: $CC" >&5
2323 echo "${ECHO_T}$CC" >&6
2325 echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6
2329 test -n "$CC" && break
2332 if test -z "$CC"; then
2336 # Extract the first word of "$ac_prog", so it can be a program name with args.
2337 set dummy
$ac_prog; ac_word
=$2
2338 echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2340 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 if test -n "$ac_ct_CC"; then
2344 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir
=.
2351 for ac_exec_ext
in '' $ac_executable_extensions; do
2352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2353 ac_cv_prog_ac_ct_CC
="$ac_prog"
2354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2363 if test -n "$ac_ct_CC"; then
2364 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2365 echo "${ECHO_T}$ac_ct_CC" >&6
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2371 test -n "$ac_ct_CC" && break
2380 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2381 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2382 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2383 See \`config.log' for more details." >&5
2384 echo "$as_me: error: no acceptable C compiler found in \$PATH
2385 See \`config.log' for more details." >&2;}
2386 { (exit 1); exit 1; }; }; }
2388 # Provide some information about the compiler.
2389 echo "$as_me:$LINENO:" \
2390 "checking for C compiler version" >&5
2391 ac_compiler
=`set X $ac_compile; echo $2`
2392 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2393 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }
2397 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2398 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }
2402 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2403 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }
2408 cat >conftest.
$ac_ext <<_ACEOF
2411 cat confdefs.h
>>conftest.
$ac_ext
2412 cat >>conftest.
$ac_ext <<_ACEOF
2413 /* end confdefs.h. */
2423 ac_clean_files_save
=$ac_clean_files
2424 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2425 # Try to create an executable without -o first, disregard a.out.
2426 # It will help us diagnose broken compilers, and finding out an intuition
2428 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2429 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2430 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2431 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2432 (eval $ac_link_default) 2>&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; then
2436 # Find the output, starting from the most likely. This scheme is
2437 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2440 # Be careful to initialize this variable, since it used to be cached.
2441 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2443 # b.out is created by i960 compilers.
2444 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2446 test -f "$ac_file" ||
continue
2448 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2451 # This is the source file.
2454 # We found the default executable, but exeext='' is most
2458 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2459 # FIXME: I believe we export ac_cv_exeext for Libtool,
2460 # but it would be cool to find out if it's true. Does anybody
2461 # maintain Libtool? --akim.
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.
$ac_ext >&5
2472 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2473 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2474 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2475 See \`config.log' for more details." >&5
2476 echo "$as_me: error: C compiler cannot create executables
2477 See \`config.log' for more details." >&2;}
2478 { (exit 77); exit 77; }; }; }
2481 ac_exeext
=$ac_cv_exeext
2482 echo "$as_me:$LINENO: result: $ac_file" >&5
2483 echo "${ECHO_T}$ac_file" >&6
2485 # Check the compiler produces executables we can run. If not, either
2486 # the compiler is broken, or we cross compile.
2487 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2488 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2489 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2490 # If not cross compiling, check that we can run a simple program.
2491 if test "$cross_compiling" != yes; then
2492 if { ac_try
='./$ac_file'
2493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }; }; then
2500 if test "$cross_compiling" = maybe
; then
2503 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2504 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2505 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2506 If you meant to cross compile, use \`--host'.
2507 See \`config.log' for more details." >&5
2508 echo "$as_me: error: cannot run C compiled programs.
2509 If you meant to cross compile, use \`--host'.
2510 See \`config.log' for more details." >&2;}
2511 { (exit 1); exit 1; }; }; }
2515 echo "$as_me:$LINENO: result: yes" >&5
2516 echo "${ECHO_T}yes" >&6
2518 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2519 ac_clean_files
=$ac_clean_files_save
2520 # Check the compiler produces executables we can run. If not, either
2521 # the compiler is broken, or we cross compile.
2522 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2523 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2524 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2525 echo "${ECHO_T}$cross_compiling" >&6
2527 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2528 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2530 (eval $ac_link) 2>&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; then
2534 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2535 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2536 # work properly (i.e., refer to `conftest.exe'), while it won't with
2538 for ac_file
in conftest.exe conftest conftest.
*; do
2539 test -f "$ac_file" ||
continue
2541 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2542 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2549 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2550 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2551 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2552 See \`config.log' for more details." >&5
2553 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2554 See \`config.log' for more details." >&2;}
2555 { (exit 1); exit 1; }; }; }
2558 rm -f conftest
$ac_cv_exeext
2559 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2560 echo "${ECHO_T}$ac_cv_exeext" >&6
2562 rm -f conftest.
$ac_ext
2563 EXEEXT
=$ac_cv_exeext
2565 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2566 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2567 if test "${ac_cv_objext+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 cat >conftest.
$ac_ext <<_ACEOF
2573 cat confdefs.h
>>conftest.
$ac_ext
2574 cat >>conftest.
$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2585 rm -f conftest.o conftest.obj
2586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2587 (eval $ac_compile) 2>&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; then
2591 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2593 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2594 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2599 echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.
$ac_ext >&5
2602 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2603 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2604 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2605 See \`config.log' for more details." >&5
2606 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2607 See \`config.log' for more details." >&2;}
2608 { (exit 1); exit 1; }; }; }
2611 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2613 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2614 echo "${ECHO_T}$ac_cv_objext" >&6
2615 OBJEXT
=$ac_cv_objext
2617 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2618 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2619 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2620 echo $ECHO_N "(cached) $ECHO_C" >&6
2622 cat >conftest.
$ac_ext <<_ACEOF
2625 cat confdefs.h
>>conftest.
$ac_ext
2626 cat >>conftest.
$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2640 rm -f conftest.
$ac_objext
2641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2642 (eval $ac_compile) 2>conftest.er1
2644 grep -v '^ *+' conftest.er1
>conftest.err
2646 cat conftest.err
>&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } &&
2649 { ac_try
='test -z "$ac_c_werror_flag"
2650 || test ! -s conftest.err'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; } &&
2656 { ac_try
='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.
$ac_ext >&5
2669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2670 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2673 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2674 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2675 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2676 ac_test_CFLAGS
=${CFLAGS+set}
2677 ac_save_CFLAGS
=$CFLAGS
2679 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2680 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2681 if test "${ac_cv_prog_cc_g+set}" = set; then
2682 echo $ECHO_N "(cached) $ECHO_C" >&6
2684 cat >conftest.
$ac_ext <<_ACEOF
2687 cat confdefs.h
>>conftest.
$ac_ext
2688 cat >>conftest.
$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2699 rm -f conftest.
$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2703 grep -v '^ *+' conftest.er1
>conftest.err
2705 cat conftest.err
>&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try
='test -z "$ac_c_werror_flag"
2709 || test ! -s conftest.err'
2710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; } &&
2715 { ac_try
='test -s conftest.$ac_objext'
2716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }; }; then
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.
$ac_ext >&5
2728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2730 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2731 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2732 if test "$ac_test_CFLAGS" = set; then
2733 CFLAGS
=$ac_save_CFLAGS
2734 elif test $ac_cv_prog_cc_g = yes; then
2735 if test "$GCC" = yes; then
2741 if test "$GCC" = yes; then
2747 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2748 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2749 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2752 ac_cv_prog_cc_stdc
=no
2754 cat >conftest.
$ac_ext <<_ACEOF
2757 cat confdefs.h
>>conftest.
$ac_ext
2758 cat >>conftest.
$ac_ext <<_ACEOF
2759 /* end confdefs.h. */
2762 #include <sys/types.h>
2763 #include <sys/stat.h>
2764 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2765 struct buf { int x; };
2766 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2767 static char *e (p, i)
2773 static char *f (char * (*g) (char **, int), char **p, ...)
2778 s = g (p, va_arg (v,int));
2783 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2784 function prototypes and stuff, but not '\xHH' hex character constants.
2785 These don't provoke an error unfortunately, instead are silently treated
2786 as 'x'. The following induces an error, until -std1 is added to get
2787 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2788 array size at least. It's necessary to write '\x00'==0 to get something
2789 that's true only with -std1. */
2790 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2792 int test (int i, double x);
2793 struct s1 {int (*f) (int a);};
2794 struct s2 {int (*f) (double a);};
2795 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2801 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2806 # Don't try gcc -ansi; that turns off useful extensions and
2807 # breaks some systems' header files.
2808 # AIX -qlanglvl=ansi
2809 # Ultrix and OSF/1 -std1
2810 # HP-UX 10.20 and later -Ae
2811 # HP-UX older versions -Aa -D_HPUX_SOURCE
2812 # SVR4 -Xc -D__EXTENSIONS__
2813 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2815 CC
="$ac_save_CC $ac_arg"
2816 rm -f conftest.
$ac_objext
2817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2818 (eval $ac_compile) 2>conftest.er1
2820 grep -v '^ *+' conftest.er1
>conftest.err
2822 cat conftest.err
>&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); } &&
2825 { ac_try
='test -z "$ac_c_werror_flag"
2826 || test ! -s conftest.err'
2827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; } &&
2832 { ac_try
='test -s conftest.$ac_objext'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; }; then
2838 ac_cv_prog_cc_stdc
=$ac_arg
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.
$ac_ext >&5
2845 rm -f conftest.err conftest.
$ac_objext
2847 rm -f conftest.
$ac_ext conftest.
$ac_objext
2852 case "x$ac_cv_prog_cc_stdc" in
2854 echo "$as_me:$LINENO: result: none needed" >&5
2855 echo "${ECHO_T}none needed" >&6 ;;
2857 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2858 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2859 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2862 # Some people use a C++ compiler to compile C. Since we use `exit',
2863 # in C++ we need to declare it. In case someone uses the same compiler
2864 # for both compiling C and C++ we need to have the C++ compiler decide
2865 # the declaration of exit, since it's the most demanding environment.
2866 cat >conftest.
$ac_ext <<_ACEOF
2871 rm -f conftest.
$ac_objext
2872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2873 (eval $ac_compile) 2>conftest.er1
2875 grep -v '^ *+' conftest.er1
>conftest.err
2877 cat conftest.err
>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); } &&
2880 { ac_try
='test -z "$ac_c_werror_flag"
2881 || test ! -s conftest.err'
2882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; } &&
2887 { ac_try
='test -s conftest.$ac_objext'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; }; then
2893 for ac_declaration
in \
2895 'extern "C" void std::exit (int) throw (); using std::exit;' \
2896 'extern "C" void std::exit (int); using std::exit;' \
2897 'extern "C" void exit (int) throw ();' \
2898 'extern "C" void exit (int);' \
2901 cat >conftest.
$ac_ext <<_ACEOF
2904 cat confdefs.h
>>conftest.
$ac_ext
2905 cat >>conftest.
$ac_ext <<_ACEOF
2906 /* end confdefs.h. */
2917 rm -f conftest.
$ac_objext
2918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2919 (eval $ac_compile) 2>conftest.er1
2921 grep -v '^ *+' conftest.er1
>conftest.err
2923 cat conftest.err
>&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); } &&
2926 { ac_try
='test -z "$ac_c_werror_flag"
2927 || test ! -s conftest.err'
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; } &&
2933 { ac_try
='test -s conftest.$ac_objext'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; }; then
2941 echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.
$ac_ext >&5
2946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2947 cat >conftest.
$ac_ext <<_ACEOF
2950 cat confdefs.h
>>conftest.
$ac_ext
2951 cat >>conftest.
$ac_ext <<_ACEOF
2952 /* end confdefs.h. */
2962 rm -f conftest.
$ac_objext
2963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2964 (eval $ac_compile) 2>conftest.er1
2966 grep -v '^ *+' conftest.er1
>conftest.err
2968 cat conftest.err
>&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); } &&
2971 { ac_try
='test -z "$ac_c_werror_flag"
2972 || test ! -s conftest.err'
2973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); }; } &&
2978 { ac_try
='test -s conftest.$ac_objext'
2979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; }; then
2986 echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.
$ac_ext >&5
2990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2993 if test -n "$ac_declaration"; then
2994 echo '#ifdef __cplusplus' >>confdefs.h
2995 echo $ac_declaration >>confdefs.h
2996 echo '#endif' >>confdefs.h
3000 echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.
$ac_ext >&5
3004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3006 ac_cpp
='$CPP $CPPFLAGS'
3007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3010 DEPDIR
="${am__leading_dot}deps"
3012 ac_config_commands
="$ac_config_commands depfiles"
3015 am_make
=${MAKE-make}
3016 cat > confinc
<< 'END'
3021 # If we don't find an include directive, just comment out the code.
3022 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3023 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3027 # First try GNU make style include.
3028 echo "include confinc" > confmf
3029 # We grep out `Entering directory' and `Leaving directory'
3030 # messages which can occur if `w' ends up in MAKEFLAGS.
3031 # In particular we don't look at `^make:' because GNU make might
3032 # be invoked under some other name (usually "gmake"), in which
3033 # case it prints its new name instead of `make'.
3034 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3039 # Now try BSD make style include.
3040 if test "$am__include" = "#"; then
3041 echo '.include "confinc"' > confmf
3042 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3043 am__include
=.include
3050 echo "$as_me:$LINENO: result: $_am_result" >&5
3051 echo "${ECHO_T}$_am_result" >&6
3052 rm -f confinc confmf
3054 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3055 if test "${enable_dependency_tracking+set}" = set; then
3056 enableval
="$enable_dependency_tracking"
3059 if test "x$enable_dependency_tracking" != xno
; then
3060 am_depcomp
="$ac_aux_dir/depcomp"
3065 if test "x$enable_dependency_tracking" != xno; then
3076 depcc
="$CC" am_compiler_list
=
3078 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3079 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3080 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3084 # We make a subdir and do the tests there. Otherwise we can end up
3085 # making bogus files that we don't know about and never remove. For
3086 # instance it was reported that on HP-UX the gcc test will end up
3087 # making a dummy file named `D' -- because `-MD' means `put the output
3090 # Copy depcomp to subdir because otherwise we won't find it if we're
3091 # using a relative directory.
3092 cp "$am_depcomp" conftest.dir
3094 # We will build objects and dependencies in a subdirectory because
3095 # it helps to detect inapplicable dependency modes. For instance
3096 # both Tru64's cc and ICC support -MD to output dependencies as a
3097 # side effect of compilation, but ICC will put the dependencies in
3098 # the current directory while Tru64 will put them in the object
3102 am_cv_CC_dependencies_compiler_type
=none
3103 if test "$am_compiler_list" = ""; then
3104 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3106 for depmode
in $am_compiler_list; do
3107 # Setup a source with many dependencies, because some compilers
3108 # like to wrap large dependency lists on column 80 (with \), and
3109 # we should not choose a depcomp mode which is confused by this.
3111 # We need to recreate these files for each test, as the compiler may
3112 # overwrite some of them when testing with obscure command lines.
3113 # This happens at least with the AIX C compiler.
3115 for i
in 1 2 3 4 5 6; do
3116 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3117 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3118 # Solaris 8's {/usr,}/bin/sh.
3119 touch sub
/conftst
$i.h
3121 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3125 # after this tag, mechanisms are not by side-effect, so they'll
3126 # only be used when explicitly requested
3127 if test "x$enable_dependency_tracking" = xyes
; then
3135 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3136 # mode. It turns out that the SunPro C++ compiler does not properly
3137 # handle `-M -o', and we need to detect this.
3138 if depmode
=$depmode \
3139 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3140 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3141 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3142 >/dev
/null
2>conftest.err
&&
3143 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3144 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3145 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3146 # icc doesn't choke on unknown options, it will just issue warnings
3147 # or remarks (even with -Werror). So we grep stderr for any message
3148 # that says an option was ignored or not supported.
3149 # When given -MP, icc 7.0 and 7.1 complain thusly:
3150 # icc: Command line warning: ignoring option '-M'; no argument required
3151 # The diagnosis changed in icc 8.0:
3152 # icc: Command line remark: option '-MP' not supported
3153 if (grep 'ignoring option' conftest.err ||
3154 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3155 am_cv_CC_dependencies_compiler_type
=$depmode
3164 am_cv_CC_dependencies_compiler_type
=none
3168 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3169 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3170 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3175 test "x$enable_dependency_tracking" != xno \
3176 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3178 am__fastdepCC_FALSE
='#'
3180 am__fastdepCC_TRUE
='#'
3181 am__fastdepCC_FALSE
=
3186 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3187 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3188 if test "${ac_cv_c_const+set}" = set; then
3189 echo $ECHO_N "(cached) $ECHO_C" >&6
3191 cat >conftest.
$ac_ext <<_ACEOF
3194 cat confdefs.h
>>conftest.
$ac_ext
3195 cat >>conftest.
$ac_ext <<_ACEOF
3196 /* end confdefs.h. */
3201 /* FIXME: Include the comments suggested by Paul. */
3203 /* Ultrix mips cc rejects this. */
3204 typedef int charset[2];
3206 /* SunOS 4.1.1 cc rejects this. */
3207 char const *const *ccp;
3209 /* NEC SVR4.0.2 mips cc rejects this. */
3210 struct point {int x, y;};
3211 static struct point const zero = {0,0};
3212 /* AIX XL C 1.02.0.0 rejects this.
3213 It does not let you subtract one const X* pointer from another in
3214 an arm of an if-expression whose if-part is not a constant
3216 const char *g = "string";
3217 ccp = &g + (g ? g-g : 0);
3218 /* HPUX 7.0 cc rejects these. */
3221 ccp = (char const *const *) p;
3222 { /* SCO 3.2v4 cc rejects this. */
3224 char const *s = 0 ? (char *) 0 : (char const *) 0;
3228 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3230 const int *foo = &x[0];
3233 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3234 typedef const int *iptr;
3238 { /* AIX XL C 1.02.0.0 rejects this saying
3239 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3240 struct s { int j; const int *ap[3]; };
3241 struct s *b; b->j = 5;
3243 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3252 rm -f conftest.
$ac_objext
3253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3254 (eval $ac_compile) 2>conftest.er1
3256 grep -v '^ *+' conftest.er1
>conftest.err
3258 cat conftest.err
>&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } &&
3261 { ac_try
='test -z "$ac_c_werror_flag"
3262 || test ! -s conftest.err'
3263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); }; } &&
3268 { ac_try
='test -s conftest.$ac_objext'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; }; then
3276 echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.
$ac_ext >&5
3281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3283 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3284 echo "${ECHO_T}$ac_cv_c_const" >&6
3285 if test $ac_cv_c_const = no
; then
3287 cat >>confdefs.h
<<\_ACEOF
3293 echo "$as_me:$LINENO: checking for inline" >&5
3294 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3295 if test "${ac_cv_c_inline+set}" = set; then
3296 echo $ECHO_N "(cached) $ECHO_C" >&6
3299 for ac_kw
in inline __inline__ __inline
; do
3300 cat >conftest.
$ac_ext <<_ACEOF
3303 cat confdefs.h
>>conftest.
$ac_ext
3304 cat >>conftest.
$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3308 static $ac_kw foo_t static_foo () {return 0; }
3309 $ac_kw foo_t foo () {return 0; }
3313 rm -f conftest.
$ac_objext
3314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3315 (eval $ac_compile) 2>conftest.er1
3317 grep -v '^ *+' conftest.er1
>conftest.err
3319 cat conftest.err
>&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); } &&
3322 { ac_try
='test -z "$ac_c_werror_flag"
3323 || test ! -s conftest.err'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; } &&
3329 { ac_try
='test -s conftest.$ac_objext'
3330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); }; }; then
3335 ac_cv_c_inline
=$ac_kw; break
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.
$ac_ext >&5
3341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3345 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3346 echo "${ECHO_T}$ac_cv_c_inline" >&6
3349 case $ac_cv_c_inline in
3352 case $ac_cv_c_inline in
3354 *) ac_val
=$ac_cv_c_inline;;
3356 cat >>confdefs.h
<<_ACEOF
3358 #define inline $ac_val
3366 ## ----------------------- ##
3367 ## Libtool initialisation. ##
3368 ## ----------------------- ##
3371 # Check whether --enable-shared or --disable-shared was given.
3372 if test "${enable_shared+set}" = set; then
3373 enableval
="$enable_shared"
3374 p
=${PACKAGE-default}
3376 yes) enable_shared
=yes ;;
3377 no
) enable_shared
=no
;;
3380 # Look at the argument we got. We use all the common list separators.
3381 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3382 for pkg
in $enableval; do
3384 if test "X$pkg" = "X$p"; then
3395 # Check whether --enable-static or --disable-static was given.
3396 if test "${enable_static+set}" = set; then
3397 enableval
="$enable_static"
3398 p
=${PACKAGE-default}
3400 yes) enable_static
=yes ;;
3401 no
) enable_static
=no
;;
3404 # Look at the argument we got. We use all the common list separators.
3405 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3406 for pkg
in $enableval; do
3408 if test "X$pkg" = "X$p"; then
3419 # Check whether --enable-fast-install or --disable-fast-install was given.
3420 if test "${enable_fast_install+set}" = set; then
3421 enableval
="$enable_fast_install"
3422 p
=${PACKAGE-default}
3424 yes) enable_fast_install
=yes ;;
3425 no
) enable_fast_install
=no
;;
3427 enable_fast_install
=no
3428 # Look at the argument we got. We use all the common list separators.
3429 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3430 for pkg
in $enableval; do
3432 if test "X$pkg" = "X$p"; then
3433 enable_fast_install
=yes
3440 enable_fast_install
=yes
3443 # Make sure we can run config.sub.
3444 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3445 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3446 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3447 { (exit 1); exit 1; }; }
3449 echo "$as_me:$LINENO: checking build system type" >&5
3450 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3451 if test "${ac_cv_build+set}" = set; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 ac_cv_build_alias
=$build_alias
3455 test -z "$ac_cv_build_alias" &&
3456 ac_cv_build_alias
=`$ac_config_guess`
3457 test -z "$ac_cv_build_alias" &&
3458 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3459 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3460 { (exit 1); exit 1; }; }
3461 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3462 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3463 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3464 { (exit 1); exit 1; }; }
3467 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3468 echo "${ECHO_T}$ac_cv_build" >&6
3470 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3471 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3472 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3475 echo "$as_me:$LINENO: checking host system type" >&5
3476 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3477 if test "${ac_cv_host+set}" = set; then
3478 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 ac_cv_host_alias
=$host_alias
3481 test -z "$ac_cv_host_alias" &&
3482 ac_cv_host_alias
=$ac_cv_build_alias
3483 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3484 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3485 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3486 { (exit 1); exit 1; }; }
3489 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3490 echo "${ECHO_T}$ac_cv_host" >&6
3492 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3493 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3494 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3497 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3498 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3499 if test "${lt_cv_path_SED+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 # Loop through the user's path and test for sed and gsed.
3503 # Then use that list of sed's as ones to test for truncation.
3504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3508 test -z "$as_dir" && as_dir
=.
3509 for lt_ac_prog
in sed gsed
; do
3510 for ac_exec_ext
in '' $ac_executable_extensions; do
3511 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3512 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3519 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3520 # along with /bin/sed that truncates output.
3521 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3522 test ! -f $lt_ac_sed && continue
3523 cat /dev
/null
> conftest.
in
3525 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3526 # Check for GNU sed and select it if it is found.
3527 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3528 lt_cv_path_SED
=$lt_ac_sed
3532 cat conftest.
in conftest.
in >conftest.tmp
3533 mv conftest.tmp conftest.
in
3534 cp conftest.
in conftest.
nl
3536 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3537 cmp -s conftest.out conftest.
nl ||
break
3538 # 10000 chars as input seems more than enough
3539 test $lt_ac_count -gt 10 && break
3540 lt_ac_count
=`expr $lt_ac_count + 1`
3541 if test $lt_ac_count -gt $lt_ac_max; then
3542 lt_ac_max
=$lt_ac_count
3543 lt_cv_path_SED
=$lt_ac_sed
3551 echo "$as_me:$LINENO: result: $SED" >&5
3552 echo "${ECHO_T}$SED" >&6
3554 echo "$as_me:$LINENO: checking for egrep" >&5
3555 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3556 if test "${ac_cv_prog_egrep+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3560 then ac_cv_prog_egrep
='grep -E'
3561 else ac_cv_prog_egrep
='egrep'
3564 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3565 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3566 EGREP
=$ac_cv_prog_egrep
3570 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3571 if test "${with_gnu_ld+set}" = set; then
3572 withval
="$with_gnu_ld"
3573 test "$withval" = no || with_gnu_ld
=yes
3578 if test "$GCC" = yes; then
3579 # Check if gcc -print-prog-name=ld gives a path.
3580 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3581 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3584 # gcc leaves a trailing carriage return which upsets mingw
3585 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3587 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3590 # Accept absolute paths.
3592 re_direlt
='/[^/][^/]*/\.\./'
3593 # Canonicalize the pathname of ld
3594 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3595 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3596 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3598 test -z "$LD" && LD
="$ac_prog"
3601 # If it fails, then pretend we aren't using GCC.
3605 # If it is relative, then search for the first ld in PATH.
3609 elif test "$with_gnu_ld" = yes; then
3610 echo "$as_me:$LINENO: checking for GNU ld" >&5
3611 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3613 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3614 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3616 if test "${lt_cv_path_LD+set}" = set; then
3617 echo $ECHO_N "(cached) $ECHO_C" >&6
3619 if test -z "$LD"; then
3620 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3621 for ac_dir
in $PATH; do
3623 test -z "$ac_dir" && ac_dir
=.
3624 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3625 lt_cv_path_LD
="$ac_dir/$ac_prog"
3626 # Check to see if the program is GNU ld. I'd rather use --version,
3627 # but apparently some GNU ld's only accept -v.
3628 # Break only if it was the GNU/non-GNU ld that we prefer.
3629 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3630 *GNU
* |
*'with BFD'*)
3631 test "$with_gnu_ld" != no
&& break
3634 test "$with_gnu_ld" != yes && break
3641 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3646 if test -n "$LD"; then
3647 echo "$as_me:$LINENO: result: $LD" >&5
3648 echo "${ECHO_T}$LD" >&6
3650 echo "$as_me:$LINENO: result: no" >&5
3651 echo "${ECHO_T}no" >&6
3653 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3654 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3655 { (exit 1); exit 1; }; }
3656 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3657 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3658 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3659 echo $ECHO_N "(cached) $ECHO_C" >&6
3661 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3662 case `$LD -v 2>&1 </dev/null` in
3663 *GNU
* |
*'with BFD'*)
3664 lt_cv_prog_gnu_ld
=yes
3667 lt_cv_prog_gnu_ld
=no
3671 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3672 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3673 with_gnu_ld
=$lt_cv_prog_gnu_ld
3676 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3677 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3678 if test "${lt_cv_ld_reload_flag+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 lt_cv_ld_reload_flag
='-r'
3683 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3684 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3685 reload_flag
=$lt_cv_ld_reload_flag
3686 case $reload_flag in
3688 *) reload_flag
=" $reload_flag" ;;
3690 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3693 if test "$GCC" = yes; then
3694 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
3696 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3701 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3702 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3703 if test "${lt_cv_path_NM+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 if test -n "$NM"; then
3707 # Let the user override the test.
3710 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3711 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3713 test -z "$ac_dir" && ac_dir
=.
3714 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3715 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3716 # Check to see if the nm accepts a BSD-compat flag.
3717 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3718 # nm: unknown option "B" ignored
3719 # Tru64's nm complains that /dev/null is an invalid object file
3720 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3721 */dev
/null
* |
*'Invalid file or object type'*)
3722 lt_cv_path_NM
="$tmp_nm -B"
3726 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3728 lt_cv_path_NM
="$tmp_nm -p"
3732 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3733 continue # so that we can try to find one that supports BSD flags
3740 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3743 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3744 echo "${ECHO_T}$lt_cv_path_NM" >&6
3747 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3748 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3750 if test "$LN_S" = "ln -s"; then
3751 echo "$as_me:$LINENO: result: yes" >&5
3752 echo "${ECHO_T}yes" >&6
3754 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3755 echo "${ECHO_T}no, using $LN_S" >&6
3758 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3759 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3760 if test "${lt_cv_deplibs_check_method+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3764 lt_cv_file_magic_test_file
=
3765 lt_cv_deplibs_check_method
='unknown'
3766 # Need to set the preceding variable on all platforms that support
3767 # interlibrary dependencies.
3768 # 'none' -- dependencies not supported.
3769 # `unknown' -- same as none, but documents that we really don't know.
3770 # 'pass_all' -- all dependencies passed with no checks.
3771 # 'test_compile' -- check by making test program.
3772 # 'file_magic [[regex]]' -- check by looking for files in library path
3773 # which responds to the $file_magic_cmd with a given extended regex.
3774 # If you have `file' or equivalent on your system and you're not sure
3775 # whether `pass_all' will *always* work, you probably want this one.
3779 lt_cv_deplibs_check_method
=pass_all
3783 lt_cv_deplibs_check_method
=pass_all
3787 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3788 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3789 lt_cv_file_magic_test_file
=/shlib
/libc.so
3793 # func_win32_libid is a shell function defined in ltmain.sh
3794 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3795 lt_cv_file_magic_cmd
='func_win32_libid'
3799 # Base MSYS/MinGW do not provide the 'file' command needed by
3800 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3801 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3802 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3805 darwin
* | rhapsody
*)
3806 lt_cv_deplibs_check_method
=pass_all
3809 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3810 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3813 # Not sure whether the presence of OpenBSD here was a mistake.
3814 # Let's accept both of them until this is cleared up.
3815 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3816 lt_cv_file_magic_cmd
=/usr
/bin
/file
3817 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3821 lt_cv_deplibs_check_method
=pass_all
3826 lt_cv_deplibs_check_method
=pass_all
3829 hpux10.20
* | hpux11
*)
3830 lt_cv_file_magic_cmd
=/usr
/bin
/file
3833 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3834 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3837 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]'
3838 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3841 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3842 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3847 irix5
* | irix6
* | nonstopux
*)
3849 *-32|
*"-32 ") libmagic
=32-bit;;
3850 *-n32|
*"-n32 ") libmagic
=N32
;;
3851 *-64|
*"-64 ") libmagic
=64-bit;;
3852 *) libmagic
=never-match
;;
3854 lt_cv_deplibs_check_method
=pass_all
3857 # This must be Linux ELF.
3859 lt_cv_deplibs_check_method
=pass_all
3863 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3864 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3866 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3871 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3872 lt_cv_file_magic_cmd
=/usr
/bin
/file
3873 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3877 lt_cv_deplibs_check_method
=unknown
3881 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3882 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3884 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3888 osf3
* | osf4
* | osf5
*)
3889 lt_cv_deplibs_check_method
=pass_all
3893 lt_cv_deplibs_check_method
=pass_all
3897 lt_cv_deplibs_check_method
=pass_all
3900 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3901 case $host_vendor in
3903 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]'
3904 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3907 lt_cv_deplibs_check_method
=pass_all
3910 lt_cv_file_magic_cmd
='/bin/file'
3911 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3914 lt_cv_file_magic_cmd
='/bin/file'
3915 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3916 lt_cv_file_magic_test_file
=/lib
/libc.so
3919 lt_cv_deplibs_check_method
=pass_all
3924 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
3925 lt_cv_deplibs_check_method
=pass_all
3930 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3931 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3932 file_magic_cmd
=$lt_cv_file_magic_cmd
3933 deplibs_check_method
=$lt_cv_deplibs_check_method
3934 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3939 # If no C compiler was specified, use CC.
3942 # Allow CC to be a program name with arguments.
3945 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3946 if test "${enable_libtool_lock+set}" = set; then
3947 enableval
="$enable_libtool_lock"
3950 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3952 # Some flags need to be propagated to the compiler or linker for good
3956 # Find out which ABI we are using.
3957 echo 'int i;' > conftest.
$ac_ext
3958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3959 (eval $ac_compile) 2>&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); }; then
3963 case `/usr/bin/file conftest.$ac_objext` in
3975 # Find out which ABI we are using.
3976 echo '#line 3976 "configure"' > conftest.
$ac_ext
3977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3978 (eval $ac_compile) 2>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); }; then
3982 if test "$lt_cv_prog_gnu_ld" = yes; then
3983 case `/usr/bin/file conftest.$ac_objext` in
3985 LD
="${LD-ld} -melf32bsmip"
3988 LD
="${LD-ld} -melf32bmipn32"
3991 LD
="${LD-ld} -melf64bmip"
3995 case `/usr/bin/file conftest.$ac_objext` in
4011 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4012 # Find out which ABI we are using.
4013 echo 'int i;' > conftest.
$ac_ext
4014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4015 (eval $ac_compile) 2>&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; then
4019 case "`/usr/bin/file conftest.o`" in
4023 LD
="${LD-ld} -m elf_i386"
4025 ppc64-
*linux
*|powerpc64-
*linux
*)
4026 LD
="${LD-ld} -m elf32ppclinux"
4029 LD
="${LD-ld} -m elf_s390"
4032 LD
="${LD-ld} -m elf32_sparc"
4039 LD
="${LD-ld} -m elf_x86_64"
4041 ppc
*-*linux
*|powerpc
*-*linux
*)
4042 LD
="${LD-ld} -m elf64ppc"
4045 LD
="${LD-ld} -m elf64_s390"
4048 LD
="${LD-ld} -m elf64_sparc"
4058 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4059 SAVE_CFLAGS
="$CFLAGS"
4060 CFLAGS
="$CFLAGS -belf"
4061 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4062 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4063 if test "${lt_cv_cc_needs_belf+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 ac_cpp
='$CPP $CPPFLAGS'
4068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4072 cat >conftest.
$ac_ext <<_ACEOF
4075 cat confdefs.h
>>conftest.
$ac_ext
4076 cat >>conftest.
$ac_ext <<_ACEOF
4077 /* end confdefs.h. */
4087 rm -f conftest.
$ac_objext conftest
$ac_exeext
4088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4089 (eval $ac_link) 2>conftest.er1
4091 grep -v '^ *+' conftest.er1
>conftest.err
4093 cat conftest.err
>&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); } &&
4096 { ac_try
='test -z "$ac_c_werror_flag"
4097 || test ! -s conftest.err'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; } &&
4103 { ac_try
='test -s conftest$ac_exeext'
4104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); }; }; then
4109 lt_cv_cc_needs_belf
=yes
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.
$ac_ext >&5
4114 lt_cv_cc_needs_belf
=no
4116 rm -f conftest.err conftest.
$ac_objext \
4117 conftest
$ac_exeext conftest.
$ac_ext
4119 ac_cpp
='$CPP $CPPFLAGS'
4120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4125 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4126 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4127 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4128 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4129 CFLAGS
="$SAVE_CFLAGS"
4132 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
4133 if test -n "$ac_tool_prefix"; then
4134 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4135 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4136 echo "$as_me:$LINENO: checking for $ac_word" >&5
4137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4138 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 if test -n "$DLLTOOL"; then
4142 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4148 test -z "$as_dir" && as_dir
=.
4149 for ac_exec_ext
in '' $ac_executable_extensions; do
4150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4151 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 DLLTOOL
=$ac_cv_prog_DLLTOOL
4161 if test -n "$DLLTOOL"; then
4162 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4163 echo "${ECHO_T}$DLLTOOL" >&6
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4170 if test -z "$ac_cv_prog_DLLTOOL"; then
4171 ac_ct_DLLTOOL
=$DLLTOOL
4172 # Extract the first word of "dlltool", so it can be a program name with args.
4173 set dummy dlltool
; ac_word
=$2
4174 echo "$as_me:$LINENO: checking for $ac_word" >&5
4175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4176 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4177 echo $ECHO_N "(cached) $ECHO_C" >&6
4179 if test -n "$ac_ct_DLLTOOL"; then
4180 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4186 test -z "$as_dir" && as_dir
=.
4187 for ac_exec_ext
in '' $ac_executable_extensions; do
4188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4189 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
4199 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4200 if test -n "$ac_ct_DLLTOOL"; then
4201 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4202 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4204 echo "$as_me:$LINENO: result: no" >&5
4205 echo "${ECHO_T}no" >&6
4208 DLLTOOL
=$ac_ct_DLLTOOL
4210 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4213 if test -n "$ac_tool_prefix"; then
4214 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4215 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4216 echo "$as_me:$LINENO: checking for $ac_word" >&5
4217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4218 if test "${ac_cv_prog_AS+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 if test -n "$AS"; then
4222 ac_cv_prog_AS
="$AS" # Let the user override the test.
4224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4228 test -z "$as_dir" && as_dir
=.
4229 for ac_exec_ext
in '' $ac_executable_extensions; do
4230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231 ac_cv_prog_AS
="${ac_tool_prefix}as"
4232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 if test -n "$AS"; then
4242 echo "$as_me:$LINENO: result: $AS" >&5
4243 echo "${ECHO_T}$AS" >&6
4245 echo "$as_me:$LINENO: result: no" >&5
4246 echo "${ECHO_T}no" >&6
4250 if test -z "$ac_cv_prog_AS"; then
4252 # Extract the first word of "as", so it can be a program name with args.
4253 set dummy as
; ac_word
=$2
4254 echo "$as_me:$LINENO: checking for $ac_word" >&5
4255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4256 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4257 echo $ECHO_N "(cached) $ECHO_C" >&6
4259 if test -n "$ac_ct_AS"; then
4260 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4266 test -z "$as_dir" && as_dir
=.
4267 for ac_exec_ext
in '' $ac_executable_extensions; do
4268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4269 ac_cv_prog_ac_ct_AS
="as"
4270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4276 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
4279 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4280 if test -n "$ac_ct_AS"; then
4281 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4282 echo "${ECHO_T}$ac_ct_AS" >&6
4284 echo "$as_me:$LINENO: result: no" >&5
4285 echo "${ECHO_T}no" >&6
4293 if test -n "$ac_tool_prefix"; then
4294 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4295 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4296 echo "$as_me:$LINENO: checking for $ac_word" >&5
4297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4298 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4299 echo $ECHO_N "(cached) $ECHO_C" >&6
4301 if test -n "$OBJDUMP"; then
4302 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4308 test -z "$as_dir" && as_dir
=.
4309 for ac_exec_ext
in '' $ac_executable_extensions; do
4310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4311 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4320 OBJDUMP
=$ac_cv_prog_OBJDUMP
4321 if test -n "$OBJDUMP"; then
4322 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4323 echo "${ECHO_T}$OBJDUMP" >&6
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4330 if test -z "$ac_cv_prog_OBJDUMP"; then
4331 ac_ct_OBJDUMP
=$OBJDUMP
4332 # Extract the first word of "objdump", so it can be a program name with args.
4333 set dummy objdump
; ac_word
=$2
4334 echo "$as_me:$LINENO: checking for $ac_word" >&5
4335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4336 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4337 echo $ECHO_N "(cached) $ECHO_C" >&6
4339 if test -n "$ac_ct_OBJDUMP"; then
4340 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4346 test -z "$as_dir" && as_dir
=.
4347 for ac_exec_ext
in '' $ac_executable_extensions; do
4348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
4359 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4360 if test -n "$ac_ct_OBJDUMP"; then
4361 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4362 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4364 echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6
4368 OBJDUMP
=$ac_ct_OBJDUMP
4370 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4377 need_locks
="$enable_libtool_lock"
4381 ac_cpp
='$CPP $CPPFLAGS'
4382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4385 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4386 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4387 # On Suns, sometimes $CPP names a directory.
4388 if test -n "$CPP" && test -d "$CPP"; then
4391 if test -z "$CPP"; then
4392 if test "${ac_cv_prog_CPP+set}" = set; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 # Double quotes because CPP needs to be expanded
4396 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4399 for ac_c_preproc_warn_flag
in '' yes
4401 # Use a header file that comes with gcc, so configuring glibc
4402 # with a fresh cross-compiler works.
4403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4404 # <limits.h> exists even on freestanding compilers.
4405 # On the NeXT, cc -E runs the code through the compiler's parser,
4406 # not just through cpp. "Syntax error" is here to catch this case.
4407 cat >conftest.
$ac_ext <<_ACEOF
4410 cat confdefs.h
>>conftest.
$ac_ext
4411 cat >>conftest.
$ac_ext <<_ACEOF
4412 /* end confdefs.h. */
4414 # include <limits.h>
4416 # include <assert.h>
4420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4421 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4423 grep -v '^ *+' conftest.er1
>conftest.err
4425 cat conftest.err
>&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); } >/dev
/null
; then
4428 if test -s conftest.err
; then
4429 ac_cpp_err
=$ac_c_preproc_warn_flag
4430 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4437 if test -z "$ac_cpp_err"; then
4440 echo "$as_me: failed program was:" >&5
4441 sed 's/^/| /' conftest.
$ac_ext >&5
4443 # Broken: fails on valid input.
4446 rm -f conftest.err conftest.
$ac_ext
4448 # OK, works on sane cases. Now check whether non-existent headers
4449 # can be detected and how.
4450 cat >conftest.
$ac_ext <<_ACEOF
4453 cat confdefs.h
>>conftest.
$ac_ext
4454 cat >>conftest.
$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4456 #include <ac_nonexistent.h>
4458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4461 grep -v '^ *+' conftest.er1
>conftest.err
4463 cat conftest.err
>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } >/dev
/null
; then
4466 if test -s conftest.err
; then
4467 ac_cpp_err
=$ac_c_preproc_warn_flag
4468 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4475 if test -z "$ac_cpp_err"; then
4476 # Broken: success on invalid input.
4479 echo "$as_me: failed program was:" >&5
4480 sed 's/^/| /' conftest.
$ac_ext >&5
4482 # Passes both tests.
4486 rm -f conftest.err conftest.
$ac_ext
4489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4490 rm -f conftest.err conftest.
$ac_ext
4491 if $ac_preproc_ok; then
4503 echo "$as_me:$LINENO: result: $CPP" >&5
4504 echo "${ECHO_T}$CPP" >&6
4506 for ac_c_preproc_warn_flag
in '' yes
4508 # Use a header file that comes with gcc, so configuring glibc
4509 # with a fresh cross-compiler works.
4510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4511 # <limits.h> exists even on freestanding compilers.
4512 # On the NeXT, cc -E runs the code through the compiler's parser,
4513 # not just through cpp. "Syntax error" is here to catch this case.
4514 cat >conftest.
$ac_ext <<_ACEOF
4517 cat confdefs.h
>>conftest.
$ac_ext
4518 cat >>conftest.
$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4521 # include <limits.h>
4523 # include <assert.h>
4527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4528 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4530 grep -v '^ *+' conftest.er1
>conftest.err
4532 cat conftest.err
>&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); } >/dev
/null
; then
4535 if test -s conftest.err
; then
4536 ac_cpp_err
=$ac_c_preproc_warn_flag
4537 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4544 if test -z "$ac_cpp_err"; then
4547 echo "$as_me: failed program was:" >&5
4548 sed 's/^/| /' conftest.
$ac_ext >&5
4550 # Broken: fails on valid input.
4553 rm -f conftest.err conftest.
$ac_ext
4555 # OK, works on sane cases. Now check whether non-existent headers
4556 # can be detected and how.
4557 cat >conftest.
$ac_ext <<_ACEOF
4560 cat confdefs.h
>>conftest.
$ac_ext
4561 cat >>conftest.
$ac_ext <<_ACEOF
4562 /* end confdefs.h. */
4563 #include <ac_nonexistent.h>
4565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4566 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4568 grep -v '^ *+' conftest.er1
>conftest.err
4570 cat conftest.err
>&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } >/dev
/null
; then
4573 if test -s conftest.err
; then
4574 ac_cpp_err
=$ac_c_preproc_warn_flag
4575 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4582 if test -z "$ac_cpp_err"; then
4583 # Broken: success on invalid input.
4586 echo "$as_me: failed program was:" >&5
4587 sed 's/^/| /' conftest.
$ac_ext >&5
4589 # Passes both tests.
4593 rm -f conftest.err conftest.
$ac_ext
4596 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4597 rm -f conftest.err conftest.
$ac_ext
4598 if $ac_preproc_ok; then
4601 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4602 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4603 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4604 See \`config.log' for more details." >&5
4605 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4606 See \`config.log' for more details." >&2;}
4607 { (exit 1); exit 1; }; }; }
4611 ac_cpp
='$CPP $CPPFLAGS'
4612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4617 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4618 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4619 if test "${ac_cv_header_stdc+set}" = set; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 cat >conftest.
$ac_ext <<_ACEOF
4625 cat confdefs.h
>>conftest.
$ac_ext
4626 cat >>conftest.
$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4641 rm -f conftest.
$ac_objext
4642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4643 (eval $ac_compile) 2>conftest.er1
4645 grep -v '^ *+' conftest.er1
>conftest.err
4647 cat conftest.err
>&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try
='test -z "$ac_c_werror_flag"
4651 || test ! -s conftest.err'
4652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); }; } &&
4657 { ac_try
='test -s conftest.$ac_objext'
4658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); }; }; then
4663 ac_cv_header_stdc
=yes
4665 echo "$as_me: failed program was:" >&5
4666 sed 's/^/| /' conftest.
$ac_ext >&5
4668 ac_cv_header_stdc
=no
4670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4672 if test $ac_cv_header_stdc = yes; then
4673 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4674 cat >conftest.
$ac_ext <<_ACEOF
4677 cat confdefs.h
>>conftest.
$ac_ext
4678 cat >>conftest.
$ac_ext <<_ACEOF
4679 /* end confdefs.h. */
4683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4684 $EGREP "memchr" >/dev
/null
2>&1; then
4687 ac_cv_header_stdc
=no
4693 if test $ac_cv_header_stdc = yes; then
4694 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4695 cat >conftest.
$ac_ext <<_ACEOF
4698 cat confdefs.h
>>conftest.
$ac_ext
4699 cat >>conftest.
$ac_ext <<_ACEOF
4700 /* end confdefs.h. */
4704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4705 $EGREP "free" >/dev
/null
2>&1; then
4708 ac_cv_header_stdc
=no
4714 if test $ac_cv_header_stdc = yes; then
4715 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4716 if test "$cross_compiling" = yes; then
4719 cat >conftest.
$ac_ext <<_ACEOF
4722 cat confdefs.h
>>conftest.
$ac_ext
4723 cat >>conftest.
$ac_ext <<_ACEOF
4724 /* end confdefs.h. */
4726 #if ((' ' & 0x0FF) == 0x020)
4727 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4728 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4730 # define ISLOWER(c) \
4731 (('a' <= (c) && (c) <= 'i') \
4732 || ('j' <= (c) && (c) <= 'r') \
4733 || ('s' <= (c) && (c) <= 'z'))
4734 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4737 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4742 for (i = 0; i < 256; i++)
4743 if (XOR (islower (i), ISLOWER (i))
4744 || toupper (i) != TOUPPER (i))
4749 rm -f conftest
$ac_exeext
4750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4751 (eval $ac_link) 2>&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); }; }; then
4762 echo "$as_me: program exited with status $ac_status" >&5
4763 echo "$as_me: failed program was:" >&5
4764 sed 's/^/| /' conftest.
$ac_ext >&5
4767 ac_cv_header_stdc
=no
4769 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4773 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4774 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4775 if test $ac_cv_header_stdc = yes; then
4777 cat >>confdefs.h
<<\_ACEOF
4778 #define STDC_HEADERS 1
4783 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4793 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4794 inttypes.h stdint.h unistd.h
4796 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4797 echo "$as_me:$LINENO: checking for $ac_header" >&5
4798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4800 echo $ECHO_N "(cached) $ECHO_C" >&6
4802 cat >conftest.
$ac_ext <<_ACEOF
4805 cat confdefs.h
>>conftest.
$ac_ext
4806 cat >>conftest.
$ac_ext <<_ACEOF
4807 /* end confdefs.h. */
4808 $ac_includes_default
4810 #include <$ac_header>
4812 rm -f conftest.
$ac_objext
4813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4814 (eval $ac_compile) 2>conftest.er1
4816 grep -v '^ *+' conftest.er1
>conftest.err
4818 cat conftest.err
>&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); } &&
4821 { ac_try
='test -z "$ac_c_werror_flag"
4822 || test ! -s conftest.err'
4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }; } &&
4828 { ac_try
='test -s conftest.$ac_objext'
4829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }; }; then
4834 eval "$as_ac_Header=yes"
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.
$ac_ext >&5
4839 eval "$as_ac_Header=no"
4841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4846 cat >>confdefs.h
<<_ACEOF
4847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4856 for ac_header
in dlfcn.h
4858 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4860 echo "$as_me:$LINENO: checking for $ac_header" >&5
4861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4868 # Is the header compilable?
4869 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4871 cat >conftest.
$ac_ext <<_ACEOF
4874 cat confdefs.h
>>conftest.
$ac_ext
4875 cat >>conftest.
$ac_ext <<_ACEOF
4876 /* end confdefs.h. */
4877 $ac_includes_default
4878 #include <$ac_header>
4880 rm -f conftest.
$ac_objext
4881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4882 (eval $ac_compile) 2>conftest.er1
4884 grep -v '^ *+' conftest.er1
>conftest.err
4886 cat conftest.err
>&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } &&
4889 { ac_try
='test -z "$ac_c_werror_flag"
4890 || test ! -s conftest.err'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; } &&
4896 { ac_try
='test -s conftest.$ac_objext'
4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); }; }; then
4902 ac_header_compiler
=yes
4904 echo "$as_me: failed program was:" >&5
4905 sed 's/^/| /' conftest.
$ac_ext >&5
4907 ac_header_compiler
=no
4909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4910 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4911 echo "${ECHO_T}$ac_header_compiler" >&6
4913 # Is the header present?
4914 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4915 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4916 cat >conftest.
$ac_ext <<_ACEOF
4919 cat confdefs.h
>>conftest.
$ac_ext
4920 cat >>conftest.
$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4922 #include <$ac_header>
4924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4925 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4927 grep -v '^ *+' conftest.er1
>conftest.err
4929 cat conftest.err
>&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); } >/dev
/null
; then
4932 if test -s conftest.err
; then
4933 ac_cpp_err
=$ac_c_preproc_warn_flag
4934 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4941 if test -z "$ac_cpp_err"; then
4942 ac_header_preproc
=yes
4944 echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.
$ac_ext >&5
4947 ac_header_preproc
=no
4949 rm -f conftest.err conftest.
$ac_ext
4950 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4951 echo "${ECHO_T}$ac_header_preproc" >&6
4953 # So? What about this header?
4954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4956 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4957 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4959 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4960 ac_header_preproc
=yes
4963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4964 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4966 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4967 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4968 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4969 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4970 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4972 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4973 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4974 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4977 ## ---------------------------------- ##
4978 ## Report this to bug-libtool@gnu.org ##
4979 ## ---------------------------------- ##
4982 sed "s/^/$as_me: WARNING: /" >&2
4985 echo "$as_me:$LINENO: checking for $ac_header" >&5
4986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4988 echo $ECHO_N "(cached) $ECHO_C" >&6
4990 eval "$as_ac_Header=\$ac_header_preproc"
4992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4997 cat >>confdefs.h
<<_ACEOF
4998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5006 ac_cpp
='$CXXCPP $CPPFLAGS'
5007 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5008 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5009 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5010 if test -n "$ac_tool_prefix"; then
5011 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5014 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5015 echo "$as_me:$LINENO: checking for $ac_word" >&5
5016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5017 if test "${ac_cv_prog_CXX+set}" = set; then
5018 echo $ECHO_N "(cached) $ECHO_C" >&6
5020 if test -n "$CXX"; then
5021 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5027 test -z "$as_dir" && as_dir
=.
5028 for ac_exec_ext
in '' $ac_executable_extensions; do
5029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5030 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 if test -n "$CXX"; then
5041 echo "$as_me:$LINENO: result: $CXX" >&5
5042 echo "${ECHO_T}$CXX" >&6
5044 echo "$as_me:$LINENO: result: no" >&5
5045 echo "${ECHO_T}no" >&6
5048 test -n "$CXX" && break
5051 if test -z "$CXX"; then
5053 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5055 # Extract the first word of "$ac_prog", so it can be a program name with args.
5056 set dummy
$ac_prog; ac_word
=$2
5057 echo "$as_me:$LINENO: checking for $ac_word" >&5
5058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5059 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5062 if test -n "$ac_ct_CXX"; then
5063 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5069 test -z "$as_dir" && as_dir
=.
5070 for ac_exec_ext
in '' $ac_executable_extensions; do
5071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5072 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5082 if test -n "$ac_ct_CXX"; then
5083 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5084 echo "${ECHO_T}$ac_ct_CXX" >&6
5086 echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6
5090 test -n "$ac_ct_CXX" && break
5092 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
5098 # Provide some information about the compiler.
5099 echo "$as_me:$LINENO:" \
5100 "checking for C++ compiler version" >&5
5101 ac_compiler
=`set X $ac_compile; echo $2`
5102 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5103 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); }
5107 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5108 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111 (exit $ac_status); }
5112 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5113 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); }
5118 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5119 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5120 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5121 echo $ECHO_N "(cached) $ECHO_C" >&6
5123 cat >conftest.
$ac_ext <<_ACEOF
5126 cat confdefs.h
>>conftest.
$ac_ext
5127 cat >>conftest.
$ac_ext <<_ACEOF
5128 /* end confdefs.h. */
5141 rm -f conftest.
$ac_objext
5142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5143 (eval $ac_compile) 2>conftest.er1
5145 grep -v '^ *+' conftest.er1
>conftest.err
5147 cat conftest.err
>&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); } &&
5150 { ac_try
='test -z "$ac_cxx_werror_flag"
5151 || test ! -s conftest.err'
5152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); }; } &&
5157 { ac_try
='test -s conftest.$ac_objext'
5158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); }; }; then
5165 echo "$as_me: failed program was:" >&5
5166 sed 's/^/| /' conftest.
$ac_ext >&5
5170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5171 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5174 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5175 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5176 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5177 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5178 ac_save_CXXFLAGS
=$CXXFLAGS
5180 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5181 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5182 if test "${ac_cv_prog_cxx_g+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 cat >conftest.
$ac_ext <<_ACEOF
5188 cat confdefs.h
>>conftest.
$ac_ext
5189 cat >>conftest.
$ac_ext <<_ACEOF
5190 /* end confdefs.h. */
5200 rm -f conftest.
$ac_objext
5201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5202 (eval $ac_compile) 2>conftest.er1
5204 grep -v '^ *+' conftest.er1
>conftest.err
5206 cat conftest.err
>&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } &&
5209 { ac_try
='test -z "$ac_cxx_werror_flag"
5210 || test ! -s conftest.err'
5211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); }; } &&
5216 { ac_try
='test -s conftest.$ac_objext'
5217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); }; }; then
5222 ac_cv_prog_cxx_g
=yes
5224 echo "$as_me: failed program was:" >&5
5225 sed 's/^/| /' conftest.
$ac_ext >&5
5229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5231 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5232 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5233 if test "$ac_test_CXXFLAGS" = set; then
5234 CXXFLAGS
=$ac_save_CXXFLAGS
5235 elif test $ac_cv_prog_cxx_g = yes; then
5236 if test "$GXX" = yes; then
5242 if test "$GXX" = yes; then
5248 for ac_declaration
in \
5250 'extern "C" void std::exit (int) throw (); using std::exit;' \
5251 'extern "C" void std::exit (int); using std::exit;' \
5252 'extern "C" void exit (int) throw ();' \
5253 'extern "C" void exit (int);' \
5256 cat >conftest.
$ac_ext <<_ACEOF
5259 cat confdefs.h
>>conftest.
$ac_ext
5260 cat >>conftest.
$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5272 rm -f conftest.
$ac_objext
5273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5274 (eval $ac_compile) 2>conftest.er1
5276 grep -v '^ *+' conftest.er1
>conftest.err
5278 cat conftest.err
>&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } &&
5281 { ac_try
='test -z "$ac_cxx_werror_flag"
5282 || test ! -s conftest.err'
5283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; } &&
5288 { ac_try
='test -s conftest.$ac_objext'
5289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); }; }; then
5296 echo "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.
$ac_ext >&5
5301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5302 cat >conftest.
$ac_ext <<_ACEOF
5305 cat confdefs.h
>>conftest.
$ac_ext
5306 cat >>conftest.
$ac_ext <<_ACEOF
5307 /* end confdefs.h. */
5317 rm -f conftest.
$ac_objext
5318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5319 (eval $ac_compile) 2>conftest.er1
5321 grep -v '^ *+' conftest.er1
>conftest.err
5323 cat conftest.err
>&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); } &&
5326 { ac_try
='test -z "$ac_cxx_werror_flag"
5327 || test ! -s conftest.err'
5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); }; } &&
5333 { ac_try
='test -s conftest.$ac_objext'
5334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }; }; then
5341 echo "$as_me: failed program was:" >&5
5342 sed 's/^/| /' conftest.
$ac_ext >&5
5345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5348 if test -n "$ac_declaration"; then
5349 echo '#ifdef __cplusplus' >>confdefs.h
5350 echo $ac_declaration >>confdefs.h
5351 echo '#endif' >>confdefs.h
5355 ac_cpp
='$CXXCPP $CPPFLAGS'
5356 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5357 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5358 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5360 depcc
="$CXX" am_compiler_list
=
5362 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5363 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5364 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5365 echo $ECHO_N "(cached) $ECHO_C" >&6
5367 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5368 # We make a subdir and do the tests there. Otherwise we can end up
5369 # making bogus files that we don't know about and never remove. For
5370 # instance it was reported that on HP-UX the gcc test will end up
5371 # making a dummy file named `D' -- because `-MD' means `put the output
5374 # Copy depcomp to subdir because otherwise we won't find it if we're
5375 # using a relative directory.
5376 cp "$am_depcomp" conftest.dir
5378 # We will build objects and dependencies in a subdirectory because
5379 # it helps to detect inapplicable dependency modes. For instance
5380 # both Tru64's cc and ICC support -MD to output dependencies as a
5381 # side effect of compilation, but ICC will put the dependencies in
5382 # the current directory while Tru64 will put them in the object
5386 am_cv_CXX_dependencies_compiler_type
=none
5387 if test "$am_compiler_list" = ""; then
5388 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5390 for depmode
in $am_compiler_list; do
5391 # Setup a source with many dependencies, because some compilers
5392 # like to wrap large dependency lists on column 80 (with \), and
5393 # we should not choose a depcomp mode which is confused by this.
5395 # We need to recreate these files for each test, as the compiler may
5396 # overwrite some of them when testing with obscure command lines.
5397 # This happens at least with the AIX C compiler.
5399 for i
in 1 2 3 4 5 6; do
5400 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5401 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5402 # Solaris 8's {/usr,}/bin/sh.
5403 touch sub
/conftst
$i.h
5405 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5409 # after this tag, mechanisms are not by side-effect, so they'll
5410 # only be used when explicitly requested
5411 if test "x$enable_dependency_tracking" = xyes
; then
5419 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5420 # mode. It turns out that the SunPro C++ compiler does not properly
5421 # handle `-M -o', and we need to detect this.
5422 if depmode
=$depmode \
5423 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5424 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5425 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5426 >/dev
/null
2>conftest.err
&&
5427 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5428 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5429 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5430 # icc doesn't choke on unknown options, it will just issue warnings
5431 # or remarks (even with -Werror). So we grep stderr for any message
5432 # that says an option was ignored or not supported.
5433 # When given -MP, icc 7.0 and 7.1 complain thusly:
5434 # icc: Command line warning: ignoring option '-M'; no argument required
5435 # The diagnosis changed in icc 8.0:
5436 # icc: Command line remark: option '-MP' not supported
5437 if (grep 'ignoring option' conftest.err ||
5438 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5439 am_cv_CXX_dependencies_compiler_type
=$depmode
5448 am_cv_CXX_dependencies_compiler_type
=none
5452 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5453 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5454 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5459 test "x$enable_dependency_tracking" != xno \
5460 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5461 am__fastdepCXX_TRUE
=
5462 am__fastdepCXX_FALSE
='#'
5464 am__fastdepCXX_TRUE
='#'
5465 am__fastdepCXX_FALSE
=
5471 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5472 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5473 (test "X$CXX" != "Xg++"))) ; then
5475 ac_cpp
='$CXXCPP $CPPFLAGS'
5476 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5477 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5478 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5479 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5480 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5481 if test -z "$CXXCPP"; then
5482 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5485 # Double quotes because CXXCPP needs to be expanded
5486 for CXXCPP
in "$CXX -E" "/lib/cpp"
5489 for ac_cxx_preproc_warn_flag
in '' yes
5491 # Use a header file that comes with gcc, so configuring glibc
5492 # with a fresh cross-compiler works.
5493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5494 # <limits.h> exists even on freestanding compilers.
5495 # On the NeXT, cc -E runs the code through the compiler's parser,
5496 # not just through cpp. "Syntax error" is here to catch this case.
5497 cat >conftest.
$ac_ext <<_ACEOF
5500 cat confdefs.h
>>conftest.
$ac_ext
5501 cat >>conftest.
$ac_ext <<_ACEOF
5502 /* end confdefs.h. */
5504 # include <limits.h>
5506 # include <assert.h>
5510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5513 grep -v '^ *+' conftest.er1
>conftest.err
5515 cat conftest.err
>&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); } >/dev
/null
; then
5518 if test -s conftest.err
; then
5519 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5520 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5527 if test -z "$ac_cpp_err"; then
5530 echo "$as_me: failed program was:" >&5
5531 sed 's/^/| /' conftest.
$ac_ext >&5
5533 # Broken: fails on valid input.
5536 rm -f conftest.err conftest.
$ac_ext
5538 # OK, works on sane cases. Now check whether non-existent headers
5539 # can be detected and how.
5540 cat >conftest.
$ac_ext <<_ACEOF
5543 cat confdefs.h
>>conftest.
$ac_ext
5544 cat >>conftest.
$ac_ext <<_ACEOF
5545 /* end confdefs.h. */
5546 #include <ac_nonexistent.h>
5548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5551 grep -v '^ *+' conftest.er1
>conftest.err
5553 cat conftest.err
>&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } >/dev
/null
; then
5556 if test -s conftest.err
; then
5557 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5558 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5565 if test -z "$ac_cpp_err"; then
5566 # Broken: success on invalid input.
5569 echo "$as_me: failed program was:" >&5
5570 sed 's/^/| /' conftest.
$ac_ext >&5
5572 # Passes both tests.
5576 rm -f conftest.err conftest.
$ac_ext
5579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5580 rm -f conftest.err conftest.
$ac_ext
5581 if $ac_preproc_ok; then
5586 ac_cv_prog_CXXCPP
=$CXXCPP
5589 CXXCPP
=$ac_cv_prog_CXXCPP
5591 ac_cv_prog_CXXCPP
=$CXXCPP
5593 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5594 echo "${ECHO_T}$CXXCPP" >&6
5596 for ac_cxx_preproc_warn_flag
in '' yes
5598 # Use a header file that comes with gcc, so configuring glibc
5599 # with a fresh cross-compiler works.
5600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5601 # <limits.h> exists even on freestanding compilers.
5602 # On the NeXT, cc -E runs the code through the compiler's parser,
5603 # not just through cpp. "Syntax error" is here to catch this case.
5604 cat >conftest.
$ac_ext <<_ACEOF
5607 cat confdefs.h
>>conftest.
$ac_ext
5608 cat >>conftest.
$ac_ext <<_ACEOF
5609 /* end confdefs.h. */
5611 # include <limits.h>
5613 # include <assert.h>
5617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5618 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5620 grep -v '^ *+' conftest.er1
>conftest.err
5622 cat conftest.err
>&5
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); } >/dev
/null
; then
5625 if test -s conftest.err
; then
5626 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5627 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5634 if test -z "$ac_cpp_err"; then
5637 echo "$as_me: failed program was:" >&5
5638 sed 's/^/| /' conftest.
$ac_ext >&5
5640 # Broken: fails on valid input.
5643 rm -f conftest.err conftest.
$ac_ext
5645 # OK, works on sane cases. Now check whether non-existent headers
5646 # can be detected and how.
5647 cat >conftest.
$ac_ext <<_ACEOF
5650 cat confdefs.h
>>conftest.
$ac_ext
5651 cat >>conftest.
$ac_ext <<_ACEOF
5652 /* end confdefs.h. */
5653 #include <ac_nonexistent.h>
5655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5658 grep -v '^ *+' conftest.er1
>conftest.err
5660 cat conftest.err
>&5
5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662 (exit $ac_status); } >/dev
/null
; then
5663 if test -s conftest.err
; then
5664 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5665 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5672 if test -z "$ac_cpp_err"; then
5673 # Broken: success on invalid input.
5676 echo "$as_me: failed program was:" >&5
5677 sed 's/^/| /' conftest.
$ac_ext >&5
5679 # Passes both tests.
5683 rm -f conftest.err conftest.
$ac_ext
5686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5687 rm -f conftest.err conftest.
$ac_ext
5688 if $ac_preproc_ok; then
5691 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5692 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5693 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5694 See \`config.log' for more details." >&5
5695 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5696 See \`config.log' for more details." >&2;}
5697 { (exit 1); exit 1; }; }; }
5701 ac_cpp
='$CXXCPP $CPPFLAGS'
5702 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5703 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5704 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5710 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5711 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5712 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5713 if test -n "$ac_tool_prefix"; then
5714 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5717 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5718 echo "$as_me:$LINENO: checking for $ac_word" >&5
5719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5720 if test "${ac_cv_prog_F77+set}" = set; then
5721 echo $ECHO_N "(cached) $ECHO_C" >&6
5723 if test -n "$F77"; then
5724 ac_cv_prog_F77
="$F77" # Let the user override the test.
5726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir
=.
5731 for ac_exec_ext
in '' $ac_executable_extensions; do
5732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5733 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 if test -n "$F77"; then
5744 echo "$as_me:$LINENO: result: $F77" >&5
5745 echo "${ECHO_T}$F77" >&6
5747 echo "$as_me:$LINENO: result: no" >&5
5748 echo "${ECHO_T}no" >&6
5751 test -n "$F77" && break
5754 if test -z "$F77"; then
5756 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5758 # Extract the first word of "$ac_prog", so it can be a program name with args.
5759 set dummy
$ac_prog; ac_word
=$2
5760 echo "$as_me:$LINENO: checking for $ac_word" >&5
5761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5762 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 if test -n "$ac_ct_F77"; then
5766 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5772 test -z "$as_dir" && as_dir
=.
5773 for ac_exec_ext
in '' $ac_executable_extensions; do
5774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5775 ac_cv_prog_ac_ct_F77
="$ac_prog"
5776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5785 if test -n "$ac_ct_F77"; then
5786 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5787 echo "${ECHO_T}$ac_ct_F77" >&6
5789 echo "$as_me:$LINENO: result: no" >&5
5790 echo "${ECHO_T}no" >&6
5793 test -n "$ac_ct_F77" && break
5800 # Provide some information about the compiler.
5801 echo "$as_me:5801:" \
5802 "checking for Fortran 77 compiler version" >&5
5803 ac_compiler
=`set X $ac_compile; echo $2`
5804 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5805 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }
5809 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5810 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); }
5814 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5815 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818 (exit $ac_status); }
5821 # If we don't use `.F' as extension, the preprocessor is not run on the
5822 # input file. (Note that this only needs to work for GNU compilers.)
5825 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5826 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5827 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5828 echo $ECHO_N "(cached) $ECHO_C" >&6
5830 cat >conftest.
$ac_ext <<_ACEOF
5838 rm -f conftest.
$ac_objext
5839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5840 (eval $ac_compile) 2>conftest.er1
5842 grep -v '^ *+' conftest.er1
>conftest.err
5844 cat conftest.err
>&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); } &&
5847 { ac_try
='test -z "$ac_f77_werror_flag"
5848 || test ! -s conftest.err'
5849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853 (exit $ac_status); }; } &&
5854 { ac_try
='test -s conftest.$ac_objext'
5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; }; then
5862 echo "$as_me: failed program was:" >&5
5863 sed 's/^/| /' conftest.
$ac_ext >&5
5867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5868 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5871 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5872 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5874 ac_test_FFLAGS
=${FFLAGS+set}
5875 ac_save_FFLAGS
=$FFLAGS
5877 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5878 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5879 if test "${ac_cv_prog_f77_g+set}" = set; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5883 cat >conftest.
$ac_ext <<_ACEOF
5888 rm -f conftest.
$ac_objext
5889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5890 (eval $ac_compile) 2>conftest.er1
5892 grep -v '^ *+' conftest.er1
>conftest.err
5894 cat conftest.err
>&5
5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); } &&
5897 { ac_try
='test -z "$ac_f77_werror_flag"
5898 || test ! -s conftest.err'
5899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); }; } &&
5904 { ac_try
='test -s conftest.$ac_objext'
5905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }; }; then
5910 ac_cv_prog_f77_g
=yes
5912 echo "$as_me: failed program was:" >&5
5913 sed 's/^/| /' conftest.
$ac_ext >&5
5917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5920 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5921 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5922 if test "$ac_test_FFLAGS" = set; then
5923 FFLAGS
=$ac_save_FFLAGS
5924 elif test $ac_cv_prog_f77_g = yes; then
5925 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5931 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5938 G77
=`test $ac_compiler_gnu = yes && echo yes`
5940 ac_cpp
='$CPP $CPPFLAGS'
5941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5947 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5949 # find the maximum length of command line arguments
5950 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5951 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5952 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5953 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 # On DJGPP, this test can blow up pretty badly due to problems in libc
5961 # (any single argument exceeding 2000 bytes causes a buffer overrun
5962 # during glob expansion). Even if it were fixed, the result of this
5963 # check would be larger than it should be.
5964 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5968 # Under GNU Hurd, this test is not required because there is
5969 # no limit to the length of command line arguments.
5970 # Libtool will interpret -1 as no limit whatsoever
5971 lt_cv_sys_max_cmd_len
=-1;
5975 # On Win9x/ME, this test blows up -- it succeeds, but takes
5976 # about 5 minutes as the teststring grows exponentially.
5977 # Worse, since 9x/ME are not pre-emptively multitasking,
5978 # you end up with a "frozen" computer, even though with patience
5979 # the test eventually succeeds (with a max line length of 256k).
5980 # Instead, let's just punt: use the minimum linelength reported by
5981 # all of the supported platforms: 8192 (on NT/2K/XP).
5982 lt_cv_sys_max_cmd_len
=8192;
5986 # On AmigaOS with pdksh, this test takes hours, literally.
5987 # So we just punt and use a minimum line length of 8192.
5988 lt_cv_sys_max_cmd_len
=8192;
5991 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5992 # This has been around since 386BSD, at least. Likely further.
5993 if test -x /sbin
/sysctl
; then
5994 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5995 elif test -x /usr
/sbin
/sysctl
; then
5996 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5998 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
6000 # And add a safety zone
6001 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6002 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6005 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6006 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6007 # nice to cause kernel panics so lets avoid the loop below.
6008 # First set a reasonable default.
6009 lt_cv_sys_max_cmd_len
=16384
6011 if test -x /sbin
/sysconfig
; then
6012 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6013 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6018 # If test is not a shell built-in, we'll probably end up computing a
6019 # maximum length that is only half of the actual maximum length, but
6021 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6022 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6023 = "XX$teststring") >/dev
/null
2>&1 &&
6024 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6025 lt_cv_sys_max_cmd_len
=$new_result &&
6026 test $i != 17 # 1/2 MB should be enough
6029 teststring
=$teststring$teststring
6032 # Add a significant safety factor because C++ compilers can tack on massive
6033 # amounts of additional arguments before passing them to the linker.
6034 # It appears as though 1/2 is a usable value.
6035 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6041 if test -n $lt_cv_sys_max_cmd_len ; then
6042 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6043 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6045 echo "$as_me:$LINENO: result: none" >&5
6046 echo "${ECHO_T}none" >&6
6052 # Check for command to grab the raw symbol name followed by C symbol from nm.
6053 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6054 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6055 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6056 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 # These are sane defaults that work on at least a few old systems.
6060 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6062 # Character class describing NM global symbol codes.
6063 symcode
='[BCDEGRST]'
6065 # Regexp to match symbols that can be accessed directly from C.
6066 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6068 # Transform an extracted symbol line into a proper C declaration
6069 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6071 # Transform an extracted symbol line into symbol name and symbol address
6072 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'"
6074 # Define system-specific variables.
6079 cygwin
* | mingw
* | pw32
*)
6080 symcode
='[ABCDGISTW]'
6082 hpux
*) # Its linker distinguishes data from code symbols
6083 if test "$host_cpu" = ia64
; then
6084 symcode
='[ABCDEGRST]'
6086 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6087 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'"
6090 if test "$host_cpu" = ia64
; then
6091 symcode
='[ABCDGIRSTW]'
6092 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6093 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'"
6097 symcode
='[BCDEGRST]'
6100 symcode
='[BCDEGQRST]'
6110 # Handle CRLF in mingw tool chain
6114 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6118 # If we're using GNU nm, then use its standard symbol codes.
6119 case `$NM -V 2>&1` in
6120 *GNU
* |
*'with BFD'*)
6121 symcode
='[ABCDGIRSTW]' ;;
6124 # Try without a prefix undercore, then with it.
6125 for ac_symprfx
in "" "_"; do
6127 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6128 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6130 # Write the raw and C identifiers.
6131 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6133 # Check to see that the pipe works correctly.
6137 cat > conftest.
$ac_ext <<EOF
6142 void nm_test_func(){}
6146 int main(){nm_test_var='a';nm_test_func();return(0);}
6149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6150 (eval $ac_compile) 2>&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; then
6154 # Now try to grab the symbols.
6156 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6157 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); } && test -s "$nlist"; then
6161 # Try sorting and uniquifying the output.
6162 if sort "$nlist" |
uniq > "$nlist"T
; then
6163 mv -f "$nlist"T
"$nlist"
6168 # Make sure that we snagged all the symbols we need.
6169 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6170 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6171 cat <<EOF > conftest.$ac_ext
6177 # Now generate the symbol file.
6178 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6180 cat <<EOF >> conftest.$ac_ext
6181 #if defined (__STDC__) && __STDC__
6182 # define lt_ptr_t void *
6184 # define lt_ptr_t char *
6188 /* The mapping between symbol names and symbols. */
6193 lt_preloaded_symbols[] =
6196 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6197 cat <<\EOF
>> conftest.
$ac_ext
6205 # Now try linking the two files.
6206 mv conftest.
$ac_objext conftstm.
$ac_objext
6207 lt_save_LIBS
="$LIBS"
6208 lt_save_CFLAGS
="$CFLAGS"
6209 LIBS
="conftstm.$ac_objext"
6210 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6212 (eval $ac_link) 2>&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6218 LIBS
="$lt_save_LIBS"
6219 CFLAGS
="$lt_save_CFLAGS"
6221 echo "cannot find nm_test_func in $nlist" >&5
6224 echo "cannot find nm_test_var in $nlist" >&5
6227 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6230 echo "$progname: failed program was:" >&5
6231 cat conftest.
$ac_ext >&5
6233 rm -f conftest
* conftst
*
6235 # Do not use the global_symbol_pipe unless it works.
6236 if test "$pipe_works" = yes; then
6239 lt_cv_sys_global_symbol_pipe
=
6245 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6246 lt_cv_sys_global_symbol_to_cdecl
=
6248 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6249 echo "$as_me:$LINENO: result: failed" >&5
6250 echo "${ECHO_T}failed" >&6
6252 echo "$as_me:$LINENO: result: ok" >&5
6253 echo "${ECHO_T}ok" >&6
6256 echo "$as_me:$LINENO: checking for objdir" >&5
6257 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6258 if test "${lt_cv_objdir+set}" = set; then
6259 echo $ECHO_N "(cached) $ECHO_C" >&6
6261 rm -f .libs
2>/dev
/null
6262 mkdir .libs
2>/dev
/null
6263 if test -d .libs
; then
6266 # MS-DOS does not allow filenames that begin with a dot.
6269 rmdir .libs
2>/dev
/null
6271 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6272 echo "${ECHO_T}$lt_cv_objdir" >&6
6273 objdir
=$lt_cv_objdir
6281 # AIX sometimes has problems with the GCC collect2 program. For some
6282 # reason, if we set the COLLECT_NAMES environment variable, the problems
6283 # vanish in a puff of smoke.
6284 if test "X${COLLECT_NAMES+set}" != Xset
; then
6286 export COLLECT_NAMES
6291 # Sed substitution that helps us do robust quoting. It backslashifies
6292 # metacharacters that are still active within double-quoted strings.
6293 Xsed
='sed -e 1s/^X//'
6294 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6296 # Same as above, but do not quote variable references.
6297 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6299 # Sed substitution to delay expansion of an escaped shell variable in a
6300 # double_quote_subst'ed string.
6301 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6303 # Sed substitution to avoid accidental globbing in evaled expressions
6304 no_glob_subst
='s/\*/\\\*/g'
6310 default_ofile
=libtool
6311 can_build_shared
=yes
6313 # All known linkers require a `.a' archive for static linking (except M$VC,
6314 # which needs '.lib').
6316 ltmain
="$ac_aux_dir/ltmain.sh"
6317 ofile
="$default_ofile"
6318 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6320 if test -n "$ac_tool_prefix"; then
6321 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6322 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6323 echo "$as_me:$LINENO: checking for $ac_word" >&5
6324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6325 if test "${ac_cv_prog_AR+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6328 if test -n "$AR"; then
6329 ac_cv_prog_AR
="$AR" # Let the user override the test.
6331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6335 test -z "$as_dir" && as_dir
=.
6336 for ac_exec_ext
in '' $ac_executable_extensions; do
6337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6338 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6348 if test -n "$AR"; then
6349 echo "$as_me:$LINENO: result: $AR" >&5
6350 echo "${ECHO_T}$AR" >&6
6352 echo "$as_me:$LINENO: result: no" >&5
6353 echo "${ECHO_T}no" >&6
6357 if test -z "$ac_cv_prog_AR"; then
6359 # Extract the first word of "ar", so it can be a program name with args.
6360 set dummy
ar; ac_word
=$2
6361 echo "$as_me:$LINENO: checking for $ac_word" >&5
6362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6363 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 if test -n "$ac_ct_AR"; then
6367 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6373 test -z "$as_dir" && as_dir
=.
6374 for ac_exec_ext
in '' $ac_executable_extensions; do
6375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6376 ac_cv_prog_ac_ct_AR
="ar"
6377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6383 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6386 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6387 if test -n "$ac_ct_AR"; then
6388 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6389 echo "${ECHO_T}$ac_ct_AR" >&6
6391 echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6
6400 if test -n "$ac_tool_prefix"; then
6401 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6402 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6403 echo "$as_me:$LINENO: checking for $ac_word" >&5
6404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6405 if test "${ac_cv_prog_RANLIB+set}" = set; then
6406 echo $ECHO_N "(cached) $ECHO_C" >&6
6408 if test -n "$RANLIB"; then
6409 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6415 test -z "$as_dir" && as_dir
=.
6416 for ac_exec_ext
in '' $ac_executable_extensions; do
6417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6418 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 RANLIB
=$ac_cv_prog_RANLIB
6428 if test -n "$RANLIB"; then
6429 echo "$as_me:$LINENO: result: $RANLIB" >&5
6430 echo "${ECHO_T}$RANLIB" >&6
6432 echo "$as_me:$LINENO: result: no" >&5
6433 echo "${ECHO_T}no" >&6
6437 if test -z "$ac_cv_prog_RANLIB"; then
6438 ac_ct_RANLIB
=$RANLIB
6439 # Extract the first word of "ranlib", so it can be a program name with args.
6440 set dummy ranlib
; ac_word
=$2
6441 echo "$as_me:$LINENO: checking for $ac_word" >&5
6442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6443 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6444 echo $ECHO_N "(cached) $ECHO_C" >&6
6446 if test -n "$ac_ct_RANLIB"; then
6447 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6453 test -z "$as_dir" && as_dir
=.
6454 for ac_exec_ext
in '' $ac_executable_extensions; do
6455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6463 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6466 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6467 if test -n "$ac_ct_RANLIB"; then
6468 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6469 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6471 echo "$as_me:$LINENO: result: no" >&5
6472 echo "${ECHO_T}no" >&6
6475 RANLIB
=$ac_ct_RANLIB
6477 RANLIB
="$ac_cv_prog_RANLIB"
6480 if test -n "$ac_tool_prefix"; then
6481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6482 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6483 echo "$as_me:$LINENO: checking for $ac_word" >&5
6484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6485 if test "${ac_cv_prog_STRIP+set}" = set; then
6486 echo $ECHO_N "(cached) $ECHO_C" >&6
6488 if test -n "$STRIP"; then
6489 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6495 test -z "$as_dir" && as_dir
=.
6496 for ac_exec_ext
in '' $ac_executable_extensions; do
6497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 STRIP
=$ac_cv_prog_STRIP
6508 if test -n "$STRIP"; then
6509 echo "$as_me:$LINENO: result: $STRIP" >&5
6510 echo "${ECHO_T}$STRIP" >&6
6512 echo "$as_me:$LINENO: result: no" >&5
6513 echo "${ECHO_T}no" >&6
6517 if test -z "$ac_cv_prog_STRIP"; then
6519 # Extract the first word of "strip", so it can be a program name with args.
6520 set dummy strip
; ac_word
=$2
6521 echo "$as_me:$LINENO: checking for $ac_word" >&5
6522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6523 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6524 echo $ECHO_N "(cached) $ECHO_C" >&6
6526 if test -n "$ac_ct_STRIP"; then
6527 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6533 test -z "$as_dir" && as_dir
=.
6534 for ac_exec_ext
in '' $ac_executable_extensions; do
6535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6536 ac_cv_prog_ac_ct_STRIP
="strip"
6537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6543 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6546 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6547 if test -n "$ac_ct_STRIP"; then
6548 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6549 echo "${ECHO_T}$ac_ct_STRIP" >&6
6551 echo "$as_me:$LINENO: result: no" >&5
6552 echo "${ECHO_T}no" >&6
6557 STRIP
="$ac_cv_prog_STRIP"
6562 old_CFLAGS
="$CFLAGS"
6564 # Set sane defaults for various variables
6565 test -z "$AR" && AR
=ar
6566 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6567 test -z "$AS" && AS
=as
6568 test -z "$CC" && CC
=cc
6569 test -z "$LTCC" && LTCC
=$CC
6570 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6571 test -z "$LD" && LD
=ld
6572 test -z "$LN_S" && LN_S
="ln -s"
6573 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6574 test -z "$NM" && NM
=nm
6575 test -z "$SED" && SED
=sed
6576 test -z "$OBJDUMP" && OBJDUMP
=objdump
6577 test -z "$RANLIB" && RANLIB
=:
6578 test -z "$STRIP" && STRIP
=:
6579 test -z "$ac_objext" && ac_objext
=o
6581 # Determine commands to create old-style static archives.
6582 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6583 old_postinstall_cmds
='chmod 644 $oldlib'
6584 old_postuninstall_cmds
=
6586 if test -n "$RANLIB"; then
6589 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6592 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6595 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6598 for cc_temp
in $compiler""; do
6600 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6601 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6606 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6609 # Only perform the check for file, if the check method requires it
6610 case $deplibs_check_method in
6612 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6613 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6614 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6615 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6620 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6623 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6624 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6625 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6626 for ac_dir
in $ac_dummy; do
6628 test -z "$ac_dir" && ac_dir
=.
6629 if test -f $ac_dir/${ac_tool_prefix}file; then
6630 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6631 if test -n "$file_magic_test_file"; then
6632 case $deplibs_check_method in
6634 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6635 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6636 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6637 $EGREP "$file_magic_regex" > /dev
/null
; then
6642 *** Warning: the command libtool uses to detect shared libraries,
6643 *** $file_magic_cmd, produces output that libtool cannot recognize.
6644 *** The result is that libtool may fail to recognize shared libraries
6645 *** as such. This will affect the creation of libtool libraries that
6646 *** depend on shared libraries, but programs linked with such libtool
6647 *** libraries will work regardless of this problem. Nevertheless, you
6648 *** may want to report the problem to your system manager and/or to
6649 *** bug-libtool@gnu.org
6659 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6664 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6665 if test -n "$MAGIC_CMD"; then
6666 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6667 echo "${ECHO_T}$MAGIC_CMD" >&6
6669 echo "$as_me:$LINENO: result: no" >&5
6670 echo "${ECHO_T}no" >&6
6673 if test -z "$lt_cv_path_MAGIC_CMD"; then
6674 if test -n "$ac_tool_prefix"; then
6675 echo "$as_me:$LINENO: checking for file" >&5
6676 echo $ECHO_N "checking for file... $ECHO_C" >&6
6677 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6678 echo $ECHO_N "(cached) $ECHO_C" >&6
6682 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6685 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6686 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6687 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6688 for ac_dir
in $ac_dummy; do
6690 test -z "$ac_dir" && ac_dir
=.
6691 if test -f $ac_dir/file; then
6692 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6693 if test -n "$file_magic_test_file"; then
6694 case $deplibs_check_method in
6696 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6697 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6698 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6699 $EGREP "$file_magic_regex" > /dev
/null
; then
6704 *** Warning: the command libtool uses to detect shared libraries,
6705 *** $file_magic_cmd, produces output that libtool cannot recognize.
6706 *** The result is that libtool may fail to recognize shared libraries
6707 *** as such. This will affect the creation of libtool libraries that
6708 *** depend on shared libraries, but programs linked with such libtool
6709 *** libraries will work regardless of this problem. Nevertheless, you
6710 *** may want to report the problem to your system manager and/or to
6711 *** bug-libtool@gnu.org
6721 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6726 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6727 if test -n "$MAGIC_CMD"; then
6728 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6729 echo "${ECHO_T}$MAGIC_CMD" >&6
6731 echo "$as_me:$LINENO: result: no" >&5
6732 echo "${ECHO_T}no" >&6
6745 enable_win32_dll
=yes
6747 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6748 if test "${enable_libtool_lock+set}" = set; then
6749 enableval
="$enable_libtool_lock"
6752 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6755 # Check whether --with-pic or --without-pic was given.
6756 if test "${with_pic+set}" = set; then
6762 test -z "$pic_mode" && pic_mode
=default
6764 # Use C for the default configuration in the libtool script
6768 ac_cpp
='$CPP $CPPFLAGS'
6769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6774 # Source file extension for C test sources.
6777 # Object file extension for compiled C test sources.
6781 # Code to be used in simple compile tests
6782 lt_simple_compile_test_code
="int some_variable = 0;\n"
6784 # Code to be used in simple link tests
6785 lt_simple_link_test_code
='int main(){return(0);}\n'
6788 # If no C compiler was specified, use CC.
6791 # Allow CC to be a program name with arguments.
6795 # save warnings/boilerplate of simple test code
6796 ac_outfile
=conftest.
$ac_objext
6797 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6798 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
6799 _lt_compiler_boilerplate
=`cat conftest.err`
6802 ac_outfile
=conftest.
$ac_objext
6803 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6804 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
6805 _lt_linker_boilerplate
=`cat conftest.err`
6810 # Check for any special shared library compilation flags.
6813 if test "$GCC" = no
; then
6816 lt_prog_cc_shlib
='-belf'
6820 if test -n "$lt_prog_cc_shlib"; then
6821 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6822 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6823 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6825 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6826 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6827 lt_cv_prog_cc_can_build_shared
=no
6833 # Check to make sure the static flag actually works.
6835 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6836 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6837 if test "${lt_prog_compiler_static_works+set}" = set; then
6838 echo $ECHO_N "(cached) $ECHO_C" >&6
6840 lt_prog_compiler_static_works
=no
6841 save_LDFLAGS
="$LDFLAGS"
6842 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6843 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6844 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6845 # The compiler can only warn and ignore the option if not recognized
6846 # So say no if there are warnings
6847 if test -s conftest.err
; then
6848 # Append any errors to the config.log.
6849 cat conftest.err
1>&5
6850 $echo "X$_lt_linker_boilerplate" |
$Xsed > conftest.exp
6851 $SED '/^$/d' conftest.err
>conftest.er2
6852 if diff conftest.exp conftest.er2
>/dev
/null
; then
6853 lt_prog_compiler_static_works
=yes
6856 lt_prog_compiler_static_works
=yes
6860 LDFLAGS
="$save_LDFLAGS"
6863 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6864 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6866 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6869 lt_prog_compiler_static
=
6875 ## There is no encapsulation within the following macros, do not change
6876 ## the running order or otherwise move them around unless you know exactly
6877 ## what you are doing...
6879 lt_prog_compiler_no_builtin_flag
=
6881 if test "$GCC" = yes; then
6882 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6885 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6886 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6887 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6888 echo $ECHO_N "(cached) $ECHO_C" >&6
6890 lt_cv_prog_compiler_rtti_exceptions
=no
6891 ac_outfile
=conftest.
$ac_objext
6892 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6893 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6894 # Insert the option either (1) after the last *FLAGS variable, or
6895 # (2) before a word containing "conftest.", or (3) at the end.
6896 # Note that $ac_compile itself does not contain backslashes and begins
6897 # with a dollar sign (not a hyphen), so the echo should work correctly.
6898 # The option is referenced via a variable to avoid confusing sed.
6899 lt_compile
=`echo "$ac_compile" | $SED \
6900 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6901 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6902 -e 's:$: $lt_compiler_flag:'`
6903 (eval echo "\"\$as_me:6903: $lt_compile\"" >&5)
6904 (eval "$lt_compile" 2>conftest.err
)
6906 cat conftest.err
>&5
6907 echo "$as_me:6907: \$? = $ac_status" >&5
6908 if (exit $ac_status) && test -s "$ac_outfile"; then
6909 # The compiler can only warn and ignore the option if not recognized
6910 # So say no if there are warnings other than the usual output.
6911 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
6912 $SED '/^$/d' conftest.err
>conftest.er2
6913 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6914 lt_cv_prog_compiler_rtti_exceptions
=yes
6920 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6921 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6923 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6924 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6931 lt_prog_compiler_wl
=
6932 lt_prog_compiler_pic
=
6933 lt_prog_compiler_static
=
6935 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6936 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6938 if test "$GCC" = yes; then
6939 lt_prog_compiler_wl
='-Wl,'
6940 lt_prog_compiler_static
='-static'
6944 # All AIX code is PIC.
6945 if test "$host_cpu" = ia64
; then
6946 # AIX 5 now supports IA64 processor
6947 lt_prog_compiler_static
='-Bstatic'
6952 # FIXME: we need at least 68020 code to build shared libraries, but
6953 # adding the `-m68020' flag to GCC prevents building anything better,
6955 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6958 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6959 # PIC is the default for these OSes.
6962 mingw
* | pw32
* | os2
*)
6963 # This hack is so that the source file can tell whether it is being
6964 # built for inclusion in a dll (and should export symbols for example).
6965 lt_prog_compiler_pic
='-DDLL_EXPORT'
6968 darwin
* | rhapsody
*)
6969 # PIC is the default on this platform
6970 # Common symbols not allowed in MH_DYLIB files
6971 lt_prog_compiler_pic
='-fno-common'
6975 # Just because we use GCC doesn't mean we suddenly get shared libraries
6976 # on systems that don't support them.
6977 lt_prog_compiler_can_build_shared
=no
6982 if test -d /usr
/nec
; then
6983 lt_prog_compiler_pic
=-Kconform_pic
6988 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6995 lt_prog_compiler_pic
='-fPIC'
7001 lt_prog_compiler_pic
='-fPIC'
7005 # PORTME Check for flag to pass linker flags through the system compiler.
7008 lt_prog_compiler_wl
='-Wl,'
7009 if test "$host_cpu" = ia64
; then
7010 # AIX 5 now supports IA64 processor
7011 lt_prog_compiler_static
='-Bstatic'
7013 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7017 # PIC is the default on this platform
7018 # Common symbols not allowed in MH_DYLIB files
7019 case $cc_basename in
7021 lt_prog_compiler_pic
='-qnocommon'
7022 lt_prog_compiler_wl
='-Wl,'
7027 mingw
* | pw32
* | os2
*)
7028 # This hack is so that the source file can tell whether it is being
7029 # built for inclusion in a dll (and should export symbols for example).
7030 lt_prog_compiler_pic
='-DDLL_EXPORT'
7033 hpux9
* | hpux10
* | hpux11
*)
7034 lt_prog_compiler_wl
='-Wl,'
7035 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7042 lt_prog_compiler_pic
='+Z'
7045 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7046 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7049 irix5
* | irix6
* | nonstopux
*)
7050 lt_prog_compiler_wl
='-Wl,'
7051 # PIC (with -KPIC) is the default.
7052 lt_prog_compiler_static
='-non_shared'
7056 lt_prog_compiler_pic
='-KPIC'
7057 lt_prog_compiler_static
='-Bstatic'
7061 case $cc_basename in
7063 lt_prog_compiler_wl
='-Wl,'
7064 lt_prog_compiler_pic
='-KPIC'
7065 lt_prog_compiler_static
='-static'
7067 pgcc
* | pgf77
* | pgf90
*)
7068 # Portland Group compilers (*not* the Pentium gcc compiler,
7069 # which looks to be a dead project)
7070 lt_prog_compiler_wl
='-Wl,'
7071 lt_prog_compiler_pic
='-fpic'
7072 lt_prog_compiler_static
='-static'
7075 lt_prog_compiler_wl
='-Wl,'
7076 # All Alpha code is PIC.
7077 lt_prog_compiler_static
='-non_shared'
7082 osf3
* | osf4
* | osf5
*)
7083 lt_prog_compiler_wl
='-Wl,'
7084 # All OSF/1 code is PIC.
7085 lt_prog_compiler_static
='-non_shared'
7089 lt_prog_compiler_pic
='-Kpic'
7090 lt_prog_compiler_static
='-dn'
7094 lt_prog_compiler_pic
='-KPIC'
7095 lt_prog_compiler_static
='-Bstatic'
7096 case $cc_basename in
7098 lt_prog_compiler_wl
='-Qoption ld ';;
7100 lt_prog_compiler_wl
='-Wl,';;
7105 lt_prog_compiler_wl
='-Qoption ld '
7106 lt_prog_compiler_pic
='-PIC'
7107 lt_prog_compiler_static
='-Bstatic'
7110 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7111 lt_prog_compiler_wl
='-Wl,'
7112 lt_prog_compiler_pic
='-KPIC'
7113 lt_prog_compiler_static
='-Bstatic'
7117 if test -d /usr
/nec
;then
7118 lt_prog_compiler_pic
='-Kconform_pic'
7119 lt_prog_compiler_static
='-Bstatic'
7124 lt_prog_compiler_wl
='-Wl,'
7125 lt_prog_compiler_can_build_shared
=no
7129 lt_prog_compiler_pic
='-pic'
7130 lt_prog_compiler_static
='-Bstatic'
7134 lt_prog_compiler_can_build_shared
=no
7139 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7140 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7143 # Check to make sure the PIC flag actually works.
7145 if test -n "$lt_prog_compiler_pic"; then
7147 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7148 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7149 if test "${lt_prog_compiler_pic_works+set}" = set; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 lt_prog_compiler_pic_works
=no
7153 ac_outfile
=conftest.
$ac_objext
7154 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7155 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7156 # Insert the option either (1) after the last *FLAGS variable, or
7157 # (2) before a word containing "conftest.", or (3) at the end.
7158 # Note that $ac_compile itself does not contain backslashes and begins
7159 # with a dollar sign (not a hyphen), so the echo should work correctly.
7160 # The option is referenced via a variable to avoid confusing sed.
7161 lt_compile
=`echo "$ac_compile" | $SED \
7162 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7163 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7164 -e 's:$: $lt_compiler_flag:'`
7165 (eval echo "\"\$as_me:7165: $lt_compile\"" >&5)
7166 (eval "$lt_compile" 2>conftest.err
)
7168 cat conftest.err
>&5
7169 echo "$as_me:7169: \$? = $ac_status" >&5
7170 if (exit $ac_status) && test -s "$ac_outfile"; then
7171 # The compiler can only warn and ignore the option if not recognized
7172 # So say no if there are warnings other than the usual output.
7173 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
7174 $SED '/^$/d' conftest.err
>conftest.er2
7175 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7176 lt_prog_compiler_pic_works
=yes
7182 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7183 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7185 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7186 case $lt_prog_compiler_pic in
7188 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7191 lt_prog_compiler_pic
=
7192 lt_prog_compiler_can_build_shared
=no
7197 # For platforms which do not support PIC, -DPIC is meaningless:
7199 lt_prog_compiler_pic
=
7202 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7206 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7207 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7208 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7209 echo $ECHO_N "(cached) $ECHO_C" >&6
7211 lt_cv_prog_compiler_c_o
=no
7212 $rm -r conftest
2>/dev
/null
7216 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7218 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7219 # Insert the option either (1) after the last *FLAGS variable, or
7220 # (2) before a word containing "conftest.", or (3) at the end.
7221 # Note that $ac_compile itself does not contain backslashes and begins
7222 # with a dollar sign (not a hyphen), so the echo should work correctly.
7223 lt_compile
=`echo "$ac_compile" | $SED \
7224 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7225 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7226 -e 's:$: $lt_compiler_flag:'`
7227 (eval echo "\"\$as_me:7227: $lt_compile\"" >&5)
7228 (eval "$lt_compile" 2>out
/conftest.err
)
7230 cat out
/conftest.err
>&5
7231 echo "$as_me:7231: \$? = $ac_status" >&5
7232 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7234 # The compiler can only warn and ignore the option if not recognized
7235 # So say no if there are warnings
7236 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
7237 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
7238 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7239 lt_cv_prog_compiler_c_o
=yes
7244 # SGI C++ compiler will create directory out/ii_files/ for
7245 # template instantiation
7246 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7247 $rm out
/* && rmdir out
7253 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7254 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7257 hard_links
="nottested"
7258 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7259 # do not overwrite the value of need_locks provided by the user
7260 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7261 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7264 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7266 ln conftest.a conftest.b
2>&5 || hard_links
=no
7267 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7268 echo "$as_me:$LINENO: result: $hard_links" >&5
7269 echo "${ECHO_T}$hard_links" >&6
7270 if test "$hard_links" = no
; then
7271 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7272 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7279 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7280 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7283 allow_undefined_flag
=
7284 enable_shared_with_static_runtimes
=no
7286 archive_expsym_cmds
=
7287 old_archive_From_new_cmds
=
7288 old_archive_from_expsyms_cmds
=
7289 export_dynamic_flag_spec
=
7290 whole_archive_flag_spec
=
7291 thread_safe_flag_spec
=
7292 hardcode_libdir_flag_spec
=
7293 hardcode_libdir_flag_spec_ld
=
7294 hardcode_libdir_separator
=
7297 hardcode_shlibpath_var
=unsupported
7298 link_all_deplibs
=unknown
7299 hardcode_automatic
=no
7302 always_export_symbols
=no
7303 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7304 # include_expsyms should be a list of space-separated symbols to be *always*
7305 # included in the symbol list
7307 # exclude_expsyms can be an extended regexp of symbols to exclude
7308 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7309 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7310 # as well as any symbol that contains `d'.
7311 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7312 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7313 # platforms (ab)use it in PIC code, but their linkers get confused if
7314 # the symbol is explicitly referenced. Since portable code cannot
7315 # rely on this symbol name, it's probably fine to never include it in
7316 # preloaded symbol tables.
7317 extract_expsyms_cmds
=
7318 # Just being paranoid about ensuring that cc_basename is set.
7319 for cc_temp
in $compiler""; do
7321 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7322 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7327 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7330 cygwin
* | mingw
* | pw32
*)
7331 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7332 # When not using gcc, we currently assume that we are using
7333 # Microsoft Visual C++.
7334 if test "$GCC" != yes; then
7344 if test "$with_gnu_ld" = yes; then
7345 # If archive_cmds runs LD, not CC, wlarc should be empty
7348 # Set some defaults for GNU ld with shared library support. These
7349 # are reset later if shared libraries are not supported. Putting them
7350 # here allows them to be overridden if necessary.
7351 runpath_var
=LD_RUN_PATH
7352 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7353 export_dynamic_flag_spec
='${wl}--export-dynamic'
7354 # ancient GNU ld didn't support --whole-archive et. al.
7355 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7356 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7358 whole_archive_flag_spec
=
7360 supports_anon_versioning
=no
7361 case `$LD -v 2>/dev/null` in
7362 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7363 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7364 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7365 *\
2.11.
*) ;; # other 2.11 versions
7366 *) supports_anon_versioning
=yes ;;
7369 # See if GNU ld supports shared libraries.
7371 aix3
* | aix4
* | aix5
*)
7372 # On AIX/PPC, the GNU linker is very broken
7373 if test "$host_cpu" != ia64
; then
7377 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7378 *** to be unable to reliably create shared libraries on AIX.
7379 *** Therefore, libtool is disabling shared libraries support. If you
7380 *** really care for shared libraries, you may want to modify your PATH
7381 *** so that a non-GNU linker is found, and then restart.
7388 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)'
7389 hardcode_libdir_flag_spec
='-L$libdir'
7390 hardcode_minus_L
=yes
7392 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7393 # that the semantics of dynamic libraries on AmigaOS, at least up
7394 # to version 4, is to share data among multiple programs linked
7395 # with the same dynamic library. Since this doesn't match the
7396 # behavior of shared libraries on other platforms, we can't use
7402 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7403 allow_undefined_flag
=unsupported
7404 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7405 # support --undefined. This deserves some investigation. FIXME
7406 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7412 cygwin
* | mingw
* | pw32
*)
7413 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7414 # as there is no search path for DLLs.
7415 hardcode_libdir_flag_spec
='-L$libdir'
7416 allow_undefined_flag
=unsupported
7417 always_export_symbols
=no
7418 enable_shared_with_static_runtimes
=yes
7419 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7421 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7422 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7423 # If the export-symbols file already is a .def file (1st line
7424 # is EXPORTS), use it as is; otherwise, prepend...
7425 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7426 cp $export_symbols $output_objdir/$soname.def;
7428 echo EXPORTS > $output_objdir/$soname.def;
7429 cat $export_symbols >> $output_objdir/$soname.def;
7431 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7438 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7440 case $cc_basename,$host_cpu in
7441 pgcc
*) # Portland Group C compiler
7442 whole_archive_flag_spec
=
7444 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
7445 whole_archive_flag_spec
=
7446 tmp_addflag
=' -fpic -Mnomain' ;;
7447 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7448 tmp_addflag
=' -i_dynamic' ;;
7449 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7450 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7451 ifc
* | ifort
*) # Intel Fortran compiler
7452 tmp_addflag
=' -nofor_main' ;;
7454 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7456 if test $supports_anon_versioning = yes; then
7457 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7458 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7459 $echo "local: *; };" >> $output_objdir/$libname.ver~
7460 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7468 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7469 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7472 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7473 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7478 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7482 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7483 *** create shared libraries on Solaris systems. Therefore, libtool
7484 *** is disabling shared libraries support. We urge you to upgrade GNU
7485 *** binutils to release 2.9.1 or newer. Another option is to modify
7486 *** your PATH or compiler configuration so that the native linker is
7487 *** used, and then restart.
7490 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7491 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7492 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7499 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7502 hardcode_shlibpath_var
=no
7506 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7507 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7508 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7515 if test "$ld_shlibs" = no
; then
7517 hardcode_libdir_flag_spec
=
7518 export_dynamic_flag_spec
=
7519 whole_archive_flag_spec
=
7522 # PORTME fill in a description of your system's linker (not GNU ld)
7525 allow_undefined_flag
=unsupported
7526 always_export_symbols
=yes
7527 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'
7528 # Note: this linker hardcodes the directories in LIBPATH if there
7529 # are no directories specified by -L.
7530 hardcode_minus_L
=yes
7531 if test "$GCC" = yes && test -z "$link_static_flag"; then
7532 # Neither direct hardcoding nor static linking is supported with a
7534 hardcode_direct
=unsupported
7539 if test "$host_cpu" = ia64
; then
7540 # On IA64, the linker does run time linking by default, so we don't
7541 # have to do anything special.
7542 aix_use_runtimelinking
=no
7543 exp_sym_flag
='-Bexport'
7546 # If we're using GNU nm, then we don't want the "-C" option.
7547 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7548 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7549 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'
7551 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'
7553 aix_use_runtimelinking
=no
7555 # Test if we are trying to use run time linking or normal
7556 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7557 # need to do runtime linking.
7558 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7559 for ld_flag
in $LDFLAGS; do
7560 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7561 aix_use_runtimelinking
=yes
7567 exp_sym_flag
='-bexport'
7568 no_entry_flag
='-bnoentry'
7571 # When large executables or shared objects are built, AIX ld can
7572 # have problems creating the table of contents. If linking a library
7573 # or program results in "error TOC overflow" add -mminimal-toc to
7574 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7575 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7579 hardcode_libdir_separator
=':'
7580 link_all_deplibs
=yes
7582 if test "$GCC" = yes; then
7583 case $host_os in aix4.
[012]|aix4.
[012].
*)
7584 # We only want to do this on AIX 4.2 and lower, the check
7585 # below for broken collect2 doesn't work under 4.3+
7586 collect2name
=`${CC} -print-prog-name=collect2`
7587 if test -f "$collect2name" && \
7588 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7590 # We have reworked collect2
7593 # We have old collect2
7594 hardcode_direct
=unsupported
7595 # It fails to find uninstalled libraries when the uninstalled
7596 # path is not listed in the libpath. Setting hardcode_minus_L
7597 # to unsupported forces relinking
7598 hardcode_minus_L
=yes
7599 hardcode_libdir_flag_spec
='-L$libdir'
7600 hardcode_libdir_separator
=
7603 shared_flag
='-shared'
7604 if test "$aix_use_runtimelinking" = yes; then
7605 shared_flag
="$shared_flag "'${wl}-G'
7609 if test "$host_cpu" = ia64
; then
7610 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7611 # chokes on -Wl,-G. The following line is correct:
7614 if test "$aix_use_runtimelinking" = yes; then
7615 shared_flag
='${wl}-G'
7617 shared_flag
='${wl}-bM:SRE'
7622 # It seems that -bexpall does not export symbols beginning with
7623 # underscore (_), so it is better to generate a list of symbols to export.
7624 always_export_symbols
=yes
7625 if test "$aix_use_runtimelinking" = yes; then
7626 # Warning - without using the other runtime loading flags (-brtl),
7627 # -berok will link without error, but may produce a broken library.
7628 allow_undefined_flag
='-berok'
7629 # Determine the default libpath from the value encoded in an empty executable.
7630 cat >conftest.
$ac_ext <<_ACEOF
7633 cat confdefs.h
>>conftest.
$ac_ext
7634 cat >>conftest.
$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7645 rm -f conftest.
$ac_objext conftest
$ac_exeext
7646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7647 (eval $ac_link) 2>conftest.er1
7649 grep -v '^ *+' conftest.er1
>conftest.err
7651 cat conftest.err
>&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); } &&
7654 { ac_try
='test -z "$ac_c_werror_flag"
7655 || test ! -s conftest.err'
7656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); }; } &&
7661 { ac_try
='test -s conftest$ac_exeext'
7662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); }; }; then
7668 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7670 # Check for a 64-bit object if we didn't find anything.
7671 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; }
7674 echo "$as_me: failed program was:" >&5
7675 sed 's/^/| /' conftest.
$ac_ext >&5
7678 rm -f conftest.err conftest.
$ac_objext \
7679 conftest
$ac_exeext conftest.
$ac_ext
7680 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7682 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7683 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"
7685 if test "$host_cpu" = ia64; then
7686 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7687 allow_undefined_flag="-z nodefs"
7688 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"
7690 # Determine the default libpath from the value encoded in an empty executable.
7691 cat >conftest.$ac_ext <<_ACEOF
7694 cat confdefs.h >>conftest.$ac_ext
7695 cat >>conftest.$ac_ext <<_ACEOF
7696 /* end confdefs.h. */
7706 rm -f conftest.$ac_objext conftest$ac_exeext
7707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7708 (eval $ac_link) 2>conftest.er1
7710 grep -v '^ *+' conftest.er1 >conftest.err
7712 cat conftest.err >&5
7713 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7714 (exit $ac_status); } &&
7715 { ac_try='test -z "$ac_c_werror_flag"
7716 || test ! -s conftest.err'
7717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7721 (exit $ac_status); }; } &&
7722 { ac_try='test -s conftest$ac_exeext'
7723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7727 (exit $ac_status); }; }; then
7729 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7731 # Check for a 64-bit object if we didn't find anything.
7732 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; }
7735 echo "$as_me: failed program was
:" >&5
7736 sed 's/^/| /' conftest.$ac_ext >&5
7739 rm -f conftest.err conftest.$ac_objext \
7740 conftest$ac_exeext conftest.$ac_ext
7741 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7743 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7744 # Warning - without using the other run time loading flags,
7745 # -berok will link without error, but may produce a broken library.
7746 no_undefined_flag=' ${wl}-bernotok'
7747 allow_undefined_flag=' ${wl}-berok'
7748 # -bexpall does not export symbols beginning with underscore (_)
7749 always_export_symbols=yes
7750 # Exported symbols can be pulled into shared objects from archives
7751 whole_archive_flag_spec=' '
7752 archive_cmds_need_lc=yes
7753 # This is similar to how AIX traditionally builds it's shared libraries.
7754 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'
7760 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)'
7761 hardcode_libdir_flag_spec
='-L$libdir'
7762 hardcode_minus_L
=yes
7763 # see comment about different semantics on the GNU ld section
7768 export_dynamic_flag_spec
=-rdynamic
7771 cygwin
* | mingw
* | pw32
*)
7772 # When not using gcc, we currently assume that we are using
7773 # Microsoft Visual C++.
7774 # hardcode_libdir_flag_spec is actually meaningless, as there is
7775 # no search path for DLLs.
7776 hardcode_libdir_flag_spec
=' '
7777 allow_undefined_flag
=unsupported
7778 # Tell ltmain to make .lib files, not .a files.
7780 # Tell ltmain to make .dll files, not .so files.
7782 # FIXME: Setting linknames here is a bad hack.
7783 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7784 # The linker will automatically build a .lib file if we build a DLL.
7785 old_archive_From_new_cmds
='true'
7786 # FIXME: Should let the user specify the lib program.
7787 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7788 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7789 enable_shared_with_static_runtimes
=yes
7792 darwin
* | rhapsody
*)
7794 rhapsody
* | darwin1.
[012])
7795 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7798 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7799 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7801 case ${MACOSX_DEPLOYMENT_TARGET} in
7803 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7806 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7812 archive_cmds_need_lc
=no
7814 hardcode_automatic
=yes
7815 hardcode_shlibpath_var
=unsupported
7816 whole_archive_flag_spec
=''
7817 link_all_deplibs
=yes
7818 if test "$GCC" = yes ; then
7819 output_verbose_link_cmd
='echo'
7820 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7821 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7822 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7823 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}'
7824 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7826 case $cc_basename in
7828 output_verbose_link_cmd
='echo'
7829 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7830 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7831 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7832 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7833 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7843 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7844 hardcode_libdir_flag_spec
='-L$libdir'
7845 hardcode_shlibpath_var
=no
7852 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7853 # support. Future versions do this automatically, but an explicit c++rt0.o
7854 # does not break anything, and helps significantly (at the cost of a little
7857 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7858 hardcode_libdir_flag_spec
='-R$libdir'
7860 hardcode_shlibpath_var
=no
7863 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7865 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7867 hardcode_minus_L
=yes
7868 hardcode_shlibpath_var
=no
7871 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7872 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7873 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7874 hardcode_libdir_flag_spec
='-R$libdir'
7876 hardcode_shlibpath_var
=no
7880 if test "$GCC" = yes; then
7881 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'
7883 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'
7885 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7886 hardcode_libdir_separator
=:
7889 # hardcode_minus_L: Not really in the search PATH,
7890 # but as the default location of the library.
7891 hardcode_minus_L
=yes
7892 export_dynamic_flag_spec
='${wl}-E'
7896 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7899 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7902 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7908 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7911 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7915 if test "$with_gnu_ld" = no
; then
7918 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7919 hardcode_libdir_flag_spec_ld
='+b $libdir'
7920 hardcode_libdir_separator
=:
7922 hardcode_shlibpath_var
=no
7925 hardcode_libdir_flag_spec
='-L$libdir'
7927 hardcode_shlibpath_var
=no
7929 # hardcode_minus_L: Not really in the search PATH,
7930 # but as the default location of the library.
7931 hardcode_minus_L
=yes
7934 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7935 hardcode_libdir_separator
=:
7937 export_dynamic_flag_spec
='${wl}-E'
7939 # hardcode_minus_L: Not really in the search PATH,
7940 # but as the default location of the library.
7941 hardcode_minus_L
=yes
7947 irix5
* | irix6
* | nonstopux
*)
7948 if test "$GCC" = yes; then
7949 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'
7951 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'
7952 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7954 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7955 hardcode_libdir_separator
=:
7956 link_all_deplibs
=yes
7960 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7961 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7963 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7965 hardcode_libdir_flag_spec
='-R$libdir'
7967 hardcode_shlibpath_var
=no
7971 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7973 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7974 hardcode_libdir_separator
=:
7975 hardcode_shlibpath_var
=no
7980 hardcode_shlibpath_var
=no
7981 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7982 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7983 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7984 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7985 export_dynamic_flag_spec
='${wl}-E'
7988 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7989 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7990 hardcode_libdir_flag_spec
='-R$libdir'
7993 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7994 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8001 hardcode_libdir_flag_spec
='-L$libdir'
8002 hardcode_minus_L
=yes
8003 allow_undefined_flag
=unsupported
8004 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'
8005 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8009 if test "$GCC" = yes; then
8010 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8011 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'
8013 allow_undefined_flag
=' -expect_unresolved \*'
8014 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'
8016 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8017 hardcode_libdir_separator
=:
8020 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8021 if test "$GCC" = yes; then
8022 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8023 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'
8024 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8026 allow_undefined_flag
=' -expect_unresolved \*'
8027 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'
8028 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8029 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8031 # Both c and cxx compiler support -rpath directly
8032 hardcode_libdir_flag_spec
='-rpath $libdir'
8034 hardcode_libdir_separator
=:
8038 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8039 hardcode_shlibpath_var
=no
8040 export_dynamic_flag_spec
='${wl}-Bexport'
8041 runpath_var
=LD_RUN_PATH
8042 hardcode_runpath_var
=yes
8046 no_undefined_flag
=' -z text'
8047 if test "$GCC" = yes; then
8049 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8050 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8051 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8054 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8055 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8056 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8058 hardcode_libdir_flag_spec
='-R$libdir'
8059 hardcode_shlibpath_var
=no
8061 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8063 # The compiler driver will combine linker options so we
8064 # cannot just pass the convience library names through
8065 # without $wl, iff we do not link with $LD.
8066 # Luckily, gcc supports the same syntax we need for Sun Studio.
8067 # Supported since Solaris 2.6 (maybe 2.5.1?)
8070 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8072 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8075 link_all_deplibs
=yes
8079 if test "x$host_vendor" = xsequent
; then
8080 # Use $CC to link under sequent, because it throws in some extra .o
8081 # files that make .init and .fini sections work.
8082 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8084 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8086 hardcode_libdir_flag_spec
='-L$libdir'
8088 hardcode_minus_L
=yes
8089 hardcode_shlibpath_var
=no
8093 case $host_vendor in
8095 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8096 hardcode_direct
=yes # is this really true???
8099 ## LD is ld it makes a PLAMLIB
8100 ## CC just makes a GrossModule.
8101 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8102 reload_cmds
='$CC -r -o $output$reload_objs'
8106 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8107 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8110 runpath_var
='LD_RUN_PATH'
8111 hardcode_shlibpath_var
=no
8115 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8116 hardcode_shlibpath_var
=no
8117 export_dynamic_flag_spec
='-Bexport'
8121 if test -d /usr
/nec
; then
8122 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8123 hardcode_shlibpath_var
=no
8124 runpath_var
=LD_RUN_PATH
8125 hardcode_runpath_var
=yes
8131 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8134 hardcode_shlibpath_var
=no
8135 hardcode_runpath_var
=yes
8136 runpath_var
=LD_RUN_PATH
8139 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
8140 no_undefined_flag
='${wl}-z ${wl}text'
8141 if test "$GCC" = yes; then
8142 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8144 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8146 runpath_var
='LD_RUN_PATH'
8147 hardcode_shlibpath_var
=no
8151 no_undefined_flag
=' -z text'
8152 # $CC -shared without GNU ld will not create a library from C++
8153 # object files and a static libstdc++, better avoid it by now
8154 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8155 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8156 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8157 hardcode_libdir_flag_spec
=
8158 hardcode_shlibpath_var
=no
8159 runpath_var
='LD_RUN_PATH'
8163 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8164 hardcode_libdir_flag_spec
='-L$libdir'
8165 hardcode_shlibpath_var
=no
8174 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8175 echo "${ECHO_T}$ld_shlibs" >&6
8176 test "$ld_shlibs" = no
&& can_build_shared
=no
8178 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8179 if test "$GCC" = yes; then
8180 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8184 # Do we need to explicitly link libc?
8186 case "x$archive_cmds_need_lc" in
8188 # Assume -lc should be added
8189 archive_cmds_need_lc
=yes
8191 if test "$enable_shared" = yes && test "$GCC" = yes; then
8192 case $archive_cmds in
8194 # FIXME: we may have to deal with multi-command sequences.
8197 # Test whether the compiler implicitly links with -lc since on some
8198 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8199 # to ld, don't add -lc before -lgcc.
8200 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8201 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8203 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8206 (eval $ac_compile) 2>&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); } 2>conftest.err
; then
8212 libobjs
=conftest.
$ac_objext
8214 wl
=$lt_prog_compiler_wl
8220 lt_save_allow_undefined_flag
=$allow_undefined_flag
8221 allow_undefined_flag
=
8222 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8223 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }
8228 archive_cmds_need_lc
=no
8230 archive_cmds_need_lc
=yes
8232 allow_undefined_flag
=$lt_save_allow_undefined_flag
8234 cat conftest.err
1>&5
8237 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8238 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8245 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8246 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8248 libname_spec
='lib$name'
8256 shlibpath_overrides_runpath
=unknown
8258 dynamic_linker
="$host_os ld.so"
8259 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8260 if test "$GCC" = yes; then
8261 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8262 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8263 # if the path contains ";" then we assume it to be the separator
8264 # otherwise default to the standard path separator (i.e. ":") - it is
8265 # assumed that no part of a normal pathname contains ";" but that should
8266 # okay in the real world where ";" in dirpaths is itself problematic.
8267 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8269 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8272 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8274 need_lib_prefix
=unknown
8275 hardcode_into_libs
=no
8277 # when you set need_version to no, make sure it does not cause -set_version
8278 # flags to be left without arguments
8279 need_version
=unknown
8284 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8285 shlibpath_var
=LIBPATH
8287 # AIX 3 has no versioning support, so we append a major version to the name.
8288 soname_spec
='${libname}${release}${shared_ext}$major'
8295 hardcode_into_libs
=yes
8296 if test "$host_cpu" = ia64
; then
8297 # AIX 5 supports IA64
8298 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8299 shlibpath_var
=LD_LIBRARY_PATH
8301 # With GCC up to 2.95.x, collect2 would create an import file
8302 # for dependence libraries. The import file would start with
8303 # the line `#! .'. This would cause the generated library to
8304 # depend on `.', always an invalid library. This was fixed in
8305 # development snapshots of GCC prior to 3.0.
8307 aix4 | aix4.
[01] | aix4.
[01].
*)
8308 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8310 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8317 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8318 # soname into executable. Probably we can add versioning support to
8319 # collect2, so additional links can be useful in future.
8320 if test "$aix_use_runtimelinking" = yes; then
8321 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8322 # instead of lib<name>.a to let people know that these are not
8323 # typical AIX shared libraries.
8324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8326 # We preserve .a as extension for shared libraries through AIX4.2
8327 # and later when we are not doing run time linking.
8328 library_names_spec
='${libname}${release}.a $libname.a'
8329 soname_spec
='${libname}${release}${shared_ext}$major'
8331 shlibpath_var
=LIBPATH
8336 library_names_spec
='$libname.ixlibrary $libname.a'
8337 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8338 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'
8342 library_names_spec
='${libname}${shared_ext}'
8343 dynamic_linker
="$host_os ld.so"
8344 shlibpath_var
=LIBRARY_PATH
8350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8351 soname_spec
='${libname}${release}${shared_ext}$major'
8352 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8353 shlibpath_var
=LD_LIBRARY_PATH
8354 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8355 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8356 # the default ld.so.conf also contains /usr/contrib/lib and
8357 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8358 # libtool to hard-code these into programs
8361 cygwin
* | mingw
* | pw32
*)
8362 version_type
=windows
8367 case $GCC,$host_os in
8368 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8369 library_names_spec
='$libname.dll.a'
8370 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8371 postinstall_cmds
='base_file=`basename \${file}`~
8372 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8373 dldir=$destdir/`dirname \$dlpath`~
8374 test -d \$dldir || mkdir -p \$dldir~
8375 $install_prog $dir/$dlname \$dldir/$dlname'
8376 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8377 dlpath=$dir/\$dldll~
8379 shlibpath_overrides_runpath
=yes
8383 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8384 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8385 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8388 # MinGW DLLs use traditional 'lib' prefix
8389 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8390 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8391 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8392 # It is most probably a Windows format PATH printed by
8393 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8394 # path with ; separators, and with drive letters. We can handle the
8395 # drive letters (cygwin fileutils understands them), so leave them,
8396 # especially as we might pass files found there to a mingw objdump,
8397 # which wouldn't understand a cygwinified path. Ahh.
8398 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8400 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8404 # pw32 DLLs use 'pw' prefix rather than 'lib'
8405 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8411 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8414 dynamic_linker
='Win32 ld.exe'
8415 # FIXME: first we should search . and the directory the executable is in
8419 darwin
* | rhapsody
*)
8420 dynamic_linker
="$host_os dyld"
8424 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8425 soname_spec
='${libname}${release}${major}$shared_ext'
8426 shlibpath_overrides_runpath
=yes
8427 shlibpath_var
=DYLD_LIBRARY_PATH
8428 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
8429 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8430 if test "$GCC" = yes; then
8431 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"`
8433 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8435 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8443 soname_spec
='${libname}${release}${shared_ext}$major'
8444 shlibpath_var
=LD_LIBRARY_PATH
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
=no
8459 hardcode_into_libs
=yes
8460 dynamic_linker
='GNU ld.so'
8463 freebsd
* | dragonfly
*)
8464 # DragonFly does not have aout. When/if they implement a new
8465 # versioning mechanism, adjust this.
8466 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8467 version_type
=freebsd-
$objformat
8468 case $version_type in
8470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8475 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8479 shlibpath_var
=LD_LIBRARY_PATH
8482 shlibpath_overrides_runpath
=yes
8484 freebsd3.
[01]* | freebsdelf3.
[01]*)
8485 shlibpath_overrides_runpath
=yes
8486 hardcode_into_libs
=yes
8489 shlibpath_overrides_runpath
=no
8490 hardcode_into_libs
=yes
8499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8500 soname_spec
='${libname}${release}${shared_ext}$major'
8501 shlibpath_var
=LD_LIBRARY_PATH
8502 hardcode_into_libs
=yes
8505 hpux9
* | hpux10
* | hpux11
*)
8506 # Give a soname corresponding to the major version so that dld.sl refuses to
8507 # link against other versions.
8514 hardcode_into_libs
=yes
8515 dynamic_linker
="$host_os dld.so"
8516 shlibpath_var
=LD_LIBRARY_PATH
8517 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8519 soname_spec
='${libname}${release}${shared_ext}$major'
8520 if test "X$HPUX_IA64_MODE" = X32
; then
8521 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8523 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8525 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8529 hardcode_into_libs
=yes
8530 dynamic_linker
="$host_os dld.sl"
8531 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8532 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8534 soname_spec
='${libname}${release}${shared_ext}$major'
8535 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8536 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8540 dynamic_linker
="$host_os dld.sl"
8541 shlibpath_var
=SHLIB_PATH
8542 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8544 soname_spec
='${libname}${release}${shared_ext}$major'
8547 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8548 postinstall_cmds
='chmod 555 $lib'
8551 irix5
* | irix6
* | nonstopux
*)
8553 nonstopux
*) version_type
=nonstopux
;;
8555 if test "$lt_cv_prog_gnu_ld" = yes; then
8563 soname_spec
='${libname}${release}${shared_ext}$major'
8564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8566 irix5
* | nonstopux
*)
8570 case $LD in # libtool.m4 will add one of these switches to LD
8571 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8572 libsuff
= shlibsuff
= libmagic
=32-bit;;
8573 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8574 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8575 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8576 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8577 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8581 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8582 shlibpath_overrides_runpath
=no
8583 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8584 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8585 hardcode_into_libs
=yes
8588 # No shared lib support for Linux oldld, aout, or coff.
8589 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8593 # This must be Linux ELF.
8598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8599 soname_spec
='${libname}${release}${shared_ext}$major'
8600 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8601 shlibpath_var
=LD_LIBRARY_PATH
8602 shlibpath_overrides_runpath
=no
8603 # This implies no fast_install, which is unacceptable.
8604 # Some rework will be needed to allow for fast_install
8605 # before this can be enabled.
8606 hardcode_into_libs
=yes
8608 # find out which ABI we are using
8611 x86_64
*|s390x
*|powerpc64
*)
8612 echo '#line 8612 "configure"' > conftest.
$ac_ext
8613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8614 (eval $ac_compile) 2>&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; then
8618 case `/usr/bin/file conftest.$ac_objext` in
8621 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8629 # Append ld.so.conf contents to the search path
8630 if test -f /etc
/ld.so.conf
; then
8631 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8632 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8635 # We used to test for /lib/ld.so.1 and disable shared libraries on
8636 # powerpc, because MkLinux only supported shared libraries with the
8637 # GNU dynamic linker. Since this was broken with cross compilers,
8638 # most powerpc-linux boxes support dynamic linking these days and
8639 # people can always --disable-shared, the test was removed, and we
8640 # assume the GNU/Linux dynamic linker is in use.
8641 dynamic_linker
='GNU/Linux ld.so'
8648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8649 soname_spec
='${libname}${release}${shared_ext}$major'
8650 shlibpath_var
=LD_LIBRARY_PATH
8651 shlibpath_overrides_runpath
=no
8652 hardcode_into_libs
=yes
8653 dynamic_linker
='GNU ld.so'
8660 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8662 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8663 dynamic_linker
='NetBSD (a.out) ld.so'
8665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8666 soname_spec
='${libname}${release}${shared_ext}$major'
8667 dynamic_linker
='NetBSD ld.elf_so'
8669 shlibpath_var
=LD_LIBRARY_PATH
8670 shlibpath_overrides_runpath
=yes
8671 hardcode_into_libs
=yes
8676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8677 shlibpath_var
=LD_LIBRARY_PATH
8678 shlibpath_overrides_runpath
=yes
8685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8686 soname_spec
='${libname}${release}${shared_ext}$major'
8687 shlibpath_var
=LD_LIBRARY_PATH
8688 shlibpath_overrides_runpath
=yes
8695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8696 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8697 shlibpath_var
=LD_LIBRARY_PATH
8698 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8700 openbsd2.
[89] | openbsd2.
[89].
*)
8701 shlibpath_overrides_runpath
=no
8704 shlibpath_overrides_runpath
=yes
8708 shlibpath_overrides_runpath
=yes
8713 libname_spec
='$name'
8716 library_names_spec
='$libname${shared_ext} $libname.a'
8717 dynamic_linker
='OS/2 ld.exe'
8718 shlibpath_var
=LIBPATH
8721 osf3
* | osf4
* | osf5
*)
8725 soname_spec
='${libname}${release}${shared_ext}$major'
8726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8727 shlibpath_var
=LD_LIBRARY_PATH
8728 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8729 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8734 soname_spec
='${libname}${release}${shared_ext}$major'
8735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8736 shlibpath_var
=LD_LIBRARY_PATH
8743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8744 soname_spec
='${libname}${release}${shared_ext}$major'
8745 shlibpath_var
=LD_LIBRARY_PATH
8746 shlibpath_overrides_runpath
=yes
8747 hardcode_into_libs
=yes
8748 # ldd complains unless libraries are executable
8749 postinstall_cmds
='chmod +x $lib'
8754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8755 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8756 shlibpath_var
=LD_LIBRARY_PATH
8757 shlibpath_overrides_runpath
=yes
8758 if test "$with_gnu_ld" = yes; then
8764 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8767 soname_spec
='${libname}${release}${shared_ext}$major'
8768 shlibpath_var
=LD_LIBRARY_PATH
8769 case $host_vendor in
8771 shlibpath_overrides_runpath
=no
8773 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8774 runpath_var
=LD_RUN_PATH
8782 shlibpath_overrides_runpath
=no
8783 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8789 if test -d /usr
/nec
;then
8791 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8792 soname_spec
='$libname${shared_ext}.$major'
8793 shlibpath_var
=LD_LIBRARY_PATH
8799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8800 soname_spec
='${libname}${release}${shared_ext}$major'
8801 shlibpath_var
=LD_LIBRARY_PATH
8808 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8809 echo "${ECHO_T}$dynamic_linker" >&6
8810 test "$dynamic_linker" = no
&& can_build_shared
=no
8812 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8813 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8815 if test -n "$hardcode_libdir_flag_spec" || \
8816 test -n "$runpath_var" || \
8817 test "X$hardcode_automatic" = "Xyes" ; then
8819 # We can hardcode non-existant directories.
8820 if test "$hardcode_direct" != no
&&
8821 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8822 # have to relink, otherwise we might link with an installed library
8823 # when we should be linking with a yet-to-be-installed one
8824 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8825 test "$hardcode_minus_L" != no
; then
8826 # Linking always hardcodes the temporary library directory.
8827 hardcode_action
=relink
8829 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8830 hardcode_action
=immediate
8833 # We cannot hardcode anything, or else we can only hardcode existing
8835 hardcode_action
=unsupported
8837 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8838 echo "${ECHO_T}$hardcode_action" >&6
8840 if test "$hardcode_action" = relink
; then
8841 # Fast installation is not supported
8842 enable_fast_install
=no
8843 elif test "$shlibpath_overrides_runpath" = yes ||
8844 test "$enable_shared" = no
; then
8845 # Fast installation is not necessary
8846 enable_fast_install
=needless
8851 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8852 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8853 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8854 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8855 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8856 echo "$as_me:$LINENO: result: yes" >&5
8857 echo "${ECHO_T}yes" >&6
8859 # FIXME - insert some real tests, host_os isn't really good enough
8862 if test -n "$STRIP" ; then
8863 striplib
="$STRIP -x"
8864 echo "$as_me:$LINENO: result: yes" >&5
8865 echo "${ECHO_T}yes" >&6
8867 echo "$as_me:$LINENO: result: no" >&5
8868 echo "${ECHO_T}no" >&6
8872 echo "$as_me:$LINENO: result: no" >&5
8873 echo "${ECHO_T}no" >&6
8878 if test "x$enable_dlopen" != xyes
; then
8879 enable_dlopen
=unknown
8880 enable_dlopen_self
=unknown
8881 enable_dlopen_self_static
=unknown
8888 lt_cv_dlopen
="load_add_on"
8890 lt_cv_dlopen_self
=yes
8894 lt_cv_dlopen
="LoadLibrary"
8899 lt_cv_dlopen
="dlopen"
8904 # if libdl is installed we need to link against it
8905 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8906 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8907 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8908 echo $ECHO_N "(cached) $ECHO_C" >&6
8910 ac_check_lib_save_LIBS
=$LIBS
8912 cat >conftest.
$ac_ext <<_ACEOF
8915 cat confdefs.h
>>conftest.
$ac_ext
8916 cat >>conftest.
$ac_ext <<_ACEOF
8917 /* end confdefs.h. */
8919 /* Override any gcc2 internal prototype to avoid an error. */
8923 /* We use char because int might match the return type of a gcc2
8924 builtin and then its argument prototype would still apply. */
8934 rm -f conftest.
$ac_objext conftest
$ac_exeext
8935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8936 (eval $ac_link) 2>conftest.er1
8938 grep -v '^ *+' conftest.er1
>conftest.err
8940 cat conftest.err
>&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 (exit $ac_status); } &&
8943 { ac_try
='test -z "$ac_c_werror_flag"
8944 || test ! -s conftest.err'
8945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); }; } &&
8950 { ac_try
='test -s conftest$ac_exeext'
8951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 (exit $ac_status); }; }; then
8956 ac_cv_lib_dl_dlopen
=yes
8958 echo "$as_me: failed program was:" >&5
8959 sed 's/^/| /' conftest.
$ac_ext >&5
8961 ac_cv_lib_dl_dlopen
=no
8963 rm -f conftest.err conftest.
$ac_objext \
8964 conftest
$ac_exeext conftest.
$ac_ext
8965 LIBS
=$ac_check_lib_save_LIBS
8967 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8968 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8969 if test $ac_cv_lib_dl_dlopen = yes; then
8970 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8975 lt_cv_dlopen_self
=yes
8982 echo "$as_me:$LINENO: checking for shl_load" >&5
8983 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8984 if test "${ac_cv_func_shl_load+set}" = set; then
8985 echo $ECHO_N "(cached) $ECHO_C" >&6
8987 cat >conftest.
$ac_ext <<_ACEOF
8990 cat confdefs.h
>>conftest.
$ac_ext
8991 cat >>conftest.
$ac_ext <<_ACEOF
8992 /* end confdefs.h. */
8993 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8995 #define shl_load innocuous_shl_load
8997 /* System header to define __stub macros and hopefully few prototypes,
8998 which can conflict with char shl_load (); below.
8999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9000 <limits.h> exists even on freestanding compilers. */
9003 # include <limits.h>
9005 # include <assert.h>
9010 /* Override any gcc2 internal prototype to avoid an error. */
9015 /* We use char because int might match the return type of a gcc2
9016 builtin and then its argument prototype would still apply. */
9018 /* The GNU C library defines this for functions which it implements
9019 to always fail with ENOSYS. Some functions are actually named
9020 something starting with __ and the normal name is an alias. */
9021 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9024 char (*f) () = shl_load;
9033 return f != shl_load;
9038 rm -f conftest.
$ac_objext conftest
$ac_exeext
9039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9040 (eval $ac_link) 2>conftest.er1
9042 grep -v '^ *+' conftest.er1
>conftest.err
9044 cat conftest.err
>&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } &&
9047 { ac_try
='test -z "$ac_c_werror_flag"
9048 || test ! -s conftest.err'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; } &&
9054 { ac_try
='test -s conftest$ac_exeext'
9055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }; }; then
9060 ac_cv_func_shl_load
=yes
9062 echo "$as_me: failed program was:" >&5
9063 sed 's/^/| /' conftest.
$ac_ext >&5
9065 ac_cv_func_shl_load
=no
9067 rm -f conftest.err conftest.
$ac_objext \
9068 conftest
$ac_exeext conftest.
$ac_ext
9070 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9071 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9072 if test $ac_cv_func_shl_load = yes; then
9073 lt_cv_dlopen
="shl_load"
9075 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9076 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9077 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9078 echo $ECHO_N "(cached) $ECHO_C" >&6
9080 ac_check_lib_save_LIBS
=$LIBS
9082 cat >conftest.
$ac_ext <<_ACEOF
9085 cat confdefs.h
>>conftest.
$ac_ext
9086 cat >>conftest.
$ac_ext <<_ACEOF
9087 /* end confdefs.h. */
9089 /* Override any gcc2 internal prototype to avoid an error. */
9093 /* We use char because int might match the return type of a gcc2
9094 builtin and then its argument prototype would still apply. */
9104 rm -f conftest.
$ac_objext conftest
$ac_exeext
9105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9106 (eval $ac_link) 2>conftest.er1
9108 grep -v '^ *+' conftest.er1
>conftest.err
9110 cat conftest.err
>&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); } &&
9113 { ac_try
='test -z "$ac_c_werror_flag"
9114 || test ! -s conftest.err'
9115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); }; } &&
9120 { ac_try
='test -s conftest$ac_exeext'
9121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); }; }; then
9126 ac_cv_lib_dld_shl_load
=yes
9128 echo "$as_me: failed program was:" >&5
9129 sed 's/^/| /' conftest.
$ac_ext >&5
9131 ac_cv_lib_dld_shl_load
=no
9133 rm -f conftest.err conftest.
$ac_objext \
9134 conftest
$ac_exeext conftest.
$ac_ext
9135 LIBS
=$ac_check_lib_save_LIBS
9137 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9138 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9139 if test $ac_cv_lib_dld_shl_load = yes; then
9140 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9142 echo "$as_me:$LINENO: checking for dlopen" >&5
9143 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9144 if test "${ac_cv_func_dlopen+set}" = set; then
9145 echo $ECHO_N "(cached) $ECHO_C" >&6
9147 cat >conftest.
$ac_ext <<_ACEOF
9150 cat confdefs.h
>>conftest.
$ac_ext
9151 cat >>conftest.
$ac_ext <<_ACEOF
9152 /* end confdefs.h. */
9153 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9155 #define dlopen innocuous_dlopen
9157 /* System header to define __stub macros and hopefully few prototypes,
9158 which can conflict with char dlopen (); below.
9159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9160 <limits.h> exists even on freestanding compilers. */
9163 # include <limits.h>
9165 # include <assert.h>
9170 /* Override any gcc2 internal prototype to avoid an error. */
9175 /* We use char because int might match the return type of a gcc2
9176 builtin and then its argument prototype would still apply. */
9178 /* The GNU C library defines this for functions which it implements
9179 to always fail with ENOSYS. Some functions are actually named
9180 something starting with __ and the normal name is an alias. */
9181 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9184 char (*f) () = dlopen;
9198 rm -f conftest.
$ac_objext conftest
$ac_exeext
9199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9200 (eval $ac_link) 2>conftest.er1
9202 grep -v '^ *+' conftest.er1
>conftest.err
9204 cat conftest.err
>&5
9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206 (exit $ac_status); } &&
9207 { ac_try
='test -z "$ac_c_werror_flag"
9208 || test ! -s conftest.err'
9209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); }; } &&
9214 { ac_try
='test -s conftest$ac_exeext'
9215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); }; }; then
9220 ac_cv_func_dlopen
=yes
9222 echo "$as_me: failed program was:" >&5
9223 sed 's/^/| /' conftest.
$ac_ext >&5
9225 ac_cv_func_dlopen
=no
9227 rm -f conftest.err conftest.
$ac_objext \
9228 conftest
$ac_exeext conftest.
$ac_ext
9230 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9231 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9232 if test $ac_cv_func_dlopen = yes; then
9233 lt_cv_dlopen
="dlopen"
9235 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9236 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9237 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9238 echo $ECHO_N "(cached) $ECHO_C" >&6
9240 ac_check_lib_save_LIBS
=$LIBS
9242 cat >conftest.
$ac_ext <<_ACEOF
9245 cat confdefs.h
>>conftest.
$ac_ext
9246 cat >>conftest.
$ac_ext <<_ACEOF
9247 /* end confdefs.h. */
9249 /* Override any gcc2 internal prototype to avoid an error. */
9253 /* We use char because int might match the return type of a gcc2
9254 builtin and then its argument prototype would still apply. */
9264 rm -f conftest.
$ac_objext conftest
$ac_exeext
9265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9266 (eval $ac_link) 2>conftest.er1
9268 grep -v '^ *+' conftest.er1
>conftest.err
9270 cat conftest.err
>&5
9271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 (exit $ac_status); } &&
9273 { ac_try
='test -z "$ac_c_werror_flag"
9274 || test ! -s conftest.err'
9275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279 (exit $ac_status); }; } &&
9280 { ac_try
='test -s conftest$ac_exeext'
9281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285 (exit $ac_status); }; }; then
9286 ac_cv_lib_dl_dlopen
=yes
9288 echo "$as_me: failed program was:" >&5
9289 sed 's/^/| /' conftest.
$ac_ext >&5
9291 ac_cv_lib_dl_dlopen
=no
9293 rm -f conftest.err conftest.
$ac_objext \
9294 conftest
$ac_exeext conftest.
$ac_ext
9295 LIBS
=$ac_check_lib_save_LIBS
9297 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9298 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9299 if test $ac_cv_lib_dl_dlopen = yes; then
9300 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9302 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9303 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9304 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9305 echo $ECHO_N "(cached) $ECHO_C" >&6
9307 ac_check_lib_save_LIBS
=$LIBS
9309 cat >conftest.
$ac_ext <<_ACEOF
9312 cat confdefs.h
>>conftest.
$ac_ext
9313 cat >>conftest.
$ac_ext <<_ACEOF
9314 /* end confdefs.h. */
9316 /* Override any gcc2 internal prototype to avoid an error. */
9320 /* We use char because int might match the return type of a gcc2
9321 builtin and then its argument prototype would still apply. */
9331 rm -f conftest.
$ac_objext conftest
$ac_exeext
9332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9333 (eval $ac_link) 2>conftest.er1
9335 grep -v '^ *+' conftest.er1
>conftest.err
9337 cat conftest.err
>&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); } &&
9340 { ac_try
='test -z "$ac_c_werror_flag"
9341 || test ! -s conftest.err'
9342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 (exit $ac_status); }; } &&
9347 { ac_try
='test -s conftest$ac_exeext'
9348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352 (exit $ac_status); }; }; then
9353 ac_cv_lib_svld_dlopen
=yes
9355 echo "$as_me: failed program was:" >&5
9356 sed 's/^/| /' conftest.
$ac_ext >&5
9358 ac_cv_lib_svld_dlopen
=no
9360 rm -f conftest.err conftest.
$ac_objext \
9361 conftest
$ac_exeext conftest.
$ac_ext
9362 LIBS
=$ac_check_lib_save_LIBS
9364 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9365 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9366 if test $ac_cv_lib_svld_dlopen = yes; then
9367 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9369 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9370 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9371 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9372 echo $ECHO_N "(cached) $ECHO_C" >&6
9374 ac_check_lib_save_LIBS
=$LIBS
9376 cat >conftest.
$ac_ext <<_ACEOF
9379 cat confdefs.h
>>conftest.
$ac_ext
9380 cat >>conftest.
$ac_ext <<_ACEOF
9381 /* end confdefs.h. */
9383 /* Override any gcc2 internal prototype to avoid an error. */
9387 /* We use char because int might match the return type of a gcc2
9388 builtin and then its argument prototype would still apply. */
9398 rm -f conftest.
$ac_objext conftest
$ac_exeext
9399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9400 (eval $ac_link) 2>conftest.er1
9402 grep -v '^ *+' conftest.er1
>conftest.err
9404 cat conftest.err
>&5
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); } &&
9407 { ac_try
='test -z "$ac_c_werror_flag"
9408 || test ! -s conftest.err'
9409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); }; } &&
9414 { ac_try
='test -s conftest$ac_exeext'
9415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); }; }; then
9420 ac_cv_lib_dld_dld_link
=yes
9422 echo "$as_me: failed program was:" >&5
9423 sed 's/^/| /' conftest.
$ac_ext >&5
9425 ac_cv_lib_dld_dld_link
=no
9427 rm -f conftest.err conftest.
$ac_objext \
9428 conftest
$ac_exeext conftest.
$ac_ext
9429 LIBS
=$ac_check_lib_save_LIBS
9431 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9432 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9433 if test $ac_cv_lib_dld_dld_link = yes; then
9434 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9455 if test "x$lt_cv_dlopen" != xno
; then
9461 case $lt_cv_dlopen in
9463 save_CPPFLAGS
="$CPPFLAGS"
9464 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9466 save_LDFLAGS
="$LDFLAGS"
9467 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9470 LIBS
="$lt_cv_dlopen_libs $LIBS"
9472 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9473 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9474 if test "${lt_cv_dlopen_self+set}" = set; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9477 if test "$cross_compiling" = yes; then :
9478 lt_cv_dlopen_self
=cross
9480 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9481 lt_status
=$lt_dlunknown
9482 cat > conftest.
$ac_ext <<EOF
9483 #line 9483 "configure"
9484 #include "confdefs.h"
9493 # define LT_DLGLOBAL RTLD_GLOBAL
9496 # define LT_DLGLOBAL DL_GLOBAL
9498 # define LT_DLGLOBAL 0
9502 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9503 find out it does not work in some platform. */
9504 #ifndef LT_DLLAZY_OR_NOW
9506 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9509 # define LT_DLLAZY_OR_NOW DL_LAZY
9512 # define LT_DLLAZY_OR_NOW RTLD_NOW
9515 # define LT_DLLAZY_OR_NOW DL_NOW
9517 # define LT_DLLAZY_OR_NOW 0
9525 extern "C" void exit (int);
9528 void fnord() { int i=42;}
9531 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9532 int status = $lt_dlunknown;
9536 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9537 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9538 /* dlclose (self); */
9544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9545 (eval $ac_link) 2>&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9549 (.
/conftest
; exit; ) 2>/dev
/null
9552 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9553 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9554 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
9557 # compilation failed
9558 lt_cv_dlopen_self
=no
9565 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9566 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9568 if test "x$lt_cv_dlopen_self" = xyes
; then
9569 LDFLAGS
="$LDFLAGS $link_static_flag"
9570 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9571 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9572 if test "${lt_cv_dlopen_self_static+set}" = set; then
9573 echo $ECHO_N "(cached) $ECHO_C" >&6
9575 if test "$cross_compiling" = yes; then :
9576 lt_cv_dlopen_self_static
=cross
9578 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9579 lt_status
=$lt_dlunknown
9580 cat > conftest.
$ac_ext <<EOF
9581 #line 9581 "configure"
9582 #include "confdefs.h"
9591 # define LT_DLGLOBAL RTLD_GLOBAL
9594 # define LT_DLGLOBAL DL_GLOBAL
9596 # define LT_DLGLOBAL 0
9600 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9601 find out it does not work in some platform. */
9602 #ifndef LT_DLLAZY_OR_NOW
9604 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9607 # define LT_DLLAZY_OR_NOW DL_LAZY
9610 # define LT_DLLAZY_OR_NOW RTLD_NOW
9613 # define LT_DLLAZY_OR_NOW DL_NOW
9615 # define LT_DLLAZY_OR_NOW 0
9623 extern "C" void exit (int);
9626 void fnord() { int i=42;}
9629 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9630 int status = $lt_dlunknown;
9634 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9635 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9636 /* dlclose (self); */
9642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9643 (eval $ac_link) 2>&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9647 (.
/conftest
; exit; ) 2>/dev
/null
9650 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9651 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9652 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
9655 # compilation failed
9656 lt_cv_dlopen_self_static
=no
9663 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9664 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9667 CPPFLAGS
="$save_CPPFLAGS"
9668 LDFLAGS
="$save_LDFLAGS"
9673 case $lt_cv_dlopen_self in
9674 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9675 *) enable_dlopen_self
=unknown
;;
9678 case $lt_cv_dlopen_self_static in
9679 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9680 *) enable_dlopen_self_static
=unknown
;;
9685 # Report which librarie types wil actually be built
9686 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9687 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9688 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9689 echo "${ECHO_T}$can_build_shared" >&6
9691 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9692 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9693 test "$can_build_shared" = "no" && enable_shared
=no
9695 # On AIX, shared libraries and static libraries use the same namespace, and
9696 # are all built from PIC.
9699 test "$enable_shared" = yes && enable_static
=no
9700 if test -n "$RANLIB"; then
9701 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9702 postinstall_cmds
='$RANLIB $lib'
9707 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9708 test "$enable_shared" = yes && enable_static
=no
9712 echo "$as_me:$LINENO: result: $enable_shared" >&5
9713 echo "${ECHO_T}$enable_shared" >&6
9715 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9716 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9717 # Make sure either enable_shared or enable_static is yes.
9718 test "$enable_shared" = yes || enable_static
=yes
9719 echo "$as_me:$LINENO: result: $enable_static" >&5
9720 echo "${ECHO_T}$enable_static" >&6
9722 # The else clause should only fire when bootstrapping the
9723 # libtool distribution, otherwise you forgot to ship ltmain.sh
9724 # with your package, and you will get complaints that there are
9725 # no rules to generate ltmain.sh.
9726 if test -f "$ltmain"; then
9727 # See if we are running on zsh, and set the options which allow our commands through
9728 # without removal of \ escapes.
9729 if test -n "${ZSH_VERSION+set}" ; then
9730 setopt NO_GLOB_SUBST
9732 # Now quote all the things that may contain metacharacters while being
9733 # careful not to overquote the AC_SUBSTed values. We take copies of the
9734 # variables and quote the copies for generation of the libtool script.
9735 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9737 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9738 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9739 deplibs_check_method reload_flag reload_cmds need_locks \
9740 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9741 lt_cv_sys_global_symbol_to_c_name_address \
9742 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9743 old_postinstall_cmds old_postuninstall_cmds \
9747 lt_prog_compiler_wl \
9748 lt_prog_compiler_pic \
9749 lt_prog_compiler_static \
9750 lt_prog_compiler_no_builtin_flag \
9751 export_dynamic_flag_spec \
9752 thread_safe_flag_spec \
9753 whole_archive_flag_spec \
9754 enable_shared_with_static_runtimes \
9756 old_archive_from_new_cmds \
9761 compiler_lib_search_path \
9763 archive_expsym_cmds \
9765 postuninstall_cmds \
9766 old_archive_from_expsyms_cmds \
9767 allow_undefined_flag \
9769 export_symbols_cmds \
9770 hardcode_libdir_flag_spec \
9771 hardcode_libdir_flag_spec_ld \
9772 hardcode_libdir_separator \
9773 hardcode_automatic \
9775 module_expsym_cmds \
9776 lt_cv_prog_compiler_c_o \
9781 old_archive_cmds | \
9782 old_archive_from_new_cmds | \
9784 archive_expsym_cmds | \
9786 module_expsym_cmds | \
9787 old_archive_from_expsyms_cmds | \
9788 export_symbols_cmds | \
9789 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9790 postinstall_cmds | postuninstall_cmds | \
9791 old_postinstall_cmds | old_postuninstall_cmds | \
9792 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9793 # Double-quote double-evaled strings.
9794 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9797 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9803 *'\$0 --fallback-echo"')
9804 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9809 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9811 { echo "$as_me:$LINENO: creating $ofile" >&5
9812 echo "$as_me: creating $ofile" >&6;}
9814 cat <<__EOF__ >> "$cfgfile"
9817 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9818 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9819 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9821 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9822 # Free Software Foundation, Inc.
9824 # This file is part of GNU Libtool:
9825 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9827 # This program is free software; you can redistribute it and/or modify
9828 # it under the terms of the GNU General Public License as published by
9829 # the Free Software Foundation; either version 2 of the License, or
9830 # (at your option) any later version.
9832 # This program is distributed in the hope that it will be useful, but
9833 # WITHOUT ANY WARRANTY; without even the implied warranty of
9834 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9835 # General Public License for more details.
9837 # You should have received a copy of the GNU General Public License
9838 # along with this program; if not, write to the Free Software
9839 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9841 # As a special exception to the GNU General Public License, if you
9842 # distribute this file as part of a program that contains a
9843 # configuration script generated by Autoconf, you may include it under
9844 # the same distribution terms that you use for the rest of that program.
9846 # A sed program that does not truncate output.
9849 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9850 Xsed="$SED -e 1s/^X//"
9852 # The HP-UX ksh and POSIX shell print the target directory to stdout
9854 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9856 # The names of the tagged configurations supported by this script.
9859 # ### BEGIN LIBTOOL CONFIG
9861 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9863 # Shell to use when invoking shell scripts.
9866 # Whether or not to build shared libraries.
9867 build_libtool_libs=$enable_shared
9869 # Whether or not to build static libraries.
9870 build_old_libs=$enable_static
9872 # Whether or not to add -lc for building shared libraries.
9873 build_libtool_need_lc=$archive_cmds_need_lc
9875 # Whether or not to disallow shared libs when runtime libs are static
9876 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9878 # Whether or not to optimize for fast installation.
9879 fast_install=$enable_fast_install
9882 host_alias=$host_alias
9887 build_alias=$build_alias
9891 # An echo program that does not interpret backslashes.
9896 AR_FLAGS=$lt_AR_FLAGS
9901 # A language-specific compiler.
9904 # Is the compiler the GNU C compiler?
9910 # The linker used to build libraries.
9913 # Whether we need hard or soft links.
9916 # A BSD-compatible nm program.
9919 # A symbol stripping program
9922 # Used to examine libraries when file_magic_cmd begins "file"
9923 MAGIC_CMD=$MAGIC_CMD
9925 # Used on cygwin: DLL creation program.
9928 # Used on cygwin: object dumper.
9931 # Used on cygwin: assembler.
9934 # The name of the directory that contains temporary libtool files.
9937 # How to create reloadable object files.
9938 reload_flag=$lt_reload_flag
9939 reload_cmds=$lt_reload_cmds
9941 # How to pass a linker flag through the compiler.
9942 wl=$lt_lt_prog_compiler_wl
9944 # Object file suffix (normally "o").
9947 # Old archive suffix (normally "a").
9950 # Shared library suffix (normally ".so").
9951 shrext_cmds='$shrext_cmds'
9953 # Executable file suffix (normally "").
9956 # Additional compiler flags for building library objects.
9957 pic_flag=$lt_lt_prog_compiler_pic
9960 # What is the maximum length of a command?
9961 max_cmd_len=$lt_cv_sys_max_cmd_len
9963 # Does compiler simultaneously support -c and -o options?
9964 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9966 # Must we lock files when doing compilation?
9967 need_locks=$lt_need_locks
9969 # Do we need the lib prefix for modules?
9970 need_lib_prefix=$need_lib_prefix
9972 # Do we need a version for libraries?
9973 need_version=$need_version
9975 # Whether dlopen is supported.
9976 dlopen_support=$enable_dlopen
9978 # Whether dlopen of programs is supported.
9979 dlopen_self=$enable_dlopen_self
9981 # Whether dlopen of statically linked programs is supported.
9982 dlopen_self_static=$enable_dlopen_self_static
9984 # Compiler flag to prevent dynamic linking.
9985 link_static_flag=$lt_lt_prog_compiler_static
9987 # Compiler flag to turn off builtin functions.
9988 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9990 # Compiler flag to allow reflexive dlopens.
9991 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9993 # Compiler flag to generate shared objects directly from archives.
9994 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9996 # Compiler flag to generate thread-safe objects.
9997 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9999 # Library versioning type.
10000 version_type=$version_type
10002 # Format of library name prefix.
10003 libname_spec=$lt_libname_spec
10005 # List of archive names. First name is the real one, the rest are links.
10006 # The last name is the one that the linker finds with -lNAME.
10007 library_names_spec=$lt_library_names_spec
10009 # The coded name of the library, if different from the real name.
10010 soname_spec=$lt_soname_spec
10012 # Commands used to build and install an old-style archive.
10014 old_archive_cmds=$lt_old_archive_cmds
10015 old_postinstall_cmds=$lt_old_postinstall_cmds
10016 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10018 # Create an old-style archive from a shared archive.
10019 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10021 # Create a temporary old-style archive to link instead of a shared archive.
10022 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10024 # Commands used to build and install a shared archive.
10025 archive_cmds=$lt_archive_cmds
10026 archive_expsym_cmds=$lt_archive_expsym_cmds
10027 postinstall_cmds=$lt_postinstall_cmds
10028 postuninstall_cmds=$lt_postuninstall_cmds
10030 # Commands used to build a loadable module (assumed same as above if empty)
10031 module_cmds=$lt_module_cmds
10032 module_expsym_cmds=$lt_module_expsym_cmds
10034 # Commands to strip libraries.
10035 old_striplib=$lt_old_striplib
10036 striplib=$lt_striplib
10038 # Dependencies to place before the objects being linked to create a
10040 predep_objects=$lt_predep_objects
10042 # Dependencies to place after the objects being linked to create a
10044 postdep_objects=$lt_postdep_objects
10046 # Dependencies to place before the objects being linked to create a
10048 predeps=$lt_predeps
10050 # Dependencies to place after the objects being linked to create a
10052 postdeps=$lt_postdeps
10054 # The library search path used internally by the compiler when linking
10055 # a shared library.
10056 compiler_lib_search_path=$lt_compiler_lib_search_path
10058 # Method to check whether dependent libraries are shared objects.
10059 deplibs_check_method=$lt_deplibs_check_method
10061 # Command to use when deplibs_check_method == file_magic.
10062 file_magic_cmd=$lt_file_magic_cmd
10064 # Flag that allows shared libraries with undefined symbols to be built.
10065 allow_undefined_flag=$lt_allow_undefined_flag
10067 # Flag that forces no undefined symbols.
10068 no_undefined_flag=$lt_no_undefined_flag
10070 # Commands used to finish a libtool library installation in a directory.
10071 finish_cmds=$lt_finish_cmds
10073 # Same as above, but a single script fragment to be evaled but not shown.
10074 finish_eval=$lt_finish_eval
10076 # Take the output of nm and produce a listing of raw symbols and C names.
10077 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10079 # Transform the output of nm in a proper C declaration
10080 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10082 # Transform the output of nm in a C name address pair
10083 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10085 # This is the shared library runtime path variable.
10086 runpath_var=$runpath_var
10088 # This is the shared library path variable.
10089 shlibpath_var=$shlibpath_var
10091 # Is shlibpath searched before the hard-coded library search path?
10092 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10094 # How to hardcode a shared library path into an executable.
10095 hardcode_action=$hardcode_action
10097 # Whether we should hardcode library paths into libraries.
10098 hardcode_into_libs=$hardcode_into_libs
10100 # Flag to hardcode \$libdir into a binary during linking.
10101 # This must work even if \$libdir does not exist.
10102 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10104 # If ld is used when linking, flag to hardcode \$libdir into
10105 # a binary during linking. This must work even if \$libdir does
10107 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10109 # Whether we need a single -rpath flag with a separated argument.
10110 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10112 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10113 # resulting binary.
10114 hardcode_direct=$hardcode_direct
10116 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10117 # resulting binary.
10118 hardcode_minus_L=$hardcode_minus_L
10120 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10121 # the resulting binary.
10122 hardcode_shlibpath_var=$hardcode_shlibpath_var
10124 # Set to yes if building a shared library automatically hardcodes DIR into the library
10125 # and all subsequent libraries and executables linked against it.
10126 hardcode_automatic=$hardcode_automatic
10128 # Variables whose values should be saved in libtool wrapper scripts and
10129 # restored at relink time.
10130 variables_saved_for_relink="$variables_saved_for_relink"
10132 # Whether libtool must link a program against all its dependency libraries.
10133 link_all_deplibs=$link_all_deplibs
10135 # Compile-time system search path for libraries
10136 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10138 # Run-time system search path for libraries
10139 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10141 # Fix the shell variable \$srcfile for the compiler.
10142 fix_srcfile_path="$fix_srcfile_path"
10144 # Set to yes if exported symbols are required.
10145 always_export_symbols=$always_export_symbols
10147 # The commands to list exported symbols.
10148 export_symbols_cmds=$lt_export_symbols_cmds
10150 # The commands to extract the exported symbol list from a shared archive.
10151 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10153 # Symbols that should not be listed in the preloaded symbols.
10154 exclude_expsyms=$lt_exclude_expsyms
10156 # Symbols that must always be exported.
10157 include_expsyms=$lt_include_expsyms
10159 # ### END LIBTOOL CONFIG
10166 cat <<\EOF
>> "$cfgfile"
10168 # AIX sometimes has problems with the GCC collect2 program. For some
10169 # reason, if we set the COLLECT_NAMES environment variable, the problems
10170 # vanish in a puff of smoke.
10171 if test "X${COLLECT_NAMES+set}" != Xset
; then
10173 export COLLECT_NAMES
10179 # We use sed instead of cat because bash on DJGPP gets confused if
10180 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10181 # text mode, it properly converts lines to CR/LF. This bash problem
10182 # is reportedly fixed, but why not run on old versions too?
10183 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
10185 mv -f "$cfgfile" "$ofile" || \
10186 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10190 # If there is no Makefile yet, we rely on a make rule to execute
10191 # `config.status --recheck' to rerun these tests and create the
10192 # libtool script then.
10193 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10194 if test -f "$ltmain_in"; then
10195 test -f Makefile
&& make "$ltmain"
10201 ac_cpp
='$CPP $CPPFLAGS'
10202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10209 # Check whether --with-tags or --without-tags was given.
10210 if test "${with_tags+set}" = set; then
10211 withval
="$with_tags"
10212 tagnames
="$withval"
10215 if test -f "$ltmain" && test -n "$tagnames"; then
10216 if test ! -f "${ofile}"; then
10217 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10218 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10221 if test -z "$LTCC"; then
10222 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10223 if test -z "$LTCC"; then
10224 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10225 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10227 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10228 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10232 # Extract list of available tagged configurations in $ofile.
10233 # Note that this assumes the entire list is on one line.
10234 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10236 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10237 for tagname
in $tagnames; do
10239 # Check whether tagname contains only valid characters
10240 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10242 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10243 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10244 { (exit 1); exit 1; }; }
10248 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
10250 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10251 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10252 { (exit 1); exit 1; }; }
10255 # Update the list of available tags.
10256 if test -n "$tagname"; then
10257 echo appending configuration tag
\"$tagname\" to
$ofile
10261 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10262 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10263 (test "X$CXX" != "Xg++"))) ; then
10265 ac_cpp
='$CXXCPP $CPPFLAGS'
10266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10273 archive_cmds_need_lc_CXX
=no
10274 allow_undefined_flag_CXX
=
10275 always_export_symbols_CXX
=no
10276 archive_expsym_cmds_CXX
=
10277 export_dynamic_flag_spec_CXX
=
10278 hardcode_direct_CXX
=no
10279 hardcode_libdir_flag_spec_CXX
=
10280 hardcode_libdir_flag_spec_ld_CXX
=
10281 hardcode_libdir_separator_CXX
=
10282 hardcode_minus_L_CXX
=no
10283 hardcode_automatic_CXX
=no
10285 module_expsym_cmds_CXX
=
10286 link_all_deplibs_CXX
=unknown
10287 old_archive_cmds_CXX
=$old_archive_cmds
10288 no_undefined_flag_CXX
=
10289 whole_archive_flag_spec_CXX
=
10290 enable_shared_with_static_runtimes_CXX
=no
10292 # Dependencies to place before and after the object being linked:
10293 predep_objects_CXX
=
10294 postdep_objects_CXX
=
10297 compiler_lib_search_path_CXX
=
10299 # Source file extension for C++ test sources.
10302 # Object file extension for compiled C++ test sources.
10306 # Code to be used in simple compile tests
10307 lt_simple_compile_test_code
="int some_variable = 0;\n"
10309 # Code to be used in simple link tests
10310 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
10312 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10314 # If no C compiler was specified, use CC.
10317 # Allow CC to be a program name with arguments.
10321 # save warnings/boilerplate of simple test code
10322 ac_outfile
=conftest.
$ac_objext
10323 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10324 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
10325 _lt_compiler_boilerplate
=`cat conftest.err`
10328 ac_outfile
=conftest.
$ac_objext
10329 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10330 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
10331 _lt_linker_boilerplate
=`cat conftest.err`
10335 # Allow CC to be a program name with arguments.
10340 lt_save_with_gnu_ld
=$with_gnu_ld
10341 lt_save_path_LD
=$lt_cv_path_LD
10342 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10343 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10345 unset lt_cv_prog_gnu_ld
10347 if test -n "${lt_cv_path_LDCXX+set}"; then
10348 lt_cv_path_LD
=$lt_cv_path_LDCXX
10350 unset lt_cv_path_LD
10352 test -z "${LDCXX+set}" || LD
=$LDCXX
10356 for cc_temp
in $compiler""; do
10358 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10359 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10364 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10367 # We don't want -fno-exception wen compiling C++ code, so set the
10368 # no_builtin_flag separately
10369 if test "$GXX" = yes; then
10370 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10372 lt_prog_compiler_no_builtin_flag_CXX
=
10375 if test "$GXX" = yes; then
10376 # Set up default GNU C++ configuration
10379 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10380 if test "${with_gnu_ld+set}" = set; then
10381 withval
="$with_gnu_ld"
10382 test "$withval" = no || with_gnu_ld
=yes
10387 if test "$GCC" = yes; then
10388 # Check if gcc -print-prog-name=ld gives a path.
10389 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10390 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10393 # gcc leaves a trailing carriage return which upsets mingw
10394 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10396 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10399 # Accept absolute paths.
10401 re_direlt
='/[^/][^/]*/\.\./'
10402 # Canonicalize the pathname of ld
10403 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10404 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10405 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10407 test -z "$LD" && LD
="$ac_prog"
10410 # If it fails, then pretend we aren't using GCC.
10414 # If it is relative, then search for the first ld in PATH.
10415 with_gnu_ld
=unknown
10418 elif test "$with_gnu_ld" = yes; then
10419 echo "$as_me:$LINENO: checking for GNU ld" >&5
10420 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10422 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10423 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10425 if test "${lt_cv_path_LD+set}" = set; then
10426 echo $ECHO_N "(cached) $ECHO_C" >&6
10428 if test -z "$LD"; then
10429 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10430 for ac_dir
in $PATH; do
10432 test -z "$ac_dir" && ac_dir
=.
10433 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10434 lt_cv_path_LD
="$ac_dir/$ac_prog"
10435 # Check to see if the program is GNU ld. I'd rather use --version,
10436 # but apparently some GNU ld's only accept -v.
10437 # Break only if it was the GNU/non-GNU ld that we prefer.
10438 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10439 *GNU
* |
*'with BFD'*)
10440 test "$with_gnu_ld" != no
&& break
10443 test "$with_gnu_ld" != yes && break
10450 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10454 LD
="$lt_cv_path_LD"
10455 if test -n "$LD"; then
10456 echo "$as_me:$LINENO: result: $LD" >&5
10457 echo "${ECHO_T}$LD" >&6
10459 echo "$as_me:$LINENO: result: no" >&5
10460 echo "${ECHO_T}no" >&6
10462 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10463 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10464 { (exit 1); exit 1; }; }
10465 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10466 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10467 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10468 echo $ECHO_N "(cached) $ECHO_C" >&6
10470 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10471 case `$LD -v 2>&1 </dev/null` in
10472 *GNU
* |
*'with BFD'*)
10473 lt_cv_prog_gnu_ld
=yes
10476 lt_cv_prog_gnu_ld
=no
10480 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10481 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10482 with_gnu_ld
=$lt_cv_prog_gnu_ld
10486 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10487 # archiving commands below assume that GNU ld is being used.
10488 if test "$with_gnu_ld" = yes; then
10489 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10490 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'
10492 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10493 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10495 # If archive_cmds runs LD, not CC, wlarc should be empty
10496 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10497 # investigate it a little bit more. (MM)
10500 # ancient GNU ld didn't support --whole-archive et. al.
10501 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10502 grep 'no-whole-archive' > /dev
/null
; then
10503 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10505 whole_archive_flag_spec_CXX
=
10511 # A generic and very simple default shared library creation
10512 # command for GNU C++ for the case where it uses the native
10513 # linker, instead of GNU ld. If possible, this setting should
10514 # overridden to take advantage of the native linker features on
10515 # the platform it is being used on.
10516 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10519 # Commands to make compiler produce verbose output that lists
10520 # what "hidden" libraries, object files and flags are used when
10521 # linking a shared library.
10522 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10530 # PORTME: fill in a description of your system's C++ link characteristics
10531 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10532 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10536 # FIXME: insert proper C++ library support
10540 if test "$host_cpu" = ia64
; then
10541 # On IA64, the linker does run time linking by default, so we don't
10542 # have to do anything special.
10543 aix_use_runtimelinking
=no
10544 exp_sym_flag
='-Bexport'
10547 aix_use_runtimelinking
=no
10549 # Test if we are trying to use run time linking or normal
10550 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10551 # need to do runtime linking.
10552 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10553 for ld_flag
in $LDFLAGS; do
10556 aix_use_runtimelinking
=yes
10563 exp_sym_flag
='-bexport'
10564 no_entry_flag
='-bnoentry'
10567 # When large executables or shared objects are built, AIX ld can
10568 # have problems creating the table of contents. If linking a library
10569 # or program results in "error TOC overflow" add -mminimal-toc to
10570 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10571 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10573 archive_cmds_CXX
=''
10574 hardcode_direct_CXX
=yes
10575 hardcode_libdir_separator_CXX
=':'
10576 link_all_deplibs_CXX
=yes
10578 if test "$GXX" = yes; then
10579 case $host_os in aix4.
[012]|aix4.
[012].
*)
10580 # We only want to do this on AIX 4.2 and lower, the check
10581 # below for broken collect2 doesn't work under 4.3+
10582 collect2name
=`${CC} -print-prog-name=collect2`
10583 if test -f "$collect2name" && \
10584 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10586 # We have reworked collect2
10587 hardcode_direct_CXX
=yes
10589 # We have old collect2
10590 hardcode_direct_CXX
=unsupported
10591 # It fails to find uninstalled libraries when the uninstalled
10592 # path is not listed in the libpath. Setting hardcode_minus_L
10593 # to unsupported forces relinking
10594 hardcode_minus_L_CXX
=yes
10595 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10596 hardcode_libdir_separator_CXX
=
10599 shared_flag
='-shared'
10600 if test "$aix_use_runtimelinking" = yes; then
10601 shared_flag
="$shared_flag "'${wl}-G'
10605 if test "$host_cpu" = ia64
; then
10606 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10607 # chokes on -Wl,-G. The following line is correct:
10610 if test "$aix_use_runtimelinking" = yes; then
10611 shared_flag
='${wl}-G'
10613 shared_flag
='${wl}-bM:SRE'
10618 # It seems that -bexpall does not export symbols beginning with
10619 # underscore (_), so it is better to generate a list of symbols to export.
10620 always_export_symbols_CXX
=yes
10621 if test "$aix_use_runtimelinking" = yes; then
10622 # Warning - without using the other runtime loading flags (-brtl),
10623 # -berok will link without error, but may produce a broken library.
10624 allow_undefined_flag_CXX
='-berok'
10625 # Determine the default libpath from the value encoded in an empty executable.
10626 cat >conftest.
$ac_ext <<_ACEOF
10629 cat confdefs.h
>>conftest.
$ac_ext
10630 cat >>conftest.
$ac_ext <<_ACEOF
10631 /* end confdefs.h. */
10641 rm -f conftest.
$ac_objext conftest
$ac_exeext
10642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10643 (eval $ac_link) 2>conftest.er1
10645 grep -v '^ *+' conftest.er1
>conftest.err
10647 cat conftest.err
>&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); } &&
10650 { ac_try
='test -z "$ac_cxx_werror_flag"
10651 || test ! -s conftest.err'
10652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10653 (eval $ac_try) 2>&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); }; } &&
10657 { ac_try
='test -s conftest$ac_exeext'
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 (eval $ac_try) 2>&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }; }; then
10664 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10666 # Check for a 64-bit object if we didn't find anything.
10667 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; }
10670 echo "$as_me: failed program was:" >&5
10671 sed 's/^/| /' conftest.
$ac_ext >&5
10674 rm -f conftest.err conftest.
$ac_objext \
10675 conftest
$ac_exeext conftest.
$ac_ext
10676 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10678 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10680 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"
10682 if test "$host_cpu" = ia64; then
10683 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10684 allow_undefined_flag_CXX="-z nodefs"
10685 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"
10687 # Determine the default libpath from the value encoded in an empty executable.
10688 cat >conftest.$ac_ext <<_ACEOF
10691 cat confdefs.h >>conftest.$ac_ext
10692 cat >>conftest.$ac_ext <<_ACEOF
10693 /* end confdefs.h. */
10703 rm -f conftest.$ac_objext conftest$ac_exeext
10704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10705 (eval $ac_link) 2>conftest.er1
10707 grep -v '^ *+' conftest.er1 >conftest.err
10709 cat conftest.err >&5
10710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10711 (exit $ac_status); } &&
10712 { ac_try='test -z "$ac_cxx_werror_flag"
10713 || test ! -s conftest.err'
10714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10715 (eval $ac_try) 2>&5
10717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10718 (exit $ac_status); }; } &&
10719 { ac_try='test -s conftest$ac_exeext'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10724 (exit $ac_status); }; }; then
10726 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10728 # Check for a 64-bit object if we didn't find anything.
10729 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; }
10732 echo "$as_me: failed program was
:" >&5
10733 sed 's/^/| /' conftest.$ac_ext >&5
10736 rm -f conftest.err conftest.$ac_objext \
10737 conftest$ac_exeext conftest.$ac_ext
10738 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10740 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10741 # Warning - without using the other run time loading flags,
10742 # -berok will link without error, but may produce a broken library.
10743 no_undefined_flag_CXX=' ${wl}-bernotok'
10744 allow_undefined_flag_CXX=' ${wl}-berok'
10745 # -bexpall does not export symbols beginning with underscore (_)
10746 always_export_symbols_CXX=yes
10747 # Exported symbols can be pulled into shared objects from archives
10748 whole_archive_flag_spec_CXX=' '
10749 archive_cmds_need_lc_CXX=yes
10750 # This is similar to how AIX traditionally builds it's shared libraries.
10751 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'
10756 case $cc_basename in
10758 # FIXME: insert proper C++ library support
10765 cygwin* | mingw* | pw32*)
10766 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10767 # as there is no search path for DLLs.
10768 hardcode_libdir_flag_spec_CXX='-L$libdir'
10769 allow_undefined_flag_CXX=unsupported
10770 always_export_symbols_CXX=no
10771 enable_shared_with_static_runtimes_CXX=yes
10773 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10774 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'
10775 # If the export-symbols file already is a .def file (1st line
10776 # is EXPORTS), use it as is; otherwise, prepend...
10777 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10778 cp $export_symbols $output_objdir/$soname.def;
10780 echo EXPORTS > $output_objdir/$soname.def;
10781 cat $export_symbols >> $output_objdir/$soname.def;
10783 $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'
10788 darwin* | rhapsody*)
10790 rhapsody* | darwin1.[012])
10791 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10794 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10795 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10797 case ${MACOSX_DEPLOYMENT_TARGET} in
10799 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10802 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10808 archive_cmds_need_lc_CXX=no
10809 hardcode_direct_CXX=no
10810 hardcode_automatic_CXX=yes
10811 hardcode_shlibpath_var_CXX=unsupported
10812 whole_archive_flag_spec_CXX=''
10813 link_all_deplibs_CXX=yes
10815 if test "$GXX" = yes ; then
10816 lt_int_apple_cc_single_mod=no
10817 output_verbose_link_cmd='echo'
10818 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10819 lt_int_apple_cc_single_mod=yes
10821 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10822 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10824 archive_cmds_CXX='$CC -r -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'
10826 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10827 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10828 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10829 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}'
10831 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -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}'
10833 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10835 case $cc_basename in
10837 output_verbose_link_cmd
='echo'
10838 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10839 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10840 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10841 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10842 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10852 case $cc_basename in
10854 # FIXME: insert proper C++ library support
10858 # Green Hills C++ Compiler
10859 # FIXME: insert proper C++ library support
10863 # FIXME: insert proper C++ library support
10869 # C++ shared libraries reported to be fairly broken before switch to ELF
10873 archive_cmds_need_lc_CXX
=no
10875 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10876 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10883 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10884 hardcode_libdir_separator_CXX
=:
10885 export_dynamic_flag_spec_CXX
='${wl}-E'
10886 hardcode_direct_CXX
=yes
10887 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10888 # but as the default
10889 # location of the library.
10891 case $cc_basename in
10893 # FIXME: insert proper C++ library support
10897 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'
10898 # Commands to make compiler produce verbose output that lists
10899 # what "hidden" libraries, object files and flags are used when
10900 # linking a shared library.
10902 # There doesn't appear to be a way to prevent this compiler from
10903 # explicitly linking system object files so we need to strip them
10904 # from the output so that they don't get included in the library
10906 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'
10909 if test "$GXX" = yes; then
10910 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'
10912 # FIXME: insert proper C++ library support
10919 if test $with_gnu_ld = no
; then
10920 case "$host_cpu" in
10922 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10923 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10924 hardcode_libdir_separator_CXX
=:
10927 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10930 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10931 hardcode_libdir_separator_CXX
=:
10932 export_dynamic_flag_spec_CXX
='${wl}-E'
10936 case "$host_cpu" in
10938 hardcode_direct_CXX
=no
10939 hardcode_shlibpath_var_CXX
=no
10942 hardcode_direct_CXX
=no
10943 hardcode_shlibpath_var_CXX
=no
10944 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10945 # but as the default
10946 # location of the library.
10949 hardcode_direct_CXX
=yes
10950 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10951 # but as the default
10952 # location of the library.
10956 case $cc_basename in
10958 # FIXME: insert proper C++ library support
10962 case "$host_cpu" in
10964 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10967 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10970 # Commands to make compiler produce verbose output that lists
10971 # what "hidden" libraries, object files and flags are used when
10972 # linking a shared library.
10974 # There doesn't appear to be a way to prevent this compiler from
10975 # explicitly linking system object files so we need to strip them
10976 # from the output so that they don't get included in the library
10978 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'
10981 if test "$GXX" = yes; then
10982 if test $with_gnu_ld = no
; then
10983 case "$host_cpu" in
10985 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10988 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'
10993 # FIXME: insert proper C++ library support
11000 case $cc_basename in
11003 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 ${output_objdir}/so_locations -o $lib'
11005 # Archives containing C++ object files must be created using
11006 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11007 # necessary to make sure instantiated templates are included
11009 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11012 if test "$GXX" = yes; then
11013 if test "$with_gnu_ld" = no
; then
11014 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}${output_objdir}/so_locations -o $lib'
11016 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'
11019 link_all_deplibs_CXX
=yes
11022 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11023 hardcode_libdir_separator_CXX
=:
11026 case $cc_basename in
11028 # Kuck and Associates, Inc. (KAI) C++ Compiler
11030 # KCC will only create a shared library if the output file
11031 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11032 # to its proper name (with version) after linking.
11033 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'
11034 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'
11035 # Commands to make compiler produce verbose output that lists
11036 # what "hidden" libraries, object files and flags are used when
11037 # linking a shared library.
11039 # There doesn't appear to be a way to prevent this compiler from
11040 # explicitly linking system object files so we need to strip them
11041 # from the output so that they don't get included in the library
11043 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'
11045 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11046 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11048 # Archives containing C++ object files must be created using
11049 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11050 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11055 # version 8.0 and above of icpc choke on multiply defined symbols
11056 # if we add $predep_objects and $postdep_objects, however 7.1 and
11057 # earlier do not add the objects themselves.
11058 case `$CC -V 2>&1` in
11060 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11061 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'
11063 *) # Version 8.0 or newer
11066 ia64
*) tmp_idyn
=' -i_dynamic';;
11068 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11069 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11072 archive_cmds_need_lc_CXX
=no
11073 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11074 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11075 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11078 # Portland Group C++ compiler
11079 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11080 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'
11082 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11083 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11084 whole_archive_flag_spec_CXX
=''
11088 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11089 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'
11091 runpath_var
=LD_RUN_PATH
11092 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11093 hardcode_libdir_separator_CXX
=:
11095 # Commands to make compiler produce verbose output that lists
11096 # what "hidden" libraries, object files and flags are used when
11097 # linking a shared library.
11099 # There doesn't appear to be a way to prevent this compiler from
11100 # explicitly linking system object files so we need to strip them
11101 # from the output so that they don't get included in the library
11103 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'
11108 # FIXME: insert proper C++ library support
11112 # FIXME: insert proper C++ library support
11116 case $cc_basename in
11118 # FIXME: insert proper C++ library support
11122 # FIXME: insert proper C++ library support
11128 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11129 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11131 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11132 hardcode_direct_CXX
=yes
11133 hardcode_shlibpath_var_CXX
=no
11135 # Workaround some broken pre-1.5 toolchains
11136 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11139 # C++ shared libraries are fairly broken
11143 hardcode_direct_CXX
=yes
11144 hardcode_shlibpath_var_CXX
=no
11145 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11146 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11147 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11148 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11149 export_dynamic_flag_spec_CXX
='${wl}-E'
11150 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11152 output_verbose_link_cmd
='echo'
11155 case $cc_basename in
11157 # Kuck and Associates, Inc. (KAI) C++ Compiler
11159 # KCC will only create a shared library if the output file
11160 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11161 # to its proper name (with version) after linking.
11162 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'
11164 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11165 hardcode_libdir_separator_CXX
=:
11167 # Archives containing C++ object files must be created using
11168 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11169 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11173 # Rational C++ 2.4.1
11174 # FIXME: insert proper C++ library support
11178 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11179 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 ${output_objdir}/so_locations -o $lib'
11181 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11182 hardcode_libdir_separator_CXX
=:
11184 # Commands to make compiler produce verbose output that lists
11185 # what "hidden" libraries, object files and flags are used when
11186 # linking a shared library.
11188 # There doesn't appear to be a way to prevent this compiler from
11189 # explicitly linking system object files so we need to strip them
11190 # from the output so that they don't get included in the library
11192 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'
11195 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11196 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11197 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}${output_objdir}/so_locations -o $lib'
11199 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11200 hardcode_libdir_separator_CXX
=:
11202 # Commands to make compiler produce verbose output that lists
11203 # what "hidden" libraries, object files and flags are used when
11204 # linking a shared library.
11205 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11208 # FIXME: insert proper C++ library support
11215 case $cc_basename in
11217 # Kuck and Associates, Inc. (KAI) C++ Compiler
11219 # KCC will only create a shared library if the output file
11220 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11221 # to its proper name (with version) after linking.
11222 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'
11224 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11225 hardcode_libdir_separator_CXX
=:
11227 # Archives containing C++ object files must be created using
11228 # the KAI C++ compiler.
11229 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11232 # Rational C++ 2.4.1
11233 # FIXME: insert proper C++ library support
11237 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11238 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 ${output_objdir}/so_locations -o $lib'
11239 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11240 echo "-hidden">> $lib.exp~
11241 $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 ${output_objdir}/so_locations -o $lib~
11244 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11245 hardcode_libdir_separator_CXX
=:
11247 # Commands to make compiler produce verbose output that lists
11248 # what "hidden" libraries, object files and flags are used when
11249 # linking a shared library.
11251 # There doesn't appear to be a way to prevent this compiler from
11252 # explicitly linking system object files so we need to strip them
11253 # from the output so that they don't get included in the library
11255 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'
11258 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11259 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11260 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}${output_objdir}/so_locations -o $lib'
11262 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11263 hardcode_libdir_separator_CXX
=:
11265 # Commands to make compiler produce verbose output that lists
11266 # what "hidden" libraries, object files and flags are used when
11267 # linking a shared library.
11268 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11271 # FIXME: insert proper C++ library support
11278 # FIXME: insert proper C++ library support
11282 archive_cmds_need_lc_CXX
=no
11283 case $cc_basename in
11285 # FIXME: insert proper C++ library support
11289 # FIXME: insert proper C++ library support
11295 case $cc_basename in
11298 # FIXME: insert proper C++ library support
11303 # FIXME: insert proper C++ library support
11307 # FIXME: insert proper C++ library support
11313 case $cc_basename in
11315 # Sun C++ 4.2, 5.x and Centerline C++
11316 no_undefined_flag_CXX
=' -zdefs'
11317 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11318 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11319 $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'
11321 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11322 hardcode_shlibpath_var_CXX
=no
11324 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11326 # The C++ compiler is used as linker so we must use $wl
11327 # flag to pass the commands to the underlying system
11328 # linker. We must also pass each convience library through
11329 # to the system linker between allextract/defaultextract.
11330 # The C++ compiler will combine linker options so we
11331 # cannot just pass the convience library names through
11333 # Supported since Solaris 2.6 (maybe 2.5.1?)
11334 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11337 link_all_deplibs_CXX
=yes
11339 # Commands to make compiler produce verbose output that lists
11340 # what "hidden" libraries, object files and flags are used when
11341 # linking a shared library.
11343 # There doesn't appear to be a way to prevent this compiler from
11344 # explicitly linking system object files so we need to strip them
11345 # from the output so that they don't get included in the library
11347 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'
11349 # Archives containing C++ object files must be created using
11350 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11351 # necessary to make sure instantiated templates are included
11353 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11356 # Green Hills C++ Compiler
11357 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11359 # The C++ compiler must be used to create the archive.
11360 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11363 # GNU C++ compiler with Solaris linker
11364 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11365 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11366 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11367 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11368 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11369 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11371 # Commands to make compiler produce verbose output that lists
11372 # what "hidden" libraries, object files and flags are used when
11373 # linking a shared library.
11374 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11376 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11378 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11379 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11380 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11382 # Commands to make compiler produce verbose output that lists
11383 # what "hidden" libraries, object files and flags are used when
11384 # linking a shared library.
11385 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11388 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11393 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
11394 archive_cmds_need_lc_CXX
=no
11397 case $cc_basename in
11399 # NonStop-UX NCC 3.20
11400 # FIXME: insert proper C++ library support
11404 # FIXME: insert proper C++ library support
11410 # FIXME: insert proper C++ library support
11414 # FIXME: insert proper C++ library support
11418 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11419 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11420 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11426 ## There is no encapsulation within the following macros, do not change
11427 ## the running order or otherwise move them around unless you know exactly
11428 ## what you are doing...
11430 cat > conftest.
$ac_ext <<EOF
11434 Foo (void) { a = 0; }
11440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11441 (eval $ac_compile) 2>&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); }; then
11445 # Parse the compiler output and extract the necessary
11446 # objects, libraries and library flags.
11448 # Sentinel used to keep track of whether or not we are before
11449 # the conftest object file.
11450 pre_test_object_deps_done
=no
11452 # The `*' in the case matches for architectures that use `case' in
11453 # $output_verbose_cmd can trigger glob expansion during the loop
11454 # eval without this substitution.
11455 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11457 for p
in `eval $output_verbose_link_cmd`; do
11461 # Some compilers place space between "-{L,R}" and the path.
11462 # Remove the space.
11463 if test $p = "-L" \
11464 ||
test $p = "-R"; then
11471 if test "$pre_test_object_deps_done" = no
; then
11474 # Internal compiler library paths should come after those
11475 # provided the user. The postdeps already come after the
11476 # user supplied libs so there is no need to process them.
11477 if test -z "$compiler_lib_search_path_CXX"; then
11478 compiler_lib_search_path_CXX
="${prev}${p}"
11480 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11483 # The "-l" case would never come before the object being
11484 # linked, so don't bother handling this case.
11487 if test -z "$postdeps_CXX"; then
11488 postdeps_CXX
="${prev}${p}"
11490 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11496 # This assumes that the test object file only shows up
11497 # once in the compiler output.
11498 if test "$p" = "conftest.$objext"; then
11499 pre_test_object_deps_done
=yes
11503 if test "$pre_test_object_deps_done" = no
; then
11504 if test -z "$predep_objects_CXX"; then
11505 predep_objects_CXX
="$p"
11507 predep_objects_CXX
="$predep_objects_CXX $p"
11510 if test -z "$postdep_objects_CXX"; then
11511 postdep_objects_CXX
="$p"
11513 postdep_objects_CXX
="$postdep_objects_CXX $p"
11518 *) ;; # Ignore the rest.
11526 echo "libtool.m4: error: problem compiling CXX test program"
11529 $rm -f confest.
$objext
11531 case " $postdeps_CXX " in
11532 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11535 lt_prog_compiler_wl_CXX
=
11536 lt_prog_compiler_pic_CXX
=
11537 lt_prog_compiler_static_CXX
=
11539 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11540 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11542 # C++ specific cases for pic, static, wl, etc.
11543 if test "$GXX" = yes; then
11544 lt_prog_compiler_wl_CXX
='-Wl,'
11545 lt_prog_compiler_static_CXX
='-static'
11549 # All AIX code is PIC.
11550 if test "$host_cpu" = ia64
; then
11551 # AIX 5 now supports IA64 processor
11552 lt_prog_compiler_static_CXX
='-Bstatic'
11556 # FIXME: we need at least 68020 code to build shared libraries, but
11557 # adding the `-m68020' flag to GCC prevents building anything better,
11559 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11561 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11562 # PIC is the default for these OSes.
11564 mingw
* | os2
* | pw32
*)
11565 # This hack is so that the source file can tell whether it is being
11566 # built for inclusion in a dll (and should export symbols for example).
11567 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11569 darwin
* | rhapsody
*)
11570 # PIC is the default on this platform
11571 # Common symbols not allowed in MH_DYLIB files
11572 lt_prog_compiler_pic_CXX
='-fno-common'
11575 # DJGPP does not support shared libraries at all
11576 lt_prog_compiler_pic_CXX
=
11579 if test -d /usr
/nec
; then
11580 lt_prog_compiler_pic_CXX
=-Kconform_pic
11584 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11585 # not for PA HP-UX.
11586 case "$host_cpu" in
11590 lt_prog_compiler_pic_CXX
='-fPIC'
11595 lt_prog_compiler_pic_CXX
='-fPIC'
11601 # All AIX code is PIC.
11602 if test "$host_cpu" = ia64
; then
11603 # AIX 5 now supports IA64 processor
11604 lt_prog_compiler_static_CXX
='-Bstatic'
11606 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11610 case $cc_basename in
11612 # Green Hills C++ Compiler
11613 # _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"
11618 # PIC is the default on this platform
11619 # Common symbols not allowed in MH_DYLIB files
11620 case $cc_basename in
11622 lt_prog_compiler_pic_CXX
='-qnocommon'
11623 lt_prog_compiler_wl_CXX
='-Wl,'
11628 case $cc_basename in
11630 lt_prog_compiler_pic_CXX
='-KPIC'
11633 # Green Hills C++ Compiler
11634 lt_prog_compiler_pic_CXX
='-pic'
11640 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11641 # FreeBSD uses GNU C++
11643 hpux9
* | hpux10
* | hpux11
*)
11644 case $cc_basename in
11646 lt_prog_compiler_wl_CXX
='-Wl,'
11647 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11648 if test "$host_cpu" != ia64
; then
11649 lt_prog_compiler_pic_CXX
='+Z'
11653 lt_prog_compiler_wl_CXX
='-Wl,'
11654 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11655 case "$host_cpu" in
11660 lt_prog_compiler_pic_CXX
='+Z'
11668 irix5
* | irix6
* | nonstopux
*)
11669 case $cc_basename in
11671 lt_prog_compiler_wl_CXX
='-Wl,'
11672 lt_prog_compiler_static_CXX
='-non_shared'
11673 # CC pic flag -KPIC is the default.
11680 case $cc_basename in
11683 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11684 lt_prog_compiler_pic_CXX
='-fPIC'
11688 lt_prog_compiler_wl_CXX
='-Wl,'
11689 lt_prog_compiler_pic_CXX
='-KPIC'
11690 lt_prog_compiler_static_CXX
='-static'
11693 # Portland Group C++ compiler.
11694 lt_prog_compiler_wl_CXX
='-Wl,'
11695 lt_prog_compiler_pic_CXX
='-fpic'
11696 lt_prog_compiler_static_CXX
='-static'
11700 # Make sure the PIC flag is empty. It appears that all Alpha
11701 # Linux and Compaq Tru64 Unix objects are PIC.
11702 lt_prog_compiler_pic_CXX
=
11703 lt_prog_compiler_static_CXX
='-non_shared'
11714 case $cc_basename in
11716 lt_prog_compiler_pic_CXX
='-W c,exportall'
11724 osf3
* | osf4
* | osf5
*)
11725 case $cc_basename in
11727 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11730 # Rational C++ 2.4.1
11731 lt_prog_compiler_pic_CXX
='-pic'
11734 # Digital/Compaq C++
11735 lt_prog_compiler_wl_CXX
='-Wl,'
11736 # Make sure the PIC flag is empty. It appears that all Alpha
11737 # Linux and Compaq Tru64 Unix objects are PIC.
11738 lt_prog_compiler_pic_CXX
=
11739 lt_prog_compiler_static_CXX
='-non_shared'
11748 case $cc_basename in
11750 lt_prog_compiler_pic_CXX
='-fPIC'
11757 case $cc_basename in
11759 # Sun C++ 4.2, 5.x and Centerline C++
11760 lt_prog_compiler_pic_CXX
='-KPIC'
11761 lt_prog_compiler_static_CXX
='-Bstatic'
11762 lt_prog_compiler_wl_CXX
='-Qoption ld '
11765 # Green Hills C++ Compiler
11766 lt_prog_compiler_pic_CXX
='-PIC'
11773 case $cc_basename in
11776 lt_prog_compiler_pic_CXX
='-pic'
11777 lt_prog_compiler_static_CXX
='-Bstatic'
11781 lt_prog_compiler_pic_CXX
='-pic'
11788 case $cc_basename in
11790 # NonStop-UX NCC 3.20
11791 lt_prog_compiler_pic_CXX
='-KPIC'
11802 lt_prog_compiler_can_build_shared_CXX
=no
11807 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11808 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11811 # Check to make sure the PIC flag actually works.
11813 if test -n "$lt_prog_compiler_pic_CXX"; then
11815 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11816 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11817 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 lt_prog_compiler_pic_works_CXX
=no
11821 ac_outfile
=conftest.
$ac_objext
11822 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11823 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11824 # Insert the option either (1) after the last *FLAGS variable, or
11825 # (2) before a word containing "conftest.", or (3) at the end.
11826 # Note that $ac_compile itself does not contain backslashes and begins
11827 # with a dollar sign (not a hyphen), so the echo should work correctly.
11828 # The option is referenced via a variable to avoid confusing sed.
11829 lt_compile
=`echo "$ac_compile" | $SED \
11830 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11832 -e 's:$: $lt_compiler_flag:'`
11833 (eval echo "\"\$as_me:11833: $lt_compile\"" >&5)
11834 (eval "$lt_compile" 2>conftest.err
)
11836 cat conftest.err
>&5
11837 echo "$as_me:11837: \$? = $ac_status" >&5
11838 if (exit $ac_status) && test -s "$ac_outfile"; then
11839 # The compiler can only warn and ignore the option if not recognized
11840 # So say no if there are warnings other than the usual output.
11841 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
11842 $SED '/^$/d' conftest.err
>conftest.er2
11843 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11844 lt_prog_compiler_pic_works_CXX
=yes
11850 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11851 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11853 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11854 case $lt_prog_compiler_pic_CXX in
11856 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11859 lt_prog_compiler_pic_CXX
=
11860 lt_prog_compiler_can_build_shared_CXX
=no
11865 # For platforms which do not support PIC, -DPIC is meaningless:
11867 lt_prog_compiler_pic_CXX
=
11870 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11874 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11875 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11876 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11877 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 lt_cv_prog_compiler_c_o_CXX
=no
11880 $rm -r conftest
2>/dev
/null
11884 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11886 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11887 # Insert the option either (1) after the last *FLAGS variable, or
11888 # (2) before a word containing "conftest.", or (3) at the end.
11889 # Note that $ac_compile itself does not contain backslashes and begins
11890 # with a dollar sign (not a hyphen), so the echo should work correctly.
11891 lt_compile
=`echo "$ac_compile" | $SED \
11892 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11893 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11894 -e 's:$: $lt_compiler_flag:'`
11895 (eval echo "\"\$as_me:11895: $lt_compile\"" >&5)
11896 (eval "$lt_compile" 2>out
/conftest.err
)
11898 cat out
/conftest.err
>&5
11899 echo "$as_me:11899: \$? = $ac_status" >&5
11900 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11902 # The compiler can only warn and ignore the option if not recognized
11903 # So say no if there are warnings
11904 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
11905 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
11906 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11907 lt_cv_prog_compiler_c_o_CXX
=yes
11912 # SGI C++ compiler will create directory out/ii_files/ for
11913 # template instantiation
11914 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11915 $rm out
/* && rmdir out
11921 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11922 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11925 hard_links
="nottested"
11926 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11927 # do not overwrite the value of need_locks provided by the user
11928 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11929 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11932 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11934 ln conftest.a conftest.b
2>&5 || hard_links
=no
11935 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11936 echo "$as_me:$LINENO: result: $hard_links" >&5
11937 echo "${ECHO_T}$hard_links" >&6
11938 if test "$hard_links" = no
; then
11939 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11940 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11947 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11948 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11950 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11953 # If we're using GNU nm, then we don't want the "-C" option.
11954 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11955 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11956 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'
11958 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'
11962 export_symbols_cmds_CXX
="$ltdll_cmds"
11965 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11968 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11972 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11973 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11974 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11976 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11977 if test "$GCC" = yes; then
11978 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11982 # Do we need to explicitly link libc?
11984 case "x$archive_cmds_need_lc_CXX" in
11986 # Assume -lc should be added
11987 archive_cmds_need_lc_CXX
=yes
11989 if test "$enable_shared" = yes && test "$GCC" = yes; then
11990 case $archive_cmds_CXX in
11992 # FIXME: we may have to deal with multi-command sequences.
11995 # Test whether the compiler implicitly links with -lc since on some
11996 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11997 # to ld, don't add -lc before -lgcc.
11998 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11999 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12001 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12004 (eval $ac_compile) 2>&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); } 2>conftest.err
; then
12010 libobjs
=conftest.
$ac_objext
12012 wl
=$lt_prog_compiler_wl_CXX
12018 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12019 allow_undefined_flag_CXX
=
12020 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12021 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); }
12026 archive_cmds_need_lc_CXX
=no
12028 archive_cmds_need_lc_CXX
=yes
12030 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12032 cat conftest.err
1>&5
12035 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12036 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12043 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12044 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12045 library_names_spec
=
12046 libname_spec
='lib$name'
12050 postuninstall_cmds
=
12054 shlibpath_overrides_runpath
=unknown
12056 dynamic_linker
="$host_os ld.so"
12057 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12058 if test "$GCC" = yes; then
12059 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12060 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12061 # if the path contains ";" then we assume it to be the separator
12062 # otherwise default to the standard path separator (i.e. ":") - it is
12063 # assumed that no part of a normal pathname contains ";" but that should
12064 # okay in the real world where ";" in dirpaths is itself problematic.
12065 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12067 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12070 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12072 need_lib_prefix
=unknown
12073 hardcode_into_libs
=no
12075 # when you set need_version to no, make sure it does not cause -set_version
12076 # flags to be left without arguments
12077 need_version
=unknown
12082 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12083 shlibpath_var
=LIBPATH
12085 # AIX 3 has no versioning support, so we append a major version to the name.
12086 soname_spec
='${libname}${release}${shared_ext}$major'
12093 hardcode_into_libs
=yes
12094 if test "$host_cpu" = ia64
; then
12095 # AIX 5 supports IA64
12096 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12097 shlibpath_var
=LD_LIBRARY_PATH
12099 # With GCC up to 2.95.x, collect2 would create an import file
12100 # for dependence libraries. The import file would start with
12101 # the line `#! .'. This would cause the generated library to
12102 # depend on `.', always an invalid library. This was fixed in
12103 # development snapshots of GCC prior to 3.0.
12105 aix4 | aix4.
[01] | aix4.
[01].
*)
12106 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12108 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12111 can_build_shared
=no
12115 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12116 # soname into executable. Probably we can add versioning support to
12117 # collect2, so additional links can be useful in future.
12118 if test "$aix_use_runtimelinking" = yes; then
12119 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12120 # instead of lib<name>.a to let people know that these are not
12121 # typical AIX shared libraries.
12122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12124 # We preserve .a as extension for shared libraries through AIX4.2
12125 # and later when we are not doing run time linking.
12126 library_names_spec
='${libname}${release}.a $libname.a'
12127 soname_spec
='${libname}${release}${shared_ext}$major'
12129 shlibpath_var
=LIBPATH
12134 library_names_spec
='$libname.ixlibrary $libname.a'
12135 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12136 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'
12140 library_names_spec
='${libname}${shared_ext}'
12141 dynamic_linker
="$host_os ld.so"
12142 shlibpath_var
=LIBRARY_PATH
12148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12149 soname_spec
='${libname}${release}${shared_ext}$major'
12150 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12151 shlibpath_var
=LD_LIBRARY_PATH
12152 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12153 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12154 # the default ld.so.conf also contains /usr/contrib/lib and
12155 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12156 # libtool to hard-code these into programs
12159 cygwin
* | mingw
* | pw32
*)
12160 version_type
=windows
12165 case $GCC,$host_os in
12166 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12167 library_names_spec
='$libname.dll.a'
12168 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12169 postinstall_cmds
='base_file=`basename \${file}`~
12170 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12171 dldir=$destdir/`dirname \$dlpath`~
12172 test -d \$dldir || mkdir -p \$dldir~
12173 $install_prog $dir/$dlname \$dldir/$dlname'
12174 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12175 dlpath=$dir/\$dldll~
12177 shlibpath_overrides_runpath
=yes
12181 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12182 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12183 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12186 # MinGW DLLs use traditional 'lib' prefix
12187 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12188 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12189 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12190 # It is most probably a Windows format PATH printed by
12191 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12192 # path with ; separators, and with drive letters. We can handle the
12193 # drive letters (cygwin fileutils understands them), so leave them,
12194 # especially as we might pass files found there to a mingw objdump,
12195 # which wouldn't understand a cygwinified path. Ahh.
12196 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12198 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12202 # pw32 DLLs use 'pw' prefix rather than 'lib'
12203 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12209 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12212 dynamic_linker
='Win32 ld.exe'
12213 # FIXME: first we should search . and the directory the executable is in
12217 darwin
* | rhapsody
*)
12218 dynamic_linker
="$host_os dyld"
12219 version_type
=darwin
12222 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12223 soname_spec
='${libname}${release}${major}$shared_ext'
12224 shlibpath_overrides_runpath
=yes
12225 shlibpath_var
=DYLD_LIBRARY_PATH
12226 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
12227 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12228 if test "$GCC" = yes; then
12229 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"`
12231 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12233 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12241 soname_spec
='${libname}${release}${shared_ext}$major'
12242 shlibpath_var
=LD_LIBRARY_PATH
12253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12254 soname_spec
='${libname}${release}${shared_ext}$major'
12255 shlibpath_var
=LD_LIBRARY_PATH
12256 shlibpath_overrides_runpath
=no
12257 hardcode_into_libs
=yes
12258 dynamic_linker
='GNU ld.so'
12261 freebsd
* | dragonfly
*)
12262 # DragonFly does not have aout. When/if they implement a new
12263 # versioning mechanism, adjust this.
12264 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
12265 version_type
=freebsd-
$objformat
12266 case $version_type in
12268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12273 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12277 shlibpath_var
=LD_LIBRARY_PATH
12280 shlibpath_overrides_runpath
=yes
12282 freebsd3.
[01]* | freebsdelf3.
[01]*)
12283 shlibpath_overrides_runpath
=yes
12284 hardcode_into_libs
=yes
12287 shlibpath_overrides_runpath
=no
12288 hardcode_into_libs
=yes
12297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12298 soname_spec
='${libname}${release}${shared_ext}$major'
12299 shlibpath_var
=LD_LIBRARY_PATH
12300 hardcode_into_libs
=yes
12303 hpux9
* | hpux10
* | hpux11
*)
12304 # Give a soname corresponding to the major version so that dld.sl refuses to
12305 # link against other versions.
12309 case "$host_cpu" in
12312 hardcode_into_libs
=yes
12313 dynamic_linker
="$host_os dld.so"
12314 shlibpath_var
=LD_LIBRARY_PATH
12315 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12317 soname_spec
='${libname}${release}${shared_ext}$major'
12318 if test "X$HPUX_IA64_MODE" = X32
; then
12319 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12321 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12323 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12327 hardcode_into_libs
=yes
12328 dynamic_linker
="$host_os dld.sl"
12329 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12330 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12332 soname_spec
='${libname}${release}${shared_ext}$major'
12333 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12334 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12338 dynamic_linker
="$host_os dld.sl"
12339 shlibpath_var
=SHLIB_PATH
12340 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12342 soname_spec
='${libname}${release}${shared_ext}$major'
12345 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12346 postinstall_cmds
='chmod 555 $lib'
12349 irix5
* | irix6
* | nonstopux
*)
12351 nonstopux
*) version_type
=nonstopux
;;
12353 if test "$lt_cv_prog_gnu_ld" = yes; then
12361 soname_spec
='${libname}${release}${shared_ext}$major'
12362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12364 irix5
* | nonstopux
*)
12365 libsuff
= shlibsuff
=
12368 case $LD in # libtool.m4 will add one of these switches to LD
12369 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12370 libsuff
= shlibsuff
= libmagic
=32-bit;;
12371 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12372 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12373 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12374 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12375 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12379 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12380 shlibpath_overrides_runpath
=no
12381 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12382 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12383 hardcode_into_libs
=yes
12386 # No shared lib support for Linux oldld, aout, or coff.
12387 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12391 # This must be Linux ELF.
12396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12397 soname_spec
='${libname}${release}${shared_ext}$major'
12398 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12399 shlibpath_var
=LD_LIBRARY_PATH
12400 shlibpath_overrides_runpath
=no
12401 # This implies no fast_install, which is unacceptable.
12402 # Some rework will be needed to allow for fast_install
12403 # before this can be enabled.
12404 hardcode_into_libs
=yes
12406 # find out which ABI we are using
12408 case "$host_cpu" in
12409 x86_64
*|s390x
*|powerpc64
*)
12410 echo '#line 12410 "configure"' > conftest.
$ac_ext
12411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12412 (eval $ac_compile) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; then
12416 case `/usr/bin/file conftest.$ac_objext` in
12419 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12427 # Append ld.so.conf contents to the search path
12428 if test -f /etc
/ld.so.conf
; then
12429 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12430 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12433 # We used to test for /lib/ld.so.1 and disable shared libraries on
12434 # powerpc, because MkLinux only supported shared libraries with the
12435 # GNU dynamic linker. Since this was broken with cross compilers,
12436 # most powerpc-linux boxes support dynamic linking these days and
12437 # people can always --disable-shared, the test was removed, and we
12438 # assume the GNU/Linux dynamic linker is in use.
12439 dynamic_linker
='GNU/Linux ld.so'
12446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12447 soname_spec
='${libname}${release}${shared_ext}$major'
12448 shlibpath_var
=LD_LIBRARY_PATH
12449 shlibpath_overrides_runpath
=no
12450 hardcode_into_libs
=yes
12451 dynamic_linker
='GNU ld.so'
12458 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12460 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12461 dynamic_linker
='NetBSD (a.out) ld.so'
12463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12464 soname_spec
='${libname}${release}${shared_ext}$major'
12465 dynamic_linker
='NetBSD ld.elf_so'
12467 shlibpath_var
=LD_LIBRARY_PATH
12468 shlibpath_overrides_runpath
=yes
12469 hardcode_into_libs
=yes
12474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12475 shlibpath_var
=LD_LIBRARY_PATH
12476 shlibpath_overrides_runpath
=yes
12483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12484 soname_spec
='${libname}${release}${shared_ext}$major'
12485 shlibpath_var
=LD_LIBRARY_PATH
12486 shlibpath_overrides_runpath
=yes
12493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12494 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12495 shlibpath_var
=LD_LIBRARY_PATH
12496 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12498 openbsd2.
[89] | openbsd2.
[89].
*)
12499 shlibpath_overrides_runpath
=no
12502 shlibpath_overrides_runpath
=yes
12506 shlibpath_overrides_runpath
=yes
12511 libname_spec
='$name'
12514 library_names_spec
='$libname${shared_ext} $libname.a'
12515 dynamic_linker
='OS/2 ld.exe'
12516 shlibpath_var
=LIBPATH
12519 osf3
* | osf4
* | osf5
*)
12523 soname_spec
='${libname}${release}${shared_ext}$major'
12524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12525 shlibpath_var
=LD_LIBRARY_PATH
12526 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12527 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12532 soname_spec
='${libname}${release}${shared_ext}$major'
12533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12534 shlibpath_var
=LD_LIBRARY_PATH
12541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12542 soname_spec
='${libname}${release}${shared_ext}$major'
12543 shlibpath_var
=LD_LIBRARY_PATH
12544 shlibpath_overrides_runpath
=yes
12545 hardcode_into_libs
=yes
12546 # ldd complains unless libraries are executable
12547 postinstall_cmds
='chmod +x $lib'
12552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12553 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12554 shlibpath_var
=LD_LIBRARY_PATH
12555 shlibpath_overrides_runpath
=yes
12556 if test "$with_gnu_ld" = yes; then
12562 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12565 soname_spec
='${libname}${release}${shared_ext}$major'
12566 shlibpath_var
=LD_LIBRARY_PATH
12567 case $host_vendor in
12569 shlibpath_overrides_runpath
=no
12571 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12572 runpath_var
=LD_RUN_PATH
12580 shlibpath_overrides_runpath
=no
12581 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12587 if test -d /usr
/nec
;then
12589 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12590 soname_spec
='$libname${shared_ext}.$major'
12591 shlibpath_var
=LD_LIBRARY_PATH
12597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12598 soname_spec
='${libname}${release}${shared_ext}$major'
12599 shlibpath_var
=LD_LIBRARY_PATH
12606 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12607 echo "${ECHO_T}$dynamic_linker" >&6
12608 test "$dynamic_linker" = no
&& can_build_shared
=no
12610 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12611 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12612 hardcode_action_CXX
=
12613 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12614 test -n "$runpath_var_CXX" || \
12615 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12617 # We can hardcode non-existant directories.
12618 if test "$hardcode_direct_CXX" != no
&&
12619 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12620 # have to relink, otherwise we might link with an installed library
12621 # when we should be linking with a yet-to-be-installed one
12622 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12623 test "$hardcode_minus_L_CXX" != no
; then
12624 # Linking always hardcodes the temporary library directory.
12625 hardcode_action_CXX
=relink
12627 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12628 hardcode_action_CXX
=immediate
12631 # We cannot hardcode anything, or else we can only hardcode existing
12633 hardcode_action_CXX
=unsupported
12635 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12636 echo "${ECHO_T}$hardcode_action_CXX" >&6
12638 if test "$hardcode_action_CXX" = relink
; then
12639 # Fast installation is not supported
12640 enable_fast_install
=no
12641 elif test "$shlibpath_overrides_runpath" = yes ||
12642 test "$enable_shared" = no
; then
12643 # Fast installation is not necessary
12644 enable_fast_install
=needless
12649 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12650 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12651 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12652 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12653 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12654 echo "$as_me:$LINENO: result: yes" >&5
12655 echo "${ECHO_T}yes" >&6
12657 # FIXME - insert some real tests, host_os isn't really good enough
12660 if test -n "$STRIP" ; then
12661 striplib
="$STRIP -x"
12662 echo "$as_me:$LINENO: result: yes" >&5
12663 echo "${ECHO_T}yes" >&6
12665 echo "$as_me:$LINENO: result: no" >&5
12666 echo "${ECHO_T}no" >&6
12670 echo "$as_me:$LINENO: result: no" >&5
12671 echo "${ECHO_T}no" >&6
12676 if test "x$enable_dlopen" != xyes
; then
12677 enable_dlopen
=unknown
12678 enable_dlopen_self
=unknown
12679 enable_dlopen_self_static
=unknown
12686 lt_cv_dlopen
="load_add_on"
12688 lt_cv_dlopen_self
=yes
12692 lt_cv_dlopen
="LoadLibrary"
12697 lt_cv_dlopen
="dlopen"
12702 # if libdl is installed we need to link against it
12703 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12704 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12705 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12706 echo $ECHO_N "(cached) $ECHO_C" >&6
12708 ac_check_lib_save_LIBS
=$LIBS
12710 cat >conftest.
$ac_ext <<_ACEOF
12713 cat confdefs.h
>>conftest.
$ac_ext
12714 cat >>conftest.
$ac_ext <<_ACEOF
12715 /* end confdefs.h. */
12717 /* Override any gcc2 internal prototype to avoid an error. */
12721 /* We use char because int might match the return type of a gcc2
12722 builtin and then its argument prototype would still apply. */
12732 rm -f conftest.
$ac_objext conftest
$ac_exeext
12733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12734 (eval $ac_link) 2>conftest.er1
12736 grep -v '^ *+' conftest.er1
>conftest.err
12738 cat conftest.err
>&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); } &&
12741 { ac_try
='test -z "$ac_cxx_werror_flag"
12742 || test ! -s conftest.err'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; } &&
12748 { ac_try
='test -s conftest$ac_exeext'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; }; then
12754 ac_cv_lib_dl_dlopen
=yes
12756 echo "$as_me: failed program was:" >&5
12757 sed 's/^/| /' conftest.
$ac_ext >&5
12759 ac_cv_lib_dl_dlopen
=no
12761 rm -f conftest.err conftest.
$ac_objext \
12762 conftest
$ac_exeext conftest.
$ac_ext
12763 LIBS
=$ac_check_lib_save_LIBS
12765 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12766 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12767 if test $ac_cv_lib_dl_dlopen = yes; then
12768 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12771 lt_cv_dlopen
="dyld"
12773 lt_cv_dlopen_self
=yes
12780 echo "$as_me:$LINENO: checking for shl_load" >&5
12781 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12782 if test "${ac_cv_func_shl_load+set}" = set; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 cat >conftest.
$ac_ext <<_ACEOF
12788 cat confdefs.h
>>conftest.
$ac_ext
12789 cat >>conftest.
$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12791 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12793 #define shl_load innocuous_shl_load
12795 /* System header to define __stub macros and hopefully few prototypes,
12796 which can conflict with char shl_load (); below.
12797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12798 <limits.h> exists even on freestanding compilers. */
12801 # include <limits.h>
12803 # include <assert.h>
12808 /* Override any gcc2 internal prototype to avoid an error. */
12813 /* We use char because int might match the return type of a gcc2
12814 builtin and then its argument prototype would still apply. */
12816 /* The GNU C library defines this for functions which it implements
12817 to always fail with ENOSYS. Some functions are actually named
12818 something starting with __ and the normal name is an alias. */
12819 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12822 char (*f) () = shl_load;
12831 return f != shl_load;
12836 rm -f conftest.
$ac_objext conftest
$ac_exeext
12837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12838 (eval $ac_link) 2>conftest.er1
12840 grep -v '^ *+' conftest.er1
>conftest.err
12842 cat conftest.err
>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try
='test -z "$ac_cxx_werror_flag"
12846 || test ! -s conftest.err'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; } &&
12852 { ac_try
='test -s conftest$ac_exeext'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; }; then
12858 ac_cv_func_shl_load
=yes
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.
$ac_ext >&5
12863 ac_cv_func_shl_load
=no
12865 rm -f conftest.err conftest.
$ac_objext \
12866 conftest
$ac_exeext conftest.
$ac_ext
12868 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12869 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12870 if test $ac_cv_func_shl_load = yes; then
12871 lt_cv_dlopen
="shl_load"
12873 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12874 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12875 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12876 echo $ECHO_N "(cached) $ECHO_C" >&6
12878 ac_check_lib_save_LIBS
=$LIBS
12880 cat >conftest.
$ac_ext <<_ACEOF
12883 cat confdefs.h
>>conftest.
$ac_ext
12884 cat >>conftest.
$ac_ext <<_ACEOF
12885 /* end confdefs.h. */
12887 /* Override any gcc2 internal prototype to avoid an error. */
12891 /* We use char because int might match the return type of a gcc2
12892 builtin and then its argument prototype would still apply. */
12902 rm -f conftest.
$ac_objext conftest
$ac_exeext
12903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12904 (eval $ac_link) 2>conftest.er1
12906 grep -v '^ *+' conftest.er1
>conftest.err
12908 cat conftest.err
>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); } &&
12911 { ac_try
='test -z "$ac_cxx_werror_flag"
12912 || test ! -s conftest.err'
12913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12914 (eval $ac_try) 2>&5
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }; } &&
12918 { ac_try
='test -s conftest$ac_exeext'
12919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12920 (eval $ac_try) 2>&5
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); }; }; then
12924 ac_cv_lib_dld_shl_load
=yes
12926 echo "$as_me: failed program was:" >&5
12927 sed 's/^/| /' conftest.
$ac_ext >&5
12929 ac_cv_lib_dld_shl_load
=no
12931 rm -f conftest.err conftest.
$ac_objext \
12932 conftest
$ac_exeext conftest.
$ac_ext
12933 LIBS
=$ac_check_lib_save_LIBS
12935 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12936 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12937 if test $ac_cv_lib_dld_shl_load = yes; then
12938 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12940 echo "$as_me:$LINENO: checking for dlopen" >&5
12941 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12942 if test "${ac_cv_func_dlopen+set}" = set; then
12943 echo $ECHO_N "(cached) $ECHO_C" >&6
12945 cat >conftest.
$ac_ext <<_ACEOF
12948 cat confdefs.h
>>conftest.
$ac_ext
12949 cat >>conftest.
$ac_ext <<_ACEOF
12950 /* end confdefs.h. */
12951 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12953 #define dlopen innocuous_dlopen
12955 /* System header to define __stub macros and hopefully few prototypes,
12956 which can conflict with char dlopen (); below.
12957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12958 <limits.h> exists even on freestanding compilers. */
12961 # include <limits.h>
12963 # include <assert.h>
12968 /* Override any gcc2 internal prototype to avoid an error. */
12973 /* We use char because int might match the return type of a gcc2
12974 builtin and then its argument prototype would still apply. */
12976 /* The GNU C library defines this for functions which it implements
12977 to always fail with ENOSYS. Some functions are actually named
12978 something starting with __ and the normal name is an alias. */
12979 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12982 char (*f) () = dlopen;
12991 return f != dlopen;
12996 rm -f conftest.
$ac_objext conftest
$ac_exeext
12997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12998 (eval $ac_link) 2>conftest.er1
13000 grep -v '^ *+' conftest.er1
>conftest.err
13002 cat conftest.err
>&5
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); } &&
13005 { ac_try
='test -z "$ac_cxx_werror_flag"
13006 || test ! -s conftest.err'
13007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13008 (eval $ac_try) 2>&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); }; } &&
13012 { ac_try
='test -s conftest$ac_exeext'
13013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13014 (eval $ac_try) 2>&5
13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); }; }; then
13018 ac_cv_func_dlopen
=yes
13020 echo "$as_me: failed program was:" >&5
13021 sed 's/^/| /' conftest.
$ac_ext >&5
13023 ac_cv_func_dlopen
=no
13025 rm -f conftest.err conftest.
$ac_objext \
13026 conftest
$ac_exeext conftest.
$ac_ext
13028 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13029 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
13030 if test $ac_cv_func_dlopen = yes; then
13031 lt_cv_dlopen
="dlopen"
13033 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13034 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13035 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13036 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 ac_check_lib_save_LIBS
=$LIBS
13040 cat >conftest.
$ac_ext <<_ACEOF
13043 cat confdefs.h
>>conftest.
$ac_ext
13044 cat >>conftest.
$ac_ext <<_ACEOF
13045 /* end confdefs.h. */
13047 /* Override any gcc2 internal prototype to avoid an error. */
13051 /* We use char because int might match the return type of a gcc2
13052 builtin and then its argument prototype would still apply. */
13062 rm -f conftest.
$ac_objext conftest
$ac_exeext
13063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13064 (eval $ac_link) 2>conftest.er1
13066 grep -v '^ *+' conftest.er1
>conftest.err
13068 cat conftest.err
>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); } &&
13071 { ac_try
='test -z "$ac_cxx_werror_flag"
13072 || test ! -s conftest.err'
13073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13074 (eval $ac_try) 2>&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); }; } &&
13078 { ac_try
='test -s conftest$ac_exeext'
13079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13080 (eval $ac_try) 2>&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }; }; then
13084 ac_cv_lib_dl_dlopen
=yes
13086 echo "$as_me: failed program was:" >&5
13087 sed 's/^/| /' conftest.
$ac_ext >&5
13089 ac_cv_lib_dl_dlopen
=no
13091 rm -f conftest.err conftest.
$ac_objext \
13092 conftest
$ac_exeext conftest.
$ac_ext
13093 LIBS
=$ac_check_lib_save_LIBS
13095 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13096 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13097 if test $ac_cv_lib_dl_dlopen = yes; then
13098 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13100 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13101 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13102 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13105 ac_check_lib_save_LIBS
=$LIBS
13106 LIBS
="-lsvld $LIBS"
13107 cat >conftest.
$ac_ext <<_ACEOF
13110 cat confdefs.h
>>conftest.
$ac_ext
13111 cat >>conftest.
$ac_ext <<_ACEOF
13112 /* end confdefs.h. */
13114 /* Override any gcc2 internal prototype to avoid an error. */
13118 /* We use char because int might match the return type of a gcc2
13119 builtin and then its argument prototype would still apply. */
13129 rm -f conftest.
$ac_objext conftest
$ac_exeext
13130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13131 (eval $ac_link) 2>conftest.er1
13133 grep -v '^ *+' conftest.er1
>conftest.err
13135 cat conftest.err
>&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); } &&
13138 { ac_try
='test -z "$ac_cxx_werror_flag"
13139 || test ! -s conftest.err'
13140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13141 (eval $ac_try) 2>&5
13143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13144 (exit $ac_status); }; } &&
13145 { ac_try
='test -s conftest$ac_exeext'
13146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13147 (eval $ac_try) 2>&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); }; }; then
13151 ac_cv_lib_svld_dlopen
=yes
13153 echo "$as_me: failed program was:" >&5
13154 sed 's/^/| /' conftest.
$ac_ext >&5
13156 ac_cv_lib_svld_dlopen
=no
13158 rm -f conftest.err conftest.
$ac_objext \
13159 conftest
$ac_exeext conftest.
$ac_ext
13160 LIBS
=$ac_check_lib_save_LIBS
13162 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13163 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
13164 if test $ac_cv_lib_svld_dlopen = yes; then
13165 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13167 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13168 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
13169 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 ac_check_lib_save_LIBS
=$LIBS
13174 cat >conftest.
$ac_ext <<_ACEOF
13177 cat confdefs.h
>>conftest.
$ac_ext
13178 cat >>conftest.
$ac_ext <<_ACEOF
13179 /* end confdefs.h. */
13181 /* Override any gcc2 internal prototype to avoid an error. */
13185 /* We use char because int might match the return type of a gcc2
13186 builtin and then its argument prototype would still apply. */
13196 rm -f conftest.
$ac_objext conftest
$ac_exeext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13198 (eval $ac_link) 2>conftest.er1
13200 grep -v '^ *+' conftest.er1
>conftest.err
13202 cat conftest.err
>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } &&
13205 { ac_try
='test -z "$ac_cxx_werror_flag"
13206 || test ! -s conftest.err'
13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13208 (eval $ac_try) 2>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); }; } &&
13212 { ac_try
='test -s conftest$ac_exeext'
13213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13214 (eval $ac_try) 2>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); }; }; then
13218 ac_cv_lib_dld_dld_link
=yes
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.
$ac_ext >&5
13223 ac_cv_lib_dld_dld_link
=no
13225 rm -f conftest.err conftest.
$ac_objext \
13226 conftest
$ac_exeext conftest.
$ac_ext
13227 LIBS
=$ac_check_lib_save_LIBS
13229 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13230 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13231 if test $ac_cv_lib_dld_dld_link = yes; then
13232 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
13253 if test "x$lt_cv_dlopen" != xno
; then
13259 case $lt_cv_dlopen in
13261 save_CPPFLAGS
="$CPPFLAGS"
13262 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13264 save_LDFLAGS
="$LDFLAGS"
13265 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13268 LIBS
="$lt_cv_dlopen_libs $LIBS"
13270 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13271 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
13272 if test "${lt_cv_dlopen_self+set}" = set; then
13273 echo $ECHO_N "(cached) $ECHO_C" >&6
13275 if test "$cross_compiling" = yes; then :
13276 lt_cv_dlopen_self
=cross
13278 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13279 lt_status
=$lt_dlunknown
13280 cat > conftest.
$ac_ext <<EOF
13281 #line 13281 "configure"
13282 #include "confdefs.h"
13291 # define LT_DLGLOBAL RTLD_GLOBAL
13294 # define LT_DLGLOBAL DL_GLOBAL
13296 # define LT_DLGLOBAL 0
13300 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13301 find out it does not work in some platform. */
13302 #ifndef LT_DLLAZY_OR_NOW
13304 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13307 # define LT_DLLAZY_OR_NOW DL_LAZY
13310 # define LT_DLLAZY_OR_NOW RTLD_NOW
13313 # define LT_DLLAZY_OR_NOW DL_NOW
13315 # define LT_DLLAZY_OR_NOW 0
13323 extern "C" void exit (int);
13326 void fnord() { int i=42;}
13329 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13330 int status = $lt_dlunknown;
13334 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13335 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13336 /* dlclose (self); */
13342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13343 (eval $ac_link) 2>&5
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13346 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13347 (.
/conftest
; exit; ) 2>/dev
/null
13349 case x
$lt_status in
13350 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13351 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13352 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
13355 # compilation failed
13356 lt_cv_dlopen_self
=no
13363 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13364 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13366 if test "x$lt_cv_dlopen_self" = xyes
; then
13367 LDFLAGS
="$LDFLAGS $link_static_flag"
13368 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13369 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13370 if test "${lt_cv_dlopen_self_static+set}" = set; then
13371 echo $ECHO_N "(cached) $ECHO_C" >&6
13373 if test "$cross_compiling" = yes; then :
13374 lt_cv_dlopen_self_static
=cross
13376 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13377 lt_status
=$lt_dlunknown
13378 cat > conftest.
$ac_ext <<EOF
13379 #line 13379 "configure"
13380 #include "confdefs.h"
13389 # define LT_DLGLOBAL RTLD_GLOBAL
13392 # define LT_DLGLOBAL DL_GLOBAL
13394 # define LT_DLGLOBAL 0
13398 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13399 find out it does not work in some platform. */
13400 #ifndef LT_DLLAZY_OR_NOW
13402 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13405 # define LT_DLLAZY_OR_NOW DL_LAZY
13408 # define LT_DLLAZY_OR_NOW RTLD_NOW
13411 # define LT_DLLAZY_OR_NOW DL_NOW
13413 # define LT_DLLAZY_OR_NOW 0
13421 extern "C" void exit (int);
13424 void fnord() { int i=42;}
13427 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13428 int status = $lt_dlunknown;
13432 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13433 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13434 /* dlclose (self); */
13440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13441 (eval $ac_link) 2>&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13445 (.
/conftest
; exit; ) 2>/dev
/null
13447 case x
$lt_status in
13448 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13449 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13450 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
13453 # compilation failed
13454 lt_cv_dlopen_self_static
=no
13461 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13462 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13465 CPPFLAGS
="$save_CPPFLAGS"
13466 LDFLAGS
="$save_LDFLAGS"
13471 case $lt_cv_dlopen_self in
13472 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13473 *) enable_dlopen_self
=unknown
;;
13476 case $lt_cv_dlopen_self_static in
13477 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13478 *) enable_dlopen_self_static
=unknown
;;
13483 # The else clause should only fire when bootstrapping the
13484 # libtool distribution, otherwise you forgot to ship ltmain.sh
13485 # with your package, and you will get complaints that there are
13486 # no rules to generate ltmain.sh.
13487 if test -f "$ltmain"; then
13488 # See if we are running on zsh, and set the options which allow our commands through
13489 # without removal of \ escapes.
13490 if test -n "${ZSH_VERSION+set}" ; then
13491 setopt NO_GLOB_SUBST
13493 # Now quote all the things that may contain metacharacters while being
13494 # careful not to overquote the AC_SUBSTed values. We take copies of the
13495 # variables and quote the copies for generation of the libtool script.
13496 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13498 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13499 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13500 deplibs_check_method reload_flag reload_cmds need_locks \
13501 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13502 lt_cv_sys_global_symbol_to_c_name_address \
13503 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13504 old_postinstall_cmds old_postuninstall_cmds \
13508 lt_prog_compiler_wl_CXX \
13509 lt_prog_compiler_pic_CXX \
13510 lt_prog_compiler_static_CXX \
13511 lt_prog_compiler_no_builtin_flag_CXX \
13512 export_dynamic_flag_spec_CXX \
13513 thread_safe_flag_spec_CXX \
13514 whole_archive_flag_spec_CXX \
13515 enable_shared_with_static_runtimes_CXX \
13516 old_archive_cmds_CXX \
13517 old_archive_from_new_cmds_CXX \
13518 predep_objects_CXX \
13519 postdep_objects_CXX \
13522 compiler_lib_search_path_CXX \
13524 archive_expsym_cmds_CXX \
13525 postinstall_cmds_CXX \
13526 postuninstall_cmds_CXX \
13527 old_archive_from_expsyms_cmds_CXX \
13528 allow_undefined_flag_CXX \
13529 no_undefined_flag_CXX \
13530 export_symbols_cmds_CXX \
13531 hardcode_libdir_flag_spec_CXX \
13532 hardcode_libdir_flag_spec_ld_CXX \
13533 hardcode_libdir_separator_CXX \
13534 hardcode_automatic_CXX \
13536 module_expsym_cmds_CXX \
13537 lt_cv_prog_compiler_c_o_CXX \
13538 exclude_expsyms_CXX \
13539 include_expsyms_CXX
; do
13542 old_archive_cmds_CXX | \
13543 old_archive_from_new_cmds_CXX | \
13544 archive_cmds_CXX | \
13545 archive_expsym_cmds_CXX | \
13546 module_cmds_CXX | \
13547 module_expsym_cmds_CXX | \
13548 old_archive_from_expsyms_cmds_CXX | \
13549 export_symbols_cmds_CXX | \
13550 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13551 postinstall_cmds | postuninstall_cmds | \
13552 old_postinstall_cmds | old_postuninstall_cmds | \
13553 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13554 # Double-quote double-evaled strings.
13555 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13558 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13564 *'\$0 --fallback-echo"')
13565 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13571 cat <<__EOF__ >> "$cfgfile"
13572 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13574 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13576 # Shell to use when invoking shell scripts.
13579 # Whether or not to build shared libraries.
13580 build_libtool_libs=$enable_shared
13582 # Whether or not to build static libraries.
13583 build_old_libs=$enable_static
13585 # Whether or not to add -lc for building shared libraries.
13586 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13588 # Whether or not to disallow shared libs when runtime libs are static
13589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13591 # Whether or not to optimize for fast installation.
13592 fast_install=$enable_fast_install
13595 host_alias=$host_alias
13599 # The build system.
13600 build_alias=$build_alias
13604 # An echo program that does not interpret backslashes.
13609 AR_FLAGS=$lt_AR_FLAGS
13614 # A language-specific compiler.
13615 CC=$lt_compiler_CXX
13617 # Is the compiler the GNU C compiler?
13623 # The linker used to build libraries.
13626 # Whether we need hard or soft links.
13629 # A BSD-compatible nm program.
13632 # A symbol stripping program
13635 # Used to examine libraries when file_magic_cmd begins "file"
13636 MAGIC_CMD=$MAGIC_CMD
13638 # Used on cygwin: DLL creation program.
13641 # Used on cygwin: object dumper.
13644 # Used on cygwin: assembler.
13647 # The name of the directory that contains temporary libtool files.
13650 # How to create reloadable object files.
13651 reload_flag=$lt_reload_flag
13652 reload_cmds=$lt_reload_cmds
13654 # How to pass a linker flag through the compiler.
13655 wl=$lt_lt_prog_compiler_wl_CXX
13657 # Object file suffix (normally "o").
13658 objext="$ac_objext"
13660 # Old archive suffix (normally "a").
13663 # Shared library suffix (normally ".so").
13664 shrext_cmds='$shrext_cmds'
13666 # Executable file suffix (normally "").
13669 # Additional compiler flags for building library objects.
13670 pic_flag=$lt_lt_prog_compiler_pic_CXX
13673 # What is the maximum length of a command?
13674 max_cmd_len=$lt_cv_sys_max_cmd_len
13676 # Does compiler simultaneously support -c and -o options?
13677 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13679 # Must we lock files when doing compilation?
13680 need_locks=$lt_need_locks
13682 # Do we need the lib prefix for modules?
13683 need_lib_prefix=$need_lib_prefix
13685 # Do we need a version for libraries?
13686 need_version=$need_version
13688 # Whether dlopen is supported.
13689 dlopen_support=$enable_dlopen
13691 # Whether dlopen of programs is supported.
13692 dlopen_self=$enable_dlopen_self
13694 # Whether dlopen of statically linked programs is supported.
13695 dlopen_self_static=$enable_dlopen_self_static
13697 # Compiler flag to prevent dynamic linking.
13698 link_static_flag=$lt_lt_prog_compiler_static_CXX
13700 # Compiler flag to turn off builtin functions.
13701 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13703 # Compiler flag to allow reflexive dlopens.
13704 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13706 # Compiler flag to generate shared objects directly from archives.
13707 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13709 # Compiler flag to generate thread-safe objects.
13710 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13712 # Library versioning type.
13713 version_type=$version_type
13715 # Format of library name prefix.
13716 libname_spec=$lt_libname_spec
13718 # List of archive names. First name is the real one, the rest are links.
13719 # The last name is the one that the linker finds with -lNAME.
13720 library_names_spec=$lt_library_names_spec
13722 # The coded name of the library, if different from the real name.
13723 soname_spec=$lt_soname_spec
13725 # Commands used to build and install an old-style archive.
13727 old_archive_cmds=$lt_old_archive_cmds_CXX
13728 old_postinstall_cmds=$lt_old_postinstall_cmds
13729 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13731 # Create an old-style archive from a shared archive.
13732 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13734 # Create a temporary old-style archive to link instead of a shared archive.
13735 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13737 # Commands used to build and install a shared archive.
13738 archive_cmds=$lt_archive_cmds_CXX
13739 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13740 postinstall_cmds=$lt_postinstall_cmds
13741 postuninstall_cmds=$lt_postuninstall_cmds
13743 # Commands used to build a loadable module (assumed same as above if empty)
13744 module_cmds=$lt_module_cmds_CXX
13745 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13747 # Commands to strip libraries.
13748 old_striplib=$lt_old_striplib
13749 striplib=$lt_striplib
13751 # Dependencies to place before the objects being linked to create a
13753 predep_objects=$lt_predep_objects_CXX
13755 # Dependencies to place after the objects being linked to create a
13757 postdep_objects=$lt_postdep_objects_CXX
13759 # Dependencies to place before the objects being linked to create a
13761 predeps=$lt_predeps_CXX
13763 # Dependencies to place after the objects being linked to create a
13765 postdeps=$lt_postdeps_CXX
13767 # The library search path used internally by the compiler when linking
13768 # a shared library.
13769 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13771 # Method to check whether dependent libraries are shared objects.
13772 deplibs_check_method=$lt_deplibs_check_method
13774 # Command to use when deplibs_check_method == file_magic.
13775 file_magic_cmd=$lt_file_magic_cmd
13777 # Flag that allows shared libraries with undefined symbols to be built.
13778 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13780 # Flag that forces no undefined symbols.
13781 no_undefined_flag=$lt_no_undefined_flag_CXX
13783 # Commands used to finish a libtool library installation in a directory.
13784 finish_cmds=$lt_finish_cmds
13786 # Same as above, but a single script fragment to be evaled but not shown.
13787 finish_eval=$lt_finish_eval
13789 # Take the output of nm and produce a listing of raw symbols and C names.
13790 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13792 # Transform the output of nm in a proper C declaration
13793 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13795 # Transform the output of nm in a C name address pair
13796 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13798 # This is the shared library runtime path variable.
13799 runpath_var=$runpath_var
13801 # This is the shared library path variable.
13802 shlibpath_var=$shlibpath_var
13804 # Is shlibpath searched before the hard-coded library search path?
13805 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13807 # How to hardcode a shared library path into an executable.
13808 hardcode_action=$hardcode_action_CXX
13810 # Whether we should hardcode library paths into libraries.
13811 hardcode_into_libs=$hardcode_into_libs
13813 # Flag to hardcode \$libdir into a binary during linking.
13814 # This must work even if \$libdir does not exist.
13815 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13817 # If ld is used when linking, flag to hardcode \$libdir into
13818 # a binary during linking. This must work even if \$libdir does
13820 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13822 # Whether we need a single -rpath flag with a separated argument.
13823 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13825 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13826 # resulting binary.
13827 hardcode_direct=$hardcode_direct_CXX
13829 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13830 # resulting binary.
13831 hardcode_minus_L=$hardcode_minus_L_CXX
13833 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13834 # the resulting binary.
13835 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13837 # Set to yes if building a shared library automatically hardcodes DIR into the library
13838 # and all subsequent libraries and executables linked against it.
13839 hardcode_automatic=$hardcode_automatic_CXX
13841 # Variables whose values should be saved in libtool wrapper scripts and
13842 # restored at relink time.
13843 variables_saved_for_relink="$variables_saved_for_relink"
13845 # Whether libtool must link a program against all its dependency libraries.
13846 link_all_deplibs=$link_all_deplibs_CXX
13848 # Compile-time system search path for libraries
13849 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13851 # Run-time system search path for libraries
13852 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13854 # Fix the shell variable \$srcfile for the compiler.
13855 fix_srcfile_path="$fix_srcfile_path_CXX"
13857 # Set to yes if exported symbols are required.
13858 always_export_symbols=$always_export_symbols_CXX
13860 # The commands to list exported symbols.
13861 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13863 # The commands to extract the exported symbol list from a shared archive.
13864 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13866 # Symbols that should not be listed in the preloaded symbols.
13867 exclude_expsyms=$lt_exclude_expsyms_CXX
13869 # Symbols that must always be exported.
13870 include_expsyms=$lt_include_expsyms_CXX
13872 # ### END LIBTOOL TAG CONFIG: $tagname
13878 # If there is no Makefile yet, we rely on a make rule to execute
13879 # `config.status --recheck' to rerun these tests and create the
13880 # libtool script then.
13881 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13882 if test -f "$ltmain_in"; then
13883 test -f Makefile
&& make "$ltmain"
13889 ac_cpp
='$CPP $CPPFLAGS'
13890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13898 with_gnu_ldcxx
=$with_gnu_ld
13899 with_gnu_ld
=$lt_save_with_gnu_ld
13900 lt_cv_path_LDCXX
=$lt_cv_path_LD
13901 lt_cv_path_LD
=$lt_save_path_LD
13902 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13903 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13911 if test -n "$F77" && test "X$F77" != "Xno"; then
13914 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13915 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13916 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13919 archive_cmds_need_lc_F77
=no
13920 allow_undefined_flag_F77
=
13921 always_export_symbols_F77
=no
13922 archive_expsym_cmds_F77
=
13923 export_dynamic_flag_spec_F77
=
13924 hardcode_direct_F77
=no
13925 hardcode_libdir_flag_spec_F77
=
13926 hardcode_libdir_flag_spec_ld_F77
=
13927 hardcode_libdir_separator_F77
=
13928 hardcode_minus_L_F77
=no
13929 hardcode_automatic_F77
=no
13931 module_expsym_cmds_F77
=
13932 link_all_deplibs_F77
=unknown
13933 old_archive_cmds_F77
=$old_archive_cmds
13934 no_undefined_flag_F77
=
13935 whole_archive_flag_spec_F77
=
13936 enable_shared_with_static_runtimes_F77
=no
13938 # Source file extension for f77 test sources.
13941 # Object file extension for compiled f77 test sources.
13945 # Code to be used in simple compile tests
13946 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13948 # Code to be used in simple link tests
13949 lt_simple_link_test_code
=" program t\n end\n"
13951 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13953 # If no C compiler was specified, use CC.
13956 # Allow CC to be a program name with arguments.
13960 # save warnings/boilerplate of simple test code
13961 ac_outfile
=conftest.
$ac_objext
13962 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13963 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
13964 _lt_compiler_boilerplate
=`cat conftest.err`
13967 ac_outfile
=conftest.
$ac_objext
13968 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13969 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
13970 _lt_linker_boilerplate
=`cat conftest.err`
13974 # Allow CC to be a program name with arguments.
13979 for cc_temp
in $compiler""; do
13981 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13982 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13987 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13990 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13991 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13992 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13993 echo "${ECHO_T}$can_build_shared" >&6
13995 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13996 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13997 test "$can_build_shared" = "no" && enable_shared
=no
13999 # On AIX, shared libraries and static libraries use the same namespace, and
14000 # are all built from PIC.
14003 test "$enable_shared" = yes && enable_static
=no
14004 if test -n "$RANLIB"; then
14005 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14006 postinstall_cmds
='$RANLIB $lib'
14010 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14011 test "$enable_shared" = yes && enable_static
=no
14015 echo "$as_me:$LINENO: result: $enable_shared" >&5
14016 echo "${ECHO_T}$enable_shared" >&6
14018 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14019 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
14020 # Make sure either enable_shared or enable_static is yes.
14021 test "$enable_shared" = yes || enable_static
=yes
14022 echo "$as_me:$LINENO: result: $enable_static" >&5
14023 echo "${ECHO_T}$enable_static" >&6
14025 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14030 lt_prog_compiler_wl_F77
=
14031 lt_prog_compiler_pic_F77
=
14032 lt_prog_compiler_static_F77
=
14034 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14035 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14037 if test "$GCC" = yes; then
14038 lt_prog_compiler_wl_F77
='-Wl,'
14039 lt_prog_compiler_static_F77
='-static'
14043 # All AIX code is PIC.
14044 if test "$host_cpu" = ia64
; then
14045 # AIX 5 now supports IA64 processor
14046 lt_prog_compiler_static_F77
='-Bstatic'
14051 # FIXME: we need at least 68020 code to build shared libraries, but
14052 # adding the `-m68020' flag to GCC prevents building anything better,
14054 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14057 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14058 # PIC is the default for these OSes.
14061 mingw
* | pw32
* | os2
*)
14062 # This hack is so that the source file can tell whether it is being
14063 # built for inclusion in a dll (and should export symbols for example).
14064 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14067 darwin
* | rhapsody
*)
14068 # PIC is the default on this platform
14069 # Common symbols not allowed in MH_DYLIB files
14070 lt_prog_compiler_pic_F77
='-fno-common'
14074 # Just because we use GCC doesn't mean we suddenly get shared libraries
14075 # on systems that don't support them.
14076 lt_prog_compiler_can_build_shared_F77
=no
14081 if test -d /usr
/nec
; then
14082 lt_prog_compiler_pic_F77
=-Kconform_pic
14087 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14088 # not for PA HP-UX.
14089 case "$host_cpu" in
14094 lt_prog_compiler_pic_F77
='-fPIC'
14100 lt_prog_compiler_pic_F77
='-fPIC'
14104 # PORTME Check for flag to pass linker flags through the system compiler.
14107 lt_prog_compiler_wl_F77
='-Wl,'
14108 if test "$host_cpu" = ia64
; then
14109 # AIX 5 now supports IA64 processor
14110 lt_prog_compiler_static_F77
='-Bstatic'
14112 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14116 # PIC is the default on this platform
14117 # Common symbols not allowed in MH_DYLIB files
14118 case $cc_basename in
14120 lt_prog_compiler_pic_F77
='-qnocommon'
14121 lt_prog_compiler_wl_F77
='-Wl,'
14126 mingw
* | pw32
* | os2
*)
14127 # This hack is so that the source file can tell whether it is being
14128 # built for inclusion in a dll (and should export symbols for example).
14129 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14132 hpux9
* | hpux10
* | hpux11
*)
14133 lt_prog_compiler_wl_F77
='-Wl,'
14134 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14135 # not for PA HP-UX.
14136 case "$host_cpu" in
14141 lt_prog_compiler_pic_F77
='+Z'
14144 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14145 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14148 irix5
* | irix6
* | nonstopux
*)
14149 lt_prog_compiler_wl_F77
='-Wl,'
14150 # PIC (with -KPIC) is the default.
14151 lt_prog_compiler_static_F77
='-non_shared'
14155 lt_prog_compiler_pic_F77
='-KPIC'
14156 lt_prog_compiler_static_F77
='-Bstatic'
14160 case $cc_basename in
14162 lt_prog_compiler_wl_F77
='-Wl,'
14163 lt_prog_compiler_pic_F77
='-KPIC'
14164 lt_prog_compiler_static_F77
='-static'
14166 pgcc
* | pgf77
* | pgf90
*)
14167 # Portland Group compilers (*not* the Pentium gcc compiler,
14168 # which looks to be a dead project)
14169 lt_prog_compiler_wl_F77
='-Wl,'
14170 lt_prog_compiler_pic_F77
='-fpic'
14171 lt_prog_compiler_static_F77
='-static'
14174 lt_prog_compiler_wl_F77
='-Wl,'
14175 # All Alpha code is PIC.
14176 lt_prog_compiler_static_F77
='-non_shared'
14181 osf3
* | osf4
* | osf5
*)
14182 lt_prog_compiler_wl_F77
='-Wl,'
14183 # All OSF/1 code is PIC.
14184 lt_prog_compiler_static_F77
='-non_shared'
14188 lt_prog_compiler_pic_F77
='-Kpic'
14189 lt_prog_compiler_static_F77
='-dn'
14193 lt_prog_compiler_pic_F77
='-KPIC'
14194 lt_prog_compiler_static_F77
='-Bstatic'
14195 case $cc_basename in
14196 f77
* | f90
* | f95
*)
14197 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14199 lt_prog_compiler_wl_F77
='-Wl,';;
14204 lt_prog_compiler_wl_F77
='-Qoption ld '
14205 lt_prog_compiler_pic_F77
='-PIC'
14206 lt_prog_compiler_static_F77
='-Bstatic'
14209 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14210 lt_prog_compiler_wl_F77
='-Wl,'
14211 lt_prog_compiler_pic_F77
='-KPIC'
14212 lt_prog_compiler_static_F77
='-Bstatic'
14216 if test -d /usr
/nec
;then
14217 lt_prog_compiler_pic_F77
='-Kconform_pic'
14218 lt_prog_compiler_static_F77
='-Bstatic'
14223 lt_prog_compiler_wl_F77
='-Wl,'
14224 lt_prog_compiler_can_build_shared_F77
=no
14228 lt_prog_compiler_pic_F77
='-pic'
14229 lt_prog_compiler_static_F77
='-Bstatic'
14233 lt_prog_compiler_can_build_shared_F77
=no
14238 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14239 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
14242 # Check to make sure the PIC flag actually works.
14244 if test -n "$lt_prog_compiler_pic_F77"; then
14246 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14247 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
14248 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14249 echo $ECHO_N "(cached) $ECHO_C" >&6
14251 lt_prog_compiler_pic_works_F77
=no
14252 ac_outfile
=conftest.
$ac_objext
14253 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14254 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14255 # Insert the option either (1) after the last *FLAGS variable, or
14256 # (2) before a word containing "conftest.", or (3) at the end.
14257 # Note that $ac_compile itself does not contain backslashes and begins
14258 # with a dollar sign (not a hyphen), so the echo should work correctly.
14259 # The option is referenced via a variable to avoid confusing sed.
14260 lt_compile
=`echo "$ac_compile" | $SED \
14261 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14262 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14263 -e 's:$: $lt_compiler_flag:'`
14264 (eval echo "\"\$as_me:14264: $lt_compile\"" >&5)
14265 (eval "$lt_compile" 2>conftest.err
)
14267 cat conftest.err
>&5
14268 echo "$as_me:14268: \$? = $ac_status" >&5
14269 if (exit $ac_status) && test -s "$ac_outfile"; then
14270 # The compiler can only warn and ignore the option if not recognized
14271 # So say no if there are warnings other than the usual output.
14272 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
14273 $SED '/^$/d' conftest.err
>conftest.er2
14274 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14275 lt_prog_compiler_pic_works_F77
=yes
14281 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14282 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
14284 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14285 case $lt_prog_compiler_pic_F77 in
14287 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14290 lt_prog_compiler_pic_F77
=
14291 lt_prog_compiler_can_build_shared_F77
=no
14296 # For platforms which do not support PIC, -DPIC is meaningless:
14298 lt_prog_compiler_pic_F77
=
14301 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14305 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14306 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14307 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14308 echo $ECHO_N "(cached) $ECHO_C" >&6
14310 lt_cv_prog_compiler_c_o_F77
=no
14311 $rm -r conftest
2>/dev
/null
14315 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14317 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14318 # Insert the option either (1) after the last *FLAGS variable, or
14319 # (2) before a word containing "conftest.", or (3) at the end.
14320 # Note that $ac_compile itself does not contain backslashes and begins
14321 # with a dollar sign (not a hyphen), so the echo should work correctly.
14322 lt_compile
=`echo "$ac_compile" | $SED \
14323 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14324 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14325 -e 's:$: $lt_compiler_flag:'`
14326 (eval echo "\"\$as_me:14326: $lt_compile\"" >&5)
14327 (eval "$lt_compile" 2>out
/conftest.err
)
14329 cat out
/conftest.err
>&5
14330 echo "$as_me:14330: \$? = $ac_status" >&5
14331 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14333 # The compiler can only warn and ignore the option if not recognized
14334 # So say no if there are warnings
14335 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
14336 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
14337 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14338 lt_cv_prog_compiler_c_o_F77
=yes
14343 # SGI C++ compiler will create directory out/ii_files/ for
14344 # template instantiation
14345 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14346 $rm out
/* && rmdir out
14352 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14353 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
14356 hard_links
="nottested"
14357 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14358 # do not overwrite the value of need_locks provided by the user
14359 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14360 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14363 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14365 ln conftest.a conftest.b
2>&5 || hard_links
=no
14366 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14367 echo "$as_me:$LINENO: result: $hard_links" >&5
14368 echo "${ECHO_T}$hard_links" >&6
14369 if test "$hard_links" = no
; then
14370 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14371 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14378 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14379 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14382 allow_undefined_flag_F77
=
14383 enable_shared_with_static_runtimes_F77
=no
14385 archive_expsym_cmds_F77
=
14386 old_archive_From_new_cmds_F77
=
14387 old_archive_from_expsyms_cmds_F77
=
14388 export_dynamic_flag_spec_F77
=
14389 whole_archive_flag_spec_F77
=
14390 thread_safe_flag_spec_F77
=
14391 hardcode_libdir_flag_spec_F77
=
14392 hardcode_libdir_flag_spec_ld_F77
=
14393 hardcode_libdir_separator_F77
=
14394 hardcode_direct_F77
=no
14395 hardcode_minus_L_F77
=no
14396 hardcode_shlibpath_var_F77
=unsupported
14397 link_all_deplibs_F77
=unknown
14398 hardcode_automatic_F77
=no
14400 module_expsym_cmds_F77
=
14401 always_export_symbols_F77
=no
14402 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14403 # include_expsyms should be a list of space-separated symbols to be *always*
14404 # included in the symbol list
14405 include_expsyms_F77
=
14406 # exclude_expsyms can be an extended regexp of symbols to exclude
14407 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14408 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14409 # as well as any symbol that contains `d'.
14410 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14411 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14412 # platforms (ab)use it in PIC code, but their linkers get confused if
14413 # the symbol is explicitly referenced. Since portable code cannot
14414 # rely on this symbol name, it's probably fine to never include it in
14415 # preloaded symbol tables.
14416 extract_expsyms_cmds
=
14417 # Just being paranoid about ensuring that cc_basename is set.
14418 for cc_temp
in $compiler""; do
14420 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14421 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14426 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14429 cygwin
* | mingw
* | pw32
*)
14430 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14431 # When not using gcc, we currently assume that we are using
14432 # Microsoft Visual C++.
14433 if test "$GCC" != yes; then
14443 if test "$with_gnu_ld" = yes; then
14444 # If archive_cmds runs LD, not CC, wlarc should be empty
14447 # Set some defaults for GNU ld with shared library support. These
14448 # are reset later if shared libraries are not supported. Putting them
14449 # here allows them to be overridden if necessary.
14450 runpath_var
=LD_RUN_PATH
14451 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14452 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14453 # ancient GNU ld didn't support --whole-archive et. al.
14454 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14455 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14457 whole_archive_flag_spec_F77
=
14459 supports_anon_versioning
=no
14460 case `$LD -v 2>/dev/null` in
14461 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14462 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14463 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14464 *\
2.11.
*) ;; # other 2.11 versions
14465 *) supports_anon_versioning
=yes ;;
14468 # See if GNU ld supports shared libraries.
14470 aix3
* | aix4
* | aix5
*)
14471 # On AIX/PPC, the GNU linker is very broken
14472 if test "$host_cpu" != ia64
; then
14476 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14477 *** to be unable to reliably create shared libraries on AIX.
14478 *** Therefore, libtool is disabling shared libraries support. If you
14479 *** really care for shared libraries, you may want to modify your PATH
14480 *** so that a non-GNU linker is found, and then restart.
14487 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)'
14488 hardcode_libdir_flag_spec_F77
='-L$libdir'
14489 hardcode_minus_L_F77
=yes
14491 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14492 # that the semantics of dynamic libraries on AmigaOS, at least up
14493 # to version 4, is to share data among multiple programs linked
14494 # with the same dynamic library. Since this doesn't match the
14495 # behavior of shared libraries on other platforms, we can't use
14501 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14502 allow_undefined_flag_F77
=unsupported
14503 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14504 # support --undefined. This deserves some investigation. FIXME
14505 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14511 cygwin
* | mingw
* | pw32
*)
14512 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14513 # as there is no search path for DLLs.
14514 hardcode_libdir_flag_spec_F77
='-L$libdir'
14515 allow_undefined_flag_F77
=unsupported
14516 always_export_symbols_F77
=no
14517 enable_shared_with_static_runtimes_F77
=yes
14518 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14520 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14521 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14522 # If the export-symbols file already is a .def file (1st line
14523 # is EXPORTS), use it as is; otherwise, prepend...
14524 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14525 cp $export_symbols $output_objdir/$soname.def;
14527 echo EXPORTS > $output_objdir/$soname.def;
14528 cat $export_symbols >> $output_objdir/$soname.def;
14530 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14537 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14539 case $cc_basename,$host_cpu in
14540 pgcc
*) # Portland Group C compiler
14541 whole_archive_flag_spec_F77
=
14543 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
14544 whole_archive_flag_spec_F77
=
14545 tmp_addflag
=' -fpic -Mnomain' ;;
14546 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14547 tmp_addflag
=' -i_dynamic' ;;
14548 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14549 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14550 ifc
* | ifort
*) # Intel Fortran compiler
14551 tmp_addflag
=' -nofor_main' ;;
14553 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14555 if test $supports_anon_versioning = yes; then
14556 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14557 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14558 $echo "local: *; };" >> $output_objdir/$libname.ver~
14559 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14567 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14568 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14571 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14572 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14577 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14581 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14582 *** create shared libraries on Solaris systems. Therefore, libtool
14583 *** is disabling shared libraries support. We urge you to upgrade GNU
14584 *** binutils to release 2.9.1 or newer. Another option is to modify
14585 *** your PATH or compiler configuration so that the native linker is
14586 *** used, and then restart.
14589 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14590 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14591 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14598 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14600 hardcode_direct_F77
=yes
14601 hardcode_shlibpath_var_F77
=no
14605 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14606 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14607 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14614 if test "$ld_shlibs_F77" = no
; then
14616 hardcode_libdir_flag_spec_F77
=
14617 export_dynamic_flag_spec_F77
=
14618 whole_archive_flag_spec_F77
=
14621 # PORTME fill in a description of your system's linker (not GNU ld)
14624 allow_undefined_flag_F77
=unsupported
14625 always_export_symbols_F77
=yes
14626 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'
14627 # Note: this linker hardcodes the directories in LIBPATH if there
14628 # are no directories specified by -L.
14629 hardcode_minus_L_F77
=yes
14630 if test "$GCC" = yes && test -z "$link_static_flag"; then
14631 # Neither direct hardcoding nor static linking is supported with a
14633 hardcode_direct_F77
=unsupported
14638 if test "$host_cpu" = ia64
; then
14639 # On IA64, the linker does run time linking by default, so we don't
14640 # have to do anything special.
14641 aix_use_runtimelinking
=no
14642 exp_sym_flag
='-Bexport'
14645 # If we're using GNU nm, then we don't want the "-C" option.
14646 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14647 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14648 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'
14650 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'
14652 aix_use_runtimelinking
=no
14654 # Test if we are trying to use run time linking or normal
14655 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14656 # need to do runtime linking.
14657 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14658 for ld_flag
in $LDFLAGS; do
14659 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14660 aix_use_runtimelinking
=yes
14666 exp_sym_flag
='-bexport'
14667 no_entry_flag
='-bnoentry'
14670 # When large executables or shared objects are built, AIX ld can
14671 # have problems creating the table of contents. If linking a library
14672 # or program results in "error TOC overflow" add -mminimal-toc to
14673 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14674 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14676 archive_cmds_F77
=''
14677 hardcode_direct_F77
=yes
14678 hardcode_libdir_separator_F77
=':'
14679 link_all_deplibs_F77
=yes
14681 if test "$GCC" = yes; then
14682 case $host_os in aix4.
[012]|aix4.
[012].
*)
14683 # We only want to do this on AIX 4.2 and lower, the check
14684 # below for broken collect2 doesn't work under 4.3+
14685 collect2name
=`${CC} -print-prog-name=collect2`
14686 if test -f "$collect2name" && \
14687 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14689 # We have reworked collect2
14690 hardcode_direct_F77
=yes
14692 # We have old collect2
14693 hardcode_direct_F77
=unsupported
14694 # It fails to find uninstalled libraries when the uninstalled
14695 # path is not listed in the libpath. Setting hardcode_minus_L
14696 # to unsupported forces relinking
14697 hardcode_minus_L_F77
=yes
14698 hardcode_libdir_flag_spec_F77
='-L$libdir'
14699 hardcode_libdir_separator_F77
=
14702 shared_flag
='-shared'
14703 if test "$aix_use_runtimelinking" = yes; then
14704 shared_flag
="$shared_flag "'${wl}-G'
14708 if test "$host_cpu" = ia64
; then
14709 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14710 # chokes on -Wl,-G. The following line is correct:
14713 if test "$aix_use_runtimelinking" = yes; then
14714 shared_flag
='${wl}-G'
14716 shared_flag
='${wl}-bM:SRE'
14721 # It seems that -bexpall does not export symbols beginning with
14722 # underscore (_), so it is better to generate a list of symbols to export.
14723 always_export_symbols_F77
=yes
14724 if test "$aix_use_runtimelinking" = yes; then
14725 # Warning - without using the other runtime loading flags (-brtl),
14726 # -berok will link without error, but may produce a broken library.
14727 allow_undefined_flag_F77
='-berok'
14728 # Determine the default libpath from the value encoded in an empty executable.
14729 cat >conftest.
$ac_ext <<_ACEOF
14734 rm -f conftest.
$ac_objext conftest
$ac_exeext
14735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14736 (eval $ac_link) 2>conftest.er1
14738 grep -v '^ *+' conftest.er1
>conftest.err
14740 cat conftest.err
>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); } &&
14743 { ac_try
='test -z "$ac_f77_werror_flag"
14744 || test ! -s conftest.err'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; } &&
14750 { ac_try
='test -s conftest$ac_exeext'
14751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14752 (eval $ac_try) 2>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); }; }; then
14757 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14759 # Check for a 64-bit object if we didn't find anything.
14760 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; }
14763 echo "$as_me: failed program was:" >&5
14764 sed 's/^/| /' conftest.
$ac_ext >&5
14767 rm -f conftest.err conftest.
$ac_objext \
14768 conftest
$ac_exeext conftest.
$ac_ext
14769 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14771 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14772 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"
14774 if test "$host_cpu" = ia64; then
14775 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
14776 allow_undefined_flag_F77="-z nodefs"
14777 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"
14779 # Determine the default libpath from the value encoded in an empty executable.
14780 cat >conftest.$ac_ext <<_ACEOF
14785 rm -f conftest.$ac_objext conftest$ac_exeext
14786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14787 (eval $ac_link) 2>conftest.er1
14789 grep -v '^ *+' conftest.er1 >conftest.err
14791 cat conftest.err >&5
14792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14793 (exit $ac_status); } &&
14794 { ac_try='test -z "$ac_f77_werror_flag"
14795 || test ! -s conftest.err'
14796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14797 (eval $ac_try) 2>&5
14799 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14800 (exit $ac_status); }; } &&
14801 { ac_try='test -s conftest$ac_exeext'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14806 (exit $ac_status); }; }; then
14808 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14810 # Check for a 64-bit object if we didn't find anything.
14811 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; }
14814 echo "$as_me: failed program was
:" >&5
14815 sed 's/^/| /' conftest.$ac_ext >&5
14818 rm -f conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14820 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
14822 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14823 # Warning - without using the other run time loading flags,
14824 # -berok will link without error, but may produce a broken library.
14825 no_undefined_flag_F77=' ${wl}-bernotok'
14826 allow_undefined_flag_F77=' ${wl}-berok'
14827 # -bexpall does not export symbols beginning with underscore (_)
14828 always_export_symbols_F77=yes
14829 # Exported symbols can be pulled into shared objects from archives
14830 whole_archive_flag_spec_F77=' '
14831 archive_cmds_need_lc_F77=yes
14832 # This is similar to how AIX traditionally builds it's shared libraries.
14833 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'
14839 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)'
14840 hardcode_libdir_flag_spec_F77
='-L$libdir'
14841 hardcode_minus_L_F77
=yes
14842 # see comment about different semantics on the GNU ld section
14847 export_dynamic_flag_spec_F77
=-rdynamic
14850 cygwin
* | mingw
* | pw32
*)
14851 # When not using gcc, we currently assume that we are using
14852 # Microsoft Visual C++.
14853 # hardcode_libdir_flag_spec is actually meaningless, as there is
14854 # no search path for DLLs.
14855 hardcode_libdir_flag_spec_F77
=' '
14856 allow_undefined_flag_F77
=unsupported
14857 # Tell ltmain to make .lib files, not .a files.
14859 # Tell ltmain to make .dll files, not .so files.
14861 # FIXME: Setting linknames here is a bad hack.
14862 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14863 # The linker will automatically build a .lib file if we build a DLL.
14864 old_archive_From_new_cmds_F77
='true'
14865 # FIXME: Should let the user specify the lib program.
14866 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14867 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14868 enable_shared_with_static_runtimes_F77
=yes
14871 darwin
* | rhapsody
*)
14873 rhapsody
* | darwin1.
[012])
14874 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14877 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14878 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14880 case ${MACOSX_DEPLOYMENT_TARGET} in
14882 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14885 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14891 archive_cmds_need_lc_F77
=no
14892 hardcode_direct_F77
=no
14893 hardcode_automatic_F77
=yes
14894 hardcode_shlibpath_var_F77
=unsupported
14895 whole_archive_flag_spec_F77
=''
14896 link_all_deplibs_F77
=yes
14897 if test "$GCC" = yes ; then
14898 output_verbose_link_cmd
='echo'
14899 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14900 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14901 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14902 archive_expsym_cmds_F77
='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}'
14903 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14905 case $cc_basename in
14907 output_verbose_link_cmd
='echo'
14908 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14909 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14910 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14911 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14912 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14922 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14923 hardcode_libdir_flag_spec_F77
='-L$libdir'
14924 hardcode_shlibpath_var_F77
=no
14931 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14932 # support. Future versions do this automatically, but an explicit c++rt0.o
14933 # does not break anything, and helps significantly (at the cost of a little
14936 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14937 hardcode_libdir_flag_spec_F77
='-R$libdir'
14938 hardcode_direct_F77
=yes
14939 hardcode_shlibpath_var_F77
=no
14942 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14944 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14945 hardcode_direct_F77
=yes
14946 hardcode_minus_L_F77
=yes
14947 hardcode_shlibpath_var_F77
=no
14950 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14951 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14952 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14953 hardcode_libdir_flag_spec_F77
='-R$libdir'
14954 hardcode_direct_F77
=yes
14955 hardcode_shlibpath_var_F77
=no
14959 if test "$GCC" = yes; then
14960 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'
14962 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'
14964 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14965 hardcode_libdir_separator_F77
=:
14966 hardcode_direct_F77
=yes
14968 # hardcode_minus_L: Not really in the search PATH,
14969 # but as the default location of the library.
14970 hardcode_minus_L_F77
=yes
14971 export_dynamic_flag_spec_F77
='${wl}-E'
14975 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14976 case "$host_cpu" in
14978 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14981 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14985 case "$host_cpu" in
14987 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14990 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14994 if test "$with_gnu_ld" = no
; then
14995 case "$host_cpu" in
14997 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14998 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14999 hardcode_libdir_separator_F77
=:
15000 hardcode_direct_F77
=no
15001 hardcode_shlibpath_var_F77
=no
15004 hardcode_libdir_flag_spec_F77
='-L$libdir'
15005 hardcode_direct_F77
=no
15006 hardcode_shlibpath_var_F77
=no
15008 # hardcode_minus_L: Not really in the search PATH,
15009 # but as the default location of the library.
15010 hardcode_minus_L_F77
=yes
15013 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15014 hardcode_libdir_separator_F77
=:
15015 hardcode_direct_F77
=yes
15016 export_dynamic_flag_spec_F77
='${wl}-E'
15018 # hardcode_minus_L: Not really in the search PATH,
15019 # but as the default location of the library.
15020 hardcode_minus_L_F77
=yes
15026 irix5
* | irix6
* | nonstopux
*)
15027 if test "$GCC" = yes; then
15028 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'
15030 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'
15031 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15033 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15034 hardcode_libdir_separator_F77
=:
15035 link_all_deplibs_F77
=yes
15039 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15040 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15042 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15044 hardcode_libdir_flag_spec_F77
='-R$libdir'
15045 hardcode_direct_F77
=yes
15046 hardcode_shlibpath_var_F77
=no
15050 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15051 hardcode_direct_F77
=yes
15052 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15053 hardcode_libdir_separator_F77
=:
15054 hardcode_shlibpath_var_F77
=no
15058 hardcode_direct_F77
=yes
15059 hardcode_shlibpath_var_F77
=no
15060 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15061 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15062 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15063 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15064 export_dynamic_flag_spec_F77
='${wl}-E'
15067 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15068 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15069 hardcode_libdir_flag_spec_F77
='-R$libdir'
15072 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15073 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15080 hardcode_libdir_flag_spec_F77
='-L$libdir'
15081 hardcode_minus_L_F77
=yes
15082 allow_undefined_flag_F77
=unsupported
15083 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'
15084 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15088 if test "$GCC" = yes; then
15089 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15090 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'
15092 allow_undefined_flag_F77
=' -expect_unresolved \*'
15093 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'
15095 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15096 hardcode_libdir_separator_F77
=:
15099 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15100 if test "$GCC" = yes; then
15101 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15102 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'
15103 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15105 allow_undefined_flag_F77
=' -expect_unresolved \*'
15106 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'
15107 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~
15108 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15110 # Both c and cxx compiler support -rpath directly
15111 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15113 hardcode_libdir_separator_F77
=:
15117 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15118 hardcode_shlibpath_var_F77
=no
15119 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15120 runpath_var
=LD_RUN_PATH
15121 hardcode_runpath_var
=yes
15125 no_undefined_flag_F77
=' -z text'
15126 if test "$GCC" = yes; then
15128 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15129 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15130 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15133 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15134 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15135 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15137 hardcode_libdir_flag_spec_F77
='-R$libdir'
15138 hardcode_shlibpath_var_F77
=no
15140 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15142 # The compiler driver will combine linker options so we
15143 # cannot just pass the convience library names through
15144 # without $wl, iff we do not link with $LD.
15145 # Luckily, gcc supports the same syntax we need for Sun Studio.
15146 # Supported since Solaris 2.6 (maybe 2.5.1?)
15149 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15151 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15154 link_all_deplibs_F77
=yes
15158 if test "x$host_vendor" = xsequent
; then
15159 # Use $CC to link under sequent, because it throws in some extra .o
15160 # files that make .init and .fini sections work.
15161 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15163 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15165 hardcode_libdir_flag_spec_F77
='-L$libdir'
15166 hardcode_direct_F77
=yes
15167 hardcode_minus_L_F77
=yes
15168 hardcode_shlibpath_var_F77
=no
15172 case $host_vendor in
15174 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15175 hardcode_direct_F77
=yes # is this really true???
15178 ## LD is ld it makes a PLAMLIB
15179 ## CC just makes a GrossModule.
15180 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15181 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15182 hardcode_direct_F77
=no
15185 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15186 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15189 runpath_var
='LD_RUN_PATH'
15190 hardcode_shlibpath_var_F77
=no
15194 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15195 hardcode_shlibpath_var_F77
=no
15196 export_dynamic_flag_spec_F77
='-Bexport'
15200 if test -d /usr
/nec
; then
15201 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15202 hardcode_shlibpath_var_F77
=no
15203 runpath_var
=LD_RUN_PATH
15204 hardcode_runpath_var
=yes
15210 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15211 hardcode_direct_F77
=yes
15212 hardcode_minus_L_F77
=no
15213 hardcode_shlibpath_var_F77
=no
15214 hardcode_runpath_var
=yes
15215 runpath_var
=LD_RUN_PATH
15218 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
15219 no_undefined_flag_F77
='${wl}-z ${wl}text'
15220 if test "$GCC" = yes; then
15221 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15223 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15225 runpath_var
='LD_RUN_PATH'
15226 hardcode_shlibpath_var_F77
=no
15230 no_undefined_flag_F77
=' -z text'
15231 # $CC -shared without GNU ld will not create a library from C++
15232 # object files and a static libstdc++, better avoid it by now
15233 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15234 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15235 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15236 hardcode_libdir_flag_spec_F77
=
15237 hardcode_shlibpath_var_F77
=no
15238 runpath_var
='LD_RUN_PATH'
15242 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15243 hardcode_libdir_flag_spec_F77
='-L$libdir'
15244 hardcode_shlibpath_var_F77
=no
15253 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15254 echo "${ECHO_T}$ld_shlibs_F77" >&6
15255 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15257 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15258 if test "$GCC" = yes; then
15259 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15263 # Do we need to explicitly link libc?
15265 case "x$archive_cmds_need_lc_F77" in
15267 # Assume -lc should be added
15268 archive_cmds_need_lc_F77
=yes
15270 if test "$enable_shared" = yes && test "$GCC" = yes; then
15271 case $archive_cmds_F77 in
15273 # FIXME: we may have to deal with multi-command sequences.
15276 # Test whether the compiler implicitly links with -lc since on some
15277 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15278 # to ld, don't add -lc before -lgcc.
15279 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15280 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15282 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15285 (eval $ac_compile) 2>&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } 2>conftest.err
; then
15291 libobjs
=conftest.
$ac_objext
15293 wl
=$lt_prog_compiler_wl_F77
15299 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15300 allow_undefined_flag_F77
=
15301 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15302 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }
15307 archive_cmds_need_lc_F77
=no
15309 archive_cmds_need_lc_F77
=yes
15311 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15313 cat conftest.err
1>&5
15316 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15317 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
15324 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15325 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15326 library_names_spec
=
15327 libname_spec
='lib$name'
15331 postuninstall_cmds
=
15335 shlibpath_overrides_runpath
=unknown
15337 dynamic_linker
="$host_os ld.so"
15338 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15339 if test "$GCC" = yes; then
15340 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15341 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15342 # if the path contains ";" then we assume it to be the separator
15343 # otherwise default to the standard path separator (i.e. ":") - it is
15344 # assumed that no part of a normal pathname contains ";" but that should
15345 # okay in the real world where ";" in dirpaths is itself problematic.
15346 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15348 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15351 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15353 need_lib_prefix
=unknown
15354 hardcode_into_libs
=no
15356 # when you set need_version to no, make sure it does not cause -set_version
15357 # flags to be left without arguments
15358 need_version
=unknown
15363 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15364 shlibpath_var
=LIBPATH
15366 # AIX 3 has no versioning support, so we append a major version to the name.
15367 soname_spec
='${libname}${release}${shared_ext}$major'
15374 hardcode_into_libs
=yes
15375 if test "$host_cpu" = ia64
; then
15376 # AIX 5 supports IA64
15377 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15378 shlibpath_var
=LD_LIBRARY_PATH
15380 # With GCC up to 2.95.x, collect2 would create an import file
15381 # for dependence libraries. The import file would start with
15382 # the line `#! .'. This would cause the generated library to
15383 # depend on `.', always an invalid library. This was fixed in
15384 # development snapshots of GCC prior to 3.0.
15386 aix4 | aix4.
[01] | aix4.
[01].
*)
15387 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15389 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15392 can_build_shared
=no
15396 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15397 # soname into executable. Probably we can add versioning support to
15398 # collect2, so additional links can be useful in future.
15399 if test "$aix_use_runtimelinking" = yes; then
15400 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15401 # instead of lib<name>.a to let people know that these are not
15402 # typical AIX shared libraries.
15403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15405 # We preserve .a as extension for shared libraries through AIX4.2
15406 # and later when we are not doing run time linking.
15407 library_names_spec
='${libname}${release}.a $libname.a'
15408 soname_spec
='${libname}${release}${shared_ext}$major'
15410 shlibpath_var
=LIBPATH
15415 library_names_spec
='$libname.ixlibrary $libname.a'
15416 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15417 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'
15421 library_names_spec
='${libname}${shared_ext}'
15422 dynamic_linker
="$host_os ld.so"
15423 shlibpath_var
=LIBRARY_PATH
15429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15430 soname_spec
='${libname}${release}${shared_ext}$major'
15431 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15432 shlibpath_var
=LD_LIBRARY_PATH
15433 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15434 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15435 # the default ld.so.conf also contains /usr/contrib/lib and
15436 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15437 # libtool to hard-code these into programs
15440 cygwin
* | mingw
* | pw32
*)
15441 version_type
=windows
15446 case $GCC,$host_os in
15447 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15448 library_names_spec
='$libname.dll.a'
15449 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15450 postinstall_cmds
='base_file=`basename \${file}`~
15451 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15452 dldir=$destdir/`dirname \$dlpath`~
15453 test -d \$dldir || mkdir -p \$dldir~
15454 $install_prog $dir/$dlname \$dldir/$dlname'
15455 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15456 dlpath=$dir/\$dldll~
15458 shlibpath_overrides_runpath
=yes
15462 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15463 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15464 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15467 # MinGW DLLs use traditional 'lib' prefix
15468 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15469 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15470 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15471 # It is most probably a Windows format PATH printed by
15472 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15473 # path with ; separators, and with drive letters. We can handle the
15474 # drive letters (cygwin fileutils understands them), so leave them,
15475 # especially as we might pass files found there to a mingw objdump,
15476 # which wouldn't understand a cygwinified path. Ahh.
15477 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15479 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15483 # pw32 DLLs use 'pw' prefix rather than 'lib'
15484 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15490 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15493 dynamic_linker
='Win32 ld.exe'
15494 # FIXME: first we should search . and the directory the executable is in
15498 darwin
* | rhapsody
*)
15499 dynamic_linker
="$host_os dyld"
15500 version_type
=darwin
15503 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15504 soname_spec
='${libname}${release}${major}$shared_ext'
15505 shlibpath_overrides_runpath
=yes
15506 shlibpath_var
=DYLD_LIBRARY_PATH
15507 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
15508 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15509 if test "$GCC" = yes; then
15510 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"`
15512 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15514 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15522 soname_spec
='${libname}${release}${shared_ext}$major'
15523 shlibpath_var
=LD_LIBRARY_PATH
15534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15535 soname_spec
='${libname}${release}${shared_ext}$major'
15536 shlibpath_var
=LD_LIBRARY_PATH
15537 shlibpath_overrides_runpath
=no
15538 hardcode_into_libs
=yes
15539 dynamic_linker
='GNU ld.so'
15542 freebsd
* | dragonfly
*)
15543 # DragonFly does not have aout. When/if they implement a new
15544 # versioning mechanism, adjust this.
15545 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15546 version_type
=freebsd-
$objformat
15547 case $version_type in
15549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15554 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15558 shlibpath_var
=LD_LIBRARY_PATH
15561 shlibpath_overrides_runpath
=yes
15563 freebsd3.
[01]* | freebsdelf3.
[01]*)
15564 shlibpath_overrides_runpath
=yes
15565 hardcode_into_libs
=yes
15568 shlibpath_overrides_runpath
=no
15569 hardcode_into_libs
=yes
15578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15579 soname_spec
='${libname}${release}${shared_ext}$major'
15580 shlibpath_var
=LD_LIBRARY_PATH
15581 hardcode_into_libs
=yes
15584 hpux9
* | hpux10
* | hpux11
*)
15585 # Give a soname corresponding to the major version so that dld.sl refuses to
15586 # link against other versions.
15590 case "$host_cpu" in
15593 hardcode_into_libs
=yes
15594 dynamic_linker
="$host_os dld.so"
15595 shlibpath_var
=LD_LIBRARY_PATH
15596 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15598 soname_spec
='${libname}${release}${shared_ext}$major'
15599 if test "X$HPUX_IA64_MODE" = X32
; then
15600 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15602 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15604 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15608 hardcode_into_libs
=yes
15609 dynamic_linker
="$host_os dld.sl"
15610 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15611 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15613 soname_spec
='${libname}${release}${shared_ext}$major'
15614 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15615 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15619 dynamic_linker
="$host_os dld.sl"
15620 shlibpath_var
=SHLIB_PATH
15621 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15623 soname_spec
='${libname}${release}${shared_ext}$major'
15626 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15627 postinstall_cmds
='chmod 555 $lib'
15630 irix5
* | irix6
* | nonstopux
*)
15632 nonstopux
*) version_type
=nonstopux
;;
15634 if test "$lt_cv_prog_gnu_ld" = yes; then
15642 soname_spec
='${libname}${release}${shared_ext}$major'
15643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15645 irix5
* | nonstopux
*)
15646 libsuff
= shlibsuff
=
15649 case $LD in # libtool.m4 will add one of these switches to LD
15650 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15651 libsuff
= shlibsuff
= libmagic
=32-bit;;
15652 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15653 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15654 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15655 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15656 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15660 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15661 shlibpath_overrides_runpath
=no
15662 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15663 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15664 hardcode_into_libs
=yes
15667 # No shared lib support for Linux oldld, aout, or coff.
15668 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15672 # This must be Linux ELF.
15677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15678 soname_spec
='${libname}${release}${shared_ext}$major'
15679 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15680 shlibpath_var
=LD_LIBRARY_PATH
15681 shlibpath_overrides_runpath
=no
15682 # This implies no fast_install, which is unacceptable.
15683 # Some rework will be needed to allow for fast_install
15684 # before this can be enabled.
15685 hardcode_into_libs
=yes
15687 # find out which ABI we are using
15689 case "$host_cpu" in
15690 x86_64
*|s390x
*|powerpc64
*)
15691 echo '#line 15691 "configure"' > conftest.
$ac_ext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15693 (eval $ac_compile) 2>&5
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); }; then
15697 case `/usr/bin/file conftest.$ac_objext` in
15700 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15708 # Append ld.so.conf contents to the search path
15709 if test -f /etc
/ld.so.conf
; then
15710 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15711 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15714 # We used to test for /lib/ld.so.1 and disable shared libraries on
15715 # powerpc, because MkLinux only supported shared libraries with the
15716 # GNU dynamic linker. Since this was broken with cross compilers,
15717 # most powerpc-linux boxes support dynamic linking these days and
15718 # people can always --disable-shared, the test was removed, and we
15719 # assume the GNU/Linux dynamic linker is in use.
15720 dynamic_linker
='GNU/Linux ld.so'
15727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15728 soname_spec
='${libname}${release}${shared_ext}$major'
15729 shlibpath_var
=LD_LIBRARY_PATH
15730 shlibpath_overrides_runpath
=no
15731 hardcode_into_libs
=yes
15732 dynamic_linker
='GNU ld.so'
15739 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15741 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15742 dynamic_linker
='NetBSD (a.out) ld.so'
15744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15745 soname_spec
='${libname}${release}${shared_ext}$major'
15746 dynamic_linker
='NetBSD ld.elf_so'
15748 shlibpath_var
=LD_LIBRARY_PATH
15749 shlibpath_overrides_runpath
=yes
15750 hardcode_into_libs
=yes
15755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15756 shlibpath_var
=LD_LIBRARY_PATH
15757 shlibpath_overrides_runpath
=yes
15764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15765 soname_spec
='${libname}${release}${shared_ext}$major'
15766 shlibpath_var
=LD_LIBRARY_PATH
15767 shlibpath_overrides_runpath
=yes
15774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15775 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15776 shlibpath_var
=LD_LIBRARY_PATH
15777 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15779 openbsd2.
[89] | openbsd2.
[89].
*)
15780 shlibpath_overrides_runpath
=no
15783 shlibpath_overrides_runpath
=yes
15787 shlibpath_overrides_runpath
=yes
15792 libname_spec
='$name'
15795 library_names_spec
='$libname${shared_ext} $libname.a'
15796 dynamic_linker
='OS/2 ld.exe'
15797 shlibpath_var
=LIBPATH
15800 osf3
* | osf4
* | osf5
*)
15804 soname_spec
='${libname}${release}${shared_ext}$major'
15805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15806 shlibpath_var
=LD_LIBRARY_PATH
15807 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15808 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15813 soname_spec
='${libname}${release}${shared_ext}$major'
15814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15815 shlibpath_var
=LD_LIBRARY_PATH
15822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15823 soname_spec
='${libname}${release}${shared_ext}$major'
15824 shlibpath_var
=LD_LIBRARY_PATH
15825 shlibpath_overrides_runpath
=yes
15826 hardcode_into_libs
=yes
15827 # ldd complains unless libraries are executable
15828 postinstall_cmds
='chmod +x $lib'
15833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15834 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15835 shlibpath_var
=LD_LIBRARY_PATH
15836 shlibpath_overrides_runpath
=yes
15837 if test "$with_gnu_ld" = yes; then
15843 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15846 soname_spec
='${libname}${release}${shared_ext}$major'
15847 shlibpath_var
=LD_LIBRARY_PATH
15848 case $host_vendor in
15850 shlibpath_overrides_runpath
=no
15852 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15853 runpath_var
=LD_RUN_PATH
15861 shlibpath_overrides_runpath
=no
15862 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15868 if test -d /usr
/nec
;then
15870 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15871 soname_spec
='$libname${shared_ext}.$major'
15872 shlibpath_var
=LD_LIBRARY_PATH
15878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15879 soname_spec
='${libname}${release}${shared_ext}$major'
15880 shlibpath_var
=LD_LIBRARY_PATH
15887 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15888 echo "${ECHO_T}$dynamic_linker" >&6
15889 test "$dynamic_linker" = no
&& can_build_shared
=no
15891 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15892 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15893 hardcode_action_F77
=
15894 if test -n "$hardcode_libdir_flag_spec_F77" || \
15895 test -n "$runpath_var_F77" || \
15896 test "X$hardcode_automatic_F77" = "Xyes" ; then
15898 # We can hardcode non-existant directories.
15899 if test "$hardcode_direct_F77" != no
&&
15900 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15901 # have to relink, otherwise we might link with an installed library
15902 # when we should be linking with a yet-to-be-installed one
15903 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15904 test "$hardcode_minus_L_F77" != no
; then
15905 # Linking always hardcodes the temporary library directory.
15906 hardcode_action_F77
=relink
15908 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15909 hardcode_action_F77
=immediate
15912 # We cannot hardcode anything, or else we can only hardcode existing
15914 hardcode_action_F77
=unsupported
15916 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15917 echo "${ECHO_T}$hardcode_action_F77" >&6
15919 if test "$hardcode_action_F77" = relink
; then
15920 # Fast installation is not supported
15921 enable_fast_install
=no
15922 elif test "$shlibpath_overrides_runpath" = yes ||
15923 test "$enable_shared" = no
; then
15924 # Fast installation is not necessary
15925 enable_fast_install
=needless
15930 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15931 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15932 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15933 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15934 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15935 echo "$as_me:$LINENO: result: yes" >&5
15936 echo "${ECHO_T}yes" >&6
15938 # FIXME - insert some real tests, host_os isn't really good enough
15941 if test -n "$STRIP" ; then
15942 striplib
="$STRIP -x"
15943 echo "$as_me:$LINENO: result: yes" >&5
15944 echo "${ECHO_T}yes" >&6
15946 echo "$as_me:$LINENO: result: no" >&5
15947 echo "${ECHO_T}no" >&6
15951 echo "$as_me:$LINENO: result: no" >&5
15952 echo "${ECHO_T}no" >&6
15959 # The else clause should only fire when bootstrapping the
15960 # libtool distribution, otherwise you forgot to ship ltmain.sh
15961 # with your package, and you will get complaints that there are
15962 # no rules to generate ltmain.sh.
15963 if test -f "$ltmain"; then
15964 # See if we are running on zsh, and set the options which allow our commands through
15965 # without removal of \ escapes.
15966 if test -n "${ZSH_VERSION+set}" ; then
15967 setopt NO_GLOB_SUBST
15969 # Now quote all the things that may contain metacharacters while being
15970 # careful not to overquote the AC_SUBSTed values. We take copies of the
15971 # variables and quote the copies for generation of the libtool script.
15972 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15974 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15975 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15976 deplibs_check_method reload_flag reload_cmds need_locks \
15977 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15978 lt_cv_sys_global_symbol_to_c_name_address \
15979 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15980 old_postinstall_cmds old_postuninstall_cmds \
15984 lt_prog_compiler_wl_F77 \
15985 lt_prog_compiler_pic_F77 \
15986 lt_prog_compiler_static_F77 \
15987 lt_prog_compiler_no_builtin_flag_F77 \
15988 export_dynamic_flag_spec_F77 \
15989 thread_safe_flag_spec_F77 \
15990 whole_archive_flag_spec_F77 \
15991 enable_shared_with_static_runtimes_F77 \
15992 old_archive_cmds_F77 \
15993 old_archive_from_new_cmds_F77 \
15994 predep_objects_F77 \
15995 postdep_objects_F77 \
15998 compiler_lib_search_path_F77 \
16000 archive_expsym_cmds_F77 \
16001 postinstall_cmds_F77 \
16002 postuninstall_cmds_F77 \
16003 old_archive_from_expsyms_cmds_F77 \
16004 allow_undefined_flag_F77 \
16005 no_undefined_flag_F77 \
16006 export_symbols_cmds_F77 \
16007 hardcode_libdir_flag_spec_F77 \
16008 hardcode_libdir_flag_spec_ld_F77 \
16009 hardcode_libdir_separator_F77 \
16010 hardcode_automatic_F77 \
16012 module_expsym_cmds_F77 \
16013 lt_cv_prog_compiler_c_o_F77 \
16014 exclude_expsyms_F77 \
16015 include_expsyms_F77
; do
16018 old_archive_cmds_F77 | \
16019 old_archive_from_new_cmds_F77 | \
16020 archive_cmds_F77 | \
16021 archive_expsym_cmds_F77 | \
16022 module_cmds_F77 | \
16023 module_expsym_cmds_F77 | \
16024 old_archive_from_expsyms_cmds_F77 | \
16025 export_symbols_cmds_F77 | \
16026 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16027 postinstall_cmds | postuninstall_cmds | \
16028 old_postinstall_cmds | old_postuninstall_cmds | \
16029 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16030 # Double-quote double-evaled strings.
16031 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16034 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16040 *'\$0 --fallback-echo"')
16041 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16047 cat <<__EOF__ >> "$cfgfile"
16048 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16050 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16052 # Shell to use when invoking shell scripts.
16055 # Whether or not to build shared libraries.
16056 build_libtool_libs=$enable_shared
16058 # Whether or not to build static libraries.
16059 build_old_libs=$enable_static
16061 # Whether or not to add -lc for building shared libraries.
16062 build_libtool_need_lc=$archive_cmds_need_lc_F77
16064 # Whether or not to disallow shared libs when runtime libs are static
16065 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16067 # Whether or not to optimize for fast installation.
16068 fast_install=$enable_fast_install
16071 host_alias=$host_alias
16075 # The build system.
16076 build_alias=$build_alias
16080 # An echo program that does not interpret backslashes.
16085 AR_FLAGS=$lt_AR_FLAGS
16090 # A language-specific compiler.
16091 CC=$lt_compiler_F77
16093 # Is the compiler the GNU C compiler?
16099 # The linker used to build libraries.
16102 # Whether we need hard or soft links.
16105 # A BSD-compatible nm program.
16108 # A symbol stripping program
16111 # Used to examine libraries when file_magic_cmd begins "file"
16112 MAGIC_CMD=$MAGIC_CMD
16114 # Used on cygwin: DLL creation program.
16117 # Used on cygwin: object dumper.
16120 # Used on cygwin: assembler.
16123 # The name of the directory that contains temporary libtool files.
16126 # How to create reloadable object files.
16127 reload_flag=$lt_reload_flag
16128 reload_cmds=$lt_reload_cmds
16130 # How to pass a linker flag through the compiler.
16131 wl=$lt_lt_prog_compiler_wl_F77
16133 # Object file suffix (normally "o").
16134 objext="$ac_objext"
16136 # Old archive suffix (normally "a").
16139 # Shared library suffix (normally ".so").
16140 shrext_cmds='$shrext_cmds'
16142 # Executable file suffix (normally "").
16145 # Additional compiler flags for building library objects.
16146 pic_flag=$lt_lt_prog_compiler_pic_F77
16149 # What is the maximum length of a command?
16150 max_cmd_len=$lt_cv_sys_max_cmd_len
16152 # Does compiler simultaneously support -c and -o options?
16153 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16155 # Must we lock files when doing compilation?
16156 need_locks=$lt_need_locks
16158 # Do we need the lib prefix for modules?
16159 need_lib_prefix=$need_lib_prefix
16161 # Do we need a version for libraries?
16162 need_version=$need_version
16164 # Whether dlopen is supported.
16165 dlopen_support=$enable_dlopen
16167 # Whether dlopen of programs is supported.
16168 dlopen_self=$enable_dlopen_self
16170 # Whether dlopen of statically linked programs is supported.
16171 dlopen_self_static=$enable_dlopen_self_static
16173 # Compiler flag to prevent dynamic linking.
16174 link_static_flag=$lt_lt_prog_compiler_static_F77
16176 # Compiler flag to turn off builtin functions.
16177 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16179 # Compiler flag to allow reflexive dlopens.
16180 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16182 # Compiler flag to generate shared objects directly from archives.
16183 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16185 # Compiler flag to generate thread-safe objects.
16186 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16188 # Library versioning type.
16189 version_type=$version_type
16191 # Format of library name prefix.
16192 libname_spec=$lt_libname_spec
16194 # List of archive names. First name is the real one, the rest are links.
16195 # The last name is the one that the linker finds with -lNAME.
16196 library_names_spec=$lt_library_names_spec
16198 # The coded name of the library, if different from the real name.
16199 soname_spec=$lt_soname_spec
16201 # Commands used to build and install an old-style archive.
16203 old_archive_cmds=$lt_old_archive_cmds_F77
16204 old_postinstall_cmds=$lt_old_postinstall_cmds
16205 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16207 # Create an old-style archive from a shared archive.
16208 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16210 # Create a temporary old-style archive to link instead of a shared archive.
16211 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16213 # Commands used to build and install a shared archive.
16214 archive_cmds=$lt_archive_cmds_F77
16215 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16216 postinstall_cmds=$lt_postinstall_cmds
16217 postuninstall_cmds=$lt_postuninstall_cmds
16219 # Commands used to build a loadable module (assumed same as above if empty)
16220 module_cmds=$lt_module_cmds_F77
16221 module_expsym_cmds=$lt_module_expsym_cmds_F77
16223 # Commands to strip libraries.
16224 old_striplib=$lt_old_striplib
16225 striplib=$lt_striplib
16227 # Dependencies to place before the objects being linked to create a
16229 predep_objects=$lt_predep_objects_F77
16231 # Dependencies to place after the objects being linked to create a
16233 postdep_objects=$lt_postdep_objects_F77
16235 # Dependencies to place before the objects being linked to create a
16237 predeps=$lt_predeps_F77
16239 # Dependencies to place after the objects being linked to create a
16241 postdeps=$lt_postdeps_F77
16243 # The library search path used internally by the compiler when linking
16244 # a shared library.
16245 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16247 # Method to check whether dependent libraries are shared objects.
16248 deplibs_check_method=$lt_deplibs_check_method
16250 # Command to use when deplibs_check_method == file_magic.
16251 file_magic_cmd=$lt_file_magic_cmd
16253 # Flag that allows shared libraries with undefined symbols to be built.
16254 allow_undefined_flag=$lt_allow_undefined_flag_F77
16256 # Flag that forces no undefined symbols.
16257 no_undefined_flag=$lt_no_undefined_flag_F77
16259 # Commands used to finish a libtool library installation in a directory.
16260 finish_cmds=$lt_finish_cmds
16262 # Same as above, but a single script fragment to be evaled but not shown.
16263 finish_eval=$lt_finish_eval
16265 # Take the output of nm and produce a listing of raw symbols and C names.
16266 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16268 # Transform the output of nm in a proper C declaration
16269 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16271 # Transform the output of nm in a C name address pair
16272 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16274 # This is the shared library runtime path variable.
16275 runpath_var=$runpath_var
16277 # This is the shared library path variable.
16278 shlibpath_var=$shlibpath_var
16280 # Is shlibpath searched before the hard-coded library search path?
16281 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16283 # How to hardcode a shared library path into an executable.
16284 hardcode_action=$hardcode_action_F77
16286 # Whether we should hardcode library paths into libraries.
16287 hardcode_into_libs=$hardcode_into_libs
16289 # Flag to hardcode \$libdir into a binary during linking.
16290 # This must work even if \$libdir does not exist.
16291 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16293 # If ld is used when linking, flag to hardcode \$libdir into
16294 # a binary during linking. This must work even if \$libdir does
16296 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16298 # Whether we need a single -rpath flag with a separated argument.
16299 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16301 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16302 # resulting binary.
16303 hardcode_direct=$hardcode_direct_F77
16305 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16306 # resulting binary.
16307 hardcode_minus_L=$hardcode_minus_L_F77
16309 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16310 # the resulting binary.
16311 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16313 # Set to yes if building a shared library automatically hardcodes DIR into the library
16314 # and all subsequent libraries and executables linked against it.
16315 hardcode_automatic=$hardcode_automatic_F77
16317 # Variables whose values should be saved in libtool wrapper scripts and
16318 # restored at relink time.
16319 variables_saved_for_relink="$variables_saved_for_relink"
16321 # Whether libtool must link a program against all its dependency libraries.
16322 link_all_deplibs=$link_all_deplibs_F77
16324 # Compile-time system search path for libraries
16325 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16327 # Run-time system search path for libraries
16328 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16330 # Fix the shell variable \$srcfile for the compiler.
16331 fix_srcfile_path="$fix_srcfile_path_F77"
16333 # Set to yes if exported symbols are required.
16334 always_export_symbols=$always_export_symbols_F77
16336 # The commands to list exported symbols.
16337 export_symbols_cmds=$lt_export_symbols_cmds_F77
16339 # The commands to extract the exported symbol list from a shared archive.
16340 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16342 # Symbols that should not be listed in the preloaded symbols.
16343 exclude_expsyms=$lt_exclude_expsyms_F77
16345 # Symbols that must always be exported.
16346 include_expsyms=$lt_include_expsyms_F77
16348 # ### END LIBTOOL TAG CONFIG: $tagname
16354 # If there is no Makefile yet, we rely on a make rule to execute
16355 # `config.status --recheck' to rerun these tests and create the
16356 # libtool script then.
16357 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16358 if test -f "$ltmain_in"; then
16359 test -f Makefile
&& make "$ltmain"
16365 ac_cpp
='$CPP $CPPFLAGS'
16366 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16367 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16368 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16378 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16382 # Source file extension for Java test sources.
16385 # Object file extension for compiled Java test sources.
16389 # Code to be used in simple compile tests
16390 lt_simple_compile_test_code
="class foo {}\n"
16392 # Code to be used in simple link tests
16393 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16395 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16397 # If no C compiler was specified, use CC.
16400 # Allow CC to be a program name with arguments.
16404 # save warnings/boilerplate of simple test code
16405 ac_outfile
=conftest.
$ac_objext
16406 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16407 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
16408 _lt_compiler_boilerplate
=`cat conftest.err`
16411 ac_outfile
=conftest.
$ac_objext
16412 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16413 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
16414 _lt_linker_boilerplate
=`cat conftest.err`
16418 # Allow CC to be a program name with arguments.
16423 for cc_temp
in $compiler""; do
16425 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16426 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16431 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16434 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16435 archive_cmds_need_lc_GCJ
=no
16437 old_archive_cmds_GCJ
=$old_archive_cmds
16440 ## There is no encapsulation within the following macros, do not change
16441 ## the running order or otherwise move them around unless you know exactly
16442 ## what you are doing...
16444 lt_prog_compiler_no_builtin_flag_GCJ
=
16446 if test "$GCC" = yes; then
16447 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16450 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16451 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
16452 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16453 echo $ECHO_N "(cached) $ECHO_C" >&6
16455 lt_cv_prog_compiler_rtti_exceptions
=no
16456 ac_outfile
=conftest.
$ac_objext
16457 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16458 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16459 # Insert the option either (1) after the last *FLAGS variable, or
16460 # (2) before a word containing "conftest.", or (3) at the end.
16461 # Note that $ac_compile itself does not contain backslashes and begins
16462 # with a dollar sign (not a hyphen), so the echo should work correctly.
16463 # The option is referenced via a variable to avoid confusing sed.
16464 lt_compile
=`echo "$ac_compile" | $SED \
16465 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16466 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16467 -e 's:$: $lt_compiler_flag:'`
16468 (eval echo "\"\$as_me:16468: $lt_compile\"" >&5)
16469 (eval "$lt_compile" 2>conftest.err
)
16471 cat conftest.err
>&5
16472 echo "$as_me:16472: \$? = $ac_status" >&5
16473 if (exit $ac_status) && test -s "$ac_outfile"; then
16474 # The compiler can only warn and ignore the option if not recognized
16475 # So say no if there are warnings other than the usual output.
16476 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
16477 $SED '/^$/d' conftest.err
>conftest.er2
16478 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16479 lt_cv_prog_compiler_rtti_exceptions
=yes
16485 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16486 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
16488 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16489 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16496 lt_prog_compiler_wl_GCJ
=
16497 lt_prog_compiler_pic_GCJ
=
16498 lt_prog_compiler_static_GCJ
=
16500 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16501 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16503 if test "$GCC" = yes; then
16504 lt_prog_compiler_wl_GCJ
='-Wl,'
16505 lt_prog_compiler_static_GCJ
='-static'
16509 # All AIX code is PIC.
16510 if test "$host_cpu" = ia64
; then
16511 # AIX 5 now supports IA64 processor
16512 lt_prog_compiler_static_GCJ
='-Bstatic'
16517 # FIXME: we need at least 68020 code to build shared libraries, but
16518 # adding the `-m68020' flag to GCC prevents building anything better,
16520 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16523 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16524 # PIC is the default for these OSes.
16527 mingw
* | pw32
* | os2
*)
16528 # This hack is so that the source file can tell whether it is being
16529 # built for inclusion in a dll (and should export symbols for example).
16530 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16533 darwin
* | rhapsody
*)
16534 # PIC is the default on this platform
16535 # Common symbols not allowed in MH_DYLIB files
16536 lt_prog_compiler_pic_GCJ
='-fno-common'
16540 # Just because we use GCC doesn't mean we suddenly get shared libraries
16541 # on systems that don't support them.
16542 lt_prog_compiler_can_build_shared_GCJ
=no
16547 if test -d /usr
/nec
; then
16548 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16553 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16554 # not for PA HP-UX.
16555 case "$host_cpu" in
16560 lt_prog_compiler_pic_GCJ
='-fPIC'
16566 lt_prog_compiler_pic_GCJ
='-fPIC'
16570 # PORTME Check for flag to pass linker flags through the system compiler.
16573 lt_prog_compiler_wl_GCJ
='-Wl,'
16574 if test "$host_cpu" = ia64
; then
16575 # AIX 5 now supports IA64 processor
16576 lt_prog_compiler_static_GCJ
='-Bstatic'
16578 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16582 # PIC is the default on this platform
16583 # Common symbols not allowed in MH_DYLIB files
16584 case $cc_basename in
16586 lt_prog_compiler_pic_GCJ
='-qnocommon'
16587 lt_prog_compiler_wl_GCJ
='-Wl,'
16592 mingw
* | pw32
* | os2
*)
16593 # This hack is so that the source file can tell whether it is being
16594 # built for inclusion in a dll (and should export symbols for example).
16595 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16598 hpux9
* | hpux10
* | hpux11
*)
16599 lt_prog_compiler_wl_GCJ
='-Wl,'
16600 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16601 # not for PA HP-UX.
16602 case "$host_cpu" in
16607 lt_prog_compiler_pic_GCJ
='+Z'
16610 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16611 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16614 irix5
* | irix6
* | nonstopux
*)
16615 lt_prog_compiler_wl_GCJ
='-Wl,'
16616 # PIC (with -KPIC) is the default.
16617 lt_prog_compiler_static_GCJ
='-non_shared'
16621 lt_prog_compiler_pic_GCJ
='-KPIC'
16622 lt_prog_compiler_static_GCJ
='-Bstatic'
16626 case $cc_basename in
16628 lt_prog_compiler_wl_GCJ
='-Wl,'
16629 lt_prog_compiler_pic_GCJ
='-KPIC'
16630 lt_prog_compiler_static_GCJ
='-static'
16632 pgcc
* | pgf77
* | pgf90
*)
16633 # Portland Group compilers (*not* the Pentium gcc compiler,
16634 # which looks to be a dead project)
16635 lt_prog_compiler_wl_GCJ
='-Wl,'
16636 lt_prog_compiler_pic_GCJ
='-fpic'
16637 lt_prog_compiler_static_GCJ
='-static'
16640 lt_prog_compiler_wl_GCJ
='-Wl,'
16641 # All Alpha code is PIC.
16642 lt_prog_compiler_static_GCJ
='-non_shared'
16647 osf3
* | osf4
* | osf5
*)
16648 lt_prog_compiler_wl_GCJ
='-Wl,'
16649 # All OSF/1 code is PIC.
16650 lt_prog_compiler_static_GCJ
='-non_shared'
16654 lt_prog_compiler_pic_GCJ
='-Kpic'
16655 lt_prog_compiler_static_GCJ
='-dn'
16659 lt_prog_compiler_pic_GCJ
='-KPIC'
16660 lt_prog_compiler_static_GCJ
='-Bstatic'
16661 case $cc_basename in
16662 f77
* | f90
* | f95
*)
16663 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16665 lt_prog_compiler_wl_GCJ
='-Wl,';;
16670 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16671 lt_prog_compiler_pic_GCJ
='-PIC'
16672 lt_prog_compiler_static_GCJ
='-Bstatic'
16675 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16676 lt_prog_compiler_wl_GCJ
='-Wl,'
16677 lt_prog_compiler_pic_GCJ
='-KPIC'
16678 lt_prog_compiler_static_GCJ
='-Bstatic'
16682 if test -d /usr
/nec
;then
16683 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16684 lt_prog_compiler_static_GCJ
='-Bstatic'
16689 lt_prog_compiler_wl_GCJ
='-Wl,'
16690 lt_prog_compiler_can_build_shared_GCJ
=no
16694 lt_prog_compiler_pic_GCJ
='-pic'
16695 lt_prog_compiler_static_GCJ
='-Bstatic'
16699 lt_prog_compiler_can_build_shared_GCJ
=no
16704 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16705 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16708 # Check to make sure the PIC flag actually works.
16710 if test -n "$lt_prog_compiler_pic_GCJ"; then
16712 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16713 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16714 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16715 echo $ECHO_N "(cached) $ECHO_C" >&6
16717 lt_prog_compiler_pic_works_GCJ
=no
16718 ac_outfile
=conftest.
$ac_objext
16719 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16720 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16721 # Insert the option either (1) after the last *FLAGS variable, or
16722 # (2) before a word containing "conftest.", or (3) at the end.
16723 # Note that $ac_compile itself does not contain backslashes and begins
16724 # with a dollar sign (not a hyphen), so the echo should work correctly.
16725 # The option is referenced via a variable to avoid confusing sed.
16726 lt_compile
=`echo "$ac_compile" | $SED \
16727 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16728 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16729 -e 's:$: $lt_compiler_flag:'`
16730 (eval echo "\"\$as_me:16730: $lt_compile\"" >&5)
16731 (eval "$lt_compile" 2>conftest.err
)
16733 cat conftest.err
>&5
16734 echo "$as_me:16734: \$? = $ac_status" >&5
16735 if (exit $ac_status) && test -s "$ac_outfile"; then
16736 # The compiler can only warn and ignore the option if not recognized
16737 # So say no if there are warnings other than the usual output.
16738 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
16739 $SED '/^$/d' conftest.err
>conftest.er2
16740 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16741 lt_prog_compiler_pic_works_GCJ
=yes
16747 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16748 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16750 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16751 case $lt_prog_compiler_pic_GCJ in
16753 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16756 lt_prog_compiler_pic_GCJ
=
16757 lt_prog_compiler_can_build_shared_GCJ
=no
16762 # For platforms which do not support PIC, -DPIC is meaningless:
16764 lt_prog_compiler_pic_GCJ
=
16767 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16771 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16772 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16773 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 lt_cv_prog_compiler_c_o_GCJ
=no
16777 $rm -r conftest
2>/dev
/null
16781 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16783 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16784 # Insert the option either (1) after the last *FLAGS variable, or
16785 # (2) before a word containing "conftest.", or (3) at the end.
16786 # Note that $ac_compile itself does not contain backslashes and begins
16787 # with a dollar sign (not a hyphen), so the echo should work correctly.
16788 lt_compile
=`echo "$ac_compile" | $SED \
16789 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16791 -e 's:$: $lt_compiler_flag:'`
16792 (eval echo "\"\$as_me:16792: $lt_compile\"" >&5)
16793 (eval "$lt_compile" 2>out
/conftest.err
)
16795 cat out
/conftest.err
>&5
16796 echo "$as_me:16796: \$? = $ac_status" >&5
16797 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16799 # The compiler can only warn and ignore the option if not recognized
16800 # So say no if there are warnings
16801 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
16802 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
16803 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16804 lt_cv_prog_compiler_c_o_GCJ
=yes
16809 # SGI C++ compiler will create directory out/ii_files/ for
16810 # template instantiation
16811 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16812 $rm out
/* && rmdir out
16818 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16819 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16822 hard_links
="nottested"
16823 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16824 # do not overwrite the value of need_locks provided by the user
16825 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16826 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16829 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16831 ln conftest.a conftest.b
2>&5 || hard_links
=no
16832 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16833 echo "$as_me:$LINENO: result: $hard_links" >&5
16834 echo "${ECHO_T}$hard_links" >&6
16835 if test "$hard_links" = no
; then
16836 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16837 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16844 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16845 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16848 allow_undefined_flag_GCJ
=
16849 enable_shared_with_static_runtimes_GCJ
=no
16851 archive_expsym_cmds_GCJ
=
16852 old_archive_From_new_cmds_GCJ
=
16853 old_archive_from_expsyms_cmds_GCJ
=
16854 export_dynamic_flag_spec_GCJ
=
16855 whole_archive_flag_spec_GCJ
=
16856 thread_safe_flag_spec_GCJ
=
16857 hardcode_libdir_flag_spec_GCJ
=
16858 hardcode_libdir_flag_spec_ld_GCJ
=
16859 hardcode_libdir_separator_GCJ
=
16860 hardcode_direct_GCJ
=no
16861 hardcode_minus_L_GCJ
=no
16862 hardcode_shlibpath_var_GCJ
=unsupported
16863 link_all_deplibs_GCJ
=unknown
16864 hardcode_automatic_GCJ
=no
16866 module_expsym_cmds_GCJ
=
16867 always_export_symbols_GCJ
=no
16868 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16869 # include_expsyms should be a list of space-separated symbols to be *always*
16870 # included in the symbol list
16871 include_expsyms_GCJ
=
16872 # exclude_expsyms can be an extended regexp of symbols to exclude
16873 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16874 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16875 # as well as any symbol that contains `d'.
16876 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16877 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16878 # platforms (ab)use it in PIC code, but their linkers get confused if
16879 # the symbol is explicitly referenced. Since portable code cannot
16880 # rely on this symbol name, it's probably fine to never include it in
16881 # preloaded symbol tables.
16882 extract_expsyms_cmds
=
16883 # Just being paranoid about ensuring that cc_basename is set.
16884 for cc_temp
in $compiler""; do
16886 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16887 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16892 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16895 cygwin
* | mingw
* | pw32
*)
16896 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16897 # When not using gcc, we currently assume that we are using
16898 # Microsoft Visual C++.
16899 if test "$GCC" != yes; then
16909 if test "$with_gnu_ld" = yes; then
16910 # If archive_cmds runs LD, not CC, wlarc should be empty
16913 # Set some defaults for GNU ld with shared library support. These
16914 # are reset later if shared libraries are not supported. Putting them
16915 # here allows them to be overridden if necessary.
16916 runpath_var
=LD_RUN_PATH
16917 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16918 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16919 # ancient GNU ld didn't support --whole-archive et. al.
16920 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16921 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16923 whole_archive_flag_spec_GCJ
=
16925 supports_anon_versioning
=no
16926 case `$LD -v 2>/dev/null` in
16927 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16928 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16929 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16930 *\
2.11.
*) ;; # other 2.11 versions
16931 *) supports_anon_versioning
=yes ;;
16934 # See if GNU ld supports shared libraries.
16936 aix3
* | aix4
* | aix5
*)
16937 # On AIX/PPC, the GNU linker is very broken
16938 if test "$host_cpu" != ia64
; then
16942 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16943 *** to be unable to reliably create shared libraries on AIX.
16944 *** Therefore, libtool is disabling shared libraries support. If you
16945 *** really care for shared libraries, you may want to modify your PATH
16946 *** so that a non-GNU linker is found, and then restart.
16953 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)'
16954 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16955 hardcode_minus_L_GCJ
=yes
16957 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16958 # that the semantics of dynamic libraries on AmigaOS, at least up
16959 # to version 4, is to share data among multiple programs linked
16960 # with the same dynamic library. Since this doesn't match the
16961 # behavior of shared libraries on other platforms, we can't use
16967 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16968 allow_undefined_flag_GCJ
=unsupported
16969 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16970 # support --undefined. This deserves some investigation. FIXME
16971 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16977 cygwin
* | mingw
* | pw32
*)
16978 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16979 # as there is no search path for DLLs.
16980 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16981 allow_undefined_flag_GCJ
=unsupported
16982 always_export_symbols_GCJ
=no
16983 enable_shared_with_static_runtimes_GCJ
=yes
16984 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16986 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16987 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16988 # If the export-symbols file already is a .def file (1st line
16989 # is EXPORTS), use it as is; otherwise, prepend...
16990 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16991 cp $export_symbols $output_objdir/$soname.def;
16993 echo EXPORTS > $output_objdir/$soname.def;
16994 cat $export_symbols >> $output_objdir/$soname.def;
16996 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17003 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17005 case $cc_basename,$host_cpu in
17006 pgcc
*) # Portland Group C compiler
17007 whole_archive_flag_spec_GCJ
=
17009 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
17010 whole_archive_flag_spec_GCJ
=
17011 tmp_addflag
=' -fpic -Mnomain' ;;
17012 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17013 tmp_addflag
=' -i_dynamic' ;;
17014 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17015 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17016 ifc
* | ifort
*) # Intel Fortran compiler
17017 tmp_addflag
=' -nofor_main' ;;
17019 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17021 if test $supports_anon_versioning = yes; then
17022 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17023 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17024 $echo "local: *; };" >> $output_objdir/$libname.ver~
17025 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17033 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17034 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17037 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17038 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17043 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17047 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17048 *** create shared libraries on Solaris systems. Therefore, libtool
17049 *** is disabling shared libraries support. We urge you to upgrade GNU
17050 *** binutils to release 2.9.1 or newer. Another option is to modify
17051 *** your PATH or compiler configuration so that the native linker is
17052 *** used, and then restart.
17055 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17056 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17057 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17064 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17066 hardcode_direct_GCJ
=yes
17067 hardcode_shlibpath_var_GCJ
=no
17071 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17072 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17073 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17080 if test "$ld_shlibs_GCJ" = no
; then
17082 hardcode_libdir_flag_spec_GCJ
=
17083 export_dynamic_flag_spec_GCJ
=
17084 whole_archive_flag_spec_GCJ
=
17087 # PORTME fill in a description of your system's linker (not GNU ld)
17090 allow_undefined_flag_GCJ
=unsupported
17091 always_export_symbols_GCJ
=yes
17092 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'
17093 # Note: this linker hardcodes the directories in LIBPATH if there
17094 # are no directories specified by -L.
17095 hardcode_minus_L_GCJ
=yes
17096 if test "$GCC" = yes && test -z "$link_static_flag"; then
17097 # Neither direct hardcoding nor static linking is supported with a
17099 hardcode_direct_GCJ
=unsupported
17104 if test "$host_cpu" = ia64
; then
17105 # On IA64, the linker does run time linking by default, so we don't
17106 # have to do anything special.
17107 aix_use_runtimelinking
=no
17108 exp_sym_flag
='-Bexport'
17111 # If we're using GNU nm, then we don't want the "-C" option.
17112 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17113 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17114 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'
17116 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'
17118 aix_use_runtimelinking
=no
17120 # Test if we are trying to use run time linking or normal
17121 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17122 # need to do runtime linking.
17123 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17124 for ld_flag
in $LDFLAGS; do
17125 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17126 aix_use_runtimelinking
=yes
17132 exp_sym_flag
='-bexport'
17133 no_entry_flag
='-bnoentry'
17136 # When large executables or shared objects are built, AIX ld can
17137 # have problems creating the table of contents. If linking a library
17138 # or program results in "error TOC overflow" add -mminimal-toc to
17139 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17140 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17142 archive_cmds_GCJ
=''
17143 hardcode_direct_GCJ
=yes
17144 hardcode_libdir_separator_GCJ
=':'
17145 link_all_deplibs_GCJ
=yes
17147 if test "$GCC" = yes; then
17148 case $host_os in aix4.
[012]|aix4.
[012].
*)
17149 # We only want to do this on AIX 4.2 and lower, the check
17150 # below for broken collect2 doesn't work under 4.3+
17151 collect2name
=`${CC} -print-prog-name=collect2`
17152 if test -f "$collect2name" && \
17153 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17155 # We have reworked collect2
17156 hardcode_direct_GCJ
=yes
17158 # We have old collect2
17159 hardcode_direct_GCJ
=unsupported
17160 # It fails to find uninstalled libraries when the uninstalled
17161 # path is not listed in the libpath. Setting hardcode_minus_L
17162 # to unsupported forces relinking
17163 hardcode_minus_L_GCJ
=yes
17164 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17165 hardcode_libdir_separator_GCJ
=
17168 shared_flag
='-shared'
17169 if test "$aix_use_runtimelinking" = yes; then
17170 shared_flag
="$shared_flag "'${wl}-G'
17174 if test "$host_cpu" = ia64
; then
17175 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17176 # chokes on -Wl,-G. The following line is correct:
17179 if test "$aix_use_runtimelinking" = yes; then
17180 shared_flag
='${wl}-G'
17182 shared_flag
='${wl}-bM:SRE'
17187 # It seems that -bexpall does not export symbols beginning with
17188 # underscore (_), so it is better to generate a list of symbols to export.
17189 always_export_symbols_GCJ
=yes
17190 if test "$aix_use_runtimelinking" = yes; then
17191 # Warning - without using the other runtime loading flags (-brtl),
17192 # -berok will link without error, but may produce a broken library.
17193 allow_undefined_flag_GCJ
='-berok'
17194 # Determine the default libpath from the value encoded in an empty executable.
17195 cat >conftest.
$ac_ext <<_ACEOF
17198 cat confdefs.h
>>conftest.
$ac_ext
17199 cat >>conftest.
$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17210 rm -f conftest.
$ac_objext conftest
$ac_exeext
17211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17212 (eval $ac_link) 2>conftest.er1
17214 grep -v '^ *+' conftest.er1
>conftest.err
17216 cat conftest.err
>&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); } &&
17219 { ac_try
='test -z "$ac_c_werror_flag"
17220 || test ! -s conftest.err'
17221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17222 (eval $ac_try) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; } &&
17226 { ac_try
='test -s conftest$ac_exeext'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; }; then
17233 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17235 # Check for a 64-bit object if we didn't find anything.
17236 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; }
17239 echo "$as_me: failed program was:" >&5
17240 sed 's/^/| /' conftest.
$ac_ext >&5
17243 rm -f conftest.err conftest.
$ac_objext \
17244 conftest
$ac_exeext conftest.
$ac_ext
17245 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17247 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17248 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"
17250 if test "$host_cpu" = ia64; then
17251 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
17252 allow_undefined_flag_GCJ="-z nodefs"
17253 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"
17255 # Determine the default libpath from the value encoded in an empty executable.
17256 cat >conftest.$ac_ext <<_ACEOF
17259 cat confdefs.h >>conftest.$ac_ext
17260 cat >>conftest.$ac_ext <<_ACEOF
17261 /* end confdefs.h. */
17271 rm -f conftest.$ac_objext conftest$ac_exeext
17272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17273 (eval $ac_link) 2>conftest.er1
17275 grep -v '^ *+' conftest.er1 >conftest.err
17277 cat conftest.err >&5
17278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17279 (exit $ac_status); } &&
17280 { ac_try='test -z "$ac_c_werror_flag"
17281 || test ! -s conftest.err'
17282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17283 (eval $ac_try) 2>&5
17285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17286 (exit $ac_status); }; } &&
17287 { ac_try='test -s conftest$ac_exeext'
17288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17289 (eval $ac_try) 2>&5
17291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17292 (exit $ac_status); }; }; then
17294 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17296 # Check for a 64-bit object if we didn't find anything.
17297 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; }
17300 echo "$as_me: failed program was
:" >&5
17301 sed 's/^/| /' conftest.$ac_ext >&5
17304 rm -f conftest.err conftest.$ac_objext \
17305 conftest$ac_exeext conftest.$ac_ext
17306 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
17308 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17309 # Warning - without using the other run time loading flags,
17310 # -berok will link without error, but may produce a broken library.
17311 no_undefined_flag_GCJ=' ${wl}-bernotok'
17312 allow_undefined_flag_GCJ=' ${wl}-berok'
17313 # -bexpall does not export symbols beginning with underscore (_)
17314 always_export_symbols_GCJ=yes
17315 # Exported symbols can be pulled into shared objects from archives
17316 whole_archive_flag_spec_GCJ=' '
17317 archive_cmds_need_lc_GCJ=yes
17318 # This is similar to how AIX traditionally builds it's shared libraries.
17319 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'
17325 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)'
17326 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17327 hardcode_minus_L_GCJ
=yes
17328 # see comment about different semantics on the GNU ld section
17333 export_dynamic_flag_spec_GCJ
=-rdynamic
17336 cygwin
* | mingw
* | pw32
*)
17337 # When not using gcc, we currently assume that we are using
17338 # Microsoft Visual C++.
17339 # hardcode_libdir_flag_spec is actually meaningless, as there is
17340 # no search path for DLLs.
17341 hardcode_libdir_flag_spec_GCJ
=' '
17342 allow_undefined_flag_GCJ
=unsupported
17343 # Tell ltmain to make .lib files, not .a files.
17345 # Tell ltmain to make .dll files, not .so files.
17347 # FIXME: Setting linknames here is a bad hack.
17348 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17349 # The linker will automatically build a .lib file if we build a DLL.
17350 old_archive_From_new_cmds_GCJ
='true'
17351 # FIXME: Should let the user specify the lib program.
17352 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17353 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17354 enable_shared_with_static_runtimes_GCJ
=yes
17357 darwin
* | rhapsody
*)
17359 rhapsody
* | darwin1.
[012])
17360 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17363 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17364 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17366 case ${MACOSX_DEPLOYMENT_TARGET} in
17368 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17371 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17377 archive_cmds_need_lc_GCJ
=no
17378 hardcode_direct_GCJ
=no
17379 hardcode_automatic_GCJ
=yes
17380 hardcode_shlibpath_var_GCJ
=unsupported
17381 whole_archive_flag_spec_GCJ
=''
17382 link_all_deplibs_GCJ
=yes
17383 if test "$GCC" = yes ; then
17384 output_verbose_link_cmd
='echo'
17385 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17386 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17387 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17388 archive_expsym_cmds_GCJ
='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}'
17389 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17391 case $cc_basename in
17393 output_verbose_link_cmd
='echo'
17394 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17395 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17396 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17397 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17398 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17408 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17409 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17410 hardcode_shlibpath_var_GCJ
=no
17417 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17418 # support. Future versions do this automatically, but an explicit c++rt0.o
17419 # does not break anything, and helps significantly (at the cost of a little
17422 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17423 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17424 hardcode_direct_GCJ
=yes
17425 hardcode_shlibpath_var_GCJ
=no
17428 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17430 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17431 hardcode_direct_GCJ
=yes
17432 hardcode_minus_L_GCJ
=yes
17433 hardcode_shlibpath_var_GCJ
=no
17436 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17437 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17438 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17439 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17440 hardcode_direct_GCJ
=yes
17441 hardcode_shlibpath_var_GCJ
=no
17445 if test "$GCC" = yes; then
17446 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'
17448 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'
17450 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17451 hardcode_libdir_separator_GCJ
=:
17452 hardcode_direct_GCJ
=yes
17454 # hardcode_minus_L: Not really in the search PATH,
17455 # but as the default location of the library.
17456 hardcode_minus_L_GCJ
=yes
17457 export_dynamic_flag_spec_GCJ
='${wl}-E'
17461 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17462 case "$host_cpu" in
17464 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17467 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17471 case "$host_cpu" in
17473 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17476 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17480 if test "$with_gnu_ld" = no
; then
17481 case "$host_cpu" in
17483 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17484 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17485 hardcode_libdir_separator_GCJ
=:
17486 hardcode_direct_GCJ
=no
17487 hardcode_shlibpath_var_GCJ
=no
17490 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17491 hardcode_direct_GCJ
=no
17492 hardcode_shlibpath_var_GCJ
=no
17494 # hardcode_minus_L: Not really in the search PATH,
17495 # but as the default location of the library.
17496 hardcode_minus_L_GCJ
=yes
17499 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17500 hardcode_libdir_separator_GCJ
=:
17501 hardcode_direct_GCJ
=yes
17502 export_dynamic_flag_spec_GCJ
='${wl}-E'
17504 # hardcode_minus_L: Not really in the search PATH,
17505 # but as the default location of the library.
17506 hardcode_minus_L_GCJ
=yes
17512 irix5
* | irix6
* | nonstopux
*)
17513 if test "$GCC" = yes; then
17514 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'
17516 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'
17517 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17519 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17520 hardcode_libdir_separator_GCJ
=:
17521 link_all_deplibs_GCJ
=yes
17525 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17526 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17528 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17530 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17531 hardcode_direct_GCJ
=yes
17532 hardcode_shlibpath_var_GCJ
=no
17536 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17537 hardcode_direct_GCJ
=yes
17538 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17539 hardcode_libdir_separator_GCJ
=:
17540 hardcode_shlibpath_var_GCJ
=no
17544 hardcode_direct_GCJ
=yes
17545 hardcode_shlibpath_var_GCJ
=no
17546 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17547 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17548 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17549 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17550 export_dynamic_flag_spec_GCJ
='${wl}-E'
17553 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17554 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17555 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17558 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17559 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17566 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17567 hardcode_minus_L_GCJ
=yes
17568 allow_undefined_flag_GCJ
=unsupported
17569 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'
17570 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17574 if test "$GCC" = yes; then
17575 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17576 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'
17578 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17579 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'
17581 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17582 hardcode_libdir_separator_GCJ
=:
17585 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17586 if test "$GCC" = yes; then
17587 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17588 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'
17589 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17591 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17592 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'
17593 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~
17594 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17596 # Both c and cxx compiler support -rpath directly
17597 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17599 hardcode_libdir_separator_GCJ
=:
17603 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17604 hardcode_shlibpath_var_GCJ
=no
17605 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17606 runpath_var
=LD_RUN_PATH
17607 hardcode_runpath_var
=yes
17611 no_undefined_flag_GCJ
=' -z text'
17612 if test "$GCC" = yes; then
17614 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17615 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17616 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17619 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17620 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17621 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17623 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17624 hardcode_shlibpath_var_GCJ
=no
17626 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17628 # The compiler driver will combine linker options so we
17629 # cannot just pass the convience library names through
17630 # without $wl, iff we do not link with $LD.
17631 # Luckily, gcc supports the same syntax we need for Sun Studio.
17632 # Supported since Solaris 2.6 (maybe 2.5.1?)
17635 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17637 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17640 link_all_deplibs_GCJ
=yes
17644 if test "x$host_vendor" = xsequent
; then
17645 # Use $CC to link under sequent, because it throws in some extra .o
17646 # files that make .init and .fini sections work.
17647 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17649 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17651 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17652 hardcode_direct_GCJ
=yes
17653 hardcode_minus_L_GCJ
=yes
17654 hardcode_shlibpath_var_GCJ
=no
17658 case $host_vendor in
17660 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17661 hardcode_direct_GCJ
=yes # is this really true???
17664 ## LD is ld it makes a PLAMLIB
17665 ## CC just makes a GrossModule.
17666 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17667 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17668 hardcode_direct_GCJ
=no
17671 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17672 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17675 runpath_var
='LD_RUN_PATH'
17676 hardcode_shlibpath_var_GCJ
=no
17680 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17681 hardcode_shlibpath_var_GCJ
=no
17682 export_dynamic_flag_spec_GCJ
='-Bexport'
17686 if test -d /usr
/nec
; then
17687 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17688 hardcode_shlibpath_var_GCJ
=no
17689 runpath_var
=LD_RUN_PATH
17690 hardcode_runpath_var
=yes
17696 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17697 hardcode_direct_GCJ
=yes
17698 hardcode_minus_L_GCJ
=no
17699 hardcode_shlibpath_var_GCJ
=no
17700 hardcode_runpath_var
=yes
17701 runpath_var
=LD_RUN_PATH
17704 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17705 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
17706 if test "$GCC" = yes; then
17707 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17709 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17711 runpath_var
='LD_RUN_PATH'
17712 hardcode_shlibpath_var_GCJ
=no
17716 no_undefined_flag_GCJ
=' -z text'
17717 # $CC -shared without GNU ld will not create a library from C++
17718 # object files and a static libstdc++, better avoid it by now
17719 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17720 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17721 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17722 hardcode_libdir_flag_spec_GCJ
=
17723 hardcode_shlibpath_var_GCJ
=no
17724 runpath_var
='LD_RUN_PATH'
17728 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17729 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17730 hardcode_shlibpath_var_GCJ
=no
17739 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17740 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17741 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17743 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17744 if test "$GCC" = yes; then
17745 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17749 # Do we need to explicitly link libc?
17751 case "x$archive_cmds_need_lc_GCJ" in
17753 # Assume -lc should be added
17754 archive_cmds_need_lc_GCJ
=yes
17756 if test "$enable_shared" = yes && test "$GCC" = yes; then
17757 case $archive_cmds_GCJ in
17759 # FIXME: we may have to deal with multi-command sequences.
17762 # Test whether the compiler implicitly links with -lc since on some
17763 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17764 # to ld, don't add -lc before -lgcc.
17765 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17766 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17768 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17771 (eval $ac_compile) 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } 2>conftest.err
; then
17777 libobjs
=conftest.
$ac_objext
17779 wl
=$lt_prog_compiler_wl_GCJ
17785 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17786 allow_undefined_flag_GCJ
=
17787 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17788 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); }
17793 archive_cmds_need_lc_GCJ
=no
17795 archive_cmds_need_lc_GCJ
=yes
17797 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17799 cat conftest.err
1>&5
17802 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17803 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17810 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17811 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17812 library_names_spec
=
17813 libname_spec
='lib$name'
17817 postuninstall_cmds
=
17821 shlibpath_overrides_runpath
=unknown
17823 dynamic_linker
="$host_os ld.so"
17824 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17825 if test "$GCC" = yes; then
17826 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17827 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17828 # if the path contains ";" then we assume it to be the separator
17829 # otherwise default to the standard path separator (i.e. ":") - it is
17830 # assumed that no part of a normal pathname contains ";" but that should
17831 # okay in the real world where ";" in dirpaths is itself problematic.
17832 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17834 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17837 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17839 need_lib_prefix
=unknown
17840 hardcode_into_libs
=no
17842 # when you set need_version to no, make sure it does not cause -set_version
17843 # flags to be left without arguments
17844 need_version
=unknown
17849 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17850 shlibpath_var
=LIBPATH
17852 # AIX 3 has no versioning support, so we append a major version to the name.
17853 soname_spec
='${libname}${release}${shared_ext}$major'
17860 hardcode_into_libs
=yes
17861 if test "$host_cpu" = ia64
; then
17862 # AIX 5 supports IA64
17863 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17864 shlibpath_var
=LD_LIBRARY_PATH
17866 # With GCC up to 2.95.x, collect2 would create an import file
17867 # for dependence libraries. The import file would start with
17868 # the line `#! .'. This would cause the generated library to
17869 # depend on `.', always an invalid library. This was fixed in
17870 # development snapshots of GCC prior to 3.0.
17872 aix4 | aix4.
[01] | aix4.
[01].
*)
17873 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17875 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17878 can_build_shared
=no
17882 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17883 # soname into executable. Probably we can add versioning support to
17884 # collect2, so additional links can be useful in future.
17885 if test "$aix_use_runtimelinking" = yes; then
17886 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17887 # instead of lib<name>.a to let people know that these are not
17888 # typical AIX shared libraries.
17889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17891 # We preserve .a as extension for shared libraries through AIX4.2
17892 # and later when we are not doing run time linking.
17893 library_names_spec
='${libname}${release}.a $libname.a'
17894 soname_spec
='${libname}${release}${shared_ext}$major'
17896 shlibpath_var
=LIBPATH
17901 library_names_spec
='$libname.ixlibrary $libname.a'
17902 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17903 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'
17907 library_names_spec
='${libname}${shared_ext}'
17908 dynamic_linker
="$host_os ld.so"
17909 shlibpath_var
=LIBRARY_PATH
17915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17916 soname_spec
='${libname}${release}${shared_ext}$major'
17917 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17918 shlibpath_var
=LD_LIBRARY_PATH
17919 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17920 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17921 # the default ld.so.conf also contains /usr/contrib/lib and
17922 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17923 # libtool to hard-code these into programs
17926 cygwin
* | mingw
* | pw32
*)
17927 version_type
=windows
17932 case $GCC,$host_os in
17933 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17934 library_names_spec
='$libname.dll.a'
17935 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17936 postinstall_cmds
='base_file=`basename \${file}`~
17937 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17938 dldir=$destdir/`dirname \$dlpath`~
17939 test -d \$dldir || mkdir -p \$dldir~
17940 $install_prog $dir/$dlname \$dldir/$dlname'
17941 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17942 dlpath=$dir/\$dldll~
17944 shlibpath_overrides_runpath
=yes
17948 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17949 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17950 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17953 # MinGW DLLs use traditional 'lib' prefix
17954 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17955 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17956 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17957 # It is most probably a Windows format PATH printed by
17958 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17959 # path with ; separators, and with drive letters. We can handle the
17960 # drive letters (cygwin fileutils understands them), so leave them,
17961 # especially as we might pass files found there to a mingw objdump,
17962 # which wouldn't understand a cygwinified path. Ahh.
17963 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17965 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17969 # pw32 DLLs use 'pw' prefix rather than 'lib'
17970 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17976 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17979 dynamic_linker
='Win32 ld.exe'
17980 # FIXME: first we should search . and the directory the executable is in
17984 darwin
* | rhapsody
*)
17985 dynamic_linker
="$host_os dyld"
17986 version_type
=darwin
17989 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17990 soname_spec
='${libname}${release}${major}$shared_ext'
17991 shlibpath_overrides_runpath
=yes
17992 shlibpath_var
=DYLD_LIBRARY_PATH
17993 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
17994 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17995 if test "$GCC" = yes; then
17996 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"`
17998 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18000 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18008 soname_spec
='${libname}${release}${shared_ext}$major'
18009 shlibpath_var
=LD_LIBRARY_PATH
18020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18021 soname_spec
='${libname}${release}${shared_ext}$major'
18022 shlibpath_var
=LD_LIBRARY_PATH
18023 shlibpath_overrides_runpath
=no
18024 hardcode_into_libs
=yes
18025 dynamic_linker
='GNU ld.so'
18028 freebsd
* | dragonfly
*)
18029 # DragonFly does not have aout. When/if they implement a new
18030 # versioning mechanism, adjust this.
18031 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18032 version_type
=freebsd-
$objformat
18033 case $version_type in
18035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18040 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18044 shlibpath_var
=LD_LIBRARY_PATH
18047 shlibpath_overrides_runpath
=yes
18049 freebsd3.
[01]* | freebsdelf3.
[01]*)
18050 shlibpath_overrides_runpath
=yes
18051 hardcode_into_libs
=yes
18054 shlibpath_overrides_runpath
=no
18055 hardcode_into_libs
=yes
18064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18065 soname_spec
='${libname}${release}${shared_ext}$major'
18066 shlibpath_var
=LD_LIBRARY_PATH
18067 hardcode_into_libs
=yes
18070 hpux9
* | hpux10
* | hpux11
*)
18071 # Give a soname corresponding to the major version so that dld.sl refuses to
18072 # link against other versions.
18076 case "$host_cpu" in
18079 hardcode_into_libs
=yes
18080 dynamic_linker
="$host_os dld.so"
18081 shlibpath_var
=LD_LIBRARY_PATH
18082 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18084 soname_spec
='${libname}${release}${shared_ext}$major'
18085 if test "X$HPUX_IA64_MODE" = X32
; then
18086 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18088 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18090 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18094 hardcode_into_libs
=yes
18095 dynamic_linker
="$host_os dld.sl"
18096 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18097 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18099 soname_spec
='${libname}${release}${shared_ext}$major'
18100 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18101 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18105 dynamic_linker
="$host_os dld.sl"
18106 shlibpath_var
=SHLIB_PATH
18107 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18109 soname_spec
='${libname}${release}${shared_ext}$major'
18112 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18113 postinstall_cmds
='chmod 555 $lib'
18116 irix5
* | irix6
* | nonstopux
*)
18118 nonstopux
*) version_type
=nonstopux
;;
18120 if test "$lt_cv_prog_gnu_ld" = yes; then
18128 soname_spec
='${libname}${release}${shared_ext}$major'
18129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18131 irix5
* | nonstopux
*)
18132 libsuff
= shlibsuff
=
18135 case $LD in # libtool.m4 will add one of these switches to LD
18136 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18137 libsuff
= shlibsuff
= libmagic
=32-bit;;
18138 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18139 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18140 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18141 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18142 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18146 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18147 shlibpath_overrides_runpath
=no
18148 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18149 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18150 hardcode_into_libs
=yes
18153 # No shared lib support for Linux oldld, aout, or coff.
18154 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18158 # This must be Linux ELF.
18163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18164 soname_spec
='${libname}${release}${shared_ext}$major'
18165 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18166 shlibpath_var
=LD_LIBRARY_PATH
18167 shlibpath_overrides_runpath
=no
18168 # This implies no fast_install, which is unacceptable.
18169 # Some rework will be needed to allow for fast_install
18170 # before this can be enabled.
18171 hardcode_into_libs
=yes
18173 # find out which ABI we are using
18175 case "$host_cpu" in
18176 x86_64
*|s390x
*|powerpc64
*)
18177 echo '#line 18177 "configure"' > conftest.
$ac_ext
18178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18179 (eval $ac_compile) 2>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; then
18183 case `/usr/bin/file conftest.$ac_objext` in
18186 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18194 # Append ld.so.conf contents to the search path
18195 if test -f /etc
/ld.so.conf
; then
18196 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18197 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18200 # We used to test for /lib/ld.so.1 and disable shared libraries on
18201 # powerpc, because MkLinux only supported shared libraries with the
18202 # GNU dynamic linker. Since this was broken with cross compilers,
18203 # most powerpc-linux boxes support dynamic linking these days and
18204 # people can always --disable-shared, the test was removed, and we
18205 # assume the GNU/Linux dynamic linker is in use.
18206 dynamic_linker
='GNU/Linux ld.so'
18213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18214 soname_spec
='${libname}${release}${shared_ext}$major'
18215 shlibpath_var
=LD_LIBRARY_PATH
18216 shlibpath_overrides_runpath
=no
18217 hardcode_into_libs
=yes
18218 dynamic_linker
='GNU ld.so'
18225 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18227 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18228 dynamic_linker
='NetBSD (a.out) ld.so'
18230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18231 soname_spec
='${libname}${release}${shared_ext}$major'
18232 dynamic_linker
='NetBSD ld.elf_so'
18234 shlibpath_var
=LD_LIBRARY_PATH
18235 shlibpath_overrides_runpath
=yes
18236 hardcode_into_libs
=yes
18241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18242 shlibpath_var
=LD_LIBRARY_PATH
18243 shlibpath_overrides_runpath
=yes
18250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18251 soname_spec
='${libname}${release}${shared_ext}$major'
18252 shlibpath_var
=LD_LIBRARY_PATH
18253 shlibpath_overrides_runpath
=yes
18260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18261 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18262 shlibpath_var
=LD_LIBRARY_PATH
18263 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18265 openbsd2.
[89] | openbsd2.
[89].
*)
18266 shlibpath_overrides_runpath
=no
18269 shlibpath_overrides_runpath
=yes
18273 shlibpath_overrides_runpath
=yes
18278 libname_spec
='$name'
18281 library_names_spec
='$libname${shared_ext} $libname.a'
18282 dynamic_linker
='OS/2 ld.exe'
18283 shlibpath_var
=LIBPATH
18286 osf3
* | osf4
* | osf5
*)
18290 soname_spec
='${libname}${release}${shared_ext}$major'
18291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18292 shlibpath_var
=LD_LIBRARY_PATH
18293 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18294 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18299 soname_spec
='${libname}${release}${shared_ext}$major'
18300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18301 shlibpath_var
=LD_LIBRARY_PATH
18308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18309 soname_spec
='${libname}${release}${shared_ext}$major'
18310 shlibpath_var
=LD_LIBRARY_PATH
18311 shlibpath_overrides_runpath
=yes
18312 hardcode_into_libs
=yes
18313 # ldd complains unless libraries are executable
18314 postinstall_cmds
='chmod +x $lib'
18319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18320 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18321 shlibpath_var
=LD_LIBRARY_PATH
18322 shlibpath_overrides_runpath
=yes
18323 if test "$with_gnu_ld" = yes; then
18329 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18332 soname_spec
='${libname}${release}${shared_ext}$major'
18333 shlibpath_var
=LD_LIBRARY_PATH
18334 case $host_vendor in
18336 shlibpath_overrides_runpath
=no
18338 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18339 runpath_var
=LD_RUN_PATH
18347 shlibpath_overrides_runpath
=no
18348 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18354 if test -d /usr
/nec
;then
18356 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18357 soname_spec
='$libname${shared_ext}.$major'
18358 shlibpath_var
=LD_LIBRARY_PATH
18364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18365 soname_spec
='${libname}${release}${shared_ext}$major'
18366 shlibpath_var
=LD_LIBRARY_PATH
18373 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18374 echo "${ECHO_T}$dynamic_linker" >&6
18375 test "$dynamic_linker" = no
&& can_build_shared
=no
18377 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18378 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18379 hardcode_action_GCJ
=
18380 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18381 test -n "$runpath_var_GCJ" || \
18382 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18384 # We can hardcode non-existant directories.
18385 if test "$hardcode_direct_GCJ" != no
&&
18386 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18387 # have to relink, otherwise we might link with an installed library
18388 # when we should be linking with a yet-to-be-installed one
18389 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18390 test "$hardcode_minus_L_GCJ" != no
; then
18391 # Linking always hardcodes the temporary library directory.
18392 hardcode_action_GCJ
=relink
18394 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18395 hardcode_action_GCJ
=immediate
18398 # We cannot hardcode anything, or else we can only hardcode existing
18400 hardcode_action_GCJ
=unsupported
18402 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18403 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18405 if test "$hardcode_action_GCJ" = relink
; then
18406 # Fast installation is not supported
18407 enable_fast_install
=no
18408 elif test "$shlibpath_overrides_runpath" = yes ||
18409 test "$enable_shared" = no
; then
18410 # Fast installation is not necessary
18411 enable_fast_install
=needless
18416 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18417 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18418 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
18419 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
18420 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
18421 echo "$as_me:$LINENO: result: yes" >&5
18422 echo "${ECHO_T}yes" >&6
18424 # FIXME - insert some real tests, host_os isn't really good enough
18427 if test -n "$STRIP" ; then
18428 striplib
="$STRIP -x"
18429 echo "$as_me:$LINENO: result: yes" >&5
18430 echo "${ECHO_T}yes" >&6
18432 echo "$as_me:$LINENO: result: no" >&5
18433 echo "${ECHO_T}no" >&6
18437 echo "$as_me:$LINENO: result: no" >&5
18438 echo "${ECHO_T}no" >&6
18443 if test "x$enable_dlopen" != xyes
; then
18444 enable_dlopen
=unknown
18445 enable_dlopen_self
=unknown
18446 enable_dlopen_self_static
=unknown
18453 lt_cv_dlopen
="load_add_on"
18455 lt_cv_dlopen_self
=yes
18459 lt_cv_dlopen
="LoadLibrary"
18464 lt_cv_dlopen
="dlopen"
18469 # if libdl is installed we need to link against it
18470 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18471 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18472 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18473 echo $ECHO_N "(cached) $ECHO_C" >&6
18475 ac_check_lib_save_LIBS
=$LIBS
18477 cat >conftest.
$ac_ext <<_ACEOF
18480 cat confdefs.h
>>conftest.
$ac_ext
18481 cat >>conftest.
$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18484 /* Override any gcc2 internal prototype to avoid an error. */
18488 /* We use char because int might match the return type of a gcc2
18489 builtin and then its argument prototype would still apply. */
18499 rm -f conftest.
$ac_objext conftest
$ac_exeext
18500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18501 (eval $ac_link) 2>conftest.er1
18503 grep -v '^ *+' conftest.er1
>conftest.err
18505 cat conftest.err
>&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } &&
18508 { ac_try
='test -z "$ac_c_werror_flag"
18509 || test ! -s conftest.err'
18510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18511 (eval $ac_try) 2>&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); }; } &&
18515 { ac_try
='test -s conftest$ac_exeext'
18516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18517 (eval $ac_try) 2>&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); }; }; then
18521 ac_cv_lib_dl_dlopen
=yes
18523 echo "$as_me: failed program was:" >&5
18524 sed 's/^/| /' conftest.
$ac_ext >&5
18526 ac_cv_lib_dl_dlopen
=no
18528 rm -f conftest.err conftest.
$ac_objext \
18529 conftest
$ac_exeext conftest.
$ac_ext
18530 LIBS
=$ac_check_lib_save_LIBS
18532 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18533 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18534 if test $ac_cv_lib_dl_dlopen = yes; then
18535 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18538 lt_cv_dlopen
="dyld"
18540 lt_cv_dlopen_self
=yes
18547 echo "$as_me:$LINENO: checking for shl_load" >&5
18548 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18549 if test "${ac_cv_func_shl_load+set}" = set; then
18550 echo $ECHO_N "(cached) $ECHO_C" >&6
18552 cat >conftest.
$ac_ext <<_ACEOF
18555 cat confdefs.h
>>conftest.
$ac_ext
18556 cat >>conftest.
$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18560 #define shl_load innocuous_shl_load
18562 /* System header to define __stub macros and hopefully few prototypes,
18563 which can conflict with char shl_load (); below.
18564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18565 <limits.h> exists even on freestanding compilers. */
18568 # include <limits.h>
18570 # include <assert.h>
18575 /* Override any gcc2 internal prototype to avoid an error. */
18580 /* We use char because int might match the return type of a gcc2
18581 builtin and then its argument prototype would still apply. */
18583 /* The GNU C library defines this for functions which it implements
18584 to always fail with ENOSYS. Some functions are actually named
18585 something starting with __ and the normal name is an alias. */
18586 #if defined (__stub_shl_load) || defined (__stub___shl_load)
18589 char (*f) () = shl_load;
18598 return f != shl_load;
18603 rm -f conftest.
$ac_objext conftest
$ac_exeext
18604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18605 (eval $ac_link) 2>conftest.er1
18607 grep -v '^ *+' conftest.er1
>conftest.err
18609 cat conftest.err
>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } &&
18612 { ac_try
='test -z "$ac_c_werror_flag"
18613 || test ! -s conftest.err'
18614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18615 (eval $ac_try) 2>&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); }; } &&
18619 { ac_try
='test -s conftest$ac_exeext'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; }; then
18625 ac_cv_func_shl_load
=yes
18627 echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.
$ac_ext >&5
18630 ac_cv_func_shl_load
=no
18632 rm -f conftest.err conftest.
$ac_objext \
18633 conftest
$ac_exeext conftest.
$ac_ext
18635 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18636 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18637 if test $ac_cv_func_shl_load = yes; then
18638 lt_cv_dlopen
="shl_load"
18640 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18641 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18642 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18643 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 ac_check_lib_save_LIBS
=$LIBS
18647 cat >conftest.
$ac_ext <<_ACEOF
18650 cat confdefs.h
>>conftest.
$ac_ext
18651 cat >>conftest.
$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18654 /* Override any gcc2 internal prototype to avoid an error. */
18658 /* We use char because int might match the return type of a gcc2
18659 builtin and then its argument prototype would still apply. */
18669 rm -f conftest.
$ac_objext conftest
$ac_exeext
18670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18671 (eval $ac_link) 2>conftest.er1
18673 grep -v '^ *+' conftest.er1
>conftest.err
18675 cat conftest.err
>&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } &&
18678 { ac_try
='test -z "$ac_c_werror_flag"
18679 || test ! -s conftest.err'
18680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18681 (eval $ac_try) 2>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); }; } &&
18685 { ac_try
='test -s conftest$ac_exeext'
18686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 (eval $ac_try) 2>&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); }; }; then
18691 ac_cv_lib_dld_shl_load
=yes
18693 echo "$as_me: failed program was:" >&5
18694 sed 's/^/| /' conftest.
$ac_ext >&5
18696 ac_cv_lib_dld_shl_load
=no
18698 rm -f conftest.err conftest.
$ac_objext \
18699 conftest
$ac_exeext conftest.
$ac_ext
18700 LIBS
=$ac_check_lib_save_LIBS
18702 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18703 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18704 if test $ac_cv_lib_dld_shl_load = yes; then
18705 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
18707 echo "$as_me:$LINENO: checking for dlopen" >&5
18708 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18709 if test "${ac_cv_func_dlopen+set}" = set; then
18710 echo $ECHO_N "(cached) $ECHO_C" >&6
18712 cat >conftest.
$ac_ext <<_ACEOF
18715 cat confdefs.h
>>conftest.
$ac_ext
18716 cat >>conftest.
$ac_ext <<_ACEOF
18717 /* end confdefs.h. */
18718 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18720 #define dlopen innocuous_dlopen
18722 /* System header to define __stub macros and hopefully few prototypes,
18723 which can conflict with char dlopen (); below.
18724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18725 <limits.h> exists even on freestanding compilers. */
18728 # include <limits.h>
18730 # include <assert.h>
18735 /* Override any gcc2 internal prototype to avoid an error. */
18740 /* We use char because int might match the return type of a gcc2
18741 builtin and then its argument prototype would still apply. */
18743 /* The GNU C library defines this for functions which it implements
18744 to always fail with ENOSYS. Some functions are actually named
18745 something starting with __ and the normal name is an alias. */
18746 #if defined (__stub_dlopen) || defined (__stub___dlopen)
18749 char (*f) () = dlopen;
18758 return f != dlopen;
18763 rm -f conftest.
$ac_objext conftest
$ac_exeext
18764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18765 (eval $ac_link) 2>conftest.er1
18767 grep -v '^ *+' conftest.er1
>conftest.err
18769 cat conftest.err
>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } &&
18772 { ac_try
='test -z "$ac_c_werror_flag"
18773 || test ! -s conftest.err'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; } &&
18779 { ac_try
='test -s conftest$ac_exeext'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; }; then
18785 ac_cv_func_dlopen
=yes
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.
$ac_ext >&5
18790 ac_cv_func_dlopen
=no
18792 rm -f conftest.err conftest.
$ac_objext \
18793 conftest
$ac_exeext conftest.
$ac_ext
18795 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18796 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18797 if test $ac_cv_func_dlopen = yes; then
18798 lt_cv_dlopen
="dlopen"
18800 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18801 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18802 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18803 echo $ECHO_N "(cached) $ECHO_C" >&6
18805 ac_check_lib_save_LIBS
=$LIBS
18807 cat >conftest.
$ac_ext <<_ACEOF
18810 cat confdefs.h
>>conftest.
$ac_ext
18811 cat >>conftest.
$ac_ext <<_ACEOF
18812 /* end confdefs.h. */
18814 /* Override any gcc2 internal prototype to avoid an error. */
18818 /* We use char because int might match the return type of a gcc2
18819 builtin and then its argument prototype would still apply. */
18829 rm -f conftest.
$ac_objext conftest
$ac_exeext
18830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18831 (eval $ac_link) 2>conftest.er1
18833 grep -v '^ *+' conftest.er1
>conftest.err
18835 cat conftest.err
>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } &&
18838 { ac_try
='test -z "$ac_c_werror_flag"
18839 || test ! -s conftest.err'
18840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18841 (eval $ac_try) 2>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); }; } &&
18845 { ac_try
='test -s conftest$ac_exeext'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; }; then
18851 ac_cv_lib_dl_dlopen
=yes
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.
$ac_ext >&5
18856 ac_cv_lib_dl_dlopen
=no
18858 rm -f conftest.err conftest.
$ac_objext \
18859 conftest
$ac_exeext conftest.
$ac_ext
18860 LIBS
=$ac_check_lib_save_LIBS
18862 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18863 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18864 if test $ac_cv_lib_dl_dlopen = yes; then
18865 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18867 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18868 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18869 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18870 echo $ECHO_N "(cached) $ECHO_C" >&6
18872 ac_check_lib_save_LIBS
=$LIBS
18873 LIBS
="-lsvld $LIBS"
18874 cat >conftest.
$ac_ext <<_ACEOF
18877 cat confdefs.h
>>conftest.
$ac_ext
18878 cat >>conftest.
$ac_ext <<_ACEOF
18879 /* end confdefs.h. */
18881 /* Override any gcc2 internal prototype to avoid an error. */
18885 /* We use char because int might match the return type of a gcc2
18886 builtin and then its argument prototype would still apply. */
18896 rm -f conftest.
$ac_objext conftest
$ac_exeext
18897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18898 (eval $ac_link) 2>conftest.er1
18900 grep -v '^ *+' conftest.er1
>conftest.err
18902 cat conftest.err
>&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); } &&
18905 { ac_try
='test -z "$ac_c_werror_flag"
18906 || test ! -s conftest.err'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; } &&
18912 { ac_try
='test -s conftest$ac_exeext'
18913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18914 (eval $ac_try) 2>&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); }; }; then
18918 ac_cv_lib_svld_dlopen
=yes
18920 echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.
$ac_ext >&5
18923 ac_cv_lib_svld_dlopen
=no
18925 rm -f conftest.err conftest.
$ac_objext \
18926 conftest
$ac_exeext conftest.
$ac_ext
18927 LIBS
=$ac_check_lib_save_LIBS
18929 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18930 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18931 if test $ac_cv_lib_svld_dlopen = yes; then
18932 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18934 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18935 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18936 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18937 echo $ECHO_N "(cached) $ECHO_C" >&6
18939 ac_check_lib_save_LIBS
=$LIBS
18941 cat >conftest.
$ac_ext <<_ACEOF
18944 cat confdefs.h
>>conftest.
$ac_ext
18945 cat >>conftest.
$ac_ext <<_ACEOF
18946 /* end confdefs.h. */
18948 /* Override any gcc2 internal prototype to avoid an error. */
18952 /* We use char because int might match the return type of a gcc2
18953 builtin and then its argument prototype would still apply. */
18963 rm -f conftest.
$ac_objext conftest
$ac_exeext
18964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18965 (eval $ac_link) 2>conftest.er1
18967 grep -v '^ *+' conftest.er1
>conftest.err
18969 cat conftest.err
>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } &&
18972 { ac_try
='test -z "$ac_c_werror_flag"
18973 || test ! -s conftest.err'
18974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975 (eval $ac_try) 2>&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; } &&
18979 { ac_try
='test -s conftest$ac_exeext'
18980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18981 (eval $ac_try) 2>&5
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); }; }; then
18985 ac_cv_lib_dld_dld_link
=yes
18987 echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.
$ac_ext >&5
18990 ac_cv_lib_dld_dld_link
=no
18992 rm -f conftest.err conftest.
$ac_objext \
18993 conftest
$ac_exeext conftest.
$ac_ext
18994 LIBS
=$ac_check_lib_save_LIBS
18996 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18997 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18998 if test $ac_cv_lib_dld_dld_link = yes; then
18999 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
19020 if test "x$lt_cv_dlopen" != xno
; then
19026 case $lt_cv_dlopen in
19028 save_CPPFLAGS
="$CPPFLAGS"
19029 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
19031 save_LDFLAGS
="$LDFLAGS"
19032 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
19035 LIBS
="$lt_cv_dlopen_libs $LIBS"
19037 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19038 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
19039 if test "${lt_cv_dlopen_self+set}" = set; then
19040 echo $ECHO_N "(cached) $ECHO_C" >&6
19042 if test "$cross_compiling" = yes; then :
19043 lt_cv_dlopen_self
=cross
19045 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
19046 lt_status
=$lt_dlunknown
19047 cat > conftest.
$ac_ext <<EOF
19048 #line 19048 "configure"
19049 #include "confdefs.h"
19058 # define LT_DLGLOBAL RTLD_GLOBAL
19061 # define LT_DLGLOBAL DL_GLOBAL
19063 # define LT_DLGLOBAL 0
19067 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19068 find out it does not work in some platform. */
19069 #ifndef LT_DLLAZY_OR_NOW
19071 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19074 # define LT_DLLAZY_OR_NOW DL_LAZY
19077 # define LT_DLLAZY_OR_NOW RTLD_NOW
19080 # define LT_DLLAZY_OR_NOW DL_NOW
19082 # define LT_DLLAZY_OR_NOW 0
19090 extern "C" void exit (int);
19093 void fnord() { int i=42;}
19096 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19097 int status = $lt_dlunknown;
19101 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19102 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19103 /* dlclose (self); */
19109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19110 (eval $ac_link) 2>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
19114 (.
/conftest
; exit; ) 2>/dev
/null
19116 case x
$lt_status in
19117 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
19118 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
19119 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
19122 # compilation failed
19123 lt_cv_dlopen_self
=no
19130 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19131 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19133 if test "x$lt_cv_dlopen_self" = xyes
; then
19134 LDFLAGS
="$LDFLAGS $link_static_flag"
19135 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19136 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19137 if test "${lt_cv_dlopen_self_static+set}" = set; then
19138 echo $ECHO_N "(cached) $ECHO_C" >&6
19140 if test "$cross_compiling" = yes; then :
19141 lt_cv_dlopen_self_static
=cross
19143 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
19144 lt_status
=$lt_dlunknown
19145 cat > conftest.
$ac_ext <<EOF
19146 #line 19146 "configure"
19147 #include "confdefs.h"
19156 # define LT_DLGLOBAL RTLD_GLOBAL
19159 # define LT_DLGLOBAL DL_GLOBAL
19161 # define LT_DLGLOBAL 0
19165 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19166 find out it does not work in some platform. */
19167 #ifndef LT_DLLAZY_OR_NOW
19169 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19172 # define LT_DLLAZY_OR_NOW DL_LAZY
19175 # define LT_DLLAZY_OR_NOW RTLD_NOW
19178 # define LT_DLLAZY_OR_NOW DL_NOW
19180 # define LT_DLLAZY_OR_NOW 0
19188 extern "C" void exit (int);
19191 void fnord() { int i=42;}
19194 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19195 int status = $lt_dlunknown;
19199 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19200 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19201 /* dlclose (self); */
19207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19208 (eval $ac_link) 2>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
19212 (.
/conftest
; exit; ) 2>/dev
/null
19214 case x
$lt_status in
19215 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
19216 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
19217 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
19220 # compilation failed
19221 lt_cv_dlopen_self_static
=no
19228 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19229 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19232 CPPFLAGS
="$save_CPPFLAGS"
19233 LDFLAGS
="$save_LDFLAGS"
19238 case $lt_cv_dlopen_self in
19239 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
19240 *) enable_dlopen_self
=unknown
;;
19243 case $lt_cv_dlopen_self_static in
19244 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
19245 *) enable_dlopen_self_static
=unknown
;;
19250 # The else clause should only fire when bootstrapping the
19251 # libtool distribution, otherwise you forgot to ship ltmain.sh
19252 # with your package, and you will get complaints that there are
19253 # no rules to generate ltmain.sh.
19254 if test -f "$ltmain"; then
19255 # See if we are running on zsh, and set the options which allow our commands through
19256 # without removal of \ escapes.
19257 if test -n "${ZSH_VERSION+set}" ; then
19258 setopt NO_GLOB_SUBST
19260 # Now quote all the things that may contain metacharacters while being
19261 # careful not to overquote the AC_SUBSTed values. We take copies of the
19262 # variables and quote the copies for generation of the libtool script.
19263 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19265 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19266 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19267 deplibs_check_method reload_flag reload_cmds need_locks \
19268 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19269 lt_cv_sys_global_symbol_to_c_name_address \
19270 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19271 old_postinstall_cmds old_postuninstall_cmds \
19275 lt_prog_compiler_wl_GCJ \
19276 lt_prog_compiler_pic_GCJ \
19277 lt_prog_compiler_static_GCJ \
19278 lt_prog_compiler_no_builtin_flag_GCJ \
19279 export_dynamic_flag_spec_GCJ \
19280 thread_safe_flag_spec_GCJ \
19281 whole_archive_flag_spec_GCJ \
19282 enable_shared_with_static_runtimes_GCJ \
19283 old_archive_cmds_GCJ \
19284 old_archive_from_new_cmds_GCJ \
19285 predep_objects_GCJ \
19286 postdep_objects_GCJ \
19289 compiler_lib_search_path_GCJ \
19291 archive_expsym_cmds_GCJ \
19292 postinstall_cmds_GCJ \
19293 postuninstall_cmds_GCJ \
19294 old_archive_from_expsyms_cmds_GCJ \
19295 allow_undefined_flag_GCJ \
19296 no_undefined_flag_GCJ \
19297 export_symbols_cmds_GCJ \
19298 hardcode_libdir_flag_spec_GCJ \
19299 hardcode_libdir_flag_spec_ld_GCJ \
19300 hardcode_libdir_separator_GCJ \
19301 hardcode_automatic_GCJ \
19303 module_expsym_cmds_GCJ \
19304 lt_cv_prog_compiler_c_o_GCJ \
19305 exclude_expsyms_GCJ \
19306 include_expsyms_GCJ
; do
19309 old_archive_cmds_GCJ | \
19310 old_archive_from_new_cmds_GCJ | \
19311 archive_cmds_GCJ | \
19312 archive_expsym_cmds_GCJ | \
19313 module_cmds_GCJ | \
19314 module_expsym_cmds_GCJ | \
19315 old_archive_from_expsyms_cmds_GCJ | \
19316 export_symbols_cmds_GCJ | \
19317 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19318 postinstall_cmds | postuninstall_cmds | \
19319 old_postinstall_cmds | old_postuninstall_cmds | \
19320 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19321 # Double-quote double-evaled strings.
19322 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19325 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19331 *'\$0 --fallback-echo"')
19332 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19338 cat <<__EOF__ >> "$cfgfile"
19339 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19341 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19343 # Shell to use when invoking shell scripts.
19346 # Whether or not to build shared libraries.
19347 build_libtool_libs=$enable_shared
19349 # Whether or not to build static libraries.
19350 build_old_libs=$enable_static
19352 # Whether or not to add -lc for building shared libraries.
19353 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19355 # Whether or not to disallow shared libs when runtime libs are static
19356 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19358 # Whether or not to optimize for fast installation.
19359 fast_install=$enable_fast_install
19362 host_alias=$host_alias
19366 # The build system.
19367 build_alias=$build_alias
19371 # An echo program that does not interpret backslashes.
19376 AR_FLAGS=$lt_AR_FLAGS
19381 # A language-specific compiler.
19382 CC=$lt_compiler_GCJ
19384 # Is the compiler the GNU C compiler?
19390 # The linker used to build libraries.
19393 # Whether we need hard or soft links.
19396 # A BSD-compatible nm program.
19399 # A symbol stripping program
19402 # Used to examine libraries when file_magic_cmd begins "file"
19403 MAGIC_CMD=$MAGIC_CMD
19405 # Used on cygwin: DLL creation program.
19408 # Used on cygwin: object dumper.
19411 # Used on cygwin: assembler.
19414 # The name of the directory that contains temporary libtool files.
19417 # How to create reloadable object files.
19418 reload_flag=$lt_reload_flag
19419 reload_cmds=$lt_reload_cmds
19421 # How to pass a linker flag through the compiler.
19422 wl=$lt_lt_prog_compiler_wl_GCJ
19424 # Object file suffix (normally "o").
19425 objext="$ac_objext"
19427 # Old archive suffix (normally "a").
19430 # Shared library suffix (normally ".so").
19431 shrext_cmds='$shrext_cmds'
19433 # Executable file suffix (normally "").
19436 # Additional compiler flags for building library objects.
19437 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19440 # What is the maximum length of a command?
19441 max_cmd_len=$lt_cv_sys_max_cmd_len
19443 # Does compiler simultaneously support -c and -o options?
19444 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19446 # Must we lock files when doing compilation?
19447 need_locks=$lt_need_locks
19449 # Do we need the lib prefix for modules?
19450 need_lib_prefix=$need_lib_prefix
19452 # Do we need a version for libraries?
19453 need_version=$need_version
19455 # Whether dlopen is supported.
19456 dlopen_support=$enable_dlopen
19458 # Whether dlopen of programs is supported.
19459 dlopen_self=$enable_dlopen_self
19461 # Whether dlopen of statically linked programs is supported.
19462 dlopen_self_static=$enable_dlopen_self_static
19464 # Compiler flag to prevent dynamic linking.
19465 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19467 # Compiler flag to turn off builtin functions.
19468 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19470 # Compiler flag to allow reflexive dlopens.
19471 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19473 # Compiler flag to generate shared objects directly from archives.
19474 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19476 # Compiler flag to generate thread-safe objects.
19477 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19479 # Library versioning type.
19480 version_type=$version_type
19482 # Format of library name prefix.
19483 libname_spec=$lt_libname_spec
19485 # List of archive names. First name is the real one, the rest are links.
19486 # The last name is the one that the linker finds with -lNAME.
19487 library_names_spec=$lt_library_names_spec
19489 # The coded name of the library, if different from the real name.
19490 soname_spec=$lt_soname_spec
19492 # Commands used to build and install an old-style archive.
19494 old_archive_cmds=$lt_old_archive_cmds_GCJ
19495 old_postinstall_cmds=$lt_old_postinstall_cmds
19496 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19498 # Create an old-style archive from a shared archive.
19499 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19501 # Create a temporary old-style archive to link instead of a shared archive.
19502 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19504 # Commands used to build and install a shared archive.
19505 archive_cmds=$lt_archive_cmds_GCJ
19506 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19507 postinstall_cmds=$lt_postinstall_cmds
19508 postuninstall_cmds=$lt_postuninstall_cmds
19510 # Commands used to build a loadable module (assumed same as above if empty)
19511 module_cmds=$lt_module_cmds_GCJ
19512 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19514 # Commands to strip libraries.
19515 old_striplib=$lt_old_striplib
19516 striplib=$lt_striplib
19518 # Dependencies to place before the objects being linked to create a
19520 predep_objects=$lt_predep_objects_GCJ
19522 # Dependencies to place after the objects being linked to create a
19524 postdep_objects=$lt_postdep_objects_GCJ
19526 # Dependencies to place before the objects being linked to create a
19528 predeps=$lt_predeps_GCJ
19530 # Dependencies to place after the objects being linked to create a
19532 postdeps=$lt_postdeps_GCJ
19534 # The library search path used internally by the compiler when linking
19535 # a shared library.
19536 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19538 # Method to check whether dependent libraries are shared objects.
19539 deplibs_check_method=$lt_deplibs_check_method
19541 # Command to use when deplibs_check_method == file_magic.
19542 file_magic_cmd=$lt_file_magic_cmd
19544 # Flag that allows shared libraries with undefined symbols to be built.
19545 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19547 # Flag that forces no undefined symbols.
19548 no_undefined_flag=$lt_no_undefined_flag_GCJ
19550 # Commands used to finish a libtool library installation in a directory.
19551 finish_cmds=$lt_finish_cmds
19553 # Same as above, but a single script fragment to be evaled but not shown.
19554 finish_eval=$lt_finish_eval
19556 # Take the output of nm and produce a listing of raw symbols and C names.
19557 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19559 # Transform the output of nm in a proper C declaration
19560 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19562 # Transform the output of nm in a C name address pair
19563 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19565 # This is the shared library runtime path variable.
19566 runpath_var=$runpath_var
19568 # This is the shared library path variable.
19569 shlibpath_var=$shlibpath_var
19571 # Is shlibpath searched before the hard-coded library search path?
19572 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19574 # How to hardcode a shared library path into an executable.
19575 hardcode_action=$hardcode_action_GCJ
19577 # Whether we should hardcode library paths into libraries.
19578 hardcode_into_libs=$hardcode_into_libs
19580 # Flag to hardcode \$libdir into a binary during linking.
19581 # This must work even if \$libdir does not exist.
19582 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19584 # If ld is used when linking, flag to hardcode \$libdir into
19585 # a binary during linking. This must work even if \$libdir does
19587 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19589 # Whether we need a single -rpath flag with a separated argument.
19590 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19592 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19593 # resulting binary.
19594 hardcode_direct=$hardcode_direct_GCJ
19596 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19597 # resulting binary.
19598 hardcode_minus_L=$hardcode_minus_L_GCJ
19600 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19601 # the resulting binary.
19602 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19604 # Set to yes if building a shared library automatically hardcodes DIR into the library
19605 # and all subsequent libraries and executables linked against it.
19606 hardcode_automatic=$hardcode_automatic_GCJ
19608 # Variables whose values should be saved in libtool wrapper scripts and
19609 # restored at relink time.
19610 variables_saved_for_relink="$variables_saved_for_relink"
19612 # Whether libtool must link a program against all its dependency libraries.
19613 link_all_deplibs=$link_all_deplibs_GCJ
19615 # Compile-time system search path for libraries
19616 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19618 # Run-time system search path for libraries
19619 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19621 # Fix the shell variable \$srcfile for the compiler.
19622 fix_srcfile_path="$fix_srcfile_path_GCJ"
19624 # Set to yes if exported symbols are required.
19625 always_export_symbols=$always_export_symbols_GCJ
19627 # The commands to list exported symbols.
19628 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19630 # The commands to extract the exported symbol list from a shared archive.
19631 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19633 # Symbols that should not be listed in the preloaded symbols.
19634 exclude_expsyms=$lt_exclude_expsyms_GCJ
19636 # Symbols that must always be exported.
19637 include_expsyms=$lt_include_expsyms_GCJ
19639 # ### END LIBTOOL TAG CONFIG: $tagname
19645 # If there is no Makefile yet, we rely on a make rule to execute
19646 # `config.status --recheck' to rerun these tests and create the
19647 # libtool script then.
19648 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19649 if test -f "$ltmain_in"; then
19650 test -f Makefile
&& make "$ltmain"
19656 ac_cpp
='$CPP $CPPFLAGS'
19657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19672 # Source file extension for RC test sources.
19675 # Object file extension for compiled RC test sources.
19679 # Code to be used in simple compile tests
19680 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19682 # Code to be used in simple link tests
19683 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19685 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19687 # If no C compiler was specified, use CC.
19690 # Allow CC to be a program name with arguments.
19694 # save warnings/boilerplate of simple test code
19695 ac_outfile
=conftest.
$ac_objext
19696 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19697 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
19698 _lt_compiler_boilerplate
=`cat conftest.err`
19701 ac_outfile
=conftest.
$ac_objext
19702 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19703 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
19704 _lt_linker_boilerplate
=`cat conftest.err`
19708 # Allow CC to be a program name with arguments.
19713 for cc_temp
in $compiler""; do
19715 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19716 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19721 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19723 lt_cv_prog_compiler_c_o_RC
=yes
19725 # The else clause should only fire when bootstrapping the
19726 # libtool distribution, otherwise you forgot to ship ltmain.sh
19727 # with your package, and you will get complaints that there are
19728 # no rules to generate ltmain.sh.
19729 if test -f "$ltmain"; then
19730 # See if we are running on zsh, and set the options which allow our commands through
19731 # without removal of \ escapes.
19732 if test -n "${ZSH_VERSION+set}" ; then
19733 setopt NO_GLOB_SUBST
19735 # Now quote all the things that may contain metacharacters while being
19736 # careful not to overquote the AC_SUBSTed values. We take copies of the
19737 # variables and quote the copies for generation of the libtool script.
19738 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19740 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19741 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19742 deplibs_check_method reload_flag reload_cmds need_locks \
19743 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19744 lt_cv_sys_global_symbol_to_c_name_address \
19745 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19746 old_postinstall_cmds old_postuninstall_cmds \
19750 lt_prog_compiler_wl_RC \
19751 lt_prog_compiler_pic_RC \
19752 lt_prog_compiler_static_RC \
19753 lt_prog_compiler_no_builtin_flag_RC \
19754 export_dynamic_flag_spec_RC \
19755 thread_safe_flag_spec_RC \
19756 whole_archive_flag_spec_RC \
19757 enable_shared_with_static_runtimes_RC \
19758 old_archive_cmds_RC \
19759 old_archive_from_new_cmds_RC \
19760 predep_objects_RC \
19761 postdep_objects_RC \
19764 compiler_lib_search_path_RC \
19766 archive_expsym_cmds_RC \
19767 postinstall_cmds_RC \
19768 postuninstall_cmds_RC \
19769 old_archive_from_expsyms_cmds_RC \
19770 allow_undefined_flag_RC \
19771 no_undefined_flag_RC \
19772 export_symbols_cmds_RC \
19773 hardcode_libdir_flag_spec_RC \
19774 hardcode_libdir_flag_spec_ld_RC \
19775 hardcode_libdir_separator_RC \
19776 hardcode_automatic_RC \
19778 module_expsym_cmds_RC \
19779 lt_cv_prog_compiler_c_o_RC \
19780 exclude_expsyms_RC \
19781 include_expsyms_RC
; do
19784 old_archive_cmds_RC | \
19785 old_archive_from_new_cmds_RC | \
19786 archive_cmds_RC | \
19787 archive_expsym_cmds_RC | \
19789 module_expsym_cmds_RC | \
19790 old_archive_from_expsyms_cmds_RC | \
19791 export_symbols_cmds_RC | \
19792 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19793 postinstall_cmds | postuninstall_cmds | \
19794 old_postinstall_cmds | old_postuninstall_cmds | \
19795 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19796 # Double-quote double-evaled strings.
19797 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19800 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19806 *'\$0 --fallback-echo"')
19807 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19813 cat <<__EOF__ >> "$cfgfile"
19814 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19816 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19818 # Shell to use when invoking shell scripts.
19821 # Whether or not to build shared libraries.
19822 build_libtool_libs=$enable_shared
19824 # Whether or not to build static libraries.
19825 build_old_libs=$enable_static
19827 # Whether or not to add -lc for building shared libraries.
19828 build_libtool_need_lc=$archive_cmds_need_lc_RC
19830 # Whether or not to disallow shared libs when runtime libs are static
19831 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19833 # Whether or not to optimize for fast installation.
19834 fast_install=$enable_fast_install
19837 host_alias=$host_alias
19841 # The build system.
19842 build_alias=$build_alias
19846 # An echo program that does not interpret backslashes.
19851 AR_FLAGS=$lt_AR_FLAGS
19856 # A language-specific compiler.
19859 # Is the compiler the GNU C compiler?
19865 # The linker used to build libraries.
19868 # Whether we need hard or soft links.
19871 # A BSD-compatible nm program.
19874 # A symbol stripping program
19877 # Used to examine libraries when file_magic_cmd begins "file"
19878 MAGIC_CMD=$MAGIC_CMD
19880 # Used on cygwin: DLL creation program.
19883 # Used on cygwin: object dumper.
19886 # Used on cygwin: assembler.
19889 # The name of the directory that contains temporary libtool files.
19892 # How to create reloadable object files.
19893 reload_flag=$lt_reload_flag
19894 reload_cmds=$lt_reload_cmds
19896 # How to pass a linker flag through the compiler.
19897 wl=$lt_lt_prog_compiler_wl_RC
19899 # Object file suffix (normally "o").
19900 objext="$ac_objext"
19902 # Old archive suffix (normally "a").
19905 # Shared library suffix (normally ".so").
19906 shrext_cmds='$shrext_cmds'
19908 # Executable file suffix (normally "").
19911 # Additional compiler flags for building library objects.
19912 pic_flag=$lt_lt_prog_compiler_pic_RC
19915 # What is the maximum length of a command?
19916 max_cmd_len=$lt_cv_sys_max_cmd_len
19918 # Does compiler simultaneously support -c and -o options?
19919 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19921 # Must we lock files when doing compilation?
19922 need_locks=$lt_need_locks
19924 # Do we need the lib prefix for modules?
19925 need_lib_prefix=$need_lib_prefix
19927 # Do we need a version for libraries?
19928 need_version=$need_version
19930 # Whether dlopen is supported.
19931 dlopen_support=$enable_dlopen
19933 # Whether dlopen of programs is supported.
19934 dlopen_self=$enable_dlopen_self
19936 # Whether dlopen of statically linked programs is supported.
19937 dlopen_self_static=$enable_dlopen_self_static
19939 # Compiler flag to prevent dynamic linking.
19940 link_static_flag=$lt_lt_prog_compiler_static_RC
19942 # Compiler flag to turn off builtin functions.
19943 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19945 # Compiler flag to allow reflexive dlopens.
19946 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19948 # Compiler flag to generate shared objects directly from archives.
19949 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19951 # Compiler flag to generate thread-safe objects.
19952 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19954 # Library versioning type.
19955 version_type=$version_type
19957 # Format of library name prefix.
19958 libname_spec=$lt_libname_spec
19960 # List of archive names. First name is the real one, the rest are links.
19961 # The last name is the one that the linker finds with -lNAME.
19962 library_names_spec=$lt_library_names_spec
19964 # The coded name of the library, if different from the real name.
19965 soname_spec=$lt_soname_spec
19967 # Commands used to build and install an old-style archive.
19969 old_archive_cmds=$lt_old_archive_cmds_RC
19970 old_postinstall_cmds=$lt_old_postinstall_cmds
19971 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19973 # Create an old-style archive from a shared archive.
19974 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19976 # Create a temporary old-style archive to link instead of a shared archive.
19977 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19979 # Commands used to build and install a shared archive.
19980 archive_cmds=$lt_archive_cmds_RC
19981 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19982 postinstall_cmds=$lt_postinstall_cmds
19983 postuninstall_cmds=$lt_postuninstall_cmds
19985 # Commands used to build a loadable module (assumed same as above if empty)
19986 module_cmds=$lt_module_cmds_RC
19987 module_expsym_cmds=$lt_module_expsym_cmds_RC
19989 # Commands to strip libraries.
19990 old_striplib=$lt_old_striplib
19991 striplib=$lt_striplib
19993 # Dependencies to place before the objects being linked to create a
19995 predep_objects=$lt_predep_objects_RC
19997 # Dependencies to place after the objects being linked to create a
19999 postdep_objects=$lt_postdep_objects_RC
20001 # Dependencies to place before the objects being linked to create a
20003 predeps=$lt_predeps_RC
20005 # Dependencies to place after the objects being linked to create a
20007 postdeps=$lt_postdeps_RC
20009 # The library search path used internally by the compiler when linking
20010 # a shared library.
20011 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20013 # Method to check whether dependent libraries are shared objects.
20014 deplibs_check_method=$lt_deplibs_check_method
20016 # Command to use when deplibs_check_method == file_magic.
20017 file_magic_cmd=$lt_file_magic_cmd
20019 # Flag that allows shared libraries with undefined symbols to be built.
20020 allow_undefined_flag=$lt_allow_undefined_flag_RC
20022 # Flag that forces no undefined symbols.
20023 no_undefined_flag=$lt_no_undefined_flag_RC
20025 # Commands used to finish a libtool library installation in a directory.
20026 finish_cmds=$lt_finish_cmds
20028 # Same as above, but a single script fragment to be evaled but not shown.
20029 finish_eval=$lt_finish_eval
20031 # Take the output of nm and produce a listing of raw symbols and C names.
20032 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20034 # Transform the output of nm in a proper C declaration
20035 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20037 # Transform the output of nm in a C name address pair
20038 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20040 # This is the shared library runtime path variable.
20041 runpath_var=$runpath_var
20043 # This is the shared library path variable.
20044 shlibpath_var=$shlibpath_var
20046 # Is shlibpath searched before the hard-coded library search path?
20047 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20049 # How to hardcode a shared library path into an executable.
20050 hardcode_action=$hardcode_action_RC
20052 # Whether we should hardcode library paths into libraries.
20053 hardcode_into_libs=$hardcode_into_libs
20055 # Flag to hardcode \$libdir into a binary during linking.
20056 # This must work even if \$libdir does not exist.
20057 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20059 # If ld is used when linking, flag to hardcode \$libdir into
20060 # a binary during linking. This must work even if \$libdir does
20062 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20064 # Whether we need a single -rpath flag with a separated argument.
20065 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20067 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20068 # resulting binary.
20069 hardcode_direct=$hardcode_direct_RC
20071 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20072 # resulting binary.
20073 hardcode_minus_L=$hardcode_minus_L_RC
20075 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20076 # the resulting binary.
20077 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20079 # Set to yes if building a shared library automatically hardcodes DIR into the library
20080 # and all subsequent libraries and executables linked against it.
20081 hardcode_automatic=$hardcode_automatic_RC
20083 # Variables whose values should be saved in libtool wrapper scripts and
20084 # restored at relink time.
20085 variables_saved_for_relink="$variables_saved_for_relink"
20087 # Whether libtool must link a program against all its dependency libraries.
20088 link_all_deplibs=$link_all_deplibs_RC
20090 # Compile-time system search path for libraries
20091 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20093 # Run-time system search path for libraries
20094 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20096 # Fix the shell variable \$srcfile for the compiler.
20097 fix_srcfile_path="$fix_srcfile_path_RC"
20099 # Set to yes if exported symbols are required.
20100 always_export_symbols=$always_export_symbols_RC
20102 # The commands to list exported symbols.
20103 export_symbols_cmds=$lt_export_symbols_cmds_RC
20105 # The commands to extract the exported symbol list from a shared archive.
20106 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20108 # Symbols that should not be listed in the preloaded symbols.
20109 exclude_expsyms=$lt_exclude_expsyms_RC
20111 # Symbols that must always be exported.
20112 include_expsyms=$lt_include_expsyms_RC
20114 # ### END LIBTOOL TAG CONFIG: $tagname
20120 # If there is no Makefile yet, we rely on a make rule to execute
20121 # `config.status --recheck' to rerun these tests and create the
20122 # libtool script then.
20123 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20124 if test -f "$ltmain_in"; then
20125 test -f Makefile
&& make "$ltmain"
20131 ac_cpp
='$CPP $CPPFLAGS'
20132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20141 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20142 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20143 { (exit 1); exit 1; }; }
20147 # Append the new tag name to the list of available tags.
20148 if test -n "$tagname" ; then
20149 available_tags
="$available_tags $tagname"
20155 # Now substitute the updated list of available tags.
20156 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20157 mv "${ofile}T" "$ofile"
20161 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20162 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20163 { (exit 1); exit 1; }; }
20169 # This can be used to rebuild libtool when needed
20170 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20172 # Always use our own libtool.
20173 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20175 # Prevent multiple expansion
20203 ac_header_dirent
=no
20204 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
20205 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20206 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
20207 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
20208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20209 echo $ECHO_N "(cached) $ECHO_C" >&6
20211 cat >conftest.
$ac_ext <<_ACEOF
20214 cat confdefs.h
>>conftest.
$ac_ext
20215 cat >>conftest.
$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20217 #include <sys/types.h>
20229 rm -f conftest.
$ac_objext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20231 (eval $ac_compile) 2>conftest.er1
20233 grep -v '^ *+' conftest.er1
>conftest.err
20235 cat conftest.err
>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } &&
20238 { ac_try
='test -z "$ac_c_werror_flag"
20239 || test ! -s conftest.err'
20240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 (eval $ac_try) 2>&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; } &&
20245 { ac_try
='test -s conftest.$ac_objext'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; }; then
20251 eval "$as_ac_Header=yes"
20253 echo "$as_me: failed program was:" >&5
20254 sed 's/^/| /' conftest.
$ac_ext >&5
20256 eval "$as_ac_Header=no"
20258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20263 cat >>confdefs.h
<<_ACEOF
20264 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20267 ac_header_dirent
=$ac_hdr; break
20271 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20272 if test $ac_header_dirent = dirent.h
; then
20273 echo "$as_me:$LINENO: checking for library containing opendir" >&5
20274 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
20275 if test "${ac_cv_search_opendir+set}" = set; then
20276 echo $ECHO_N "(cached) $ECHO_C" >&6
20278 ac_func_search_save_LIBS
=$LIBS
20279 ac_cv_search_opendir
=no
20280 cat >conftest.
$ac_ext <<_ACEOF
20283 cat confdefs.h
>>conftest.
$ac_ext
20284 cat >>conftest.
$ac_ext <<_ACEOF
20285 /* end confdefs.h. */
20287 /* Override any gcc2 internal prototype to avoid an error. */
20291 /* We use char because int might match the return type of a gcc2
20292 builtin and then its argument prototype would still apply. */
20302 rm -f conftest.
$ac_objext conftest
$ac_exeext
20303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20304 (eval $ac_link) 2>conftest.er1
20306 grep -v '^ *+' conftest.er1
>conftest.err
20308 cat conftest.err
>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } &&
20311 { ac_try
='test -z "$ac_c_werror_flag"
20312 || test ! -s conftest.err'
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); }; } &&
20318 { ac_try
='test -s conftest$ac_exeext'
20319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20320 (eval $ac_try) 2>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; }; then
20324 ac_cv_search_opendir
="none required"
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.
$ac_ext >&5
20330 rm -f conftest.err conftest.
$ac_objext \
20331 conftest
$ac_exeext conftest.
$ac_ext
20332 if test "$ac_cv_search_opendir" = no
; then
20333 for ac_lib
in dir
; do
20334 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20335 cat >conftest.
$ac_ext <<_ACEOF
20338 cat confdefs.h
>>conftest.
$ac_ext
20339 cat >>conftest.
$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20342 /* Override any gcc2 internal prototype to avoid an error. */
20346 /* We use char because int might match the return type of a gcc2
20347 builtin and then its argument prototype would still apply. */
20357 rm -f conftest.
$ac_objext conftest
$ac_exeext
20358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20359 (eval $ac_link) 2>conftest.er1
20361 grep -v '^ *+' conftest.er1
>conftest.err
20363 cat conftest.err
>&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); } &&
20366 { ac_try
='test -z "$ac_c_werror_flag"
20367 || test ! -s conftest.err'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; } &&
20373 { ac_try
='test -s conftest$ac_exeext'
20374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20375 (eval $ac_try) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; }; then
20379 ac_cv_search_opendir
="-l$ac_lib"
20382 echo "$as_me: failed program was:" >&5
20383 sed 's/^/| /' conftest.
$ac_ext >&5
20386 rm -f conftest.err conftest.
$ac_objext \
20387 conftest
$ac_exeext conftest.
$ac_ext
20390 LIBS
=$ac_func_search_save_LIBS
20392 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20393 echo "${ECHO_T}$ac_cv_search_opendir" >&6
20394 if test "$ac_cv_search_opendir" != no
; then
20395 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
20400 echo "$as_me:$LINENO: checking for library containing opendir" >&5
20401 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
20402 if test "${ac_cv_search_opendir+set}" = set; then
20403 echo $ECHO_N "(cached) $ECHO_C" >&6
20405 ac_func_search_save_LIBS
=$LIBS
20406 ac_cv_search_opendir
=no
20407 cat >conftest.
$ac_ext <<_ACEOF
20410 cat confdefs.h
>>conftest.
$ac_ext
20411 cat >>conftest.
$ac_ext <<_ACEOF
20412 /* end confdefs.h. */
20414 /* Override any gcc2 internal prototype to avoid an error. */
20418 /* We use char because int might match the return type of a gcc2
20419 builtin and then its argument prototype would still apply. */
20429 rm -f conftest.
$ac_objext conftest
$ac_exeext
20430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20431 (eval $ac_link) 2>conftest.er1
20433 grep -v '^ *+' conftest.er1
>conftest.err
20435 cat conftest.err
>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); } &&
20438 { ac_try
='test -z "$ac_c_werror_flag"
20439 || test ! -s conftest.err'
20440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20441 (eval $ac_try) 2>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; } &&
20445 { ac_try
='test -s conftest$ac_exeext'
20446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20447 (eval $ac_try) 2>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); }; }; then
20451 ac_cv_search_opendir
="none required"
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.
$ac_ext >&5
20457 rm -f conftest.err conftest.
$ac_objext \
20458 conftest
$ac_exeext conftest.
$ac_ext
20459 if test "$ac_cv_search_opendir" = no
; then
20460 for ac_lib
in x
; do
20461 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20462 cat >conftest.
$ac_ext <<_ACEOF
20465 cat confdefs.h
>>conftest.
$ac_ext
20466 cat >>conftest.
$ac_ext <<_ACEOF
20467 /* end confdefs.h. */
20469 /* Override any gcc2 internal prototype to avoid an error. */
20473 /* We use char because int might match the return type of a gcc2
20474 builtin and then its argument prototype would still apply. */
20484 rm -f conftest.
$ac_objext conftest
$ac_exeext
20485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20486 (eval $ac_link) 2>conftest.er1
20488 grep -v '^ *+' conftest.er1
>conftest.err
20490 cat conftest.err
>&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); } &&
20493 { ac_try
='test -z "$ac_c_werror_flag"
20494 || test ! -s conftest.err'
20495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20496 (eval $ac_try) 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; } &&
20500 { ac_try
='test -s conftest$ac_exeext'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; }; then
20506 ac_cv_search_opendir
="-l$ac_lib"
20509 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.
$ac_ext >&5
20513 rm -f conftest.err conftest.
$ac_objext \
20514 conftest
$ac_exeext conftest.
$ac_ext
20517 LIBS
=$ac_func_search_save_LIBS
20519 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20520 echo "${ECHO_T}$ac_cv_search_opendir" >&6
20521 if test "$ac_cv_search_opendir" != no
; then
20522 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
20528 # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
20529 if test "${enable_ltdl_install+set}" = set; then
20530 enableval
="$enable_ltdl_install"
20536 if test x
"${enable_ltdl_install-no}" != xno
; then
20538 INSTALL_LTDL_FALSE
='#'
20540 INSTALL_LTDL_TRUE
='#'
20541 INSTALL_LTDL_FALSE
=
20546 if test x
"${enable_ltdl_convenience-no}" != xno
; then
20547 CONVENIENCE_LTDL_TRUE
=
20548 CONVENIENCE_LTDL_FALSE
='#'
20550 CONVENIENCE_LTDL_TRUE
='#'
20551 CONVENIENCE_LTDL_FALSE
=
20556 echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
20557 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6
20558 if test "${libltdl_cv_shlibext+set}" = set; then
20559 echo $ECHO_N "(cached) $ECHO_C" >&6
20562 ## GCJ LOCAL: gcj specific stuff. Please keep it.
20563 # Here in libltdl for libgcj we don't build modules for darwin.
20564 # So we say no. Then the extension gets .dylib which is the right
20565 # thing for shared libraries on darwin. Please keep me next time you
20575 eval libltdl_cv_shlibext
=$shrext_cmds
20578 echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
20579 echo "${ECHO_T}$libltdl_cv_shlibext" >&6
20580 if test -n "$libltdl_cv_shlibext"; then
20582 cat >>confdefs.h
<<_ACEOF
20583 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
20589 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
20590 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
20591 if test "${libltdl_cv_shlibpath_var+set}" = set; then
20592 echo $ECHO_N "(cached) $ECHO_C" >&6
20594 libltdl_cv_shlibpath_var
="$shlibpath_var"
20596 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
20597 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
20598 if test -n "$libltdl_cv_shlibpath_var"; then
20600 cat >>confdefs.h
<<_ACEOF
20601 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
20607 echo "$as_me:$LINENO: checking for the default library search path" >&5
20608 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
20609 if test "${libltdl_cv_sys_search_path+set}" = set; then
20610 echo $ECHO_N "(cached) $ECHO_C" >&6
20612 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
20614 echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
20615 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6
20616 if test -n "$libltdl_cv_sys_search_path"; then
20618 for dir
in $libltdl_cv_sys_search_path; do
20619 if test -z "$sys_search_path"; then
20620 sys_search_path
="$dir"
20622 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
20626 cat >>confdefs.h
<<_ACEOF
20627 #define LTDL_SYSSEARCHPATH "$sys_search_path"
20632 echo "$as_me:$LINENO: checking for objdir" >&5
20633 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
20634 if test "${libltdl_cv_objdir+set}" = set; then
20635 echo $ECHO_N "(cached) $ECHO_C" >&6
20637 libltdl_cv_objdir
="$objdir"
20638 if test -n "$objdir"; then
20641 rm -f .libs
2>/dev
/null
20642 mkdir .libs
2>/dev
/null
20643 if test -d .libs
; then
20644 libltdl_cv_objdir
=.libs
20646 # MS-DOS does not allow filenames that begin with a dot.
20647 libltdl_cv_objdir
=_libs
20649 rmdir .libs
2>/dev
/null
20653 echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
20654 echo "${ECHO_T}$libltdl_cv_objdir" >&6
20656 cat >>confdefs.h
<<_ACEOF
20657 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
20662 echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
20663 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
20664 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
20665 echo $ECHO_N "(cached) $ECHO_C" >&6
20667 if test -n "$lt_cv_sys_global_symbol_pipe"; then
20668 libltdl_cv_preloaded_symbols
=yes
20670 libltdl_cv_preloaded_symbols
=no
20674 echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
20675 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
20676 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
20678 cat >>confdefs.h
<<\_ACEOF
20679 #define HAVE_PRELOADED_SYMBOLS 1
20687 ac_cpp
='$CPP $CPPFLAGS'
20688 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20689 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20690 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20693 echo "$as_me:$LINENO: checking for shl_load" >&5
20694 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
20695 if test "${ac_cv_func_shl_load+set}" = set; then
20696 echo $ECHO_N "(cached) $ECHO_C" >&6
20698 cat >conftest.
$ac_ext <<_ACEOF
20701 cat confdefs.h
>>conftest.
$ac_ext
20702 cat >>conftest.
$ac_ext <<_ACEOF
20703 /* end confdefs.h. */
20704 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
20705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20706 #define shl_load innocuous_shl_load
20708 /* System header to define __stub macros and hopefully few prototypes,
20709 which can conflict with char shl_load (); below.
20710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20711 <limits.h> exists even on freestanding compilers. */
20714 # include <limits.h>
20716 # include <assert.h>
20721 /* Override any gcc2 internal prototype to avoid an error. */
20726 /* We use char because int might match the return type of a gcc2
20727 builtin and then its argument prototype would still apply. */
20729 /* The GNU C library defines this for functions which it implements
20730 to always fail with ENOSYS. Some functions are actually named
20731 something starting with __ and the normal name is an alias. */
20732 #if defined (__stub_shl_load) || defined (__stub___shl_load)
20735 char (*f) () = shl_load;
20744 return f != shl_load;
20749 rm -f conftest.
$ac_objext conftest
$ac_exeext
20750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20751 (eval $ac_link) 2>conftest.er1
20753 grep -v '^ *+' conftest.er1
>conftest.err
20755 cat conftest.err
>&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); } &&
20758 { ac_try
='test -z "$ac_c_werror_flag"
20759 || test ! -s conftest.err'
20760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20761 (eval $ac_try) 2>&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); }; } &&
20765 { ac_try
='test -s conftest$ac_exeext'
20766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767 (eval $ac_try) 2>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); }; }; then
20771 ac_cv_func_shl_load
=yes
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.
$ac_ext >&5
20776 ac_cv_func_shl_load
=no
20778 rm -f conftest.err conftest.
$ac_objext \
20779 conftest
$ac_exeext conftest.
$ac_ext
20781 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
20782 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
20783 if test $ac_cv_func_shl_load = yes; then
20785 cat >>confdefs.h
<<\_ACEOF
20786 #define HAVE_SHL_LOAD 1
20790 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
20791 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
20792 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20793 echo $ECHO_N "(cached) $ECHO_C" >&6
20795 ac_check_lib_save_LIBS
=$LIBS
20797 cat >conftest.
$ac_ext <<_ACEOF
20800 cat confdefs.h
>>conftest.
$ac_ext
20801 cat >>conftest.
$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20804 /* Override any gcc2 internal prototype to avoid an error. */
20808 /* We use char because int might match the return type of a gcc2
20809 builtin and then its argument prototype would still apply. */
20819 rm -f conftest.
$ac_objext conftest
$ac_exeext
20820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20821 (eval $ac_link) 2>conftest.er1
20823 grep -v '^ *+' conftest.er1
>conftest.err
20825 cat conftest.err
>&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } &&
20828 { ac_try
='test -z "$ac_c_werror_flag"
20829 || test ! -s conftest.err'
20830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20831 (eval $ac_try) 2>&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); }; } &&
20835 { ac_try
='test -s conftest$ac_exeext'
20836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20837 (eval $ac_try) 2>&5
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); }; }; then
20841 ac_cv_lib_dld_shl_load
=yes
20843 echo "$as_me: failed program was:" >&5
20844 sed 's/^/| /' conftest.
$ac_ext >&5
20846 ac_cv_lib_dld_shl_load
=no
20848 rm -f conftest.err conftest.
$ac_objext \
20849 conftest
$ac_exeext conftest.
$ac_ext
20850 LIBS
=$ac_check_lib_save_LIBS
20852 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
20853 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
20854 if test $ac_cv_lib_dld_shl_load = yes; then
20856 cat >>confdefs.h
<<\_ACEOF
20857 #define HAVE_SHL_LOAD 1
20860 LIBADD_DL
="$LIBADD_DL -ldld"
20862 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20863 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20864 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20867 ac_check_lib_save_LIBS
=$LIBS
20869 cat >conftest.
$ac_ext <<_ACEOF
20872 cat confdefs.h
>>conftest.
$ac_ext
20873 cat >>conftest.
$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20876 /* Override any gcc2 internal prototype to avoid an error. */
20880 /* We use char because int might match the return type of a gcc2
20881 builtin and then its argument prototype would still apply. */
20891 rm -f conftest.
$ac_objext conftest
$ac_exeext
20892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20893 (eval $ac_link) 2>conftest.er1
20895 grep -v '^ *+' conftest.er1
>conftest.err
20897 cat conftest.err
>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } &&
20900 { ac_try
='test -z "$ac_c_werror_flag"
20901 || test ! -s conftest.err'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; } &&
20907 { ac_try
='test -s conftest$ac_exeext'
20908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20909 (eval $ac_try) 2>&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); }; }; then
20913 ac_cv_lib_dl_dlopen
=yes
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.
$ac_ext >&5
20918 ac_cv_lib_dl_dlopen
=no
20920 rm -f conftest.err conftest.
$ac_objext \
20921 conftest
$ac_exeext conftest.
$ac_ext
20922 LIBS
=$ac_check_lib_save_LIBS
20924 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20925 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20926 if test $ac_cv_lib_dl_dlopen = yes; then
20928 cat >>confdefs.h
<<\_ACEOF
20929 #define HAVE_LIBDL 1
20932 LIBADD_DL
="-ldl" libltdl_cv_lib_dl_dlopen
="yes"
20934 cat >conftest.
$ac_ext <<_ACEOF
20937 cat confdefs.h
>>conftest.
$ac_ext
20938 cat >>conftest.
$ac_ext <<_ACEOF
20939 /* end confdefs.h. */
20941 # include <dlfcn.h>
20952 rm -f conftest.
$ac_objext conftest
$ac_exeext
20953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20954 (eval $ac_link) 2>conftest.er1
20956 grep -v '^ *+' conftest.er1
>conftest.err
20958 cat conftest.err
>&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } &&
20961 { ac_try
='test -z "$ac_c_werror_flag"
20962 || test ! -s conftest.err'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; } &&
20968 { ac_try
='test -s conftest$ac_exeext'
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; }; then
20975 cat >>confdefs.h
<<\_ACEOF
20976 #define HAVE_LIBDL 1
20978 libltdl_cv_func_dlopen
="yes"
20980 echo "$as_me: failed program was:" >&5
20981 sed 's/^/| /' conftest.
$ac_ext >&5
20983 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20984 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
20985 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20986 echo $ECHO_N "(cached) $ECHO_C" >&6
20988 ac_check_lib_save_LIBS
=$LIBS
20989 LIBS
="-lsvld $LIBS"
20990 cat >conftest.
$ac_ext <<_ACEOF
20993 cat confdefs.h
>>conftest.
$ac_ext
20994 cat >>conftest.
$ac_ext <<_ACEOF
20995 /* end confdefs.h. */
20997 /* Override any gcc2 internal prototype to avoid an error. */
21001 /* We use char because int might match the return type of a gcc2
21002 builtin and then its argument prototype would still apply. */
21012 rm -f conftest.
$ac_objext conftest
$ac_exeext
21013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21014 (eval $ac_link) 2>conftest.er1
21016 grep -v '^ *+' conftest.er1
>conftest.err
21018 cat conftest.err
>&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } &&
21021 { ac_try
='test -z "$ac_c_werror_flag"
21022 || test ! -s conftest.err'
21023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024 (eval $ac_try) 2>&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; } &&
21028 { ac_try
='test -s conftest$ac_exeext'
21029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030 (eval $ac_try) 2>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; }; then
21034 ac_cv_lib_svld_dlopen
=yes
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.
$ac_ext >&5
21039 ac_cv_lib_svld_dlopen
=no
21041 rm -f conftest.err conftest.
$ac_objext \
21042 conftest
$ac_exeext conftest.
$ac_ext
21043 LIBS
=$ac_check_lib_save_LIBS
21045 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
21046 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
21047 if test $ac_cv_lib_svld_dlopen = yes; then
21049 cat >>confdefs.h
<<\_ACEOF
21050 #define HAVE_LIBDL 1
21053 LIBADD_DL
="-lsvld" libltdl_cv_func_dlopen
="yes"
21055 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
21056 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
21057 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
21058 echo $ECHO_N "(cached) $ECHO_C" >&6
21060 ac_check_lib_save_LIBS
=$LIBS
21062 cat >conftest.
$ac_ext <<_ACEOF
21065 cat confdefs.h
>>conftest.
$ac_ext
21066 cat >>conftest.
$ac_ext <<_ACEOF
21067 /* end confdefs.h. */
21069 /* Override any gcc2 internal prototype to avoid an error. */
21073 /* We use char because int might match the return type of a gcc2
21074 builtin and then its argument prototype would still apply. */
21084 rm -f conftest.
$ac_objext conftest
$ac_exeext
21085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21086 (eval $ac_link) 2>conftest.er1
21088 grep -v '^ *+' conftest.er1
>conftest.err
21090 cat conftest.err
>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); } &&
21093 { ac_try
='test -z "$ac_c_werror_flag"
21094 || test ! -s conftest.err'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; } &&
21100 { ac_try
='test -s conftest$ac_exeext'
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21102 (eval $ac_try) 2>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; }; then
21106 ac_cv_lib_dld_dld_link
=yes
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.
$ac_ext >&5
21111 ac_cv_lib_dld_dld_link
=no
21113 rm -f conftest.err conftest.
$ac_objext \
21114 conftest
$ac_exeext conftest.
$ac_ext
21115 LIBS
=$ac_check_lib_save_LIBS
21117 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
21118 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
21119 if test $ac_cv_lib_dld_dld_link = yes; then
21121 cat >>confdefs.h
<<\_ACEOF
21125 LIBADD_DL
="$LIBADD_DL -ldld"
21127 echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
21128 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
21129 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
21130 echo $ECHO_N "(cached) $ECHO_C" >&6
21132 cat >conftest.
$ac_ext <<_ACEOF
21135 cat confdefs.h
>>conftest.
$ac_ext
21136 cat >>conftest.
$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21138 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
21139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21140 #define _dyld_func_lookup innocuous__dyld_func_lookup
21142 /* System header to define __stub macros and hopefully few prototypes,
21143 which can conflict with char _dyld_func_lookup (); below.
21144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21145 <limits.h> exists even on freestanding compilers. */
21148 # include <limits.h>
21150 # include <assert.h>
21153 #undef _dyld_func_lookup
21155 /* Override any gcc2 internal prototype to avoid an error. */
21160 /* We use char because int might match the return type of a gcc2
21161 builtin and then its argument prototype would still apply. */
21162 char _dyld_func_lookup ();
21163 /* The GNU C library defines this for functions which it implements
21164 to always fail with ENOSYS. Some functions are actually named
21165 something starting with __ and the normal name is an alias. */
21166 #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
21169 char (*f) () = _dyld_func_lookup;
21178 return f != _dyld_func_lookup;
21183 rm -f conftest.
$ac_objext conftest
$ac_exeext
21184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21185 (eval $ac_link) 2>conftest.er1
21187 grep -v '^ *+' conftest.er1
>conftest.err
21189 cat conftest.err
>&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } &&
21192 { ac_try
='test -z "$ac_c_werror_flag"
21193 || test ! -s conftest.err'
21194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21195 (eval $ac_try) 2>&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); }; } &&
21199 { ac_try
='test -s conftest$ac_exeext'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; }; then
21205 ac_cv_func__dyld_func_lookup
=yes
21207 echo "$as_me: failed program was:" >&5
21208 sed 's/^/| /' conftest.
$ac_ext >&5
21210 ac_cv_func__dyld_func_lookup
=no
21212 rm -f conftest.err conftest.
$ac_objext \
21213 conftest
$ac_exeext conftest.
$ac_ext
21215 echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
21216 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
21217 if test $ac_cv_func__dyld_func_lookup = yes; then
21219 cat >>confdefs.h
<<\_ACEOF
21220 #define HAVE_DYLD 1
21233 rm -f conftest.err conftest.
$ac_objext \
21234 conftest
$ac_exeext conftest.
$ac_ext
21245 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
21247 lt_save_LIBS
="$LIBS"
21248 LIBS
="$LIBS $LIBADD_DL"
21250 for ac_func
in dlerror
21252 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21253 echo "$as_me:$LINENO: checking for $ac_func" >&5
21254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21255 if eval "test \"\${$as_ac_var+set}\" = set"; then
21256 echo $ECHO_N "(cached) $ECHO_C" >&6
21258 cat >conftest.
$ac_ext <<_ACEOF
21261 cat confdefs.h
>>conftest.
$ac_ext
21262 cat >>conftest.
$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21266 #define $ac_func innocuous_$ac_func
21268 /* System header to define __stub macros and hopefully few prototypes,
21269 which can conflict with char $ac_func (); below.
21270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21271 <limits.h> exists even on freestanding compilers. */
21274 # include <limits.h>
21276 # include <assert.h>
21281 /* Override any gcc2 internal prototype to avoid an error. */
21286 /* We use char because int might match the return type of a gcc2
21287 builtin and then its argument prototype would still apply. */
21289 /* The GNU C library defines this for functions which it implements
21290 to always fail with ENOSYS. Some functions are actually named
21291 something starting with __ and the normal name is an alias. */
21292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21295 char (*f) () = $ac_func;
21304 return f != $ac_func;
21309 rm -f conftest.
$ac_objext conftest
$ac_exeext
21310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21311 (eval $ac_link) 2>conftest.er1
21313 grep -v '^ *+' conftest.er1
>conftest.err
21315 cat conftest.err
>&5
21316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317 (exit $ac_status); } &&
21318 { ac_try
='test -z "$ac_c_werror_flag"
21319 || test ! -s conftest.err'
21320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21321 (eval $ac_try) 2>&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); }; } &&
21325 { ac_try
='test -s conftest$ac_exeext'
21326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21327 (eval $ac_try) 2>&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); }; }; then
21331 eval "$as_ac_var=yes"
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.
$ac_ext >&5
21336 eval "$as_ac_var=no"
21338 rm -f conftest.err conftest.
$ac_objext \
21339 conftest
$ac_exeext conftest.
$ac_ext
21341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21343 if test `eval echo '${'$as_ac_var'}'` = yes; then
21344 cat >>confdefs.h
<<_ACEOF
21345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21351 LIBS
="$lt_save_LIBS"
21354 ac_cpp
='$CPP $CPPFLAGS'
21355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21361 echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
21362 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
21363 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
21364 echo $ECHO_N "(cached) $ECHO_C" >&6
21366 ac_cv_sys_symbol_underscore
=no
21367 cat > conftest.
$ac_ext <<EOF
21368 void nm_test_func(){}
21369 int main(){nm_test_func;return 0;}
21371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21372 (eval $ac_compile) 2>&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; then
21376 # Now try to grab the symbols.
21377 ac_nlist
=conftest.nm
21378 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
21379 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } && test -s "$ac_nlist"; then
21383 # See whether the symbols have a leading underscore.
21384 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
21385 ac_cv_sys_symbol_underscore
=yes
21387 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
21390 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
21394 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
21397 echo "configure: failed program was:" >&5
21403 echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
21404 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
21407 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
21408 if test x
"$libltdl_cv_func_dlopen" = xyes ||
21409 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
21410 echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
21411 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
21412 if test "${libltdl_cv_need_uscore+set}" = set; then
21413 echo $ECHO_N "(cached) $ECHO_C" >&6
21415 libltdl_cv_need_uscore
=unknown
21417 LIBS
="$LIBS $LIBADD_DL"
21418 if test "$cross_compiling" = yes; then :
21419 libltdl_cv_need_uscore
=cross
21421 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
21422 lt_status
=$lt_dlunknown
21423 cat > conftest.
$ac_ext <<EOF
21424 #line 21424 "configure"
21425 #include "confdefs.h"
21434 # define LT_DLGLOBAL RTLD_GLOBAL
21437 # define LT_DLGLOBAL DL_GLOBAL
21439 # define LT_DLGLOBAL 0
21443 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21444 find out it does not work in some platform. */
21445 #ifndef LT_DLLAZY_OR_NOW
21447 # define LT_DLLAZY_OR_NOW RTLD_LAZY
21450 # define LT_DLLAZY_OR_NOW DL_LAZY
21453 # define LT_DLLAZY_OR_NOW RTLD_NOW
21456 # define LT_DLLAZY_OR_NOW DL_NOW
21458 # define LT_DLLAZY_OR_NOW 0
21466 extern "C" void exit (int);
21469 void fnord() { int i=42;}
21472 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21473 int status = $lt_dlunknown;
21477 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
21478 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21479 /* dlclose (self); */
21485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21486 (eval $ac_link) 2>&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
21490 (.
/conftest
; exit; ) 2>/dev
/null
21492 case x
$lt_status in
21493 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
21494 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
21495 x
$lt_unknown|x
*) ;;
21498 # compilation failed
21507 echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
21508 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
21512 if test x
"$libltdl_cv_need_uscore" = xyes
; then
21514 cat >>confdefs.h
<<\_ACEOF
21515 #define NEED_USCORE 1
21521 echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
21522 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
21523 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
21524 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 # PORTME does your system automatically load deplibs for dlopen?
21527 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
21528 # For now, we just catch OSes we know something about -- in the
21529 # future, we'll try test this programmatically.
21530 libltdl_cv_sys_dlopen_deplibs
=unknown
21532 aix3
*|aix4.1.
*|aix4.2.
*)
21533 # Unknown whether this is true for these versions of AIX, but
21534 # we want this `case' here to explicitly catch those versions.
21535 libltdl_cv_sys_dlopen_deplibs
=unknown
21538 libltdl_cv_sys_dlopen_deplibs
=yes
21541 # Assuming the user has installed a libdl from somewhere, this is true
21542 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
21543 libltdl_cv_sys_dlopen_deplibs
=yes
21545 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
21546 # GNU and its variants, using gnu ld.so (Glibc)
21547 libltdl_cv_sys_dlopen_deplibs
=yes
21550 libltdl_cv_sys_dlopen_deplibs
=yes
21552 irix
[12345]*|irix6.
[01]*)
21553 # Catch all versions of IRIX before 6.2, and indicate that we don't
21554 # know how it worked for any of those versions.
21555 libltdl_cv_sys_dlopen_deplibs
=unknown
21558 # The case above catches anything before 6.2, and it's known that
21559 # at 6.2 and later dlopen does load deplibs.
21560 libltdl_cv_sys_dlopen_deplibs
=yes
21563 libltdl_cv_sys_dlopen_deplibs
=yes
21566 libltdl_cv_sys_dlopen_deplibs
=yes
21569 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
21570 # it did *not* use an RPATH in a shared library to find objects the
21571 # library depends on, so we explictly say `no'.
21572 libltdl_cv_sys_dlopen_deplibs
=no
21574 osf5.0|osf5.0a|osf5.1
)
21575 # dlopen *does* load deplibs and with the right loader patch applied
21576 # it even uses RPATH in a shared library to search for shared objects
21577 # that the library depends on, but there's no easy way to know if that
21578 # patch is installed. Since this is the case, all we can really
21579 # say is unknown -- it depends on the patch being installed. If
21580 # it is, this changes to `yes'. Without it, it would be `no'.
21581 libltdl_cv_sys_dlopen_deplibs
=unknown
21584 # the two cases above should catch all versions of osf <= 5.1. Read
21585 # the comments above for what we know about them.
21586 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
21587 # is used to find them so we can finally say `yes'.
21588 libltdl_cv_sys_dlopen_deplibs
=yes
21591 libltdl_cv_sys_dlopen_deplibs
=yes
21596 echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
21597 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6
21598 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
21600 cat >>confdefs.h
<<\_ACEOF
21601 #define LTDL_DLOPEN_DEPLIBS 1
21607 for ac_header
in argz.h
21609 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21611 echo "$as_me:$LINENO: checking for $ac_header" >&5
21612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21614 echo $ECHO_N "(cached) $ECHO_C" >&6
21616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21619 # Is the header compilable?
21620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21622 cat >conftest.
$ac_ext <<_ACEOF
21625 cat confdefs.h
>>conftest.
$ac_ext
21626 cat >>conftest.
$ac_ext <<_ACEOF
21627 /* end confdefs.h. */
21628 $ac_includes_default
21629 #include <$ac_header>
21631 rm -f conftest.
$ac_objext
21632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21633 (eval $ac_compile) 2>conftest.er1
21635 grep -v '^ *+' conftest.er1
>conftest.err
21637 cat conftest.err
>&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); } &&
21640 { ac_try
='test -z "$ac_c_werror_flag"
21641 || test ! -s conftest.err'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; } &&
21647 { ac_try
='test -s conftest.$ac_objext'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; }; then
21653 ac_header_compiler
=yes
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.
$ac_ext >&5
21658 ac_header_compiler
=no
21660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21661 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21662 echo "${ECHO_T}$ac_header_compiler" >&6
21664 # Is the header present?
21665 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21666 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21667 cat >conftest.
$ac_ext <<_ACEOF
21670 cat confdefs.h
>>conftest.
$ac_ext
21671 cat >>conftest.
$ac_ext <<_ACEOF
21672 /* end confdefs.h. */
21673 #include <$ac_header>
21675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21676 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21678 grep -v '^ *+' conftest.er1
>conftest.err
21680 cat conftest.err
>&5
21681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21682 (exit $ac_status); } >/dev
/null
; then
21683 if test -s conftest.err
; then
21684 ac_cpp_err
=$ac_c_preproc_warn_flag
21685 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21692 if test -z "$ac_cpp_err"; then
21693 ac_header_preproc
=yes
21695 echo "$as_me: failed program was:" >&5
21696 sed 's/^/| /' conftest.
$ac_ext >&5
21698 ac_header_preproc
=no
21700 rm -f conftest.err conftest.
$ac_ext
21701 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21702 echo "${ECHO_T}$ac_header_preproc" >&6
21704 # So? What about this header?
21705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21707 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21708 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21710 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21711 ac_header_preproc
=yes
21714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21718 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21719 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21720 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21721 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21723 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21724 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21725 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21728 ## ---------------------------------- ##
21729 ## Report this to bug-libtool@gnu.org ##
21730 ## ---------------------------------- ##
21733 sed "s/^/$as_me: WARNING: /" >&2
21736 echo "$as_me:$LINENO: checking for $ac_header" >&5
21737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21739 echo $ECHO_N "(cached) $ECHO_C" >&6
21741 eval "$as_ac_Header=\$ac_header_preproc"
21743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21748 cat >>confdefs.h
<<_ACEOF
21749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21757 echo "$as_me:$LINENO: checking for error_t" >&5
21758 echo $ECHO_N "checking for error_t... $ECHO_C" >&6
21759 if test "${ac_cv_type_error_t+set}" = set; then
21760 echo $ECHO_N "(cached) $ECHO_C" >&6
21762 cat >conftest.
$ac_ext <<_ACEOF
21765 cat confdefs.h
>>conftest.
$ac_ext
21766 cat >>conftest.
$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21777 if (sizeof (error_t))
21783 rm -f conftest.
$ac_objext
21784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21785 (eval $ac_compile) 2>conftest.er1
21787 grep -v '^ *+' conftest.er1
>conftest.err
21789 cat conftest.err
>&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); } &&
21792 { ac_try
='test -z "$ac_c_werror_flag"
21793 || test ! -s conftest.err'
21794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795 (eval $ac_try) 2>&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; } &&
21799 { ac_try
='test -s conftest.$ac_objext'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; }; then
21805 ac_cv_type_error_t
=yes
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.
$ac_ext >&5
21810 ac_cv_type_error_t
=no
21812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21814 echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
21815 echo "${ECHO_T}$ac_cv_type_error_t" >&6
21816 if test $ac_cv_type_error_t = yes; then
21818 cat >>confdefs.h
<<_ACEOF
21819 #define HAVE_ERROR_T 1
21825 cat >>confdefs.h
<<\_ACEOF
21826 #define error_t int
21837 for ac_func
in argz_append argz_create_sep argz_insert argz_next argz_stringify
21839 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21840 echo "$as_me:$LINENO: checking for $ac_func" >&5
21841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21842 if eval "test \"\${$as_ac_var+set}\" = set"; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21845 cat >conftest.
$ac_ext <<_ACEOF
21848 cat confdefs.h
>>conftest.
$ac_ext
21849 cat >>conftest.
$ac_ext <<_ACEOF
21850 /* end confdefs.h. */
21851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21853 #define $ac_func innocuous_$ac_func
21855 /* System header to define __stub macros and hopefully few prototypes,
21856 which can conflict with char $ac_func (); below.
21857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21858 <limits.h> exists even on freestanding compilers. */
21861 # include <limits.h>
21863 # include <assert.h>
21868 /* Override any gcc2 internal prototype to avoid an error. */
21873 /* We use char because int might match the return type of a gcc2
21874 builtin and then its argument prototype would still apply. */
21876 /* The GNU C library defines this for functions which it implements
21877 to always fail with ENOSYS. Some functions are actually named
21878 something starting with __ and the normal name is an alias. */
21879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21882 char (*f) () = $ac_func;
21891 return f != $ac_func;
21896 rm -f conftest.
$ac_objext conftest
$ac_exeext
21897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21898 (eval $ac_link) 2>conftest.er1
21900 grep -v '^ *+' conftest.er1
>conftest.err
21902 cat conftest.err
>&5
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); } &&
21905 { ac_try
='test -z "$ac_c_werror_flag"
21906 || test ! -s conftest.err'
21907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21908 (eval $ac_try) 2>&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); }; } &&
21912 { ac_try
='test -s conftest$ac_exeext'
21913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21914 (eval $ac_try) 2>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); }; }; then
21918 eval "$as_ac_var=yes"
21920 echo "$as_me: failed program was:" >&5
21921 sed 's/^/| /' conftest.
$ac_ext >&5
21923 eval "$as_ac_var=no"
21925 rm -f conftest.err conftest.
$ac_objext \
21926 conftest
$ac_exeext conftest.
$ac_ext
21928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21930 if test `eval echo '${'$as_ac_var'}'` = yes; then
21931 cat >>confdefs.h
<<_ACEOF
21932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21965 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
21968 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21970 echo "$as_me:$LINENO: checking for $ac_header" >&5
21971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21973 echo $ECHO_N "(cached) $ECHO_C" >&6
21975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21978 # Is the header compilable?
21979 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21981 cat >conftest.
$ac_ext <<_ACEOF
21984 cat confdefs.h
>>conftest.
$ac_ext
21985 cat >>conftest.
$ac_ext <<_ACEOF
21986 /* end confdefs.h. */
21987 $ac_includes_default
21988 #include <$ac_header>
21990 rm -f conftest.
$ac_objext
21991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21992 (eval $ac_compile) 2>conftest.er1
21994 grep -v '^ *+' conftest.er1
>conftest.err
21996 cat conftest.err
>&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); } &&
21999 { ac_try
='test -z "$ac_c_werror_flag"
22000 || test ! -s conftest.err'
22001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22002 (eval $ac_try) 2>&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; } &&
22006 { ac_try
='test -s conftest.$ac_objext'
22007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22008 (eval $ac_try) 2>&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); }; }; then
22012 ac_header_compiler
=yes
22014 echo "$as_me: failed program was:" >&5
22015 sed 's/^/| /' conftest.
$ac_ext >&5
22017 ac_header_compiler
=no
22019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22021 echo "${ECHO_T}$ac_header_compiler" >&6
22023 # Is the header present?
22024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22026 cat >conftest.
$ac_ext <<_ACEOF
22029 cat confdefs.h
>>conftest.
$ac_ext
22030 cat >>conftest.
$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22032 #include <$ac_header>
22034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22037 grep -v '^ *+' conftest.er1
>conftest.err
22039 cat conftest.err
>&5
22040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041 (exit $ac_status); } >/dev
/null
; then
22042 if test -s conftest.err
; then
22043 ac_cpp_err
=$ac_c_preproc_warn_flag
22044 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22051 if test -z "$ac_cpp_err"; then
22052 ac_header_preproc
=yes
22054 echo "$as_me: failed program was:" >&5
22055 sed 's/^/| /' conftest.
$ac_ext >&5
22057 ac_header_preproc
=no
22059 rm -f conftest.err conftest.
$ac_ext
22060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22061 echo "${ECHO_T}$ac_header_preproc" >&6
22063 # So? What about this header?
22064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22070 ac_header_preproc
=yes
22073 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22075 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22076 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22077 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22078 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22079 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22080 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22083 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22087 ## ---------------------------------- ##
22088 ## Report this to bug-libtool@gnu.org ##
22089 ## ---------------------------------- ##
22092 sed "s/^/$as_me: WARNING: /" >&2
22095 echo "$as_me:$LINENO: checking for $ac_header" >&5
22096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22098 echo $ECHO_N "(cached) $ECHO_C" >&6
22100 eval "$as_ac_Header=\$ac_header_preproc"
22102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22107 cat >>confdefs.h
<<_ACEOF
22108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22119 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
22121 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22123 echo "$as_me:$LINENO: checking for $ac_header" >&5
22124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22126 echo $ECHO_N "(cached) $ECHO_C" >&6
22128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22131 # Is the header compilable?
22132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22134 cat >conftest.
$ac_ext <<_ACEOF
22137 cat confdefs.h
>>conftest.
$ac_ext
22138 cat >>conftest.
$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 $ac_includes_default
22141 #include <$ac_header>
22143 rm -f conftest.
$ac_objext
22144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22145 (eval $ac_compile) 2>conftest.er1
22147 grep -v '^ *+' conftest.er1
>conftest.err
22149 cat conftest.err
>&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); } &&
22152 { ac_try
='test -z "$ac_c_werror_flag"
22153 || test ! -s conftest.err'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; } &&
22159 { ac_try
='test -s conftest.$ac_objext'
22160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22161 (eval $ac_try) 2>&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); }; }; then
22165 ac_header_compiler
=yes
22167 echo "$as_me: failed program was:" >&5
22168 sed 's/^/| /' conftest.
$ac_ext >&5
22170 ac_header_compiler
=no
22172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22174 echo "${ECHO_T}$ac_header_compiler" >&6
22176 # Is the header present?
22177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22179 cat >conftest.
$ac_ext <<_ACEOF
22182 cat confdefs.h
>>conftest.
$ac_ext
22183 cat >>conftest.
$ac_ext <<_ACEOF
22184 /* end confdefs.h. */
22185 #include <$ac_header>
22187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22190 grep -v '^ *+' conftest.er1
>conftest.err
22192 cat conftest.err
>&5
22193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 (exit $ac_status); } >/dev
/null
; then
22195 if test -s conftest.err
; then
22196 ac_cpp_err
=$ac_c_preproc_warn_flag
22197 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22204 if test -z "$ac_cpp_err"; then
22205 ac_header_preproc
=yes
22207 echo "$as_me: failed program was:" >&5
22208 sed 's/^/| /' conftest.
$ac_ext >&5
22210 ac_header_preproc
=no
22212 rm -f conftest.err conftest.
$ac_ext
22213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22214 echo "${ECHO_T}$ac_header_preproc" >&6
22216 # So? What about this header?
22217 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22219 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22223 ac_header_preproc
=yes
22226 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22228 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22229 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22230 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22232 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22233 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22236 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22240 ## ---------------------------------- ##
22241 ## Report this to bug-libtool@gnu.org ##
22242 ## ---------------------------------- ##
22245 sed "s/^/$as_me: WARNING: /" >&2
22248 echo "$as_me:$LINENO: checking for $ac_header" >&5
22249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22251 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 eval "$as_ac_Header=\$ac_header_preproc"
22255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22260 cat >>confdefs.h
<<_ACEOF
22261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22270 for ac_header
in string.h
strings.h
22272 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22274 echo "$as_me:$LINENO: checking for $ac_header" >&5
22275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22277 echo $ECHO_N "(cached) $ECHO_C" >&6
22279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22282 # Is the header compilable?
22283 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22285 cat >conftest.
$ac_ext <<_ACEOF
22288 cat confdefs.h
>>conftest.
$ac_ext
22289 cat >>conftest.
$ac_ext <<_ACEOF
22290 /* end confdefs.h. */
22291 $ac_includes_default
22292 #include <$ac_header>
22294 rm -f conftest.
$ac_objext
22295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22296 (eval $ac_compile) 2>conftest.er1
22298 grep -v '^ *+' conftest.er1
>conftest.err
22300 cat conftest.err
>&5
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); } &&
22303 { ac_try
='test -z "$ac_c_werror_flag"
22304 || test ! -s conftest.err'
22305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22306 (eval $ac_try) 2>&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); }; } &&
22310 { ac_try
='test -s conftest.$ac_objext'
22311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22312 (eval $ac_try) 2>&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); }; }; then
22316 ac_header_compiler
=yes
22318 echo "$as_me: failed program was:" >&5
22319 sed 's/^/| /' conftest.
$ac_ext >&5
22321 ac_header_compiler
=no
22323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22325 echo "${ECHO_T}$ac_header_compiler" >&6
22327 # Is the header present?
22328 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22329 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22330 cat >conftest.
$ac_ext <<_ACEOF
22333 cat confdefs.h
>>conftest.
$ac_ext
22334 cat >>conftest.
$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 #include <$ac_header>
22338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22339 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22341 grep -v '^ *+' conftest.er1
>conftest.err
22343 cat conftest.err
>&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } >/dev
/null
; then
22346 if test -s conftest.err
; then
22347 ac_cpp_err
=$ac_c_preproc_warn_flag
22348 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22355 if test -z "$ac_cpp_err"; then
22356 ac_header_preproc
=yes
22358 echo "$as_me: failed program was:" >&5
22359 sed 's/^/| /' conftest.
$ac_ext >&5
22361 ac_header_preproc
=no
22363 rm -f conftest.err conftest.
$ac_ext
22364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22365 echo "${ECHO_T}$ac_header_preproc" >&6
22367 # So? What about this header?
22368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22370 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22373 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22374 ac_header_preproc
=yes
22377 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22378 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22379 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22380 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22381 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22382 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22383 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22384 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22387 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22388 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22391 ## ---------------------------------- ##
22392 ## Report this to bug-libtool@gnu.org ##
22393 ## ---------------------------------- ##
22396 sed "s/^/$as_me: WARNING: /" >&2
22399 echo "$as_me:$LINENO: checking for $ac_header" >&5
22400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22402 echo $ECHO_N "(cached) $ECHO_C" >&6
22404 eval "$as_ac_Header=\$ac_header_preproc"
22406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22411 cat >>confdefs.h
<<_ACEOF
22412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22422 for ac_func
in strchr index
22424 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22425 echo "$as_me:$LINENO: checking for $ac_func" >&5
22426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22427 if eval "test \"\${$as_ac_var+set}\" = set"; then
22428 echo $ECHO_N "(cached) $ECHO_C" >&6
22430 cat >conftest.
$ac_ext <<_ACEOF
22433 cat confdefs.h
>>conftest.
$ac_ext
22434 cat >>conftest.
$ac_ext <<_ACEOF
22435 /* end confdefs.h. */
22436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22438 #define $ac_func innocuous_$ac_func
22440 /* System header to define __stub macros and hopefully few prototypes,
22441 which can conflict with char $ac_func (); below.
22442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22443 <limits.h> exists even on freestanding compilers. */
22446 # include <limits.h>
22448 # include <assert.h>
22453 /* Override any gcc2 internal prototype to avoid an error. */
22458 /* We use char because int might match the return type of a gcc2
22459 builtin and then its argument prototype would still apply. */
22461 /* The GNU C library defines this for functions which it implements
22462 to always fail with ENOSYS. Some functions are actually named
22463 something starting with __ and the normal name is an alias. */
22464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22467 char (*f) () = $ac_func;
22476 return f != $ac_func;
22481 rm -f conftest.
$ac_objext conftest
$ac_exeext
22482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22483 (eval $ac_link) 2>conftest.er1
22485 grep -v '^ *+' conftest.er1
>conftest.err
22487 cat conftest.err
>&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } &&
22490 { ac_try
='test -z "$ac_c_werror_flag"
22491 || test ! -s conftest.err'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; } &&
22497 { ac_try
='test -s conftest$ac_exeext'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22503 eval "$as_ac_var=yes"
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.
$ac_ext >&5
22508 eval "$as_ac_var=no"
22510 rm -f conftest.err conftest.
$ac_objext \
22511 conftest
$ac_exeext conftest.
$ac_ext
22513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22515 if test `eval echo '${'$as_ac_var'}'` = yes; then
22516 cat >>confdefs.h
<<_ACEOF
22517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22525 for ac_func
in strrchr rindex
22527 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22528 echo "$as_me:$LINENO: checking for $ac_func" >&5
22529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22530 if eval "test \"\${$as_ac_var+set}\" = set"; then
22531 echo $ECHO_N "(cached) $ECHO_C" >&6
22533 cat >conftest.
$ac_ext <<_ACEOF
22536 cat confdefs.h
>>conftest.
$ac_ext
22537 cat >>conftest.
$ac_ext <<_ACEOF
22538 /* end confdefs.h. */
22539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22541 #define $ac_func innocuous_$ac_func
22543 /* System header to define __stub macros and hopefully few prototypes,
22544 which can conflict with char $ac_func (); below.
22545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22546 <limits.h> exists even on freestanding compilers. */
22549 # include <limits.h>
22551 # include <assert.h>
22556 /* Override any gcc2 internal prototype to avoid an error. */
22561 /* We use char because int might match the return type of a gcc2
22562 builtin and then its argument prototype would still apply. */
22564 /* The GNU C library defines this for functions which it implements
22565 to always fail with ENOSYS. Some functions are actually named
22566 something starting with __ and the normal name is an alias. */
22567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22570 char (*f) () = $ac_func;
22579 return f != $ac_func;
22584 rm -f conftest.
$ac_objext conftest
$ac_exeext
22585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22586 (eval $ac_link) 2>conftest.er1
22588 grep -v '^ *+' conftest.er1
>conftest.err
22590 cat conftest.err
>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); } &&
22593 { ac_try
='test -z "$ac_c_werror_flag"
22594 || test ! -s conftest.err'
22595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22596 (eval $ac_try) 2>&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); }; } &&
22600 { ac_try
='test -s conftest$ac_exeext'
22601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22602 (eval $ac_try) 2>&5
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); }; }; then
22606 eval "$as_ac_var=yes"
22608 echo "$as_me: failed program was:" >&5
22609 sed 's/^/| /' conftest.
$ac_ext >&5
22611 eval "$as_ac_var=no"
22613 rm -f conftest.err conftest.
$ac_objext \
22614 conftest
$ac_exeext conftest.
$ac_ext
22616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22618 if test `eval echo '${'$as_ac_var'}'` = yes; then
22619 cat >>confdefs.h
<<_ACEOF
22620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22628 for ac_func
in memcpy bcopy
22630 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22631 echo "$as_me:$LINENO: checking for $ac_func" >&5
22632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22633 if eval "test \"\${$as_ac_var+set}\" = set"; then
22634 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 cat >conftest.
$ac_ext <<_ACEOF
22639 cat confdefs.h
>>conftest.
$ac_ext
22640 cat >>conftest.
$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22644 #define $ac_func innocuous_$ac_func
22646 /* System header to define __stub macros and hopefully few prototypes,
22647 which can conflict with char $ac_func (); below.
22648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22649 <limits.h> exists even on freestanding compilers. */
22652 # include <limits.h>
22654 # include <assert.h>
22659 /* Override any gcc2 internal prototype to avoid an error. */
22664 /* We use char because int might match the return type of a gcc2
22665 builtin and then its argument prototype would still apply. */
22667 /* The GNU C library defines this for functions which it implements
22668 to always fail with ENOSYS. Some functions are actually named
22669 something starting with __ and the normal name is an alias. */
22670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22673 char (*f) () = $ac_func;
22682 return f != $ac_func;
22687 rm -f conftest.
$ac_objext conftest
$ac_exeext
22688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22689 (eval $ac_link) 2>conftest.er1
22691 grep -v '^ *+' conftest.er1
>conftest.err
22693 cat conftest.err
>&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); } &&
22696 { ac_try
='test -z "$ac_c_werror_flag"
22697 || test ! -s conftest.err'
22698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22699 (eval $ac_try) 2>&5
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); }; } &&
22703 { ac_try
='test -s conftest$ac_exeext'
22704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22705 (eval $ac_try) 2>&5
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; }; then
22709 eval "$as_ac_var=yes"
22711 echo "$as_me: failed program was:" >&5
22712 sed 's/^/| /' conftest.
$ac_ext >&5
22714 eval "$as_ac_var=no"
22716 rm -f conftest.err conftest.
$ac_objext \
22717 conftest
$ac_exeext conftest.
$ac_ext
22719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22721 if test `eval echo '${'$as_ac_var'}'` = yes; then
22722 cat >>confdefs.h
<<_ACEOF
22723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22731 for ac_func
in memmove strcmp
22733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22734 echo "$as_me:$LINENO: checking for $ac_func" >&5
22735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22736 if eval "test \"\${$as_ac_var+set}\" = set"; then
22737 echo $ECHO_N "(cached) $ECHO_C" >&6
22739 cat >conftest.
$ac_ext <<_ACEOF
22742 cat confdefs.h
>>conftest.
$ac_ext
22743 cat >>conftest.
$ac_ext <<_ACEOF
22744 /* end confdefs.h. */
22745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22747 #define $ac_func innocuous_$ac_func
22749 /* System header to define __stub macros and hopefully few prototypes,
22750 which can conflict with char $ac_func (); below.
22751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22752 <limits.h> exists even on freestanding compilers. */
22755 # include <limits.h>
22757 # include <assert.h>
22762 /* Override any gcc2 internal prototype to avoid an error. */
22767 /* We use char because int might match the return type of a gcc2
22768 builtin and then its argument prototype would still apply. */
22770 /* The GNU C library defines this for functions which it implements
22771 to always fail with ENOSYS. Some functions are actually named
22772 something starting with __ and the normal name is an alias. */
22773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22776 char (*f) () = $ac_func;
22785 return f != $ac_func;
22790 rm -f conftest.
$ac_objext conftest
$ac_exeext
22791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22792 (eval $ac_link) 2>conftest.er1
22794 grep -v '^ *+' conftest.er1
>conftest.err
22796 cat conftest.err
>&5
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); } &&
22799 { ac_try
='test -z "$ac_c_werror_flag"
22800 || test ! -s conftest.err'
22801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22802 (eval $ac_try) 2>&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; } &&
22806 { ac_try
='test -s conftest$ac_exeext'
22807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22808 (eval $ac_try) 2>&5
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); }; }; then
22812 eval "$as_ac_var=yes"
22814 echo "$as_me: failed program was:" >&5
22815 sed 's/^/| /' conftest.
$ac_ext >&5
22817 eval "$as_ac_var=no"
22819 rm -f conftest.err conftest.
$ac_objext \
22820 conftest
$ac_exeext conftest.
$ac_ext
22822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22824 if test `eval echo '${'$as_ac_var'}'` = yes; then
22825 cat >>confdefs.h
<<_ACEOF
22826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22835 for ac_func
in closedir opendir readdir
22837 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22838 echo "$as_me:$LINENO: checking for $ac_func" >&5
22839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22840 if eval "test \"\${$as_ac_var+set}\" = set"; then
22841 echo $ECHO_N "(cached) $ECHO_C" >&6
22843 cat >conftest.
$ac_ext <<_ACEOF
22846 cat confdefs.h
>>conftest.
$ac_ext
22847 cat >>conftest.
$ac_ext <<_ACEOF
22848 /* end confdefs.h. */
22849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22851 #define $ac_func innocuous_$ac_func
22853 /* System header to define __stub macros and hopefully few prototypes,
22854 which can conflict with char $ac_func (); below.
22855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22856 <limits.h> exists even on freestanding compilers. */
22859 # include <limits.h>
22861 # include <assert.h>
22866 /* Override any gcc2 internal prototype to avoid an error. */
22871 /* We use char because int might match the return type of a gcc2
22872 builtin and then its argument prototype would still apply. */
22874 /* The GNU C library defines this for functions which it implements
22875 to always fail with ENOSYS. Some functions are actually named
22876 something starting with __ and the normal name is an alias. */
22877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22880 char (*f) () = $ac_func;
22889 return f != $ac_func;
22894 rm -f conftest.
$ac_objext conftest
$ac_exeext
22895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22896 (eval $ac_link) 2>conftest.er1
22898 grep -v '^ *+' conftest.er1
>conftest.err
22900 cat conftest.err
>&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); } &&
22903 { ac_try
='test -z "$ac_c_werror_flag"
22904 || test ! -s conftest.err'
22905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22906 (eval $ac_try) 2>&5
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); }; } &&
22910 { ac_try
='test -s conftest$ac_exeext'
22911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22912 (eval $ac_try) 2>&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); }; }; then
22916 eval "$as_ac_var=yes"
22918 echo "$as_me: failed program was:" >&5
22919 sed 's/^/| /' conftest.
$ac_ext >&5
22921 eval "$as_ac_var=no"
22923 rm -f conftest.err conftest.
$ac_objext \
22924 conftest
$ac_exeext conftest.
$ac_ext
22926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22928 if test `eval echo '${'$as_ac_var'}'` = yes; then
22929 cat >>confdefs.h
<<_ACEOF
22930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22942 ac_config_files
="$ac_config_files Makefile"
22944 cat >confcache
<<\_ACEOF
22945 # This file is a shell script that caches the results of configure
22946 # tests run on this system so they can be shared between configure
22947 # scripts and configure runs, see configure's option --config-cache.
22948 # It is not useful on other systems. If it contains results you don't
22949 # want to keep, you may remove or edit it.
22951 # config.status only pays attention to the cache file if you give it
22952 # the --recheck option to rerun configure.
22954 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22955 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22956 # following values.
22960 # The following way of writing the cache mishandles newlines in values,
22961 # but we know of no workaround that is simple, portable, and efficient.
22962 # So, don't put newlines in cache variables' values.
22963 # Ultrix sh set writes to stderr and can't be redirected directly,
22964 # and sets the high bit in the cache file unless we assign to the vars.
22967 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22969 # `set' does not quote correctly, so add quotes (double-quote
22970 # substitution turns \\\\ into \\, and sed turns \\ into \).
22973 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22976 # `set' quotes correctly as required by POSIX, so do not add quotes.
22978 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22985 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22987 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22989 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22990 if test -w $cache_file; then
22991 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22992 cat confcache
>$cache_file
22994 echo "not updating unwritable cache $cache_file"
22999 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23000 # Let make expand exec_prefix.
23001 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23003 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23004 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23005 # trailing colons and then remove the whole line if VPATH becomes empty
23006 # (actually we leave an empty line to preserve line numbers).
23007 if test "x$srcdir" = x.
; then
23008 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23009 s/:*\$(srcdir):*/:/;
23010 s/:*\${srcdir}:*/:/;
23012 s/^\([^=]*=[ ]*\):*/\1/;
23018 DEFS
=-DHAVE_CONFIG_H
23022 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23023 # 1. Remove the extension, and $U if already installed.
23024 ac_i
=`echo "$ac_i" |
23025 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23027 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
23028 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
23030 LIBOBJS
=$ac_libobjs
23032 LTLIBOBJS
=$ac_ltlibobjs
23035 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23036 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23037 Usually this means the macro was only invoked conditionally." >&5
23038 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23039 Usually this means the macro was only invoked conditionally." >&2;}
23040 { (exit 1); exit 1; }; }
23042 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23043 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23044 Usually this means the macro was only invoked conditionally." >&5
23045 echo "$as_me: error: conditional \"AMDEP\" was never defined.
23046 Usually this means the macro was only invoked conditionally." >&2;}
23047 { (exit 1); exit 1; }; }
23049 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23050 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23051 Usually this means the macro was only invoked conditionally." >&5
23052 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23053 Usually this means the macro was only invoked conditionally." >&2;}
23054 { (exit 1); exit 1; }; }
23056 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23057 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23058 Usually this means the macro was only invoked conditionally." >&5
23059 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23060 Usually this means the macro was only invoked conditionally." >&2;}
23061 { (exit 1); exit 1; }; }
23063 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
23064 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
23065 Usually this means the macro was only invoked conditionally." >&5
23066 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
23067 Usually this means the macro was only invoked conditionally." >&2;}
23068 { (exit 1); exit 1; }; }
23070 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
23071 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
23072 Usually this means the macro was only invoked conditionally." >&5
23073 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
23074 Usually this means the macro was only invoked conditionally." >&2;}
23075 { (exit 1); exit 1; }; }
23078 : ${CONFIG_STATUS=./config.status}
23079 ac_clean_files_save
=$ac_clean_files
23080 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23081 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23082 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23083 cat >$CONFIG_STATUS <<_ACEOF
23085 # Generated by $as_me.
23086 # Run this file to recreate the current configuration.
23087 # Compiler output produced by configure, useful for debugging
23088 # configure, is in config.log if it exists.
23091 ac_cs_recheck=false
23093 SHELL=\${CONFIG_SHELL-$SHELL}
23096 cat >>$CONFIG_STATUS <<\_ACEOF
23097 ## --------------------- ##
23098 ## M4sh Initialization. ##
23099 ## --------------------- ##
23101 # Be Bourne compatible
23102 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23105 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23106 # is contrary to our usage. Disable this feature.
23107 alias -g '${1+"$@"}'='"$@"'
23108 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
23111 DUALCASE
=1; export DUALCASE
# for MKS sh
23113 # Support unset when possible.
23114 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23121 # Work around bugs in pre-3.0 UWIN ksh.
23122 $as_unset ENV MAIL MAILPATH
23129 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23130 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23131 LC_TELEPHONE LC_TIME
23133 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23134 eval $as_var=C
; export $as_var
23140 # Required to use basename.
23141 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23147 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
23148 as_basename
=basename
23154 # Name of the executable.
23155 as_me
=`$as_basename "$0" ||
23156 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23157 X"$0" : 'X\(//\)$' \| \
23158 X"$0" : 'X\(/\)$' \| \
23159 . : '\(.\)' 2>/dev/null ||
23161 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23162 /^X\/\(\/\/\)$/{ s//\1/; q; }
23163 /^X\/\(\/\).*/{ s//\1/; q; }
23167 # PATH needs CR, and LINENO needs CR and PATH.
23168 # Avoid depending upon Character Ranges.
23169 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23170 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23171 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23172 as_cr_digits
='0123456789'
23173 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23175 # The user is always right.
23176 if test "${PATH_SEPARATOR+set}" != set; then
23177 echo "#! /bin/sh" >conf$$.sh
23178 echo "exit 0" >>conf$$.sh
23180 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23189 as_lineno_1
=$LINENO
23190 as_lineno_2
=$LINENO
23191 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
23192 test "x$as_lineno_1" != "x$as_lineno_2" &&
23193 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
23194 # Find who we are. Look in the path if we contain no path at all
23197 *[\\/]* ) as_myself
=$0 ;;
23198 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23199 for as_dir
in $PATH
23202 test -z "$as_dir" && as_dir
=.
23203 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23208 # We did not find ourselves, most probably we were run as `sh COMMAND'
23209 # in which case we are not to be found in the path.
23210 if test "x$as_myself" = x
; then
23213 if test ! -f "$as_myself"; then
23214 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23215 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23216 { (exit 1); exit 1; }; }
23218 case $CONFIG_SHELL in
23220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23221 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
23224 test -z "$as_dir" && as_dir
=.
23225 for as_base
in sh bash ksh sh5
; do
23228 if ("$as_dir/$as_base" -c '
23229 as_lineno_1=$LINENO
23230 as_lineno_2=$LINENO
23231 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23232 test "x$as_lineno_1" != "x$as_lineno_2" &&
23233 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
23234 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
23235 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
23236 CONFIG_SHELL
=$as_dir/$as_base
23237 export CONFIG_SHELL
23238 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23246 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23247 # uniformly replaced by the line number. The first 'sed' inserts a
23248 # line-number line before each line; the second 'sed' does the real
23249 # work. The second script uses 'N' to pair each line-number line
23250 # with the numbered line, and appends trailing '-' during
23251 # substitution so that $LINENO is not a special case at line end.
23252 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23253 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23254 sed '=' <$as_myself |
23259 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23262 s,^['$as_cr_digits']*\n,,
23263 ' >$as_me.lineno
&&
23264 chmod +x
$as_me.lineno ||
23265 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23266 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23267 { (exit 1); exit 1; }; }
23269 # Don't try to exec as it changes $[0], causing all sort of problems
23270 # (the dirname of $[0] is not the place where we might find the
23271 # original and so on. Autoconf is especially sensible to this).
23273 # Exit status is that of the last command.
23278 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23279 *c
*,-n*) ECHO_N
= ECHO_C
='
23281 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
23282 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
23285 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23291 rm -f conf$$ conf$$.exe conf$$.
file
23293 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23294 # We could just check for DJGPP; but this test a) works b) is more generic
23295 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23296 if test -f conf$$.exe
; then
23297 # Don't use ln at all; we don't have any links
23302 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23307 rm -f conf$$ conf$$.exe conf$$.
file
23309 if mkdir
-p .
2>/dev
/null
; then
23312 test -d .
/-p && rmdir .
/-p
23316 as_executable_p
="test -f"
23318 # Sed expression to map a string onto a valid CPP name.
23319 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23321 # Sed expression to map a string onto a valid variable name.
23322 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23326 # We need space, tab and new line, in precisely that order.
23336 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23337 # report actual input values of CONFIG_FILES etc. instead of their
23338 # values after options handling. Logging --version etc. is OK.
23342 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23343 ## Running $as_me. ##
23348 This file was extended by libltdl $as_me 1.2, which was
23349 generated by GNU Autoconf 2.59. Invocation command line was
23351 CONFIG_FILES = $CONFIG_FILES
23352 CONFIG_HEADERS = $CONFIG_HEADERS
23353 CONFIG_LINKS = $CONFIG_LINKS
23354 CONFIG_COMMANDS = $CONFIG_COMMANDS
23358 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23362 # Files that config.status was made for.
23363 if test -n "$ac_config_files"; then
23364 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23367 if test -n "$ac_config_headers"; then
23368 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23371 if test -n "$ac_config_links"; then
23372 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23375 if test -n "$ac_config_commands"; then
23376 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23379 cat >>$CONFIG_STATUS <<\_ACEOF
23382 \`$as_me' instantiates files from templates according to the
23383 current configuration.
23385 Usage: $0 [OPTIONS] [FILE]...
23387 -h, --help print this help, then exit
23388 -V, --version print version number, then exit
23389 -q, --quiet do not print progress messages
23390 -d, --debug don't remove temporary files
23391 --recheck update $as_me by reconfiguring in the same conditions
23392 --file=FILE[:TEMPLATE]
23393 instantiate the configuration file FILE
23394 --header=FILE[:TEMPLATE]
23395 instantiate the configuration header FILE
23397 Configuration files:
23400 Configuration headers:
23403 Configuration commands:
23406 Report bugs to <bug-autoconf@gnu.org>."
23409 cat >>$CONFIG_STATUS <<_ACEOF
23411 libltdl config.status 1.2
23412 configured by $0, generated by GNU Autoconf 2.59,
23413 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23415 Copyright (C) 2003 Free Software Foundation, Inc.
23416 This config.status script is free software; the Free Software Foundation
23417 gives unlimited permission to copy, distribute and modify it."
23422 cat >>$CONFIG_STATUS <<\_ACEOF
23423 # If no file are specified by the user, then we need to provide default
23424 # value. By we need to know if files were specified by the user.
23430 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
23431 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
23439 *) # This is not an option, so the user has probably given explicit
23442 ac_need_defaults
=false
;;
23446 # Handling of the options.
23448 cat >>$CONFIG_STATUS <<\_ACEOF
23449 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23451 --version |
--vers* |
-V )
23452 echo "$ac_cs_version"; exit 0 ;;
23454 # Conflict between --help and --header
23455 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23456 Try \`$0 --help' for more information." >&5
23457 echo "$as_me: error: ambiguous option: $1
23458 Try \`$0 --help' for more information." >&2;}
23459 { (exit 1); exit 1; }; };;
23460 --help |
--hel |
-h )
23461 echo "$ac_cs_usage"; exit 0 ;;
23462 --debug |
--d* |
-d )
23464 --file |
--fil |
--fi |
--f )
23466 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23467 ac_need_defaults
=false
;;
23468 --header |
--heade |
--head |
--hea )
23470 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23471 ac_need_defaults
=false
;;
23472 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23473 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23476 # This is an error.
23477 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23478 Try \`$0 --help' for more information." >&5
23479 echo "$as_me: error: unrecognized option: $1
23480 Try \`$0 --help' for more information." >&2;}
23481 { (exit 1); exit 1; }; } ;;
23483 *) ac_config_targets
="$ac_config_targets $1" ;;
23489 ac_configure_extra_args
=
23491 if $ac_cs_silent; then
23493 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23497 cat >>$CONFIG_STATUS <<_ACEOF
23498 if \$ac_cs_recheck; then
23499 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23500 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23505 cat >>$CONFIG_STATUS <<_ACEOF
23507 # INIT-COMMANDS section.
23514 with_multisubdir="$with_multisubdir"
23515 with_multisrctop="$with_multisrctop"
23516 with_target_subdir="$with_target_subdir"
23517 ac_configure_args="${multilib_arg} ${ac_configure_args}"
23518 multi_basedir="$multi_basedir"
23519 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
23521 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23527 cat >>$CONFIG_STATUS <<\_ACEOF
23528 for ac_config_target
in $ac_config_targets
23530 case "$ac_config_target" in
23531 # Handling of arguments.
23532 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23533 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
23534 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23535 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config-h.in" ;;
23536 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23537 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23538 { (exit 1); exit 1; }; };;
23542 # If the user did not use the arguments to specify the items to instantiate,
23543 # then the envvar interface is used. Set only those that are not.
23544 # We use the long form for the default assignment because of an extremely
23545 # bizarre bug on SunOS 4.1.3.
23546 if $ac_need_defaults; then
23547 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23548 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23549 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23552 # Have a temporary directory for convenience. Make it in the build tree
23553 # simply because there is no reason to put it here, and in addition,
23554 # creating and moving files from /tmp can sometimes cause problems.
23555 # Create a temporary directory, and hook for its removal unless debugging.
23558 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23559 trap '{ (exit 1); exit 1; }' 1 2 13 15
23562 # Create a (secure) tmp directory for tmp files.
23565 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23566 test -n "$tmp" && test -d "$tmp"
23569 tmp
=.
/confstat$$
-$RANDOM
23570 (umask 077 && mkdir
$tmp)
23573 echo "$me: cannot create a temporary directory in ." >&2
23574 { (exit 1); exit 1; }
23579 cat >>$CONFIG_STATUS <<_ACEOF
23582 # CONFIG_FILES section.
23585 # No need to generate the scripts if there are no CONFIG_FILES.
23586 # This happens for instance when ./config.status config.h
23587 if test -n "\$CONFIG_FILES"; then
23588 # Protect against being on the right side of a sed subst in config.status.
23589 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23590 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23591 s,@SHELL@,$SHELL,;t t
23592 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23593 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23594 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23595 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23596 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23597 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23598 s,@exec_prefix@,$exec_prefix,;t t
23599 s,@prefix@,$prefix,;t t
23600 s,@program_transform_name@,$program_transform_name,;t t
23601 s,@bindir@,$bindir,;t t
23602 s,@sbindir@,$sbindir,;t t
23603 s,@libexecdir@,$libexecdir,;t t
23604 s,@datadir@,$datadir,;t t
23605 s,@sysconfdir@,$sysconfdir,;t t
23606 s,@sharedstatedir@,$sharedstatedir,;t t
23607 s,@localstatedir@,$localstatedir,;t t
23608 s,@libdir@,$libdir,;t t
23609 s,@includedir@,$includedir,;t t
23610 s,@oldincludedir@,$oldincludedir,;t t
23611 s,@infodir@,$infodir,;t t
23612 s,@mandir@,$mandir,;t t
23613 s,@build_alias@,$build_alias,;t t
23614 s,@host_alias@,$host_alias,;t t
23615 s,@target_alias@,$target_alias,;t t
23616 s,@DEFS@,$DEFS,;t t
23617 s,@ECHO_C@,$ECHO_C,;t t
23618 s,@ECHO_N@,$ECHO_N,;t t
23619 s,@ECHO_T@,$ECHO_T,;t t
23620 s,@LIBS@,$LIBS,;t t
23621 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23622 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23623 s,@MAINT@,$MAINT,;t t
23624 s,@multi_basedir@,$multi_basedir,;t t
23625 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23626 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23627 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23628 s,@CYGPATH_W@,$CYGPATH_W,;t t
23629 s,@PACKAGE@,$PACKAGE,;t t
23630 s,@VERSION@,$VERSION,;t t
23631 s,@ACLOCAL@,$ACLOCAL,;t t
23632 s,@AUTOCONF@,$AUTOCONF,;t t
23633 s,@AUTOMAKE@,$AUTOMAKE,;t t
23634 s,@AUTOHEADER@,$AUTOHEADER,;t t
23635 s,@MAKEINFO@,$MAKEINFO,;t t
23636 s,@install_sh@,$install_sh,;t t
23637 s,@STRIP@,$STRIP,;t t
23638 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23639 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23640 s,@mkdir_p@,$mkdir_p,;t t
23642 s,@SET_MAKE@,$SET_MAKE,;t t
23643 s,@am__leading_dot@,$am__leading_dot,;t t
23644 s,@AMTAR@,$AMTAR,;t t
23645 s,@am__tar@,$am__tar,;t t
23646 s,@am__untar@,$am__untar,;t t
23648 s,@CFLAGS@,$CFLAGS,;t t
23649 s,@LDFLAGS@,$LDFLAGS,;t t
23650 s,@CPPFLAGS@,$CPPFLAGS,;t t
23651 s,@ac_ct_CC@,$ac_ct_CC,;t t
23652 s,@EXEEXT@,$EXEEXT,;t t
23653 s,@OBJEXT@,$OBJEXT,;t t
23654 s,@DEPDIR@,$DEPDIR,;t t
23655 s,@am__include@,$am__include,;t t
23656 s,@am__quote@,$am__quote,;t t
23657 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23658 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23659 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23660 s,@CCDEPMODE@,$CCDEPMODE,;t t
23661 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23662 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23663 s,@build@,$build,;t t
23664 s,@build_cpu@,$build_cpu,;t t
23665 s,@build_vendor@,$build_vendor,;t t
23666 s,@build_os@,$build_os,;t t
23667 s,@host@,$host,;t t
23668 s,@host_cpu@,$host_cpu,;t t
23669 s,@host_vendor@,$host_vendor,;t t
23670 s,@host_os@,$host_os,;t t
23671 s,@EGREP@,$EGREP,;t t
23672 s,@LN_S@,$LN_S,;t t
23673 s,@ECHO@,$ECHO,;t t
23675 s,@ac_ct_AR@,$ac_ct_AR,;t t
23676 s,@RANLIB@,$RANLIB,;t t
23677 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23678 s,@DLLTOOL@,$DLLTOOL,;t t
23679 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
23681 s,@ac_ct_AS@,$ac_ct_AS,;t t
23682 s,@OBJDUMP@,$OBJDUMP,;t t
23683 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
23686 s,@CXXFLAGS@,$CXXFLAGS,;t t
23687 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23688 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
23689 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
23690 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
23691 s,@CXXCPP@,$CXXCPP,;t t
23693 s,@FFLAGS@,$FFLAGS,;t t
23694 s,@ac_ct_F77@,$ac_ct_F77,;t t
23695 s,@LIBTOOL@,$LIBTOOL,;t t
23696 s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
23697 s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
23698 s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
23699 s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
23700 s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
23701 s,@LIBADD_DL@,$LIBADD_DL,;t t
23702 s,@LIBOBJS@,$LIBOBJS,;t t
23703 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23708 cat >>$CONFIG_STATUS <<\_ACEOF
23709 # Split the substitutions into bite-sized pieces for seds with
23710 # small command number limits, like on Digital OSF/1 and HP-UX.
23711 ac_max_sed_lines
=48
23712 ac_sed_frag
=1 # Number of current file.
23713 ac_beg
=1 # First line for current file.
23714 ac_end
=$ac_max_sed_lines # Line after last line for current file.
23717 while $ac_more_lines; do
23718 if test $ac_beg -gt 1; then
23719 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23721 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23723 if test ! -s $tmp/subs.frag
; then
23724 ac_more_lines
=false
23726 # The purpose of the label and of the branching condition is to
23727 # speed up the sed processing (if there are no `@' at all, there
23728 # is no need to browse any of the substitutions).
23729 # These are the two extra sed commands mentioned above.
23731 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
23732 if test -z "$ac_sed_cmds"; then
23733 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
23735 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23737 ac_sed_frag
=`expr $ac_sed_frag + 1`
23739 ac_end
=`expr $ac_end + $ac_max_sed_lines`
23742 if test -z "$ac_sed_cmds"; then
23745 fi # test -n "$CONFIG_FILES"
23748 cat >>$CONFIG_STATUS <<\_ACEOF
23749 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
23750 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23752 - |
*:- |
*:-:* ) # input from stdin
23754 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23755 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23756 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23757 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23758 * ) ac_file_in
=$ac_file.
in ;;
23761 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23762 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23763 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23764 X"$ac_file" : 'X\(//\)[^/]' \| \
23765 X"$ac_file" : 'X\(//\)$' \| \
23766 X"$ac_file" : 'X\(/\)' \| \
23767 . : '\(.\)' 2>/dev/null ||
23769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23770 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23771 /^X\(\/\/\)$/{ s//\1/; q; }
23772 /^X\(\/\).*/{ s//\1/; q; }
23774 { if $as_mkdir_p; then
23779 while test ! -d "$as_dir"; do
23780 as_dirs
="$as_dir $as_dirs"
23781 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23783 X"$as_dir" : 'X\(//\)[^/]' \| \
23784 X"$as_dir" : 'X\(//\)$' \| \
23785 X"$as_dir" : 'X\(/\)' \| \
23786 . : '\(.\)' 2>/dev/null ||
23788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23789 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23790 /^X\(\/\/\)$/{ s//\1/; q; }
23791 /^X\(\/\).*/{ s//\1/; q; }
23794 test ! -n "$as_dirs" || mkdir
$as_dirs
23795 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23796 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23797 { (exit 1); exit 1; }; }; }
23801 if test "$ac_dir" != .
; then
23802 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23803 # A "../" for each directory in $ac_dir_suffix.
23804 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23806 ac_dir_suffix
= ac_top_builddir
=
23810 .
) # No --srcdir option. We are building in place.
23812 if test -z "$ac_top_builddir"; then
23815 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23817 [\\/]* | ?
:[\\/]* ) # Absolute path.
23818 ac_srcdir
=$srcdir$ac_dir_suffix;
23819 ac_top_srcdir
=$srcdir ;;
23820 *) # Relative path.
23821 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23822 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23825 # Do not use `cd foo && pwd` to compute absolute paths, because
23826 # the directories may not exist.
23828 .
) ac_abs_builddir
="$ac_dir";;
23831 .
) ac_abs_builddir
=`pwd`;;
23832 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23833 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23836 case $ac_abs_builddir in
23837 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23839 case ${ac_top_builddir}.
in
23840 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23841 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23842 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23845 case $ac_abs_builddir in
23846 .
) ac_abs_srcdir
=$ac_srcdir;;
23849 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23850 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23851 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23854 case $ac_abs_builddir in
23855 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23857 case $ac_top_srcdir in
23858 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23859 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23860 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23866 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23867 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
23870 if test x
"$ac_file" != x-
; then
23871 { echo "$as_me:$LINENO: creating $ac_file" >&5
23872 echo "$as_me: creating $ac_file" >&6;}
23875 # Let's still pretend it is `configure' which instantiates (i.e., don't
23876 # use $as_me), people would be surprised to read:
23877 # /* config.h. Generated by config.status. */
23878 if test x
"$ac_file" = x-
; then
23881 configure_input
="$ac_file. "
23883 configure_input
=$configure_input"Generated from `echo $ac_file_in |
23884 sed 's,.*/,,'` by configure."
23886 # First look for the input files in the build tree, otherwise in the
23888 ac_file_inputs
=`IFS=:
23889 for f in $ac_file_in; do
23891 -) echo $tmp/stdin ;;
23893 # Absolute (can't be DOS-style, as IFS=:)
23894 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23895 echo "$as_me: error: cannot find input file: $f" >&2;}
23896 { (exit 1); exit 1; }; }
23899 if test -f "$f"; then
23902 elif test -f "$srcdir/$f"; then
23907 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23908 echo "$as_me: error: cannot find input file: $f" >&2;}
23909 { (exit 1); exit 1; }; }
23912 done` ||
{ (exit 1); exit 1; }
23914 cat >>$CONFIG_STATUS <<_ACEOF
23918 cat >>$CONFIG_STATUS <<\_ACEOF
23920 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23921 s
,@configure_input@
,$configure_input,;t t
23922 s
,@srcdir@
,$ac_srcdir,;t t
23923 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23924 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23925 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23926 s
,@builddir@
,$ac_builddir,;t t
23927 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23928 s
,@top_builddir@
,$ac_top_builddir,;t t
23929 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23930 s
,@INSTALL@
,$ac_INSTALL,;t t
23931 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23933 if test x"$ac_file" != x-; then
23934 mv $tmp/out $ac_file
23942 cat >>$CONFIG_STATUS <<\_ACEOF
23945 # CONFIG_HEADER section.
23948 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
23949 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23951 # ac_d sets the value in "#define NAME VALUE" lines.
23952 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23953 ac_dB
='[ ].*$,\1#\2'
23956 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23957 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23958 ac_uB
='$,\1#\2define\3'
23962 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
23963 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23965 - |
*:- |
*:-:* ) # input from stdin
23967 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23968 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23969 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23970 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23971 * ) ac_file_in
=$ac_file.
in ;;
23974 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23975 echo "$as_me: creating $ac_file" >&6;}
23977 # First look for the input files in the build tree, otherwise in the
23979 ac_file_inputs
=`IFS=:
23980 for f in $ac_file_in; do
23982 -) echo $tmp/stdin ;;
23984 # Absolute (can't be DOS-style, as IFS=:)
23985 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23986 echo "$as_me: error: cannot find input file: $f" >&2;}
23987 { (exit 1); exit 1; }; }
23988 # Do quote $f, to prevent DOS paths from being IFS'd.
23991 if test -f "$f"; then
23994 elif test -f "$srcdir/$f"; then
23999 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24000 echo "$as_me: error: cannot find input file: $f" >&2;}
24001 { (exit 1); exit 1; }; }
24004 done` ||
{ (exit 1); exit 1; }
24005 # Remove the trailing spaces.
24006 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24010 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24011 # `conftest.undefs', that substitutes the proper values into
24012 # config.h.in to produce config.h. The first handles `#define'
24013 # templates, and the second `#undef' templates.
24014 # And first: Protect against being on the right side of a sed subst in
24015 # config.status. Protect against being in an unquoted here document
24016 # in config.status.
24017 rm -f conftest.defines conftest.undefs
24018 # Using a here document instead of a string reduces the quoting nightmare.
24019 # Putting comments in sed scripts is not portable.
24021 # `end' is used to avoid that the second main sed command (meant for
24022 # 0-ary CPP macros) applies to n-ary macro definitions.
24023 # See the Autoconf documentation for `clear'.
24024 cat >confdef2sed.
sed <<\_ACEOF
24029 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24031 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24034 # If some macros were called several times there might be several times
24035 # the same #defines, which is useless. Nevertheless, we may not want to
24036 # sort them, since we want the *last* AC-DEFINE to be honored.
24037 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24038 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24039 rm -f confdef2sed.sed
24041 # This sed command replaces #undef with comments. This is necessary, for
24042 # example, in the case of _POSIX_SOURCE, which is predefined and required
24043 # on some systems where configure will not decide to define it.
24044 cat >>conftest.undefs <<\_ACEOF
24045 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24048 # Break up conftest.defines because some shells have a limit on the size
24049 # of here documents, and old seds have small limits too (100 cmds).
24050 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24051 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24052 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24053 echo ' :' >>$CONFIG_STATUS
24054 rm -f conftest.tail
24055 while grep . conftest.defines >/dev/null
24057 # Write a limited-size here document to $tmp/defines.sed.
24058 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24059 # Speed up: don't consider the non `#define' lines.
24060 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24061 # Work around the forget-to-reset-the-flag bug.
24062 echo 't clr' >>$CONFIG_STATUS
24063 echo ': clr' >>$CONFIG_STATUS
24064 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
24066 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24068 mv $tmp/out $tmp/in
24070 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
24071 rm -f conftest.defines
24072 mv conftest.
tail conftest.defines
24074 rm -f conftest.defines
24075 echo ' fi # grep' >>$CONFIG_STATUS
24076 echo >>$CONFIG_STATUS
24078 # Break up conftest.undefs because some shells have a limit on the size
24079 # of here documents, and old seds have small limits too (100 cmds).
24080 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24081 rm -f conftest.
tail
24082 while grep . conftest.undefs
>/dev
/null
24084 # Write a limited-size here document to $tmp/undefs.sed.
24085 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24086 # Speed up: don't consider the non
`#undef'
24087 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24088 # Work around the forget-to-reset-the-flag bug.
24089 echo 't clr' >>$CONFIG_STATUS
24090 echo ': clr' >>$CONFIG_STATUS
24091 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24093 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24095 mv $tmp/out $tmp/in
24097 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24098 rm -f conftest.undefs
24099 mv conftest.tail conftest.undefs
24101 rm -f conftest.undefs
24103 cat >>$CONFIG_STATUS <<\_ACEOF
24104 # Let's still pretend it is `configure
' which instantiates (i.e., don't
24105 # use $as_me), people would be surprised to read:
24106 # /* config.h. Generated by config.status. */
24107 if test x
"$ac_file" = x-
; then
24108 echo "/* Generated by configure. */" >$tmp/config.h
24110 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24112 cat $tmp/in >>$tmp/config.h
24114 if test x
"$ac_file" != x-
; then
24115 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
24116 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24117 echo "$as_me: $ac_file is unchanged" >&6;}
24119 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24120 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24121 X"$ac_file" : 'X\(//\)[^/]' \| \
24122 X"$ac_file" : 'X\(//\)$' \| \
24123 X"$ac_file" : 'X\(/\)' \| \
24124 . : '\(.\)' 2>/dev/null ||
24126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24127 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24128 /^X\(\/\/\)$/{ s//\1/; q; }
24129 /^X\(\/\).*/{ s//\1/; q; }
24131 { if $as_mkdir_p; then
24136 while test ! -d "$as_dir"; do
24137 as_dirs
="$as_dir $as_dirs"
24138 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24139 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24140 X"$as_dir" : 'X\(//\)[^/]' \| \
24141 X"$as_dir" : 'X\(//\)$' \| \
24142 X"$as_dir" : 'X\(/\)' \| \
24143 . : '\(.\)' 2>/dev/null ||
24145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24146 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24147 /^X\(\/\/\)$/{ s//\1/; q; }
24148 /^X\(\/\).*/{ s//\1/; q; }
24151 test ! -n "$as_dirs" || mkdir
$as_dirs
24152 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24153 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24154 { (exit 1); exit 1; }; }; }
24157 mv $tmp/config.h
$ac_file
24161 rm -f $tmp/config.h
24163 # Compute $ac_file's index in $config_headers.
24165 for _am_header
in $config_headers :; do
24166 case $_am_header in
24167 $ac_file |
$ac_file:* )
24170 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24173 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
24174 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24175 X$ac_file : 'X\(//\)[^/]' \| \
24176 X$ac_file : 'X\(//\)$' \| \
24177 X$ac_file : 'X\(/\)' \| \
24178 . : '\(.\)' 2>/dev/null ||
24180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24181 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24182 /^X\(\/\/\)$/{ s//\1/; q; }
24183 /^X\(\/\).*/{ s//\1/; q; }
24184 s/.*/./; q'`/stamp-h
$_am_stamp_count
24187 cat >>$CONFIG_STATUS <<\_ACEOF
24190 # CONFIG_COMMANDS section.
24192 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
24193 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
24194 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24195 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
24196 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24197 X"$ac_dest" : 'X\(//\)[^/]' \| \
24198 X"$ac_dest" : 'X\(//\)$' \| \
24199 X"$ac_dest" : 'X\(/\)' \| \
24200 . : '\(.\)' 2>/dev/null ||
24202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24204 /^X\(\/\/\)$/{ s//\1/; q; }
24205 /^X\(\/\).*/{ s//\1/; q; }
24207 { if $as_mkdir_p; then
24212 while test ! -d "$as_dir"; do
24213 as_dirs
="$as_dir $as_dirs"
24214 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24216 X"$as_dir" : 'X\(//\)[^/]' \| \
24217 X"$as_dir" : 'X\(//\)$' \| \
24218 X"$as_dir" : 'X\(/\)' \| \
24219 . : '\(.\)' 2>/dev/null ||
24221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24223 /^X\(\/\/\)$/{ s//\1/; q; }
24224 /^X\(\/\).*/{ s//\1/; q; }
24227 test ! -n "$as_dirs" || mkdir
$as_dirs
24228 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24229 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24230 { (exit 1); exit 1; }; }; }
24234 if test "$ac_dir" != .
; then
24235 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24236 # A "../" for each directory in $ac_dir_suffix.
24237 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24239 ac_dir_suffix
= ac_top_builddir
=
24243 .
) # No --srcdir option. We are building in place.
24245 if test -z "$ac_top_builddir"; then
24248 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24250 [\\/]* | ?
:[\\/]* ) # Absolute path.
24251 ac_srcdir
=$srcdir$ac_dir_suffix;
24252 ac_top_srcdir
=$srcdir ;;
24253 *) # Relative path.
24254 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24255 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24258 # Do not use `cd foo && pwd` to compute absolute paths, because
24259 # the directories may not exist.
24261 .
) ac_abs_builddir
="$ac_dir";;
24264 .
) ac_abs_builddir
=`pwd`;;
24265 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24266 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24269 case $ac_abs_builddir in
24270 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24272 case ${ac_top_builddir}.
in
24273 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24274 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24275 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24278 case $ac_abs_builddir in
24279 .
) ac_abs_srcdir
=$ac_srcdir;;
24282 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24283 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24284 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24287 case $ac_abs_builddir in
24288 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24290 case $ac_top_srcdir in
24291 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24292 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24293 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24298 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24299 echo "$as_me: executing $ac_dest commands" >&6;}
24302 # Only add multilib support code if we just rebuilt the top-level
24304 case " $CONFIG_FILES " in
24306 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
24309 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
24310 # Strip MF so we end up with the name of the file.
24311 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24312 # Check whether this is an Automake generated Makefile or not.
24313 # We used to match only the files named `Makefile.in', but
24314 # some people rename them; so instead we look at the file content.
24315 # Grep'ing the first line is not enough: some people post-process
24316 # each Makefile.in and add a new line on top of each file to say so.
24317 # So let's grep whole file.
24318 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
24319 dirpart
=`(dirname "$mf") 2>/dev/null ||
24320 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24321 X"$mf" : 'X\(//\)[^/]' \| \
24322 X"$mf" : 'X\(//\)$' \| \
24323 X"$mf" : 'X\(/\)' \| \
24324 . : '\(.\)' 2>/dev/null ||
24326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24327 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24328 /^X\(\/\/\)$/{ s//\1/; q; }
24329 /^X\(\/\).*/{ s//\1/; q; }
24334 # Extract the definition of DEPDIR, am__include, and am__quote
24335 # from the Makefile without running `make'.
24336 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24337 test -z "$DEPDIR" && continue
24338 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24339 test -z "am__include" && continue
24340 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24341 # When using ansi2knr, U may be empty or an underscore; expand it
24342 U
=`sed -n 's/^U = //p' < "$mf"`
24343 # Find all dependency output files, they are included files with
24344 # $(DEPDIR) in their names. We invoke sed twice because it is the
24345 # simplest approach to changing $(DEPDIR) to its actual value in the
24347 for file in `sed -n "
24348 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24349 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24350 # Make sure the directory exists.
24351 test -f "$dirpart/$file" && continue
24352 fdir
=`(dirname "$file") 2>/dev/null ||
24353 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24354 X"$file" : 'X\(//\)[^/]' \| \
24355 X"$file" : 'X\(//\)$' \| \
24356 X"$file" : 'X\(/\)' \| \
24357 . : '\(.\)' 2>/dev/null ||
24359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24360 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24361 /^X\(\/\/\)$/{ s//\1/; q; }
24362 /^X\(\/\).*/{ s//\1/; q; }
24364 { if $as_mkdir_p; then
24365 mkdir
-p $dirpart/$fdir
24367 as_dir
=$dirpart/$fdir
24369 while test ! -d "$as_dir"; do
24370 as_dirs
="$as_dir $as_dirs"
24371 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24373 X"$as_dir" : 'X\(//\)[^/]' \| \
24374 X"$as_dir" : 'X\(//\)$' \| \
24375 X"$as_dir" : 'X\(/\)' \| \
24376 . : '\(.\)' 2>/dev/null ||
24378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24379 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24380 /^X\(\/\/\)$/{ s//\1/; q; }
24381 /^X\(\/\).*/{ s//\1/; q; }
24384 test ! -n "$as_dirs" || mkdir
$as_dirs
24385 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
24386 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
24387 { (exit 1); exit 1; }; }; }
24389 # echo "creating $dirpart/$file"
24390 echo '# dummy' > "$dirpart/$file"
24398 cat >>$CONFIG_STATUS <<\_ACEOF
24400 { (exit 0); exit 0; }
24402 chmod +x
$CONFIG_STATUS
24403 ac_clean_files
=$ac_clean_files_save
24406 # configure is writing to config.log, and then calls config.status.
24407 # config.status does its own redirection, appending to config.log.
24408 # Unfortunately, on DOS this fails, as config.log is still kept open
24409 # by configure, so config.status won't be able to write to it; its
24410 # output is simply discarded. So we exec the FD to /dev/null,
24411 # effectively closing config.log, so it can be properly (re)opened and
24412 # appended to by config.status. When coming back to configure, we
24413 # need to make the FD available again.
24414 if test "$no_create" != yes; then
24416 ac_config_status_args
=
24417 test "$silent" = yes &&
24418 ac_config_status_args
="$ac_config_status_args --quiet"
24420 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24422 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24423 # would make configure fail if this is the last instruction.
24424 $ac_cs_success ||
{ (exit 1); exit 1; }