2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libltdl 1.2.
5 # Report bugs to <bug-libtool@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL
=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec
; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo
; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo
; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 if test "X${CDPATH+set}" = Xset
; then CDPATH
=:; export CDPATH
; fi
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset
; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
291 echo_test_string
="`eval $cmd`" &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
311 for dir
in $PATH /usr
/ucb
; do
313 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho
; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL
=/bin
/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
352 SHELL
="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string
=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames
=`echo "$tagnames,CXX" | sed 's/^,//'`
398 tagnames
=`echo "$tagnames,F77" | sed 's/^,//'`
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix
=/usr
/local
411 ac_config_libobj_dir
=.
416 SHELL
=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME
='libltdl'
425 PACKAGE_TARNAME
='libltdl'
426 PACKAGE_VERSION
='1.2'
427 PACKAGE_STRING
='libltdl 1.2'
428 PACKAGE_BUGREPORT
='bug-libtool@gnu.org'
430 ac_unique_file
="ltdl.c"
431 # Factoring default headers for most tests.
432 ac_includes_default
="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL LIBOBJS LTLIBOBJS'
471 # Initialize some variables set by options.
473 ac_init_version
=false
474 # The variables have the same names as the options, with
475 # dashes changed to underlines.
483 program_transform_name
=s
,x
,x
,
491 # Installation directory options.
492 # These are left unexpanded so users can "make install exec_prefix=/foo"
493 # and all the variables that are supposed to be based on exec_prefix
494 # by default will actually change.
495 # Use braces instead of parens because sh, perl, etc. also accept them.
496 bindir
='${exec_prefix}/bin'
497 sbindir
='${exec_prefix}/sbin'
498 libexecdir
='${exec_prefix}/libexec'
499 datadir
='${prefix}/share'
500 sysconfdir
='${prefix}/etc'
501 sharedstatedir
='${prefix}/com'
502 localstatedir
='${prefix}/var'
503 libdir
='${exec_prefix}/lib'
504 includedir
='${prefix}/include'
505 oldincludedir
='/usr/include'
506 infodir
='${prefix}/info'
507 mandir
='${prefix}/man'
512 # If the previous option needs an argument, assign it.
513 if test -n "$ac_prev"; then
514 eval "$ac_prev=\$ac_option"
519 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
527 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
530 -build |
--build |
--buil |
--bui |
--bu)
531 ac_prev
=build_alias
;;
532 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
533 build_alias
=$ac_optarg ;;
535 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
536 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
537 ac_prev
=cache_file
;;
538 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
539 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
540 cache_file
=$ac_optarg ;;
543 cache_file
=config.cache
;;
545 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
547 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
549 datadir
=$ac_optarg ;;
551 -disable-* |
--disable-*)
552 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
555 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556 { (exit 1); exit 1; }; }
557 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
558 eval "enable_$ac_feature=no" ;;
560 -enable-* |
--enable-*)
561 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
564 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565 { (exit 1); exit 1; }; }
566 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
568 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571 eval "enable_$ac_feature='$ac_optarg'" ;;
573 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
574 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
575 |
--exec |
--exe |
--ex)
576 ac_prev
=exec_prefix
;;
577 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
578 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
579 |
--exec=* |
--exe=* |
--ex=*)
580 exec_prefix
=$ac_optarg ;;
582 -gas |
--gas |
--ga |
--g)
583 # Obsolete; use --with-gas.
586 -help |
--help |
--hel |
--he |
-h)
588 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
589 ac_init_help
=recursive
;;
590 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
591 ac_init_help
=short
;;
593 -host |
--host |
--hos |
--ho)
594 ac_prev
=host_alias
;;
595 -host=* |
--host=* |
--hos=* |
--ho=*)
596 host_alias
=$ac_optarg ;;
598 -includedir |
--includedir |
--includedi |
--included |
--include \
599 |
--includ |
--inclu |
--incl |
--inc)
600 ac_prev
=includedir
;;
601 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
602 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
603 includedir
=$ac_optarg ;;
605 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
607 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
608 infodir
=$ac_optarg ;;
610 -libdir |
--libdir |
--libdi |
--libd)
612 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
615 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
616 |
--libexe |
--libex |
--libe)
617 ac_prev
=libexecdir
;;
618 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
619 |
--libexe=* |
--libex=* |
--libe=*)
620 libexecdir
=$ac_optarg ;;
622 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
623 |
--localstate |
--localstat |
--localsta |
--localst \
624 |
--locals |
--local |
--loca |
--loc |
--lo)
625 ac_prev
=localstatedir
;;
626 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
627 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
628 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
629 localstatedir
=$ac_optarg ;;
631 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
633 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
637 # Obsolete; use --without-fp.
640 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
641 |
--no-cr |
--no-c |
-n)
644 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
645 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
648 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
649 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
650 |
--oldin |
--oldi |
--old |
--ol |
--o)
651 ac_prev
=oldincludedir
;;
652 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
653 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
654 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
655 oldincludedir
=$ac_optarg ;;
657 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
659 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
662 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
663 |
--program-pre |
--program-pr |
--program-p)
664 ac_prev
=program_prefix
;;
665 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
666 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
667 program_prefix
=$ac_optarg ;;
669 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
670 |
--program-suf |
--program-su |
--program-s)
671 ac_prev
=program_suffix
;;
672 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
673 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
674 program_suffix
=$ac_optarg ;;
676 -program-transform-name |
--program-transform-name \
677 |
--program-transform-nam |
--program-transform-na \
678 |
--program-transform-n |
--program-transform- \
679 |
--program-transform |
--program-transfor \
680 |
--program-transfo |
--program-transf \
681 |
--program-trans |
--program-tran \
682 |
--progr-tra |
--program-tr |
--program-t)
683 ac_prev
=program_transform_name
;;
684 -program-transform-name=* |
--program-transform-name=* \
685 |
--program-transform-nam=* |
--program-transform-na=* \
686 |
--program-transform-n=* |
--program-transform-=* \
687 |
--program-transform=* |
--program-transfor=* \
688 |
--program-transfo=* |
--program-transf=* \
689 |
--program-trans=* |
--program-tran=* \
690 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
691 program_transform_name
=$ac_optarg ;;
693 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
694 |
-silent |
--silent |
--silen |
--sile |
--sil)
697 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
699 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
701 sbindir
=$ac_optarg ;;
703 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
704 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
705 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
707 ac_prev
=sharedstatedir
;;
708 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
709 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
710 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
712 sharedstatedir
=$ac_optarg ;;
714 -site |
--site |
--sit)
716 -site=* |
--site=* |
--sit=*)
719 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
721 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
724 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
725 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
726 ac_prev
=sysconfdir
;;
727 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
728 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
729 sysconfdir
=$ac_optarg ;;
731 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
732 ac_prev
=target_alias
;;
733 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
734 target_alias
=$ac_optarg ;;
736 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
739 -version |
--version |
--versio |
--versi |
--vers |
-V)
743 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
746 { echo "$as_me: error: invalid package name: $ac_package" >&2
747 { (exit 1); exit 1; }; }
748 ac_package
=`echo $ac_package| sed 's/-/_/g'`
750 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753 eval "with_$ac_package='$ac_optarg'" ;;
755 -without-* |
--without-*)
756 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
759 { echo "$as_me: error: invalid package name: $ac_package" >&2
760 { (exit 1); exit 1; }; }
761 ac_package
=`echo $ac_package | sed 's/-/_/g'`
762 eval "with_$ac_package=no" ;;
765 # Obsolete; use --with-x.
768 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
769 |
--x-incl |
--x-inc |
--x-in |
--x-i)
770 ac_prev
=x_includes
;;
771 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
772 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
773 x_includes
=$ac_optarg ;;
775 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
776 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
777 ac_prev
=x_libraries
;;
778 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
779 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
780 x_libraries
=$ac_optarg ;;
782 -*) { echo "$as_me: error: unrecognized option: $ac_option
783 Try \`$0 --help' for more information." >&2
784 { (exit 1); exit 1; }; }
788 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
791 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792 { (exit 1); exit 1; }; }
793 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794 eval "$ac_envvar='$ac_optarg'"
798 # FIXME: should be removed in autoconf 3.0.
799 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
801 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
808 if test -n "$ac_prev"; then
809 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
810 { echo "$as_me: error: missing argument to $ac_option" >&2
811 { (exit 1); exit 1; }; }
814 # Be sure to have absolute paths.
815 for ac_var
in exec_prefix prefix
817 eval ac_val
=$
`echo $ac_var`
819 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
820 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821 { (exit 1); exit 1; }; };;
825 # Be sure to have absolute paths.
826 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827 localstatedir libdir includedir oldincludedir infodir mandir
829 eval ac_val
=$
`echo $ac_var`
831 [\\/$
]* | ?
:[\\/]* ) ;;
832 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833 { (exit 1); exit 1; }; };;
837 # There might be people who depend on the old broken behavior: `$host'
838 # used to hold the argument of --host etc.
839 # FIXME: To remove some day.
844 # FIXME: To remove some day.
845 if test "x$host_alias" != x
; then
846 if test "x$build_alias" = x
; then
847 cross_compiling
=maybe
848 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849 If a cross compiler is detected then cross compile mode will be used." >&2
850 elif test "x$build_alias" != "x$host_alias"; then
856 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
858 test "$silent" = yes && exec 6>/dev
/null
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted
=yes
864 # Try the directory containing this script, then its parent.
865 ac_confdir
=`(dirname "$0") 2>/dev/null ||
866 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867 X"$0" : 'X\(//\)[^/]' \| \
868 X"$0" : 'X\(//\)$' \| \
869 X"$0" : 'X\(/\)' \| \
870 . : '\(.\)' 2>/dev/null ||
872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874 /^X\(\/\/\)$/{ s//\1/; q; }
875 /^X\(\/\).*/{ s//\1/; q; }
878 if test ! -r $srcdir/$ac_unique_file; then
882 ac_srcdir_defaulted
=no
884 if test ! -r $srcdir/$ac_unique_file; then
885 if test "$ac_srcdir_defaulted" = yes; then
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887 { (exit 1); exit 1; }; }
889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890 { (exit 1); exit 1; }; }
893 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
894 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895 { (exit 1); exit 1; }; }
896 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897 ac_env_build_alias_set
=${build_alias+set}
898 ac_env_build_alias_value
=$build_alias
899 ac_cv_env_build_alias_set
=${build_alias+set}
900 ac_cv_env_build_alias_value
=$build_alias
901 ac_env_host_alias_set
=${host_alias+set}
902 ac_env_host_alias_value
=$host_alias
903 ac_cv_env_host_alias_set
=${host_alias+set}
904 ac_cv_env_host_alias_value
=$host_alias
905 ac_env_target_alias_set
=${target_alias+set}
906 ac_env_target_alias_value
=$target_alias
907 ac_cv_env_target_alias_set
=${target_alias+set}
908 ac_cv_env_target_alias_value
=$target_alias
909 ac_env_CC_set
=${CC+set}
911 ac_cv_env_CC_set
=${CC+set}
912 ac_cv_env_CC_value
=$CC
913 ac_env_CFLAGS_set
=${CFLAGS+set}
914 ac_env_CFLAGS_value
=$CFLAGS
915 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
916 ac_cv_env_CFLAGS_value
=$CFLAGS
917 ac_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_env_LDFLAGS_value
=$LDFLAGS
919 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value
=$LDFLAGS
921 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
924 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
925 ac_env_CPP_set
=${CPP+set}
926 ac_env_CPP_value
=$CPP
927 ac_cv_env_CPP_set
=${CPP+set}
928 ac_cv_env_CPP_value
=$CPP
929 ac_env_CXX_set
=${CXX+set}
930 ac_env_CXX_value
=$CXX
931 ac_cv_env_CXX_set
=${CXX+set}
932 ac_cv_env_CXX_value
=$CXX
933 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
934 ac_env_CXXFLAGS_value
=$CXXFLAGS
935 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
936 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
937 ac_env_CXXCPP_set
=${CXXCPP+set}
938 ac_env_CXXCPP_value
=$CXXCPP
939 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
940 ac_cv_env_CXXCPP_value
=$CXXCPP
941 ac_env_F77_set
=${F77+set}
942 ac_env_F77_value
=$F77
943 ac_cv_env_F77_set
=${F77+set}
944 ac_cv_env_F77_value
=$F77
945 ac_env_FFLAGS_set
=${FFLAGS+set}
946 ac_env_FFLAGS_value
=$FFLAGS
947 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
948 ac_cv_env_FFLAGS_value
=$FFLAGS
951 # Report the --help message.
953 if test "$ac_init_help" = "long"; then
954 # Omit some internal or obsolete options to make the list less imposing.
955 # This message is too long to be a string in the A/UX 3.1 sh.
957 \`configure' configures libltdl 1.2 to adapt to many kinds of systems.
959 Usage: $0 [OPTION]... [VAR=VALUE]...
961 To assign environment variables (e.g., CC, CFLAGS...), specify them as
962 VAR=VALUE. See below for descriptions of some of the useful variables.
964 Defaults for the options are specified in brackets.
967 -h, --help display this help and exit
968 --help=short display options specific to this package
969 --help=recursive display the short help of all the included packages
970 -V, --version display version information and exit
971 -q, --quiet, --silent do not print \`checking...' messages
972 --cache-file=FILE cache test results in FILE [disabled]
973 -C, --config-cache alias for \`--cache-file=config.cache'
974 -n, --no-create do not create output files
975 --srcdir=DIR find the sources in DIR [configure dir or \`..']
980 Installation directories:
981 --prefix=PREFIX install architecture-independent files in PREFIX
983 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
986 By default, \`make install' will install all the files in
987 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
988 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
989 for instance \`--prefix=\$HOME'.
991 For better control, use the options below.
993 Fine tuning of the installation directories:
994 --bindir=DIR user executables [EPREFIX/bin]
995 --sbindir=DIR system admin executables [EPREFIX/sbin]
996 --libexecdir=DIR program executables [EPREFIX/libexec]
997 --datadir=DIR read-only architecture-independent data [PREFIX/share]
998 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
999 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1000 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1001 --libdir=DIR object code libraries [EPREFIX/lib]
1002 --includedir=DIR C header files [PREFIX/include]
1003 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1004 --infodir=DIR info documentation [PREFIX/info]
1005 --mandir=DIR man documentation [PREFIX/man]
1011 --program-prefix=PREFIX prepend PREFIX to installed program names
1012 --program-suffix=SUFFIX append SUFFIX to installed program names
1013 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1016 --build=BUILD configure
for building on BUILD
[guessed
]
1017 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1021 if test -n "$ac_init_help"; then
1022 case $ac_init_help in
1023 short | recursive
) echo "Configuration of libltdl 1.2:";;
1028 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1029 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1030 --enable-maintainer-mode enable make rules and dependencies not useful
1031 (and sometimes confusing
) to the casual installer
1032 --disable-dependency-tracking speeds up one-time build
1033 --enable-dependency-tracking do not reject slow dependency extractors
1034 --enable-shared[=PKGS
]
1035 build shared libraries
[default
=yes]
1036 --enable-static[=PKGS
]
1037 build static libraries
[default
=yes]
1038 --enable-fast-install[=PKGS
]
1039 optimize
for fast installation
[default
=yes]
1040 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1041 --enable-ltdl-install install libltdl
1044 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1045 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1046 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1047 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1050 include additional configurations
[automatic
]
1052 Some influential environment variables
:
1053 CC C compiler
command
1054 CFLAGS C compiler flags
1055 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1056 nonstandard directory
<lib dir
>
1057 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1058 headers
in a nonstandard directory
<include dir
>
1060 CXX C
++ compiler
command
1061 CXXFLAGS C
++ compiler flags
1062 CXXCPP C
++ preprocessor
1063 F77 Fortran
77 compiler
command
1064 FFLAGS Fortran
77 compiler flags
1066 Use these variables to override the choices made by
`configure' or to help
1067 it to find libraries and programs with nonstandard names/locations.
1069 Report bugs to <bug-libtool@gnu.org>.
1073 if test "$ac_init_help" = "recursive"; then
1074 # If there are subdirs, report their specific --help.
1076 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1077 test -d $ac_dir || continue
1080 if test "$ac_dir" != .; then
1081 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1082 # A "../" for each directory in $ac_dir_suffix.
1083 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1085 ac_dir_suffix= ac_top_builddir=
1089 .) # No --srcdir option. We are building in place.
1091 if test -z "$ac_top_builddir"; then
1094 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1096 [\\/]* | ?:[\\/]* ) # Absolute path.
1097 ac_srcdir=$srcdir$ac_dir_suffix;
1098 ac_top_srcdir=$srcdir ;;
1100 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1101 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1104 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1105 # the directories may not exist.
1107 .) ac_abs_builddir="$ac_dir";;
1110 .) ac_abs_builddir=`pwd`;;
1111 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1112 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1115 case $ac_abs_builddir in
1116 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1118 case ${ac_top_builddir}. in
1119 .) ac_abs_top_builddir=$ac_abs_builddir;;
1120 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1121 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1124 case $ac_abs_builddir in
1125 .) ac_abs_srcdir=$ac_srcdir;;
1128 .) ac_abs_srcdir=$ac_abs_builddir;;
1129 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1130 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1133 case $ac_abs_builddir in
1134 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1136 case $ac_top_srcdir in
1137 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1138 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1139 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1144 # Check for guested configure; otherwise get Cygnus style configure.
1145 if test -f $ac_srcdir/configure.gnu; then
1147 $SHELL $ac_srcdir/configure.gnu --help=recursive
1148 elif test -f $ac_srcdir/configure; then
1150 $SHELL $ac_srcdir/configure --help=recursive
1151 elif test -f $ac_srcdir/configure.ac ||
1152 test -f $ac_srcdir/configure.in; then
1154 $ac_configure --help
1156 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1162 test -n "$ac_init_help" && exit 0
1163 if $ac_init_version; then
1165 libltdl configure 1.2
1166 generated by GNU Autoconf 2.59
1168 Copyright (C) 2003 Free Software Foundation, Inc.
1169 This configure script is free software; the Free Software Foundation
1170 gives unlimited permission to copy, distribute and modify it.
1176 This file contains any messages produced by compilers while
1177 running configure, to aid debugging if configure makes a mistake.
1179 It was created by libltdl $as_me 1.2, which was
1180 generated by GNU Autoconf 2.59. Invocation command line was
1191 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1192 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1193 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1194 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1195 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1197 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1198 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1200 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1201 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1202 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1203 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1204 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1205 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1206 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1214 test -z "$as_dir" && as_dir=.
1215 echo "PATH: $as_dir"
1230 # Keep a trace of the command line.
1231 # Strip out --no-create and --no-recursion so they do not pile up.
1232 # Strip out --silent because we don't want to record it for future runs.
1233 # Also quote any args containing shell meta-characters.
1234 # Make two passes to allow for proper duplicate-argument suppression.
1239 ac_must_keep_next=false
1245 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1247 | -silent | --silent | --silen | --sile | --sil)
1249 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1250 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1253 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1255 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1256 if test $ac_must_keep_next = true; then
1257 ac_must_keep_next=false # Got value, back to normal.
1260 *=* | --config-cache | -C | -disable-* | --disable-* \
1261 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1262 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1263 | -with-* | --with-* | -without-* | --without-* | --x)
1264 case "$ac_configure_args0 " in
1265 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1268 -* ) ac_must_keep_next=true ;;
1271 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1272 # Get rid of the leading space.
1278 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1279 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1281 # When interrupted or exit'd, cleanup temporary files, and complete
1282 # config.log. We remove comments because anyway the quotes in there
1283 # would cause problems or look ugly.
1284 # WARNING: Be sure not to use single quotes in there, as some shells,
1285 # such as our DU 5.0 friend, will then `close
' the trap.
1286 trap 'exit_status
=$?
1287 # Save into config.log some information that might help in debugging.
1292 ## ---------------- ##
1293 ## Cache variables. ##
1294 ## ---------------- ##
1297 # The following way of writing the cache mishandles newlines in values,
1300 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1303 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1308 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1315 ## ----------------- ##
1316 ## Output variables. ##
1317 ## ----------------- ##
1320 for ac_var
in $ac_subst_vars
1322 eval ac_val
=$
`echo $ac_var`
1323 echo "$ac_var='"'"'$ac_val'"'"'"
1327 if test -n "$ac_subst_files"; then
1334 for ac_var
in $ac_subst_files
1336 eval ac_val
=$
`echo $ac_var`
1337 echo "$ac_var='"'"'$ac_val'"'"'"
1342 if test -s confdefs.h
; then
1349 sed "/^$/d" confdefs.h |
sort
1352 test "$ac_signal" != 0 &&
1353 echo "$as_me: caught signal $ac_signal"
1354 echo "$as_me: exit $exit_status"
1356 rm -f core
*.core
&&
1357 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1360 for ac_signal in 1 2 13 15; do
1361 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1365 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1366 rm -rf conftest* confdefs.h
1367 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1370 # Predefined preprocessor variables.
1372 cat >>confdefs.h <<_ACEOF
1373 #define PACKAGE_NAME "$PACKAGE_NAME"
1377 cat >>confdefs.h <<_ACEOF
1378 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1382 cat >>confdefs.h <<_ACEOF
1383 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1387 cat >>confdefs.h <<_ACEOF
1388 #define PACKAGE_STRING "$PACKAGE_STRING"
1392 cat >>confdefs.h <<_ACEOF
1393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1397 # Let the site file select an alternate cache file if it wants to.
1398 # Prefer explicitly selected file to automatically selected ones.
1399 if test -z "$CONFIG_SITE"; then
1400 if test "x$prefix" != xNONE; then
1401 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1403 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1406 for ac_site_file in $CONFIG_SITE; do
1407 if test -r "$ac_site_file"; then
1408 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1409 echo "$as_me: loading site script $ac_site_file" >&6;}
1410 sed 's
/^
/|
/' "$ac_site_file" >&5
1415 if test -r "$cache_file"; then
1416 # Some versions of bash will fail to source /dev/null (special
1417 # files actually), so we avoid doing that.
1418 if test -f "$cache_file"; then
1419 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1420 echo "$as_me: loading cache $cache_file" >&6;}
1422 [\\/]* | ?:[\\/]* ) . $cache_file;;
1423 *) . ./$cache_file;;
1427 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1428 echo "$as_me: creating cache $cache_file" >&6;}
1432 # Check that the precious variables saved in the cache have kept the same
1434 ac_cache_corrupted=false
1435 for ac_var in `(set) 2>&1 |
1436 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1437 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1438 eval ac_new_set=\$ac_env_${ac_var}_set
1439 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1440 eval ac_new_val="\$ac_env_${ac_var}_value"
1441 case $ac_old_set,$ac_new_set in
1443 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1444 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1445 ac_cache_corrupted=: ;;
1447 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1448 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1449 ac_cache_corrupted=: ;;
1452 if test "x$ac_old_val" != "x$ac_new_val"; then
1453 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1454 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1455 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1456 echo "$as_me: former value: $ac_old_val" >&2;}
1457 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1458 echo "$as_me: current value: $ac_new_val" >&2;}
1459 ac_cache_corrupted=:
1462 # Pass precious variables to config.status.
1463 if test "$ac_new_set" = set; then
1465 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1466 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1467 *) ac_arg=$ac_var=$ac_new_val ;;
1469 case " $ac_configure_args " in
1470 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1471 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1475 if $ac_cache_corrupted; then
1476 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1477 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1478 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1479 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1480 { (exit 1); exit 1; }; }
1484 ac_cpp='$CPP $CPPFLAGS'
1485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1486 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1518 ## ------------------------------- ##
1519 ## Libltdl specific configuration. ##
1520 ## ------------------------------- ##
1523 for ac_dir in . $srcdir/.; do
1524 if test -f $ac_dir/install-sh; then
1526 ac_install_sh="$ac_aux_dir/install-sh -c"
1528 elif test -f $ac_dir/install.sh; then
1530 ac_install_sh="$ac_aux_dir/install.sh -c"
1532 elif test -f $ac_dir/shtool; then
1534 ac_install_sh="$ac_aux_dir/shtool install -c"
1538 if test -z "$ac_aux_dir"; then
1539 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
1540 echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
1541 { (exit 1); exit 1; }; }
1543 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1544 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1545 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1548 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
1549 if test -f ${srcdir}/ltmain.sh; then
1550 # if libltdl is libtoolized, it is assumed to be stand-alone and
1551 # installed unless the command line overrides it (tested above)
1552 enable_ltdl_install=yes
1554 { echo "$as_me:$LINENO: WARNING: *** The top-level configure must select either" >&5
1555 echo "$as_me: WARNING: *** The top-level configure must select either" >&2;}
1556 { echo "$as_me:$LINENO: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&5
1557 echo "$as_me: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&2;}
1558 { { echo "$as_me:$LINENO: error: *** Maybe you want to --enable-ltdl-install?" >&5
1559 echo "$as_me: error: *** Maybe you want to --enable-ltdl-install?" >&2;}
1560 { (exit 1); exit 1; }; }
1565 ## ------------------------ ##
1566 ## Automake Initialisation. ##
1567 ## ------------------------ ##
1568 am__api_version="1.8"
1569 # Find a good install program. We prefer a C program (faster),
1570 # so one script is as good as another. But avoid the broken or
1571 # incompatible versions:
1572 # SysV /etc/install, /usr/sbin/install
1573 # SunOS /usr/etc/install
1574 # IRIX /sbin/install
1576 # AmigaOS /C/install, which installs bootblocks on floppy discs
1577 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1578 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1579 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1580 # OS/2's system install, which has a completely different semantic
1581 # ./install, which can be erroneously created by make from ./install.sh.
1582 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1583 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1584 if test -z "$INSTALL"; then
1585 if test "${ac_cv_path_install+set}" = set; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1592 test -z "$as_dir" && as_dir
=.
1593 # Account for people who put trailing slashes in PATH elements.
1595 .
/ | .
// |
/cC
/* | \
1596 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1597 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1600 # OSF1 and SCO ODT 3.0 have their own names for install.
1601 # Don't use installbsd from OSF since it installs stuff as root
1603 for ac_prog
in ginstall scoinst
install; do
1604 for ac_exec_ext
in '' $ac_executable_extensions; do
1605 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1606 if test $ac_prog = install &&
1607 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1608 # AIX install. It has an incompatible calling convention.
1610 elif test $ac_prog = install &&
1611 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1612 # program-specific install script used by HP pwplus--don't use.
1615 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1627 if test "${ac_cv_path_install+set}" = set; then
1628 INSTALL
=$ac_cv_path_install
1630 # As a last resort, use the slow shell script. We don't cache a
1631 # path for INSTALL within a source directory, because that will
1632 # break other packages using the cache if that directory is
1633 # removed, or if the path is relative.
1634 INSTALL
=$ac_install_sh
1637 echo "$as_me:$LINENO: result: $INSTALL" >&5
1638 echo "${ECHO_T}$INSTALL" >&6
1640 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1641 # It thinks the first close brace ends the variable substitution.
1642 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1644 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1646 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1648 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1649 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1652 echo timestamp
> conftest.
file
1653 # Do `set' in a subshell so we don't clobber the current shell's
1654 # arguments. Must try -L first in case configure is actually a
1655 # symlink; some systems play weird games with the mod time of symlinks
1656 # (eg FreeBSD returns the mod time of the symlink's containing
1659 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1660 if test "$*" = "X"; then
1662 set X
`ls -t $srcdir/configure conftest.file`
1665 if test "$*" != "X $srcdir/configure conftest.file" \
1666 && test "$*" != "X conftest.file $srcdir/configure"; then
1668 # If neither matched, then we have a broken ls. This can happen
1669 # if, for instance, CONFIG_SHELL is bash and it inherits a
1670 # broken ls alias from the environment. This has actually
1671 # happened. Such a system could not be considered "sane".
1672 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1673 alias in your environment" >&5
1674 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1675 alias in your environment" >&2;}
1676 { (exit 1); exit 1; }; }
1679 test "$2" = conftest.
file
1685 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1686 Check your system clock" >&5
1687 echo "$as_me: error: newly created file is older than distributed files!
1688 Check your system clock" >&2;}
1689 { (exit 1); exit 1; }; }
1691 echo "$as_me:$LINENO: result: yes" >&5
1692 echo "${ECHO_T}yes" >&6
1693 test "$program_prefix" != NONE
&&
1694 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1695 # Use a double $ so make ignores it.
1696 test "$program_suffix" != NONE
&&
1697 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1698 # Double any \ or $. echo might interpret backslashes.
1699 # By default was `s,x,x', remove it if useless.
1700 cat <<\_ACEOF
>conftest.
sed
1701 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1703 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1706 # expand $ac_aux_dir to an absolute path
1707 am_aux_dir
=`cd $ac_aux_dir && pwd`
1709 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1710 # Use eval to expand $SHELL
1711 if eval "$MISSING --run true"; then
1712 am_missing_run
="$MISSING --run "
1715 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1716 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1719 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1720 # Keeping the `.' argument allows $(mkdir_p) to be used without
1721 # argument. Indeed, we sometimes output rules like
1722 # $(mkdir_p) $(somedir)
1723 # where $(somedir) is conditionally defined.
1724 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1725 # expensive solution, as it forces Make to start a sub-shell.)
1726 mkdir_p
='mkdir -p -- .'
1728 # On NextStep and OpenStep, the `mkdir' command does not
1729 # recognize any option. It will interpret all options as
1730 # directories to create, and then abort because `.' already
1732 for d
in .
/-p .
/--version;
1734 test -d $d && rmdir $d
1736 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1737 if test -f "$ac_aux_dir/mkinstalldirs"; then
1738 mkdir_p
='$(mkinstalldirs)'
1740 mkdir_p
='$(install_sh) -d'
1744 for ac_prog
in gawk mawk nawk
awk
1746 # Extract the first word of "$ac_prog", so it can be a program name with args.
1747 set dummy
$ac_prog; ac_word
=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_AWK+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$AWK"; then
1754 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir
=.
1761 for ac_exec_ext
in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_AWK
="$ac_prog"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 if test -n "$AWK"; then
1774 echo "$as_me:$LINENO: result: $AWK" >&5
1775 echo "${ECHO_T}$AWK" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1781 test -n "$AWK" && break
1784 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1785 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1786 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1787 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 cat >conftest.
make <<\_ACEOF
1792 @
echo 'ac_maketemp="$(MAKE)"'
1794 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1795 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1796 if test -n "$ac_maketemp"; then
1797 eval ac_cv_prog_make_
${ac_make}_set
=yes
1799 eval ac_cv_prog_make_
${ac_make}_set
=no
1803 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1804 echo "$as_me:$LINENO: result: yes" >&5
1805 echo "${ECHO_T}yes" >&6
1808 echo "$as_me:$LINENO: result: no" >&5
1809 echo "${ECHO_T}no" >&6
1810 SET_MAKE
="MAKE=${MAKE-make}"
1813 rm -rf .tst
2>/dev
/null
1814 mkdir .tst
2>/dev
/null
1815 if test -d .tst
; then
1820 rmdir .tst
2>/dev
/null
1822 # test to see if srcdir already configured
1823 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1824 test -f $srcdir/config.status
; then
1825 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1826 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1827 { (exit 1); exit 1; }; }
1830 # test whether we have cygpath
1831 if test -z "$CYGPATH_W"; then
1832 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1833 CYGPATH_W
='cygpath -w'
1840 # Define the identity of the package.
1845 # Some tools Automake needs.
1847 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1850 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1853 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1856 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1859 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1862 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1864 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1866 # Installed binaries are usually stripped using `strip' when the user
1867 # run `make install-strip'. However `strip' might not be the right
1868 # tool to use in cross-compilation environments, therefore Automake
1869 # will honor the `STRIP' environment variable to overrule this program.
1870 if test "$cross_compiling" != no
; then
1871 if test -n "$ac_tool_prefix"; then
1872 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1873 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1874 echo "$as_me:$LINENO: checking for $ac_word" >&5
1875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1876 if test "${ac_cv_prog_STRIP+set}" = set; then
1877 echo $ECHO_N "(cached) $ECHO_C" >&6
1879 if test -n "$STRIP"; then
1880 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1886 test -z "$as_dir" && as_dir
=.
1887 for ac_exec_ext
in '' $ac_executable_extensions; do
1888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1889 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898 STRIP
=$ac_cv_prog_STRIP
1899 if test -n "$STRIP"; then
1900 echo "$as_me:$LINENO: result: $STRIP" >&5
1901 echo "${ECHO_T}$STRIP" >&6
1903 echo "$as_me:$LINENO: result: no" >&5
1904 echo "${ECHO_T}no" >&6
1908 if test -z "$ac_cv_prog_STRIP"; then
1910 # Extract the first word of "strip", so it can be a program name with args.
1911 set dummy strip
; ac_word
=$2
1912 echo "$as_me:$LINENO: checking for $ac_word" >&5
1913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1914 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1915 echo $ECHO_N "(cached) $ECHO_C" >&6
1917 if test -n "$ac_ct_STRIP"; then
1918 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1924 test -z "$as_dir" && as_dir
=.
1925 for ac_exec_ext
in '' $ac_executable_extensions; do
1926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1927 ac_cv_prog_ac_ct_STRIP
="strip"
1928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1934 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1937 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1938 if test -n "$ac_ct_STRIP"; then
1939 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1940 echo "${ECHO_T}$ac_ct_STRIP" >&6
1942 echo "$as_me:$LINENO: result: no" >&5
1943 echo "${ECHO_T}no" >&6
1948 STRIP
="$ac_cv_prog_STRIP"
1952 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1954 # We need awk for the "check" target. The system "awk" is bad on
1959 ac_config_headers
="$ac_config_headers config.h:config-h.in"
1961 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1962 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1963 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1964 if test "${enable_maintainer_mode+set}" = set; then
1965 enableval
="$enable_maintainer_mode"
1966 USE_MAINTAINER_MODE
=$enableval
1968 USE_MAINTAINER_MODE
=no
1970 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1971 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1974 if test $USE_MAINTAINER_MODE = yes; then
1975 MAINTAINER_MODE_TRUE
=
1976 MAINTAINER_MODE_FALSE
='#'
1978 MAINTAINER_MODE_TRUE
='#'
1979 MAINTAINER_MODE_FALSE
=
1982 MAINT
=$MAINTAINER_MODE_TRUE
1987 ## ------------------ ##
1988 ## C compiler checks. ##
1989 ## ------------------ ##
1991 ac_cpp
='$CPP $CPPFLAGS'
1992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1995 if test -n "$ac_tool_prefix"; then
1996 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1997 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1998 echo "$as_me:$LINENO: checking for $ac_word" >&5
1999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2000 if test "${ac_cv_prog_CC+set}" = set; then
2001 echo $ECHO_N "(cached) $ECHO_C" >&6
2003 if test -n "$CC"; then
2004 ac_cv_prog_CC
="$CC" # Let the user override the test.
2006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir
=.
2011 for ac_exec_ext
in '' $ac_executable_extensions; do
2012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2013 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023 if test -n "$CC"; then
2024 echo "$as_me:$LINENO: result: $CC" >&5
2025 echo "${ECHO_T}$CC" >&6
2027 echo "$as_me:$LINENO: result: no" >&5
2028 echo "${ECHO_T}no" >&6
2032 if test -z "$ac_cv_prog_CC"; then
2034 # Extract the first word of "gcc", so it can be a program name with args.
2035 set dummy gcc
; ac_word
=$2
2036 echo "$as_me:$LINENO: checking for $ac_word" >&5
2037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2038 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 if test -n "$ac_ct_CC"; then
2042 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2048 test -z "$as_dir" && as_dir
=.
2049 for ac_exec_ext
in '' $ac_executable_extensions; do
2050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2051 ac_cv_prog_ac_ct_CC
="gcc"
2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2061 if test -n "$ac_ct_CC"; then
2062 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2063 echo "${ECHO_T}$ac_ct_CC" >&6
2065 echo "$as_me:$LINENO: result: no" >&5
2066 echo "${ECHO_T}no" >&6
2074 if test -z "$CC"; then
2075 if test -n "$ac_tool_prefix"; then
2076 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2077 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 if test -n "$CC"; then
2084 ac_cv_prog_CC
="$CC" # Let the user override the test.
2086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2090 test -z "$as_dir" && as_dir
=.
2091 for ac_exec_ext
in '' $ac_executable_extensions; do
2092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 if test -n "$CC"; then
2104 echo "$as_me:$LINENO: result: $CC" >&5
2105 echo "${ECHO_T}$CC" >&6
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2112 if test -z "$ac_cv_prog_CC"; then
2114 # Extract the first word of "cc", so it can be a program name with args.
2115 set dummy cc
; ac_word
=$2
2116 echo "$as_me:$LINENO: checking for $ac_word" >&5
2117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2118 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 if test -n "$ac_ct_CC"; then
2122 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir
=.
2129 for ac_exec_ext
in '' $ac_executable_extensions; do
2130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2131 ac_cv_prog_ac_ct_CC
="cc"
2132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2141 if test -n "$ac_ct_CC"; then
2142 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2143 echo "${ECHO_T}$ac_ct_CC" >&6
2145 echo "$as_me:$LINENO: result: no" >&5
2146 echo "${ECHO_T}no" >&6
2155 if test -z "$CC"; then
2156 # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc
; ac_word
=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 if test -n "$CC"; then
2164 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2175 ac_prog_rejected
=yes
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2185 if test $ac_prog_rejected = yes; then
2186 # We found a bogon in the path, so make sure we never use it.
2187 set dummy
$ac_cv_prog_CC
2189 if test $# != 0; then
2190 # We chose a different compiler from the bogus one.
2191 # However, it has the same basename, so the bogon will be chosen
2192 # first if we set CC to just the basename; use the full file name.
2194 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2200 if test -n "$CC"; then
2201 echo "$as_me:$LINENO: result: $CC" >&5
2202 echo "${ECHO_T}$CC" >&6
2204 echo "$as_me:$LINENO: result: no" >&5
2205 echo "${ECHO_T}no" >&6
2209 if test -z "$CC"; then
2210 if test -n "$ac_tool_prefix"; then
2213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2214 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2215 echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2217 if test "${ac_cv_prog_CC+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 if test -n "$CC"; then
2221 ac_cv_prog_CC
="$CC" # Let the user override the test.
2223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir
=.
2228 for ac_exec_ext
in '' $ac_executable_extensions; do
2229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2230 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 if test -n "$CC"; then
2241 echo "$as_me:$LINENO: result: $CC" >&5
2242 echo "${ECHO_T}$CC" >&6
2244 echo "$as_me:$LINENO: result: no" >&5
2245 echo "${ECHO_T}no" >&6
2248 test -n "$CC" && break
2251 if test -z "$CC"; then
2255 # Extract the first word of "$ac_prog", so it can be a program name with args.
2256 set dummy
$ac_prog; ac_word
=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 if test -n "$ac_ct_CC"; then
2263 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir
=.
2270 for ac_exec_ext
in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_ac_ct_CC
="$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2282 if test -n "$ac_ct_CC"; then
2283 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2284 echo "${ECHO_T}$ac_ct_CC" >&6
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2290 test -n "$ac_ct_CC" && break
2299 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2300 See \`config.log' for more details." >&5
2301 echo "$as_me: error: no acceptable C compiler found in \$PATH
2302 See \`config.log' for more details." >&2;}
2303 { (exit 1); exit 1; }; }
2305 # Provide some information about the compiler.
2306 echo "$as_me:$LINENO:" \
2307 "checking for C compiler version" >&5
2308 ac_compiler
=`set X $ac_compile; echo $2`
2309 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2310 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }
2314 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2315 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }
2319 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2320 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }
2325 cat >conftest.
$ac_ext <<_ACEOF
2328 cat confdefs.h
>>conftest.
$ac_ext
2329 cat >>conftest.
$ac_ext <<_ACEOF
2330 /* end confdefs.h. */
2340 ac_clean_files_save
=$ac_clean_files
2341 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2342 # Try to create an executable without -o first, disregard a.out.
2343 # It will help us diagnose broken compilers, and finding out an intuition
2345 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2346 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2347 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2348 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2349 (eval $ac_link_default) 2>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }; then
2353 # Find the output, starting from the most likely. This scheme is
2354 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2357 # Be careful to initialize this variable, since it used to be cached.
2358 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2360 # b.out is created by i960 compilers.
2361 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2363 test -f "$ac_file" ||
continue
2365 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2368 # This is the source file.
2371 # We found the default executable, but exeext='' is most
2375 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2376 # FIXME: I believe we export ac_cv_exeext for Libtool,
2377 # but it would be cool to find out if it's true. Does anybody
2378 # maintain Libtool? --akim.
2386 echo "$as_me: failed program was:" >&5
2387 sed 's/^/| /' conftest.
$ac_ext >&5
2389 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2390 See \`config.log' for more details." >&5
2391 echo "$as_me: error: C compiler cannot create executables
2392 See \`config.log' for more details." >&2;}
2393 { (exit 77); exit 77; }; }
2396 ac_exeext
=$ac_cv_exeext
2397 echo "$as_me:$LINENO: result: $ac_file" >&5
2398 echo "${ECHO_T}$ac_file" >&6
2400 # Check the compiler produces executables we can run. If not, either
2401 # the compiler is broken, or we cross compile.
2402 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2403 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2404 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2405 # If not cross compiling, check that we can run a simple program.
2406 if test "$cross_compiling" != yes; then
2407 if { ac_try
='./$ac_file'
2408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; }; then
2415 if test "$cross_compiling" = maybe
; then
2418 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2419 If you meant to cross compile, use \`--host'.
2420 See \`config.log' for more details." >&5
2421 echo "$as_me: error: cannot run C compiled programs.
2422 If you meant to cross compile, use \`--host'.
2423 See \`config.log' for more details." >&2;}
2424 { (exit 1); exit 1; }; }
2428 echo "$as_me:$LINENO: result: yes" >&5
2429 echo "${ECHO_T}yes" >&6
2431 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2432 ac_clean_files
=$ac_clean_files_save
2433 # Check the compiler produces executables we can run. If not, either
2434 # the compiler is broken, or we cross compile.
2435 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2436 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2437 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2438 echo "${ECHO_T}$cross_compiling" >&6
2440 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2441 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2443 (eval $ac_link) 2>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; then
2447 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2448 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2449 # work properly (i.e., refer to `conftest.exe'), while it won't with
2451 for ac_file
in conftest.exe conftest conftest.
*; do
2452 test -f "$ac_file" ||
continue
2454 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2455 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2462 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2463 See \`config.log' for more details." >&5
2464 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2465 See \`config.log' for more details." >&2;}
2466 { (exit 1); exit 1; }; }
2469 rm -f conftest
$ac_cv_exeext
2470 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2471 echo "${ECHO_T}$ac_cv_exeext" >&6
2473 rm -f conftest.
$ac_ext
2474 EXEEXT
=$ac_cv_exeext
2476 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2477 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2478 if test "${ac_cv_objext+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 cat >conftest.
$ac_ext <<_ACEOF
2484 cat confdefs.h
>>conftest.
$ac_ext
2485 cat >>conftest.
$ac_ext <<_ACEOF
2486 /* end confdefs.h. */
2496 rm -f conftest.o conftest.obj
2497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2498 (eval $ac_compile) 2>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); }; then
2502 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2504 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2505 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2510 echo "$as_me: failed program was:" >&5
2511 sed 's/^/| /' conftest.
$ac_ext >&5
2513 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2514 See \`config.log' for more details." >&5
2515 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2516 See \`config.log' for more details." >&2;}
2517 { (exit 1); exit 1; }; }
2520 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2522 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2523 echo "${ECHO_T}$ac_cv_objext" >&6
2524 OBJEXT
=$ac_cv_objext
2526 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2527 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2528 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 cat >conftest.
$ac_ext <<_ACEOF
2534 cat confdefs.h
>>conftest.
$ac_ext
2535 cat >>conftest.
$ac_ext <<_ACEOF
2536 /* end confdefs.h. */
2549 rm -f conftest.
$ac_objext
2550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551 (eval $ac_compile) 2>conftest.er1
2553 grep -v '^ *+' conftest.er1
>conftest.err
2555 cat conftest.err
>&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); } &&
2558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; } &&
2564 { ac_try
='test -s conftest.$ac_objext'
2565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; }; then
2572 echo "$as_me: failed program was:" >&5
2573 sed 's/^/| /' conftest.
$ac_ext >&5
2577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2578 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2581 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2582 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2583 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2584 ac_test_CFLAGS
=${CFLAGS+set}
2585 ac_save_CFLAGS
=$CFLAGS
2587 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2588 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2589 if test "${ac_cv_prog_cc_g+set}" = set; then
2590 echo $ECHO_N "(cached) $ECHO_C" >&6
2592 cat >conftest.
$ac_ext <<_ACEOF
2595 cat confdefs.h
>>conftest.
$ac_ext
2596 cat >>conftest.
$ac_ext <<_ACEOF
2597 /* end confdefs.h. */
2607 rm -f conftest.
$ac_objext
2608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2609 (eval $ac_compile) 2>conftest.er1
2611 grep -v '^ *+' conftest.er1
>conftest.err
2613 cat conftest.err
>&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); } &&
2616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; } &&
2622 { ac_try
='test -s conftest.$ac_objext'
2623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }; }; then
2630 echo "$as_me: failed program was:" >&5
2631 sed 's/^/| /' conftest.
$ac_ext >&5
2635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2637 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2638 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2639 if test "$ac_test_CFLAGS" = set; then
2640 CFLAGS
=$ac_save_CFLAGS
2641 elif test $ac_cv_prog_cc_g = yes; then
2642 if test "$GCC" = yes; then
2648 if test "$GCC" = yes; then
2654 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2655 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2656 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2657 echo $ECHO_N "(cached) $ECHO_C" >&6
2659 ac_cv_prog_cc_stdc
=no
2661 cat >conftest.
$ac_ext <<_ACEOF
2664 cat confdefs.h
>>conftest.
$ac_ext
2665 cat >>conftest.
$ac_ext <<_ACEOF
2666 /* end confdefs.h. */
2669 #include <sys/types.h>
2670 #include <sys/stat.h>
2671 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2672 struct buf { int x; };
2673 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2674 static char *e (p, i)
2680 static char *f (char * (*g) (char **, int), char **p, ...)
2685 s = g (p, va_arg (v,int));
2690 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2691 function prototypes and stuff, but not '\xHH' hex character constants.
2692 These don't provoke an error unfortunately, instead are silently treated
2693 as 'x'. The following induces an error, until -std1 is added to get
2694 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2695 array size at least. It's necessary to write '\x00'==0 to get something
2696 that's true only with -std1. */
2697 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2699 int test (int i, double x);
2700 struct s1 {int (*f) (int a);};
2701 struct s2 {int (*f) (double a);};
2702 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2708 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2713 # Don't try gcc -ansi; that turns off useful extensions and
2714 # breaks some systems' header files.
2715 # AIX -qlanglvl=ansi
2716 # Ultrix and OSF/1 -std1
2717 # HP-UX 10.20 and later -Ae
2718 # HP-UX older versions -Aa -D_HPUX_SOURCE
2719 # SVR4 -Xc -D__EXTENSIONS__
2720 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2722 CC
="$ac_save_CC $ac_arg"
2723 rm -f conftest.
$ac_objext
2724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2725 (eval $ac_compile) 2>conftest.er1
2727 grep -v '^ *+' conftest.er1
>conftest.err
2729 cat conftest.err
>&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); } &&
2732 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; } &&
2738 { ac_try
='test -s conftest.$ac_objext'
2739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }; }; then
2744 ac_cv_prog_cc_stdc
=$ac_arg
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.
$ac_ext >&5
2751 rm -f conftest.err conftest.
$ac_objext
2753 rm -f conftest.
$ac_ext conftest.
$ac_objext
2758 case "x$ac_cv_prog_cc_stdc" in
2760 echo "$as_me:$LINENO: result: none needed" >&5
2761 echo "${ECHO_T}none needed" >&6 ;;
2763 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2764 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2765 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2768 # Some people use a C++ compiler to compile C. Since we use `exit',
2769 # in C++ we need to declare it. In case someone uses the same compiler
2770 # for both compiling C and C++ we need to have the C++ compiler decide
2771 # the declaration of exit, since it's the most demanding environment.
2772 cat >conftest.
$ac_ext <<_ACEOF
2777 rm -f conftest.
$ac_objext
2778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2779 (eval $ac_compile) 2>conftest.er1
2781 grep -v '^ *+' conftest.er1
>conftest.err
2783 cat conftest.err
>&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); } &&
2786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); }; } &&
2792 { ac_try
='test -s conftest.$ac_objext'
2793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; }; then
2798 for ac_declaration
in \
2800 'extern "C" void std::exit (int) throw (); using std::exit;' \
2801 'extern "C" void std::exit (int); using std::exit;' \
2802 'extern "C" void exit (int) throw ();' \
2803 'extern "C" void exit (int);' \
2806 cat >conftest.
$ac_ext <<_ACEOF
2809 cat confdefs.h
>>conftest.
$ac_ext
2810 cat >>conftest.
$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2822 rm -f conftest.
$ac_objext
2823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824 (eval $ac_compile) 2>conftest.er1
2826 grep -v '^ *+' conftest.er1
>conftest.err
2828 cat conftest.err
>&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } &&
2831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; } &&
2837 { ac_try
='test -s conftest.$ac_objext'
2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; }; then
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.
$ac_ext >&5
2850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2851 cat >conftest.
$ac_ext <<_ACEOF
2854 cat confdefs.h
>>conftest.
$ac_ext
2855 cat >>conftest.
$ac_ext <<_ACEOF
2856 /* end confdefs.h. */
2866 rm -f conftest.
$ac_objext
2867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868 (eval $ac_compile) 2>conftest.er1
2870 grep -v '^ *+' conftest.er1
>conftest.err
2872 cat conftest.err
>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } &&
2875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); }; } &&
2881 { ac_try
='test -s conftest.$ac_objext'
2882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; }; then
2889 echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.
$ac_ext >&5
2893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2896 if test -n "$ac_declaration"; then
2897 echo '#ifdef __cplusplus' >>confdefs.h
2898 echo $ac_declaration >>confdefs.h
2899 echo '#endif' >>confdefs.h
2903 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.
$ac_ext >&5
2907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2909 ac_cpp
='$CPP $CPPFLAGS'
2910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2913 DEPDIR
="${am__leading_dot}deps"
2915 ac_config_commands
="$ac_config_commands depfiles"
2918 am_make
=${MAKE-make}
2919 cat > confinc
<< 'END'
2924 # If we don't find an include directive, just comment out the code.
2925 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2926 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2930 # First try GNU make style include.
2931 echo "include confinc" > confmf
2932 # We grep out `Entering directory' and `Leaving directory'
2933 # messages which can occur if `w' ends up in MAKEFLAGS.
2934 # In particular we don't look at `^make:' because GNU make might
2935 # be invoked under some other name (usually "gmake"), in which
2936 # case it prints its new name instead of `make'.
2937 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2942 # Now try BSD make style include.
2943 if test "$am__include" = "#"; then
2944 echo '.include "confinc"' > confmf
2945 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2946 am__include
=.include
2953 echo "$as_me:$LINENO: result: $_am_result" >&5
2954 echo "${ECHO_T}$_am_result" >&6
2955 rm -f confinc confmf
2957 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2958 if test "${enable_dependency_tracking+set}" = set; then
2959 enableval
="$enable_dependency_tracking"
2962 if test "x$enable_dependency_tracking" != xno
; then
2963 am_depcomp
="$ac_aux_dir/depcomp"
2968 if test "x$enable_dependency_tracking" != xno; then
2979 depcc
="$CC" am_compiler_list
=
2981 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2982 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2983 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2987 # We make a subdir and do the tests there. Otherwise we can end up
2988 # making bogus files that we don't know about and never remove. For
2989 # instance it was reported that on HP-UX the gcc test will end up
2990 # making a dummy file named `D' -- because `-MD' means `put the output
2993 # Copy depcomp to subdir because otherwise we won't find it if we're
2994 # using a relative directory.
2995 cp "$am_depcomp" conftest.dir
2997 # We will build objects and dependencies in a subdirectory because
2998 # it helps to detect inapplicable dependency modes. For instance
2999 # both Tru64's cc and ICC support -MD to output dependencies as a
3000 # side effect of compilation, but ICC will put the dependencies in
3001 # the current directory while Tru64 will put them in the object
3005 am_cv_CC_dependencies_compiler_type
=none
3006 if test "$am_compiler_list" = ""; then
3007 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3009 for depmode
in $am_compiler_list; do
3010 # Setup a source with many dependencies, because some compilers
3011 # like to wrap large dependency lists on column 80 (with \), and
3012 # we should not choose a depcomp mode which is confused by this.
3014 # We need to recreate these files for each test, as the compiler may
3015 # overwrite some of them when testing with obscure command lines.
3016 # This happens at least with the AIX C compiler.
3018 for i
in 1 2 3 4 5 6; do
3019 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3020 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3021 # Solaris 8's {/usr,}/bin/sh.
3022 touch sub
/conftst
$i.h
3024 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3028 # after this tag, mechanisms are not by side-effect, so they'll
3029 # only be used when explicitly requested
3030 if test "x$enable_dependency_tracking" = xyes
; then
3038 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3039 # mode. It turns out that the SunPro C++ compiler does not properly
3040 # handle `-M -o', and we need to detect this.
3041 if depmode
=$depmode \
3042 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3043 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3044 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3045 >/dev
/null
2>conftest.err
&&
3046 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3047 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3048 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3049 # icc doesn't choke on unknown options, it will just issue warnings
3050 # or remarks (even with -Werror). So we grep stderr for any message
3051 # that says an option was ignored or not supported.
3052 # When given -MP, icc 7.0 and 7.1 complain thusly:
3053 # icc: Command line warning: ignoring option '-M'; no argument required
3054 # The diagnosis changed in icc 8.0:
3055 # icc: Command line remark: option '-MP' not supported
3056 if (grep 'ignoring option' conftest.err ||
3057 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3058 am_cv_CC_dependencies_compiler_type
=$depmode
3067 am_cv_CC_dependencies_compiler_type
=none
3071 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3072 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3073 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3078 test "x$enable_dependency_tracking" != xno \
3079 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3081 am__fastdepCC_FALSE
='#'
3083 am__fastdepCC_TRUE
='#'
3084 am__fastdepCC_FALSE
=
3089 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3090 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3091 if test "${ac_cv_c_const+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3094 cat >conftest.
$ac_ext <<_ACEOF
3097 cat confdefs.h
>>conftest.
$ac_ext
3098 cat >>conftest.
$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3104 /* FIXME: Include the comments suggested by Paul. */
3106 /* Ultrix mips cc rejects this. */
3107 typedef int charset[2];
3109 /* SunOS 4.1.1 cc rejects this. */
3110 char const *const *ccp;
3112 /* NEC SVR4.0.2 mips cc rejects this. */
3113 struct point {int x, y;};
3114 static struct point const zero = {0,0};
3115 /* AIX XL C 1.02.0.0 rejects this.
3116 It does not let you subtract one const X* pointer from another in
3117 an arm of an if-expression whose if-part is not a constant
3119 const char *g = "string";
3120 ccp = &g + (g ? g-g : 0);
3121 /* HPUX 7.0 cc rejects these. */
3124 ccp = (char const *const *) p;
3125 { /* SCO 3.2v4 cc rejects this. */
3127 char const *s = 0 ? (char *) 0 : (char const *) 0;
3131 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3133 const int *foo = &x[0];
3136 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3137 typedef const int *iptr;
3141 { /* AIX XL C 1.02.0.0 rejects this saying
3142 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3143 struct s { int j; const int *ap[3]; };
3144 struct s *b; b->j = 5;
3146 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3155 rm -f conftest.
$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157 (eval $ac_compile) 2>conftest.er1
3159 grep -v '^ *+' conftest.er1
>conftest.err
3161 cat conftest.err
>&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } &&
3164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; } &&
3170 { ac_try
='test -s conftest.$ac_objext'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; }; then
3178 echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.
$ac_ext >&5
3183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3185 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3186 echo "${ECHO_T}$ac_cv_c_const" >&6
3187 if test $ac_cv_c_const = no
; then
3189 cat >>confdefs.h
<<\_ACEOF
3195 echo "$as_me:$LINENO: checking for inline" >&5
3196 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3197 if test "${ac_cv_c_inline+set}" = set; then
3198 echo $ECHO_N "(cached) $ECHO_C" >&6
3201 for ac_kw
in inline __inline__ __inline
; do
3202 cat >conftest.
$ac_ext <<_ACEOF
3205 cat confdefs.h
>>conftest.
$ac_ext
3206 cat >>conftest.
$ac_ext <<_ACEOF
3207 /* end confdefs.h. */
3210 static $ac_kw foo_t static_foo () {return 0; }
3211 $ac_kw foo_t foo () {return 0; }
3215 rm -f conftest.
$ac_objext
3216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3217 (eval $ac_compile) 2>conftest.er1
3219 grep -v '^ *+' conftest.er1
>conftest.err
3221 cat conftest.err
>&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); } &&
3224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; } &&
3230 { ac_try
='test -s conftest.$ac_objext'
3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); }; }; then
3236 ac_cv_c_inline
=$ac_kw; break
3238 echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.
$ac_ext >&5
3242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3246 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3247 echo "${ECHO_T}$ac_cv_c_inline" >&6
3250 case $ac_cv_c_inline in
3253 case $ac_cv_c_inline in
3255 *) ac_val
=$ac_cv_c_inline;;
3257 cat >>confdefs.h
<<_ACEOF
3259 #define inline $ac_val
3267 ## ----------------------- ##
3268 ## Libtool initialisation. ##
3269 ## ----------------------- ##
3272 # Check whether --enable-shared or --disable-shared was given.
3273 if test "${enable_shared+set}" = set; then
3274 enableval
="$enable_shared"
3275 p
=${PACKAGE-default}
3277 yes) enable_shared
=yes ;;
3278 no
) enable_shared
=no
;;
3281 # Look at the argument we got. We use all the common list separators.
3282 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3283 for pkg
in $enableval; do
3285 if test "X$pkg" = "X$p"; then
3296 # Check whether --enable-static or --disable-static was given.
3297 if test "${enable_static+set}" = set; then
3298 enableval
="$enable_static"
3299 p
=${PACKAGE-default}
3301 yes) enable_static
=yes ;;
3302 no
) enable_static
=no
;;
3305 # Look at the argument we got. We use all the common list separators.
3306 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3307 for pkg
in $enableval; do
3309 if test "X$pkg" = "X$p"; then
3320 # Check whether --enable-fast-install or --disable-fast-install was given.
3321 if test "${enable_fast_install+set}" = set; then
3322 enableval
="$enable_fast_install"
3323 p
=${PACKAGE-default}
3325 yes) enable_fast_install
=yes ;;
3326 no
) enable_fast_install
=no
;;
3328 enable_fast_install
=no
3329 # Look at the argument we got. We use all the common list separators.
3330 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3331 for pkg
in $enableval; do
3333 if test "X$pkg" = "X$p"; then
3334 enable_fast_install
=yes
3341 enable_fast_install
=yes
3344 # Make sure we can run config.sub.
3345 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3346 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3347 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3348 { (exit 1); exit 1; }; }
3350 echo "$as_me:$LINENO: checking build system type" >&5
3351 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3352 if test "${ac_cv_build+set}" = set; then
3353 echo $ECHO_N "(cached) $ECHO_C" >&6
3355 ac_cv_build_alias
=$build_alias
3356 test -z "$ac_cv_build_alias" &&
3357 ac_cv_build_alias
=`$ac_config_guess`
3358 test -z "$ac_cv_build_alias" &&
3359 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3360 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3361 { (exit 1); exit 1; }; }
3362 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3363 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3364 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3365 { (exit 1); exit 1; }; }
3368 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3369 echo "${ECHO_T}$ac_cv_build" >&6
3371 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3372 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3373 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3376 echo "$as_me:$LINENO: checking host system type" >&5
3377 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3378 if test "${ac_cv_host+set}" = set; then
3379 echo $ECHO_N "(cached) $ECHO_C" >&6
3381 ac_cv_host_alias
=$host_alias
3382 test -z "$ac_cv_host_alias" &&
3383 ac_cv_host_alias
=$ac_cv_build_alias
3384 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3385 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3386 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3387 { (exit 1); exit 1; }; }
3390 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3391 echo "${ECHO_T}$ac_cv_host" >&6
3393 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3394 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3395 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3398 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3399 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3400 if test "${lt_cv_path_SED+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 # Loop through the user's path and test for sed and gsed.
3404 # Then use that list of sed's as ones to test for truncation.
3405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3409 test -z "$as_dir" && as_dir
=.
3410 for lt_ac_prog
in sed gsed
; do
3411 for ac_exec_ext
in '' $ac_executable_extensions; do
3412 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3413 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3420 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3421 # along with /bin/sed that truncates output.
3422 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3423 test ! -f $lt_ac_sed && break
3424 cat /dev
/null
> conftest.
in
3426 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3427 # Check for GNU sed and select it if it is found.
3428 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3429 lt_cv_path_SED
=$lt_ac_sed
3433 cat conftest.
in conftest.
in >conftest.tmp
3434 mv conftest.tmp conftest.
in
3435 cp conftest.
in conftest.
nl
3437 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3438 cmp -s conftest.out conftest.
nl ||
break
3439 # 10000 chars as input seems more than enough
3440 test $lt_ac_count -gt 10 && break
3441 lt_ac_count
=`expr $lt_ac_count + 1`
3442 if test $lt_ac_count -gt $lt_ac_max; then
3443 lt_ac_max
=$lt_ac_count
3444 lt_cv_path_SED
=$lt_ac_sed
3452 echo "$as_me:$LINENO: result: $SED" >&5
3453 echo "${ECHO_T}$SED" >&6
3455 echo "$as_me:$LINENO: checking for egrep" >&5
3456 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3457 if test "${ac_cv_prog_egrep+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3461 then ac_cv_prog_egrep
='grep -E'
3462 else ac_cv_prog_egrep
='egrep'
3465 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3466 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3467 EGREP
=$ac_cv_prog_egrep
3471 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3472 if test "${with_gnu_ld+set}" = set; then
3473 withval
="$with_gnu_ld"
3474 test "$withval" = no || with_gnu_ld
=yes
3479 if test "$GCC" = yes; then
3480 # Check if gcc -print-prog-name=ld gives a path.
3481 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3482 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3485 # gcc leaves a trailing carriage return which upsets mingw
3486 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3488 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3491 # Accept absolute paths.
3493 re_direlt
='/[^/][^/]*/\.\./'
3494 # Canonicalize the path of ld
3495 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3496 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3497 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3499 test -z "$LD" && LD
="$ac_prog"
3502 # If it fails, then pretend we aren't using GCC.
3506 # If it is relative, then search for the first ld in PATH.
3510 elif test "$with_gnu_ld" = yes; then
3511 echo "$as_me:$LINENO: checking for GNU ld" >&5
3512 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3514 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3515 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3517 if test "${lt_cv_path_LD+set}" = set; then
3518 echo $ECHO_N "(cached) $ECHO_C" >&6
3520 if test -z "$LD"; then
3521 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3522 for ac_dir
in $PATH; do
3524 test -z "$ac_dir" && ac_dir
=.
3525 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3526 lt_cv_path_LD
="$ac_dir/$ac_prog"
3527 # Check to see if the program is GNU ld. I'd rather use --version,
3528 # but apparently some GNU ld's only accept -v.
3529 # Break only if it was the GNU/non-GNU ld that we prefer.
3530 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3531 *GNU
* |
*'with BFD'*)
3532 test "$with_gnu_ld" != no
&& break
3535 test "$with_gnu_ld" != yes && break
3542 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3547 if test -n "$LD"; then
3548 echo "$as_me:$LINENO: result: $LD" >&5
3549 echo "${ECHO_T}$LD" >&6
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3554 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3555 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3556 { (exit 1); exit 1; }; }
3557 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3558 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3559 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3563 case `"$LD" -v 2>&1 </dev/null` in
3564 *GNU
* |
*'with BFD'*)
3565 lt_cv_prog_gnu_ld
=yes
3568 lt_cv_prog_gnu_ld
=no
3572 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3573 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3574 with_gnu_ld
=$lt_cv_prog_gnu_ld
3577 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3578 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3579 if test "${lt_cv_ld_reload_flag+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 lt_cv_ld_reload_flag
='-r'
3584 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3585 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3586 reload_flag
=$lt_cv_ld_reload_flag
3587 case $reload_flag in
3589 *) reload_flag
=" $reload_flag" ;;
3591 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3593 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3594 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3595 if test "${lt_cv_path_NM+set}" = set; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3598 if test -n "$NM"; then
3599 # Let the user override the test.
3602 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3603 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3605 test -z "$ac_dir" && ac_dir
=.
3606 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3607 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3608 # Check to see if the nm accepts a BSD-compat flag.
3609 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3610 # nm: unknown option "B" ignored
3611 # Tru64's nm complains that /dev/null is an invalid object file
3612 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3613 */dev
/null
* |
*'Invalid file or object type'*)
3614 lt_cv_path_NM
="$tmp_nm -B"
3618 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3620 lt_cv_path_NM
="$tmp_nm -p"
3624 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3625 continue # so that we can try to find one that supports BSD flags
3632 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3635 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3636 echo "${ECHO_T}$lt_cv_path_NM" >&6
3639 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3640 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3642 if test "$LN_S" = "ln -s"; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3646 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3647 echo "${ECHO_T}no, using $LN_S" >&6
3650 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3651 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3652 if test "${lt_cv_deplibs_check_method+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3656 lt_cv_file_magic_test_file
=
3657 lt_cv_deplibs_check_method
='unknown'
3658 # Need to set the preceding variable on all platforms that support
3659 # interlibrary dependencies.
3660 # 'none' -- dependencies not supported.
3661 # `unknown' -- same as none, but documents that we really don't know.
3662 # 'pass_all' -- all dependencies passed with no checks.
3663 # 'test_compile' -- check by making test program.
3664 # 'file_magic [[regex]]' -- check by looking for files in library path
3665 # which responds to the $file_magic_cmd with a given extended regex.
3666 # If you have `file' or equivalent on your system and you're not sure
3667 # whether `pass_all' will *always* work, you probably want this one.
3671 lt_cv_deplibs_check_method
=pass_all
3675 lt_cv_deplibs_check_method
=pass_all
3679 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3680 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3681 lt_cv_file_magic_test_file
=/shlib
/libc.so
3684 cygwin
* | mingw
* | pw32
*)
3685 # win32_libid is a shell function defined in ltmain.sh
3686 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3687 lt_cv_file_magic_cmd
='win32_libid'
3690 darwin
* | rhapsody
*)
3691 # this will be overwritten by pass_all, but leave it in just in case
3692 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3693 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3695 rhapsody
* | darwin1.
[012])
3696 lt_cv_file_magic_test_file
=`/System/Library/Frameworks/System.framework/System`
3699 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3702 lt_cv_deplibs_check_method
=pass_all
3706 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3709 # Not sure whether the presence of OpenBSD here was a mistake.
3710 # Let's accept both of them until this is cleared up.
3711 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3712 lt_cv_file_magic_cmd
=/usr
/bin
/file
3713 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3717 lt_cv_deplibs_check_method
=pass_all
3722 lt_cv_deplibs_check_method
=pass_all
3725 hpux10.20
* | hpux11
*)
3726 lt_cv_file_magic_cmd
=/usr
/bin
/file
3729 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3730 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3733 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]'
3734 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3737 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3738 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3743 irix5
* | irix6
* | nonstopux
*)
3745 irix5
* | nonstopux
*)
3746 # this will be overridden with pass_all, but let us keep it just in case
3747 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3751 *-32|
*"-32 ") libmagic
=32-bit;;
3752 *-n32|
*"-n32 ") libmagic
=N32
;;
3753 *-64|
*"-64 ") libmagic
=64-bit;;
3754 *) libmagic
=never-match
;;
3756 # this will be overridden with pass_all, but let us keep it just in case
3757 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3760 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3761 lt_cv_deplibs_check_method
=pass_all
3764 # This must be Linux ELF.
3767 alpha
* | hppa
* | i
*86 | ia64
* | m68
* | mips | mipsel | powerpc
* | sparc
* | s390
* | sh
*)
3768 lt_cv_deplibs_check_method
=pass_all
;;
3770 # glibc up to 2.1.1 does not perform some relocations on ARM
3771 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3773 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3777 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3778 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3780 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3785 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3786 lt_cv_file_magic_cmd
=/usr
/bin
/file
3787 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3791 lt_cv_deplibs_check_method
=unknown
3795 lt_cv_file_magic_cmd
=/usr
/bin
/file
3796 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3797 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3798 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
3800 lt_cv_deplibs_check_method
='file_magic OpenBSD.* shared library'
3804 osf3
* | osf4
* | osf5
*)
3805 # this will be overridden with pass_all, but let us keep it just in case
3806 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3807 lt_cv_file_magic_test_file
=/shlib
/libc.so
3808 lt_cv_deplibs_check_method
=pass_all
3812 lt_cv_deplibs_check_method
=pass_all
3816 lt_cv_deplibs_check_method
=pass_all
3817 lt_cv_file_magic_test_file
=/lib
/libc.so
3820 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3821 case $host_vendor in
3823 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]'
3824 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3827 lt_cv_deplibs_check_method
=pass_all
3830 lt_cv_file_magic_cmd
='/bin/file'
3831 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3834 lt_cv_file_magic_cmd
='/bin/file'
3835 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3836 lt_cv_file_magic_test_file
=/lib
/libc.so
3839 lt_cv_deplibs_check_method
=pass_all
3844 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
3845 lt_cv_deplibs_check_method
=pass_all
3850 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3851 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3852 file_magic_cmd
=$lt_cv_file_magic_cmd
3853 deplibs_check_method
=$lt_cv_deplibs_check_method
3854 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3859 # If no C compiler was specified, use CC.
3862 # Allow CC to be a program name with arguments.
3865 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3866 if test "${enable_libtool_lock+set}" = set; then
3867 enableval
="$enable_libtool_lock"
3870 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3872 # Some flags need to be propagated to the compiler or linker for good
3876 # Find out which ABI we are using.
3877 echo 'int i;' > conftest.
$ac_ext
3878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3879 (eval $ac_compile) 2>&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; then
3883 case `/usr/bin/file conftest.$ac_objext` in
3895 # Find out which ABI we are using.
3896 echo '#line 3896 "configure"' > conftest.
$ac_ext
3897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3898 (eval $ac_compile) 2>&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; then
3902 if test "$lt_cv_prog_gnu_ld" = yes; then
3903 case `/usr/bin/file conftest.$ac_objext` in
3905 LD
="${LD-ld} -melf32bsmip"
3908 LD
="${LD-ld} -melf32bmipn32"
3911 LD
="${LD-ld} -melf64bmip"
3915 case `/usr/bin/file conftest.$ac_objext` in
3931 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3932 # Find out which ABI we are using.
3933 echo 'int i;' > conftest.
$ac_ext
3934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3935 (eval $ac_compile) 2>&5
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); }; then
3939 case "`/usr/bin/file conftest.o`" in
3943 LD
="${LD-ld} -m elf_i386"
3946 LD
="${LD-ld} -m elf32ppclinux"
3949 LD
="${LD-ld} -m elf_s390"
3952 LD
="${LD-ld} -m elf32_sparc"
3959 LD
="${LD-ld} -m elf_x86_64"
3961 ppc
*-*linux
*|powerpc
*-*linux
*)
3962 LD
="${LD-ld} -m elf64ppc"
3965 LD
="${LD-ld} -m elf64_s390"
3968 LD
="${LD-ld} -m elf64_sparc"
3978 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3979 SAVE_CFLAGS
="$CFLAGS"
3980 CFLAGS
="$CFLAGS -belf"
3981 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3982 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3983 if test "${lt_cv_cc_needs_belf+set}" = set; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 ac_cpp
='$CPP $CPPFLAGS'
3988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3992 cat >conftest.
$ac_ext <<_ACEOF
3995 cat confdefs.h
>>conftest.
$ac_ext
3996 cat >>conftest.
$ac_ext <<_ACEOF
3997 /* end confdefs.h. */
4007 rm -f conftest.
$ac_objext conftest
$ac_exeext
4008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4009 (eval $ac_link) 2>conftest.er1
4011 grep -v '^ *+' conftest.er1
>conftest.err
4013 cat conftest.err
>&5
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); } &&
4016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); }; } &&
4022 { ac_try
='test -s conftest$ac_exeext'
4023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); }; }; then
4028 lt_cv_cc_needs_belf
=yes
4030 echo "$as_me: failed program was:" >&5
4031 sed 's/^/| /' conftest.
$ac_ext >&5
4033 lt_cv_cc_needs_belf
=no
4035 rm -f conftest.err conftest.
$ac_objext \
4036 conftest
$ac_exeext conftest.
$ac_ext
4038 ac_cpp
='$CPP $CPPFLAGS'
4039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4044 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4045 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4046 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4047 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4048 CFLAGS
="$SAVE_CFLAGS"
4051 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
4052 if test -n "$ac_tool_prefix"; then
4053 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4054 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4055 echo "$as_me:$LINENO: checking for $ac_word" >&5
4056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4057 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4058 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 if test -n "$DLLTOOL"; then
4061 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4067 test -z "$as_dir" && as_dir
=.
4068 for ac_exec_ext
in '' $ac_executable_extensions; do
4069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4079 DLLTOOL
=$ac_cv_prog_DLLTOOL
4080 if test -n "$DLLTOOL"; then
4081 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4082 echo "${ECHO_T}$DLLTOOL" >&6
4084 echo "$as_me:$LINENO: result: no" >&5
4085 echo "${ECHO_T}no" >&6
4089 if test -z "$ac_cv_prog_DLLTOOL"; then
4090 ac_ct_DLLTOOL
=$DLLTOOL
4091 # Extract the first word of "dlltool", so it can be a program name with args.
4092 set dummy dlltool
; ac_word
=$2
4093 echo "$as_me:$LINENO: checking for $ac_word" >&5
4094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4095 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 if test -n "$ac_ct_DLLTOOL"; then
4099 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4105 test -z "$as_dir" && as_dir
=.
4106 for ac_exec_ext
in '' $ac_executable_extensions; do
4107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4108 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4115 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
4118 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4119 if test -n "$ac_ct_DLLTOOL"; then
4120 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4121 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4123 echo "$as_me:$LINENO: result: no" >&5
4124 echo "${ECHO_T}no" >&6
4127 DLLTOOL
=$ac_ct_DLLTOOL
4129 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4132 if test -n "$ac_tool_prefix"; then
4133 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4134 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4135 echo "$as_me:$LINENO: checking for $ac_word" >&5
4136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4137 if test "${ac_cv_prog_AS+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4140 if test -n "$AS"; then
4141 ac_cv_prog_AS
="$AS" # Let the user override the test.
4143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4147 test -z "$as_dir" && as_dir
=.
4148 for ac_exec_ext
in '' $ac_executable_extensions; do
4149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4150 ac_cv_prog_AS
="${ac_tool_prefix}as"
4151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 if test -n "$AS"; then
4161 echo "$as_me:$LINENO: result: $AS" >&5
4162 echo "${ECHO_T}$AS" >&6
4164 echo "$as_me:$LINENO: result: no" >&5
4165 echo "${ECHO_T}no" >&6
4169 if test -z "$ac_cv_prog_AS"; then
4171 # Extract the first word of "as", so it can be a program name with args.
4172 set dummy as
; ac_word
=$2
4173 echo "$as_me:$LINENO: checking for $ac_word" >&5
4174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4175 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4176 echo $ECHO_N "(cached) $ECHO_C" >&6
4178 if test -n "$ac_ct_AS"; then
4179 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4185 test -z "$as_dir" && as_dir
=.
4186 for ac_exec_ext
in '' $ac_executable_extensions; do
4187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4188 ac_cv_prog_ac_ct_AS
="as"
4189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4195 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
4198 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4199 if test -n "$ac_ct_AS"; then
4200 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4201 echo "${ECHO_T}$ac_ct_AS" >&6
4203 echo "$as_me:$LINENO: result: no" >&5
4204 echo "${ECHO_T}no" >&6
4212 if test -n "$ac_tool_prefix"; then
4213 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4214 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4215 echo "$as_me:$LINENO: checking for $ac_word" >&5
4216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4217 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4218 echo $ECHO_N "(cached) $ECHO_C" >&6
4220 if test -n "$OBJDUMP"; then
4221 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4227 test -z "$as_dir" && as_dir
=.
4228 for ac_exec_ext
in '' $ac_executable_extensions; do
4229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4230 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4239 OBJDUMP
=$ac_cv_prog_OBJDUMP
4240 if test -n "$OBJDUMP"; then
4241 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4242 echo "${ECHO_T}$OBJDUMP" >&6
4244 echo "$as_me:$LINENO: result: no" >&5
4245 echo "${ECHO_T}no" >&6
4249 if test -z "$ac_cv_prog_OBJDUMP"; then
4250 ac_ct_OBJDUMP
=$OBJDUMP
4251 # Extract the first word of "objdump", so it can be a program name with args.
4252 set dummy objdump
; ac_word
=$2
4253 echo "$as_me:$LINENO: checking for $ac_word" >&5
4254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4255 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4256 echo $ECHO_N "(cached) $ECHO_C" >&6
4258 if test -n "$ac_ct_OBJDUMP"; then
4259 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4265 test -z "$as_dir" && as_dir
=.
4266 for ac_exec_ext
in '' $ac_executable_extensions; do
4267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4268 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4275 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
4278 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4279 if test -n "$ac_ct_OBJDUMP"; then
4280 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4281 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4287 OBJDUMP
=$ac_ct_OBJDUMP
4289 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4296 need_locks
="$enable_libtool_lock"
4300 ac_cpp
='$CPP $CPPFLAGS'
4301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4304 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4305 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4306 # On Suns, sometimes $CPP names a directory.
4307 if test -n "$CPP" && test -d "$CPP"; then
4310 if test -z "$CPP"; then
4311 if test "${ac_cv_prog_CPP+set}" = set; then
4312 echo $ECHO_N "(cached) $ECHO_C" >&6
4314 # Double quotes because CPP needs to be expanded
4315 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4318 for ac_c_preproc_warn_flag
in '' yes
4320 # Use a header file that comes with gcc, so configuring glibc
4321 # with a fresh cross-compiler works.
4322 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4323 # <limits.h> exists even on freestanding compilers.
4324 # On the NeXT, cc -E runs the code through the compiler's parser,
4325 # not just through cpp. "Syntax error" is here to catch this case.
4326 cat >conftest.
$ac_ext <<_ACEOF
4329 cat confdefs.h
>>conftest.
$ac_ext
4330 cat >>conftest.
$ac_ext <<_ACEOF
4331 /* end confdefs.h. */
4333 # include <limits.h>
4335 # include <assert.h>
4339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4340 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4342 grep -v '^ *+' conftest.er1
>conftest.err
4344 cat conftest.err
>&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); } >/dev
/null
; then
4347 if test -s conftest.err
; then
4348 ac_cpp_err
=$ac_c_preproc_warn_flag
4349 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4356 if test -z "$ac_cpp_err"; then
4359 echo "$as_me: failed program was:" >&5
4360 sed 's/^/| /' conftest.
$ac_ext >&5
4362 # Broken: fails on valid input.
4365 rm -f conftest.err conftest.
$ac_ext
4367 # OK, works on sane cases. Now check whether non-existent headers
4368 # can be detected and how.
4369 cat >conftest.
$ac_ext <<_ACEOF
4372 cat confdefs.h
>>conftest.
$ac_ext
4373 cat >>conftest.
$ac_ext <<_ACEOF
4374 /* end confdefs.h. */
4375 #include <ac_nonexistent.h>
4377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4380 grep -v '^ *+' conftest.er1
>conftest.err
4382 cat conftest.err
>&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } >/dev
/null
; then
4385 if test -s conftest.err
; then
4386 ac_cpp_err
=$ac_c_preproc_warn_flag
4387 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4394 if test -z "$ac_cpp_err"; then
4395 # Broken: success on invalid input.
4398 echo "$as_me: failed program was:" >&5
4399 sed 's/^/| /' conftest.
$ac_ext >&5
4401 # Passes both tests.
4405 rm -f conftest.err conftest.
$ac_ext
4408 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4409 rm -f conftest.err conftest.
$ac_ext
4410 if $ac_preproc_ok; then
4422 echo "$as_me:$LINENO: result: $CPP" >&5
4423 echo "${ECHO_T}$CPP" >&6
4425 for ac_c_preproc_warn_flag
in '' yes
4427 # Use a header file that comes with gcc, so configuring glibc
4428 # with a fresh cross-compiler works.
4429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4430 # <limits.h> exists even on freestanding compilers.
4431 # On the NeXT, cc -E runs the code through the compiler's parser,
4432 # not just through cpp. "Syntax error" is here to catch this case.
4433 cat >conftest.
$ac_ext <<_ACEOF
4436 cat confdefs.h
>>conftest.
$ac_ext
4437 cat >>conftest.
$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4440 # include <limits.h>
4442 # include <assert.h>
4446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4447 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4449 grep -v '^ *+' conftest.er1
>conftest.err
4451 cat conftest.err
>&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } >/dev
/null
; then
4454 if test -s conftest.err
; then
4455 ac_cpp_err
=$ac_c_preproc_warn_flag
4456 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4463 if test -z "$ac_cpp_err"; then
4466 echo "$as_me: failed program was:" >&5
4467 sed 's/^/| /' conftest.
$ac_ext >&5
4469 # Broken: fails on valid input.
4472 rm -f conftest.err conftest.
$ac_ext
4474 # OK, works on sane cases. Now check whether non-existent headers
4475 # can be detected and how.
4476 cat >conftest.
$ac_ext <<_ACEOF
4479 cat confdefs.h
>>conftest.
$ac_ext
4480 cat >>conftest.
$ac_ext <<_ACEOF
4481 /* end confdefs.h. */
4482 #include <ac_nonexistent.h>
4484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4487 grep -v '^ *+' conftest.er1
>conftest.err
4489 cat conftest.err
>&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } >/dev
/null
; then
4492 if test -s conftest.err
; then
4493 ac_cpp_err
=$ac_c_preproc_warn_flag
4494 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4501 if test -z "$ac_cpp_err"; then
4502 # Broken: success on invalid input.
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.
$ac_ext >&5
4508 # Passes both tests.
4512 rm -f conftest.err conftest.
$ac_ext
4515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4516 rm -f conftest.err conftest.
$ac_ext
4517 if $ac_preproc_ok; then
4520 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4521 See \`config.log' for more details." >&5
4522 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4523 See \`config.log' for more details." >&2;}
4524 { (exit 1); exit 1; }; }
4528 ac_cpp
='$CPP $CPPFLAGS'
4529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4534 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4535 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4536 if test "${ac_cv_header_stdc+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 cat >conftest.
$ac_ext <<_ACEOF
4542 cat confdefs.h
>>conftest.
$ac_ext
4543 cat >>conftest.
$ac_ext <<_ACEOF
4544 /* end confdefs.h. */
4558 rm -f conftest.
$ac_objext
4559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4560 (eval $ac_compile) 2>conftest.er1
4562 grep -v '^ *+' conftest.er1
>conftest.err
4564 cat conftest.err
>&5
4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); } &&
4567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; } &&
4573 { ac_try
='test -s conftest.$ac_objext'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; }; then
4579 ac_cv_header_stdc
=yes
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.
$ac_ext >&5
4584 ac_cv_header_stdc
=no
4586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4588 if test $ac_cv_header_stdc = yes; then
4589 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4590 cat >conftest.
$ac_ext <<_ACEOF
4593 cat confdefs.h
>>conftest.
$ac_ext
4594 cat >>conftest.
$ac_ext <<_ACEOF
4595 /* end confdefs.h. */
4599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4600 $EGREP "memchr" >/dev
/null
2>&1; then
4603 ac_cv_header_stdc
=no
4609 if test $ac_cv_header_stdc = yes; then
4610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4611 cat >conftest.
$ac_ext <<_ACEOF
4614 cat confdefs.h
>>conftest.
$ac_ext
4615 cat >>conftest.
$ac_ext <<_ACEOF
4616 /* end confdefs.h. */
4620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4621 $EGREP "free" >/dev
/null
2>&1; then
4624 ac_cv_header_stdc
=no
4630 if test $ac_cv_header_stdc = yes; then
4631 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4632 if test "$cross_compiling" = yes; then
4635 cat >conftest.
$ac_ext <<_ACEOF
4638 cat confdefs.h
>>conftest.
$ac_ext
4639 cat >>conftest.
$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4642 #if ((' ' & 0x0FF) == 0x020)
4643 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4644 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4646 # define ISLOWER(c) \
4647 (('a' <= (c) && (c) <= 'i') \
4648 || ('j' <= (c) && (c) <= 'r') \
4649 || ('s' <= (c) && (c) <= 'z'))
4650 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4653 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4658 for (i = 0; i < 256; i++)
4659 if (XOR (islower (i), ISLOWER (i))
4660 || toupper (i) != TOUPPER (i))
4665 rm -f conftest
$ac_exeext
4666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4667 (eval $ac_link) 2>&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; }; then
4678 echo "$as_me: program exited with status $ac_status" >&5
4679 echo "$as_me: failed program was:" >&5
4680 sed 's/^/| /' conftest.
$ac_ext >&5
4683 ac_cv_header_stdc
=no
4685 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4689 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4690 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4691 if test $ac_cv_header_stdc = yes; then
4693 cat >>confdefs.h
<<\_ACEOF
4694 #define STDC_HEADERS 1
4699 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4709 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4710 inttypes.h stdint.h unistd.h
4712 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4713 echo "$as_me:$LINENO: checking for $ac_header" >&5
4714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4716 echo $ECHO_N "(cached) $ECHO_C" >&6
4718 cat >conftest.
$ac_ext <<_ACEOF
4721 cat confdefs.h
>>conftest.
$ac_ext
4722 cat >>conftest.
$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4724 $ac_includes_default
4726 #include <$ac_header>
4728 rm -f conftest.
$ac_objext
4729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4730 (eval $ac_compile) 2>conftest.er1
4732 grep -v '^ *+' conftest.er1
>conftest.err
4734 cat conftest.err
>&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); } &&
4737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; } &&
4743 { ac_try
='test -s conftest.$ac_objext'
4744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; }; then
4749 eval "$as_ac_Header=yes"
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.
$ac_ext >&5
4754 eval "$as_ac_Header=no"
4756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4761 cat >>confdefs.h
<<_ACEOF
4762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4771 for ac_header
in dlfcn.h
4773 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4775 echo "$as_me:$LINENO: checking for $ac_header" >&5
4776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4783 # Is the header compilable?
4784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4786 cat >conftest.
$ac_ext <<_ACEOF
4789 cat confdefs.h
>>conftest.
$ac_ext
4790 cat >>conftest.
$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4792 $ac_includes_default
4793 #include <$ac_header>
4795 rm -f conftest.
$ac_objext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4797 (eval $ac_compile) 2>conftest.er1
4799 grep -v '^ *+' conftest.er1
>conftest.err
4801 cat conftest.err
>&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); } &&
4804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; } &&
4810 { ac_try
='test -s conftest.$ac_objext'
4811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); }; }; then
4816 ac_header_compiler
=yes
4818 echo "$as_me: failed program was:" >&5
4819 sed 's/^/| /' conftest.
$ac_ext >&5
4821 ac_header_compiler
=no
4823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4825 echo "${ECHO_T}$ac_header_compiler" >&6
4827 # Is the header present?
4828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4830 cat >conftest.
$ac_ext <<_ACEOF
4833 cat confdefs.h
>>conftest.
$ac_ext
4834 cat >>conftest.
$ac_ext <<_ACEOF
4835 /* end confdefs.h. */
4836 #include <$ac_header>
4838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4841 grep -v '^ *+' conftest.er1
>conftest.err
4843 cat conftest.err
>&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } >/dev
/null
; then
4846 if test -s conftest.err
; then
4847 ac_cpp_err
=$ac_c_preproc_warn_flag
4848 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4855 if test -z "$ac_cpp_err"; then
4856 ac_header_preproc
=yes
4858 echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.
$ac_ext >&5
4861 ac_header_preproc
=no
4863 rm -f conftest.err conftest.
$ac_ext
4864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4865 echo "${ECHO_T}$ac_header_preproc" >&6
4867 # So? What about this header?
4868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4874 ac_header_preproc
=yes
4877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4891 ## ---------------------------------- ##
4892 ## Report this to bug-libtool@gnu.org ##
4893 ## ---------------------------------- ##
4896 sed "s/^/$as_me: WARNING: /" >&2
4899 echo "$as_me:$LINENO: checking for $ac_header" >&5
4900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4902 echo $ECHO_N "(cached) $ECHO_C" >&6
4904 eval "$as_ac_Header=\$ac_header_preproc"
4906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4911 cat >>confdefs.h
<<_ACEOF
4912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4920 ac_cpp
='$CXXCPP $CPPFLAGS'
4921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4924 if test -n "$ac_tool_prefix"; then
4925 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4928 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4929 echo "$as_me:$LINENO: checking for $ac_word" >&5
4930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4931 if test "${ac_cv_prog_CXX+set}" = set; then
4932 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 if test -n "$CXX"; then
4935 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 test -z "$as_dir" && as_dir
=.
4942 for ac_exec_ext
in '' $ac_executable_extensions; do
4943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4944 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 if test -n "$CXX"; then
4955 echo "$as_me:$LINENO: result: $CXX" >&5
4956 echo "${ECHO_T}$CXX" >&6
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4962 test -n "$CXX" && break
4965 if test -z "$CXX"; then
4967 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4969 # Extract the first word of "$ac_prog", so it can be a program name with args.
4970 set dummy
$ac_prog; ac_word
=$2
4971 echo "$as_me:$LINENO: checking for $ac_word" >&5
4972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4973 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4974 echo $ECHO_N "(cached) $ECHO_C" >&6
4976 if test -n "$ac_ct_CXX"; then
4977 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir
=.
4984 for ac_exec_ext
in '' $ac_executable_extensions; do
4985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4996 if test -n "$ac_ct_CXX"; then
4997 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4998 echo "${ECHO_T}$ac_ct_CXX" >&6
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5004 test -n "$ac_ct_CXX" && break
5006 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
5012 # Provide some information about the compiler.
5013 echo "$as_me:$LINENO:" \
5014 "checking for C++ compiler version" >&5
5015 ac_compiler
=`set X $ac_compile; echo $2`
5016 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5017 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); }
5021 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5022 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); }
5026 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5027 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }
5032 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5033 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5034 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5037 cat >conftest.
$ac_ext <<_ACEOF
5040 cat confdefs.h
>>conftest.
$ac_ext
5041 cat >>conftest.
$ac_ext <<_ACEOF
5042 /* end confdefs.h. */
5055 rm -f conftest.
$ac_objext
5056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5057 (eval $ac_compile) 2>conftest.er1
5059 grep -v '^ *+' conftest.er1
>conftest.err
5061 cat conftest.err
>&5
5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); } &&
5064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); }; } &&
5070 { ac_try
='test -s conftest.$ac_objext'
5071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); }; }; then
5078 echo "$as_me: failed program was:" >&5
5079 sed 's/^/| /' conftest.
$ac_ext >&5
5083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5084 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5087 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5088 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5089 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5090 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5091 ac_save_CXXFLAGS
=$CXXFLAGS
5093 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5094 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5095 if test "${ac_cv_prog_cxx_g+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 cat >conftest.
$ac_ext <<_ACEOF
5101 cat confdefs.h
>>conftest.
$ac_ext
5102 cat >>conftest.
$ac_ext <<_ACEOF
5103 /* end confdefs.h. */
5113 rm -f conftest.
$ac_objext
5114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5115 (eval $ac_compile) 2>conftest.er1
5117 grep -v '^ *+' conftest.er1
>conftest.err
5119 cat conftest.err
>&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); } &&
5122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); }; } &&
5128 { ac_try
='test -s conftest.$ac_objext'
5129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); }; }; then
5134 ac_cv_prog_cxx_g
=yes
5136 echo "$as_me: failed program was:" >&5
5137 sed 's/^/| /' conftest.
$ac_ext >&5
5141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5143 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5144 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5145 if test "$ac_test_CXXFLAGS" = set; then
5146 CXXFLAGS
=$ac_save_CXXFLAGS
5147 elif test $ac_cv_prog_cxx_g = yes; then
5148 if test "$GXX" = yes; then
5154 if test "$GXX" = yes; then
5160 for ac_declaration
in \
5162 'extern "C" void std::exit (int) throw (); using std::exit;' \
5163 'extern "C" void std::exit (int); using std::exit;' \
5164 'extern "C" void exit (int) throw ();' \
5165 'extern "C" void exit (int);' \
5168 cat >conftest.
$ac_ext <<_ACEOF
5171 cat confdefs.h
>>conftest.
$ac_ext
5172 cat >>conftest.
$ac_ext <<_ACEOF
5173 /* end confdefs.h. */
5184 rm -f conftest.
$ac_objext
5185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5186 (eval $ac_compile) 2>conftest.er1
5188 grep -v '^ *+' conftest.er1
>conftest.err
5190 cat conftest.err
>&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } &&
5193 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); }; } &&
5199 { ac_try
='test -s conftest.$ac_objext'
5200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); }; }; then
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.
$ac_ext >&5
5212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5213 cat >conftest.
$ac_ext <<_ACEOF
5216 cat confdefs.h
>>conftest.
$ac_ext
5217 cat >>conftest.
$ac_ext <<_ACEOF
5218 /* end confdefs.h. */
5228 rm -f conftest.
$ac_objext
5229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5230 (eval $ac_compile) 2>conftest.er1
5232 grep -v '^ *+' conftest.er1
>conftest.err
5234 cat conftest.err
>&5
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); } &&
5237 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); }; } &&
5243 { ac_try
='test -s conftest.$ac_objext'
5244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); }; }; then
5251 echo "$as_me: failed program was:" >&5
5252 sed 's/^/| /' conftest.
$ac_ext >&5
5255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5258 if test -n "$ac_declaration"; then
5259 echo '#ifdef __cplusplus' >>confdefs.h
5260 echo $ac_declaration >>confdefs.h
5261 echo '#endif' >>confdefs.h
5265 ac_cpp
='$CXXCPP $CPPFLAGS'
5266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5270 depcc
="$CXX" am_compiler_list
=
5272 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5273 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5274 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5275 echo $ECHO_N "(cached) $ECHO_C" >&6
5277 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5278 # We make a subdir and do the tests there. Otherwise we can end up
5279 # making bogus files that we don't know about and never remove. For
5280 # instance it was reported that on HP-UX the gcc test will end up
5281 # making a dummy file named `D' -- because `-MD' means `put the output
5284 # Copy depcomp to subdir because otherwise we won't find it if we're
5285 # using a relative directory.
5286 cp "$am_depcomp" conftest.dir
5288 # We will build objects and dependencies in a subdirectory because
5289 # it helps to detect inapplicable dependency modes. For instance
5290 # both Tru64's cc and ICC support -MD to output dependencies as a
5291 # side effect of compilation, but ICC will put the dependencies in
5292 # the current directory while Tru64 will put them in the object
5296 am_cv_CXX_dependencies_compiler_type
=none
5297 if test "$am_compiler_list" = ""; then
5298 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5300 for depmode
in $am_compiler_list; do
5301 # Setup a source with many dependencies, because some compilers
5302 # like to wrap large dependency lists on column 80 (with \), and
5303 # we should not choose a depcomp mode which is confused by this.
5305 # We need to recreate these files for each test, as the compiler may
5306 # overwrite some of them when testing with obscure command lines.
5307 # This happens at least with the AIX C compiler.
5309 for i
in 1 2 3 4 5 6; do
5310 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5311 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5312 # Solaris 8's {/usr,}/bin/sh.
5313 touch sub
/conftst
$i.h
5315 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5319 # after this tag, mechanisms are not by side-effect, so they'll
5320 # only be used when explicitly requested
5321 if test "x$enable_dependency_tracking" = xyes
; then
5329 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5330 # mode. It turns out that the SunPro C++ compiler does not properly
5331 # handle `-M -o', and we need to detect this.
5332 if depmode
=$depmode \
5333 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5334 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5335 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5336 >/dev
/null
2>conftest.err
&&
5337 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5338 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5339 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5340 # icc doesn't choke on unknown options, it will just issue warnings
5341 # or remarks (even with -Werror). So we grep stderr for any message
5342 # that says an option was ignored or not supported.
5343 # When given -MP, icc 7.0 and 7.1 complain thusly:
5344 # icc: Command line warning: ignoring option '-M'; no argument required
5345 # The diagnosis changed in icc 8.0:
5346 # icc: Command line remark: option '-MP' not supported
5347 if (grep 'ignoring option' conftest.err ||
5348 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5349 am_cv_CXX_dependencies_compiler_type
=$depmode
5358 am_cv_CXX_dependencies_compiler_type
=none
5362 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5363 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5364 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5369 test "x$enable_dependency_tracking" != xno \
5370 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5371 am__fastdepCXX_TRUE
=
5372 am__fastdepCXX_FALSE
='#'
5374 am__fastdepCXX_TRUE
='#'
5375 am__fastdepCXX_FALSE
=
5380 ac_cpp
='$CXXCPP $CPPFLAGS'
5381 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5382 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5383 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5384 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5385 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5386 if test -z "$CXXCPP"; then
5387 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5388 echo $ECHO_N "(cached) $ECHO_C" >&6
5390 # Double quotes because CXXCPP needs to be expanded
5391 for CXXCPP
in "$CXX -E" "/lib/cpp"
5394 for ac_cxx_preproc_warn_flag
in '' yes
5396 # Use a header file that comes with gcc, so configuring glibc
5397 # with a fresh cross-compiler works.
5398 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5399 # <limits.h> exists even on freestanding compilers.
5400 # On the NeXT, cc -E runs the code through the compiler's parser,
5401 # not just through cpp. "Syntax error" is here to catch this case.
5402 cat >conftest.
$ac_ext <<_ACEOF
5405 cat confdefs.h
>>conftest.
$ac_ext
5406 cat >>conftest.
$ac_ext <<_ACEOF
5407 /* end confdefs.h. */
5409 # include <limits.h>
5411 # include <assert.h>
5415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5416 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5418 grep -v '^ *+' conftest.er1
>conftest.err
5420 cat conftest.err
>&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); } >/dev
/null
; then
5423 if test -s conftest.err
; then
5424 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5425 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5432 if test -z "$ac_cpp_err"; then
5435 echo "$as_me: failed program was:" >&5
5436 sed 's/^/| /' conftest.
$ac_ext >&5
5438 # Broken: fails on valid input.
5441 rm -f conftest.err conftest.
$ac_ext
5443 # OK, works on sane cases. Now check whether non-existent headers
5444 # can be detected and how.
5445 cat >conftest.
$ac_ext <<_ACEOF
5448 cat confdefs.h
>>conftest.
$ac_ext
5449 cat >>conftest.
$ac_ext <<_ACEOF
5450 /* end confdefs.h. */
5451 #include <ac_nonexistent.h>
5453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5454 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5456 grep -v '^ *+' conftest.er1
>conftest.err
5458 cat conftest.err
>&5
5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 (exit $ac_status); } >/dev
/null
; then
5461 if test -s conftest.err
; then
5462 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5463 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5470 if test -z "$ac_cpp_err"; then
5471 # Broken: success on invalid input.
5474 echo "$as_me: failed program was:" >&5
5475 sed 's/^/| /' conftest.
$ac_ext >&5
5477 # Passes both tests.
5481 rm -f conftest.err conftest.
$ac_ext
5484 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5485 rm -f conftest.err conftest.
$ac_ext
5486 if $ac_preproc_ok; then
5491 ac_cv_prog_CXXCPP
=$CXXCPP
5494 CXXCPP
=$ac_cv_prog_CXXCPP
5496 ac_cv_prog_CXXCPP
=$CXXCPP
5498 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5499 echo "${ECHO_T}$CXXCPP" >&6
5501 for ac_cxx_preproc_warn_flag
in '' yes
5503 # Use a header file that comes with gcc, so configuring glibc
5504 # with a fresh cross-compiler works.
5505 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5506 # <limits.h> exists even on freestanding compilers.
5507 # On the NeXT, cc -E runs the code through the compiler's parser,
5508 # not just through cpp. "Syntax error" is here to catch this case.
5509 cat >conftest.
$ac_ext <<_ACEOF
5512 cat confdefs.h
>>conftest.
$ac_ext
5513 cat >>conftest.
$ac_ext <<_ACEOF
5514 /* end confdefs.h. */
5516 # include <limits.h>
5518 # include <assert.h>
5522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5525 grep -v '^ *+' conftest.er1
>conftest.err
5527 cat conftest.err
>&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); } >/dev
/null
; then
5530 if test -s conftest.err
; then
5531 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5532 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5539 if test -z "$ac_cpp_err"; then
5542 echo "$as_me: failed program was:" >&5
5543 sed 's/^/| /' conftest.
$ac_ext >&5
5545 # Broken: fails on valid input.
5548 rm -f conftest.err conftest.
$ac_ext
5550 # OK, works on sane cases. Now check whether non-existent headers
5551 # can be detected and how.
5552 cat >conftest.
$ac_ext <<_ACEOF
5555 cat confdefs.h
>>conftest.
$ac_ext
5556 cat >>conftest.
$ac_ext <<_ACEOF
5557 /* end confdefs.h. */
5558 #include <ac_nonexistent.h>
5560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5561 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5563 grep -v '^ *+' conftest.er1
>conftest.err
5565 cat conftest.err
>&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); } >/dev
/null
; then
5568 if test -s conftest.err
; then
5569 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5570 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5577 if test -z "$ac_cpp_err"; then
5578 # Broken: success on invalid input.
5581 echo "$as_me: failed program was:" >&5
5582 sed 's/^/| /' conftest.
$ac_ext >&5
5584 # Passes both tests.
5588 rm -f conftest.err conftest.
$ac_ext
5591 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5592 rm -f conftest.err conftest.
$ac_ext
5593 if $ac_preproc_ok; then
5596 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5597 See \`config.log' for more details." >&5
5598 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5599 See \`config.log' for more details." >&2;}
5600 { (exit 1); exit 1; }; }
5604 ac_cpp
='$CXXCPP $CPPFLAGS'
5605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5611 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5612 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5613 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5614 if test -n "$ac_tool_prefix"; then
5615 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5617 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5618 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5619 echo "$as_me:$LINENO: checking for $ac_word" >&5
5620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5621 if test "${ac_cv_prog_F77+set}" = set; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5624 if test -n "$F77"; then
5625 ac_cv_prog_F77
="$F77" # Let the user override the test.
5627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir
=.
5632 for ac_exec_ext
in '' $ac_executable_extensions; do
5633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 if test -n "$F77"; then
5645 echo "$as_me:$LINENO: result: $F77" >&5
5646 echo "${ECHO_T}$F77" >&6
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5652 test -n "$F77" && break
5655 if test -z "$F77"; then
5657 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5659 # Extract the first word of "$ac_prog", so it can be a program name with args.
5660 set dummy
$ac_prog; ac_word
=$2
5661 echo "$as_me:$LINENO: checking for $ac_word" >&5
5662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5663 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5664 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 if test -n "$ac_ct_F77"; then
5667 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5673 test -z "$as_dir" && as_dir
=.
5674 for ac_exec_ext
in '' $ac_executable_extensions; do
5675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_ac_ct_F77
="$ac_prog"
5677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5686 if test -n "$ac_ct_F77"; then
5687 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5688 echo "${ECHO_T}$ac_ct_F77" >&6
5690 echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6
5694 test -n "$ac_ct_F77" && break
5701 # Provide some information about the compiler.
5702 echo "$as_me:5702:" \
5703 "checking for Fortran 77 compiler version" >&5
5704 ac_compiler
=`set X $ac_compile; echo $2`
5705 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5706 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }
5710 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5711 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); }
5715 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5716 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }
5722 # If we don't use `.F' as extension, the preprocessor is not run on the
5723 # input file. (Note that this only needs to work for GNU compilers.)
5726 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5727 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5728 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 cat >conftest.
$ac_ext <<_ACEOF
5739 rm -f conftest.
$ac_objext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741 (eval $ac_compile) 2>conftest.er1
5743 grep -v '^ *+' conftest.er1
>conftest.err
5745 cat conftest.err
>&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } &&
5748 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; } &&
5754 { ac_try
='test -s conftest.$ac_objext'
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; }; then
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.
$ac_ext >&5
5767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5768 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5771 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5772 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5774 ac_test_FFLAGS
=${FFLAGS+set}
5775 ac_save_FFLAGS
=$FFLAGS
5777 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5778 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5779 if test "${ac_cv_prog_f77_g+set}" = set; then
5780 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 cat >conftest.
$ac_ext <<_ACEOF
5788 rm -f conftest.
$ac_objext
5789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5790 (eval $ac_compile) 2>conftest.er1
5792 grep -v '^ *+' conftest.er1
>conftest.err
5794 cat conftest.err
>&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); } &&
5797 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; } &&
5803 { ac_try
='test -s conftest.$ac_objext'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; }; then
5809 ac_cv_prog_f77_g
=yes
5811 echo "$as_me: failed program was:" >&5
5812 sed 's/^/| /' conftest.
$ac_ext >&5
5816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5819 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5820 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5821 if test "$ac_test_FFLAGS" = set; then
5822 FFLAGS
=$ac_save_FFLAGS
5823 elif test $ac_cv_prog_f77_g = yes; then
5824 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5830 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5837 G77
=`test $ac_compiler_gnu = yes && echo yes`
5839 ac_cpp
='$CPP $CPPFLAGS'
5840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5846 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5848 # find the maximum length of command line arguments
5849 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5850 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5851 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5859 # On DJGPP, this test can blow up pretty badly due to problems in libc
5860 # (any single argument exceeding 2000 bytes causes a buffer overrun
5861 # during glob expansion). Even if it were fixed, the result of this
5862 # check would be larger than it should be.
5863 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5867 # Under GNU Hurd, this test is not required because there is
5868 # no limit to the length of command line arguments.
5869 # Libtool will interpret -1 as no limit whatsoever
5870 lt_cv_sys_max_cmd_len
=-1;
5874 # On Win9x/ME, this test blows up -- it succeeds, but takes
5875 # about 5 minutes as the teststring grows exponentially.
5876 # Worse, since 9x/ME are not pre-emptively multitasking,
5877 # you end up with a "frozen" computer, even though with patience
5878 # the test eventually succeeds (with a max line length of 256k).
5879 # Instead, let's just punt: use the minimum linelength reported by
5880 # all of the supported platforms: 8192 (on NT/2K/XP).
5881 lt_cv_sys_max_cmd_len
=8192;
5885 # If test is not a shell built-in, we'll probably end up computing a
5886 # maximum length that is only half of the actual maximum length, but
5888 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5889 = "XX$testring") >/dev
/null
2>&1 &&
5890 new_result
=`expr "X$testring" : ".*" 2>&1` &&
5891 lt_cv_sys_max_cmd_len
=$new_result &&
5892 test $i != 17 # 1/2 MB should be enough
5895 testring
=$testring$testring
5898 # Add a significant safety factor because C++ compilers can tack on massive
5899 # amounts of additional arguments before passing them to the linker.
5900 # It appears as though 1/2 is a usable value.
5901 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5907 if test -n $lt_cv_sys_max_cmd_len ; then
5908 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5909 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5911 echo "$as_me:$LINENO: result: none" >&5
5912 echo "${ECHO_T}none" >&6
5918 # Check for command to grab the raw symbol name followed by C symbol from nm.
5919 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5920 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5921 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5925 # These are sane defaults that work on at least a few old systems.
5926 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5928 # Character class describing NM global symbol codes.
5929 symcode
='[BCDEGRST]'
5931 # Regexp to match symbols that can be accessed directly from C.
5932 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5934 # Transform the above into a raw symbol and a C symbol.
5935 symxfrm
='\1 \2\3 \3'
5937 # Transform an extracted symbol line into a proper C declaration
5938 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5940 # Transform an extracted symbol line into symbol name and symbol address
5941 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'"
5943 # Define system-specific variables.
5948 cygwin
* | mingw
* | pw32
*)
5949 symcode
='[ABCDGISTW]'
5951 hpux
*) # Its linker distinguishes data from code symbols
5952 if test "$host_cpu" = ia64
; then
5953 symcode
='[ABCDEGRST]'
5955 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5956 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'"
5959 symcode
='[BCDEGRST]'
5962 symcode
='[BCDEGQRST]'
5972 # Handle CRLF in mingw tool chain
5976 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5980 # If we're using GNU nm, then use its standard symbol codes.
5981 case `$NM -V 2>&1` in
5982 *GNU
* |
*'with BFD'*)
5983 symcode
='[ABCDGISTW]' ;;
5986 # Try without a prefix undercore, then with it.
5987 for ac_symprfx
in "" "_"; do
5989 # Write the raw and C identifiers.
5990 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5992 # Check to see that the pipe works correctly.
5996 cat > conftest.
$ac_ext <<EOF
6001 void nm_test_func(){}
6005 int main(){nm_test_var='a';nm_test_func();return(0);}
6008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6009 (eval $ac_compile) 2>&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); }; then
6013 # Now try to grab the symbols.
6015 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6016 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); } && test -s "$nlist"; then
6020 # Try sorting and uniquifying the output.
6021 if sort "$nlist" |
uniq > "$nlist"T
; then
6022 mv -f "$nlist"T
"$nlist"
6027 # Make sure that we snagged all the symbols we need.
6028 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6029 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6030 cat <<EOF > conftest.$ac_ext
6036 # Now generate the symbol file.
6037 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6039 cat <<EOF >> conftest.$ac_ext
6040 #if defined (__STDC__) && __STDC__
6041 # define lt_ptr_t void *
6043 # define lt_ptr_t char *
6047 /* The mapping between symbol names and symbols. */
6052 lt_preloaded_symbols[] =
6055 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6056 cat <<\EOF
>> conftest.
$ac_ext
6064 # Now try linking the two files.
6065 mv conftest.
$ac_objext conftstm.
$ac_objext
6066 lt_save_LIBS
="$LIBS"
6067 lt_save_CFLAGS
="$CFLAGS"
6068 LIBS
="conftstm.$ac_objext"
6069 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6071 (eval $ac_link) 2>&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6077 LIBS
="$lt_save_LIBS"
6078 CFLAGS
="$lt_save_CFLAGS"
6080 echo "cannot find nm_test_func in $nlist" >&5
6083 echo "cannot find nm_test_var in $nlist" >&5
6086 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6089 echo "$progname: failed program was:" >&5
6090 cat conftest.
$ac_ext >&5
6092 rm -f conftest
* conftst
*
6094 # Do not use the global_symbol_pipe unless it works.
6095 if test "$pipe_works" = yes; then
6098 lt_cv_sys_global_symbol_pipe
=
6104 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6105 lt_cv_sys_global_symbol_to_cdecl
=
6107 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6108 echo "$as_me:$LINENO: result: failed" >&5
6109 echo "${ECHO_T}failed" >&6
6111 echo "$as_me:$LINENO: result: ok" >&5
6112 echo "${ECHO_T}ok" >&6
6115 echo "$as_me:$LINENO: checking for objdir" >&5
6116 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6117 if test "${lt_cv_objdir+set}" = set; then
6118 echo $ECHO_N "(cached) $ECHO_C" >&6
6120 rm -f .libs
2>/dev
/null
6121 mkdir .libs
2>/dev
/null
6122 if test -d .libs
; then
6125 # MS-DOS does not allow filenames that begin with a dot.
6128 rmdir .libs
2>/dev
/null
6130 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6131 echo "${ECHO_T}$lt_cv_objdir" >&6
6132 objdir
=$lt_cv_objdir
6140 # AIX sometimes has problems with the GCC collect2 program. For some
6141 # reason, if we set the COLLECT_NAMES environment variable, the problems
6142 # vanish in a puff of smoke.
6143 if test "X${COLLECT_NAMES+set}" != Xset
; then
6145 export COLLECT_NAMES
6150 # Sed substitution that helps us do robust quoting. It backslashifies
6151 # metacharacters that are still active within double-quoted strings.
6152 Xsed
='sed -e s/^X//'
6153 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6155 # Same as above, but do not quote variable references.
6156 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6158 # Sed substitution to delay expansion of an escaped shell variable in a
6159 # double_quote_subst'ed string.
6160 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6162 # Sed substitution to avoid accidental globbing in evaled expressions
6163 no_glob_subst
='s/\*/\\\*/g'
6169 default_ofile
=libtool
6170 can_build_shared
=yes
6172 # All known linkers require a `.a' archive for static linking (except M$VC,
6173 # which needs '.lib').
6175 ltmain
="$ac_aux_dir/ltmain.sh"
6176 ofile
="$default_ofile"
6177 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6179 if test -n "$ac_tool_prefix"; then
6180 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6181 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6182 echo "$as_me:$LINENO: checking for $ac_word" >&5
6183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6184 if test "${ac_cv_prog_AR+set}" = set; then
6185 echo $ECHO_N "(cached) $ECHO_C" >&6
6187 if test -n "$AR"; then
6188 ac_cv_prog_AR
="$AR" # Let the user override the test.
6190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6194 test -z "$as_dir" && as_dir
=.
6195 for ac_exec_ext
in '' $ac_executable_extensions; do
6196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6197 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6207 if test -n "$AR"; then
6208 echo "$as_me:$LINENO: result: $AR" >&5
6209 echo "${ECHO_T}$AR" >&6
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6216 if test -z "$ac_cv_prog_AR"; then
6218 # Extract the first word of "ar", so it can be a program name with args.
6219 set dummy
ar; ac_word
=$2
6220 echo "$as_me:$LINENO: checking for $ac_word" >&5
6221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6222 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6223 echo $ECHO_N "(cached) $ECHO_C" >&6
6225 if test -n "$ac_ct_AR"; then
6226 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6232 test -z "$as_dir" && as_dir
=.
6233 for ac_exec_ext
in '' $ac_executable_extensions; do
6234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6235 ac_cv_prog_ac_ct_AR
="ar"
6236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6245 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6246 if test -n "$ac_ct_AR"; then
6247 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6248 echo "${ECHO_T}$ac_ct_AR" >&6
6250 echo "$as_me:$LINENO: result: no" >&5
6251 echo "${ECHO_T}no" >&6
6259 if test -n "$ac_tool_prefix"; then
6260 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6261 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6262 echo "$as_me:$LINENO: checking for $ac_word" >&5
6263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6264 if test "${ac_cv_prog_RANLIB+set}" = set; then
6265 echo $ECHO_N "(cached) $ECHO_C" >&6
6267 if test -n "$RANLIB"; then
6268 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6274 test -z "$as_dir" && as_dir
=.
6275 for ac_exec_ext
in '' $ac_executable_extensions; do
6276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6277 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6286 RANLIB
=$ac_cv_prog_RANLIB
6287 if test -n "$RANLIB"; then
6288 echo "$as_me:$LINENO: result: $RANLIB" >&5
6289 echo "${ECHO_T}$RANLIB" >&6
6291 echo "$as_me:$LINENO: result: no" >&5
6292 echo "${ECHO_T}no" >&6
6296 if test -z "$ac_cv_prog_RANLIB"; then
6297 ac_ct_RANLIB
=$RANLIB
6298 # Extract the first word of "ranlib", so it can be a program name with args.
6299 set dummy ranlib
; ac_word
=$2
6300 echo "$as_me:$LINENO: checking for $ac_word" >&5
6301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6302 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 if test -n "$ac_ct_RANLIB"; then
6306 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6312 test -z "$as_dir" && as_dir
=.
6313 for ac_exec_ext
in '' $ac_executable_extensions; do
6314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6315 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6322 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6325 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6326 if test -n "$ac_ct_RANLIB"; then
6327 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6328 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6330 echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6
6334 RANLIB
=$ac_ct_RANLIB
6336 RANLIB
="$ac_cv_prog_RANLIB"
6339 if test -n "$ac_tool_prefix"; then
6340 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6341 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6342 echo "$as_me:$LINENO: checking for $ac_word" >&5
6343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6344 if test "${ac_cv_prog_STRIP+set}" = set; then
6345 echo $ECHO_N "(cached) $ECHO_C" >&6
6347 if test -n "$STRIP"; then
6348 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir
=.
6355 for ac_exec_ext
in '' $ac_executable_extensions; do
6356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6357 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 STRIP
=$ac_cv_prog_STRIP
6367 if test -n "$STRIP"; then
6368 echo "$as_me:$LINENO: result: $STRIP" >&5
6369 echo "${ECHO_T}$STRIP" >&6
6371 echo "$as_me:$LINENO: result: no" >&5
6372 echo "${ECHO_T}no" >&6
6376 if test -z "$ac_cv_prog_STRIP"; then
6378 # Extract the first word of "strip", so it can be a program name with args.
6379 set dummy strip
; ac_word
=$2
6380 echo "$as_me:$LINENO: checking for $ac_word" >&5
6381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6382 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6383 echo $ECHO_N "(cached) $ECHO_C" >&6
6385 if test -n "$ac_ct_STRIP"; then
6386 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6392 test -z "$as_dir" && as_dir
=.
6393 for ac_exec_ext
in '' $ac_executable_extensions; do
6394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6395 ac_cv_prog_ac_ct_STRIP
="strip"
6396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6402 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6405 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6406 if test -n "$ac_ct_STRIP"; then
6407 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6408 echo "${ECHO_T}$ac_ct_STRIP" >&6
6410 echo "$as_me:$LINENO: result: no" >&5
6411 echo "${ECHO_T}no" >&6
6416 STRIP
="$ac_cv_prog_STRIP"
6421 old_CFLAGS
="$CFLAGS"
6423 # Set sane defaults for various variables
6424 test -z "$AR" && AR
=ar
6425 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6426 test -z "$AS" && AS
=as
6427 test -z "$CC" && CC
=cc
6428 test -z "$LTCC" && LTCC
=$CC
6429 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6430 test -z "$LD" && LD
=ld
6431 test -z "$LN_S" && LN_S
="ln -s"
6432 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6433 test -z "$NM" && NM
=nm
6434 test -z "$SED" && SED
=sed
6435 test -z "$OBJDUMP" && OBJDUMP
=objdump
6436 test -z "$RANLIB" && RANLIB
=:
6437 test -z "$STRIP" && STRIP
=:
6438 test -z "$ac_objext" && ac_objext
=o
6440 # Determine commands to create old-style static archives.
6441 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6442 old_postinstall_cmds
='chmod 644 $oldlib'
6443 old_postuninstall_cmds
=
6445 if test -n "$RANLIB"; then
6448 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6451 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6454 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6457 # Only perform the check for file, if the check method requires it
6458 case $deplibs_check_method in
6460 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6461 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6462 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6463 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6468 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6471 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6472 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6473 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6474 for ac_dir
in $ac_dummy; do
6476 test -z "$ac_dir" && ac_dir
=.
6477 if test -f $ac_dir/${ac_tool_prefix}file; then
6478 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6479 if test -n "$file_magic_test_file"; then
6480 case $deplibs_check_method in
6482 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6483 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6484 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6485 $EGREP "$file_magic_regex" > /dev
/null
; then
6490 *** Warning: the command libtool uses to detect shared libraries,
6491 *** $file_magic_cmd, produces output that libtool cannot recognize.
6492 *** The result is that libtool may fail to recognize shared libraries
6493 *** as such. This will affect the creation of libtool libraries that
6494 *** depend on shared libraries, but programs linked with such libtool
6495 *** libraries will work regardless of this problem. Nevertheless, you
6496 *** may want to report the problem to your system manager and/or to
6497 *** bug-libtool@gnu.org
6507 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6512 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6513 if test -n "$MAGIC_CMD"; then
6514 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6515 echo "${ECHO_T}$MAGIC_CMD" >&6
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6521 if test -z "$lt_cv_path_MAGIC_CMD"; then
6522 if test -n "$ac_tool_prefix"; then
6523 echo "$as_me:$LINENO: checking for file" >&5
6524 echo $ECHO_N "checking for file... $ECHO_C" >&6
6525 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6526 echo $ECHO_N "(cached) $ECHO_C" >&6
6530 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6533 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6534 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6535 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6536 for ac_dir
in $ac_dummy; do
6538 test -z "$ac_dir" && ac_dir
=.
6539 if test -f $ac_dir/file; then
6540 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6541 if test -n "$file_magic_test_file"; then
6542 case $deplibs_check_method in
6544 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6545 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6546 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6547 $EGREP "$file_magic_regex" > /dev
/null
; then
6552 *** Warning: the command libtool uses to detect shared libraries,
6553 *** $file_magic_cmd, produces output that libtool cannot recognize.
6554 *** The result is that libtool may fail to recognize shared libraries
6555 *** as such. This will affect the creation of libtool libraries that
6556 *** depend on shared libraries, but programs linked with such libtool
6557 *** libraries will work regardless of this problem. Nevertheless, you
6558 *** may want to report the problem to your system manager and/or to
6559 *** bug-libtool@gnu.org
6569 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6574 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6575 if test -n "$MAGIC_CMD"; then
6576 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6577 echo "${ECHO_T}$MAGIC_CMD" >&6
6579 echo "$as_me:$LINENO: result: no" >&5
6580 echo "${ECHO_T}no" >&6
6593 enable_win32_dll
=yes
6595 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6596 if test "${enable_libtool_lock+set}" = set; then
6597 enableval
="$enable_libtool_lock"
6600 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6603 # Check whether --with-pic or --without-pic was given.
6604 if test "${with_pic+set}" = set; then
6610 test -z "$pic_mode" && pic_mode
=default
6612 # Use C for the default configuration in the libtool script
6616 ac_cpp
='$CPP $CPPFLAGS'
6617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6622 # Source file extension for C test sources.
6625 # Object file extension for compiled C test sources.
6629 # Code to be used in simple compile tests
6630 lt_simple_compile_test_code
="int some_variable = 0;\n"
6632 # Code to be used in simple link tests
6633 lt_simple_link_test_code
='int main(){return(0);}\n'
6636 # If no C compiler was specified, use CC.
6639 # Allow CC to be a program name with arguments.
6644 # Check for any special shared library compilation flags.
6647 if test "$GCC" = no
; then
6650 lt_prog_cc_shlib
='-belf'
6654 if test -n "$lt_prog_cc_shlib"; then
6655 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6656 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6657 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6659 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6660 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6661 lt_cv_prog_cc_can_build_shared
=no
6667 # Check to make sure the static flag actually works.
6669 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6670 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6671 if test "${lt_prog_compiler_static_works+set}" = set; then
6672 echo $ECHO_N "(cached) $ECHO_C" >&6
6674 lt_prog_compiler_static_works
=no
6675 save_LDFLAGS
="$LDFLAGS"
6676 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6677 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6678 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6679 # The compiler can only warn and ignore the option if not recognized
6680 # So say no if there are warnings
6681 if test -s conftest.err
; then
6682 # Append any errors to the config.log.
6683 cat conftest.err
1>&5
6685 lt_prog_compiler_static_works
=yes
6689 LDFLAGS
="$save_LDFLAGS"
6692 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6693 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6695 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6698 lt_prog_compiler_static
=
6704 ## There is no encapsulation within the following macros, do not change
6705 ## the running order or otherwise move them around unless you know exactly
6706 ## what you are doing...
6708 lt_prog_compiler_no_builtin_flag
=
6710 if test "$GCC" = yes; then
6711 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6713 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6714 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6715 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6718 lt_cv_prog_compiler_rtti_exceptions
=no
6719 ac_outfile
=conftest.
$ac_objext
6720 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6721 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6722 # Insert the option either (1) after the last *FLAGS variable, or
6723 # (2) before a word containing "conftest.", or (3) at the end.
6724 # Note that $ac_compile itself does not contain backslashes and begins
6725 # with a dollar sign (not a hyphen), so the echo should work correctly.
6726 # The option is referenced via a variable to avoid confusing sed.
6727 lt_compile
=`echo "$ac_compile" | $SED \
6728 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6730 -e 's:$: $lt_compiler_flag:'`
6731 (eval echo "\"\$as_me:6731: $lt_compile\"" >&5)
6732 (eval "$lt_compile" 2>conftest.err
)
6734 cat conftest.err
>&5
6735 echo "$as_me:6735: \$? = $ac_status" >&5
6736 if (exit $ac_status) && test -s "$ac_outfile"; then
6737 # The compiler can only warn and ignore the option if not recognized
6738 # So say no if there are warnings
6739 if test ! -s conftest.err
; then
6740 lt_cv_prog_compiler_rtti_exceptions
=yes
6746 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6747 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6749 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6750 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6757 lt_prog_compiler_wl
=
6758 lt_prog_compiler_pic
=
6759 lt_prog_compiler_static
=
6761 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6762 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6764 if test "$GCC" = yes; then
6765 lt_prog_compiler_wl
='-Wl,'
6766 lt_prog_compiler_static
='-static'
6770 # All AIX code is PIC.
6771 if test "$host_cpu" = ia64
; then
6772 # AIX 5 now supports IA64 processor
6773 lt_prog_compiler_static
='-Bstatic'
6778 # FIXME: we need at least 68020 code to build shared libraries, but
6779 # adding the `-m68020' flag to GCC prevents building anything better,
6781 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6784 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6785 # PIC is the default for these OSes.
6788 mingw
* | pw32
* | os2
*)
6789 # This hack is so that the source file can tell whether it is being
6790 # built for inclusion in a dll (and should export symbols for example).
6791 lt_prog_compiler_pic
='-DDLL_EXPORT'
6794 darwin
* | rhapsody
*)
6795 # PIC is the default on this platform
6796 # Common symbols not allowed in MH_DYLIB files
6797 lt_prog_compiler_pic
='-fno-common'
6801 # Just because we use GCC doesn't mean we suddenly get shared libraries
6802 # on systems that don't support them.
6803 lt_prog_compiler_can_build_shared
=no
6808 if test -d /usr
/nec
; then
6809 lt_prog_compiler_pic
=-Kconform_pic
6814 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6821 lt_prog_compiler_pic
='-fPIC'
6827 lt_prog_compiler_pic
='-fPIC'
6831 # PORTME Check for flag to pass linker flags through the system compiler.
6834 lt_prog_compiler_wl
='-Wl,'
6835 if test "$host_cpu" = ia64
; then
6836 # AIX 5 now supports IA64 processor
6837 lt_prog_compiler_static
='-Bstatic'
6839 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6843 mingw
* | pw32
* | os2
*)
6844 # This hack is so that the source file can tell whether it is being
6845 # built for inclusion in a dll (and should export symbols for example).
6846 lt_prog_compiler_pic
='-DDLL_EXPORT'
6849 hpux9
* | hpux10
* | hpux11
*)
6850 lt_prog_compiler_wl
='-Wl,'
6851 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6858 lt_prog_compiler_pic
='+Z'
6861 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6862 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6865 irix5
* | irix6
* | nonstopux
*)
6866 lt_prog_compiler_wl
='-Wl,'
6867 # PIC (with -KPIC) is the default.
6868 lt_prog_compiler_static
='-non_shared'
6872 lt_prog_compiler_pic
='-KPIC'
6873 lt_prog_compiler_static
='-Bstatic'
6879 lt_prog_compiler_wl
='-Wl,'
6880 lt_prog_compiler_pic
='-KPIC'
6881 lt_prog_compiler_static
='-static'
6884 lt_prog_compiler_wl
='-Wl,'
6885 # All Alpha code is PIC.
6886 lt_prog_compiler_static
='-non_shared'
6891 osf3
* | osf4
* | osf5
*)
6892 lt_prog_compiler_wl
='-Wl,'
6893 # All OSF/1 code is PIC.
6894 lt_prog_compiler_static
='-non_shared'
6898 lt_prog_compiler_pic
='-Kpic'
6899 lt_prog_compiler_static
='-dn'
6903 lt_prog_compiler_wl
='-Wl,'
6904 lt_prog_compiler_pic
='-KPIC'
6905 lt_prog_compiler_static
='-Bstatic'
6909 lt_prog_compiler_wl
='-Qoption ld '
6910 lt_prog_compiler_pic
='-PIC'
6911 lt_prog_compiler_static
='-Bstatic'
6914 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6915 lt_prog_compiler_wl
='-Wl,'
6916 lt_prog_compiler_pic
='-KPIC'
6917 lt_prog_compiler_static
='-Bstatic'
6921 if test -d /usr
/nec
;then
6922 lt_prog_compiler_pic
='-Kconform_pic'
6923 lt_prog_compiler_static
='-Bstatic'
6928 lt_prog_compiler_pic
='-pic'
6929 lt_prog_compiler_static
='-Bstatic'
6933 lt_prog_compiler_can_build_shared
=no
6938 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6939 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6942 # Check to make sure the PIC flag actually works.
6944 if test -n "$lt_prog_compiler_pic"; then
6945 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6946 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6947 if test "${lt_prog_compiler_pic_works+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 lt_prog_compiler_pic_works
=no
6951 ac_outfile
=conftest.
$ac_objext
6952 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6953 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6954 # Insert the option either (1) after the last *FLAGS variable, or
6955 # (2) before a word containing "conftest.", or (3) at the end.
6956 # Note that $ac_compile itself does not contain backslashes and begins
6957 # with a dollar sign (not a hyphen), so the echo should work correctly.
6958 # The option is referenced via a variable to avoid confusing sed.
6959 lt_compile
=`echo "$ac_compile" | $SED \
6960 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6961 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6962 -e 's:$: $lt_compiler_flag:'`
6963 (eval echo "\"\$as_me:6963: $lt_compile\"" >&5)
6964 (eval "$lt_compile" 2>conftest.err
)
6966 cat conftest.err
>&5
6967 echo "$as_me:6967: \$? = $ac_status" >&5
6968 if (exit $ac_status) && test -s "$ac_outfile"; then
6969 # The compiler can only warn and ignore the option if not recognized
6970 # So say no if there are warnings
6971 if test ! -s conftest.err
; then
6972 lt_prog_compiler_pic_works
=yes
6978 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6979 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6981 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6982 case $lt_prog_compiler_pic in
6984 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6987 lt_prog_compiler_pic
=
6988 lt_prog_compiler_can_build_shared
=no
6993 # For platforms which do not support PIC, -DPIC is meaningless:
6995 lt_prog_compiler_pic
=
6998 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7002 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7003 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7004 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7005 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 lt_cv_prog_compiler_c_o
=no
7008 $rm -r conftest
2>/dev
/null
7012 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7014 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
7015 # that will create temporary files in the current directory regardless of
7016 # the output directory. Thus, making CWD read-only will cause this test
7017 # to fail, enabling locking or at least warning the user not to do parallel
7021 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7022 # Insert the option either (1) after the last *FLAGS variable, or
7023 # (2) before a word containing "conftest.", or (3) at the end.
7024 # Note that $ac_compile itself does not contain backslashes and begins
7025 # with a dollar sign (not a hyphen), so the echo should work correctly.
7026 lt_compile
=`echo "$ac_compile" | $SED \
7027 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7029 -e 's:$: $lt_compiler_flag:'`
7030 (eval echo "\"\$as_me:7030: $lt_compile\"" >&5)
7031 (eval "$lt_compile" 2>out
/conftest.err
)
7033 cat out
/conftest.err
>&5
7034 echo "$as_me:7034: \$? = $ac_status" >&5
7035 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7037 # The compiler can only warn and ignore the option if not recognized
7038 # So say no if there are warnings
7039 if test ! -s out
/conftest.err
; then
7040 lt_cv_prog_compiler_c_o
=yes
7051 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7052 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7055 hard_links
="nottested"
7056 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7057 # do not overwrite the value of need_locks provided by the user
7058 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7059 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7062 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7064 ln conftest.a conftest.b
2>&5 || hard_links
=no
7065 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7066 echo "$as_me:$LINENO: result: $hard_links" >&5
7067 echo "${ECHO_T}$hard_links" >&6
7068 if test "$hard_links" = no
; then
7069 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7070 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7077 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7078 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7081 allow_undefined_flag
=
7082 enable_shared_with_static_runtimes
=no
7084 archive_expsym_cmds
=
7085 old_archive_From_new_cmds
=
7086 old_archive_from_expsyms_cmds
=
7087 export_dynamic_flag_spec
=
7088 whole_archive_flag_spec
=
7089 thread_safe_flag_spec
=
7090 hardcode_libdir_flag_spec
=
7091 hardcode_libdir_flag_spec_ld
=
7092 hardcode_libdir_separator
=
7095 hardcode_shlibpath_var
=unsupported
7096 link_all_deplibs
=unknown
7097 hardcode_automatic
=no
7100 always_export_symbols
=no
7101 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7102 # include_expsyms should be a list of space-separated symbols to be *always*
7103 # included in the symbol list
7105 # exclude_expsyms can be an extended regexp of symbols to exclude
7106 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7107 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7108 # as well as any symbol that contains `d'.
7109 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7110 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7111 # platforms (ab)use it in PIC code, but their linkers get confused if
7112 # the symbol is explicitly referenced. Since portable code cannot
7113 # rely on this symbol name, it's probably fine to never include it in
7114 # preloaded symbol tables.
7115 extract_expsyms_cmds
=
7118 cygwin
* | mingw
* | pw32
*)
7119 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7120 # When not using gcc, we currently assume that we are using
7121 # Microsoft Visual C++.
7122 if test "$GCC" != yes; then
7132 if test "$with_gnu_ld" = yes; then
7133 # If archive_cmds runs LD, not CC, wlarc should be empty
7136 # See if GNU ld supports shared libraries.
7138 aix3
* | aix4
* | aix5
*)
7139 # On AIX/PPC, the GNU linker is very broken
7140 if test "$host_cpu" != ia64
; then
7144 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7145 *** to be unable to reliably create shared libraries on AIX.
7146 *** Therefore, libtool is disabling shared libraries support. If you
7147 *** really care for shared libraries, you may want to modify your PATH
7148 *** so that a non-GNU linker is found, and then restart.
7155 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)'
7156 hardcode_libdir_flag_spec
='-L$libdir'
7157 hardcode_minus_L
=yes
7159 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7160 # that the semantics of dynamic libraries on AmigaOS, at least up
7161 # to version 4, is to share data among multiple programs linked
7162 # with the same dynamic library. Since this doesn't match the
7163 # behavior of shared libraries on other platforms, we can't use
7169 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7170 allow_undefined_flag
=unsupported
7171 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7172 # support --undefined. This deserves some investigation. FIXME
7173 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7179 cygwin
* | mingw
* | pw32
*)
7180 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7181 # as there is no search path for DLLs.
7182 hardcode_libdir_flag_spec
='-L$libdir'
7183 allow_undefined_flag
=unsupported
7184 always_export_symbols
=no
7185 enable_shared_with_static_runtimes
=yes
7186 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7188 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7189 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7190 # If the export-symbols file already is a .def file (1st line
7191 # is EXPORTS), use it as is; otherwise, prepend...
7192 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7193 cp $export_symbols $output_objdir/$soname.def;
7195 echo EXPORTS > $output_objdir/$soname.def;
7196 cat $export_symbols >> $output_objdir/$soname.def;
7198 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7205 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7206 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7209 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7210 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7215 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7219 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7220 *** create shared libraries on Solaris systems. Therefore, libtool
7221 *** is disabling shared libraries support. We urge you to upgrade GNU
7222 *** binutils to release 2.9.1 or newer. Another option is to modify
7223 *** your PATH or compiler configuration so that the native linker is
7224 *** used, and then restart.
7227 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7228 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7229 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7236 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7239 hardcode_shlibpath_var
=no
7243 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7244 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7245 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7252 if test "$ld_shlibs" = yes; then
7253 runpath_var
=LD_RUN_PATH
7254 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7255 export_dynamic_flag_spec
='${wl}--export-dynamic'
7256 # ancient GNU ld didn't support --whole-archive et. al.
7257 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7258 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7260 whole_archive_flag_spec
=
7264 # PORTME fill in a description of your system's linker (not GNU ld)
7267 allow_undefined_flag
=unsupported
7268 always_export_symbols
=yes
7269 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'
7270 # Note: this linker hardcodes the directories in LIBPATH if there
7271 # are no directories specified by -L.
7272 hardcode_minus_L
=yes
7273 if test "$GCC" = yes && test -z "$link_static_flag"; then
7274 # Neither direct hardcoding nor static linking is supported with a
7276 hardcode_direct
=unsupported
7281 if test "$host_cpu" = ia64
; then
7282 # On IA64, the linker does run time linking by default, so we don't
7283 # have to do anything special.
7284 aix_use_runtimelinking
=no
7285 exp_sym_flag
='-Bexport'
7288 # If we're using GNU nm, then we don't want the "-C" option.
7289 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7290 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7291 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'
7293 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'
7295 aix_use_runtimelinking
=no
7297 # Test if we are trying to use run time linking or normal
7298 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7299 # need to do runtime linking.
7300 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7301 for ld_flag
in $LDFLAGS; do
7302 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7303 aix_use_runtimelinking
=yes
7309 exp_sym_flag
='-bexport'
7310 no_entry_flag
='-bnoentry'
7313 # When large executables or shared objects are built, AIX ld can
7314 # have problems creating the table of contents. If linking a library
7315 # or program results in "error TOC overflow" add -mminimal-toc to
7316 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7317 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7321 hardcode_libdir_separator
=':'
7322 link_all_deplibs
=yes
7324 if test "$GCC" = yes; then
7325 case $host_os in aix4.012|aix4.012.
*)
7326 # We only want to do this on AIX 4.2 and lower, the check
7327 # below for broken collect2 doesn't work under 4.3+
7328 collect2name
=`${CC} -print-prog-name=collect2`
7329 if test -f "$collect2name" && \
7330 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7332 # We have reworked collect2
7335 # We have old collect2
7336 hardcode_direct
=unsupported
7337 # It fails to find uninstalled libraries when the uninstalled
7338 # path is not listed in the libpath. Setting hardcode_minus_L
7339 # to unsupported forces relinking
7340 hardcode_minus_L
=yes
7341 hardcode_libdir_flag_spec
='-L$libdir'
7342 hardcode_libdir_separator
=
7345 shared_flag
='-shared'
7348 if test "$host_cpu" = ia64
; then
7349 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7350 # chokes on -Wl,-G. The following line is correct:
7353 if test "$aix_use_runtimelinking" = yes; then
7354 shared_flag
='${wl}-G'
7356 shared_flag
='${wl}-bM:SRE'
7361 # It seems that -bexpall does not export symbols beginning with
7362 # underscore (_), so it is better to generate a list of symbols to export.
7363 always_export_symbols
=yes
7364 if test "$aix_use_runtimelinking" = yes; then
7365 # Warning - without using the other runtime loading flags (-brtl),
7366 # -berok will link without error, but may produce a broken library.
7367 allow_undefined_flag
='-berok'
7368 # Determine the default libpath from the value encoded in an empty executable.
7369 cat >conftest.
$ac_ext <<_ACEOF
7372 cat confdefs.h
>>conftest.
$ac_ext
7373 cat >>conftest.
$ac_ext <<_ACEOF
7374 /* end confdefs.h. */
7384 rm -f conftest.
$ac_objext conftest
$ac_exeext
7385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7386 (eval $ac_link) 2>conftest.er1
7388 grep -v '^ *+' conftest.er1
>conftest.err
7390 cat conftest.err
>&5
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); } &&
7393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); }; } &&
7399 { ac_try
='test -s conftest$ac_exeext'
7400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); }; }; then
7406 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7408 # Check for a 64-bit object if we didn't find anything.
7409 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; }
7412 echo "$as_me: failed program was:" >&5
7413 sed 's/^/| /' conftest.
$ac_ext >&5
7416 rm -f conftest.err conftest.
$ac_objext \
7417 conftest
$ac_exeext conftest.
$ac_ext
7418 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7420 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7421 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"
7423 if test "$host_cpu" = ia64; then
7424 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7425 allow_undefined_flag="-z nodefs"
7426 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"
7428 # Determine the default libpath from the value encoded in an empty executable.
7429 cat >conftest.$ac_ext <<_ACEOF
7432 cat confdefs.h >>conftest.$ac_ext
7433 cat >>conftest.$ac_ext <<_ACEOF
7434 /* end confdefs.h. */
7444 rm -f conftest.$ac_objext conftest$ac_exeext
7445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7446 (eval $ac_link) 2>conftest.er1
7448 grep -v '^ *+' conftest.er1 >conftest.err
7450 cat conftest.err >&5
7451 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7452 (exit $ac_status); } &&
7453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7457 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7458 (exit $ac_status); }; } &&
7459 { ac_try='test -s conftest$ac_exeext'
7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7463 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7464 (exit $ac_status); }; }; then
7466 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7468 # Check for a 64-bit object if we didn't find anything.
7469 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; }
7472 echo "$as_me: failed program was
:" >&5
7473 sed 's/^/| /' conftest.$ac_ext >&5
7476 rm -f conftest.err conftest.$ac_objext \
7477 conftest$ac_exeext conftest.$ac_ext
7478 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7480 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7481 # Warning - without using the other run time loading flags,
7482 # -berok will link without error, but may produce a broken library.
7483 no_undefined_flag=' ${wl}-bernotok'
7484 allow_undefined_flag=' ${wl}-berok'
7485 # -bexpall does not export symbols beginning with underscore (_)
7486 always_export_symbols=yes
7487 # Exported symbols can be pulled into shared objects from archives
7488 whole_archive_flag_spec=' '
7489 archive_cmds_need_lc=yes
7490 # This is similar to how AIX traditionally builds it's shared libraries.
7491 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'
7497 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)'
7498 hardcode_libdir_flag_spec
='-L$libdir'
7499 hardcode_minus_L
=yes
7500 # see comment about different semantics on the GNU ld section
7505 export_dynamic_flag_spec
=-rdynamic
7508 cygwin
* | mingw
* | pw32
*)
7509 # When not using gcc, we currently assume that we are using
7510 # Microsoft Visual C++.
7511 # hardcode_libdir_flag_spec is actually meaningless, as there is
7512 # no search path for DLLs.
7513 hardcode_libdir_flag_spec
=' '
7514 allow_undefined_flag
=unsupported
7515 # Tell ltmain to make .lib files, not .a files.
7517 # Tell ltmain to make .dll files, not .so files.
7519 # FIXME: Setting linknames here is a bad hack.
7520 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7521 # The linker will automatically build a .lib file if we build a DLL.
7522 old_archive_From_new_cmds
='true'
7523 # FIXME: Should let the user specify the lib program.
7524 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7525 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7526 enable_shared_with_static_runtimes
=yes
7529 darwin
* | rhapsody
*)
7530 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
7531 archive_cmds_need_lc
=no
7533 rhapsody
* | darwin1.
[012])
7534 allow_undefined_flag
='-undefined suppress'
7537 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag
='-flat_namespace -undefined suppress'
7540 # FIXME: Relying on posixy $() will cause problems for
7541 # cross-compilation, but unfortunately the echo tests do not
7542 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7543 # `"' quotes if we put them in here... so don't!
7544 lt_int_apple_cc_single_mod
=no
7545 output_verbose_link_cmd
='echo'
7546 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
7547 lt_int_apple_cc_single_mod
=yes
7549 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7550 archive_cmds
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7552 archive_cmds
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7554 module_cmds
='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7555 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7556 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7557 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7559 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7561 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7563 hardcode_automatic
=yes
7564 hardcode_shlibpath_var
=unsupported
7565 whole_archive_flag_spec
='-all_load $convenience'
7566 link_all_deplibs
=yes
7571 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7572 hardcode_libdir_flag_spec
='-L$libdir'
7573 hardcode_shlibpath_var
=no
7580 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7581 # support. Future versions do this automatically, but an explicit c++rt0.o
7582 # does not break anything, and helps significantly (at the cost of a little
7585 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7586 hardcode_libdir_flag_spec
='-R$libdir'
7588 hardcode_shlibpath_var
=no
7591 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7593 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7595 hardcode_minus_L
=yes
7596 hardcode_shlibpath_var
=no
7599 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7601 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7602 hardcode_libdir_flag_spec
='-R$libdir'
7604 hardcode_shlibpath_var
=no
7608 if test "$GCC" = yes; then
7609 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'
7611 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'
7613 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7614 hardcode_libdir_separator
=:
7617 # hardcode_minus_L: Not really in the search PATH,
7618 # but as the default location of the library.
7619 hardcode_minus_L
=yes
7620 export_dynamic_flag_spec
='${wl}-E'
7624 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7627 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7630 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7636 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7639 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7643 if test "$with_gnu_ld" = no
; then
7646 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7647 hardcode_libdir_flag_spec_ld
='+b $libdir'
7648 hardcode_libdir_separator
=:
7650 hardcode_shlibpath_var
=no
7653 hardcode_libdir_flag_spec
='-L$libdir'
7655 hardcode_shlibpath_var
=no
7657 # hardcode_minus_L: Not really in the search PATH,
7658 # but as the default location of the library.
7659 hardcode_minus_L
=yes
7662 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7663 hardcode_libdir_separator
=:
7665 export_dynamic_flag_spec
='${wl}-E'
7667 # hardcode_minus_L: Not really in the search PATH,
7668 # but as the default location of the library.
7669 hardcode_minus_L
=yes
7675 irix5
* | irix6
* | nonstopux
*)
7676 if test "$GCC" = yes; then
7677 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'
7679 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'
7680 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7682 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7683 hardcode_libdir_separator
=:
7684 link_all_deplibs
=yes
7688 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7689 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7691 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7693 hardcode_libdir_flag_spec
='-R$libdir'
7695 hardcode_shlibpath_var
=no
7699 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7701 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7702 hardcode_libdir_separator
=:
7703 hardcode_shlibpath_var
=no
7708 hardcode_shlibpath_var
=no
7709 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7710 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7711 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7712 export_dynamic_flag_spec
='${wl}-E'
7715 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7716 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7717 hardcode_libdir_flag_spec
='-R$libdir'
7720 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7721 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7728 hardcode_libdir_flag_spec
='-L$libdir'
7729 hardcode_minus_L
=yes
7730 allow_undefined_flag
=unsupported
7731 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'
7732 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7736 if test "$GCC" = yes; then
7737 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7738 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'
7740 allow_undefined_flag
=' -expect_unresolved \*'
7741 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'
7743 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7744 hardcode_libdir_separator
=:
7747 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7748 if test "$GCC" = yes; then
7749 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7750 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'
7751 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7753 allow_undefined_flag
=' -expect_unresolved \*'
7754 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'
7755 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7756 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
7758 # Both c and cxx compiler support -rpath directly
7759 hardcode_libdir_flag_spec
='-rpath $libdir'
7761 hardcode_libdir_separator
=:
7765 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7766 hardcode_shlibpath_var
=no
7767 export_dynamic_flag_spec
='${wl}-Bexport'
7768 runpath_var
=LD_RUN_PATH
7769 hardcode_runpath_var
=yes
7773 no_undefined_flag
=' -z text'
7774 if test "$GCC" = yes; then
7775 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7776 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7777 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7779 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7780 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7781 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7783 hardcode_libdir_flag_spec
='-R$libdir'
7784 hardcode_shlibpath_var
=no
7786 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7787 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7788 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7790 link_all_deplibs
=yes
7794 if test "x$host_vendor" = xsequent
; then
7795 # Use $CC to link under sequent, because it throws in some extra .o
7796 # files that make .init and .fini sections work.
7797 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7799 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7801 hardcode_libdir_flag_spec
='-L$libdir'
7803 hardcode_minus_L
=yes
7804 hardcode_shlibpath_var
=no
7808 case $host_vendor in
7810 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7811 hardcode_direct
=yes # is this really true???
7814 ## LD is ld it makes a PLAMLIB
7815 ## CC just makes a GrossModule.
7816 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7817 reload_cmds
='$CC -r -o $output$reload_objs'
7821 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7822 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7825 runpath_var
='LD_RUN_PATH'
7826 hardcode_shlibpath_var
=no
7830 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7831 hardcode_shlibpath_var
=no
7832 export_dynamic_flag_spec
='-Bexport'
7836 if test -d /usr
/nec
; then
7837 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7838 hardcode_shlibpath_var
=no
7839 runpath_var
=LD_RUN_PATH
7840 hardcode_runpath_var
=yes
7846 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7849 hardcode_shlibpath_var
=no
7850 hardcode_runpath_var
=yes
7851 runpath_var
=LD_RUN_PATH
7854 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7855 no_undefined_flag
='${wl}-z ${wl}text'
7856 if test "$GCC" = yes; then
7857 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7859 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7861 runpath_var
='LD_RUN_PATH'
7862 hardcode_shlibpath_var
=no
7866 no_undefined_flag
=' -z text'
7867 # $CC -shared without GNU ld will not create a library from C++
7868 # object files and a static libstdc++, better avoid it by now
7869 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7870 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7871 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7872 hardcode_libdir_flag_spec
=
7873 hardcode_shlibpath_var
=no
7874 runpath_var
='LD_RUN_PATH'
7878 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7879 hardcode_libdir_flag_spec
='-L$libdir'
7880 hardcode_shlibpath_var
=no
7889 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7890 echo "${ECHO_T}$ld_shlibs" >&6
7891 test "$ld_shlibs" = no
&& can_build_shared
=no
7893 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7894 if test "$GCC" = yes; then
7895 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7899 # Do we need to explicitly link libc?
7901 case "x$archive_cmds_need_lc" in
7903 # Assume -lc should be added
7904 archive_cmds_need_lc
=yes
7906 if test "$enable_shared" = yes && test "$GCC" = yes; then
7907 case $archive_cmds in
7909 # FIXME: we may have to deal with multi-command sequences.
7912 # Test whether the compiler implicitly links with -lc since on some
7913 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7914 # to ld, don't add -lc before -lgcc.
7915 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7916 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7918 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7921 (eval $ac_compile) 2>&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); } 2>conftest.err
; then
7927 libobjs
=conftest.
$ac_objext
7929 wl
=$lt_prog_compiler_wl
7935 lt_save_allow_undefined_flag
=$allow_undefined_flag
7936 allow_undefined_flag
=
7937 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7938 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); }
7943 archive_cmds_need_lc
=no
7945 archive_cmds_need_lc
=yes
7947 allow_undefined_flag
=$lt_save_allow_undefined_flag
7949 cat conftest.err
1>&5
7952 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7953 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7960 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7961 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7963 if test -n "$hardcode_libdir_flag_spec" || \
7964 test -n "$runpath_var " || \
7965 test "X$hardcode_automatic"="Xyes" ; then
7967 # We can hardcode non-existant directories.
7968 if test "$hardcode_direct" != no
&&
7969 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7970 # have to relink, otherwise we might link with an installed library
7971 # when we should be linking with a yet-to-be-installed one
7972 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7973 test "$hardcode_minus_L" != no
; then
7974 # Linking always hardcodes the temporary library directory.
7975 hardcode_action
=relink
7977 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7978 hardcode_action
=immediate
7981 # We cannot hardcode anything, or else we can only hardcode existing
7983 hardcode_action
=unsupported
7985 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7986 echo "${ECHO_T}$hardcode_action" >&6
7988 if test "$hardcode_action" = relink
; then
7989 # Fast installation is not supported
7990 enable_fast_install
=no
7991 elif test "$shlibpath_overrides_runpath" = yes ||
7992 test "$enable_shared" = no
; then
7993 # Fast installation is not necessary
7994 enable_fast_install
=needless
7999 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8000 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8001 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8002 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8003 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8004 echo "$as_me:$LINENO: result: yes" >&5
8005 echo "${ECHO_T}yes" >&6
8007 # FIXME - insert some real tests, host_os isn't really good enough
8010 if test -n "$STRIP" ; then
8011 striplib
="$STRIP -x"
8012 echo "$as_me:$LINENO: result: yes" >&5
8013 echo "${ECHO_T}yes" >&6
8015 echo "$as_me:$LINENO: result: no" >&5
8016 echo "${ECHO_T}no" >&6
8020 echo "$as_me:$LINENO: result: no" >&5
8021 echo "${ECHO_T}no" >&6
8026 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8027 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8029 libname_spec
='lib$name'
8037 shlibpath_overrides_runpath
=unknown
8039 dynamic_linker
="$host_os ld.so"
8040 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8041 if test "$GCC" = yes; then
8042 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8043 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8044 # if the path contains ";" then we assume it to be the separator
8045 # otherwise default to the standard path separator (i.e. ":") - it is
8046 # assumed that no part of a normal pathname contains ";" but that should
8047 # okay in the real world where ";" in dirpaths is itself problematic.
8048 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8050 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8053 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8055 need_lib_prefix
=unknown
8056 hardcode_into_libs
=no
8058 # when you set need_version to no, make sure it does not cause -set_version
8059 # flags to be left without arguments
8060 need_version
=unknown
8065 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8066 shlibpath_var
=LIBPATH
8068 # AIX 3 has no versioning support, so we append a major version to the name.
8069 soname_spec
='${libname}${release}${shared_ext}$major'
8076 hardcode_into_libs
=yes
8077 if test "$host_cpu" = ia64
; then
8078 # AIX 5 supports IA64
8079 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8080 shlibpath_var
=LD_LIBRARY_PATH
8082 # With GCC up to 2.95.x, collect2 would create an import file
8083 # for dependence libraries. The import file would start with
8084 # the line `#! .'. This would cause the generated library to
8085 # depend on `.', always an invalid library. This was fixed in
8086 # development snapshots of GCC prior to 3.0.
8088 aix4 | aix4.
[01] | aix4.
[01].
*)
8089 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8091 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8098 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8099 # soname into executable. Probably we can add versioning support to
8100 # collect2, so additional links can be useful in future.
8101 if test "$aix_use_runtimelinking" = yes; then
8102 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8103 # instead of lib<name>.a to let people know that these are not
8104 # typical AIX shared libraries.
8105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8107 # We preserve .a as extension for shared libraries through AIX4.2
8108 # and later when we are not doing run time linking.
8109 library_names_spec
='${libname}${release}.a $libname.a'
8110 soname_spec
='${libname}${release}${shared_ext}$major'
8112 shlibpath_var
=LIBPATH
8117 library_names_spec
='$libname.ixlibrary $libname.a'
8118 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8119 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'
8123 library_names_spec
='${libname}${shared_ext}'
8124 dynamic_linker
="$host_os ld.so"
8125 shlibpath_var
=LIBRARY_PATH
8131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8132 soname_spec
='${libname}${release}${shared_ext}$major'
8133 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8134 shlibpath_var
=LD_LIBRARY_PATH
8135 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8136 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8137 # the default ld.so.conf also contains /usr/contrib/lib and
8138 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8139 # libtool to hard-code these into programs
8142 cygwin
* | mingw
* | pw32
*)
8143 version_type
=windows
8148 case $GCC,$host_os in
8149 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8150 library_names_spec
='$libname.dll.a'
8151 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8152 postinstall_cmds
='base_file=`basename \${file}`~
8153 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8154 dldir=$destdir/`dirname \$dlpath`~
8155 test -d \$dldir || mkdir -p \$dldir~
8156 $install_prog $dir/$dlname \$dldir/$dlname'
8157 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8158 dlpath=$dir/\$dldll~
8160 shlibpath_overrides_runpath
=yes
8164 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8165 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8166 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
8169 # MinGW DLLs use traditional 'lib' prefix
8170 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8171 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8172 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8173 # It is most probably a Windows format PATH printed by
8174 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8175 # path with ; separators, and with drive letters. We can handle the
8176 # drive letters (cygwin fileutils understands them), so leave them,
8177 # especially as we might pass files found there to a mingw objdump,
8178 # which wouldn't understand a cygwinified path. Ahh.
8179 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8181 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8185 # pw32 DLLs use 'pw' prefix rather than 'lib'
8186 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
8192 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8195 dynamic_linker
='Win32 ld.exe'
8196 # FIXME: first we should search . and the directory the executable is in
8200 darwin
* | rhapsody
*)
8201 dynamic_linker
="$host_os dyld"
8205 # FIXME: Relying on posixy $() will cause problems for
8206 # cross-compilation, but unfortunately the echo tests do not
8207 # yet detect zsh echo's removal of \ escapes.
8208 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8209 soname_spec
='${libname}${release}${major}$shared_ext'
8210 shlibpath_overrides_runpath
=yes
8211 shlibpath_var
=DYLD_LIBRARY_PATH
8212 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
8213 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8214 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
8215 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"`
8217 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8225 soname_spec
='${libname}${release}${shared_ext}$major'
8226 shlibpath_var
=LD_LIBRARY_PATH
8234 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8235 version_type
=freebsd-
$objformat
8236 case $version_type in
8238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8243 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8247 shlibpath_var
=LD_LIBRARY_PATH
8250 shlibpath_overrides_runpath
=yes
8252 freebsd3.01
* | freebsdelf3.01
*)
8253 shlibpath_overrides_runpath
=yes
8254 hardcode_into_libs
=yes
8257 shlibpath_overrides_runpath
=no
8258 hardcode_into_libs
=yes
8267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8268 soname_spec
='${libname}${release}${shared_ext}$major'
8269 shlibpath_var
=LD_LIBRARY_PATH
8270 hardcode_into_libs
=yes
8273 hpux9
* | hpux10
* | hpux11
*)
8274 # Give a soname corresponding to the major version so that dld.sl refuses to
8275 # link against other versions.
8282 hardcode_into_libs
=yes
8283 dynamic_linker
="$host_os dld.so"
8284 shlibpath_var
=LD_LIBRARY_PATH
8285 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8287 soname_spec
='${libname}${release}${shared_ext}$major'
8288 if test "X$HPUX_IA64_MODE" = X32
; then
8289 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8291 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8293 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8297 hardcode_into_libs
=yes
8298 dynamic_linker
="$host_os dld.sl"
8299 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8300 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8302 soname_spec
='${libname}${release}${shared_ext}$major'
8303 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8304 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8308 dynamic_linker
="$host_os dld.sl"
8309 shlibpath_var
=SHLIB_PATH
8310 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8312 soname_spec
='${libname}${release}${shared_ext}$major'
8315 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8316 postinstall_cmds
='chmod 555 $lib'
8319 irix5
* | irix6
* | nonstopux
*)
8321 nonstopux
*) version_type
=nonstopux
;;
8323 if test "$lt_cv_prog_gnu_ld" = yes; then
8331 soname_spec
='${libname}${release}${shared_ext}$major'
8332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8334 irix5
* | nonstopux
*)
8338 case $LD in # libtool.m4 will add one of these switches to LD
8339 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8340 libsuff
= shlibsuff
= libmagic
=32-bit;;
8341 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8342 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8343 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8344 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8345 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8349 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8350 shlibpath_overrides_runpath
=no
8351 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8352 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8353 hardcode_into_libs
=yes
8356 # No shared lib support for Linux oldld, aout, or coff.
8357 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8361 # This must be Linux ELF.
8366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8367 soname_spec
='${libname}${release}${shared_ext}$major'
8368 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8369 shlibpath_var
=LD_LIBRARY_PATH
8370 shlibpath_overrides_runpath
=no
8371 # This implies no fast_install, which is unacceptable.
8372 # Some rework will be needed to allow for fast_install
8373 # before this can be enabled.
8374 hardcode_into_libs
=yes
8376 # We used to test for /lib/ld.so.1 and disable shared libraries on
8377 # powerpc, because MkLinux only supported shared libraries with the
8378 # GNU dynamic linker. Since this was broken with cross compilers,
8379 # most powerpc-linux boxes support dynamic linking these days and
8380 # people can always --disable-shared, the test was removed, and we
8381 # assume the GNU/Linux dynamic linker is in use.
8382 dynamic_linker
='GNU/Linux ld.so'
8389 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8391 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8392 dynamic_linker
='NetBSD (a.out) ld.so'
8394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
8395 soname_spec
='${libname}${release}${shared_ext}$major'
8396 dynamic_linker
='NetBSD ld.elf_so'
8398 shlibpath_var
=LD_LIBRARY_PATH
8399 shlibpath_overrides_runpath
=yes
8400 hardcode_into_libs
=yes
8405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8406 shlibpath_var
=LD_LIBRARY_PATH
8407 shlibpath_overrides_runpath
=yes
8414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8415 soname_spec
='${libname}${release}${shared_ext}$major'
8416 shlibpath_var
=LD_LIBRARY_PATH
8417 shlibpath_overrides_runpath
=yes
8424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8425 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8426 shlibpath_var
=LD_LIBRARY_PATH
8427 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8429 openbsd2.
[89] | openbsd2.
[89].
*)
8430 shlibpath_overrides_runpath
=no
8433 shlibpath_overrides_runpath
=yes
8437 shlibpath_overrides_runpath
=yes
8442 libname_spec
='$name'
8445 library_names_spec
='$libname${shared_ext} $libname.a'
8446 dynamic_linker
='OS/2 ld.exe'
8447 shlibpath_var
=LIBPATH
8450 osf3
* | osf4
* | osf5
*)
8454 soname_spec
='${libname}${release}${shared_ext}$major'
8455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8456 shlibpath_var
=LD_LIBRARY_PATH
8457 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8458 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8463 soname_spec
='${libname}${release}${shared_ext}$major'
8464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8465 shlibpath_var
=LD_LIBRARY_PATH
8472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8473 soname_spec
='${libname}${release}${shared_ext}$major'
8474 shlibpath_var
=LD_LIBRARY_PATH
8475 shlibpath_overrides_runpath
=yes
8476 hardcode_into_libs
=yes
8477 # ldd complains unless libraries are executable
8478 postinstall_cmds
='chmod +x $lib'
8483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8484 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8485 shlibpath_var
=LD_LIBRARY_PATH
8486 shlibpath_overrides_runpath
=yes
8487 if test "$with_gnu_ld" = yes; then
8493 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8496 soname_spec
='${libname}${release}${shared_ext}$major'
8497 shlibpath_var
=LD_LIBRARY_PATH
8498 case $host_vendor in
8500 shlibpath_overrides_runpath
=no
8502 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8503 runpath_var
=LD_RUN_PATH
8511 shlibpath_overrides_runpath
=no
8512 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8518 if test -d /usr
/nec
;then
8520 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8521 soname_spec
='$libname${shared_ext}.$major'
8522 shlibpath_var
=LD_LIBRARY_PATH
8528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8529 soname_spec
='${libname}${release}${shared_ext}$major'
8530 shlibpath_var
=LD_LIBRARY_PATH
8537 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8538 echo "${ECHO_T}$dynamic_linker" >&6
8539 test "$dynamic_linker" = no
&& can_build_shared
=no
8541 if test "x$enable_dlopen" != xyes
; then
8542 enable_dlopen
=unknown
8543 enable_dlopen_self
=unknown
8544 enable_dlopen_self_static
=unknown
8551 lt_cv_dlopen
="load_add_on"
8553 lt_cv_dlopen_self
=yes
8557 lt_cv_dlopen
="LoadLibrary"
8562 lt_cv_dlopen
="dlopen"
8567 # if libdl is installed we need to link against it
8568 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8569 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8570 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8571 echo $ECHO_N "(cached) $ECHO_C" >&6
8573 ac_check_lib_save_LIBS
=$LIBS
8575 cat >conftest.
$ac_ext <<_ACEOF
8578 cat confdefs.h
>>conftest.
$ac_ext
8579 cat >>conftest.
$ac_ext <<_ACEOF
8580 /* end confdefs.h. */
8582 /* Override any gcc2 internal prototype to avoid an error. */
8586 /* We use char because int might match the return type of a gcc2
8587 builtin and then its argument prototype would still apply. */
8597 rm -f conftest.
$ac_objext conftest
$ac_exeext
8598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8599 (eval $ac_link) 2>conftest.er1
8601 grep -v '^ *+' conftest.er1
>conftest.err
8603 cat conftest.err
>&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); } &&
8606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }; } &&
8612 { ac_try
='test -s conftest$ac_exeext'
8613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; }; then
8618 ac_cv_lib_dl_dlopen
=yes
8620 echo "$as_me: failed program was:" >&5
8621 sed 's/^/| /' conftest.
$ac_ext >&5
8623 ac_cv_lib_dl_dlopen
=no
8625 rm -f conftest.err conftest.
$ac_objext \
8626 conftest
$ac_exeext conftest.
$ac_ext
8627 LIBS
=$ac_check_lib_save_LIBS
8629 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8630 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8631 if test $ac_cv_lib_dl_dlopen = yes; then
8632 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8637 lt_cv_dlopen_self
=yes
8644 echo "$as_me:$LINENO: checking for shl_load" >&5
8645 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8646 if test "${ac_cv_func_shl_load+set}" = set; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8649 cat >conftest.
$ac_ext <<_ACEOF
8652 cat confdefs.h
>>conftest.
$ac_ext
8653 cat >>conftest.
$ac_ext <<_ACEOF
8654 /* end confdefs.h. */
8655 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8657 #define shl_load innocuous_shl_load
8659 /* System header to define __stub macros and hopefully few prototypes,
8660 which can conflict with char shl_load (); below.
8661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8662 <limits.h> exists even on freestanding compilers. */
8665 # include <limits.h>
8667 # include <assert.h>
8672 /* Override any gcc2 internal prototype to avoid an error. */
8677 /* We use char because int might match the return type of a gcc2
8678 builtin and then its argument prototype would still apply. */
8680 /* The GNU C library defines this for functions which it implements
8681 to always fail with ENOSYS. Some functions are actually named
8682 something starting with __ and the normal name is an alias. */
8683 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8686 char (*f) () = shl_load;
8695 return f != shl_load;
8700 rm -f conftest.
$ac_objext conftest
$ac_exeext
8701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8702 (eval $ac_link) 2>conftest.er1
8704 grep -v '^ *+' conftest.er1
>conftest.err
8706 cat conftest.err
>&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); } &&
8709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); }; } &&
8715 { ac_try
='test -s conftest$ac_exeext'
8716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); }; }; then
8721 ac_cv_func_shl_load
=yes
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.
$ac_ext >&5
8726 ac_cv_func_shl_load
=no
8728 rm -f conftest.err conftest.
$ac_objext \
8729 conftest
$ac_exeext conftest.
$ac_ext
8731 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8732 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8733 if test $ac_cv_func_shl_load = yes; then
8734 lt_cv_dlopen
="shl_load"
8736 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8737 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8738 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8739 echo $ECHO_N "(cached) $ECHO_C" >&6
8741 ac_check_lib_save_LIBS
=$LIBS
8743 cat >conftest.
$ac_ext <<_ACEOF
8746 cat confdefs.h
>>conftest.
$ac_ext
8747 cat >>conftest.
$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8750 /* Override any gcc2 internal prototype to avoid an error. */
8754 /* We use char because int might match the return type of a gcc2
8755 builtin and then its argument prototype would still apply. */
8765 rm -f conftest.
$ac_objext conftest
$ac_exeext
8766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8767 (eval $ac_link) 2>conftest.er1
8769 grep -v '^ *+' conftest.er1
>conftest.err
8771 cat conftest.err
>&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } &&
8774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); }; } &&
8780 { ac_try
='test -s conftest$ac_exeext'
8781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); }; }; then
8786 ac_cv_lib_dld_shl_load
=yes
8788 echo "$as_me: failed program was:" >&5
8789 sed 's/^/| /' conftest.
$ac_ext >&5
8791 ac_cv_lib_dld_shl_load
=no
8793 rm -f conftest.err conftest.
$ac_objext \
8794 conftest
$ac_exeext conftest.
$ac_ext
8795 LIBS
=$ac_check_lib_save_LIBS
8797 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8798 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8799 if test $ac_cv_lib_dld_shl_load = yes; then
8800 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8802 echo "$as_me:$LINENO: checking for dlopen" >&5
8803 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8804 if test "${ac_cv_func_dlopen+set}" = set; then
8805 echo $ECHO_N "(cached) $ECHO_C" >&6
8807 cat >conftest.
$ac_ext <<_ACEOF
8810 cat confdefs.h
>>conftest.
$ac_ext
8811 cat >>conftest.
$ac_ext <<_ACEOF
8812 /* end confdefs.h. */
8813 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8815 #define dlopen innocuous_dlopen
8817 /* System header to define __stub macros and hopefully few prototypes,
8818 which can conflict with char dlopen (); below.
8819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8820 <limits.h> exists even on freestanding compilers. */
8823 # include <limits.h>
8825 # include <assert.h>
8830 /* Override any gcc2 internal prototype to avoid an error. */
8835 /* We use char because int might match the return type of a gcc2
8836 builtin and then its argument prototype would still apply. */
8838 /* The GNU C library defines this for functions which it implements
8839 to always fail with ENOSYS. Some functions are actually named
8840 something starting with __ and the normal name is an alias. */
8841 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8844 char (*f) () = dlopen;
8858 rm -f conftest.
$ac_objext conftest
$ac_exeext
8859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8860 (eval $ac_link) 2>conftest.er1
8862 grep -v '^ *+' conftest.er1
>conftest.err
8864 cat conftest.err
>&5
8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 (exit $ac_status); } &&
8867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872 (exit $ac_status); }; } &&
8873 { ac_try
='test -s conftest$ac_exeext'
8874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); }; }; then
8879 ac_cv_func_dlopen
=yes
8881 echo "$as_me: failed program was:" >&5
8882 sed 's/^/| /' conftest.
$ac_ext >&5
8884 ac_cv_func_dlopen
=no
8886 rm -f conftest.err conftest.
$ac_objext \
8887 conftest
$ac_exeext conftest.
$ac_ext
8889 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8890 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8891 if test $ac_cv_func_dlopen = yes; then
8892 lt_cv_dlopen
="dlopen"
8894 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8895 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8897 echo $ECHO_N "(cached) $ECHO_C" >&6
8899 ac_check_lib_save_LIBS
=$LIBS
8901 cat >conftest.
$ac_ext <<_ACEOF
8904 cat confdefs.h
>>conftest.
$ac_ext
8905 cat >>conftest.
$ac_ext <<_ACEOF
8906 /* end confdefs.h. */
8908 /* Override any gcc2 internal prototype to avoid an error. */
8912 /* We use char because int might match the return type of a gcc2
8913 builtin and then its argument prototype would still apply. */
8923 rm -f conftest.
$ac_objext conftest
$ac_exeext
8924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8925 (eval $ac_link) 2>conftest.er1
8927 grep -v '^ *+' conftest.er1
>conftest.err
8929 cat conftest.err
>&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); } &&
8932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8937 (exit $ac_status); }; } &&
8938 { ac_try
='test -s conftest$ac_exeext'
8939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943 (exit $ac_status); }; }; then
8944 ac_cv_lib_dl_dlopen
=yes
8946 echo "$as_me: failed program was:" >&5
8947 sed 's/^/| /' conftest.
$ac_ext >&5
8949 ac_cv_lib_dl_dlopen
=no
8951 rm -f conftest.err conftest.
$ac_objext \
8952 conftest
$ac_exeext conftest.
$ac_ext
8953 LIBS
=$ac_check_lib_save_LIBS
8955 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8956 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8957 if test $ac_cv_lib_dl_dlopen = yes; then
8958 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8960 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8961 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8962 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8963 echo $ECHO_N "(cached) $ECHO_C" >&6
8965 ac_check_lib_save_LIBS
=$LIBS
8967 cat >conftest.
$ac_ext <<_ACEOF
8970 cat confdefs.h
>>conftest.
$ac_ext
8971 cat >>conftest.
$ac_ext <<_ACEOF
8972 /* end confdefs.h. */
8974 /* Override any gcc2 internal prototype to avoid an error. */
8978 /* We use char because int might match the return type of a gcc2
8979 builtin and then its argument prototype would still apply. */
8989 rm -f conftest.
$ac_objext conftest
$ac_exeext
8990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8991 (eval $ac_link) 2>conftest.er1
8993 grep -v '^ *+' conftest.er1
>conftest.err
8995 cat conftest.err
>&5
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); } &&
8998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 (exit $ac_status); }; } &&
9004 { ac_try
='test -s conftest$ac_exeext'
9005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); }; }; then
9010 ac_cv_lib_svld_dlopen
=yes
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.
$ac_ext >&5
9015 ac_cv_lib_svld_dlopen
=no
9017 rm -f conftest.err conftest.
$ac_objext \
9018 conftest
$ac_exeext conftest.
$ac_ext
9019 LIBS
=$ac_check_lib_save_LIBS
9021 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9022 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9023 if test $ac_cv_lib_svld_dlopen = yes; then
9024 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9026 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9027 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9028 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9029 echo $ECHO_N "(cached) $ECHO_C" >&6
9031 ac_check_lib_save_LIBS
=$LIBS
9033 cat >conftest.
$ac_ext <<_ACEOF
9036 cat confdefs.h
>>conftest.
$ac_ext
9037 cat >>conftest.
$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9040 /* Override any gcc2 internal prototype to avoid an error. */
9044 /* We use char because int might match the return type of a gcc2
9045 builtin and then its argument prototype would still apply. */
9055 rm -f conftest.
$ac_objext conftest
$ac_exeext
9056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9057 (eval $ac_link) 2>conftest.er1
9059 grep -v '^ *+' conftest.er1
>conftest.err
9061 cat conftest.err
>&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); } &&
9064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); }; } &&
9070 { ac_try
='test -s conftest$ac_exeext'
9071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); }; }; then
9076 ac_cv_lib_dld_dld_link
=yes
9078 echo "$as_me: failed program was:" >&5
9079 sed 's/^/| /' conftest.
$ac_ext >&5
9081 ac_cv_lib_dld_dld_link
=no
9083 rm -f conftest.err conftest.
$ac_objext \
9084 conftest
$ac_exeext conftest.
$ac_ext
9085 LIBS
=$ac_check_lib_save_LIBS
9087 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9088 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9089 if test $ac_cv_lib_dld_dld_link = yes; then
9090 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9111 if test "x$lt_cv_dlopen" != xno
; then
9117 case $lt_cv_dlopen in
9119 save_CPPFLAGS
="$CPPFLAGS"
9120 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9122 save_LDFLAGS
="$LDFLAGS"
9123 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9126 LIBS
="$lt_cv_dlopen_libs $LIBS"
9128 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9129 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9130 if test "${lt_cv_dlopen_self+set}" = set; then
9131 echo $ECHO_N "(cached) $ECHO_C" >&6
9133 if test "$cross_compiling" = yes; then :
9134 lt_cv_dlopen_self
=cross
9136 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9137 lt_status
=$lt_dlunknown
9138 cat > conftest.
$ac_ext <<EOF
9139 #line 9139 "configure"
9140 #include "confdefs.h"
9149 # define LT_DLGLOBAL RTLD_GLOBAL
9152 # define LT_DLGLOBAL DL_GLOBAL
9154 # define LT_DLGLOBAL 0
9158 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9159 find out it does not work in some platform. */
9160 #ifndef LT_DLLAZY_OR_NOW
9162 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9165 # define LT_DLLAZY_OR_NOW DL_LAZY
9168 # define LT_DLLAZY_OR_NOW RTLD_NOW
9171 # define LT_DLLAZY_OR_NOW DL_NOW
9173 # define LT_DLLAZY_OR_NOW 0
9181 extern "C" void exit (int);
9184 void fnord() { int i=42;}
9187 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9188 int status = $lt_dlunknown;
9192 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9193 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9194 /* dlclose (self); */
9200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9201 (eval $ac_link) 2>&5
9203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9205 (.
/conftest
; exit; ) 2>/dev
/null
9208 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9209 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9210 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
9213 # compilation failed
9214 lt_cv_dlopen_self
=no
9221 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9222 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9224 if test "x$lt_cv_dlopen_self" = xyes
; then
9225 LDFLAGS
="$LDFLAGS $link_static_flag"
9226 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9227 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9228 if test "${lt_cv_dlopen_self_static+set}" = set; then
9229 echo $ECHO_N "(cached) $ECHO_C" >&6
9231 if test "$cross_compiling" = yes; then :
9232 lt_cv_dlopen_self_static
=cross
9234 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9235 lt_status
=$lt_dlunknown
9236 cat > conftest.
$ac_ext <<EOF
9237 #line 9237 "configure"
9238 #include "confdefs.h"
9247 # define LT_DLGLOBAL RTLD_GLOBAL
9250 # define LT_DLGLOBAL DL_GLOBAL
9252 # define LT_DLGLOBAL 0
9256 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9257 find out it does not work in some platform. */
9258 #ifndef LT_DLLAZY_OR_NOW
9260 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9263 # define LT_DLLAZY_OR_NOW DL_LAZY
9266 # define LT_DLLAZY_OR_NOW RTLD_NOW
9269 # define LT_DLLAZY_OR_NOW DL_NOW
9271 # define LT_DLLAZY_OR_NOW 0
9279 extern "C" void exit (int);
9282 void fnord() { int i=42;}
9285 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9286 int status = $lt_dlunknown;
9290 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9291 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9292 /* dlclose (self); */
9298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9299 (eval $ac_link) 2>&5
9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9303 (.
/conftest
; exit; ) 2>/dev
/null
9306 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9307 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9308 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
9311 # compilation failed
9312 lt_cv_dlopen_self_static
=no
9319 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9320 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9323 CPPFLAGS
="$save_CPPFLAGS"
9324 LDFLAGS
="$save_LDFLAGS"
9329 case $lt_cv_dlopen_self in
9330 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9331 *) enable_dlopen_self
=unknown
;;
9334 case $lt_cv_dlopen_self_static in
9335 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9336 *) enable_dlopen_self_static
=unknown
;;
9341 # Report which librarie types wil actually be built
9342 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9343 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9344 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9345 echo "${ECHO_T}$can_build_shared" >&6
9347 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9348 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9349 test "$can_build_shared" = "no" && enable_shared
=no
9351 # On AIX, shared libraries and static libraries use the same namespace, and
9352 # are all built from PIC.
9355 test "$enable_shared" = yes && enable_static
=no
9356 if test -n "$RANLIB"; then
9357 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9358 postinstall_cmds
='$RANLIB $lib'
9363 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9364 test "$enable_shared" = yes && enable_static
=no
9367 darwin
* | rhapsody
*)
9368 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
9369 archive_cmds_need_lc
=no
9371 rhapsody
* | darwin1.
[012])
9372 allow_undefined_flag
='-undefined suppress'
9375 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag
='-flat_namespace -undefined suppress'
9378 # FIXME: Relying on posixy $() will cause problems for
9379 # cross-compilation, but unfortunately the echo tests do not
9380 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
9381 # `"' quotes if we put them in here... so don't!
9382 output_verbose_link_cmd
='echo'
9383 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9384 module_cmds
='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9385 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9386 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}'
9387 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9389 hardcode_automatic
=yes
9390 hardcode_shlibpath_var
=unsupported
9391 whole_archive_flag_spec
='-all_load $convenience'
9392 link_all_deplibs
=yes
9396 echo "$as_me:$LINENO: result: $enable_shared" >&5
9397 echo "${ECHO_T}$enable_shared" >&6
9399 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9400 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9401 # Make sure either enable_shared or enable_static is yes.
9402 test "$enable_shared" = yes || enable_static
=yes
9403 echo "$as_me:$LINENO: result: $enable_static" >&5
9404 echo "${ECHO_T}$enable_static" >&6
9406 # The else clause should only fire when bootstrapping the
9407 # libtool distribution, otherwise you forgot to ship ltmain.sh
9408 # with your package, and you will get complaints that there are
9409 # no rules to generate ltmain.sh.
9410 if test -f "$ltmain"; then
9411 # See if we are running on zsh, and set the options which allow our commands through
9412 # without removal of \ escapes.
9413 if test -n "${ZSH_VERSION+set}" ; then
9414 setopt NO_GLOB_SUBST
9416 # Now quote all the things that may contain metacharacters while being
9417 # careful not to overquote the AC_SUBSTed values. We take copies of the
9418 # variables and quote the copies for generation of the libtool script.
9419 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
9420 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9421 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9422 deplibs_check_method reload_flag reload_cmds need_locks \
9423 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9424 lt_cv_sys_global_symbol_to_c_name_address \
9425 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9426 old_postinstall_cmds old_postuninstall_cmds \
9430 lt_prog_compiler_wl \
9431 lt_prog_compiler_pic \
9432 lt_prog_compiler_static \
9433 lt_prog_compiler_no_builtin_flag \
9434 export_dynamic_flag_spec \
9435 thread_safe_flag_spec \
9436 whole_archive_flag_spec \
9437 enable_shared_with_static_runtimes \
9439 old_archive_from_new_cmds \
9444 compiler_lib_search_path \
9446 archive_expsym_cmds \
9448 postuninstall_cmds \
9449 old_archive_from_expsyms_cmds \
9450 allow_undefined_flag \
9452 export_symbols_cmds \
9453 hardcode_libdir_flag_spec \
9454 hardcode_libdir_flag_spec_ld \
9455 hardcode_libdir_separator \
9456 hardcode_automatic \
9458 module_expsym_cmds \
9459 lt_cv_prog_compiler_c_o \
9464 old_archive_cmds | \
9465 old_archive_from_new_cmds | \
9467 archive_expsym_cmds | \
9469 module_expsym_cmds | \
9470 old_archive_from_expsyms_cmds | \
9471 export_symbols_cmds | \
9472 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9473 postinstall_cmds | postuninstall_cmds | \
9474 old_postinstall_cmds | old_postuninstall_cmds | \
9475 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9476 # Double-quote double-evaled strings.
9477 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9480 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9486 *'\$0 --fallback-echo"')
9487 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9492 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9494 { echo "$as_me:$LINENO: creating $ofile" >&5
9495 echo "$as_me: creating $ofile" >&6;}
9497 cat <<__EOF__ >> "$cfgfile"
9500 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9501 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9502 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9504 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9505 # Free Software Foundation, Inc.
9507 # This file is part of GNU Libtool:
9508 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9510 # This program is free software; you can redistribute it and/or modify
9511 # it under the terms of the GNU General Public License as published by
9512 # the Free Software Foundation; either version 2 of the License, or
9513 # (at your option) any later version.
9515 # This program is distributed in the hope that it will be useful, but
9516 # WITHOUT ANY WARRANTY; without even the implied warranty of
9517 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9518 # General Public License for more details.
9520 # You should have received a copy of the GNU General Public License
9521 # along with this program; if not, write to the Free Software
9522 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9524 # As a special exception to the GNU General Public License, if you
9525 # distribute this file as part of a program that contains a
9526 # configuration script generated by Autoconf, you may include it under
9527 # the same distribution terms that you use for the rest of that program.
9529 # A sed program that does not truncate output.
9532 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9533 Xsed="$SED -e s/^X//"
9535 # The HP-UX ksh and POSIX shell print the target directory to stdout
9537 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9539 # The names of the tagged configurations supported by this script.
9542 # ### BEGIN LIBTOOL CONFIG
9544 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9546 # Shell to use when invoking shell scripts.
9549 # Whether or not to build shared libraries.
9550 build_libtool_libs=$enable_shared
9552 # Whether or not to build static libraries.
9553 build_old_libs=$enable_static
9555 # Whether or not to add -lc for building shared libraries.
9556 build_libtool_need_lc=$archive_cmds_need_lc
9558 # Whether or not to disallow shared libs when runtime libs are static
9559 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9561 # Whether or not to optimize for fast installation.
9562 fast_install=$enable_fast_install
9565 host_alias=$host_alias
9568 # An echo program that does not interpret backslashes.
9573 AR_FLAGS=$lt_AR_FLAGS
9578 # A language-specific compiler.
9581 # Is the compiler the GNU C compiler?
9587 # The linker used to build libraries.
9590 # Whether we need hard or soft links.
9593 # A BSD-compatible nm program.
9596 # A symbol stripping program
9599 # Used to examine libraries when file_magic_cmd begins "file"
9600 MAGIC_CMD=$MAGIC_CMD
9602 # Used on cygwin: DLL creation program.
9605 # Used on cygwin: object dumper.
9608 # Used on cygwin: assembler.
9611 # The name of the directory that contains temporary libtool files.
9614 # How to create reloadable object files.
9615 reload_flag=$lt_reload_flag
9616 reload_cmds=$lt_reload_cmds
9618 # How to pass a linker flag through the compiler.
9619 wl=$lt_lt_prog_compiler_wl
9621 # Object file suffix (normally "o").
9624 # Old archive suffix (normally "a").
9627 # Shared library suffix (normally ".so").
9630 # Executable file suffix (normally "").
9633 # Additional compiler flags for building library objects.
9634 pic_flag=$lt_lt_prog_compiler_pic
9637 # What is the maximum length of a command?
9638 max_cmd_len=$lt_cv_sys_max_cmd_len
9640 # Does compiler simultaneously support -c and -o options?
9641 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9643 # Must we lock files when doing compilation ?
9644 need_locks=$lt_need_locks
9646 # Do we need the lib prefix for modules?
9647 need_lib_prefix=$need_lib_prefix
9649 # Do we need a version for libraries?
9650 need_version=$need_version
9652 # Whether dlopen is supported.
9653 dlopen_support=$enable_dlopen
9655 # Whether dlopen of programs is supported.
9656 dlopen_self=$enable_dlopen_self
9658 # Whether dlopen of statically linked programs is supported.
9659 dlopen_self_static=$enable_dlopen_self_static
9661 # Compiler flag to prevent dynamic linking.
9662 link_static_flag=$lt_lt_prog_compiler_static
9664 # Compiler flag to turn off builtin functions.
9665 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9667 # Compiler flag to allow reflexive dlopens.
9668 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9670 # Compiler flag to generate shared objects directly from archives.
9671 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9673 # Compiler flag to generate thread-safe objects.
9674 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9676 # Library versioning type.
9677 version_type=$version_type
9679 # Format of library name prefix.
9680 libname_spec=$lt_libname_spec
9682 # List of archive names. First name is the real one, the rest are links.
9683 # The last name is the one that the linker finds with -lNAME.
9684 library_names_spec=$lt_library_names_spec
9686 # The coded name of the library, if different from the real name.
9687 soname_spec=$lt_soname_spec
9689 # Commands used to build and install an old-style archive.
9691 old_archive_cmds=$lt_old_archive_cmds
9692 old_postinstall_cmds=$lt_old_postinstall_cmds
9693 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9695 # Create an old-style archive from a shared archive.
9696 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9698 # Create a temporary old-style archive to link instead of a shared archive.
9699 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9701 # Commands used to build and install a shared archive.
9702 archive_cmds=$lt_archive_cmds
9703 archive_expsym_cmds=$lt_archive_expsym_cmds
9704 postinstall_cmds=$lt_postinstall_cmds
9705 postuninstall_cmds=$lt_postuninstall_cmds
9707 # Commands used to build a loadable module (assumed same as above if empty)
9708 module_cmds=$lt_module_cmds
9709 module_expsym_cmds=$lt_module_expsym_cmds
9711 # Commands to strip libraries.
9712 old_striplib=$lt_old_striplib
9713 striplib=$lt_striplib
9715 # Dependencies to place before the objects being linked to create a
9717 predep_objects=$lt_predep_objects
9719 # Dependencies to place after the objects being linked to create a
9721 postdep_objects=$lt_postdep_objects
9723 # Dependencies to place before the objects being linked to create a
9727 # Dependencies to place after the objects being linked to create a
9729 postdeps=$lt_postdeps
9731 # The library search path used internally by the compiler when linking
9733 compiler_lib_search_path=$lt_compiler_lib_search_path
9735 # Method to check whether dependent libraries are shared objects.
9736 deplibs_check_method=$lt_deplibs_check_method
9738 # Command to use when deplibs_check_method == file_magic.
9739 file_magic_cmd=$lt_file_magic_cmd
9741 # Flag that allows shared libraries with undefined symbols to be built.
9742 allow_undefined_flag=$lt_allow_undefined_flag
9744 # Flag that forces no undefined symbols.
9745 no_undefined_flag=$lt_no_undefined_flag
9747 # Commands used to finish a libtool library installation in a directory.
9748 finish_cmds=$lt_finish_cmds
9750 # Same as above, but a single script fragment to be evaled but not shown.
9751 finish_eval=$lt_finish_eval
9753 # Take the output of nm and produce a listing of raw symbols and C names.
9754 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9756 # Transform the output of nm in a proper C declaration
9757 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9759 # Transform the output of nm in a C name address pair
9760 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9762 # This is the shared library runtime path variable.
9763 runpath_var=$runpath_var
9765 # This is the shared library path variable.
9766 shlibpath_var=$shlibpath_var
9768 # Is shlibpath searched before the hard-coded library search path?
9769 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9771 # How to hardcode a shared library path into an executable.
9772 hardcode_action=$hardcode_action
9774 # Whether we should hardcode library paths into libraries.
9775 hardcode_into_libs=$hardcode_into_libs
9777 # Flag to hardcode \$libdir into a binary during linking.
9778 # This must work even if \$libdir does not exist.
9779 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9781 # If ld is used when linking, flag to hardcode \$libdir into
9782 # a binary during linking. This must work even if \$libdir does
9784 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9786 # Whether we need a single -rpath flag with a separated argument.
9787 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9789 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9791 hardcode_direct=$hardcode_direct
9793 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9795 hardcode_minus_L=$hardcode_minus_L
9797 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9798 # the resulting binary.
9799 hardcode_shlibpath_var=$hardcode_shlibpath_var
9801 # Set to yes if building a shared library automatically hardcodes DIR into the library
9802 # and all subsequent libraries and executables linked against it.
9803 hardcode_automatic=$hardcode_automatic
9805 # Variables whose values should be saved in libtool wrapper scripts and
9806 # restored at relink time.
9807 variables_saved_for_relink="$variables_saved_for_relink"
9809 # Whether libtool must link a program against all its dependency libraries.
9810 link_all_deplibs=$link_all_deplibs
9812 # Compile-time system search path for libraries
9813 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9815 # Run-time system search path for libraries
9816 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9818 # Fix the shell variable \$srcfile for the compiler.
9819 fix_srcfile_path="$fix_srcfile_path"
9821 # Set to yes if exported symbols are required.
9822 always_export_symbols=$always_export_symbols
9824 # The commands to list exported symbols.
9825 export_symbols_cmds=$lt_export_symbols_cmds
9827 # The commands to extract the exported symbol list from a shared archive.
9828 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9830 # Symbols that should not be listed in the preloaded symbols.
9831 exclude_expsyms=$lt_exclude_expsyms
9833 # Symbols that must always be exported.
9834 include_expsyms=$lt_include_expsyms
9836 # ### END LIBTOOL CONFIG
9843 cat <<\EOF
>> "$cfgfile"
9845 # AIX sometimes has problems with the GCC collect2 program. For some
9846 # reason, if we set the COLLECT_NAMES environment variable, the problems
9847 # vanish in a puff of smoke.
9848 if test "X${COLLECT_NAMES+set}" != Xset
; then
9850 export COLLECT_NAMES
9856 # We use sed instead of cat because bash on DJGPP gets confused if
9857 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9858 # text mode, it properly converts lines to CR/LF. This bash problem
9859 # is reportedly fixed, but why not run on old versions too?
9860 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9862 mv -f "$cfgfile" "$ofile" || \
9863 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9867 # If there is no Makefile yet, we rely on a make rule to execute
9868 # `config.status --recheck' to rerun these tests and create the
9869 # libtool script then.
9870 test -f Makefile
&& make "$ltmain"
9875 ac_cpp
='$CPP $CPPFLAGS'
9876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9883 # Check whether --with-tags or --without-tags was given.
9884 if test "${with_tags+set}" = set; then
9885 withval
="$with_tags"
9889 if test -f "$ltmain" && test -n "$tagnames"; then
9890 if test ! -f "${ofile}"; then
9891 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9892 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9895 if test -z "$LTCC"; then
9896 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9897 if test -z "$LTCC"; then
9898 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9899 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9901 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9902 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9906 # Extract list of available tagged configurations in $ofile.
9907 # Note that this assumes the entire list is on one line.
9908 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9910 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9911 for tagname
in $tagnames; do
9913 # Check whether tagname contains only valid characters
9914 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9916 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9917 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9918 { (exit 1); exit 1; }; }
9922 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9924 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9925 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9926 { (exit 1); exit 1; }; }
9929 # Update the list of available tags.
9930 if test -n "$tagname"; then
9931 echo appending configuration tag
\"$tagname\" to
$ofile
9935 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9937 ac_cpp
='$CXXCPP $CPPFLAGS'
9938 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9939 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9940 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9945 archive_cmds_need_lc_CXX
=no
9946 allow_undefined_flag_CXX
=
9947 always_export_symbols_CXX
=no
9948 archive_expsym_cmds_CXX
=
9949 export_dynamic_flag_spec_CXX
=
9950 hardcode_direct_CXX
=no
9951 hardcode_libdir_flag_spec_CXX
=
9952 hardcode_libdir_flag_spec_ld_CXX
=
9953 hardcode_libdir_separator_CXX
=
9954 hardcode_minus_L_CXX
=no
9955 hardcode_automatic_CXX
=no
9957 module_expsym_cmds_CXX
=
9958 link_all_deplibs_CXX
=unknown
9959 old_archive_cmds_CXX
=$old_archive_cmds
9960 no_undefined_flag_CXX
=
9961 whole_archive_flag_spec_CXX
=
9962 enable_shared_with_static_runtimes_CXX
=no
9964 # Dependencies to place before and after the object being linked:
9966 postdep_objects_CXX
=
9969 compiler_lib_search_path_CXX
=
9971 # Source file extension for C++ test sources.
9974 # Object file extension for compiled C++ test sources.
9978 # Code to be used in simple compile tests
9979 lt_simple_compile_test_code
="int some_variable = 0;\n"
9981 # Code to be used in simple link tests
9982 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
9984 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9986 # If no C compiler was specified, use CC.
9989 # Allow CC to be a program name with arguments.
9993 # Allow CC to be a program name with arguments.
9998 lt_save_with_gnu_ld
=$with_gnu_ld
9999 lt_save_path_LD
=$lt_cv_path_LD
10000 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10001 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10003 unset lt_cv_prog_gnu_ld
10005 if test -n "${lt_cv_path_LDCXX+set}"; then
10006 lt_cv_path_LD
=$lt_cv_path_LDCXX
10008 unset lt_cv_path_LD
10010 test -z "${LDCXX+set}" || LD
=$LDCXX
10014 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
10016 # We don't want -fno-exception wen compiling C++ code, so set the
10017 # no_builtin_flag separately
10018 if test "$GXX" = yes; then
10019 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10021 lt_prog_compiler_no_builtin_flag_CXX
=
10024 if test "$GXX" = yes; then
10025 # Set up default GNU C++ configuration
10028 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10029 if test "${with_gnu_ld+set}" = set; then
10030 withval
="$with_gnu_ld"
10031 test "$withval" = no || with_gnu_ld
=yes
10036 if test "$GCC" = yes; then
10037 # Check if gcc -print-prog-name=ld gives a path.
10038 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10039 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10042 # gcc leaves a trailing carriage return which upsets mingw
10043 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10045 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10048 # Accept absolute paths.
10050 re_direlt
='/[^/][^/]*/\.\./'
10051 # Canonicalize the path of ld
10052 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10053 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10054 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10056 test -z "$LD" && LD
="$ac_prog"
10059 # If it fails, then pretend we aren't using GCC.
10063 # If it is relative, then search for the first ld in PATH.
10064 with_gnu_ld
=unknown
10067 elif test "$with_gnu_ld" = yes; then
10068 echo "$as_me:$LINENO: checking for GNU ld" >&5
10069 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10071 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10072 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10074 if test "${lt_cv_path_LD+set}" = set; then
10075 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 if test -z "$LD"; then
10078 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10079 for ac_dir
in $PATH; do
10081 test -z "$ac_dir" && ac_dir
=.
10082 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10083 lt_cv_path_LD
="$ac_dir/$ac_prog"
10084 # Check to see if the program is GNU ld. I'd rather use --version,
10085 # but apparently some GNU ld's only accept -v.
10086 # Break only if it was the GNU/non-GNU ld that we prefer.
10087 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10088 *GNU
* |
*'with BFD'*)
10089 test "$with_gnu_ld" != no
&& break
10092 test "$with_gnu_ld" != yes && break
10099 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10103 LD
="$lt_cv_path_LD"
10104 if test -n "$LD"; then
10105 echo "$as_me:$LINENO: result: $LD" >&5
10106 echo "${ECHO_T}$LD" >&6
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10111 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10112 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10113 { (exit 1); exit 1; }; }
10114 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10115 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10116 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10117 echo $ECHO_N "(cached) $ECHO_C" >&6
10119 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10120 case `"$LD" -v 2>&1 </dev/null` in
10121 *GNU
* |
*'with BFD'*)
10122 lt_cv_prog_gnu_ld
=yes
10125 lt_cv_prog_gnu_ld
=no
10129 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10130 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10131 with_gnu_ld
=$lt_cv_prog_gnu_ld
10135 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10136 # archiving commands below assume that GNU ld is being used.
10137 if test "$with_gnu_ld" = yes; then
10138 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10139 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'
10141 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10142 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10144 # If archive_cmds runs LD, not CC, wlarc should be empty
10145 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10146 # investigate it a little bit more. (MM)
10149 # ancient GNU ld didn't support --whole-archive et. al.
10150 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10151 grep 'no-whole-archive' > /dev
/null
; then
10152 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10154 whole_archive_flag_spec_CXX
=
10160 # A generic and very simple default shared library creation
10161 # command for GNU C++ for the case where it uses the native
10162 # linker, instead of GNU ld. If possible, this setting should
10163 # overridden to take advantage of the native linker features on
10164 # the platform it is being used on.
10165 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10168 # Commands to make compiler produce verbose output that lists
10169 # what "hidden" libraries, object files and flags are used when
10170 # linking a shared library.
10171 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10179 # PORTME: fill in a description of your system's C++ link characteristics
10180 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10181 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10185 # FIXME: insert proper C++ library support
10189 if test "$host_cpu" = ia64
; then
10190 # On IA64, the linker does run time linking by default, so we don't
10191 # have to do anything special.
10192 aix_use_runtimelinking
=no
10193 exp_sym_flag
='-Bexport'
10196 aix_use_runtimelinking
=no
10198 # Test if we are trying to use run time linking or normal
10199 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10200 # need to do runtime linking.
10201 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10202 for ld_flag
in $LDFLAGS; do
10205 aix_use_runtimelinking
=yes
10212 exp_sym_flag
='-bexport'
10213 no_entry_flag
='-bnoentry'
10216 # When large executables or shared objects are built, AIX ld can
10217 # have problems creating the table of contents. If linking a library
10218 # or program results in "error TOC overflow" add -mminimal-toc to
10219 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10220 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10222 archive_cmds_CXX
=''
10223 hardcode_direct_CXX
=yes
10224 hardcode_libdir_separator_CXX
=':'
10225 link_all_deplibs_CXX
=yes
10227 if test "$GXX" = yes; then
10228 case $host_os in aix4.012|aix4.012.
*)
10229 # We only want to do this on AIX 4.2 and lower, the check
10230 # below for broken collect2 doesn't work under 4.3+
10231 collect2name
=`${CC} -print-prog-name=collect2`
10232 if test -f "$collect2name" && \
10233 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10235 # We have reworked collect2
10236 hardcode_direct_CXX
=yes
10238 # We have old collect2
10239 hardcode_direct_CXX
=unsupported
10240 # It fails to find uninstalled libraries when the uninstalled
10241 # path is not listed in the libpath. Setting hardcode_minus_L
10242 # to unsupported forces relinking
10243 hardcode_minus_L_CXX
=yes
10244 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10245 hardcode_libdir_separator_CXX
=
10248 shared_flag
='-shared'
10251 if test "$host_cpu" = ia64
; then
10252 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10253 # chokes on -Wl,-G. The following line is correct:
10256 if test "$aix_use_runtimelinking" = yes; then
10257 shared_flag
='${wl}-G'
10259 shared_flag
='${wl}-bM:SRE'
10264 # It seems that -bexpall does not export symbols beginning with
10265 # underscore (_), so it is better to generate a list of symbols to export.
10266 always_export_symbols_CXX
=yes
10267 if test "$aix_use_runtimelinking" = yes; then
10268 # Warning - without using the other runtime loading flags (-brtl),
10269 # -berok will link without error, but may produce a broken library.
10270 allow_undefined_flag_CXX
='-berok'
10271 # Determine the default libpath from the value encoded in an empty executable.
10272 cat >conftest.
$ac_ext <<_ACEOF
10275 cat confdefs.h
>>conftest.
$ac_ext
10276 cat >>conftest.
$ac_ext <<_ACEOF
10277 /* end confdefs.h. */
10287 rm -f conftest.
$ac_objext conftest
$ac_exeext
10288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10289 (eval $ac_link) 2>conftest.er1
10291 grep -v '^ *+' conftest.er1
>conftest.err
10293 cat conftest.err
>&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); } &&
10296 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298 (eval $ac_try) 2>&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); }; } &&
10302 { ac_try
='test -s conftest$ac_exeext'
10303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304 (eval $ac_try) 2>&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); }; }; then
10309 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10311 # Check for a 64-bit object if we didn't find anything.
10312 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; }
10315 echo "$as_me: failed program was:" >&5
10316 sed 's/^/| /' conftest.
$ac_ext >&5
10319 rm -f conftest.err conftest.
$ac_objext \
10320 conftest
$ac_exeext conftest.
$ac_ext
10321 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10323 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10325 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"
10327 if test "$host_cpu" = ia64; then
10328 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10329 allow_undefined_flag_CXX="-z nodefs"
10330 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"
10332 # Determine the default libpath from the value encoded in an empty executable.
10333 cat >conftest.$ac_ext <<_ACEOF
10336 cat confdefs.h >>conftest.$ac_ext
10337 cat >>conftest.$ac_ext <<_ACEOF
10338 /* end confdefs.h. */
10348 rm -f conftest.$ac_objext conftest$ac_exeext
10349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10350 (eval $ac_link) 2>conftest.er1
10352 grep -v '^ *+' conftest.er1 >conftest.err
10354 cat conftest.err >&5
10355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10356 (exit $ac_status); } &&
10357 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10359 (eval $ac_try) 2>&5
10361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10362 (exit $ac_status); }; } &&
10363 { ac_try='test -s conftest$ac_exeext'
10364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10365 (eval $ac_try) 2>&5
10367 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10368 (exit $ac_status); }; }; then
10370 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10372 # Check for a 64-bit object if we didn't find anything.
10373 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; }
10376 echo "$as_me: failed program was
:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10380 rm -f conftest.err conftest.$ac_objext \
10381 conftest$ac_exeext conftest.$ac_ext
10382 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10384 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10385 # Warning - without using the other run time loading flags,
10386 # -berok will link without error, but may produce a broken library.
10387 no_undefined_flag_CXX=' ${wl}-bernotok'
10388 allow_undefined_flag_CXX=' ${wl}-berok'
10389 # -bexpall does not export symbols beginning with underscore (_)
10390 always_export_symbols_CXX=yes
10391 # Exported symbols can be pulled into shared objects from archives
10392 whole_archive_flag_spec_CXX=' '
10393 archive_cmds_need_lc_CXX=yes
10394 # This is similar to how AIX traditionally builds it's shared libraries.
10395 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'
10400 case $cc_basename in
10402 # FIXME: insert proper C++ library support
10408 cygwin* | mingw* | pw32*)
10409 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10410 # as there is no search path for DLLs.
10411 hardcode_libdir_flag_spec_CXX='-L$libdir'
10412 allow_undefined_flag_CXX=unsupported
10413 always_export_symbols_CXX=no
10414 enable_shared_with_static_runtimes_CXX=yes
10416 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10417 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'
10418 # If the export-symbols file already is a .def file (1st line
10419 # is EXPORTS), use it as is; otherwise, prepend...
10420 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10421 cp $export_symbols $output_objdir/$soname.def;
10423 echo EXPORTS > $output_objdir/$soname.def;
10424 cat $export_symbols >> $output_objdir/$soname.def;
10426 $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'
10432 darwin* | rhapsody*)
10433 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
10434 archive_cmds_need_lc_CXX=no
10436 rhapsody* | darwin1.[012])
10437 allow_undefined_flag_CXX='-undefined suppress'
10440 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10443 lt_int_apple_cc_single_mod=no
10444 output_verbose_link_cmd='echo'
10445 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10446 lt_int_apple_cc_single_mod=yes
10448 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10449 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10451 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10453 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
10455 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10456 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10457 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}'
10459 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10461 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10462 hardcode_direct_CXX
=no
10463 hardcode_automatic_CXX
=yes
10464 hardcode_shlibpath_var_CXX
=unsupported
10465 whole_archive_flag_spec_CXX
='-all_load $convenience'
10466 link_all_deplibs_CXX
=yes
10471 case $cc_basename in
10473 # FIXME: insert proper C++ library support
10477 # Green Hills C++ Compiler
10478 # FIXME: insert proper C++ library support
10482 # FIXME: insert proper C++ library support
10488 # C++ shared libraries reported to be fairly broken before switch to ELF
10492 archive_cmds_need_lc_CXX
=no
10495 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10502 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10503 hardcode_libdir_separator_CXX
=:
10504 export_dynamic_flag_spec_CXX
='${wl}-E'
10505 hardcode_direct_CXX
=yes
10506 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10507 # but as the default
10508 # location of the library.
10510 case $cc_basename in
10512 # FIXME: insert proper C++ library support
10516 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'
10517 # Commands to make compiler produce verbose output that lists
10518 # what "hidden" libraries, object files and flags are used when
10519 # linking a shared library.
10521 # There doesn't appear to be a way to prevent this compiler from
10522 # explicitly linking system object files so we need to strip them
10523 # from the output so that they don't get included in the library
10525 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10528 if test "$GXX" = yes; then
10529 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'
10531 # FIXME: insert proper C++ library support
10538 if test $with_gnu_ld = no
; then
10539 case "$host_cpu" in
10541 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10542 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10543 hardcode_libdir_separator_CXX
=:
10546 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10549 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10550 hardcode_libdir_separator_CXX
=:
10551 export_dynamic_flag_spec_CXX
='${wl}-E'
10555 case "$host_cpu" in
10557 hardcode_direct_CXX
=no
10558 hardcode_shlibpath_var_CXX
=no
10561 hardcode_direct_CXX
=no
10562 hardcode_shlibpath_var_CXX
=no
10563 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10564 # but as the default
10565 # location of the library.
10568 hardcode_direct_CXX
=yes
10569 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10570 # but as the default
10571 # location of the library.
10575 case $cc_basename in
10577 # FIXME: insert proper C++ library support
10581 case "$host_cpu" in
10583 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10586 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10589 # Commands to make compiler produce verbose output that lists
10590 # what "hidden" libraries, object files and flags are used when
10591 # linking a shared library.
10593 # There doesn't appear to be a way to prevent this compiler from
10594 # explicitly linking system object files so we need to strip them
10595 # from the output so that they don't get included in the library
10597 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'
10600 if test "$GXX" = yes; then
10601 if test $with_gnu_ld = no
; then
10602 case "$host_cpu" in
10604 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10607 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'
10612 # FIXME: insert proper C++ library support
10619 case $cc_basename in
10622 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10624 # Archives containing C++ object files must be created using
10625 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10626 # necessary to make sure instantiated templates are included
10628 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10631 if test "$GXX" = yes; then
10632 if test "$with_gnu_ld" = no
; then
10633 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10635 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'
10638 link_all_deplibs_CXX
=yes
10641 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10642 hardcode_libdir_separator_CXX
=:
10645 case $cc_basename in
10647 # Kuck and Associates, Inc. (KAI) C++ Compiler
10649 # KCC will only create a shared library if the output file
10650 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10651 # to its proper name (with version) after linking.
10652 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'
10653 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'
10654 # Commands to make compiler produce verbose output that lists
10655 # what "hidden" libraries, object files and flags are used when
10656 # linking a shared library.
10658 # There doesn't appear to be a way to prevent this compiler from
10659 # explicitly linking system object files so we need to strip them
10660 # from the output so that they don't get included in the library
10662 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'
10664 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10665 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10667 # Archives containing C++ object files must be created using
10668 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10669 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10674 archive_cmds_need_lc_CXX
=no
10675 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10676 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'
10677 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10678 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10679 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10683 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10684 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'
10686 runpath_var
=LD_RUN_PATH
10687 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10688 hardcode_libdir_separator_CXX
=:
10690 # Commands to make compiler produce verbose output that lists
10691 # what "hidden" libraries, object files and flags are used when
10692 # linking a shared library.
10694 # There doesn't appear to be a way to prevent this compiler from
10695 # explicitly linking system object files so we need to strip them
10696 # from the output so that they don't get included in the library
10698 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'
10703 # FIXME: insert proper C++ library support
10707 # FIXME: insert proper C++ library support
10711 case $cc_basename in
10713 # FIXME: insert proper C++ library support
10717 # FIXME: insert proper C++ library support
10723 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10724 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10726 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10727 hardcode_direct_CXX
=yes
10728 hardcode_shlibpath_var_CXX
=no
10730 # Workaround some broken pre-1.5 toolchains
10731 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10734 case $cc_basename in
10736 # Kuck and Associates, Inc. (KAI) C++ Compiler
10738 # KCC will only create a shared library if the output file
10739 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10740 # to its proper name (with version) after linking.
10741 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'
10743 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10744 hardcode_libdir_separator_CXX
=:
10746 # Archives containing C++ object files must be created using
10747 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10748 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10752 # Rational C++ 2.4.1
10753 # FIXME: insert proper C++ library support
10757 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10758 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10760 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10761 hardcode_libdir_separator_CXX
=:
10763 # Commands to make compiler produce verbose output that lists
10764 # what "hidden" libraries, object files and flags are used when
10765 # linking a shared library.
10767 # There doesn't appear to be a way to prevent this compiler from
10768 # explicitly linking system object files so we need to strip them
10769 # from the output so that they don't get included in the library
10771 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'
10774 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10775 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10776 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10778 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10779 hardcode_libdir_separator_CXX
=:
10781 # Commands to make compiler produce verbose output that lists
10782 # what "hidden" libraries, object files and flags are used when
10783 # linking a shared library.
10784 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10787 # FIXME: insert proper C++ library support
10794 case $cc_basename in
10796 # Kuck and Associates, Inc. (KAI) C++ Compiler
10798 # KCC will only create a shared library if the output file
10799 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10800 # to its proper name (with version) after linking.
10801 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'
10803 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10804 hardcode_libdir_separator_CXX
=:
10806 # Archives containing C++ object files must be created using
10807 # the KAI C++ compiler.
10808 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10811 # Rational C++ 2.4.1
10812 # FIXME: insert proper C++ library support
10816 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10817 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10818 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10819 echo "-hidden">> $lib.exp~
10820 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
10823 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10824 hardcode_libdir_separator_CXX
=:
10826 # Commands to make compiler produce verbose output that lists
10827 # what "hidden" libraries, object files and flags are used when
10828 # linking a shared library.
10830 # There doesn't appear to be a way to prevent this compiler from
10831 # explicitly linking system object files so we need to strip them
10832 # from the output so that they don't get included in the library
10834 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'
10837 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10838 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10839 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10841 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10842 hardcode_libdir_separator_CXX
=:
10844 # Commands to make compiler produce verbose output that lists
10845 # what "hidden" libraries, object files and flags are used when
10846 # linking a shared library.
10847 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10850 # FIXME: insert proper C++ library support
10857 # FIXME: insert proper C++ library support
10861 archive_cmds_need_lc_CXX
=no
10862 case $cc_basename in
10864 # FIXME: insert proper C++ library support
10868 # FIXME: insert proper C++ library support
10874 case $cc_basename in
10877 # FIXME: insert proper C++ library support
10882 # FIXME: insert proper C++ library support
10886 # FIXME: insert proper C++ library support
10892 case $cc_basename in
10894 # Sun C++ 4.2, 5.x and Centerline C++
10895 no_undefined_flag_CXX
=' -zdefs'
10896 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10897 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10898 $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'
10900 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10901 hardcode_shlibpath_var_CXX
=no
10903 solaris2.0
-5 | solaris2.0
-5.
*) ;;
10905 # The C++ compiler is used as linker so we must use $wl
10906 # flag to pass the commands to the underlying system
10908 # Supported since Solaris 2.6 (maybe 2.5.1?)
10909 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10912 link_all_deplibs_CXX
=yes
10914 # Commands to make compiler produce verbose output that lists
10915 # what "hidden" libraries, object files and flags are used when
10916 # linking a shared library.
10918 # There doesn't appear to be a way to prevent this compiler from
10919 # explicitly linking system object files so we need to strip them
10920 # from the output so that they don't get included in the library
10922 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'
10924 # Archives containing C++ object files must be created using
10925 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10926 # necessary to make sure instantiated templates are included
10928 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10931 # Green Hills C++ Compiler
10932 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10934 # The C++ compiler must be used to create the archive.
10935 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10938 # GNU C++ compiler with Solaris linker
10939 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10940 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10941 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10942 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10943 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10944 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10946 # Commands to make compiler produce verbose output that lists
10947 # what "hidden" libraries, object files and flags are used when
10948 # linking a shared library.
10949 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10951 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10953 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10954 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10955 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10957 # Commands to make compiler produce verbose output that lists
10958 # what "hidden" libraries, object files and flags are used when
10959 # linking a shared library.
10960 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10963 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
10968 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10969 archive_cmds_need_lc_CXX
=no
10972 case $cc_basename in
10974 # NonStop-UX NCC 3.20
10975 # FIXME: insert proper C++ library support
10979 # FIXME: insert proper C++ library support
10985 # FIXME: insert proper C++ library support
10989 # FIXME: insert proper C++ library support
10993 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10994 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10995 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11001 ## There is no encapsulation within the following macros, do not change
11002 ## the running order or otherwise move them around unless you know exactly
11003 ## what you are doing...
11005 cat > conftest.
$ac_ext <<EOF
11009 Foo (void) { a = 0; }
11015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11016 (eval $ac_compile) 2>&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); }; then
11020 # Parse the compiler output and extract the necessary
11021 # objects, libraries and library flags.
11023 # Sentinel used to keep track of whether or not we are before
11024 # the conftest object file.
11025 pre_test_object_deps_done
=no
11027 # The `*' in the case matches for architectures that use `case' in
11028 # $output_verbose_cmd can trigger glob expansion during the loop
11029 # eval without this substitution.
11030 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11032 for p
in `eval $output_verbose_link_cmd`; do
11036 # Some compilers place space between "-{L,R}" and the path.
11037 # Remove the space.
11038 if test $p = "-L" \
11039 ||
test $p = "-R"; then
11046 if test "$pre_test_object_deps_done" = no
; then
11049 # Internal compiler library paths should come after those
11050 # provided the user. The postdeps already come after the
11051 # user supplied libs so there is no need to process them.
11052 if test -z "$compiler_lib_search_path_CXX"; then
11053 compiler_lib_search_path_CXX
="${prev}${p}"
11055 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11058 # The "-l" case would never come before the object being
11059 # linked, so don't bother handling this case.
11062 if test -z "$postdeps_CXX"; then
11063 postdeps_CXX
="${prev}${p}"
11065 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11071 # This assumes that the test object file only shows up
11072 # once in the compiler output.
11073 if test "$p" = "conftest.$objext"; then
11074 pre_test_object_deps_done
=yes
11078 if test "$pre_test_object_deps_done" = no
; then
11079 if test -z "$predep_objects_CXX"; then
11080 predep_objects_CXX
="$p"
11082 predep_objects_CXX
="$predep_objects_CXX $p"
11085 if test -z "$postdep_objects_CXX"; then
11086 postdep_objects_CXX
="$p"
11088 postdep_objects_CXX
="$postdep_objects_CXX $p"
11093 *) ;; # Ignore the rest.
11101 echo "libtool.m4: error: problem compiling CXX test program"
11104 $rm -f confest.
$objext
11106 case " $postdeps_CXX " in
11107 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11110 lt_prog_compiler_wl_CXX
=
11111 lt_prog_compiler_pic_CXX
=
11112 lt_prog_compiler_static_CXX
=
11114 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11115 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11117 # C++ specific cases for pic, static, wl, etc.
11118 if test "$GXX" = yes; then
11119 lt_prog_compiler_wl_CXX
='-Wl,'
11120 lt_prog_compiler_static_CXX
='-static'
11124 # All AIX code is PIC.
11125 if test "$host_cpu" = ia64
; then
11126 # AIX 5 now supports IA64 processor
11127 lt_prog_compiler_static_CXX
='-Bstatic'
11131 # FIXME: we need at least 68020 code to build shared libraries, but
11132 # adding the `-m68020' flag to GCC prevents building anything better,
11134 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11136 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11137 # PIC is the default for these OSes.
11139 mingw
* | os2
* | pw32
*)
11140 # This hack is so that the source file can tell whether it is being
11141 # built for inclusion in a dll (and should export symbols for example).
11142 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11144 darwin
* | rhapsody
*)
11145 # PIC is the default on this platform
11146 # Common symbols not allowed in MH_DYLIB files
11147 lt_prog_compiler_pic_CXX
='-fno-common'
11150 # DJGPP does not support shared libraries at all
11151 lt_prog_compiler_pic_CXX
=
11154 if test -d /usr
/nec
; then
11155 lt_prog_compiler_pic_CXX
=-Kconform_pic
11159 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11160 # not for PA HP-UX.
11161 case "$host_cpu" in
11165 lt_prog_compiler_pic_CXX
='-fPIC'
11170 lt_prog_compiler_pic_CXX
='-fPIC'
11176 # All AIX code is PIC.
11177 if test "$host_cpu" = ia64
; then
11178 # AIX 5 now supports IA64 processor
11179 lt_prog_compiler_static_CXX
='-Bstatic'
11181 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11185 case $cc_basename in
11187 # Green Hills C++ Compiler
11188 # _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"
11193 case $cc_basename in
11195 lt_prog_compiler_pic_CXX
='-KPIC'
11198 # Green Hills C++ Compiler
11199 lt_prog_compiler_pic_CXX
='-pic'
11206 # FreeBSD uses GNU C++
11208 hpux9
* | hpux10
* | hpux11
*)
11209 case $cc_basename in
11211 lt_prog_compiler_wl_CXX
='-Wl,'
11212 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11213 if test "$host_cpu" != ia64
; then
11214 lt_prog_compiler_pic_CXX
='+Z'
11218 lt_prog_compiler_wl_CXX
='-Wl,'
11219 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11220 case "$host_cpu" in
11225 lt_prog_compiler_pic_CXX
='+Z'
11233 irix5
* | irix6
* | nonstopux
*)
11234 case $cc_basename in
11236 lt_prog_compiler_wl_CXX
='-Wl,'
11237 lt_prog_compiler_static_CXX
='-non_shared'
11238 # CC pic flag -KPIC is the default.
11245 case $cc_basename in
11248 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11249 lt_prog_compiler_pic_CXX
='-fPIC'
11253 lt_prog_compiler_wl_CXX
='-Wl,'
11254 lt_prog_compiler_pic_CXX
='-KPIC'
11255 lt_prog_compiler_static_CXX
='-static'
11259 # Make sure the PIC flag is empty. It appears that all Alpha
11260 # Linux and Compaq Tru64 Unix objects are PIC.
11261 lt_prog_compiler_pic_CXX
=
11262 lt_prog_compiler_static_CXX
='-non_shared'
11273 case $cc_basename in
11275 lt_prog_compiler_pic_CXX
='-Wextra c,exportall'
11283 osf3
* | osf4
* | osf5
*)
11284 case $cc_basename in
11286 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11289 # Rational C++ 2.4.1
11290 lt_prog_compiler_pic_CXX
='-pic'
11293 # Digital/Compaq C++
11294 lt_prog_compiler_wl_CXX
='-Wl,'
11295 # Make sure the PIC flag is empty. It appears that all Alpha
11296 # Linux and Compaq Tru64 Unix objects are PIC.
11297 lt_prog_compiler_pic_CXX
=
11298 lt_prog_compiler_static_CXX
='-non_shared'
11307 case $cc_basename in
11309 lt_prog_compiler_pic_CXX
='-fPIC'
11316 case $cc_basename in
11318 # Sun C++ 4.2, 5.x and Centerline C++
11319 lt_prog_compiler_pic_CXX
='-KPIC'
11320 lt_prog_compiler_static_CXX
='-Bstatic'
11321 lt_prog_compiler_wl_CXX
='-Qoption ld '
11324 # Green Hills C++ Compiler
11325 lt_prog_compiler_pic_CXX
='-PIC'
11332 case $cc_basename in
11335 lt_prog_compiler_pic_CXX
='-pic'
11336 lt_prog_compiler_static_CXX
='-Bstatic'
11340 lt_prog_compiler_pic_CXX
='-pic'
11347 case $cc_basename in
11349 # NonStop-UX NCC 3.20
11350 lt_prog_compiler_pic_CXX
='-KPIC'
11361 lt_prog_compiler_can_build_shared_CXX
=no
11366 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11367 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11370 # Check to make sure the PIC flag actually works.
11372 if test -n "$lt_prog_compiler_pic_CXX"; then
11373 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11374 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11375 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11376 echo $ECHO_N "(cached) $ECHO_C" >&6
11378 lt_prog_compiler_pic_works_CXX
=no
11379 ac_outfile
=conftest.
$ac_objext
11380 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11381 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11382 # Insert the option either (1) after the last *FLAGS variable, or
11383 # (2) before a word containing "conftest.", or (3) at the end.
11384 # Note that $ac_compile itself does not contain backslashes and begins
11385 # with a dollar sign (not a hyphen), so the echo should work correctly.
11386 # The option is referenced via a variable to avoid confusing sed.
11387 lt_compile
=`echo "$ac_compile" | $SED \
11388 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11389 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11390 -e 's:$: $lt_compiler_flag:'`
11391 (eval echo "\"\$as_me:11391: $lt_compile\"" >&5)
11392 (eval "$lt_compile" 2>conftest.err
)
11394 cat conftest.err
>&5
11395 echo "$as_me:11395: \$? = $ac_status" >&5
11396 if (exit $ac_status) && test -s "$ac_outfile"; then
11397 # The compiler can only warn and ignore the option if not recognized
11398 # So say no if there are warnings
11399 if test ! -s conftest.err
; then
11400 lt_prog_compiler_pic_works_CXX
=yes
11406 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11407 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11409 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11410 case $lt_prog_compiler_pic_CXX in
11412 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11415 lt_prog_compiler_pic_CXX
=
11416 lt_prog_compiler_can_build_shared_CXX
=no
11421 # For platforms which do not support PIC, -DPIC is meaningless:
11423 lt_prog_compiler_pic_CXX
=
11426 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11430 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11431 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11432 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11433 echo $ECHO_N "(cached) $ECHO_C" >&6
11435 lt_cv_prog_compiler_c_o_CXX
=no
11436 $rm -r conftest
2>/dev
/null
11440 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11442 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
11443 # that will create temporary files in the current directory regardless of
11444 # the output directory. Thus, making CWD read-only will cause this test
11445 # to fail, enabling locking or at least warning the user not to do parallel
11449 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11450 # Insert the option either (1) after the last *FLAGS variable, or
11451 # (2) before a word containing "conftest.", or (3) at the end.
11452 # Note that $ac_compile itself does not contain backslashes and begins
11453 # with a dollar sign (not a hyphen), so the echo should work correctly.
11454 lt_compile
=`echo "$ac_compile" | $SED \
11455 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11456 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11457 -e 's:$: $lt_compiler_flag:'`
11458 (eval echo "\"\$as_me:11458: $lt_compile\"" >&5)
11459 (eval "$lt_compile" 2>out
/conftest.err
)
11461 cat out
/conftest.err
>&5
11462 echo "$as_me:11462: \$? = $ac_status" >&5
11463 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11465 # The compiler can only warn and ignore the option if not recognized
11466 # So say no if there are warnings
11467 if test ! -s out
/conftest.err
; then
11468 lt_cv_prog_compiler_c_o_CXX
=yes
11472 $rm conftest
* out
/*
11479 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11480 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11483 hard_links
="nottested"
11484 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11485 # do not overwrite the value of need_locks provided by the user
11486 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11487 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11490 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11492 ln conftest.a conftest.b
2>&5 || hard_links
=no
11493 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11494 echo "$as_me:$LINENO: result: $hard_links" >&5
11495 echo "${ECHO_T}$hard_links" >&6
11496 if test "$hard_links" = no
; then
11497 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11498 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11505 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11506 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11508 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11511 # If we're using GNU nm, then we don't want the "-C" option.
11512 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11513 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11514 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'
11516 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'
11520 export_symbols_cmds_CXX
="$ltdll_cmds"
11523 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11526 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11530 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11531 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11532 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11534 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11535 if test "$GCC" = yes; then
11536 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11540 # Do we need to explicitly link libc?
11542 case "x$archive_cmds_need_lc_CXX" in
11544 # Assume -lc should be added
11545 archive_cmds_need_lc_CXX
=yes
11547 if test "$enable_shared" = yes && test "$GCC" = yes; then
11548 case $archive_cmds_CXX in
11550 # FIXME: we may have to deal with multi-command sequences.
11553 # Test whether the compiler implicitly links with -lc since on some
11554 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11555 # to ld, don't add -lc before -lgcc.
11556 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11557 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11559 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11562 (eval $ac_compile) 2>&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); } 2>conftest.err
; then
11568 libobjs
=conftest.
$ac_objext
11570 wl
=$lt_prog_compiler_wl_CXX
11576 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11577 allow_undefined_flag_CXX
=
11578 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11579 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }
11584 archive_cmds_need_lc_CXX
=no
11586 archive_cmds_need_lc_CXX
=yes
11588 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11590 cat conftest.err
1>&5
11593 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11594 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11601 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11602 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11603 hardcode_action_CXX
=
11604 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11605 test -n "$runpath_var CXX" || \
11606 test "X$hardcode_automatic_CXX"="Xyes" ; then
11608 # We can hardcode non-existant directories.
11609 if test "$hardcode_direct_CXX" != no
&&
11610 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11611 # have to relink, otherwise we might link with an installed library
11612 # when we should be linking with a yet-to-be-installed one
11613 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11614 test "$hardcode_minus_L_CXX" != no
; then
11615 # Linking always hardcodes the temporary library directory.
11616 hardcode_action_CXX
=relink
11618 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11619 hardcode_action_CXX
=immediate
11622 # We cannot hardcode anything, or else we can only hardcode existing
11624 hardcode_action_CXX
=unsupported
11626 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11627 echo "${ECHO_T}$hardcode_action_CXX" >&6
11629 if test "$hardcode_action_CXX" = relink
; then
11630 # Fast installation is not supported
11631 enable_fast_install
=no
11632 elif test "$shlibpath_overrides_runpath" = yes ||
11633 test "$enable_shared" = no
; then
11634 # Fast installation is not necessary
11635 enable_fast_install
=needless
11640 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11641 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11642 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11643 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11644 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11645 echo "$as_me:$LINENO: result: yes" >&5
11646 echo "${ECHO_T}yes" >&6
11648 # FIXME - insert some real tests, host_os isn't really good enough
11651 if test -n "$STRIP" ; then
11652 striplib
="$STRIP -x"
11653 echo "$as_me:$LINENO: result: yes" >&5
11654 echo "${ECHO_T}yes" >&6
11656 echo "$as_me:$LINENO: result: no" >&5
11657 echo "${ECHO_T}no" >&6
11661 echo "$as_me:$LINENO: result: no" >&5
11662 echo "${ECHO_T}no" >&6
11667 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11668 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11669 library_names_spec
=
11670 libname_spec
='lib$name'
11674 postuninstall_cmds
=
11678 shlibpath_overrides_runpath
=unknown
11680 dynamic_linker
="$host_os ld.so"
11681 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11682 if test "$GCC" = yes; then
11683 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11684 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11685 # if the path contains ";" then we assume it to be the separator
11686 # otherwise default to the standard path separator (i.e. ":") - it is
11687 # assumed that no part of a normal pathname contains ";" but that should
11688 # okay in the real world where ";" in dirpaths is itself problematic.
11689 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11691 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11694 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11696 need_lib_prefix
=unknown
11697 hardcode_into_libs
=no
11699 # when you set need_version to no, make sure it does not cause -set_version
11700 # flags to be left without arguments
11701 need_version
=unknown
11706 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11707 shlibpath_var
=LIBPATH
11709 # AIX 3 has no versioning support, so we append a major version to the name.
11710 soname_spec
='${libname}${release}${shared_ext}$major'
11717 hardcode_into_libs
=yes
11718 if test "$host_cpu" = ia64
; then
11719 # AIX 5 supports IA64
11720 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11721 shlibpath_var
=LD_LIBRARY_PATH
11723 # With GCC up to 2.95.x, collect2 would create an import file
11724 # for dependence libraries. The import file would start with
11725 # the line `#! .'. This would cause the generated library to
11726 # depend on `.', always an invalid library. This was fixed in
11727 # development snapshots of GCC prior to 3.0.
11729 aix4 | aix4.
[01] | aix4.
[01].
*)
11730 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11732 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11735 can_build_shared
=no
11739 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11740 # soname into executable. Probably we can add versioning support to
11741 # collect2, so additional links can be useful in future.
11742 if test "$aix_use_runtimelinking" = yes; then
11743 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11744 # instead of lib<name>.a to let people know that these are not
11745 # typical AIX shared libraries.
11746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11748 # We preserve .a as extension for shared libraries through AIX4.2
11749 # and later when we are not doing run time linking.
11750 library_names_spec
='${libname}${release}.a $libname.a'
11751 soname_spec
='${libname}${release}${shared_ext}$major'
11753 shlibpath_var
=LIBPATH
11758 library_names_spec
='$libname.ixlibrary $libname.a'
11759 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11760 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'
11764 library_names_spec
='${libname}${shared_ext}'
11765 dynamic_linker
="$host_os ld.so"
11766 shlibpath_var
=LIBRARY_PATH
11772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11773 soname_spec
='${libname}${release}${shared_ext}$major'
11774 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11775 shlibpath_var
=LD_LIBRARY_PATH
11776 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11777 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11778 # the default ld.so.conf also contains /usr/contrib/lib and
11779 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11780 # libtool to hard-code these into programs
11783 cygwin
* | mingw
* | pw32
*)
11784 version_type
=windows
11789 case $GCC,$host_os in
11790 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11791 library_names_spec
='$libname.dll.a'
11792 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11793 postinstall_cmds
='base_file=`basename \${file}`~
11794 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11795 dldir=$destdir/`dirname \$dlpath`~
11796 test -d \$dldir || mkdir -p \$dldir~
11797 $install_prog $dir/$dlname \$dldir/$dlname'
11798 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11799 dlpath=$dir/\$dldll~
11801 shlibpath_overrides_runpath
=yes
11805 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11806 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11807 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
11810 # MinGW DLLs use traditional 'lib' prefix
11811 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11812 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11813 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11814 # It is most probably a Windows format PATH printed by
11815 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11816 # path with ; separators, and with drive letters. We can handle the
11817 # drive letters (cygwin fileutils understands them), so leave them,
11818 # especially as we might pass files found there to a mingw objdump,
11819 # which wouldn't understand a cygwinified path. Ahh.
11820 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11822 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11826 # pw32 DLLs use 'pw' prefix rather than 'lib'
11827 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11833 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11836 dynamic_linker
='Win32 ld.exe'
11837 # FIXME: first we should search . and the directory the executable is in
11841 darwin
* | rhapsody
*)
11842 dynamic_linker
="$host_os dyld"
11843 version_type
=darwin
11846 # FIXME: Relying on posixy $() will cause problems for
11847 # cross-compilation, but unfortunately the echo tests do not
11848 # yet detect zsh echo's removal of \ escapes.
11849 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11850 soname_spec
='${libname}${release}${major}$shared_ext'
11851 shlibpath_overrides_runpath
=yes
11852 shlibpath_var
=DYLD_LIBRARY_PATH
11853 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
11854 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11855 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
11856 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"`
11858 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11866 soname_spec
='${libname}${release}${shared_ext}$major'
11867 shlibpath_var
=LD_LIBRARY_PATH
11875 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11876 version_type
=freebsd-
$objformat
11877 case $version_type in
11879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11884 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11888 shlibpath_var
=LD_LIBRARY_PATH
11891 shlibpath_overrides_runpath
=yes
11893 freebsd3.01
* | freebsdelf3.01
*)
11894 shlibpath_overrides_runpath
=yes
11895 hardcode_into_libs
=yes
11898 shlibpath_overrides_runpath
=no
11899 hardcode_into_libs
=yes
11908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11909 soname_spec
='${libname}${release}${shared_ext}$major'
11910 shlibpath_var
=LD_LIBRARY_PATH
11911 hardcode_into_libs
=yes
11914 hpux9
* | hpux10
* | hpux11
*)
11915 # Give a soname corresponding to the major version so that dld.sl refuses to
11916 # link against other versions.
11920 case "$host_cpu" in
11923 hardcode_into_libs
=yes
11924 dynamic_linker
="$host_os dld.so"
11925 shlibpath_var
=LD_LIBRARY_PATH
11926 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11928 soname_spec
='${libname}${release}${shared_ext}$major'
11929 if test "X$HPUX_IA64_MODE" = X32
; then
11930 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11932 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11934 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11938 hardcode_into_libs
=yes
11939 dynamic_linker
="$host_os dld.sl"
11940 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11941 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11943 soname_spec
='${libname}${release}${shared_ext}$major'
11944 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11945 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11949 dynamic_linker
="$host_os dld.sl"
11950 shlibpath_var
=SHLIB_PATH
11951 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11953 soname_spec
='${libname}${release}${shared_ext}$major'
11956 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11957 postinstall_cmds
='chmod 555 $lib'
11960 irix5
* | irix6
* | nonstopux
*)
11962 nonstopux
*) version_type
=nonstopux
;;
11964 if test "$lt_cv_prog_gnu_ld" = yes; then
11972 soname_spec
='${libname}${release}${shared_ext}$major'
11973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11975 irix5
* | nonstopux
*)
11976 libsuff
= shlibsuff
=
11979 case $LD in # libtool.m4 will add one of these switches to LD
11980 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11981 libsuff
= shlibsuff
= libmagic
=32-bit;;
11982 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11983 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11984 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11985 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11986 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11990 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11991 shlibpath_overrides_runpath
=no
11992 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11993 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11994 hardcode_into_libs
=yes
11997 # No shared lib support for Linux oldld, aout, or coff.
11998 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12002 # This must be Linux ELF.
12007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12008 soname_spec
='${libname}${release}${shared_ext}$major'
12009 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12010 shlibpath_var
=LD_LIBRARY_PATH
12011 shlibpath_overrides_runpath
=no
12012 # This implies no fast_install, which is unacceptable.
12013 # Some rework will be needed to allow for fast_install
12014 # before this can be enabled.
12015 hardcode_into_libs
=yes
12017 # We used to test for /lib/ld.so.1 and disable shared libraries on
12018 # powerpc, because MkLinux only supported shared libraries with the
12019 # GNU dynamic linker. Since this was broken with cross compilers,
12020 # most powerpc-linux boxes support dynamic linking these days and
12021 # people can always --disable-shared, the test was removed, and we
12022 # assume the GNU/Linux dynamic linker is in use.
12023 dynamic_linker
='GNU/Linux ld.so'
12030 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12032 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12033 dynamic_linker
='NetBSD (a.out) ld.so'
12035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
12036 soname_spec
='${libname}${release}${shared_ext}$major'
12037 dynamic_linker
='NetBSD ld.elf_so'
12039 shlibpath_var
=LD_LIBRARY_PATH
12040 shlibpath_overrides_runpath
=yes
12041 hardcode_into_libs
=yes
12046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12047 shlibpath_var
=LD_LIBRARY_PATH
12048 shlibpath_overrides_runpath
=yes
12055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12056 soname_spec
='${libname}${release}${shared_ext}$major'
12057 shlibpath_var
=LD_LIBRARY_PATH
12058 shlibpath_overrides_runpath
=yes
12065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12066 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12067 shlibpath_var
=LD_LIBRARY_PATH
12068 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12070 openbsd2.
[89] | openbsd2.
[89].
*)
12071 shlibpath_overrides_runpath
=no
12074 shlibpath_overrides_runpath
=yes
12078 shlibpath_overrides_runpath
=yes
12083 libname_spec
='$name'
12086 library_names_spec
='$libname${shared_ext} $libname.a'
12087 dynamic_linker
='OS/2 ld.exe'
12088 shlibpath_var
=LIBPATH
12091 osf3
* | osf4
* | osf5
*)
12095 soname_spec
='${libname}${release}${shared_ext}$major'
12096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12097 shlibpath_var
=LD_LIBRARY_PATH
12098 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12099 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12104 soname_spec
='${libname}${release}${shared_ext}$major'
12105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12106 shlibpath_var
=LD_LIBRARY_PATH
12113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12114 soname_spec
='${libname}${release}${shared_ext}$major'
12115 shlibpath_var
=LD_LIBRARY_PATH
12116 shlibpath_overrides_runpath
=yes
12117 hardcode_into_libs
=yes
12118 # ldd complains unless libraries are executable
12119 postinstall_cmds
='chmod +x $lib'
12124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12125 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12126 shlibpath_var
=LD_LIBRARY_PATH
12127 shlibpath_overrides_runpath
=yes
12128 if test "$with_gnu_ld" = yes; then
12134 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12137 soname_spec
='${libname}${release}${shared_ext}$major'
12138 shlibpath_var
=LD_LIBRARY_PATH
12139 case $host_vendor in
12141 shlibpath_overrides_runpath
=no
12143 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12144 runpath_var
=LD_RUN_PATH
12152 shlibpath_overrides_runpath
=no
12153 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12159 if test -d /usr
/nec
;then
12161 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12162 soname_spec
='$libname${shared_ext}.$major'
12163 shlibpath_var
=LD_LIBRARY_PATH
12169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12170 soname_spec
='${libname}${release}${shared_ext}$major'
12171 shlibpath_var
=LD_LIBRARY_PATH
12178 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12179 echo "${ECHO_T}$dynamic_linker" >&6
12180 test "$dynamic_linker" = no
&& can_build_shared
=no
12182 if test "x$enable_dlopen" != xyes
; then
12183 enable_dlopen
=unknown
12184 enable_dlopen_self
=unknown
12185 enable_dlopen_self_static
=unknown
12192 lt_cv_dlopen
="load_add_on"
12194 lt_cv_dlopen_self
=yes
12198 lt_cv_dlopen
="LoadLibrary"
12203 lt_cv_dlopen
="dlopen"
12208 # if libdl is installed we need to link against it
12209 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12210 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12211 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12214 ac_check_lib_save_LIBS
=$LIBS
12216 cat >conftest.
$ac_ext <<_ACEOF
12219 cat confdefs.h
>>conftest.
$ac_ext
12220 cat >>conftest.
$ac_ext <<_ACEOF
12221 /* end confdefs.h. */
12223 /* Override any gcc2 internal prototype to avoid an error. */
12227 /* We use char because int might match the return type of a gcc2
12228 builtin and then its argument prototype would still apply. */
12238 rm -f conftest.
$ac_objext conftest
$ac_exeext
12239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12240 (eval $ac_link) 2>conftest.er1
12242 grep -v '^ *+' conftest.er1
>conftest.err
12244 cat conftest.err
>&5
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); } &&
12247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12249 (eval $ac_try) 2>&5
12251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252 (exit $ac_status); }; } &&
12253 { ac_try
='test -s conftest$ac_exeext'
12254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12255 (eval $ac_try) 2>&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); }; }; then
12259 ac_cv_lib_dl_dlopen
=yes
12261 echo "$as_me: failed program was:" >&5
12262 sed 's/^/| /' conftest.
$ac_ext >&5
12264 ac_cv_lib_dl_dlopen
=no
12266 rm -f conftest.err conftest.
$ac_objext \
12267 conftest
$ac_exeext conftest.
$ac_ext
12268 LIBS
=$ac_check_lib_save_LIBS
12270 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12271 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12272 if test $ac_cv_lib_dl_dlopen = yes; then
12273 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12276 lt_cv_dlopen
="dyld"
12278 lt_cv_dlopen_self
=yes
12285 echo "$as_me:$LINENO: checking for shl_load" >&5
12286 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12287 if test "${ac_cv_func_shl_load+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12290 cat >conftest.
$ac_ext <<_ACEOF
12293 cat confdefs.h
>>conftest.
$ac_ext
12294 cat >>conftest.
$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12296 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12298 #define shl_load innocuous_shl_load
12300 /* System header to define __stub macros and hopefully few prototypes,
12301 which can conflict with char shl_load (); below.
12302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12303 <limits.h> exists even on freestanding compilers. */
12306 # include <limits.h>
12308 # include <assert.h>
12313 /* Override any gcc2 internal prototype to avoid an error. */
12318 /* We use char because int might match the return type of a gcc2
12319 builtin and then its argument prototype would still apply. */
12321 /* The GNU C library defines this for functions which it implements
12322 to always fail with ENOSYS. Some functions are actually named
12323 something starting with __ and the normal name is an alias. */
12324 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12327 char (*f) () = shl_load;
12336 return f != shl_load;
12341 rm -f conftest.
$ac_objext conftest
$ac_exeext
12342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12343 (eval $ac_link) 2>conftest.er1
12345 grep -v '^ *+' conftest.er1
>conftest.err
12347 cat conftest.err
>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); } &&
12350 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; } &&
12356 { ac_try
='test -s conftest$ac_exeext'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12362 ac_cv_func_shl_load
=yes
12364 echo "$as_me: failed program was:" >&5
12365 sed 's/^/| /' conftest.
$ac_ext >&5
12367 ac_cv_func_shl_load
=no
12369 rm -f conftest.err conftest.
$ac_objext \
12370 conftest
$ac_exeext conftest.
$ac_ext
12372 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12373 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12374 if test $ac_cv_func_shl_load = yes; then
12375 lt_cv_dlopen
="shl_load"
12377 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12378 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12379 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12380 echo $ECHO_N "(cached) $ECHO_C" >&6
12382 ac_check_lib_save_LIBS
=$LIBS
12384 cat >conftest.
$ac_ext <<_ACEOF
12387 cat confdefs.h
>>conftest.
$ac_ext
12388 cat >>conftest.
$ac_ext <<_ACEOF
12389 /* end confdefs.h. */
12391 /* Override any gcc2 internal prototype to avoid an error. */
12395 /* We use char because int might match the return type of a gcc2
12396 builtin and then its argument prototype would still apply. */
12406 rm -f conftest.
$ac_objext conftest
$ac_exeext
12407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12408 (eval $ac_link) 2>conftest.er1
12410 grep -v '^ *+' conftest.er1
>conftest.err
12412 cat conftest.err
>&5
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); } &&
12415 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417 (eval $ac_try) 2>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; } &&
12421 { ac_try
='test -s conftest$ac_exeext'
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; }; then
12427 ac_cv_lib_dld_shl_load
=yes
12429 echo "$as_me: failed program was:" >&5
12430 sed 's/^/| /' conftest.
$ac_ext >&5
12432 ac_cv_lib_dld_shl_load
=no
12434 rm -f conftest.err conftest.
$ac_objext \
12435 conftest
$ac_exeext conftest.
$ac_ext
12436 LIBS
=$ac_check_lib_save_LIBS
12438 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12439 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12440 if test $ac_cv_lib_dld_shl_load = yes; then
12441 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12443 echo "$as_me:$LINENO: checking for dlopen" >&5
12444 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12445 if test "${ac_cv_func_dlopen+set}" = set; then
12446 echo $ECHO_N "(cached) $ECHO_C" >&6
12448 cat >conftest.
$ac_ext <<_ACEOF
12451 cat confdefs.h
>>conftest.
$ac_ext
12452 cat >>conftest.
$ac_ext <<_ACEOF
12453 /* end confdefs.h. */
12454 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12456 #define dlopen innocuous_dlopen
12458 /* System header to define __stub macros and hopefully few prototypes,
12459 which can conflict with char dlopen (); below.
12460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12461 <limits.h> exists even on freestanding compilers. */
12464 # include <limits.h>
12466 # include <assert.h>
12471 /* Override any gcc2 internal prototype to avoid an error. */
12476 /* We use char because int might match the return type of a gcc2
12477 builtin and then its argument prototype would still apply. */
12479 /* The GNU C library defines this for functions which it implements
12480 to always fail with ENOSYS. Some functions are actually named
12481 something starting with __ and the normal name is an alias. */
12482 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12485 char (*f) () = dlopen;
12494 return f != dlopen;
12499 rm -f conftest.
$ac_objext conftest
$ac_exeext
12500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12501 (eval $ac_link) 2>conftest.er1
12503 grep -v '^ *+' conftest.er1
>conftest.err
12505 cat conftest.err
>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); } &&
12508 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; } &&
12514 { ac_try
='test -s conftest$ac_exeext'
12515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12516 (eval $ac_try) 2>&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }; }; then
12520 ac_cv_func_dlopen
=yes
12522 echo "$as_me: failed program was:" >&5
12523 sed 's/^/| /' conftest.
$ac_ext >&5
12525 ac_cv_func_dlopen
=no
12527 rm -f conftest.err conftest.
$ac_objext \
12528 conftest
$ac_exeext conftest.
$ac_ext
12530 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12531 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12532 if test $ac_cv_func_dlopen = yes; then
12533 lt_cv_dlopen
="dlopen"
12535 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12536 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12537 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12538 echo $ECHO_N "(cached) $ECHO_C" >&6
12540 ac_check_lib_save_LIBS
=$LIBS
12542 cat >conftest.
$ac_ext <<_ACEOF
12545 cat confdefs.h
>>conftest.
$ac_ext
12546 cat >>conftest.
$ac_ext <<_ACEOF
12547 /* end confdefs.h. */
12549 /* Override any gcc2 internal prototype to avoid an error. */
12553 /* We use char because int might match the return type of a gcc2
12554 builtin and then its argument prototype would still apply. */
12564 rm -f conftest.
$ac_objext conftest
$ac_exeext
12565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12566 (eval $ac_link) 2>conftest.er1
12568 grep -v '^ *+' conftest.er1
>conftest.err
12570 cat conftest.err
>&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); } &&
12573 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12575 (eval $ac_try) 2>&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); }; } &&
12579 { ac_try
='test -s conftest$ac_exeext'
12580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12581 (eval $ac_try) 2>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); }; }; then
12585 ac_cv_lib_dl_dlopen
=yes
12587 echo "$as_me: failed program was:" >&5
12588 sed 's/^/| /' conftest.
$ac_ext >&5
12590 ac_cv_lib_dl_dlopen
=no
12592 rm -f conftest.err conftest.
$ac_objext \
12593 conftest
$ac_exeext conftest.
$ac_ext
12594 LIBS
=$ac_check_lib_save_LIBS
12596 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12597 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12598 if test $ac_cv_lib_dl_dlopen = yes; then
12599 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12601 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12602 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12603 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12604 echo $ECHO_N "(cached) $ECHO_C" >&6
12606 ac_check_lib_save_LIBS
=$LIBS
12607 LIBS
="-lsvld $LIBS"
12608 cat >conftest.
$ac_ext <<_ACEOF
12611 cat confdefs.h
>>conftest.
$ac_ext
12612 cat >>conftest.
$ac_ext <<_ACEOF
12613 /* end confdefs.h. */
12615 /* Override any gcc2 internal prototype to avoid an error. */
12619 /* We use char because int might match the return type of a gcc2
12620 builtin and then its argument prototype would still apply. */
12630 rm -f conftest.
$ac_objext conftest
$ac_exeext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12632 (eval $ac_link) 2>conftest.er1
12634 grep -v '^ *+' conftest.er1
>conftest.err
12636 cat conftest.err
>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641 (eval $ac_try) 2>&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); }; } &&
12645 { ac_try
='test -s conftest$ac_exeext'
12646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12647 (eval $ac_try) 2>&5
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); }; }; then
12651 ac_cv_lib_svld_dlopen
=yes
12653 echo "$as_me: failed program was:" >&5
12654 sed 's/^/| /' conftest.
$ac_ext >&5
12656 ac_cv_lib_svld_dlopen
=no
12658 rm -f conftest.err conftest.
$ac_objext \
12659 conftest
$ac_exeext conftest.
$ac_ext
12660 LIBS
=$ac_check_lib_save_LIBS
12662 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12663 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12664 if test $ac_cv_lib_svld_dlopen = yes; then
12665 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12667 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12668 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12669 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 ac_check_lib_save_LIBS
=$LIBS
12674 cat >conftest.
$ac_ext <<_ACEOF
12677 cat confdefs.h
>>conftest.
$ac_ext
12678 cat >>conftest.
$ac_ext <<_ACEOF
12679 /* end confdefs.h. */
12681 /* Override any gcc2 internal prototype to avoid an error. */
12685 /* We use char because int might match the return type of a gcc2
12686 builtin and then its argument prototype would still apply. */
12696 rm -f conftest.
$ac_objext conftest
$ac_exeext
12697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12698 (eval $ac_link) 2>conftest.er1
12700 grep -v '^ *+' conftest.er1
>conftest.err
12702 cat conftest.err
>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); } &&
12705 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707 (eval $ac_try) 2>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }; } &&
12711 { ac_try
='test -s conftest$ac_exeext'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; }; then
12717 ac_cv_lib_dld_dld_link
=yes
12719 echo "$as_me: failed program was:" >&5
12720 sed 's/^/| /' conftest.
$ac_ext >&5
12722 ac_cv_lib_dld_dld_link
=no
12724 rm -f conftest.err conftest.
$ac_objext \
12725 conftest
$ac_exeext conftest.
$ac_ext
12726 LIBS
=$ac_check_lib_save_LIBS
12728 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12729 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12730 if test $ac_cv_lib_dld_dld_link = yes; then
12731 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12752 if test "x$lt_cv_dlopen" != xno
; then
12758 case $lt_cv_dlopen in
12760 save_CPPFLAGS
="$CPPFLAGS"
12761 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12763 save_LDFLAGS
="$LDFLAGS"
12764 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12767 LIBS
="$lt_cv_dlopen_libs $LIBS"
12769 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12770 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12771 if test "${lt_cv_dlopen_self+set}" = set; then
12772 echo $ECHO_N "(cached) $ECHO_C" >&6
12774 if test "$cross_compiling" = yes; then :
12775 lt_cv_dlopen_self
=cross
12777 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12778 lt_status
=$lt_dlunknown
12779 cat > conftest.
$ac_ext <<EOF
12780 #line 12780 "configure"
12781 #include "confdefs.h"
12790 # define LT_DLGLOBAL RTLD_GLOBAL
12793 # define LT_DLGLOBAL DL_GLOBAL
12795 # define LT_DLGLOBAL 0
12799 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12800 find out it does not work in some platform. */
12801 #ifndef LT_DLLAZY_OR_NOW
12803 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12806 # define LT_DLLAZY_OR_NOW DL_LAZY
12809 # define LT_DLLAZY_OR_NOW RTLD_NOW
12812 # define LT_DLLAZY_OR_NOW DL_NOW
12814 # define LT_DLLAZY_OR_NOW 0
12822 extern "C" void exit (int);
12825 void fnord() { int i=42;}
12828 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12829 int status = $lt_dlunknown;
12833 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12834 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12835 /* dlclose (self); */
12841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12842 (eval $ac_link) 2>&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12846 (.
/conftest
; exit; ) 2>/dev
/null
12848 case x
$lt_status in
12849 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12850 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12851 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12854 # compilation failed
12855 lt_cv_dlopen_self
=no
12862 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12863 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12865 if test "x$lt_cv_dlopen_self" = xyes
; then
12866 LDFLAGS
="$LDFLAGS $link_static_flag"
12867 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12868 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12869 if test "${lt_cv_dlopen_self_static+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 if test "$cross_compiling" = yes; then :
12873 lt_cv_dlopen_self_static
=cross
12875 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12876 lt_status
=$lt_dlunknown
12877 cat > conftest.
$ac_ext <<EOF
12878 #line 12878 "configure"
12879 #include "confdefs.h"
12888 # define LT_DLGLOBAL RTLD_GLOBAL
12891 # define LT_DLGLOBAL DL_GLOBAL
12893 # define LT_DLGLOBAL 0
12897 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12898 find out it does not work in some platform. */
12899 #ifndef LT_DLLAZY_OR_NOW
12901 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12904 # define LT_DLLAZY_OR_NOW DL_LAZY
12907 # define LT_DLLAZY_OR_NOW RTLD_NOW
12910 # define LT_DLLAZY_OR_NOW DL_NOW
12912 # define LT_DLLAZY_OR_NOW 0
12920 extern "C" void exit (int);
12923 void fnord() { int i=42;}
12926 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12927 int status = $lt_dlunknown;
12931 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12932 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12933 /* dlclose (self); */
12939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12940 (eval $ac_link) 2>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12944 (.
/conftest
; exit; ) 2>/dev
/null
12946 case x
$lt_status in
12947 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12948 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12949 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
12952 # compilation failed
12953 lt_cv_dlopen_self_static
=no
12960 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12961 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12964 CPPFLAGS
="$save_CPPFLAGS"
12965 LDFLAGS
="$save_LDFLAGS"
12970 case $lt_cv_dlopen_self in
12971 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12972 *) enable_dlopen_self
=unknown
;;
12975 case $lt_cv_dlopen_self_static in
12976 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12977 *) enable_dlopen_self_static
=unknown
;;
12982 # The else clause should only fire when bootstrapping the
12983 # libtool distribution, otherwise you forgot to ship ltmain.sh
12984 # with your package, and you will get complaints that there are
12985 # no rules to generate ltmain.sh.
12986 if test -f "$ltmain"; then
12987 # See if we are running on zsh, and set the options which allow our commands through
12988 # without removal of \ escapes.
12989 if test -n "${ZSH_VERSION+set}" ; then
12990 setopt NO_GLOB_SUBST
12992 # Now quote all the things that may contain metacharacters while being
12993 # careful not to overquote the AC_SUBSTed values. We take copies of the
12994 # variables and quote the copies for generation of the libtool script.
12995 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12996 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12997 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12998 deplibs_check_method reload_flag reload_cmds need_locks \
12999 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13000 lt_cv_sys_global_symbol_to_c_name_address \
13001 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13002 old_postinstall_cmds old_postuninstall_cmds \
13006 lt_prog_compiler_wl_CXX \
13007 lt_prog_compiler_pic_CXX \
13008 lt_prog_compiler_static_CXX \
13009 lt_prog_compiler_no_builtin_flag_CXX \
13010 export_dynamic_flag_spec_CXX \
13011 thread_safe_flag_spec_CXX \
13012 whole_archive_flag_spec_CXX \
13013 enable_shared_with_static_runtimes_CXX \
13014 old_archive_cmds_CXX \
13015 old_archive_from_new_cmds_CXX \
13016 predep_objects_CXX \
13017 postdep_objects_CXX \
13020 compiler_lib_search_path_CXX \
13022 archive_expsym_cmds_CXX \
13023 postinstall_cmds_CXX \
13024 postuninstall_cmds_CXX \
13025 old_archive_from_expsyms_cmds_CXX \
13026 allow_undefined_flag_CXX \
13027 no_undefined_flag_CXX \
13028 export_symbols_cmds_CXX \
13029 hardcode_libdir_flag_spec_CXX \
13030 hardcode_libdir_flag_spec_ld_CXX \
13031 hardcode_libdir_separator_CXX \
13032 hardcode_automatic_CXX \
13034 module_expsym_cmds_CXX \
13035 lt_cv_prog_compiler_c_o_CXX \
13036 exclude_expsyms_CXX \
13037 include_expsyms_CXX
; do
13040 old_archive_cmds_CXX | \
13041 old_archive_from_new_cmds_CXX | \
13042 archive_cmds_CXX | \
13043 archive_expsym_cmds_CXX | \
13044 module_cmds_CXX | \
13045 module_expsym_cmds_CXX | \
13046 old_archive_from_expsyms_cmds_CXX | \
13047 export_symbols_cmds_CXX | \
13048 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13049 postinstall_cmds | postuninstall_cmds | \
13050 old_postinstall_cmds | old_postuninstall_cmds | \
13051 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13052 # Double-quote double-evaled strings.
13053 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13056 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13062 *'\$0 --fallback-echo"')
13063 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13069 cat <<__EOF__ >> "$cfgfile"
13070 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13072 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13074 # Shell to use when invoking shell scripts.
13077 # Whether or not to build shared libraries.
13078 build_libtool_libs=$enable_shared
13080 # Whether or not to build static libraries.
13081 build_old_libs=$enable_static
13083 # Whether or not to add -lc for building shared libraries.
13084 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13086 # Whether or not to disallow shared libs when runtime libs are static
13087 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13089 # Whether or not to optimize for fast installation.
13090 fast_install=$enable_fast_install
13093 host_alias=$host_alias
13096 # An echo program that does not interpret backslashes.
13101 AR_FLAGS=$lt_AR_FLAGS
13106 # A language-specific compiler.
13107 CC=$lt_compiler_CXX
13109 # Is the compiler the GNU C compiler?
13115 # The linker used to build libraries.
13118 # Whether we need hard or soft links.
13121 # A BSD-compatible nm program.
13124 # A symbol stripping program
13127 # Used to examine libraries when file_magic_cmd begins "file"
13128 MAGIC_CMD=$MAGIC_CMD
13130 # Used on cygwin: DLL creation program.
13133 # Used on cygwin: object dumper.
13136 # Used on cygwin: assembler.
13139 # The name of the directory that contains temporary libtool files.
13142 # How to create reloadable object files.
13143 reload_flag=$lt_reload_flag
13144 reload_cmds=$lt_reload_cmds
13146 # How to pass a linker flag through the compiler.
13147 wl=$lt_lt_prog_compiler_wl_CXX
13149 # Object file suffix (normally "o").
13150 objext="$ac_objext"
13152 # Old archive suffix (normally "a").
13155 # Shared library suffix (normally ".so").
13158 # Executable file suffix (normally "").
13161 # Additional compiler flags for building library objects.
13162 pic_flag=$lt_lt_prog_compiler_pic_CXX
13165 # What is the maximum length of a command?
13166 max_cmd_len=$lt_cv_sys_max_cmd_len
13168 # Does compiler simultaneously support -c and -o options?
13169 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13171 # Must we lock files when doing compilation ?
13172 need_locks=$lt_need_locks
13174 # Do we need the lib prefix for modules?
13175 need_lib_prefix=$need_lib_prefix
13177 # Do we need a version for libraries?
13178 need_version=$need_version
13180 # Whether dlopen is supported.
13181 dlopen_support=$enable_dlopen
13183 # Whether dlopen of programs is supported.
13184 dlopen_self=$enable_dlopen_self
13186 # Whether dlopen of statically linked programs is supported.
13187 dlopen_self_static=$enable_dlopen_self_static
13189 # Compiler flag to prevent dynamic linking.
13190 link_static_flag=$lt_lt_prog_compiler_static_CXX
13192 # Compiler flag to turn off builtin functions.
13193 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13195 # Compiler flag to allow reflexive dlopens.
13196 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13198 # Compiler flag to generate shared objects directly from archives.
13199 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13201 # Compiler flag to generate thread-safe objects.
13202 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13204 # Library versioning type.
13205 version_type=$version_type
13207 # Format of library name prefix.
13208 libname_spec=$lt_libname_spec
13210 # List of archive names. First name is the real one, the rest are links.
13211 # The last name is the one that the linker finds with -lNAME.
13212 library_names_spec=$lt_library_names_spec
13214 # The coded name of the library, if different from the real name.
13215 soname_spec=$lt_soname_spec
13217 # Commands used to build and install an old-style archive.
13219 old_archive_cmds=$lt_old_archive_cmds_CXX
13220 old_postinstall_cmds=$lt_old_postinstall_cmds
13221 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13223 # Create an old-style archive from a shared archive.
13224 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13226 # Create a temporary old-style archive to link instead of a shared archive.
13227 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13229 # Commands used to build and install a shared archive.
13230 archive_cmds=$lt_archive_cmds_CXX
13231 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13232 postinstall_cmds=$lt_postinstall_cmds
13233 postuninstall_cmds=$lt_postuninstall_cmds
13235 # Commands used to build a loadable module (assumed same as above if empty)
13236 module_cmds=$lt_module_cmds_CXX
13237 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13239 # Commands to strip libraries.
13240 old_striplib=$lt_old_striplib
13241 striplib=$lt_striplib
13243 # Dependencies to place before the objects being linked to create a
13245 predep_objects=$lt_predep_objects_CXX
13247 # Dependencies to place after the objects being linked to create a
13249 postdep_objects=$lt_postdep_objects_CXX
13251 # Dependencies to place before the objects being linked to create a
13253 predeps=$lt_predeps_CXX
13255 # Dependencies to place after the objects being linked to create a
13257 postdeps=$lt_postdeps_CXX
13259 # The library search path used internally by the compiler when linking
13260 # a shared library.
13261 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13263 # Method to check whether dependent libraries are shared objects.
13264 deplibs_check_method=$lt_deplibs_check_method
13266 # Command to use when deplibs_check_method == file_magic.
13267 file_magic_cmd=$lt_file_magic_cmd
13269 # Flag that allows shared libraries with undefined symbols to be built.
13270 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13272 # Flag that forces no undefined symbols.
13273 no_undefined_flag=$lt_no_undefined_flag_CXX
13275 # Commands used to finish a libtool library installation in a directory.
13276 finish_cmds=$lt_finish_cmds
13278 # Same as above, but a single script fragment to be evaled but not shown.
13279 finish_eval=$lt_finish_eval
13281 # Take the output of nm and produce a listing of raw symbols and C names.
13282 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13284 # Transform the output of nm in a proper C declaration
13285 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13287 # Transform the output of nm in a C name address pair
13288 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13290 # This is the shared library runtime path variable.
13291 runpath_var=$runpath_var
13293 # This is the shared library path variable.
13294 shlibpath_var=$shlibpath_var
13296 # Is shlibpath searched before the hard-coded library search path?
13297 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13299 # How to hardcode a shared library path into an executable.
13300 hardcode_action=$hardcode_action_CXX
13302 # Whether we should hardcode library paths into libraries.
13303 hardcode_into_libs=$hardcode_into_libs
13305 # Flag to hardcode \$libdir into a binary during linking.
13306 # This must work even if \$libdir does not exist.
13307 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13309 # If ld is used when linking, flag to hardcode \$libdir into
13310 # a binary during linking. This must work even if \$libdir does
13312 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13314 # Whether we need a single -rpath flag with a separated argument.
13315 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13317 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13318 # resulting binary.
13319 hardcode_direct=$hardcode_direct_CXX
13321 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13322 # resulting binary.
13323 hardcode_minus_L=$hardcode_minus_L_CXX
13325 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13326 # the resulting binary.
13327 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13329 # Set to yes if building a shared library automatically hardcodes DIR into the library
13330 # and all subsequent libraries and executables linked against it.
13331 hardcode_automatic=$hardcode_automatic_CXX
13333 # Variables whose values should be saved in libtool wrapper scripts and
13334 # restored at relink time.
13335 variables_saved_for_relink="$variables_saved_for_relink"
13337 # Whether libtool must link a program against all its dependency libraries.
13338 link_all_deplibs=$link_all_deplibs_CXX
13340 # Compile-time system search path for libraries
13341 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13343 # Run-time system search path for libraries
13344 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13346 # Fix the shell variable \$srcfile for the compiler.
13347 fix_srcfile_path="$fix_srcfile_path_CXX"
13349 # Set to yes if exported symbols are required.
13350 always_export_symbols=$always_export_symbols_CXX
13352 # The commands to list exported symbols.
13353 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13355 # The commands to extract the exported symbol list from a shared archive.
13356 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13358 # Symbols that should not be listed in the preloaded symbols.
13359 exclude_expsyms=$lt_exclude_expsyms_CXX
13361 # Symbols that must always be exported.
13362 include_expsyms=$lt_include_expsyms_CXX
13364 # ### END LIBTOOL TAG CONFIG: $tagname
13370 # If there is no Makefile yet, we rely on a make rule to execute
13371 # `config.status --recheck' to rerun these tests and create the
13372 # libtool script then.
13373 test -f Makefile
&& make "$ltmain"
13378 ac_cpp
='$CPP $CPPFLAGS'
13379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13387 with_gnu_ldcxx
=$with_gnu_ld
13388 with_gnu_ld
=$lt_save_with_gnu_ld
13389 lt_cv_path_LDCXX
=$lt_cv_path_LD
13390 lt_cv_path_LD
=$lt_save_path_LD
13391 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13392 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13400 if test -n "$F77" && test "X$F77" != "Xno"; then
13403 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13404 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13405 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13408 archive_cmds_need_lc_F77
=no
13409 allow_undefined_flag_F77
=
13410 always_export_symbols_F77
=no
13411 archive_expsym_cmds_F77
=
13412 export_dynamic_flag_spec_F77
=
13413 hardcode_direct_F77
=no
13414 hardcode_libdir_flag_spec_F77
=
13415 hardcode_libdir_flag_spec_ld_F77
=
13416 hardcode_libdir_separator_F77
=
13417 hardcode_minus_L_F77
=no
13418 hardcode_automatic_F77
=no
13420 module_expsym_cmds_F77
=
13421 link_all_deplibs_F77
=unknown
13422 old_archive_cmds_F77
=$old_archive_cmds
13423 no_undefined_flag_F77
=
13424 whole_archive_flag_spec_F77
=
13425 enable_shared_with_static_runtimes_F77
=no
13427 # Source file extension for f77 test sources.
13430 # Object file extension for compiled f77 test sources.
13434 # Code to be used in simple compile tests
13435 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13437 # Code to be used in simple link tests
13438 lt_simple_link_test_code
=" program t\n end\n"
13440 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13442 # If no C compiler was specified, use CC.
13445 # Allow CC to be a program name with arguments.
13449 # Allow CC to be a program name with arguments.
13454 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13456 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13457 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13458 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13459 echo "${ECHO_T}$can_build_shared" >&6
13461 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13462 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13463 test "$can_build_shared" = "no" && enable_shared
=no
13465 # On AIX, shared libraries and static libraries use the same namespace, and
13466 # are all built from PIC.
13469 test "$enable_shared" = yes && enable_static
=no
13470 if test -n "$RANLIB"; then
13471 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13472 postinstall_cmds
='$RANLIB $lib'
13476 test "$enable_shared" = yes && enable_static
=no
13479 echo "$as_me:$LINENO: result: $enable_shared" >&5
13480 echo "${ECHO_T}$enable_shared" >&6
13482 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13483 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13484 # Make sure either enable_shared or enable_static is yes.
13485 test "$enable_shared" = yes || enable_static
=yes
13486 echo "$as_me:$LINENO: result: $enable_static" >&5
13487 echo "${ECHO_T}$enable_static" >&6
13489 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13494 lt_prog_compiler_wl_F77
=
13495 lt_prog_compiler_pic_F77
=
13496 lt_prog_compiler_static_F77
=
13498 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13499 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13501 if test "$GCC" = yes; then
13502 lt_prog_compiler_wl_F77
='-Wl,'
13503 lt_prog_compiler_static_F77
='-static'
13507 # All AIX code is PIC.
13508 if test "$host_cpu" = ia64
; then
13509 # AIX 5 now supports IA64 processor
13510 lt_prog_compiler_static_F77
='-Bstatic'
13515 # FIXME: we need at least 68020 code to build shared libraries, but
13516 # adding the `-m68020' flag to GCC prevents building anything better,
13518 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13521 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13522 # PIC is the default for these OSes.
13525 mingw
* | pw32
* | os2
*)
13526 # This hack is so that the source file can tell whether it is being
13527 # built for inclusion in a dll (and should export symbols for example).
13528 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13531 darwin
* | rhapsody
*)
13532 # PIC is the default on this platform
13533 # Common symbols not allowed in MH_DYLIB files
13534 lt_prog_compiler_pic_F77
='-fno-common'
13538 # Just because we use GCC doesn't mean we suddenly get shared libraries
13539 # on systems that don't support them.
13540 lt_prog_compiler_can_build_shared_F77
=no
13545 if test -d /usr
/nec
; then
13546 lt_prog_compiler_pic_F77
=-Kconform_pic
13551 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13552 # not for PA HP-UX.
13553 case "$host_cpu" in
13558 lt_prog_compiler_pic_F77
='-fPIC'
13564 lt_prog_compiler_pic_F77
='-fPIC'
13568 # PORTME Check for flag to pass linker flags through the system compiler.
13571 lt_prog_compiler_wl_F77
='-Wl,'
13572 if test "$host_cpu" = ia64
; then
13573 # AIX 5 now supports IA64 processor
13574 lt_prog_compiler_static_F77
='-Bstatic'
13576 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13580 mingw
* | pw32
* | os2
*)
13581 # This hack is so that the source file can tell whether it is being
13582 # built for inclusion in a dll (and should export symbols for example).
13583 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13586 hpux9
* | hpux10
* | hpux11
*)
13587 lt_prog_compiler_wl_F77
='-Wl,'
13588 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13589 # not for PA HP-UX.
13590 case "$host_cpu" in
13595 lt_prog_compiler_pic_F77
='+Z'
13598 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13599 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13602 irix5
* | irix6
* | nonstopux
*)
13603 lt_prog_compiler_wl_F77
='-Wl,'
13604 # PIC (with -KPIC) is the default.
13605 lt_prog_compiler_static_F77
='-non_shared'
13609 lt_prog_compiler_pic_F77
='-KPIC'
13610 lt_prog_compiler_static_F77
='-Bstatic'
13616 lt_prog_compiler_wl_F77
='-Wl,'
13617 lt_prog_compiler_pic_F77
='-KPIC'
13618 lt_prog_compiler_static_F77
='-static'
13621 lt_prog_compiler_wl_F77
='-Wl,'
13622 # All Alpha code is PIC.
13623 lt_prog_compiler_static_F77
='-non_shared'
13628 osf3
* | osf4
* | osf5
*)
13629 lt_prog_compiler_wl_F77
='-Wl,'
13630 # All OSF/1 code is PIC.
13631 lt_prog_compiler_static_F77
='-non_shared'
13635 lt_prog_compiler_pic_F77
='-Kpic'
13636 lt_prog_compiler_static_F77
='-dn'
13640 lt_prog_compiler_wl_F77
='-Wl,'
13641 lt_prog_compiler_pic_F77
='-KPIC'
13642 lt_prog_compiler_static_F77
='-Bstatic'
13646 lt_prog_compiler_wl_F77
='-Qoption ld '
13647 lt_prog_compiler_pic_F77
='-PIC'
13648 lt_prog_compiler_static_F77
='-Bstatic'
13651 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13652 lt_prog_compiler_wl_F77
='-Wl,'
13653 lt_prog_compiler_pic_F77
='-KPIC'
13654 lt_prog_compiler_static_F77
='-Bstatic'
13658 if test -d /usr
/nec
;then
13659 lt_prog_compiler_pic_F77
='-Kconform_pic'
13660 lt_prog_compiler_static_F77
='-Bstatic'
13665 lt_prog_compiler_pic_F77
='-pic'
13666 lt_prog_compiler_static_F77
='-Bstatic'
13670 lt_prog_compiler_can_build_shared_F77
=no
13675 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13676 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13679 # Check to make sure the PIC flag actually works.
13681 if test -n "$lt_prog_compiler_pic_F77"; then
13682 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13683 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13684 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13685 echo $ECHO_N "(cached) $ECHO_C" >&6
13687 lt_prog_compiler_pic_works_F77
=no
13688 ac_outfile
=conftest.
$ac_objext
13689 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13690 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13691 # Insert the option either (1) after the last *FLAGS variable, or
13692 # (2) before a word containing "conftest.", or (3) at the end.
13693 # Note that $ac_compile itself does not contain backslashes and begins
13694 # with a dollar sign (not a hyphen), so the echo should work correctly.
13695 # The option is referenced via a variable to avoid confusing sed.
13696 lt_compile
=`echo "$ac_compile" | $SED \
13697 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13699 -e 's:$: $lt_compiler_flag:'`
13700 (eval echo "\"\$as_me:13700: $lt_compile\"" >&5)
13701 (eval "$lt_compile" 2>conftest.err
)
13703 cat conftest.err
>&5
13704 echo "$as_me:13704: \$? = $ac_status" >&5
13705 if (exit $ac_status) && test -s "$ac_outfile"; then
13706 # The compiler can only warn and ignore the option if not recognized
13707 # So say no if there are warnings
13708 if test ! -s conftest.err
; then
13709 lt_prog_compiler_pic_works_F77
=yes
13715 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13716 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13718 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13719 case $lt_prog_compiler_pic_F77 in
13721 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13724 lt_prog_compiler_pic_F77
=
13725 lt_prog_compiler_can_build_shared_F77
=no
13730 # For platforms which do not support PIC, -DPIC is meaningless:
13732 lt_prog_compiler_pic_F77
=
13735 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13739 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13740 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13741 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13742 echo $ECHO_N "(cached) $ECHO_C" >&6
13744 lt_cv_prog_compiler_c_o_F77
=no
13745 $rm -r conftest
2>/dev
/null
13749 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13751 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13752 # that will create temporary files in the current directory regardless of
13753 # the output directory. Thus, making CWD read-only will cause this test
13754 # to fail, enabling locking or at least warning the user not to do parallel
13758 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13759 # Insert the option either (1) after the last *FLAGS variable, or
13760 # (2) before a word containing "conftest.", or (3) at the end.
13761 # Note that $ac_compile itself does not contain backslashes and begins
13762 # with a dollar sign (not a hyphen), so the echo should work correctly.
13763 lt_compile
=`echo "$ac_compile" | $SED \
13764 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13765 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13766 -e 's:$: $lt_compiler_flag:'`
13767 (eval echo "\"\$as_me:13767: $lt_compile\"" >&5)
13768 (eval "$lt_compile" 2>out
/conftest.err
)
13770 cat out
/conftest.err
>&5
13771 echo "$as_me:13771: \$? = $ac_status" >&5
13772 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13774 # The compiler can only warn and ignore the option if not recognized
13775 # So say no if there are warnings
13776 if test ! -s out
/conftest.err
; then
13777 lt_cv_prog_compiler_c_o_F77
=yes
13781 $rm conftest
* out
/*
13788 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13789 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13792 hard_links
="nottested"
13793 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13794 # do not overwrite the value of need_locks provided by the user
13795 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13796 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13799 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13801 ln conftest.a conftest.b
2>&5 || hard_links
=no
13802 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13803 echo "$as_me:$LINENO: result: $hard_links" >&5
13804 echo "${ECHO_T}$hard_links" >&6
13805 if test "$hard_links" = no
; then
13806 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13807 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13814 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13815 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13818 allow_undefined_flag_F77
=
13819 enable_shared_with_static_runtimes_F77
=no
13821 archive_expsym_cmds_F77
=
13822 old_archive_From_new_cmds_F77
=
13823 old_archive_from_expsyms_cmds_F77
=
13824 export_dynamic_flag_spec_F77
=
13825 whole_archive_flag_spec_F77
=
13826 thread_safe_flag_spec_F77
=
13827 hardcode_libdir_flag_spec_F77
=
13828 hardcode_libdir_flag_spec_ld_F77
=
13829 hardcode_libdir_separator_F77
=
13830 hardcode_direct_F77
=no
13831 hardcode_minus_L_F77
=no
13832 hardcode_shlibpath_var_F77
=unsupported
13833 link_all_deplibs_F77
=unknown
13834 hardcode_automatic_F77
=no
13836 module_expsym_cmds_F77
=
13837 always_export_symbols_F77
=no
13838 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13839 # include_expsyms should be a list of space-separated symbols to be *always*
13840 # included in the symbol list
13841 include_expsyms_F77
=
13842 # exclude_expsyms can be an extended regexp of symbols to exclude
13843 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13844 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13845 # as well as any symbol that contains `d'.
13846 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13847 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13848 # platforms (ab)use it in PIC code, but their linkers get confused if
13849 # the symbol is explicitly referenced. Since portable code cannot
13850 # rely on this symbol name, it's probably fine to never include it in
13851 # preloaded symbol tables.
13852 extract_expsyms_cmds
=
13855 cygwin
* | mingw
* | pw32
*)
13856 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13857 # When not using gcc, we currently assume that we are using
13858 # Microsoft Visual C++.
13859 if test "$GCC" != yes; then
13869 if test "$with_gnu_ld" = yes; then
13870 # If archive_cmds runs LD, not CC, wlarc should be empty
13873 # See if GNU ld supports shared libraries.
13875 aix3
* | aix4
* | aix5
*)
13876 # On AIX/PPC, the GNU linker is very broken
13877 if test "$host_cpu" != ia64
; then
13881 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13882 *** to be unable to reliably create shared libraries on AIX.
13883 *** Therefore, libtool is disabling shared libraries support. If you
13884 *** really care for shared libraries, you may want to modify your PATH
13885 *** so that a non-GNU linker is found, and then restart.
13892 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)'
13893 hardcode_libdir_flag_spec_F77
='-L$libdir'
13894 hardcode_minus_L_F77
=yes
13896 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13897 # that the semantics of dynamic libraries on AmigaOS, at least up
13898 # to version 4, is to share data among multiple programs linked
13899 # with the same dynamic library. Since this doesn't match the
13900 # behavior of shared libraries on other platforms, we can't use
13906 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13907 allow_undefined_flag_F77
=unsupported
13908 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13909 # support --undefined. This deserves some investigation. FIXME
13910 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13916 cygwin
* | mingw
* | pw32
*)
13917 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13918 # as there is no search path for DLLs.
13919 hardcode_libdir_flag_spec_F77
='-L$libdir'
13920 allow_undefined_flag_F77
=unsupported
13921 always_export_symbols_F77
=no
13922 enable_shared_with_static_runtimes_F77
=yes
13923 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13925 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13926 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13927 # If the export-symbols file already is a .def file (1st line
13928 # is EXPORTS), use it as is; otherwise, prepend...
13929 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13930 cp $export_symbols $output_objdir/$soname.def;
13932 echo EXPORTS > $output_objdir/$soname.def;
13933 cat $export_symbols >> $output_objdir/$soname.def;
13935 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13942 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13943 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13946 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13947 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13952 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13956 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13957 *** create shared libraries on Solaris systems. Therefore, libtool
13958 *** is disabling shared libraries support. We urge you to upgrade GNU
13959 *** binutils to release 2.9.1 or newer. Another option is to modify
13960 *** your PATH or compiler configuration so that the native linker is
13961 *** used, and then restart.
13964 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13965 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13966 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13973 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13975 hardcode_direct_F77
=yes
13976 hardcode_shlibpath_var_F77
=no
13980 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13981 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13982 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13989 if test "$ld_shlibs_F77" = yes; then
13990 runpath_var
=LD_RUN_PATH
13991 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13992 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13993 # ancient GNU ld didn't support --whole-archive et. al.
13994 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13995 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13997 whole_archive_flag_spec_F77
=
14001 # PORTME fill in a description of your system's linker (not GNU ld)
14004 allow_undefined_flag_F77
=unsupported
14005 always_export_symbols_F77
=yes
14006 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'
14007 # Note: this linker hardcodes the directories in LIBPATH if there
14008 # are no directories specified by -L.
14009 hardcode_minus_L_F77
=yes
14010 if test "$GCC" = yes && test -z "$link_static_flag"; then
14011 # Neither direct hardcoding nor static linking is supported with a
14013 hardcode_direct_F77
=unsupported
14018 if test "$host_cpu" = ia64
; then
14019 # On IA64, the linker does run time linking by default, so we don't
14020 # have to do anything special.
14021 aix_use_runtimelinking
=no
14022 exp_sym_flag
='-Bexport'
14025 # If we're using GNU nm, then we don't want the "-C" option.
14026 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14027 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14028 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'
14030 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'
14032 aix_use_runtimelinking
=no
14034 # Test if we are trying to use run time linking or normal
14035 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14036 # need to do runtime linking.
14037 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14038 for ld_flag
in $LDFLAGS; do
14039 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14040 aix_use_runtimelinking
=yes
14046 exp_sym_flag
='-bexport'
14047 no_entry_flag
='-bnoentry'
14050 # When large executables or shared objects are built, AIX ld can
14051 # have problems creating the table of contents. If linking a library
14052 # or program results in "error TOC overflow" add -mminimal-toc to
14053 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14054 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14056 archive_cmds_F77
=''
14057 hardcode_direct_F77
=yes
14058 hardcode_libdir_separator_F77
=':'
14059 link_all_deplibs_F77
=yes
14061 if test "$GCC" = yes; then
14062 case $host_os in aix4.012|aix4.012.
*)
14063 # We only want to do this on AIX 4.2 and lower, the check
14064 # below for broken collect2 doesn't work under 4.3+
14065 collect2name
=`${CC} -print-prog-name=collect2`
14066 if test -f "$collect2name" && \
14067 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14069 # We have reworked collect2
14070 hardcode_direct_F77
=yes
14072 # We have old collect2
14073 hardcode_direct_F77
=unsupported
14074 # It fails to find uninstalled libraries when the uninstalled
14075 # path is not listed in the libpath. Setting hardcode_minus_L
14076 # to unsupported forces relinking
14077 hardcode_minus_L_F77
=yes
14078 hardcode_libdir_flag_spec_F77
='-L$libdir'
14079 hardcode_libdir_separator_F77
=
14082 shared_flag
='-shared'
14085 if test "$host_cpu" = ia64
; then
14086 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14087 # chokes on -Wl,-G. The following line is correct:
14090 if test "$aix_use_runtimelinking" = yes; then
14091 shared_flag
='${wl}-G'
14093 shared_flag
='${wl}-bM:SRE'
14098 # It seems that -bexpall does not export symbols beginning with
14099 # underscore (_), so it is better to generate a list of symbols to export.
14100 always_export_symbols_F77
=yes
14101 if test "$aix_use_runtimelinking" = yes; then
14102 # Warning - without using the other runtime loading flags (-brtl),
14103 # -berok will link without error, but may produce a broken library.
14104 allow_undefined_flag_F77
='-berok'
14105 # Determine the default libpath from the value encoded in an empty executable.
14106 cat >conftest.
$ac_ext <<_ACEOF
14111 rm -f conftest.
$ac_objext conftest
$ac_exeext
14112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14113 (eval $ac_link) 2>conftest.er1
14115 grep -v '^ *+' conftest.er1
>conftest.err
14117 cat conftest.err
>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } &&
14120 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; } &&
14126 { ac_try
='test -s conftest$ac_exeext'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; }; then
14133 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14135 # Check for a 64-bit object if we didn't find anything.
14136 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; }
14139 echo "$as_me: failed program was:" >&5
14140 sed 's/^/| /' conftest.
$ac_ext >&5
14143 rm -f conftest.err conftest.
$ac_objext \
14144 conftest
$ac_exeext conftest.
$ac_ext
14145 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14147 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14148 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"
14150 if test "$host_cpu" = ia64; then
14151 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
14152 allow_undefined_flag_F77="-z nodefs"
14153 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"
14155 # Determine the default libpath from the value encoded in an empty executable.
14156 cat >conftest.$ac_ext <<_ACEOF
14161 rm -f conftest.$ac_objext conftest$ac_exeext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14163 (eval $ac_link) 2>conftest.er1
14165 grep -v '^ *+' conftest.er1 >conftest.err
14167 cat conftest.err >&5
14168 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14169 (exit $ac_status); } &&
14170 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14172 (eval $ac_try) 2>&5
14174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14175 (exit $ac_status); }; } &&
14176 { ac_try='test -s conftest$ac_exeext'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14181 (exit $ac_status); }; }; then
14183 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14185 # Check for a 64-bit object if we didn't find anything.
14186 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; }
14189 echo "$as_me: failed program was
:" >&5
14190 sed 's/^/| /' conftest.$ac_ext >&5
14193 rm -f conftest.err conftest.$ac_objext \
14194 conftest$ac_exeext conftest.$ac_ext
14195 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
14197 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14198 # Warning - without using the other run time loading flags,
14199 # -berok will link without error, but may produce a broken library.
14200 no_undefined_flag_F77=' ${wl}-bernotok'
14201 allow_undefined_flag_F77=' ${wl}-berok'
14202 # -bexpall does not export symbols beginning with underscore (_)
14203 always_export_symbols_F77=yes
14204 # Exported symbols can be pulled into shared objects from archives
14205 whole_archive_flag_spec_F77=' '
14206 archive_cmds_need_lc_F77=yes
14207 # This is similar to how AIX traditionally builds it's shared libraries.
14208 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'
14214 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)'
14215 hardcode_libdir_flag_spec_F77
='-L$libdir'
14216 hardcode_minus_L_F77
=yes
14217 # see comment about different semantics on the GNU ld section
14222 export_dynamic_flag_spec_F77
=-rdynamic
14225 cygwin
* | mingw
* | pw32
*)
14226 # When not using gcc, we currently assume that we are using
14227 # Microsoft Visual C++.
14228 # hardcode_libdir_flag_spec is actually meaningless, as there is
14229 # no search path for DLLs.
14230 hardcode_libdir_flag_spec_F77
=' '
14231 allow_undefined_flag_F77
=unsupported
14232 # Tell ltmain to make .lib files, not .a files.
14234 # Tell ltmain to make .dll files, not .so files.
14236 # FIXME: Setting linknames here is a bad hack.
14237 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14238 # The linker will automatically build a .lib file if we build a DLL.
14239 old_archive_From_new_cmds_F77
='true'
14240 # FIXME: Should let the user specify the lib program.
14241 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14242 fix_srcfile_path
='`cygpath -w "$srcfile"`'
14243 enable_shared_with_static_runtimes_F77
=yes
14246 darwin
* | rhapsody
*)
14247 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
14248 archive_cmds_need_lc_F77
=no
14250 rhapsody
* | darwin1.
[012])
14251 allow_undefined_flag_F77
='-undefined suppress'
14254 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
14257 # FIXME: Relying on posixy $() will cause problems for
14258 # cross-compilation, but unfortunately the echo tests do not
14259 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
14260 # `"' quotes if we put them in here... so don't!
14261 lt_int_apple_cc_single_mod
=no
14262 output_verbose_link_cmd
='echo'
14263 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
14264 lt_int_apple_cc_single_mod
=yes
14266 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14267 archive_cmds_F77
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14269 archive_cmds_F77
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14271 module_cmds_F77
='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
14272 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14273 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14274 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14276 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14278 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14279 hardcode_direct_F77
=no
14280 hardcode_automatic_F77
=yes
14281 hardcode_shlibpath_var_F77
=unsupported
14282 whole_archive_flag_spec_F77
='-all_load $convenience'
14283 link_all_deplibs_F77
=yes
14288 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14289 hardcode_libdir_flag_spec_F77
='-L$libdir'
14290 hardcode_shlibpath_var_F77
=no
14297 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14298 # support. Future versions do this automatically, but an explicit c++rt0.o
14299 # does not break anything, and helps significantly (at the cost of a little
14302 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14303 hardcode_libdir_flag_spec_F77
='-R$libdir'
14304 hardcode_direct_F77
=yes
14305 hardcode_shlibpath_var_F77
=no
14308 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14310 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14311 hardcode_direct_F77
=yes
14312 hardcode_minus_L_F77
=yes
14313 hardcode_shlibpath_var_F77
=no
14316 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14318 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14319 hardcode_libdir_flag_spec_F77
='-R$libdir'
14320 hardcode_direct_F77
=yes
14321 hardcode_shlibpath_var_F77
=no
14325 if test "$GCC" = yes; then
14326 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'
14328 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'
14330 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14331 hardcode_libdir_separator_F77
=:
14332 hardcode_direct_F77
=yes
14334 # hardcode_minus_L: Not really in the search PATH,
14335 # but as the default location of the library.
14336 hardcode_minus_L_F77
=yes
14337 export_dynamic_flag_spec_F77
='${wl}-E'
14341 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14342 case "$host_cpu" in
14344 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14347 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14351 case "$host_cpu" in
14353 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14356 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14360 if test "$with_gnu_ld" = no
; then
14361 case "$host_cpu" in
14363 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14364 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14365 hardcode_libdir_separator_F77
=:
14366 hardcode_direct_F77
=no
14367 hardcode_shlibpath_var_F77
=no
14370 hardcode_libdir_flag_spec_F77
='-L$libdir'
14371 hardcode_direct_F77
=no
14372 hardcode_shlibpath_var_F77
=no
14374 # hardcode_minus_L: Not really in the search PATH,
14375 # but as the default location of the library.
14376 hardcode_minus_L_F77
=yes
14379 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14380 hardcode_libdir_separator_F77
=:
14381 hardcode_direct_F77
=yes
14382 export_dynamic_flag_spec_F77
='${wl}-E'
14384 # hardcode_minus_L: Not really in the search PATH,
14385 # but as the default location of the library.
14386 hardcode_minus_L_F77
=yes
14392 irix5
* | irix6
* | nonstopux
*)
14393 if test "$GCC" = yes; then
14394 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'
14396 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'
14397 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14399 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14400 hardcode_libdir_separator_F77
=:
14401 link_all_deplibs_F77
=yes
14405 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14406 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14408 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14410 hardcode_libdir_flag_spec_F77
='-R$libdir'
14411 hardcode_direct_F77
=yes
14412 hardcode_shlibpath_var_F77
=no
14416 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14417 hardcode_direct_F77
=yes
14418 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14419 hardcode_libdir_separator_F77
=:
14420 hardcode_shlibpath_var_F77
=no
14424 hardcode_direct_F77
=yes
14425 hardcode_shlibpath_var_F77
=no
14426 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14427 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14428 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14429 export_dynamic_flag_spec_F77
='${wl}-E'
14432 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14433 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14434 hardcode_libdir_flag_spec_F77
='-R$libdir'
14437 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14438 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14445 hardcode_libdir_flag_spec_F77
='-L$libdir'
14446 hardcode_minus_L_F77
=yes
14447 allow_undefined_flag_F77
=unsupported
14448 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'
14449 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14453 if test "$GCC" = yes; then
14454 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14455 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'
14457 allow_undefined_flag_F77
=' -expect_unresolved \*'
14458 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'
14460 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14461 hardcode_libdir_separator_F77
=:
14464 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14465 if test "$GCC" = yes; then
14466 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14467 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'
14468 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14470 allow_undefined_flag_F77
=' -expect_unresolved \*'
14471 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'
14472 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~
14473 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
14475 # Both c and cxx compiler support -rpath directly
14476 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14478 hardcode_libdir_separator_F77
=:
14482 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14483 hardcode_shlibpath_var_F77
=no
14484 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14485 runpath_var
=LD_RUN_PATH
14486 hardcode_runpath_var
=yes
14490 no_undefined_flag_F77
=' -z text'
14491 if test "$GCC" = yes; then
14492 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14493 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14494 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14496 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14497 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14498 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14500 hardcode_libdir_flag_spec_F77
='-R$libdir'
14501 hardcode_shlibpath_var_F77
=no
14503 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14504 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14505 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14507 link_all_deplibs_F77
=yes
14511 if test "x$host_vendor" = xsequent
; then
14512 # Use $CC to link under sequent, because it throws in some extra .o
14513 # files that make .init and .fini sections work.
14514 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14516 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14518 hardcode_libdir_flag_spec_F77
='-L$libdir'
14519 hardcode_direct_F77
=yes
14520 hardcode_minus_L_F77
=yes
14521 hardcode_shlibpath_var_F77
=no
14525 case $host_vendor in
14527 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14528 hardcode_direct_F77
=yes # is this really true???
14531 ## LD is ld it makes a PLAMLIB
14532 ## CC just makes a GrossModule.
14533 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14534 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14535 hardcode_direct_F77
=no
14538 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14539 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14542 runpath_var
='LD_RUN_PATH'
14543 hardcode_shlibpath_var_F77
=no
14547 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14548 hardcode_shlibpath_var_F77
=no
14549 export_dynamic_flag_spec_F77
='-Bexport'
14553 if test -d /usr
/nec
; then
14554 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14555 hardcode_shlibpath_var_F77
=no
14556 runpath_var
=LD_RUN_PATH
14557 hardcode_runpath_var
=yes
14563 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14564 hardcode_direct_F77
=yes
14565 hardcode_minus_L_F77
=no
14566 hardcode_shlibpath_var_F77
=no
14567 hardcode_runpath_var
=yes
14568 runpath_var
=LD_RUN_PATH
14571 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14572 no_undefined_flag_F77
='${wl}-z ${wl}text'
14573 if test "$GCC" = yes; then
14574 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14576 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14578 runpath_var
='LD_RUN_PATH'
14579 hardcode_shlibpath_var_F77
=no
14583 no_undefined_flag_F77
=' -z text'
14584 # $CC -shared without GNU ld will not create a library from C++
14585 # object files and a static libstdc++, better avoid it by now
14586 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14587 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14588 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14589 hardcode_libdir_flag_spec_F77
=
14590 hardcode_shlibpath_var_F77
=no
14591 runpath_var
='LD_RUN_PATH'
14595 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14596 hardcode_libdir_flag_spec_F77
='-L$libdir'
14597 hardcode_shlibpath_var_F77
=no
14606 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14607 echo "${ECHO_T}$ld_shlibs_F77" >&6
14608 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14610 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14611 if test "$GCC" = yes; then
14612 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14616 # Do we need to explicitly link libc?
14618 case "x$archive_cmds_need_lc_F77" in
14620 # Assume -lc should be added
14621 archive_cmds_need_lc_F77
=yes
14623 if test "$enable_shared" = yes && test "$GCC" = yes; then
14624 case $archive_cmds_F77 in
14626 # FIXME: we may have to deal with multi-command sequences.
14629 # Test whether the compiler implicitly links with -lc since on some
14630 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14631 # to ld, don't add -lc before -lgcc.
14632 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14633 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14635 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14638 (eval $ac_compile) 2>&5
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); } 2>conftest.err
; then
14644 libobjs
=conftest.
$ac_objext
14646 wl
=$lt_prog_compiler_wl_F77
14652 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14653 allow_undefined_flag_F77
=
14654 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14655 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }
14660 archive_cmds_need_lc_F77
=no
14662 archive_cmds_need_lc_F77
=yes
14664 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14666 cat conftest.err
1>&5
14669 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14670 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14677 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14678 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14679 hardcode_action_F77
=
14680 if test -n "$hardcode_libdir_flag_spec_F77" || \
14681 test -n "$runpath_var F77" || \
14682 test "X$hardcode_automatic_F77"="Xyes" ; then
14684 # We can hardcode non-existant directories.
14685 if test "$hardcode_direct_F77" != no
&&
14686 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14687 # have to relink, otherwise we might link with an installed library
14688 # when we should be linking with a yet-to-be-installed one
14689 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14690 test "$hardcode_minus_L_F77" != no
; then
14691 # Linking always hardcodes the temporary library directory.
14692 hardcode_action_F77
=relink
14694 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14695 hardcode_action_F77
=immediate
14698 # We cannot hardcode anything, or else we can only hardcode existing
14700 hardcode_action_F77
=unsupported
14702 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14703 echo "${ECHO_T}$hardcode_action_F77" >&6
14705 if test "$hardcode_action_F77" = relink
; then
14706 # Fast installation is not supported
14707 enable_fast_install
=no
14708 elif test "$shlibpath_overrides_runpath" = yes ||
14709 test "$enable_shared" = no
; then
14710 # Fast installation is not necessary
14711 enable_fast_install
=needless
14716 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14717 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14718 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
14719 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14720 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14721 echo "$as_me:$LINENO: result: yes" >&5
14722 echo "${ECHO_T}yes" >&6
14724 # FIXME - insert some real tests, host_os isn't really good enough
14727 if test -n "$STRIP" ; then
14728 striplib
="$STRIP -x"
14729 echo "$as_me:$LINENO: result: yes" >&5
14730 echo "${ECHO_T}yes" >&6
14732 echo "$as_me:$LINENO: result: no" >&5
14733 echo "${ECHO_T}no" >&6
14737 echo "$as_me:$LINENO: result: no" >&5
14738 echo "${ECHO_T}no" >&6
14743 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14744 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14745 library_names_spec
=
14746 libname_spec
='lib$name'
14750 postuninstall_cmds
=
14754 shlibpath_overrides_runpath
=unknown
14756 dynamic_linker
="$host_os ld.so"
14757 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14758 if test "$GCC" = yes; then
14759 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14760 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14761 # if the path contains ";" then we assume it to be the separator
14762 # otherwise default to the standard path separator (i.e. ":") - it is
14763 # assumed that no part of a normal pathname contains ";" but that should
14764 # okay in the real world where ";" in dirpaths is itself problematic.
14765 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14767 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14770 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14772 need_lib_prefix
=unknown
14773 hardcode_into_libs
=no
14775 # when you set need_version to no, make sure it does not cause -set_version
14776 # flags to be left without arguments
14777 need_version
=unknown
14782 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14783 shlibpath_var
=LIBPATH
14785 # AIX 3 has no versioning support, so we append a major version to the name.
14786 soname_spec
='${libname}${release}${shared_ext}$major'
14793 hardcode_into_libs
=yes
14794 if test "$host_cpu" = ia64
; then
14795 # AIX 5 supports IA64
14796 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14797 shlibpath_var
=LD_LIBRARY_PATH
14799 # With GCC up to 2.95.x, collect2 would create an import file
14800 # for dependence libraries. The import file would start with
14801 # the line `#! .'. This would cause the generated library to
14802 # depend on `.', always an invalid library. This was fixed in
14803 # development snapshots of GCC prior to 3.0.
14805 aix4 | aix4.
[01] | aix4.
[01].
*)
14806 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14808 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14811 can_build_shared
=no
14815 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14816 # soname into executable. Probably we can add versioning support to
14817 # collect2, so additional links can be useful in future.
14818 if test "$aix_use_runtimelinking" = yes; then
14819 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14820 # instead of lib<name>.a to let people know that these are not
14821 # typical AIX shared libraries.
14822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14824 # We preserve .a as extension for shared libraries through AIX4.2
14825 # and later when we are not doing run time linking.
14826 library_names_spec
='${libname}${release}.a $libname.a'
14827 soname_spec
='${libname}${release}${shared_ext}$major'
14829 shlibpath_var
=LIBPATH
14834 library_names_spec
='$libname.ixlibrary $libname.a'
14835 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14836 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'
14840 library_names_spec
='${libname}${shared_ext}'
14841 dynamic_linker
="$host_os ld.so"
14842 shlibpath_var
=LIBRARY_PATH
14848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14849 soname_spec
='${libname}${release}${shared_ext}$major'
14850 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14851 shlibpath_var
=LD_LIBRARY_PATH
14852 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14853 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14854 # the default ld.so.conf also contains /usr/contrib/lib and
14855 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14856 # libtool to hard-code these into programs
14859 cygwin
* | mingw
* | pw32
*)
14860 version_type
=windows
14865 case $GCC,$host_os in
14866 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14867 library_names_spec
='$libname.dll.a'
14868 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14869 postinstall_cmds
='base_file=`basename \${file}`~
14870 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14871 dldir=$destdir/`dirname \$dlpath`~
14872 test -d \$dldir || mkdir -p \$dldir~
14873 $install_prog $dir/$dlname \$dldir/$dlname'
14874 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14875 dlpath=$dir/\$dldll~
14877 shlibpath_overrides_runpath
=yes
14881 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14882 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14883 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
14886 # MinGW DLLs use traditional 'lib' prefix
14887 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14888 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14889 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14890 # It is most probably a Windows format PATH printed by
14891 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14892 # path with ; separators, and with drive letters. We can handle the
14893 # drive letters (cygwin fileutils understands them), so leave them,
14894 # especially as we might pass files found there to a mingw objdump,
14895 # which wouldn't understand a cygwinified path. Ahh.
14896 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14898 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14902 # pw32 DLLs use 'pw' prefix rather than 'lib'
14903 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14909 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14912 dynamic_linker
='Win32 ld.exe'
14913 # FIXME: first we should search . and the directory the executable is in
14917 darwin
* | rhapsody
*)
14918 dynamic_linker
="$host_os dyld"
14919 version_type
=darwin
14922 # FIXME: Relying on posixy $() will cause problems for
14923 # cross-compilation, but unfortunately the echo tests do not
14924 # yet detect zsh echo's removal of \ escapes.
14925 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14926 soname_spec
='${libname}${release}${major}$shared_ext'
14927 shlibpath_overrides_runpath
=yes
14928 shlibpath_var
=DYLD_LIBRARY_PATH
14929 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
14930 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14931 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
14932 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"`
14934 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14942 soname_spec
='${libname}${release}${shared_ext}$major'
14943 shlibpath_var
=LD_LIBRARY_PATH
14951 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14952 version_type
=freebsd-
$objformat
14953 case $version_type in
14955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14960 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14964 shlibpath_var
=LD_LIBRARY_PATH
14967 shlibpath_overrides_runpath
=yes
14969 freebsd3.01
* | freebsdelf3.01
*)
14970 shlibpath_overrides_runpath
=yes
14971 hardcode_into_libs
=yes
14974 shlibpath_overrides_runpath
=no
14975 hardcode_into_libs
=yes
14984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14985 soname_spec
='${libname}${release}${shared_ext}$major'
14986 shlibpath_var
=LD_LIBRARY_PATH
14987 hardcode_into_libs
=yes
14990 hpux9
* | hpux10
* | hpux11
*)
14991 # Give a soname corresponding to the major version so that dld.sl refuses to
14992 # link against other versions.
14996 case "$host_cpu" in
14999 hardcode_into_libs
=yes
15000 dynamic_linker
="$host_os dld.so"
15001 shlibpath_var
=LD_LIBRARY_PATH
15002 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15004 soname_spec
='${libname}${release}${shared_ext}$major'
15005 if test "X$HPUX_IA64_MODE" = X32
; then
15006 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15008 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15010 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15014 hardcode_into_libs
=yes
15015 dynamic_linker
="$host_os dld.sl"
15016 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15017 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15019 soname_spec
='${libname}${release}${shared_ext}$major'
15020 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15021 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15025 dynamic_linker
="$host_os dld.sl"
15026 shlibpath_var
=SHLIB_PATH
15027 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15029 soname_spec
='${libname}${release}${shared_ext}$major'
15032 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15033 postinstall_cmds
='chmod 555 $lib'
15036 irix5
* | irix6
* | nonstopux
*)
15038 nonstopux
*) version_type
=nonstopux
;;
15040 if test "$lt_cv_prog_gnu_ld" = yes; then
15048 soname_spec
='${libname}${release}${shared_ext}$major'
15049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15051 irix5
* | nonstopux
*)
15052 libsuff
= shlibsuff
=
15055 case $LD in # libtool.m4 will add one of these switches to LD
15056 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15057 libsuff
= shlibsuff
= libmagic
=32-bit;;
15058 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15059 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15060 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15061 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15062 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15066 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15067 shlibpath_overrides_runpath
=no
15068 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15069 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15070 hardcode_into_libs
=yes
15073 # No shared lib support for Linux oldld, aout, or coff.
15074 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15078 # This must be Linux ELF.
15083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15084 soname_spec
='${libname}${release}${shared_ext}$major'
15085 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15086 shlibpath_var
=LD_LIBRARY_PATH
15087 shlibpath_overrides_runpath
=no
15088 # This implies no fast_install, which is unacceptable.
15089 # Some rework will be needed to allow for fast_install
15090 # before this can be enabled.
15091 hardcode_into_libs
=yes
15093 # We used to test for /lib/ld.so.1 and disable shared libraries on
15094 # powerpc, because MkLinux only supported shared libraries with the
15095 # GNU dynamic linker. Since this was broken with cross compilers,
15096 # most powerpc-linux boxes support dynamic linking these days and
15097 # people can always --disable-shared, the test was removed, and we
15098 # assume the GNU/Linux dynamic linker is in use.
15099 dynamic_linker
='GNU/Linux ld.so'
15106 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15108 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15109 dynamic_linker
='NetBSD (a.out) ld.so'
15111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
15112 soname_spec
='${libname}${release}${shared_ext}$major'
15113 dynamic_linker
='NetBSD ld.elf_so'
15115 shlibpath_var
=LD_LIBRARY_PATH
15116 shlibpath_overrides_runpath
=yes
15117 hardcode_into_libs
=yes
15122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15123 shlibpath_var
=LD_LIBRARY_PATH
15124 shlibpath_overrides_runpath
=yes
15131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15132 soname_spec
='${libname}${release}${shared_ext}$major'
15133 shlibpath_var
=LD_LIBRARY_PATH
15134 shlibpath_overrides_runpath
=yes
15141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15142 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15143 shlibpath_var
=LD_LIBRARY_PATH
15144 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15146 openbsd2.
[89] | openbsd2.
[89].
*)
15147 shlibpath_overrides_runpath
=no
15150 shlibpath_overrides_runpath
=yes
15154 shlibpath_overrides_runpath
=yes
15159 libname_spec
='$name'
15162 library_names_spec
='$libname${shared_ext} $libname.a'
15163 dynamic_linker
='OS/2 ld.exe'
15164 shlibpath_var
=LIBPATH
15167 osf3
* | osf4
* | osf5
*)
15171 soname_spec
='${libname}${release}${shared_ext}$major'
15172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15173 shlibpath_var
=LD_LIBRARY_PATH
15174 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15175 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15180 soname_spec
='${libname}${release}${shared_ext}$major'
15181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15182 shlibpath_var
=LD_LIBRARY_PATH
15189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15190 soname_spec
='${libname}${release}${shared_ext}$major'
15191 shlibpath_var
=LD_LIBRARY_PATH
15192 shlibpath_overrides_runpath
=yes
15193 hardcode_into_libs
=yes
15194 # ldd complains unless libraries are executable
15195 postinstall_cmds
='chmod +x $lib'
15200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15201 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15202 shlibpath_var
=LD_LIBRARY_PATH
15203 shlibpath_overrides_runpath
=yes
15204 if test "$with_gnu_ld" = yes; then
15210 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15213 soname_spec
='${libname}${release}${shared_ext}$major'
15214 shlibpath_var
=LD_LIBRARY_PATH
15215 case $host_vendor in
15217 shlibpath_overrides_runpath
=no
15219 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15220 runpath_var
=LD_RUN_PATH
15228 shlibpath_overrides_runpath
=no
15229 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15235 if test -d /usr
/nec
;then
15237 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15238 soname_spec
='$libname${shared_ext}.$major'
15239 shlibpath_var
=LD_LIBRARY_PATH
15245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15246 soname_spec
='${libname}${release}${shared_ext}$major'
15247 shlibpath_var
=LD_LIBRARY_PATH
15254 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15255 echo "${ECHO_T}$dynamic_linker" >&6
15256 test "$dynamic_linker" = no
&& can_build_shared
=no
15259 # The else clause should only fire when bootstrapping the
15260 # libtool distribution, otherwise you forgot to ship ltmain.sh
15261 # with your package, and you will get complaints that there are
15262 # no rules to generate ltmain.sh.
15263 if test -f "$ltmain"; then
15264 # See if we are running on zsh, and set the options which allow our commands through
15265 # without removal of \ escapes.
15266 if test -n "${ZSH_VERSION+set}" ; then
15267 setopt NO_GLOB_SUBST
15269 # Now quote all the things that may contain metacharacters while being
15270 # careful not to overquote the AC_SUBSTed values. We take copies of the
15271 # variables and quote the copies for generation of the libtool script.
15272 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
15273 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15274 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15275 deplibs_check_method reload_flag reload_cmds need_locks \
15276 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15277 lt_cv_sys_global_symbol_to_c_name_address \
15278 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15279 old_postinstall_cmds old_postuninstall_cmds \
15283 lt_prog_compiler_wl_F77 \
15284 lt_prog_compiler_pic_F77 \
15285 lt_prog_compiler_static_F77 \
15286 lt_prog_compiler_no_builtin_flag_F77 \
15287 export_dynamic_flag_spec_F77 \
15288 thread_safe_flag_spec_F77 \
15289 whole_archive_flag_spec_F77 \
15290 enable_shared_with_static_runtimes_F77 \
15291 old_archive_cmds_F77 \
15292 old_archive_from_new_cmds_F77 \
15293 predep_objects_F77 \
15294 postdep_objects_F77 \
15297 compiler_lib_search_path_F77 \
15299 archive_expsym_cmds_F77 \
15300 postinstall_cmds_F77 \
15301 postuninstall_cmds_F77 \
15302 old_archive_from_expsyms_cmds_F77 \
15303 allow_undefined_flag_F77 \
15304 no_undefined_flag_F77 \
15305 export_symbols_cmds_F77 \
15306 hardcode_libdir_flag_spec_F77 \
15307 hardcode_libdir_flag_spec_ld_F77 \
15308 hardcode_libdir_separator_F77 \
15309 hardcode_automatic_F77 \
15311 module_expsym_cmds_F77 \
15312 lt_cv_prog_compiler_c_o_F77 \
15313 exclude_expsyms_F77 \
15314 include_expsyms_F77
; do
15317 old_archive_cmds_F77 | \
15318 old_archive_from_new_cmds_F77 | \
15319 archive_cmds_F77 | \
15320 archive_expsym_cmds_F77 | \
15321 module_cmds_F77 | \
15322 module_expsym_cmds_F77 | \
15323 old_archive_from_expsyms_cmds_F77 | \
15324 export_symbols_cmds_F77 | \
15325 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15326 postinstall_cmds | postuninstall_cmds | \
15327 old_postinstall_cmds | old_postuninstall_cmds | \
15328 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15329 # Double-quote double-evaled strings.
15330 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15333 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15339 *'\$0 --fallback-echo"')
15340 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15346 cat <<__EOF__ >> "$cfgfile"
15347 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15349 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15351 # Shell to use when invoking shell scripts.
15354 # Whether or not to build shared libraries.
15355 build_libtool_libs=$enable_shared
15357 # Whether or not to build static libraries.
15358 build_old_libs=$enable_static
15360 # Whether or not to add -lc for building shared libraries.
15361 build_libtool_need_lc=$archive_cmds_need_lc_F77
15363 # Whether or not to disallow shared libs when runtime libs are static
15364 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15366 # Whether or not to optimize for fast installation.
15367 fast_install=$enable_fast_install
15370 host_alias=$host_alias
15373 # An echo program that does not interpret backslashes.
15378 AR_FLAGS=$lt_AR_FLAGS
15383 # A language-specific compiler.
15384 CC=$lt_compiler_F77
15386 # Is the compiler the GNU C compiler?
15392 # The linker used to build libraries.
15395 # Whether we need hard or soft links.
15398 # A BSD-compatible nm program.
15401 # A symbol stripping program
15404 # Used to examine libraries when file_magic_cmd begins "file"
15405 MAGIC_CMD=$MAGIC_CMD
15407 # Used on cygwin: DLL creation program.
15410 # Used on cygwin: object dumper.
15413 # Used on cygwin: assembler.
15416 # The name of the directory that contains temporary libtool files.
15419 # How to create reloadable object files.
15420 reload_flag=$lt_reload_flag
15421 reload_cmds=$lt_reload_cmds
15423 # How to pass a linker flag through the compiler.
15424 wl=$lt_lt_prog_compiler_wl_F77
15426 # Object file suffix (normally "o").
15427 objext="$ac_objext"
15429 # Old archive suffix (normally "a").
15432 # Shared library suffix (normally ".so").
15435 # Executable file suffix (normally "").
15438 # Additional compiler flags for building library objects.
15439 pic_flag=$lt_lt_prog_compiler_pic_F77
15442 # What is the maximum length of a command?
15443 max_cmd_len=$lt_cv_sys_max_cmd_len
15445 # Does compiler simultaneously support -c and -o options?
15446 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15448 # Must we lock files when doing compilation ?
15449 need_locks=$lt_need_locks
15451 # Do we need the lib prefix for modules?
15452 need_lib_prefix=$need_lib_prefix
15454 # Do we need a version for libraries?
15455 need_version=$need_version
15457 # Whether dlopen is supported.
15458 dlopen_support=$enable_dlopen
15460 # Whether dlopen of programs is supported.
15461 dlopen_self=$enable_dlopen_self
15463 # Whether dlopen of statically linked programs is supported.
15464 dlopen_self_static=$enable_dlopen_self_static
15466 # Compiler flag to prevent dynamic linking.
15467 link_static_flag=$lt_lt_prog_compiler_static_F77
15469 # Compiler flag to turn off builtin functions.
15470 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15472 # Compiler flag to allow reflexive dlopens.
15473 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15475 # Compiler flag to generate shared objects directly from archives.
15476 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15478 # Compiler flag to generate thread-safe objects.
15479 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15481 # Library versioning type.
15482 version_type=$version_type
15484 # Format of library name prefix.
15485 libname_spec=$lt_libname_spec
15487 # List of archive names. First name is the real one, the rest are links.
15488 # The last name is the one that the linker finds with -lNAME.
15489 library_names_spec=$lt_library_names_spec
15491 # The coded name of the library, if different from the real name.
15492 soname_spec=$lt_soname_spec
15494 # Commands used to build and install an old-style archive.
15496 old_archive_cmds=$lt_old_archive_cmds_F77
15497 old_postinstall_cmds=$lt_old_postinstall_cmds
15498 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15500 # Create an old-style archive from a shared archive.
15501 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15503 # Create a temporary old-style archive to link instead of a shared archive.
15504 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15506 # Commands used to build and install a shared archive.
15507 archive_cmds=$lt_archive_cmds_F77
15508 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15509 postinstall_cmds=$lt_postinstall_cmds
15510 postuninstall_cmds=$lt_postuninstall_cmds
15512 # Commands used to build a loadable module (assumed same as above if empty)
15513 module_cmds=$lt_module_cmds_F77
15514 module_expsym_cmds=$lt_module_expsym_cmds_F77
15516 # Commands to strip libraries.
15517 old_striplib=$lt_old_striplib
15518 striplib=$lt_striplib
15520 # Dependencies to place before the objects being linked to create a
15522 predep_objects=$lt_predep_objects_F77
15524 # Dependencies to place after the objects being linked to create a
15526 postdep_objects=$lt_postdep_objects_F77
15528 # Dependencies to place before the objects being linked to create a
15530 predeps=$lt_predeps_F77
15532 # Dependencies to place after the objects being linked to create a
15534 postdeps=$lt_postdeps_F77
15536 # The library search path used internally by the compiler when linking
15537 # a shared library.
15538 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15540 # Method to check whether dependent libraries are shared objects.
15541 deplibs_check_method=$lt_deplibs_check_method
15543 # Command to use when deplibs_check_method == file_magic.
15544 file_magic_cmd=$lt_file_magic_cmd
15546 # Flag that allows shared libraries with undefined symbols to be built.
15547 allow_undefined_flag=$lt_allow_undefined_flag_F77
15549 # Flag that forces no undefined symbols.
15550 no_undefined_flag=$lt_no_undefined_flag_F77
15552 # Commands used to finish a libtool library installation in a directory.
15553 finish_cmds=$lt_finish_cmds
15555 # Same as above, but a single script fragment to be evaled but not shown.
15556 finish_eval=$lt_finish_eval
15558 # Take the output of nm and produce a listing of raw symbols and C names.
15559 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15561 # Transform the output of nm in a proper C declaration
15562 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15564 # Transform the output of nm in a C name address pair
15565 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15567 # This is the shared library runtime path variable.
15568 runpath_var=$runpath_var
15570 # This is the shared library path variable.
15571 shlibpath_var=$shlibpath_var
15573 # Is shlibpath searched before the hard-coded library search path?
15574 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15576 # How to hardcode a shared library path into an executable.
15577 hardcode_action=$hardcode_action_F77
15579 # Whether we should hardcode library paths into libraries.
15580 hardcode_into_libs=$hardcode_into_libs
15582 # Flag to hardcode \$libdir into a binary during linking.
15583 # This must work even if \$libdir does not exist.
15584 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15586 # If ld is used when linking, flag to hardcode \$libdir into
15587 # a binary during linking. This must work even if \$libdir does
15589 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15591 # Whether we need a single -rpath flag with a separated argument.
15592 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15594 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15595 # resulting binary.
15596 hardcode_direct=$hardcode_direct_F77
15598 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15599 # resulting binary.
15600 hardcode_minus_L=$hardcode_minus_L_F77
15602 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15603 # the resulting binary.
15604 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15606 # Set to yes if building a shared library automatically hardcodes DIR into the library
15607 # and all subsequent libraries and executables linked against it.
15608 hardcode_automatic=$hardcode_automatic_F77
15610 # Variables whose values should be saved in libtool wrapper scripts and
15611 # restored at relink time.
15612 variables_saved_for_relink="$variables_saved_for_relink"
15614 # Whether libtool must link a program against all its dependency libraries.
15615 link_all_deplibs=$link_all_deplibs_F77
15617 # Compile-time system search path for libraries
15618 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15620 # Run-time system search path for libraries
15621 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15623 # Fix the shell variable \$srcfile for the compiler.
15624 fix_srcfile_path="$fix_srcfile_path_F77"
15626 # Set to yes if exported symbols are required.
15627 always_export_symbols=$always_export_symbols_F77
15629 # The commands to list exported symbols.
15630 export_symbols_cmds=$lt_export_symbols_cmds_F77
15632 # The commands to extract the exported symbol list from a shared archive.
15633 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15635 # Symbols that should not be listed in the preloaded symbols.
15636 exclude_expsyms=$lt_exclude_expsyms_F77
15638 # Symbols that must always be exported.
15639 include_expsyms=$lt_include_expsyms_F77
15641 # ### END LIBTOOL TAG CONFIG: $tagname
15647 # If there is no Makefile yet, we rely on a make rule to execute
15648 # `config.status --recheck' to rerun these tests and create the
15649 # libtool script then.
15650 test -f Makefile
&& make "$ltmain"
15655 ac_cpp
='$CPP $CPPFLAGS'
15656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15668 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15672 # Source file extension for Java test sources.
15675 # Object file extension for compiled Java test sources.
15679 # Code to be used in simple compile tests
15680 lt_simple_compile_test_code
="class foo {}\n"
15682 # Code to be used in simple link tests
15683 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
15685 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15687 # If no C compiler was specified, use CC.
15690 # Allow CC to be a program name with arguments.
15694 # Allow CC to be a program name with arguments.
15700 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15701 archive_cmds_need_lc_GCJ
=no
15704 ## There is no encapsulation within the following macros, do not change
15705 ## the running order or otherwise move them around unless you know exactly
15706 ## what you are doing...
15708 lt_prog_compiler_no_builtin_flag_GCJ
=
15710 if test "$GCC" = yes; then
15711 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15713 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15714 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15715 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15716 echo $ECHO_N "(cached) $ECHO_C" >&6
15718 lt_cv_prog_compiler_rtti_exceptions
=no
15719 ac_outfile
=conftest.
$ac_objext
15720 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15721 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15722 # Insert the option either (1) after the last *FLAGS variable, or
15723 # (2) before a word containing "conftest.", or (3) at the end.
15724 # Note that $ac_compile itself does not contain backslashes and begins
15725 # with a dollar sign (not a hyphen), so the echo should work correctly.
15726 # The option is referenced via a variable to avoid confusing sed.
15727 lt_compile
=`echo "$ac_compile" | $SED \
15728 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15730 -e 's:$: $lt_compiler_flag:'`
15731 (eval echo "\"\$as_me:15731: $lt_compile\"" >&5)
15732 (eval "$lt_compile" 2>conftest.err
)
15734 cat conftest.err
>&5
15735 echo "$as_me:15735: \$? = $ac_status" >&5
15736 if (exit $ac_status) && test -s "$ac_outfile"; then
15737 # The compiler can only warn and ignore the option if not recognized
15738 # So say no if there are warnings
15739 if test ! -s conftest.err
; then
15740 lt_cv_prog_compiler_rtti_exceptions
=yes
15746 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15747 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15749 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15750 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15757 lt_prog_compiler_wl_GCJ
=
15758 lt_prog_compiler_pic_GCJ
=
15759 lt_prog_compiler_static_GCJ
=
15761 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15762 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15764 if test "$GCC" = yes; then
15765 lt_prog_compiler_wl_GCJ
='-Wl,'
15766 lt_prog_compiler_static_GCJ
='-static'
15770 # All AIX code is PIC.
15771 if test "$host_cpu" = ia64
; then
15772 # AIX 5 now supports IA64 processor
15773 lt_prog_compiler_static_GCJ
='-Bstatic'
15778 # FIXME: we need at least 68020 code to build shared libraries, but
15779 # adding the `-m68020' flag to GCC prevents building anything better,
15781 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15784 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15785 # PIC is the default for these OSes.
15788 mingw
* | pw32
* | os2
*)
15789 # This hack is so that the source file can tell whether it is being
15790 # built for inclusion in a dll (and should export symbols for example).
15791 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15794 darwin
* | rhapsody
*)
15795 # PIC is the default on this platform
15796 # Common symbols not allowed in MH_DYLIB files
15797 lt_prog_compiler_pic_GCJ
='-fno-common'
15801 # Just because we use GCC doesn't mean we suddenly get shared libraries
15802 # on systems that don't support them.
15803 lt_prog_compiler_can_build_shared_GCJ
=no
15808 if test -d /usr
/nec
; then
15809 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15814 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15815 # not for PA HP-UX.
15816 case "$host_cpu" in
15821 lt_prog_compiler_pic_GCJ
='-fPIC'
15827 lt_prog_compiler_pic_GCJ
='-fPIC'
15831 # PORTME Check for flag to pass linker flags through the system compiler.
15834 lt_prog_compiler_wl_GCJ
='-Wl,'
15835 if test "$host_cpu" = ia64
; then
15836 # AIX 5 now supports IA64 processor
15837 lt_prog_compiler_static_GCJ
='-Bstatic'
15839 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15843 mingw
* | pw32
* | os2
*)
15844 # This hack is so that the source file can tell whether it is being
15845 # built for inclusion in a dll (and should export symbols for example).
15846 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15849 hpux9
* | hpux10
* | hpux11
*)
15850 lt_prog_compiler_wl_GCJ
='-Wl,'
15851 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15852 # not for PA HP-UX.
15853 case "$host_cpu" in
15858 lt_prog_compiler_pic_GCJ
='+Z'
15861 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15862 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15865 irix5
* | irix6
* | nonstopux
*)
15866 lt_prog_compiler_wl_GCJ
='-Wl,'
15867 # PIC (with -KPIC) is the default.
15868 lt_prog_compiler_static_GCJ
='-non_shared'
15872 lt_prog_compiler_pic_GCJ
='-KPIC'
15873 lt_prog_compiler_static_GCJ
='-Bstatic'
15879 lt_prog_compiler_wl_GCJ
='-Wl,'
15880 lt_prog_compiler_pic_GCJ
='-KPIC'
15881 lt_prog_compiler_static_GCJ
='-static'
15884 lt_prog_compiler_wl_GCJ
='-Wl,'
15885 # All Alpha code is PIC.
15886 lt_prog_compiler_static_GCJ
='-non_shared'
15891 osf3
* | osf4
* | osf5
*)
15892 lt_prog_compiler_wl_GCJ
='-Wl,'
15893 # All OSF/1 code is PIC.
15894 lt_prog_compiler_static_GCJ
='-non_shared'
15898 lt_prog_compiler_pic_GCJ
='-Kpic'
15899 lt_prog_compiler_static_GCJ
='-dn'
15903 lt_prog_compiler_wl_GCJ
='-Wl,'
15904 lt_prog_compiler_pic_GCJ
='-KPIC'
15905 lt_prog_compiler_static_GCJ
='-Bstatic'
15909 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15910 lt_prog_compiler_pic_GCJ
='-PIC'
15911 lt_prog_compiler_static_GCJ
='-Bstatic'
15914 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15915 lt_prog_compiler_wl_GCJ
='-Wl,'
15916 lt_prog_compiler_pic_GCJ
='-KPIC'
15917 lt_prog_compiler_static_GCJ
='-Bstatic'
15921 if test -d /usr
/nec
;then
15922 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15923 lt_prog_compiler_static_GCJ
='-Bstatic'
15928 lt_prog_compiler_pic_GCJ
='-pic'
15929 lt_prog_compiler_static_GCJ
='-Bstatic'
15933 lt_prog_compiler_can_build_shared_GCJ
=no
15938 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15939 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15942 # Check to make sure the PIC flag actually works.
15944 if test -n "$lt_prog_compiler_pic_GCJ"; then
15945 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15946 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15947 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15948 echo $ECHO_N "(cached) $ECHO_C" >&6
15950 lt_prog_compiler_pic_works_GCJ
=no
15951 ac_outfile
=conftest.
$ac_objext
15952 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15953 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15954 # Insert the option either (1) after the last *FLAGS variable, or
15955 # (2) before a word containing "conftest.", or (3) at the end.
15956 # Note that $ac_compile itself does not contain backslashes and begins
15957 # with a dollar sign (not a hyphen), so the echo should work correctly.
15958 # The option is referenced via a variable to avoid confusing sed.
15959 lt_compile
=`echo "$ac_compile" | $SED \
15960 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15961 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15962 -e 's:$: $lt_compiler_flag:'`
15963 (eval echo "\"\$as_me:15963: $lt_compile\"" >&5)
15964 (eval "$lt_compile" 2>conftest.err
)
15966 cat conftest.err
>&5
15967 echo "$as_me:15967: \$? = $ac_status" >&5
15968 if (exit $ac_status) && test -s "$ac_outfile"; then
15969 # The compiler can only warn and ignore the option if not recognized
15970 # So say no if there are warnings
15971 if test ! -s conftest.err
; then
15972 lt_prog_compiler_pic_works_GCJ
=yes
15978 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15979 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15981 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15982 case $lt_prog_compiler_pic_GCJ in
15984 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15987 lt_prog_compiler_pic_GCJ
=
15988 lt_prog_compiler_can_build_shared_GCJ
=no
15993 # For platforms which do not support PIC, -DPIC is meaningless:
15995 lt_prog_compiler_pic_GCJ
=
15998 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16002 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16003 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16004 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16005 echo $ECHO_N "(cached) $ECHO_C" >&6
16007 lt_cv_prog_compiler_c_o_GCJ
=no
16008 $rm -r conftest
2>/dev
/null
16012 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16014 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
16015 # that will create temporary files in the current directory regardless of
16016 # the output directory. Thus, making CWD read-only will cause this test
16017 # to fail, enabling locking or at least warning the user not to do parallel
16021 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16022 # Insert the option either (1) after the last *FLAGS variable, or
16023 # (2) before a word containing "conftest.", or (3) at the end.
16024 # Note that $ac_compile itself does not contain backslashes and begins
16025 # with a dollar sign (not a hyphen), so the echo should work correctly.
16026 lt_compile
=`echo "$ac_compile" | $SED \
16027 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16029 -e 's:$: $lt_compiler_flag:'`
16030 (eval echo "\"\$as_me:16030: $lt_compile\"" >&5)
16031 (eval "$lt_compile" 2>out
/conftest.err
)
16033 cat out
/conftest.err
>&5
16034 echo "$as_me:16034: \$? = $ac_status" >&5
16035 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16037 # The compiler can only warn and ignore the option if not recognized
16038 # So say no if there are warnings
16039 if test ! -s out
/conftest.err
; then
16040 lt_cv_prog_compiler_c_o_GCJ
=yes
16044 $rm conftest
* out
/*
16051 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16052 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16055 hard_links
="nottested"
16056 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16057 # do not overwrite the value of need_locks provided by the user
16058 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16059 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16062 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16064 ln conftest.a conftest.b
2>&5 || hard_links
=no
16065 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16066 echo "$as_me:$LINENO: result: $hard_links" >&5
16067 echo "${ECHO_T}$hard_links" >&6
16068 if test "$hard_links" = no
; then
16069 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16070 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16077 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16078 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16081 allow_undefined_flag_GCJ
=
16082 enable_shared_with_static_runtimes_GCJ
=no
16084 archive_expsym_cmds_GCJ
=
16085 old_archive_From_new_cmds_GCJ
=
16086 old_archive_from_expsyms_cmds_GCJ
=
16087 export_dynamic_flag_spec_GCJ
=
16088 whole_archive_flag_spec_GCJ
=
16089 thread_safe_flag_spec_GCJ
=
16090 hardcode_libdir_flag_spec_GCJ
=
16091 hardcode_libdir_flag_spec_ld_GCJ
=
16092 hardcode_libdir_separator_GCJ
=
16093 hardcode_direct_GCJ
=no
16094 hardcode_minus_L_GCJ
=no
16095 hardcode_shlibpath_var_GCJ
=unsupported
16096 link_all_deplibs_GCJ
=unknown
16097 hardcode_automatic_GCJ
=no
16099 module_expsym_cmds_GCJ
=
16100 always_export_symbols_GCJ
=no
16101 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16102 # include_expsyms should be a list of space-separated symbols to be *always*
16103 # included in the symbol list
16104 include_expsyms_GCJ
=
16105 # exclude_expsyms can be an extended regexp of symbols to exclude
16106 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16107 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16108 # as well as any symbol that contains `d'.
16109 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16110 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16111 # platforms (ab)use it in PIC code, but their linkers get confused if
16112 # the symbol is explicitly referenced. Since portable code cannot
16113 # rely on this symbol name, it's probably fine to never include it in
16114 # preloaded symbol tables.
16115 extract_expsyms_cmds
=
16118 cygwin
* | mingw
* | pw32
*)
16119 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16120 # When not using gcc, we currently assume that we are using
16121 # Microsoft Visual C++.
16122 if test "$GCC" != yes; then
16132 if test "$with_gnu_ld" = yes; then
16133 # If archive_cmds runs LD, not CC, wlarc should be empty
16136 # See if GNU ld supports shared libraries.
16138 aix3
* | aix4
* | aix5
*)
16139 # On AIX/PPC, the GNU linker is very broken
16140 if test "$host_cpu" != ia64
; then
16144 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16145 *** to be unable to reliably create shared libraries on AIX.
16146 *** Therefore, libtool is disabling shared libraries support. If you
16147 *** really care for shared libraries, you may want to modify your PATH
16148 *** so that a non-GNU linker is found, and then restart.
16155 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)'
16156 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16157 hardcode_minus_L_GCJ
=yes
16159 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16160 # that the semantics of dynamic libraries on AmigaOS, at least up
16161 # to version 4, is to share data among multiple programs linked
16162 # with the same dynamic library. Since this doesn't match the
16163 # behavior of shared libraries on other platforms, we can't use
16169 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16170 allow_undefined_flag_GCJ
=unsupported
16171 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16172 # support --undefined. This deserves some investigation. FIXME
16173 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16179 cygwin
* | mingw
* | pw32
*)
16180 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16181 # as there is no search path for DLLs.
16182 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16183 allow_undefined_flag_GCJ
=unsupported
16184 always_export_symbols_GCJ
=no
16185 enable_shared_with_static_runtimes_GCJ
=yes
16186 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16188 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16189 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16190 # If the export-symbols file already is a .def file (1st line
16191 # is EXPORTS), use it as is; otherwise, prepend...
16192 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16193 cp $export_symbols $output_objdir/$soname.def;
16195 echo EXPORTS > $output_objdir/$soname.def;
16196 cat $export_symbols >> $output_objdir/$soname.def;
16198 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16205 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16206 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16209 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16210 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16215 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16219 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16220 *** create shared libraries on Solaris systems. Therefore, libtool
16221 *** is disabling shared libraries support. We urge you to upgrade GNU
16222 *** binutils to release 2.9.1 or newer. Another option is to modify
16223 *** your PATH or compiler configuration so that the native linker is
16224 *** used, and then restart.
16227 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16228 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16229 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16236 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16238 hardcode_direct_GCJ
=yes
16239 hardcode_shlibpath_var_GCJ
=no
16243 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16244 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16245 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16252 if test "$ld_shlibs_GCJ" = yes; then
16253 runpath_var
=LD_RUN_PATH
16254 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16255 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16256 # ancient GNU ld didn't support --whole-archive et. al.
16257 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16258 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16260 whole_archive_flag_spec_GCJ
=
16264 # PORTME fill in a description of your system's linker (not GNU ld)
16267 allow_undefined_flag_GCJ
=unsupported
16268 always_export_symbols_GCJ
=yes
16269 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'
16270 # Note: this linker hardcodes the directories in LIBPATH if there
16271 # are no directories specified by -L.
16272 hardcode_minus_L_GCJ
=yes
16273 if test "$GCC" = yes && test -z "$link_static_flag"; then
16274 # Neither direct hardcoding nor static linking is supported with a
16276 hardcode_direct_GCJ
=unsupported
16281 if test "$host_cpu" = ia64
; then
16282 # On IA64, the linker does run time linking by default, so we don't
16283 # have to do anything special.
16284 aix_use_runtimelinking
=no
16285 exp_sym_flag
='-Bexport'
16288 # If we're using GNU nm, then we don't want the "-C" option.
16289 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16290 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16291 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'
16293 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'
16295 aix_use_runtimelinking
=no
16297 # Test if we are trying to use run time linking or normal
16298 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16299 # need to do runtime linking.
16300 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16301 for ld_flag
in $LDFLAGS; do
16302 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16303 aix_use_runtimelinking
=yes
16309 exp_sym_flag
='-bexport'
16310 no_entry_flag
='-bnoentry'
16313 # When large executables or shared objects are built, AIX ld can
16314 # have problems creating the table of contents. If linking a library
16315 # or program results in "error TOC overflow" add -mminimal-toc to
16316 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16317 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16319 archive_cmds_GCJ
=''
16320 hardcode_direct_GCJ
=yes
16321 hardcode_libdir_separator_GCJ
=':'
16322 link_all_deplibs_GCJ
=yes
16324 if test "$GCC" = yes; then
16325 case $host_os in aix4.012|aix4.012.
*)
16326 # We only want to do this on AIX 4.2 and lower, the check
16327 # below for broken collect2 doesn't work under 4.3+
16328 collect2name
=`${CC} -print-prog-name=collect2`
16329 if test -f "$collect2name" && \
16330 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16332 # We have reworked collect2
16333 hardcode_direct_GCJ
=yes
16335 # We have old collect2
16336 hardcode_direct_GCJ
=unsupported
16337 # It fails to find uninstalled libraries when the uninstalled
16338 # path is not listed in the libpath. Setting hardcode_minus_L
16339 # to unsupported forces relinking
16340 hardcode_minus_L_GCJ
=yes
16341 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16342 hardcode_libdir_separator_GCJ
=
16345 shared_flag
='-shared'
16348 if test "$host_cpu" = ia64
; then
16349 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16350 # chokes on -Wl,-G. The following line is correct:
16353 if test "$aix_use_runtimelinking" = yes; then
16354 shared_flag
='${wl}-G'
16356 shared_flag
='${wl}-bM:SRE'
16361 # It seems that -bexpall does not export symbols beginning with
16362 # underscore (_), so it is better to generate a list of symbols to export.
16363 always_export_symbols_GCJ
=yes
16364 if test "$aix_use_runtimelinking" = yes; then
16365 # Warning - without using the other runtime loading flags (-brtl),
16366 # -berok will link without error, but may produce a broken library.
16367 allow_undefined_flag_GCJ
='-berok'
16368 # Determine the default libpath from the value encoded in an empty executable.
16369 cat >conftest.
$ac_ext <<_ACEOF
16372 cat confdefs.h
>>conftest.
$ac_ext
16373 cat >>conftest.
$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16384 rm -f conftest.
$ac_objext conftest
$ac_exeext
16385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16386 (eval $ac_link) 2>conftest.er1
16388 grep -v '^ *+' conftest.er1
>conftest.err
16390 cat conftest.err
>&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); } &&
16393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 (eval $ac_try) 2>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; } &&
16399 { ac_try
='test -s conftest$ac_exeext'
16400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16401 (eval $ac_try) 2>&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); }; }; then
16406 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16408 # Check for a 64-bit object if we didn't find anything.
16409 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; }
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.
$ac_ext >&5
16416 rm -f conftest.err conftest.
$ac_objext \
16417 conftest
$ac_exeext conftest.
$ac_ext
16418 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16420 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16421 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"
16423 if test "$host_cpu" = ia64; then
16424 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
16425 allow_undefined_flag_GCJ="-z nodefs"
16426 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"
16428 # Determine the default libpath from the value encoded in an empty executable.
16429 cat >conftest.$ac_ext <<_ACEOF
16432 cat confdefs.h >>conftest.$ac_ext
16433 cat >>conftest.$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16444 rm -f conftest.$ac_objext conftest$ac_exeext
16445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16446 (eval $ac_link) 2>conftest.er1
16448 grep -v '^ *+' conftest.er1 >conftest.err
16450 cat conftest.err >&5
16451 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16452 (exit $ac_status); } &&
16453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16457 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16458 (exit $ac_status); }; } &&
16459 { ac_try='test -s conftest$ac_exeext'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461 (eval $ac_try) 2>&5
16463 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16464 (exit $ac_status); }; }; then
16466 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16468 # Check for a 64-bit object if we didn't find anything.
16469 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16472 echo "$as_me: failed program was
:" >&5
16473 sed 's/^/| /' conftest.$ac_ext >&5
16476 rm -f conftest.err conftest.$ac_objext \
16477 conftest$ac_exeext conftest.$ac_ext
16478 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16480 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16481 # Warning - without using the other run time loading flags,
16482 # -berok will link without error, but may produce a broken library.
16483 no_undefined_flag_GCJ=' ${wl}-bernotok'
16484 allow_undefined_flag_GCJ=' ${wl}-berok'
16485 # -bexpall does not export symbols beginning with underscore (_)
16486 always_export_symbols_GCJ=yes
16487 # Exported symbols can be pulled into shared objects from archives
16488 whole_archive_flag_spec_GCJ=' '
16489 archive_cmds_need_lc_GCJ=yes
16490 # This is similar to how AIX traditionally builds it's shared libraries.
16491 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'
16497 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)'
16498 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16499 hardcode_minus_L_GCJ
=yes
16500 # see comment about different semantics on the GNU ld section
16505 export_dynamic_flag_spec_GCJ
=-rdynamic
16508 cygwin
* | mingw
* | pw32
*)
16509 # When not using gcc, we currently assume that we are using
16510 # Microsoft Visual C++.
16511 # hardcode_libdir_flag_spec is actually meaningless, as there is
16512 # no search path for DLLs.
16513 hardcode_libdir_flag_spec_GCJ
=' '
16514 allow_undefined_flag_GCJ
=unsupported
16515 # Tell ltmain to make .lib files, not .a files.
16517 # Tell ltmain to make .dll files, not .so files.
16519 # FIXME: Setting linknames here is a bad hack.
16520 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16521 # The linker will automatically build a .lib file if we build a DLL.
16522 old_archive_From_new_cmds_GCJ
='true'
16523 # FIXME: Should let the user specify the lib program.
16524 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16525 fix_srcfile_path
='`cygpath -w "$srcfile"`'
16526 enable_shared_with_static_runtimes_GCJ
=yes
16529 darwin
* | rhapsody
*)
16530 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
16531 archive_cmds_need_lc_GCJ
=no
16533 rhapsody
* | darwin1.
[012])
16534 allow_undefined_flag_GCJ
='-undefined suppress'
16537 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16540 # FIXME: Relying on posixy $() will cause problems for
16541 # cross-compilation, but unfortunately the echo tests do not
16542 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
16543 # `"' quotes if we put them in here... so don't!
16544 lt_int_apple_cc_single_mod
=no
16545 output_verbose_link_cmd
='echo'
16546 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
16547 lt_int_apple_cc_single_mod
=yes
16549 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16550 archive_cmds_GCJ
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16552 archive_cmds_GCJ
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16554 module_cmds_GCJ
='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
16555 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16556 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16557 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16559 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16561 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16562 hardcode_direct_GCJ
=no
16563 hardcode_automatic_GCJ
=yes
16564 hardcode_shlibpath_var_GCJ
=unsupported
16565 whole_archive_flag_spec_GCJ
='-all_load $convenience'
16566 link_all_deplibs_GCJ
=yes
16571 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16572 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16573 hardcode_shlibpath_var_GCJ
=no
16580 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16581 # support. Future versions do this automatically, but an explicit c++rt0.o
16582 # does not break anything, and helps significantly (at the cost of a little
16585 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16586 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16587 hardcode_direct_GCJ
=yes
16588 hardcode_shlibpath_var_GCJ
=no
16591 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16593 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16594 hardcode_direct_GCJ
=yes
16595 hardcode_minus_L_GCJ
=yes
16596 hardcode_shlibpath_var_GCJ
=no
16599 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16601 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16602 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16603 hardcode_direct_GCJ
=yes
16604 hardcode_shlibpath_var_GCJ
=no
16608 if test "$GCC" = yes; then
16609 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'
16611 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'
16613 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16614 hardcode_libdir_separator_GCJ
=:
16615 hardcode_direct_GCJ
=yes
16617 # hardcode_minus_L: Not really in the search PATH,
16618 # but as the default location of the library.
16619 hardcode_minus_L_GCJ
=yes
16620 export_dynamic_flag_spec_GCJ
='${wl}-E'
16624 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16625 case "$host_cpu" in
16627 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16630 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16634 case "$host_cpu" in
16636 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16639 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16643 if test "$with_gnu_ld" = no
; then
16644 case "$host_cpu" in
16646 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16647 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16648 hardcode_libdir_separator_GCJ
=:
16649 hardcode_direct_GCJ
=no
16650 hardcode_shlibpath_var_GCJ
=no
16653 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16654 hardcode_direct_GCJ
=no
16655 hardcode_shlibpath_var_GCJ
=no
16657 # hardcode_minus_L: Not really in the search PATH,
16658 # but as the default location of the library.
16659 hardcode_minus_L_GCJ
=yes
16662 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16663 hardcode_libdir_separator_GCJ
=:
16664 hardcode_direct_GCJ
=yes
16665 export_dynamic_flag_spec_GCJ
='${wl}-E'
16667 # hardcode_minus_L: Not really in the search PATH,
16668 # but as the default location of the library.
16669 hardcode_minus_L_GCJ
=yes
16675 irix5
* | irix6
* | nonstopux
*)
16676 if test "$GCC" = yes; then
16677 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'
16679 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'
16680 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16682 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16683 hardcode_libdir_separator_GCJ
=:
16684 link_all_deplibs_GCJ
=yes
16688 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16689 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16691 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16693 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16694 hardcode_direct_GCJ
=yes
16695 hardcode_shlibpath_var_GCJ
=no
16699 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16700 hardcode_direct_GCJ
=yes
16701 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16702 hardcode_libdir_separator_GCJ
=:
16703 hardcode_shlibpath_var_GCJ
=no
16707 hardcode_direct_GCJ
=yes
16708 hardcode_shlibpath_var_GCJ
=no
16709 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16710 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16711 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16712 export_dynamic_flag_spec_GCJ
='${wl}-E'
16715 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16716 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16717 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16720 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16721 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16728 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16729 hardcode_minus_L_GCJ
=yes
16730 allow_undefined_flag_GCJ
=unsupported
16731 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'
16732 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16736 if test "$GCC" = yes; then
16737 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16738 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'
16740 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16741 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'
16743 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16744 hardcode_libdir_separator_GCJ
=:
16747 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16748 if test "$GCC" = yes; then
16749 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16750 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'
16751 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16753 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16754 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'
16755 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~
16756 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
16758 # Both c and cxx compiler support -rpath directly
16759 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16761 hardcode_libdir_separator_GCJ
=:
16765 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16766 hardcode_shlibpath_var_GCJ
=no
16767 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16768 runpath_var
=LD_RUN_PATH
16769 hardcode_runpath_var
=yes
16773 no_undefined_flag_GCJ
=' -z text'
16774 if test "$GCC" = yes; then
16775 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16776 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16777 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16779 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16780 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16781 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16783 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16784 hardcode_shlibpath_var_GCJ
=no
16786 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16787 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16788 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16790 link_all_deplibs_GCJ
=yes
16794 if test "x$host_vendor" = xsequent
; then
16795 # Use $CC to link under sequent, because it throws in some extra .o
16796 # files that make .init and .fini sections work.
16797 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16799 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16801 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16802 hardcode_direct_GCJ
=yes
16803 hardcode_minus_L_GCJ
=yes
16804 hardcode_shlibpath_var_GCJ
=no
16808 case $host_vendor in
16810 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16811 hardcode_direct_GCJ
=yes # is this really true???
16814 ## LD is ld it makes a PLAMLIB
16815 ## CC just makes a GrossModule.
16816 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16817 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16818 hardcode_direct_GCJ
=no
16821 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16822 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16825 runpath_var
='LD_RUN_PATH'
16826 hardcode_shlibpath_var_GCJ
=no
16830 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16831 hardcode_shlibpath_var_GCJ
=no
16832 export_dynamic_flag_spec_GCJ
='-Bexport'
16836 if test -d /usr
/nec
; then
16837 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16838 hardcode_shlibpath_var_GCJ
=no
16839 runpath_var
=LD_RUN_PATH
16840 hardcode_runpath_var
=yes
16846 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16847 hardcode_direct_GCJ
=yes
16848 hardcode_minus_L_GCJ
=no
16849 hardcode_shlibpath_var_GCJ
=no
16850 hardcode_runpath_var
=yes
16851 runpath_var
=LD_RUN_PATH
16854 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16855 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
16856 if test "$GCC" = yes; then
16857 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16859 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16861 runpath_var
='LD_RUN_PATH'
16862 hardcode_shlibpath_var_GCJ
=no
16866 no_undefined_flag_GCJ
=' -z text'
16867 # $CC -shared without GNU ld will not create a library from C++
16868 # object files and a static libstdc++, better avoid it by now
16869 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16870 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16871 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16872 hardcode_libdir_flag_spec_GCJ
=
16873 hardcode_shlibpath_var_GCJ
=no
16874 runpath_var
='LD_RUN_PATH'
16878 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16879 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16880 hardcode_shlibpath_var_GCJ
=no
16889 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16890 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16891 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
16893 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16894 if test "$GCC" = yes; then
16895 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16899 # Do we need to explicitly link libc?
16901 case "x$archive_cmds_need_lc_GCJ" in
16903 # Assume -lc should be added
16904 archive_cmds_need_lc_GCJ
=yes
16906 if test "$enable_shared" = yes && test "$GCC" = yes; then
16907 case $archive_cmds_GCJ in
16909 # FIXME: we may have to deal with multi-command sequences.
16912 # Test whether the compiler implicitly links with -lc since on some
16913 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16914 # to ld, don't add -lc before -lgcc.
16915 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16916 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16918 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16921 (eval $ac_compile) 2>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); } 2>conftest.err
; then
16927 libobjs
=conftest.
$ac_objext
16929 wl
=$lt_prog_compiler_wl_GCJ
16935 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
16936 allow_undefined_flag_GCJ
=
16937 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16938 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); }
16943 archive_cmds_need_lc_GCJ
=no
16945 archive_cmds_need_lc_GCJ
=yes
16947 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
16949 cat conftest.err
1>&5
16952 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16953 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16960 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16961 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16962 hardcode_action_GCJ
=
16963 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16964 test -n "$runpath_var GCJ" || \
16965 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16967 # We can hardcode non-existant directories.
16968 if test "$hardcode_direct_GCJ" != no
&&
16969 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16970 # have to relink, otherwise we might link with an installed library
16971 # when we should be linking with a yet-to-be-installed one
16972 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16973 test "$hardcode_minus_L_GCJ" != no
; then
16974 # Linking always hardcodes the temporary library directory.
16975 hardcode_action_GCJ
=relink
16977 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16978 hardcode_action_GCJ
=immediate
16981 # We cannot hardcode anything, or else we can only hardcode existing
16983 hardcode_action_GCJ
=unsupported
16985 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16986 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16988 if test "$hardcode_action_GCJ" = relink
; then
16989 # Fast installation is not supported
16990 enable_fast_install
=no
16991 elif test "$shlibpath_overrides_runpath" = yes ||
16992 test "$enable_shared" = no
; then
16993 # Fast installation is not necessary
16994 enable_fast_install
=needless
16999 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17000 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17001 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17002 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17003 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17004 echo "$as_me:$LINENO: result: yes" >&5
17005 echo "${ECHO_T}yes" >&6
17007 # FIXME - insert some real tests, host_os isn't really good enough
17010 if test -n "$STRIP" ; then
17011 striplib
="$STRIP -x"
17012 echo "$as_me:$LINENO: result: yes" >&5
17013 echo "${ECHO_T}yes" >&6
17015 echo "$as_me:$LINENO: result: no" >&5
17016 echo "${ECHO_T}no" >&6
17020 echo "$as_me:$LINENO: result: no" >&5
17021 echo "${ECHO_T}no" >&6
17026 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17027 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17028 library_names_spec
=
17029 libname_spec
='lib$name'
17033 postuninstall_cmds
=
17037 shlibpath_overrides_runpath
=unknown
17039 dynamic_linker
="$host_os ld.so"
17040 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17041 if test "$GCC" = yes; then
17042 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17043 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17044 # if the path contains ";" then we assume it to be the separator
17045 # otherwise default to the standard path separator (i.e. ":") - it is
17046 # assumed that no part of a normal pathname contains ";" but that should
17047 # okay in the real world where ";" in dirpaths is itself problematic.
17048 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17050 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17053 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17055 need_lib_prefix
=unknown
17056 hardcode_into_libs
=no
17058 # when you set need_version to no, make sure it does not cause -set_version
17059 # flags to be left without arguments
17060 need_version
=unknown
17065 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17066 shlibpath_var
=LIBPATH
17068 # AIX 3 has no versioning support, so we append a major version to the name.
17069 soname_spec
='${libname}${release}${shared_ext}$major'
17076 hardcode_into_libs
=yes
17077 if test "$host_cpu" = ia64
; then
17078 # AIX 5 supports IA64
17079 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17080 shlibpath_var
=LD_LIBRARY_PATH
17082 # With GCC up to 2.95.x, collect2 would create an import file
17083 # for dependence libraries. The import file would start with
17084 # the line `#! .'. This would cause the generated library to
17085 # depend on `.', always an invalid library. This was fixed in
17086 # development snapshots of GCC prior to 3.0.
17088 aix4 | aix4.
[01] | aix4.
[01].
*)
17089 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17091 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17094 can_build_shared
=no
17098 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17099 # soname into executable. Probably we can add versioning support to
17100 # collect2, so additional links can be useful in future.
17101 if test "$aix_use_runtimelinking" = yes; then
17102 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17103 # instead of lib<name>.a to let people know that these are not
17104 # typical AIX shared libraries.
17105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17107 # We preserve .a as extension for shared libraries through AIX4.2
17108 # and later when we are not doing run time linking.
17109 library_names_spec
='${libname}${release}.a $libname.a'
17110 soname_spec
='${libname}${release}${shared_ext}$major'
17112 shlibpath_var
=LIBPATH
17117 library_names_spec
='$libname.ixlibrary $libname.a'
17118 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17119 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'
17123 library_names_spec
='${libname}${shared_ext}'
17124 dynamic_linker
="$host_os ld.so"
17125 shlibpath_var
=LIBRARY_PATH
17131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17132 soname_spec
='${libname}${release}${shared_ext}$major'
17133 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17134 shlibpath_var
=LD_LIBRARY_PATH
17135 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17136 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17137 # the default ld.so.conf also contains /usr/contrib/lib and
17138 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17139 # libtool to hard-code these into programs
17142 cygwin
* | mingw
* | pw32
*)
17143 version_type
=windows
17148 case $GCC,$host_os in
17149 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17150 library_names_spec
='$libname.dll.a'
17151 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17152 postinstall_cmds
='base_file=`basename \${file}`~
17153 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17154 dldir=$destdir/`dirname \$dlpath`~
17155 test -d \$dldir || mkdir -p \$dldir~
17156 $install_prog $dir/$dlname \$dldir/$dlname'
17157 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17158 dlpath=$dir/\$dldll~
17160 shlibpath_overrides_runpath
=yes
17164 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17165 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17166 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
17169 # MinGW DLLs use traditional 'lib' prefix
17170 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17171 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17172 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17173 # It is most probably a Windows format PATH printed by
17174 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17175 # path with ; separators, and with drive letters. We can handle the
17176 # drive letters (cygwin fileutils understands them), so leave them,
17177 # especially as we might pass files found there to a mingw objdump,
17178 # which wouldn't understand a cygwinified path. Ahh.
17179 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17181 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17185 # pw32 DLLs use 'pw' prefix rather than 'lib'
17186 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17192 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17195 dynamic_linker
='Win32 ld.exe'
17196 # FIXME: first we should search . and the directory the executable is in
17200 darwin
* | rhapsody
*)
17201 dynamic_linker
="$host_os dyld"
17202 version_type
=darwin
17205 # FIXME: Relying on posixy $() will cause problems for
17206 # cross-compilation, but unfortunately the echo tests do not
17207 # yet detect zsh echo's removal of \ escapes.
17208 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17209 soname_spec
='${libname}${release}${major}$shared_ext'
17210 shlibpath_overrides_runpath
=yes
17211 shlibpath_var
=DYLD_LIBRARY_PATH
17212 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
17213 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17214 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
17215 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"`
17217 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17225 soname_spec
='${libname}${release}${shared_ext}$major'
17226 shlibpath_var
=LD_LIBRARY_PATH
17234 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17235 version_type
=freebsd-
$objformat
17236 case $version_type in
17238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17243 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17247 shlibpath_var
=LD_LIBRARY_PATH
17250 shlibpath_overrides_runpath
=yes
17252 freebsd3.01
* | freebsdelf3.01
*)
17253 shlibpath_overrides_runpath
=yes
17254 hardcode_into_libs
=yes
17257 shlibpath_overrides_runpath
=no
17258 hardcode_into_libs
=yes
17267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17268 soname_spec
='${libname}${release}${shared_ext}$major'
17269 shlibpath_var
=LD_LIBRARY_PATH
17270 hardcode_into_libs
=yes
17273 hpux9
* | hpux10
* | hpux11
*)
17274 # Give a soname corresponding to the major version so that dld.sl refuses to
17275 # link against other versions.
17279 case "$host_cpu" in
17282 hardcode_into_libs
=yes
17283 dynamic_linker
="$host_os dld.so"
17284 shlibpath_var
=LD_LIBRARY_PATH
17285 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17287 soname_spec
='${libname}${release}${shared_ext}$major'
17288 if test "X$HPUX_IA64_MODE" = X32
; then
17289 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17291 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17293 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17297 hardcode_into_libs
=yes
17298 dynamic_linker
="$host_os dld.sl"
17299 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17300 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17302 soname_spec
='${libname}${release}${shared_ext}$major'
17303 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17304 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17308 dynamic_linker
="$host_os dld.sl"
17309 shlibpath_var
=SHLIB_PATH
17310 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17312 soname_spec
='${libname}${release}${shared_ext}$major'
17315 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17316 postinstall_cmds
='chmod 555 $lib'
17319 irix5
* | irix6
* | nonstopux
*)
17321 nonstopux
*) version_type
=nonstopux
;;
17323 if test "$lt_cv_prog_gnu_ld" = yes; then
17331 soname_spec
='${libname}${release}${shared_ext}$major'
17332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17334 irix5
* | nonstopux
*)
17335 libsuff
= shlibsuff
=
17338 case $LD in # libtool.m4 will add one of these switches to LD
17339 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17340 libsuff
= shlibsuff
= libmagic
=32-bit;;
17341 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17342 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17343 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17344 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17345 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17349 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17350 shlibpath_overrides_runpath
=no
17351 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17352 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17353 hardcode_into_libs
=yes
17356 # No shared lib support for Linux oldld, aout, or coff.
17357 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17361 # This must be Linux ELF.
17366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17367 soname_spec
='${libname}${release}${shared_ext}$major'
17368 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17369 shlibpath_var
=LD_LIBRARY_PATH
17370 shlibpath_overrides_runpath
=no
17371 # This implies no fast_install, which is unacceptable.
17372 # Some rework will be needed to allow for fast_install
17373 # before this can be enabled.
17374 hardcode_into_libs
=yes
17376 # We used to test for /lib/ld.so.1 and disable shared libraries on
17377 # powerpc, because MkLinux only supported shared libraries with the
17378 # GNU dynamic linker. Since this was broken with cross compilers,
17379 # most powerpc-linux boxes support dynamic linking these days and
17380 # people can always --disable-shared, the test was removed, and we
17381 # assume the GNU/Linux dynamic linker is in use.
17382 dynamic_linker
='GNU/Linux ld.so'
17389 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17391 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17392 dynamic_linker
='NetBSD (a.out) ld.so'
17394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
17395 soname_spec
='${libname}${release}${shared_ext}$major'
17396 dynamic_linker
='NetBSD ld.elf_so'
17398 shlibpath_var
=LD_LIBRARY_PATH
17399 shlibpath_overrides_runpath
=yes
17400 hardcode_into_libs
=yes
17405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17406 shlibpath_var
=LD_LIBRARY_PATH
17407 shlibpath_overrides_runpath
=yes
17414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17415 soname_spec
='${libname}${release}${shared_ext}$major'
17416 shlibpath_var
=LD_LIBRARY_PATH
17417 shlibpath_overrides_runpath
=yes
17424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17425 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17426 shlibpath_var
=LD_LIBRARY_PATH
17427 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17429 openbsd2.
[89] | openbsd2.
[89].
*)
17430 shlibpath_overrides_runpath
=no
17433 shlibpath_overrides_runpath
=yes
17437 shlibpath_overrides_runpath
=yes
17442 libname_spec
='$name'
17445 library_names_spec
='$libname${shared_ext} $libname.a'
17446 dynamic_linker
='OS/2 ld.exe'
17447 shlibpath_var
=LIBPATH
17450 osf3
* | osf4
* | osf5
*)
17454 soname_spec
='${libname}${release}${shared_ext}$major'
17455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17456 shlibpath_var
=LD_LIBRARY_PATH
17457 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17458 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17463 soname_spec
='${libname}${release}${shared_ext}$major'
17464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17465 shlibpath_var
=LD_LIBRARY_PATH
17472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17473 soname_spec
='${libname}${release}${shared_ext}$major'
17474 shlibpath_var
=LD_LIBRARY_PATH
17475 shlibpath_overrides_runpath
=yes
17476 hardcode_into_libs
=yes
17477 # ldd complains unless libraries are executable
17478 postinstall_cmds
='chmod +x $lib'
17483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17484 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17485 shlibpath_var
=LD_LIBRARY_PATH
17486 shlibpath_overrides_runpath
=yes
17487 if test "$with_gnu_ld" = yes; then
17493 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17496 soname_spec
='${libname}${release}${shared_ext}$major'
17497 shlibpath_var
=LD_LIBRARY_PATH
17498 case $host_vendor in
17500 shlibpath_overrides_runpath
=no
17502 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17503 runpath_var
=LD_RUN_PATH
17511 shlibpath_overrides_runpath
=no
17512 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17518 if test -d /usr
/nec
;then
17520 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17521 soname_spec
='$libname${shared_ext}.$major'
17522 shlibpath_var
=LD_LIBRARY_PATH
17528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17529 soname_spec
='${libname}${release}${shared_ext}$major'
17530 shlibpath_var
=LD_LIBRARY_PATH
17537 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17538 echo "${ECHO_T}$dynamic_linker" >&6
17539 test "$dynamic_linker" = no
&& can_build_shared
=no
17541 if test "x$enable_dlopen" != xyes
; then
17542 enable_dlopen
=unknown
17543 enable_dlopen_self
=unknown
17544 enable_dlopen_self_static
=unknown
17551 lt_cv_dlopen
="load_add_on"
17553 lt_cv_dlopen_self
=yes
17557 lt_cv_dlopen
="LoadLibrary"
17562 lt_cv_dlopen
="dlopen"
17567 # if libdl is installed we need to link against it
17568 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17569 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17570 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17571 echo $ECHO_N "(cached) $ECHO_C" >&6
17573 ac_check_lib_save_LIBS
=$LIBS
17575 cat >conftest.
$ac_ext <<_ACEOF
17578 cat confdefs.h
>>conftest.
$ac_ext
17579 cat >>conftest.
$ac_ext <<_ACEOF
17580 /* end confdefs.h. */
17582 /* Override any gcc2 internal prototype to avoid an error. */
17586 /* We use char because int might match the return type of a gcc2
17587 builtin and then its argument prototype would still apply. */
17597 rm -f conftest.
$ac_objext conftest
$ac_exeext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17599 (eval $ac_link) 2>conftest.er1
17601 grep -v '^ *+' conftest.er1
>conftest.err
17603 cat conftest.err
>&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } &&
17606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; } &&
17612 { ac_try
='test -s conftest$ac_exeext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17618 ac_cv_lib_dl_dlopen
=yes
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.
$ac_ext >&5
17623 ac_cv_lib_dl_dlopen
=no
17625 rm -f conftest.err conftest.
$ac_objext \
17626 conftest
$ac_exeext conftest.
$ac_ext
17627 LIBS
=$ac_check_lib_save_LIBS
17629 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17630 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17631 if test $ac_cv_lib_dl_dlopen = yes; then
17632 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17635 lt_cv_dlopen
="dyld"
17637 lt_cv_dlopen_self
=yes
17644 echo "$as_me:$LINENO: checking for shl_load" >&5
17645 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17646 if test "${ac_cv_func_shl_load+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17649 cat >conftest.
$ac_ext <<_ACEOF
17652 cat confdefs.h
>>conftest.
$ac_ext
17653 cat >>conftest.
$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17657 #define shl_load innocuous_shl_load
17659 /* System header to define __stub macros and hopefully few prototypes,
17660 which can conflict with char shl_load (); below.
17661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17662 <limits.h> exists even on freestanding compilers. */
17665 # include <limits.h>
17667 # include <assert.h>
17672 /* Override any gcc2 internal prototype to avoid an error. */
17677 /* We use char because int might match the return type of a gcc2
17678 builtin and then its argument prototype would still apply. */
17680 /* The GNU C library defines this for functions which it implements
17681 to always fail with ENOSYS. Some functions are actually named
17682 something starting with __ and the normal name is an alias. */
17683 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17686 char (*f) () = shl_load;
17695 return f != shl_load;
17700 rm -f conftest.
$ac_objext conftest
$ac_exeext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17702 (eval $ac_link) 2>conftest.er1
17704 grep -v '^ *+' conftest.er1
>conftest.err
17706 cat conftest.err
>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; } &&
17715 { ac_try
='test -s conftest$ac_exeext'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17721 ac_cv_func_shl_load
=yes
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.
$ac_ext >&5
17726 ac_cv_func_shl_load
=no
17728 rm -f conftest.err conftest.
$ac_objext \
17729 conftest
$ac_exeext conftest.
$ac_ext
17731 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17732 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17733 if test $ac_cv_func_shl_load = yes; then
17734 lt_cv_dlopen
="shl_load"
17736 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17737 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17738 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17741 ac_check_lib_save_LIBS
=$LIBS
17743 cat >conftest.
$ac_ext <<_ACEOF
17746 cat confdefs.h
>>conftest.
$ac_ext
17747 cat >>conftest.
$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17750 /* Override any gcc2 internal prototype to avoid an error. */
17754 /* We use char because int might match the return type of a gcc2
17755 builtin and then its argument prototype would still apply. */
17765 rm -f conftest.
$ac_objext conftest
$ac_exeext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17767 (eval $ac_link) 2>conftest.er1
17769 grep -v '^ *+' conftest.er1
>conftest.err
17771 cat conftest.err
>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; } &&
17780 { ac_try
='test -s conftest$ac_exeext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17786 ac_cv_lib_dld_shl_load
=yes
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.
$ac_ext >&5
17791 ac_cv_lib_dld_shl_load
=no
17793 rm -f conftest.err conftest.
$ac_objext \
17794 conftest
$ac_exeext conftest.
$ac_ext
17795 LIBS
=$ac_check_lib_save_LIBS
17797 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17798 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17799 if test $ac_cv_lib_dld_shl_load = yes; then
17800 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
17802 echo "$as_me:$LINENO: checking for dlopen" >&5
17803 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17804 if test "${ac_cv_func_dlopen+set}" = set; then
17805 echo $ECHO_N "(cached) $ECHO_C" >&6
17807 cat >conftest.
$ac_ext <<_ACEOF
17810 cat confdefs.h
>>conftest.
$ac_ext
17811 cat >>conftest.
$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17813 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17815 #define dlopen innocuous_dlopen
17817 /* System header to define __stub macros and hopefully few prototypes,
17818 which can conflict with char dlopen (); below.
17819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17820 <limits.h> exists even on freestanding compilers. */
17823 # include <limits.h>
17825 # include <assert.h>
17830 /* Override any gcc2 internal prototype to avoid an error. */
17835 /* We use char because int might match the return type of a gcc2
17836 builtin and then its argument prototype would still apply. */
17838 /* The GNU C library defines this for functions which it implements
17839 to always fail with ENOSYS. Some functions are actually named
17840 something starting with __ and the normal name is an alias. */
17841 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17844 char (*f) () = dlopen;
17853 return f != dlopen;
17858 rm -f conftest.
$ac_objext conftest
$ac_exeext
17859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17860 (eval $ac_link) 2>conftest.er1
17862 grep -v '^ *+' conftest.er1
>conftest.err
17864 cat conftest.err
>&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } &&
17867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; } &&
17873 { ac_try
='test -s conftest$ac_exeext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17879 ac_cv_func_dlopen
=yes
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.
$ac_ext >&5
17884 ac_cv_func_dlopen
=no
17886 rm -f conftest.err conftest.
$ac_objext \
17887 conftest
$ac_exeext conftest.
$ac_ext
17889 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17890 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17891 if test $ac_cv_func_dlopen = yes; then
17892 lt_cv_dlopen
="dlopen"
17894 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17895 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17897 echo $ECHO_N "(cached) $ECHO_C" >&6
17899 ac_check_lib_save_LIBS
=$LIBS
17901 cat >conftest.
$ac_ext <<_ACEOF
17904 cat confdefs.h
>>conftest.
$ac_ext
17905 cat >>conftest.
$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17908 /* Override any gcc2 internal prototype to avoid an error. */
17912 /* We use char because int might match the return type of a gcc2
17913 builtin and then its argument prototype would still apply. */
17923 rm -f conftest.
$ac_objext conftest
$ac_exeext
17924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17925 (eval $ac_link) 2>conftest.er1
17927 grep -v '^ *+' conftest.er1
>conftest.err
17929 cat conftest.err
>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); } &&
17932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; } &&
17938 { ac_try
='test -s conftest$ac_exeext'
17939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17940 (eval $ac_try) 2>&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); }; }; then
17944 ac_cv_lib_dl_dlopen
=yes
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.
$ac_ext >&5
17949 ac_cv_lib_dl_dlopen
=no
17951 rm -f conftest.err conftest.
$ac_objext \
17952 conftest
$ac_exeext conftest.
$ac_ext
17953 LIBS
=$ac_check_lib_save_LIBS
17955 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17956 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17957 if test $ac_cv_lib_dl_dlopen = yes; then
17958 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17960 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17961 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17962 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17963 echo $ECHO_N "(cached) $ECHO_C" >&6
17965 ac_check_lib_save_LIBS
=$LIBS
17966 LIBS
="-lsvld $LIBS"
17967 cat >conftest.
$ac_ext <<_ACEOF
17970 cat confdefs.h
>>conftest.
$ac_ext
17971 cat >>conftest.
$ac_ext <<_ACEOF
17972 /* end confdefs.h. */
17974 /* Override any gcc2 internal prototype to avoid an error. */
17978 /* We use char because int might match the return type of a gcc2
17979 builtin and then its argument prototype would still apply. */
17989 rm -f conftest.
$ac_objext conftest
$ac_exeext
17990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17991 (eval $ac_link) 2>conftest.er1
17993 grep -v '^ *+' conftest.er1
>conftest.err
17995 cat conftest.err
>&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } &&
17998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000 (eval $ac_try) 2>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; } &&
18004 { ac_try
='test -s conftest$ac_exeext'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; }; then
18010 ac_cv_lib_svld_dlopen
=yes
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.
$ac_ext >&5
18015 ac_cv_lib_svld_dlopen
=no
18017 rm -f conftest.err conftest.
$ac_objext \
18018 conftest
$ac_exeext conftest.
$ac_ext
18019 LIBS
=$ac_check_lib_save_LIBS
18021 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18022 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18023 if test $ac_cv_lib_svld_dlopen = yes; then
18024 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18026 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18027 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18028 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18029 echo $ECHO_N "(cached) $ECHO_C" >&6
18031 ac_check_lib_save_LIBS
=$LIBS
18033 cat >conftest.
$ac_ext <<_ACEOF
18036 cat confdefs.h
>>conftest.
$ac_ext
18037 cat >>conftest.
$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18040 /* Override any gcc2 internal prototype to avoid an error. */
18044 /* We use char because int might match the return type of a gcc2
18045 builtin and then its argument prototype would still apply. */
18055 rm -f conftest.
$ac_objext conftest
$ac_exeext
18056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18057 (eval $ac_link) 2>conftest.er1
18059 grep -v '^ *+' conftest.er1
>conftest.err
18061 cat conftest.err
>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } &&
18064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; } &&
18070 { ac_try
='test -s conftest$ac_exeext'
18071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072 (eval $ac_try) 2>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); }; }; then
18076 ac_cv_lib_dld_dld_link
=yes
18078 echo "$as_me: failed program was:" >&5
18079 sed 's/^/| /' conftest.
$ac_ext >&5
18081 ac_cv_lib_dld_dld_link
=no
18083 rm -f conftest.err conftest.
$ac_objext \
18084 conftest
$ac_exeext conftest.
$ac_ext
18085 LIBS
=$ac_check_lib_save_LIBS
18087 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18088 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18089 if test $ac_cv_lib_dld_dld_link = yes; then
18090 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
18111 if test "x$lt_cv_dlopen" != xno
; then
18117 case $lt_cv_dlopen in
18119 save_CPPFLAGS
="$CPPFLAGS"
18120 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
18122 save_LDFLAGS
="$LDFLAGS"
18123 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
18126 LIBS
="$lt_cv_dlopen_libs $LIBS"
18128 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18129 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18130 if test "${lt_cv_dlopen_self+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 if test "$cross_compiling" = yes; then :
18134 lt_cv_dlopen_self
=cross
18136 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18137 lt_status
=$lt_dlunknown
18138 cat > conftest.
$ac_ext <<EOF
18139 #line 18139 "configure"
18140 #include "confdefs.h"
18149 # define LT_DLGLOBAL RTLD_GLOBAL
18152 # define LT_DLGLOBAL DL_GLOBAL
18154 # define LT_DLGLOBAL 0
18158 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18159 find out it does not work in some platform. */
18160 #ifndef LT_DLLAZY_OR_NOW
18162 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18165 # define LT_DLLAZY_OR_NOW DL_LAZY
18168 # define LT_DLLAZY_OR_NOW RTLD_NOW
18171 # define LT_DLLAZY_OR_NOW DL_NOW
18173 # define LT_DLLAZY_OR_NOW 0
18181 extern "C" void exit (int);
18184 void fnord() { int i=42;}
18187 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18188 int status = $lt_dlunknown;
18192 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18193 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18194 /* dlclose (self); */
18200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18201 (eval $ac_link) 2>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18205 (.
/conftest
; exit; ) 2>/dev
/null
18207 case x
$lt_status in
18208 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18209 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18210 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18213 # compilation failed
18214 lt_cv_dlopen_self
=no
18221 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18222 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18224 if test "x$lt_cv_dlopen_self" = xyes
; then
18225 LDFLAGS
="$LDFLAGS $link_static_flag"
18226 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18227 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18228 if test "${lt_cv_dlopen_self_static+set}" = set; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 if test "$cross_compiling" = yes; then :
18232 lt_cv_dlopen_self_static
=cross
18234 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18235 lt_status
=$lt_dlunknown
18236 cat > conftest.
$ac_ext <<EOF
18237 #line 18237 "configure"
18238 #include "confdefs.h"
18247 # define LT_DLGLOBAL RTLD_GLOBAL
18250 # define LT_DLGLOBAL DL_GLOBAL
18252 # define LT_DLGLOBAL 0
18256 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18257 find out it does not work in some platform. */
18258 #ifndef LT_DLLAZY_OR_NOW
18260 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18263 # define LT_DLLAZY_OR_NOW DL_LAZY
18266 # define LT_DLLAZY_OR_NOW RTLD_NOW
18269 # define LT_DLLAZY_OR_NOW DL_NOW
18271 # define LT_DLLAZY_OR_NOW 0
18279 extern "C" void exit (int);
18282 void fnord() { int i=42;}
18285 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18286 int status = $lt_dlunknown;
18290 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18291 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18292 /* dlclose (self); */
18298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18299 (eval $ac_link) 2>&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18303 (.
/conftest
; exit; ) 2>/dev
/null
18305 case x
$lt_status in
18306 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18307 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18308 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18311 # compilation failed
18312 lt_cv_dlopen_self_static
=no
18319 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18320 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18323 CPPFLAGS
="$save_CPPFLAGS"
18324 LDFLAGS
="$save_LDFLAGS"
18329 case $lt_cv_dlopen_self in
18330 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18331 *) enable_dlopen_self
=unknown
;;
18334 case $lt_cv_dlopen_self_static in
18335 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18336 *) enable_dlopen_self_static
=unknown
;;
18341 # The else clause should only fire when bootstrapping the
18342 # libtool distribution, otherwise you forgot to ship ltmain.sh
18343 # with your package, and you will get complaints that there are
18344 # no rules to generate ltmain.sh.
18345 if test -f "$ltmain"; then
18346 # See if we are running on zsh, and set the options which allow our commands through
18347 # without removal of \ escapes.
18348 if test -n "${ZSH_VERSION+set}" ; then
18349 setopt NO_GLOB_SUBST
18351 # Now quote all the things that may contain metacharacters while being
18352 # careful not to overquote the AC_SUBSTed values. We take copies of the
18353 # variables and quote the copies for generation of the libtool script.
18354 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18355 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18356 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18357 deplibs_check_method reload_flag reload_cmds need_locks \
18358 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18359 lt_cv_sys_global_symbol_to_c_name_address \
18360 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18361 old_postinstall_cmds old_postuninstall_cmds \
18365 lt_prog_compiler_wl_GCJ \
18366 lt_prog_compiler_pic_GCJ \
18367 lt_prog_compiler_static_GCJ \
18368 lt_prog_compiler_no_builtin_flag_GCJ \
18369 export_dynamic_flag_spec_GCJ \
18370 thread_safe_flag_spec_GCJ \
18371 whole_archive_flag_spec_GCJ \
18372 enable_shared_with_static_runtimes_GCJ \
18373 old_archive_cmds_GCJ \
18374 old_archive_from_new_cmds_GCJ \
18375 predep_objects_GCJ \
18376 postdep_objects_GCJ \
18379 compiler_lib_search_path_GCJ \
18381 archive_expsym_cmds_GCJ \
18382 postinstall_cmds_GCJ \
18383 postuninstall_cmds_GCJ \
18384 old_archive_from_expsyms_cmds_GCJ \
18385 allow_undefined_flag_GCJ \
18386 no_undefined_flag_GCJ \
18387 export_symbols_cmds_GCJ \
18388 hardcode_libdir_flag_spec_GCJ \
18389 hardcode_libdir_flag_spec_ld_GCJ \
18390 hardcode_libdir_separator_GCJ \
18391 hardcode_automatic_GCJ \
18393 module_expsym_cmds_GCJ \
18394 lt_cv_prog_compiler_c_o_GCJ \
18395 exclude_expsyms_GCJ \
18396 include_expsyms_GCJ
; do
18399 old_archive_cmds_GCJ | \
18400 old_archive_from_new_cmds_GCJ | \
18401 archive_cmds_GCJ | \
18402 archive_expsym_cmds_GCJ | \
18403 module_cmds_GCJ | \
18404 module_expsym_cmds_GCJ | \
18405 old_archive_from_expsyms_cmds_GCJ | \
18406 export_symbols_cmds_GCJ | \
18407 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18408 postinstall_cmds | postuninstall_cmds | \
18409 old_postinstall_cmds | old_postuninstall_cmds | \
18410 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18411 # Double-quote double-evaled strings.
18412 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18415 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18421 *'\$0 --fallback-echo"')
18422 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18428 cat <<__EOF__ >> "$cfgfile"
18429 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18431 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18433 # Shell to use when invoking shell scripts.
18436 # Whether or not to build shared libraries.
18437 build_libtool_libs=$enable_shared
18439 # Whether or not to build static libraries.
18440 build_old_libs=$enable_static
18442 # Whether or not to add -lc for building shared libraries.
18443 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18445 # Whether or not to disallow shared libs when runtime libs are static
18446 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18448 # Whether or not to optimize for fast installation.
18449 fast_install=$enable_fast_install
18452 host_alias=$host_alias
18455 # An echo program that does not interpret backslashes.
18460 AR_FLAGS=$lt_AR_FLAGS
18465 # A language-specific compiler.
18466 CC=$lt_compiler_GCJ
18468 # Is the compiler the GNU C compiler?
18474 # The linker used to build libraries.
18477 # Whether we need hard or soft links.
18480 # A BSD-compatible nm program.
18483 # A symbol stripping program
18486 # Used to examine libraries when file_magic_cmd begins "file"
18487 MAGIC_CMD=$MAGIC_CMD
18489 # Used on cygwin: DLL creation program.
18492 # Used on cygwin: object dumper.
18495 # Used on cygwin: assembler.
18498 # The name of the directory that contains temporary libtool files.
18501 # How to create reloadable object files.
18502 reload_flag=$lt_reload_flag
18503 reload_cmds=$lt_reload_cmds
18505 # How to pass a linker flag through the compiler.
18506 wl=$lt_lt_prog_compiler_wl_GCJ
18508 # Object file suffix (normally "o").
18509 objext="$ac_objext"
18511 # Old archive suffix (normally "a").
18514 # Shared library suffix (normally ".so").
18517 # Executable file suffix (normally "").
18520 # Additional compiler flags for building library objects.
18521 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18524 # What is the maximum length of a command?
18525 max_cmd_len=$lt_cv_sys_max_cmd_len
18527 # Does compiler simultaneously support -c and -o options?
18528 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18530 # Must we lock files when doing compilation ?
18531 need_locks=$lt_need_locks
18533 # Do we need the lib prefix for modules?
18534 need_lib_prefix=$need_lib_prefix
18536 # Do we need a version for libraries?
18537 need_version=$need_version
18539 # Whether dlopen is supported.
18540 dlopen_support=$enable_dlopen
18542 # Whether dlopen of programs is supported.
18543 dlopen_self=$enable_dlopen_self
18545 # Whether dlopen of statically linked programs is supported.
18546 dlopen_self_static=$enable_dlopen_self_static
18548 # Compiler flag to prevent dynamic linking.
18549 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18551 # Compiler flag to turn off builtin functions.
18552 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18554 # Compiler flag to allow reflexive dlopens.
18555 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18557 # Compiler flag to generate shared objects directly from archives.
18558 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18560 # Compiler flag to generate thread-safe objects.
18561 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18563 # Library versioning type.
18564 version_type=$version_type
18566 # Format of library name prefix.
18567 libname_spec=$lt_libname_spec
18569 # List of archive names. First name is the real one, the rest are links.
18570 # The last name is the one that the linker finds with -lNAME.
18571 library_names_spec=$lt_library_names_spec
18573 # The coded name of the library, if different from the real name.
18574 soname_spec=$lt_soname_spec
18576 # Commands used to build and install an old-style archive.
18578 old_archive_cmds=$lt_old_archive_cmds_GCJ
18579 old_postinstall_cmds=$lt_old_postinstall_cmds
18580 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18582 # Create an old-style archive from a shared archive.
18583 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18585 # Create a temporary old-style archive to link instead of a shared archive.
18586 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18588 # Commands used to build and install a shared archive.
18589 archive_cmds=$lt_archive_cmds_GCJ
18590 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18591 postinstall_cmds=$lt_postinstall_cmds
18592 postuninstall_cmds=$lt_postuninstall_cmds
18594 # Commands used to build a loadable module (assumed same as above if empty)
18595 module_cmds=$lt_module_cmds_GCJ
18596 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18598 # Commands to strip libraries.
18599 old_striplib=$lt_old_striplib
18600 striplib=$lt_striplib
18602 # Dependencies to place before the objects being linked to create a
18604 predep_objects=$lt_predep_objects_GCJ
18606 # Dependencies to place after the objects being linked to create a
18608 postdep_objects=$lt_postdep_objects_GCJ
18610 # Dependencies to place before the objects being linked to create a
18612 predeps=$lt_predeps_GCJ
18614 # Dependencies to place after the objects being linked to create a
18616 postdeps=$lt_postdeps_GCJ
18618 # The library search path used internally by the compiler when linking
18619 # a shared library.
18620 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18622 # Method to check whether dependent libraries are shared objects.
18623 deplibs_check_method=$lt_deplibs_check_method
18625 # Command to use when deplibs_check_method == file_magic.
18626 file_magic_cmd=$lt_file_magic_cmd
18628 # Flag that allows shared libraries with undefined symbols to be built.
18629 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18631 # Flag that forces no undefined symbols.
18632 no_undefined_flag=$lt_no_undefined_flag_GCJ
18634 # Commands used to finish a libtool library installation in a directory.
18635 finish_cmds=$lt_finish_cmds
18637 # Same as above, but a single script fragment to be evaled but not shown.
18638 finish_eval=$lt_finish_eval
18640 # Take the output of nm and produce a listing of raw symbols and C names.
18641 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18643 # Transform the output of nm in a proper C declaration
18644 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18646 # Transform the output of nm in a C name address pair
18647 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18649 # This is the shared library runtime path variable.
18650 runpath_var=$runpath_var
18652 # This is the shared library path variable.
18653 shlibpath_var=$shlibpath_var
18655 # Is shlibpath searched before the hard-coded library search path?
18656 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18658 # How to hardcode a shared library path into an executable.
18659 hardcode_action=$hardcode_action_GCJ
18661 # Whether we should hardcode library paths into libraries.
18662 hardcode_into_libs=$hardcode_into_libs
18664 # Flag to hardcode \$libdir into a binary during linking.
18665 # This must work even if \$libdir does not exist.
18666 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18668 # If ld is used when linking, flag to hardcode \$libdir into
18669 # a binary during linking. This must work even if \$libdir does
18671 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18673 # Whether we need a single -rpath flag with a separated argument.
18674 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18676 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18677 # resulting binary.
18678 hardcode_direct=$hardcode_direct_GCJ
18680 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18681 # resulting binary.
18682 hardcode_minus_L=$hardcode_minus_L_GCJ
18684 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18685 # the resulting binary.
18686 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18688 # Set to yes if building a shared library automatically hardcodes DIR into the library
18689 # and all subsequent libraries and executables linked against it.
18690 hardcode_automatic=$hardcode_automatic_GCJ
18692 # Variables whose values should be saved in libtool wrapper scripts and
18693 # restored at relink time.
18694 variables_saved_for_relink="$variables_saved_for_relink"
18696 # Whether libtool must link a program against all its dependency libraries.
18697 link_all_deplibs=$link_all_deplibs_GCJ
18699 # Compile-time system search path for libraries
18700 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18702 # Run-time system search path for libraries
18703 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18705 # Fix the shell variable \$srcfile for the compiler.
18706 fix_srcfile_path="$fix_srcfile_path_GCJ"
18708 # Set to yes if exported symbols are required.
18709 always_export_symbols=$always_export_symbols_GCJ
18711 # The commands to list exported symbols.
18712 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18714 # The commands to extract the exported symbol list from a shared archive.
18715 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18717 # Symbols that should not be listed in the preloaded symbols.
18718 exclude_expsyms=$lt_exclude_expsyms_GCJ
18720 # Symbols that must always be exported.
18721 include_expsyms=$lt_include_expsyms_GCJ
18723 # ### END LIBTOOL TAG CONFIG: $tagname
18729 # If there is no Makefile yet, we rely on a make rule to execute
18730 # `config.status --recheck' to rerun these tests and create the
18731 # libtool script then.
18732 test -f Makefile
&& make "$ltmain"
18737 ac_cpp
='$CPP $CPPFLAGS'
18738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18753 # Source file extension for RC test sources.
18756 # Object file extension for compiled RC test sources.
18760 # Code to be used in simple compile tests
18761 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18763 # Code to be used in simple link tests
18764 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18766 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18768 # If no C compiler was specified, use CC.
18771 # Allow CC to be a program name with arguments.
18775 # Allow CC to be a program name with arguments.
18780 lt_cv_prog_compiler_c_o_RC
=yes
18782 # The else clause should only fire when bootstrapping the
18783 # libtool distribution, otherwise you forgot to ship ltmain.sh
18784 # with your package, and you will get complaints that there are
18785 # no rules to generate ltmain.sh.
18786 if test -f "$ltmain"; then
18787 # See if we are running on zsh, and set the options which allow our commands through
18788 # without removal of \ escapes.
18789 if test -n "${ZSH_VERSION+set}" ; then
18790 setopt NO_GLOB_SUBST
18792 # Now quote all the things that may contain metacharacters while being
18793 # careful not to overquote the AC_SUBSTed values. We take copies of the
18794 # variables and quote the copies for generation of the libtool script.
18795 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18796 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18797 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18798 deplibs_check_method reload_flag reload_cmds need_locks \
18799 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18800 lt_cv_sys_global_symbol_to_c_name_address \
18801 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18802 old_postinstall_cmds old_postuninstall_cmds \
18806 lt_prog_compiler_wl_RC \
18807 lt_prog_compiler_pic_RC \
18808 lt_prog_compiler_static_RC \
18809 lt_prog_compiler_no_builtin_flag_RC \
18810 export_dynamic_flag_spec_RC \
18811 thread_safe_flag_spec_RC \
18812 whole_archive_flag_spec_RC \
18813 enable_shared_with_static_runtimes_RC \
18814 old_archive_cmds_RC \
18815 old_archive_from_new_cmds_RC \
18816 predep_objects_RC \
18817 postdep_objects_RC \
18820 compiler_lib_search_path_RC \
18822 archive_expsym_cmds_RC \
18823 postinstall_cmds_RC \
18824 postuninstall_cmds_RC \
18825 old_archive_from_expsyms_cmds_RC \
18826 allow_undefined_flag_RC \
18827 no_undefined_flag_RC \
18828 export_symbols_cmds_RC \
18829 hardcode_libdir_flag_spec_RC \
18830 hardcode_libdir_flag_spec_ld_RC \
18831 hardcode_libdir_separator_RC \
18832 hardcode_automatic_RC \
18834 module_expsym_cmds_RC \
18835 lt_cv_prog_compiler_c_o_RC \
18836 exclude_expsyms_RC \
18837 include_expsyms_RC
; do
18840 old_archive_cmds_RC | \
18841 old_archive_from_new_cmds_RC | \
18842 archive_cmds_RC | \
18843 archive_expsym_cmds_RC | \
18845 module_expsym_cmds_RC | \
18846 old_archive_from_expsyms_cmds_RC | \
18847 export_symbols_cmds_RC | \
18848 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18849 postinstall_cmds | postuninstall_cmds | \
18850 old_postinstall_cmds | old_postuninstall_cmds | \
18851 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18852 # Double-quote double-evaled strings.
18853 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18856 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18862 *'\$0 --fallback-echo"')
18863 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18869 cat <<__EOF__ >> "$cfgfile"
18870 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18872 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18874 # Shell to use when invoking shell scripts.
18877 # Whether or not to build shared libraries.
18878 build_libtool_libs=$enable_shared
18880 # Whether or not to build static libraries.
18881 build_old_libs=$enable_static
18883 # Whether or not to add -lc for building shared libraries.
18884 build_libtool_need_lc=$archive_cmds_need_lc_RC
18886 # Whether or not to disallow shared libs when runtime libs are static
18887 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18889 # Whether or not to optimize for fast installation.
18890 fast_install=$enable_fast_install
18893 host_alias=$host_alias
18896 # An echo program that does not interpret backslashes.
18901 AR_FLAGS=$lt_AR_FLAGS
18906 # A language-specific compiler.
18909 # Is the compiler the GNU C compiler?
18915 # The linker used to build libraries.
18918 # Whether we need hard or soft links.
18921 # A BSD-compatible nm program.
18924 # A symbol stripping program
18927 # Used to examine libraries when file_magic_cmd begins "file"
18928 MAGIC_CMD=$MAGIC_CMD
18930 # Used on cygwin: DLL creation program.
18933 # Used on cygwin: object dumper.
18936 # Used on cygwin: assembler.
18939 # The name of the directory that contains temporary libtool files.
18942 # How to create reloadable object files.
18943 reload_flag=$lt_reload_flag
18944 reload_cmds=$lt_reload_cmds
18946 # How to pass a linker flag through the compiler.
18947 wl=$lt_lt_prog_compiler_wl_RC
18949 # Object file suffix (normally "o").
18950 objext="$ac_objext"
18952 # Old archive suffix (normally "a").
18955 # Shared library suffix (normally ".so").
18958 # Executable file suffix (normally "").
18961 # Additional compiler flags for building library objects.
18962 pic_flag=$lt_lt_prog_compiler_pic_RC
18965 # What is the maximum length of a command?
18966 max_cmd_len=$lt_cv_sys_max_cmd_len
18968 # Does compiler simultaneously support -c and -o options?
18969 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18971 # Must we lock files when doing compilation ?
18972 need_locks=$lt_need_locks
18974 # Do we need the lib prefix for modules?
18975 need_lib_prefix=$need_lib_prefix
18977 # Do we need a version for libraries?
18978 need_version=$need_version
18980 # Whether dlopen is supported.
18981 dlopen_support=$enable_dlopen
18983 # Whether dlopen of programs is supported.
18984 dlopen_self=$enable_dlopen_self
18986 # Whether dlopen of statically linked programs is supported.
18987 dlopen_self_static=$enable_dlopen_self_static
18989 # Compiler flag to prevent dynamic linking.
18990 link_static_flag=$lt_lt_prog_compiler_static_RC
18992 # Compiler flag to turn off builtin functions.
18993 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18995 # Compiler flag to allow reflexive dlopens.
18996 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18998 # Compiler flag to generate shared objects directly from archives.
18999 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19001 # Compiler flag to generate thread-safe objects.
19002 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19004 # Library versioning type.
19005 version_type=$version_type
19007 # Format of library name prefix.
19008 libname_spec=$lt_libname_spec
19010 # List of archive names. First name is the real one, the rest are links.
19011 # The last name is the one that the linker finds with -lNAME.
19012 library_names_spec=$lt_library_names_spec
19014 # The coded name of the library, if different from the real name.
19015 soname_spec=$lt_soname_spec
19017 # Commands used to build and install an old-style archive.
19019 old_archive_cmds=$lt_old_archive_cmds_RC
19020 old_postinstall_cmds=$lt_old_postinstall_cmds
19021 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19023 # Create an old-style archive from a shared archive.
19024 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19026 # Create a temporary old-style archive to link instead of a shared archive.
19027 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19029 # Commands used to build and install a shared archive.
19030 archive_cmds=$lt_archive_cmds_RC
19031 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19032 postinstall_cmds=$lt_postinstall_cmds
19033 postuninstall_cmds=$lt_postuninstall_cmds
19035 # Commands used to build a loadable module (assumed same as above if empty)
19036 module_cmds=$lt_module_cmds_RC
19037 module_expsym_cmds=$lt_module_expsym_cmds_RC
19039 # Commands to strip libraries.
19040 old_striplib=$lt_old_striplib
19041 striplib=$lt_striplib
19043 # Dependencies to place before the objects being linked to create a
19045 predep_objects=$lt_predep_objects_RC
19047 # Dependencies to place after the objects being linked to create a
19049 postdep_objects=$lt_postdep_objects_RC
19051 # Dependencies to place before the objects being linked to create a
19053 predeps=$lt_predeps_RC
19055 # Dependencies to place after the objects being linked to create a
19057 postdeps=$lt_postdeps_RC
19059 # The library search path used internally by the compiler when linking
19060 # a shared library.
19061 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19063 # Method to check whether dependent libraries are shared objects.
19064 deplibs_check_method=$lt_deplibs_check_method
19066 # Command to use when deplibs_check_method == file_magic.
19067 file_magic_cmd=$lt_file_magic_cmd
19069 # Flag that allows shared libraries with undefined symbols to be built.
19070 allow_undefined_flag=$lt_allow_undefined_flag_RC
19072 # Flag that forces no undefined symbols.
19073 no_undefined_flag=$lt_no_undefined_flag_RC
19075 # Commands used to finish a libtool library installation in a directory.
19076 finish_cmds=$lt_finish_cmds
19078 # Same as above, but a single script fragment to be evaled but not shown.
19079 finish_eval=$lt_finish_eval
19081 # Take the output of nm and produce a listing of raw symbols and C names.
19082 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19084 # Transform the output of nm in a proper C declaration
19085 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19087 # Transform the output of nm in a C name address pair
19088 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19090 # This is the shared library runtime path variable.
19091 runpath_var=$runpath_var
19093 # This is the shared library path variable.
19094 shlibpath_var=$shlibpath_var
19096 # Is shlibpath searched before the hard-coded library search path?
19097 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19099 # How to hardcode a shared library path into an executable.
19100 hardcode_action=$hardcode_action_RC
19102 # Whether we should hardcode library paths into libraries.
19103 hardcode_into_libs=$hardcode_into_libs
19105 # Flag to hardcode \$libdir into a binary during linking.
19106 # This must work even if \$libdir does not exist.
19107 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19109 # If ld is used when linking, flag to hardcode \$libdir into
19110 # a binary during linking. This must work even if \$libdir does
19112 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19114 # Whether we need a single -rpath flag with a separated argument.
19115 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19117 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19118 # resulting binary.
19119 hardcode_direct=$hardcode_direct_RC
19121 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19122 # resulting binary.
19123 hardcode_minus_L=$hardcode_minus_L_RC
19125 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19126 # the resulting binary.
19127 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19129 # Set to yes if building a shared library automatically hardcodes DIR into the library
19130 # and all subsequent libraries and executables linked against it.
19131 hardcode_automatic=$hardcode_automatic_RC
19133 # Variables whose values should be saved in libtool wrapper scripts and
19134 # restored at relink time.
19135 variables_saved_for_relink="$variables_saved_for_relink"
19137 # Whether libtool must link a program against all its dependency libraries.
19138 link_all_deplibs=$link_all_deplibs_RC
19140 # Compile-time system search path for libraries
19141 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19143 # Run-time system search path for libraries
19144 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19146 # Fix the shell variable \$srcfile for the compiler.
19147 fix_srcfile_path="$fix_srcfile_path_RC"
19149 # Set to yes if exported symbols are required.
19150 always_export_symbols=$always_export_symbols_RC
19152 # The commands to list exported symbols.
19153 export_symbols_cmds=$lt_export_symbols_cmds_RC
19155 # The commands to extract the exported symbol list from a shared archive.
19156 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19158 # Symbols that should not be listed in the preloaded symbols.
19159 exclude_expsyms=$lt_exclude_expsyms_RC
19161 # Symbols that must always be exported.
19162 include_expsyms=$lt_include_expsyms_RC
19164 # ### END LIBTOOL TAG CONFIG: $tagname
19170 # If there is no Makefile yet, we rely on a make rule to execute
19171 # `config.status --recheck' to rerun these tests and create the
19172 # libtool script then.
19173 test -f Makefile
&& make "$ltmain"
19178 ac_cpp
='$CPP $CPPFLAGS'
19179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19188 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19189 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19190 { (exit 1); exit 1; }; }
19194 # Append the new tag name to the list of available tags.
19195 if test -n "$tagname" ; then
19196 available_tags
="$available_tags $tagname"
19202 # Now substitute the updated list of available tags.
19203 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19204 mv "${ofile}T" "$ofile"
19208 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19209 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19210 { (exit 1); exit 1; }; }
19216 # This can be used to rebuild libtool when needed
19217 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19219 # Always use our own libtool.
19220 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19222 # Prevent multiple expansion
19250 ac_header_dirent
=no
19251 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
19252 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19253 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
19254 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
19255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19256 echo $ECHO_N "(cached) $ECHO_C" >&6
19258 cat >conftest.
$ac_ext <<_ACEOF
19261 cat confdefs.h
>>conftest.
$ac_ext
19262 cat >>conftest.
$ac_ext <<_ACEOF
19263 /* end confdefs.h. */
19264 #include <sys/types.h>
19276 rm -f conftest.
$ac_objext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19278 (eval $ac_compile) 2>conftest.er1
19280 grep -v '^ *+' conftest.er1
>conftest.err
19282 cat conftest.err
>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); } &&
19285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; } &&
19291 { ac_try
='test -s conftest.$ac_objext'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; }; then
19297 eval "$as_ac_Header=yes"
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.
$ac_ext >&5
19302 eval "$as_ac_Header=no"
19304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19309 cat >>confdefs.h
<<_ACEOF
19310 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
19313 ac_header_dirent
=$ac_hdr; break
19317 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19318 if test $ac_header_dirent = dirent.h
; then
19319 echo "$as_me:$LINENO: checking for library containing opendir" >&5
19320 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
19321 if test "${ac_cv_search_opendir+set}" = set; then
19322 echo $ECHO_N "(cached) $ECHO_C" >&6
19324 ac_func_search_save_LIBS
=$LIBS
19325 ac_cv_search_opendir
=no
19326 cat >conftest.
$ac_ext <<_ACEOF
19329 cat confdefs.h
>>conftest.
$ac_ext
19330 cat >>conftest.
$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19333 /* Override any gcc2 internal prototype to avoid an error. */
19337 /* We use char because int might match the return type of a gcc2
19338 builtin and then its argument prototype would still apply. */
19348 rm -f conftest.
$ac_objext conftest
$ac_exeext
19349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19350 (eval $ac_link) 2>conftest.er1
19352 grep -v '^ *+' conftest.er1
>conftest.err
19354 cat conftest.err
>&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } &&
19357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19359 (eval $ac_try) 2>&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); }; } &&
19363 { ac_try
='test -s conftest$ac_exeext'
19364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365 (eval $ac_try) 2>&5
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); }; }; then
19369 ac_cv_search_opendir
="none required"
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.
$ac_ext >&5
19375 rm -f conftest.err conftest.
$ac_objext \
19376 conftest
$ac_exeext conftest.
$ac_ext
19377 if test "$ac_cv_search_opendir" = no
; then
19378 for ac_lib
in dir
; do
19379 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19380 cat >conftest.
$ac_ext <<_ACEOF
19383 cat confdefs.h
>>conftest.
$ac_ext
19384 cat >>conftest.
$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19387 /* Override any gcc2 internal prototype to avoid an error. */
19391 /* We use char because int might match the return type of a gcc2
19392 builtin and then its argument prototype would still apply. */
19402 rm -f conftest.
$ac_objext conftest
$ac_exeext
19403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19404 (eval $ac_link) 2>conftest.er1
19406 grep -v '^ *+' conftest.er1
>conftest.err
19408 cat conftest.err
>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } &&
19411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; } &&
19417 { ac_try
='test -s conftest$ac_exeext'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; }; then
19423 ac_cv_search_opendir
="-l$ac_lib"
19426 echo "$as_me: failed program was:" >&5
19427 sed 's/^/| /' conftest.
$ac_ext >&5
19430 rm -f conftest.err conftest.
$ac_objext \
19431 conftest
$ac_exeext conftest.
$ac_ext
19434 LIBS
=$ac_func_search_save_LIBS
19436 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19437 echo "${ECHO_T}$ac_cv_search_opendir" >&6
19438 if test "$ac_cv_search_opendir" != no
; then
19439 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
19444 echo "$as_me:$LINENO: checking for library containing opendir" >&5
19445 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
19446 if test "${ac_cv_search_opendir+set}" = set; then
19447 echo $ECHO_N "(cached) $ECHO_C" >&6
19449 ac_func_search_save_LIBS
=$LIBS
19450 ac_cv_search_opendir
=no
19451 cat >conftest.
$ac_ext <<_ACEOF
19454 cat confdefs.h
>>conftest.
$ac_ext
19455 cat >>conftest.
$ac_ext <<_ACEOF
19456 /* end confdefs.h. */
19458 /* Override any gcc2 internal prototype to avoid an error. */
19462 /* We use char because int might match the return type of a gcc2
19463 builtin and then its argument prototype would still apply. */
19473 rm -f conftest.
$ac_objext conftest
$ac_exeext
19474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19475 (eval $ac_link) 2>conftest.er1
19477 grep -v '^ *+' conftest.er1
>conftest.err
19479 cat conftest.err
>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); } &&
19482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; } &&
19488 { ac_try
='test -s conftest$ac_exeext'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; }; then
19494 ac_cv_search_opendir
="none required"
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.
$ac_ext >&5
19500 rm -f conftest.err conftest.
$ac_objext \
19501 conftest
$ac_exeext conftest.
$ac_ext
19502 if test "$ac_cv_search_opendir" = no
; then
19503 for ac_lib
in x
; do
19504 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19505 cat >conftest.
$ac_ext <<_ACEOF
19508 cat confdefs.h
>>conftest.
$ac_ext
19509 cat >>conftest.
$ac_ext <<_ACEOF
19510 /* end confdefs.h. */
19512 /* Override any gcc2 internal prototype to avoid an error. */
19516 /* We use char because int might match the return type of a gcc2
19517 builtin and then its argument prototype would still apply. */
19527 rm -f conftest.
$ac_objext conftest
$ac_exeext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19529 (eval $ac_link) 2>conftest.er1
19531 grep -v '^ *+' conftest.er1
>conftest.err
19533 cat conftest.err
>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538 (eval $ac_try) 2>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); }; } &&
19542 { ac_try
='test -s conftest$ac_exeext'
19543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544 (eval $ac_try) 2>&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); }; }; then
19548 ac_cv_search_opendir
="-l$ac_lib"
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.
$ac_ext >&5
19555 rm -f conftest.err conftest.
$ac_objext \
19556 conftest
$ac_exeext conftest.
$ac_ext
19559 LIBS
=$ac_func_search_save_LIBS
19561 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19562 echo "${ECHO_T}$ac_cv_search_opendir" >&6
19563 if test "$ac_cv_search_opendir" != no
; then
19564 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
19570 # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
19571 if test "${enable_ltdl_install+set}" = set; then
19572 enableval
="$enable_ltdl_install"
19578 if test x
"${enable_ltdl_install-no}" != xno
; then
19580 INSTALL_LTDL_FALSE
='#'
19582 INSTALL_LTDL_TRUE
='#'
19583 INSTALL_LTDL_FALSE
=
19588 if test x
"${enable_ltdl_convenience-no}" != xno
; then
19589 CONVENIENCE_LTDL_TRUE
=
19590 CONVENIENCE_LTDL_FALSE
='#'
19592 CONVENIENCE_LTDL_TRUE
='#'
19593 CONVENIENCE_LTDL_FALSE
=
19598 echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
19599 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6
19600 if test "${libltdl_cv_shlibext+set}" = set; then
19601 echo $ECHO_N "(cached) $ECHO_C" >&6
19604 # Here in libltdl for libgcj we don't build modules for darwin.
19605 # So we say no. Then the extension gets .dylib which is the right
19606 # thing for shared libraries on darwin.
19615 eval libltdl_cv_shlibext
=$shrext
19618 echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
19619 echo "${ECHO_T}$libltdl_cv_shlibext" >&6
19620 if test -n "$libltdl_cv_shlibext"; then
19622 cat >>confdefs.h
<<_ACEOF
19623 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
19629 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
19630 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
19631 if test "${libltdl_cv_shlibpath_var+set}" = set; then
19632 echo $ECHO_N "(cached) $ECHO_C" >&6
19634 libltdl_cv_shlibpath_var
="$shlibpath_var"
19636 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
19637 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
19638 if test -n "$libltdl_cv_shlibpath_var"; then
19640 cat >>confdefs.h
<<_ACEOF
19641 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
19647 echo "$as_me:$LINENO: checking for the default library search path" >&5
19648 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
19649 if test "${libltdl_cv_sys_search_path+set}" = set; then
19650 echo $ECHO_N "(cached) $ECHO_C" >&6
19652 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
19654 echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
19655 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6
19656 if test -n "$libltdl_cv_sys_search_path"; then
19658 for dir
in $libltdl_cv_sys_search_path; do
19659 if test -z "$sys_search_path"; then
19660 sys_search_path
="$dir"
19662 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
19666 cat >>confdefs.h
<<_ACEOF
19667 #define LTDL_SYSSEARCHPATH "$sys_search_path"
19672 echo "$as_me:$LINENO: checking for objdir" >&5
19673 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
19674 if test "${libltdl_cv_objdir+set}" = set; then
19675 echo $ECHO_N "(cached) $ECHO_C" >&6
19677 libltdl_cv_objdir
="$objdir"
19678 if test -n "$objdir"; then
19681 rm -f .libs
2>/dev
/null
19682 mkdir .libs
2>/dev
/null
19683 if test -d .libs
; then
19684 libltdl_cv_objdir
=.libs
19686 # MS-DOS does not allow filenames that begin with a dot.
19687 libltdl_cv_objdir
=_libs
19689 rmdir .libs
2>/dev
/null
19693 echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
19694 echo "${ECHO_T}$libltdl_cv_objdir" >&6
19696 cat >>confdefs.h
<<_ACEOF
19697 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
19702 echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
19703 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
19704 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19707 if test -n "$lt_cv_sys_global_symbol_pipe"; then
19708 libltdl_cv_preloaded_symbols
=yes
19710 libltdl_cv_preloaded_symbols
=no
19714 echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
19715 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
19716 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
19718 cat >>confdefs.h
<<\_ACEOF
19719 #define HAVE_PRELOADED_SYMBOLS 1
19727 ac_cpp
='$CPP $CPPFLAGS'
19728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19733 echo "$as_me:$LINENO: checking for shl_load" >&5
19734 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19735 if test "${ac_cv_func_shl_load+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19738 cat >conftest.
$ac_ext <<_ACEOF
19741 cat confdefs.h
>>conftest.
$ac_ext
19742 cat >>conftest.
$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19746 #define shl_load innocuous_shl_load
19748 /* System header to define __stub macros and hopefully few prototypes,
19749 which can conflict with char shl_load (); below.
19750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19751 <limits.h> exists even on freestanding compilers. */
19754 # include <limits.h>
19756 # include <assert.h>
19761 /* Override any gcc2 internal prototype to avoid an error. */
19766 /* We use char because int might match the return type of a gcc2
19767 builtin and then its argument prototype would still apply. */
19769 /* The GNU C library defines this for functions which it implements
19770 to always fail with ENOSYS. Some functions are actually named
19771 something starting with __ and the normal name is an alias. */
19772 #if defined (__stub_shl_load) || defined (__stub___shl_load)
19775 char (*f) () = shl_load;
19784 return f != shl_load;
19789 rm -f conftest.
$ac_objext conftest
$ac_exeext
19790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19791 (eval $ac_link) 2>conftest.er1
19793 grep -v '^ *+' conftest.er1
>conftest.err
19795 cat conftest.err
>&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); } &&
19798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19800 (eval $ac_try) 2>&5
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); }; } &&
19804 { ac_try
='test -s conftest$ac_exeext'
19805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19806 (eval $ac_try) 2>&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); }; }; then
19810 ac_cv_func_shl_load
=yes
19812 echo "$as_me: failed program was:" >&5
19813 sed 's/^/| /' conftest.
$ac_ext >&5
19815 ac_cv_func_shl_load
=no
19817 rm -f conftest.err conftest.
$ac_objext \
19818 conftest
$ac_exeext conftest.
$ac_ext
19820 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19821 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19822 if test $ac_cv_func_shl_load = yes; then
19824 cat >>confdefs.h
<<\_ACEOF
19825 #define HAVE_SHL_LOAD 1
19829 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19830 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19831 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19834 ac_check_lib_save_LIBS
=$LIBS
19836 cat >conftest.
$ac_ext <<_ACEOF
19839 cat confdefs.h
>>conftest.
$ac_ext
19840 cat >>conftest.
$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19843 /* Override any gcc2 internal prototype to avoid an error. */
19847 /* We use char because int might match the return type of a gcc2
19848 builtin and then its argument prototype would still apply. */
19858 rm -f conftest.
$ac_objext conftest
$ac_exeext
19859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19860 (eval $ac_link) 2>conftest.er1
19862 grep -v '^ *+' conftest.er1
>conftest.err
19864 cat conftest.err
>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } &&
19867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; } &&
19873 { ac_try
='test -s conftest$ac_exeext'
19874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19875 (eval $ac_try) 2>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; }; then
19879 ac_cv_lib_dld_shl_load
=yes
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.
$ac_ext >&5
19884 ac_cv_lib_dld_shl_load
=no
19886 rm -f conftest.err conftest.
$ac_objext \
19887 conftest
$ac_exeext conftest.
$ac_ext
19888 LIBS
=$ac_check_lib_save_LIBS
19890 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19891 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19892 if test $ac_cv_lib_dld_shl_load = yes; then
19894 cat >>confdefs.h
<<\_ACEOF
19895 #define HAVE_SHL_LOAD 1
19898 LIBADD_DL
="$LIBADD_DL -ldld"
19900 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19901 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19902 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19903 echo $ECHO_N "(cached) $ECHO_C" >&6
19905 ac_check_lib_save_LIBS
=$LIBS
19907 cat >conftest.
$ac_ext <<_ACEOF
19910 cat confdefs.h
>>conftest.
$ac_ext
19911 cat >>conftest.
$ac_ext <<_ACEOF
19912 /* end confdefs.h. */
19914 /* Override any gcc2 internal prototype to avoid an error. */
19918 /* We use char because int might match the return type of a gcc2
19919 builtin and then its argument prototype would still apply. */
19929 rm -f conftest.
$ac_objext conftest
$ac_exeext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19931 (eval $ac_link) 2>conftest.er1
19933 grep -v '^ *+' conftest.er1
>conftest.err
19935 cat conftest.err
>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; } &&
19944 { ac_try
='test -s conftest$ac_exeext'
19945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19946 (eval $ac_try) 2>&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19950 ac_cv_lib_dl_dlopen
=yes
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.
$ac_ext >&5
19955 ac_cv_lib_dl_dlopen
=no
19957 rm -f conftest.err conftest.
$ac_objext \
19958 conftest
$ac_exeext conftest.
$ac_ext
19959 LIBS
=$ac_check_lib_save_LIBS
19961 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19962 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19963 if test $ac_cv_lib_dl_dlopen = yes; then
19965 cat >>confdefs.h
<<\_ACEOF
19966 #define HAVE_LIBDL 1
19969 LIBADD_DL
="-ldl" libltdl_cv_lib_dl_dlopen
="yes"
19971 cat >conftest.
$ac_ext <<_ACEOF
19974 cat confdefs.h
>>conftest.
$ac_ext
19975 cat >>conftest.
$ac_ext <<_ACEOF
19976 /* end confdefs.h. */
19978 # include <dlfcn.h>
19989 rm -f conftest.
$ac_objext conftest
$ac_exeext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19991 (eval $ac_link) 2>conftest.er1
19993 grep -v '^ *+' conftest.er1
>conftest.err
19995 cat conftest.err
>&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } &&
19998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20000 (eval $ac_try) 2>&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); }; } &&
20004 { ac_try
='test -s conftest$ac_exeext'
20005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006 (eval $ac_try) 2>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; }; then
20011 cat >>confdefs.h
<<\_ACEOF
20012 #define HAVE_LIBDL 1
20014 libltdl_cv_func_dlopen
="yes"
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.
$ac_ext >&5
20019 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20020 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
20021 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20024 ac_check_lib_save_LIBS
=$LIBS
20025 LIBS
="-lsvld $LIBS"
20026 cat >conftest.
$ac_ext <<_ACEOF
20029 cat confdefs.h
>>conftest.
$ac_ext
20030 cat >>conftest.
$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20033 /* Override any gcc2 internal prototype to avoid an error. */
20037 /* We use char because int might match the return type of a gcc2
20038 builtin and then its argument prototype would still apply. */
20048 rm -f conftest.
$ac_objext conftest
$ac_exeext
20049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20050 (eval $ac_link) 2>conftest.er1
20052 grep -v '^ *+' conftest.er1
>conftest.err
20054 cat conftest.err
>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } &&
20057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059 (eval $ac_try) 2>&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); }; } &&
20063 { ac_try
='test -s conftest$ac_exeext'
20064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20065 (eval $ac_try) 2>&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); }; }; then
20069 ac_cv_lib_svld_dlopen
=yes
20071 echo "$as_me: failed program was:" >&5
20072 sed 's/^/| /' conftest.
$ac_ext >&5
20074 ac_cv_lib_svld_dlopen
=no
20076 rm -f conftest.err conftest.
$ac_objext \
20077 conftest
$ac_exeext conftest.
$ac_ext
20078 LIBS
=$ac_check_lib_save_LIBS
20080 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20081 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
20082 if test $ac_cv_lib_svld_dlopen = yes; then
20084 cat >>confdefs.h
<<\_ACEOF
20085 #define HAVE_LIBDL 1
20088 LIBADD_DL
="-lsvld" libltdl_cv_func_dlopen
="yes"
20090 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20091 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
20092 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20093 echo $ECHO_N "(cached) $ECHO_C" >&6
20095 ac_check_lib_save_LIBS
=$LIBS
20097 cat >conftest.
$ac_ext <<_ACEOF
20100 cat confdefs.h
>>conftest.
$ac_ext
20101 cat >>conftest.
$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20104 /* Override any gcc2 internal prototype to avoid an error. */
20108 /* We use char because int might match the return type of a gcc2
20109 builtin and then its argument prototype would still apply. */
20119 rm -f conftest.
$ac_objext conftest
$ac_exeext
20120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20121 (eval $ac_link) 2>conftest.er1
20123 grep -v '^ *+' conftest.er1
>conftest.err
20125 cat conftest.err
>&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } &&
20128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; } &&
20134 { ac_try
='test -s conftest$ac_exeext'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; }; then
20140 ac_cv_lib_dld_dld_link
=yes
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.
$ac_ext >&5
20145 ac_cv_lib_dld_dld_link
=no
20147 rm -f conftest.err conftest.
$ac_objext \
20148 conftest
$ac_exeext conftest.
$ac_ext
20149 LIBS
=$ac_check_lib_save_LIBS
20151 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20152 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
20153 if test $ac_cv_lib_dld_dld_link = yes; then
20155 cat >>confdefs.h
<<\_ACEOF
20159 LIBADD_DL
="$LIBADD_DL -ldld"
20161 echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
20162 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
20163 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
20164 echo $ECHO_N "(cached) $ECHO_C" >&6
20166 cat >conftest.
$ac_ext <<_ACEOF
20169 cat confdefs.h
>>conftest.
$ac_ext
20170 cat >>conftest.
$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20172 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
20173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20174 #define _dyld_func_lookup innocuous__dyld_func_lookup
20176 /* System header to define __stub macros and hopefully few prototypes,
20177 which can conflict with char _dyld_func_lookup (); below.
20178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20179 <limits.h> exists even on freestanding compilers. */
20182 # include <limits.h>
20184 # include <assert.h>
20187 #undef _dyld_func_lookup
20189 /* Override any gcc2 internal prototype to avoid an error. */
20194 /* We use char because int might match the return type of a gcc2
20195 builtin and then its argument prototype would still apply. */
20196 char _dyld_func_lookup ();
20197 /* The GNU C library defines this for functions which it implements
20198 to always fail with ENOSYS. Some functions are actually named
20199 something starting with __ and the normal name is an alias. */
20200 #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
20203 char (*f) () = _dyld_func_lookup;
20212 return f != _dyld_func_lookup;
20217 rm -f conftest.
$ac_objext conftest
$ac_exeext
20218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20219 (eval $ac_link) 2>conftest.er1
20221 grep -v '^ *+' conftest.er1
>conftest.err
20223 cat conftest.err
>&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); } &&
20226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; } &&
20232 { ac_try
='test -s conftest$ac_exeext'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; }; then
20238 ac_cv_func__dyld_func_lookup
=yes
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.
$ac_ext >&5
20243 ac_cv_func__dyld_func_lookup
=no
20245 rm -f conftest.err conftest.
$ac_objext \
20246 conftest
$ac_exeext conftest.
$ac_ext
20248 echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
20249 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
20250 if test $ac_cv_func__dyld_func_lookup = yes; then
20252 cat >>confdefs.h
<<\_ACEOF
20253 #define HAVE_DYLD 1
20266 rm -f conftest.err conftest.
$ac_objext \
20267 conftest
$ac_exeext conftest.
$ac_ext
20278 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
20280 lt_save_LIBS
="$LIBS"
20281 LIBS
="$LIBS $LIBADD_DL"
20283 for ac_func
in dlerror
20285 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20286 echo "$as_me:$LINENO: checking for $ac_func" >&5
20287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20288 if eval "test \"\${$as_ac_var+set}\" = set"; then
20289 echo $ECHO_N "(cached) $ECHO_C" >&6
20291 cat >conftest.
$ac_ext <<_ACEOF
20294 cat confdefs.h
>>conftest.
$ac_ext
20295 cat >>conftest.
$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20299 #define $ac_func innocuous_$ac_func
20301 /* System header to define __stub macros and hopefully few prototypes,
20302 which can conflict with char $ac_func (); below.
20303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20304 <limits.h> exists even on freestanding compilers. */
20307 # include <limits.h>
20309 # include <assert.h>
20314 /* Override any gcc2 internal prototype to avoid an error. */
20319 /* We use char because int might match the return type of a gcc2
20320 builtin and then its argument prototype would still apply. */
20322 /* The GNU C library defines this for functions which it implements
20323 to always fail with ENOSYS. Some functions are actually named
20324 something starting with __ and the normal name is an alias. */
20325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20328 char (*f) () = $ac_func;
20337 return f != $ac_func;
20342 rm -f conftest.
$ac_objext conftest
$ac_exeext
20343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20344 (eval $ac_link) 2>conftest.er1
20346 grep -v '^ *+' conftest.er1
>conftest.err
20348 cat conftest.err
>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); } &&
20351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; } &&
20357 { ac_try
='test -s conftest$ac_exeext'
20358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20359 (eval $ac_try) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; }; then
20363 eval "$as_ac_var=yes"
20365 echo "$as_me: failed program was:" >&5
20366 sed 's/^/| /' conftest.
$ac_ext >&5
20368 eval "$as_ac_var=no"
20370 rm -f conftest.err conftest.
$ac_objext \
20371 conftest
$ac_exeext conftest.
$ac_ext
20373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20375 if test `eval echo '${'$as_ac_var'}'` = yes; then
20376 cat >>confdefs.h
<<_ACEOF
20377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20383 LIBS
="$lt_save_LIBS"
20386 ac_cpp
='$CPP $CPPFLAGS'
20387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20393 echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
20394 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
20395 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
20396 echo $ECHO_N "(cached) $ECHO_C" >&6
20398 ac_cv_sys_symbol_underscore
=no
20399 cat > conftest.
$ac_ext <<EOF
20400 void nm_test_func(){}
20401 int main(){nm_test_func;return 0;}
20403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20404 (eval $ac_compile) 2>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; then
20408 # Now try to grab the symbols.
20409 ac_nlist
=conftest.nm
20410 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
20411 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); } && test -s "$ac_nlist"; then
20415 # See whether the symbols have a leading underscore.
20416 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
20417 ac_cv_sys_symbol_underscore
=yes
20419 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
20422 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
20426 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
20429 echo "configure: failed program was:" >&5
20435 echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
20436 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
20439 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
20440 if test x
"$libltdl_cv_func_dlopen" = xyes ||
20441 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
20442 echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
20443 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
20444 if test "${libltdl_cv_need_uscore+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 libltdl_cv_need_uscore
=unknown
20449 LIBS
="$LIBS $LIBADD_DL"
20450 if test "$cross_compiling" = yes; then :
20451 libltdl_cv_need_uscore
=cross
20453 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
20454 lt_status
=$lt_dlunknown
20455 cat > conftest.
$ac_ext <<EOF
20456 #line 20456 "configure"
20457 #include "confdefs.h"
20466 # define LT_DLGLOBAL RTLD_GLOBAL
20469 # define LT_DLGLOBAL DL_GLOBAL
20471 # define LT_DLGLOBAL 0
20475 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20476 find out it does not work in some platform. */
20477 #ifndef LT_DLLAZY_OR_NOW
20479 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20482 # define LT_DLLAZY_OR_NOW DL_LAZY
20485 # define LT_DLLAZY_OR_NOW RTLD_NOW
20488 # define LT_DLLAZY_OR_NOW DL_NOW
20490 # define LT_DLLAZY_OR_NOW 0
20498 extern "C" void exit (int);
20501 void fnord() { int i=42;}
20504 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20505 int status = $lt_dlunknown;
20509 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20510 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20511 /* dlclose (self); */
20517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20518 (eval $ac_link) 2>&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
20522 (.
/conftest
; exit; ) 2>/dev
/null
20524 case x
$lt_status in
20525 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
20526 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
20527 x
$lt_unknown|x
*) ;;
20530 # compilation failed
20539 echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
20540 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
20544 if test x
"$libltdl_cv_need_uscore" = xyes
; then
20546 cat >>confdefs.h
<<\_ACEOF
20547 #define NEED_USCORE 1
20553 echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
20554 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
20555 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
20556 echo $ECHO_N "(cached) $ECHO_C" >&6
20558 # PORTME does your system automatically load deplibs for dlopen?
20559 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
20560 # For now, we just catch OSes we know something about -- in the
20561 # future, we'll try test this programmatically.
20562 libltdl_cv_sys_dlopen_deplibs
=unknown
20564 aix3
*|aix4.1.
*|aix4.2.
*)
20565 # Unknown whether this is true for these versions of AIX, but
20566 # we want this `case' here to explicitly catch those versions.
20567 libltdl_cv_sys_dlopen_deplibs
=unknown
20570 libltdl_cv_sys_dlopen_deplibs
=yes
20573 # Assuming the user has installed a libdl from somewhere, this is true
20574 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
20575 libltdl_cv_sys_dlopen_deplibs
=yes
20578 libltdl_cv_sys_dlopen_deplibs
=yes
20581 libltdl_cv_sys_dlopen_deplibs
=yes
20583 irix
[12345]*|irix6.
[01]*)
20584 # Catch all versions of IRIX before 6.2, and indicate that we don't
20585 # know how it worked for any of those versions.
20586 libltdl_cv_sys_dlopen_deplibs
=unknown
20589 # The case above catches anything before 6.2, and it's known that
20590 # at 6.2 and later dlopen does load deplibs.
20591 libltdl_cv_sys_dlopen_deplibs
=yes
20594 libltdl_cv_sys_dlopen_deplibs
=yes
20597 libltdl_cv_sys_dlopen_deplibs
=yes
20600 libltdl_cv_sys_dlopen_deplibs
=yes
20603 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
20604 # it did *not* use an RPATH in a shared library to find objects the
20605 # library depends on, so we explictly say `no'.
20606 libltdl_cv_sys_dlopen_deplibs
=no
20608 osf5.0|osf5.0a|osf5.1
)
20609 # dlopen *does* load deplibs and with the right loader patch applied
20610 # it even uses RPATH in a shared library to search for shared objects
20611 # that the library depends on, but there's no easy way to know if that
20612 # patch is installed. Since this is the case, all we can really
20613 # say is unknown -- it depends on the patch being installed. If
20614 # it is, this changes to `yes'. Without it, it would be `no'.
20615 libltdl_cv_sys_dlopen_deplibs
=unknown
20618 # the two cases above should catch all versions of osf <= 5.1. Read
20619 # the comments above for what we know about them.
20620 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
20621 # is used to find them so we can finally say `yes'.
20622 libltdl_cv_sys_dlopen_deplibs
=yes
20625 libltdl_cv_sys_dlopen_deplibs
=yes
20630 echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
20631 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6
20632 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
20634 cat >>confdefs.h
<<\_ACEOF
20635 #define LTDL_DLOPEN_DEPLIBS 1
20641 for ac_header
in argz.h
20643 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20645 echo "$as_me:$LINENO: checking for $ac_header" >&5
20646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20648 echo $ECHO_N "(cached) $ECHO_C" >&6
20650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20653 # Is the header compilable?
20654 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20656 cat >conftest.
$ac_ext <<_ACEOF
20659 cat confdefs.h
>>conftest.
$ac_ext
20660 cat >>conftest.
$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20662 $ac_includes_default
20663 #include <$ac_header>
20665 rm -f conftest.
$ac_objext
20666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20667 (eval $ac_compile) 2>conftest.er1
20669 grep -v '^ *+' conftest.er1
>conftest.err
20671 cat conftest.err
>&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); } &&
20674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20676 (eval $ac_try) 2>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; } &&
20680 { ac_try
='test -s conftest.$ac_objext'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; }; then
20686 ac_header_compiler
=yes
20688 echo "$as_me: failed program was:" >&5
20689 sed 's/^/| /' conftest.
$ac_ext >&5
20691 ac_header_compiler
=no
20693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20694 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20695 echo "${ECHO_T}$ac_header_compiler" >&6
20697 # Is the header present?
20698 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20699 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20700 cat >conftest.
$ac_ext <<_ACEOF
20703 cat confdefs.h
>>conftest.
$ac_ext
20704 cat >>conftest.
$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 #include <$ac_header>
20708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20709 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20711 grep -v '^ *+' conftest.er1
>conftest.err
20713 cat conftest.err
>&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } >/dev
/null
; then
20716 if test -s conftest.err
; then
20717 ac_cpp_err
=$ac_c_preproc_warn_flag
20718 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20725 if test -z "$ac_cpp_err"; then
20726 ac_header_preproc
=yes
20728 echo "$as_me: failed program was:" >&5
20729 sed 's/^/| /' conftest.
$ac_ext >&5
20731 ac_header_preproc
=no
20733 rm -f conftest.err conftest.
$ac_ext
20734 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20735 echo "${ECHO_T}$ac_header_preproc" >&6
20737 # So? What about this header?
20738 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20740 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20741 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20743 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20744 ac_header_preproc
=yes
20747 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20749 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20750 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20751 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20752 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20753 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20754 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20756 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20757 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20758 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20761 ## ---------------------------------- ##
20762 ## Report this to bug-libtool@gnu.org ##
20763 ## ---------------------------------- ##
20766 sed "s/^/$as_me: WARNING: /" >&2
20769 echo "$as_me:$LINENO: checking for $ac_header" >&5
20770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20772 echo $ECHO_N "(cached) $ECHO_C" >&6
20774 eval "$as_ac_Header=\$ac_header_preproc"
20776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20781 cat >>confdefs.h
<<_ACEOF
20782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20790 echo "$as_me:$LINENO: checking for error_t" >&5
20791 echo $ECHO_N "checking for error_t... $ECHO_C" >&6
20792 if test "${ac_cv_type_error_t+set}" = set; then
20793 echo $ECHO_N "(cached) $ECHO_C" >&6
20795 cat >conftest.
$ac_ext <<_ACEOF
20798 cat confdefs.h
>>conftest.
$ac_ext
20799 cat >>conftest.
$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20810 if (sizeof (error_t))
20816 rm -f conftest.
$ac_objext
20817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20818 (eval $ac_compile) 2>conftest.er1
20820 grep -v '^ *+' conftest.er1
>conftest.err
20822 cat conftest.err
>&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); } &&
20825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20827 (eval $ac_try) 2>&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; } &&
20831 { ac_try
='test -s conftest.$ac_objext'
20832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20833 (eval $ac_try) 2>&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); }; }; then
20837 ac_cv_type_error_t
=yes
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.
$ac_ext >&5
20842 ac_cv_type_error_t
=no
20844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20846 echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
20847 echo "${ECHO_T}$ac_cv_type_error_t" >&6
20848 if test $ac_cv_type_error_t = yes; then
20850 cat >>confdefs.h
<<_ACEOF
20851 #define HAVE_ERROR_T 1
20857 cat >>confdefs.h
<<\_ACEOF
20858 #define error_t int
20869 for ac_func
in argz_append argz_create_sep argz_insert argz_next argz_stringify
20871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20872 echo "$as_me:$LINENO: checking for $ac_func" >&5
20873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20874 if eval "test \"\${$as_ac_var+set}\" = set"; then
20875 echo $ECHO_N "(cached) $ECHO_C" >&6
20877 cat >conftest.
$ac_ext <<_ACEOF
20880 cat confdefs.h
>>conftest.
$ac_ext
20881 cat >>conftest.
$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20885 #define $ac_func innocuous_$ac_func
20887 /* System header to define __stub macros and hopefully few prototypes,
20888 which can conflict with char $ac_func (); below.
20889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20890 <limits.h> exists even on freestanding compilers. */
20893 # include <limits.h>
20895 # include <assert.h>
20900 /* Override any gcc2 internal prototype to avoid an error. */
20905 /* We use char because int might match the return type of a gcc2
20906 builtin and then its argument prototype would still apply. */
20908 /* The GNU C library defines this for functions which it implements
20909 to always fail with ENOSYS. Some functions are actually named
20910 something starting with __ and the normal name is an alias. */
20911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20914 char (*f) () = $ac_func;
20923 return f != $ac_func;
20928 rm -f conftest.
$ac_objext conftest
$ac_exeext
20929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20930 (eval $ac_link) 2>conftest.er1
20932 grep -v '^ *+' conftest.er1
>conftest.err
20934 cat conftest.err
>&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); } &&
20937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20939 (eval $ac_try) 2>&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); }; } &&
20943 { ac_try
='test -s conftest$ac_exeext'
20944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20945 (eval $ac_try) 2>&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); }; }; then
20949 eval "$as_ac_var=yes"
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.
$ac_ext >&5
20954 eval "$as_ac_var=no"
20956 rm -f conftest.err conftest.
$ac_objext \
20957 conftest
$ac_exeext conftest.
$ac_ext
20959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20961 if test `eval echo '${'$as_ac_var'}'` = yes; then
20962 cat >>confdefs.h
<<_ACEOF
20963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20996 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
20999 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21001 echo "$as_me:$LINENO: checking for $ac_header" >&5
21002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21004 echo $ECHO_N "(cached) $ECHO_C" >&6
21006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21009 # Is the header compilable?
21010 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21011 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21012 cat >conftest.
$ac_ext <<_ACEOF
21015 cat confdefs.h
>>conftest.
$ac_ext
21016 cat >>conftest.
$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 $ac_includes_default
21019 #include <$ac_header>
21021 rm -f conftest.
$ac_objext
21022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21023 (eval $ac_compile) 2>conftest.er1
21025 grep -v '^ *+' conftest.er1
>conftest.err
21027 cat conftest.err
>&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); } &&
21030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; } &&
21036 { ac_try
='test -s conftest.$ac_objext'
21037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 (eval $ac_try) 2>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; }; then
21042 ac_header_compiler
=yes
21044 echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.
$ac_ext >&5
21047 ac_header_compiler
=no
21049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21050 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21051 echo "${ECHO_T}$ac_header_compiler" >&6
21053 # Is the header present?
21054 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21055 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21056 cat >conftest.
$ac_ext <<_ACEOF
21059 cat confdefs.h
>>conftest.
$ac_ext
21060 cat >>conftest.
$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21062 #include <$ac_header>
21064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21065 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21067 grep -v '^ *+' conftest.er1
>conftest.err
21069 cat conftest.err
>&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } >/dev
/null
; then
21072 if test -s conftest.err
; then
21073 ac_cpp_err
=$ac_c_preproc_warn_flag
21074 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21081 if test -z "$ac_cpp_err"; then
21082 ac_header_preproc
=yes
21084 echo "$as_me: failed program was:" >&5
21085 sed 's/^/| /' conftest.
$ac_ext >&5
21087 ac_header_preproc
=no
21089 rm -f conftest.err conftest.
$ac_ext
21090 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21091 echo "${ECHO_T}$ac_header_preproc" >&6
21093 # So? What about this header?
21094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21096 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21097 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21099 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21100 ac_header_preproc
=yes
21103 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21104 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21105 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21106 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21107 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21108 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21109 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21110 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21113 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21114 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21117 ## ---------------------------------- ##
21118 ## Report this to bug-libtool@gnu.org ##
21119 ## ---------------------------------- ##
21122 sed "s/^/$as_me: WARNING: /" >&2
21125 echo "$as_me:$LINENO: checking for $ac_header" >&5
21126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21128 echo $ECHO_N "(cached) $ECHO_C" >&6
21130 eval "$as_ac_Header=\$ac_header_preproc"
21132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21137 cat >>confdefs.h
<<_ACEOF
21138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21149 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
21151 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21153 echo "$as_me:$LINENO: checking for $ac_header" >&5
21154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21161 # Is the header compilable?
21162 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21163 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21164 cat >conftest.
$ac_ext <<_ACEOF
21167 cat confdefs.h
>>conftest.
$ac_ext
21168 cat >>conftest.
$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21171 #include <$ac_header>
21173 rm -f conftest.
$ac_objext
21174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21175 (eval $ac_compile) 2>conftest.er1
21177 grep -v '^ *+' conftest.er1
>conftest.err
21179 cat conftest.err
>&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } &&
21182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21184 (eval $ac_try) 2>&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); }; } &&
21188 { ac_try
='test -s conftest.$ac_objext'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; }; then
21194 ac_header_compiler
=yes
21196 echo "$as_me: failed program was:" >&5
21197 sed 's/^/| /' conftest.
$ac_ext >&5
21199 ac_header_compiler
=no
21201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21203 echo "${ECHO_T}$ac_header_compiler" >&6
21205 # Is the header present?
21206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21208 cat >conftest.
$ac_ext <<_ACEOF
21211 cat confdefs.h
>>conftest.
$ac_ext
21212 cat >>conftest.
$ac_ext <<_ACEOF
21213 /* end confdefs.h. */
21214 #include <$ac_header>
21216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21217 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21219 grep -v '^ *+' conftest.er1
>conftest.err
21221 cat conftest.err
>&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); } >/dev
/null
; then
21224 if test -s conftest.err
; then
21225 ac_cpp_err
=$ac_c_preproc_warn_flag
21226 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21233 if test -z "$ac_cpp_err"; then
21234 ac_header_preproc
=yes
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.
$ac_ext >&5
21239 ac_header_preproc
=no
21241 rm -f conftest.err conftest.
$ac_ext
21242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21243 echo "${ECHO_T}$ac_header_preproc" >&6
21245 # So? What about this header?
21246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21248 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21251 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21252 ac_header_preproc
=yes
21255 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21257 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21258 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21259 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21260 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21261 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21262 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21265 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21266 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21269 ## ---------------------------------- ##
21270 ## Report this to bug-libtool@gnu.org ##
21271 ## ---------------------------------- ##
21274 sed "s/^/$as_me: WARNING: /" >&2
21277 echo "$as_me:$LINENO: checking for $ac_header" >&5
21278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 eval "$as_ac_Header=\$ac_header_preproc"
21284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21289 cat >>confdefs.h
<<_ACEOF
21290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21299 for ac_header
in string.h
strings.h
21301 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21303 echo "$as_me:$LINENO: checking for $ac_header" >&5
21304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21306 echo $ECHO_N "(cached) $ECHO_C" >&6
21308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21311 # Is the header compilable?
21312 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21313 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21314 cat >conftest.
$ac_ext <<_ACEOF
21317 cat confdefs.h
>>conftest.
$ac_ext
21318 cat >>conftest.
$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21320 $ac_includes_default
21321 #include <$ac_header>
21323 rm -f conftest.
$ac_objext
21324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21325 (eval $ac_compile) 2>conftest.er1
21327 grep -v '^ *+' conftest.er1
>conftest.err
21329 cat conftest.err
>&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } &&
21332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21334 (eval $ac_try) 2>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); }; } &&
21338 { ac_try
='test -s conftest.$ac_objext'
21339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21340 (eval $ac_try) 2>&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); }; }; then
21344 ac_header_compiler
=yes
21346 echo "$as_me: failed program was:" >&5
21347 sed 's/^/| /' conftest.
$ac_ext >&5
21349 ac_header_compiler
=no
21351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21353 echo "${ECHO_T}$ac_header_compiler" >&6
21355 # Is the header present?
21356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21358 cat >conftest.
$ac_ext <<_ACEOF
21361 cat confdefs.h
>>conftest.
$ac_ext
21362 cat >>conftest.
$ac_ext <<_ACEOF
21363 /* end confdefs.h. */
21364 #include <$ac_header>
21366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21369 grep -v '^ *+' conftest.er1
>conftest.err
21371 cat conftest.err
>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); } >/dev
/null
; then
21374 if test -s conftest.err
; then
21375 ac_cpp_err
=$ac_c_preproc_warn_flag
21376 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21383 if test -z "$ac_cpp_err"; then
21384 ac_header_preproc
=yes
21386 echo "$as_me: failed program was:" >&5
21387 sed 's/^/| /' conftest.
$ac_ext >&5
21389 ac_header_preproc
=no
21391 rm -f conftest.err conftest.
$ac_ext
21392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21393 echo "${ECHO_T}$ac_header_preproc" >&6
21395 # So? What about this header?
21396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21401 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21402 ac_header_preproc
=yes
21405 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21406 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21407 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21408 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21409 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21410 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21411 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21412 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21415 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21416 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21419 ## ---------------------------------- ##
21420 ## Report this to bug-libtool@gnu.org ##
21421 ## ---------------------------------- ##
21424 sed "s/^/$as_me: WARNING: /" >&2
21427 echo "$as_me:$LINENO: checking for $ac_header" >&5
21428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21430 echo $ECHO_N "(cached) $ECHO_C" >&6
21432 eval "$as_ac_Header=\$ac_header_preproc"
21434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21439 cat >>confdefs.h
<<_ACEOF
21440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21450 for ac_func
in strchr index
21452 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21453 echo "$as_me:$LINENO: checking for $ac_func" >&5
21454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21455 if eval "test \"\${$as_ac_var+set}\" = set"; then
21456 echo $ECHO_N "(cached) $ECHO_C" >&6
21458 cat >conftest.
$ac_ext <<_ACEOF
21461 cat confdefs.h
>>conftest.
$ac_ext
21462 cat >>conftest.
$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21466 #define $ac_func innocuous_$ac_func
21468 /* System header to define __stub macros and hopefully few prototypes,
21469 which can conflict with char $ac_func (); below.
21470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21471 <limits.h> exists even on freestanding compilers. */
21474 # include <limits.h>
21476 # include <assert.h>
21481 /* Override any gcc2 internal prototype to avoid an error. */
21486 /* We use char because int might match the return type of a gcc2
21487 builtin and then its argument prototype would still apply. */
21489 /* The GNU C library defines this for functions which it implements
21490 to always fail with ENOSYS. Some functions are actually named
21491 something starting with __ and the normal name is an alias. */
21492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21495 char (*f) () = $ac_func;
21504 return f != $ac_func;
21509 rm -f conftest.
$ac_objext conftest
$ac_exeext
21510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21511 (eval $ac_link) 2>conftest.er1
21513 grep -v '^ *+' conftest.er1
>conftest.err
21515 cat conftest.err
>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } &&
21518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21520 (eval $ac_try) 2>&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); }; } &&
21524 { ac_try
='test -s conftest$ac_exeext'
21525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21526 (eval $ac_try) 2>&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); }; }; then
21530 eval "$as_ac_var=yes"
21532 echo "$as_me: failed program was:" >&5
21533 sed 's/^/| /' conftest.
$ac_ext >&5
21535 eval "$as_ac_var=no"
21537 rm -f conftest.err conftest.
$ac_objext \
21538 conftest
$ac_exeext conftest.
$ac_ext
21540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21542 if test `eval echo '${'$as_ac_var'}'` = yes; then
21543 cat >>confdefs.h
<<_ACEOF
21544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21552 for ac_func
in strrchr rindex
21554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21555 echo "$as_me:$LINENO: checking for $ac_func" >&5
21556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21557 if eval "test \"\${$as_ac_var+set}\" = set"; then
21558 echo $ECHO_N "(cached) $ECHO_C" >&6
21560 cat >conftest.
$ac_ext <<_ACEOF
21563 cat confdefs.h
>>conftest.
$ac_ext
21564 cat >>conftest.
$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21568 #define $ac_func innocuous_$ac_func
21570 /* System header to define __stub macros and hopefully few prototypes,
21571 which can conflict with char $ac_func (); below.
21572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21573 <limits.h> exists even on freestanding compilers. */
21576 # include <limits.h>
21578 # include <assert.h>
21583 /* Override any gcc2 internal prototype to avoid an error. */
21588 /* We use char because int might match the return type of a gcc2
21589 builtin and then its argument prototype would still apply. */
21591 /* The GNU C library defines this for functions which it implements
21592 to always fail with ENOSYS. Some functions are actually named
21593 something starting with __ and the normal name is an alias. */
21594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21597 char (*f) () = $ac_func;
21606 return f != $ac_func;
21611 rm -f conftest.
$ac_objext conftest
$ac_exeext
21612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21613 (eval $ac_link) 2>conftest.er1
21615 grep -v '^ *+' conftest.er1
>conftest.err
21617 cat conftest.err
>&5
21618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619 (exit $ac_status); } &&
21620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21622 (eval $ac_try) 2>&5
21624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21625 (exit $ac_status); }; } &&
21626 { ac_try
='test -s conftest$ac_exeext'
21627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21628 (eval $ac_try) 2>&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); }; }; then
21632 eval "$as_ac_var=yes"
21634 echo "$as_me: failed program was:" >&5
21635 sed 's/^/| /' conftest.
$ac_ext >&5
21637 eval "$as_ac_var=no"
21639 rm -f conftest.err conftest.
$ac_objext \
21640 conftest
$ac_exeext conftest.
$ac_ext
21642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21644 if test `eval echo '${'$as_ac_var'}'` = yes; then
21645 cat >>confdefs.h
<<_ACEOF
21646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21654 for ac_func
in memcpy bcopy
21656 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21657 echo "$as_me:$LINENO: checking for $ac_func" >&5
21658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21659 if eval "test \"\${$as_ac_var+set}\" = set"; then
21660 echo $ECHO_N "(cached) $ECHO_C" >&6
21662 cat >conftest.
$ac_ext <<_ACEOF
21665 cat confdefs.h
>>conftest.
$ac_ext
21666 cat >>conftest.
$ac_ext <<_ACEOF
21667 /* end confdefs.h. */
21668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21670 #define $ac_func innocuous_$ac_func
21672 /* System header to define __stub macros and hopefully few prototypes,
21673 which can conflict with char $ac_func (); below.
21674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21675 <limits.h> exists even on freestanding compilers. */
21678 # include <limits.h>
21680 # include <assert.h>
21685 /* Override any gcc2 internal prototype to avoid an error. */
21690 /* We use char because int might match the return type of a gcc2
21691 builtin and then its argument prototype would still apply. */
21693 /* The GNU C library defines this for functions which it implements
21694 to always fail with ENOSYS. Some functions are actually named
21695 something starting with __ and the normal name is an alias. */
21696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21699 char (*f) () = $ac_func;
21708 return f != $ac_func;
21713 rm -f conftest.
$ac_objext conftest
$ac_exeext
21714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21715 (eval $ac_link) 2>conftest.er1
21717 grep -v '^ *+' conftest.er1
>conftest.err
21719 cat conftest.err
>&5
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); } &&
21722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; } &&
21728 { ac_try
='test -s conftest$ac_exeext'
21729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21730 (eval $ac_try) 2>&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); }; }; then
21734 eval "$as_ac_var=yes"
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.
$ac_ext >&5
21739 eval "$as_ac_var=no"
21741 rm -f conftest.err conftest.
$ac_objext \
21742 conftest
$ac_exeext conftest.
$ac_ext
21744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21746 if test `eval echo '${'$as_ac_var'}'` = yes; then
21747 cat >>confdefs.h
<<_ACEOF
21748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21756 for ac_func
in memmove strcmp
21758 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21759 echo "$as_me:$LINENO: checking for $ac_func" >&5
21760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21761 if eval "test \"\${$as_ac_var+set}\" = set"; then
21762 echo $ECHO_N "(cached) $ECHO_C" >&6
21764 cat >conftest.
$ac_ext <<_ACEOF
21767 cat confdefs.h
>>conftest.
$ac_ext
21768 cat >>conftest.
$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21772 #define $ac_func innocuous_$ac_func
21774 /* System header to define __stub macros and hopefully few prototypes,
21775 which can conflict with char $ac_func (); below.
21776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21777 <limits.h> exists even on freestanding compilers. */
21780 # include <limits.h>
21782 # include <assert.h>
21787 /* Override any gcc2 internal prototype to avoid an error. */
21792 /* We use char because int might match the return type of a gcc2
21793 builtin and then its argument prototype would still apply. */
21795 /* The GNU C library defines this for functions which it implements
21796 to always fail with ENOSYS. Some functions are actually named
21797 something starting with __ and the normal name is an alias. */
21798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21801 char (*f) () = $ac_func;
21810 return f != $ac_func;
21815 rm -f conftest.
$ac_objext conftest
$ac_exeext
21816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21817 (eval $ac_link) 2>conftest.er1
21819 grep -v '^ *+' conftest.er1
>conftest.err
21821 cat conftest.err
>&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } &&
21824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; } &&
21830 { ac_try
='test -s conftest$ac_exeext'
21831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21832 (eval $ac_try) 2>&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); }; }; then
21836 eval "$as_ac_var=yes"
21838 echo "$as_me: failed program was:" >&5
21839 sed 's/^/| /' conftest.
$ac_ext >&5
21841 eval "$as_ac_var=no"
21843 rm -f conftest.err conftest.
$ac_objext \
21844 conftest
$ac_exeext conftest.
$ac_ext
21846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21848 if test `eval echo '${'$as_ac_var'}'` = yes; then
21849 cat >>confdefs.h
<<_ACEOF
21850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21859 for ac_func
in closedir opendir readdir
21861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21862 echo "$as_me:$LINENO: checking for $ac_func" >&5
21863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21864 if eval "test \"\${$as_ac_var+set}\" = set"; then
21865 echo $ECHO_N "(cached) $ECHO_C" >&6
21867 cat >conftest.
$ac_ext <<_ACEOF
21870 cat confdefs.h
>>conftest.
$ac_ext
21871 cat >>conftest.
$ac_ext <<_ACEOF
21872 /* end confdefs.h. */
21873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21875 #define $ac_func innocuous_$ac_func
21877 /* System header to define __stub macros and hopefully few prototypes,
21878 which can conflict with char $ac_func (); below.
21879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21880 <limits.h> exists even on freestanding compilers. */
21883 # include <limits.h>
21885 # include <assert.h>
21890 /* Override any gcc2 internal prototype to avoid an error. */
21895 /* We use char because int might match the return type of a gcc2
21896 builtin and then its argument prototype would still apply. */
21898 /* The GNU C library defines this for functions which it implements
21899 to always fail with ENOSYS. Some functions are actually named
21900 something starting with __ and the normal name is an alias. */
21901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21904 char (*f) () = $ac_func;
21913 return f != $ac_func;
21918 rm -f conftest.
$ac_objext conftest
$ac_exeext
21919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21920 (eval $ac_link) 2>conftest.er1
21922 grep -v '^ *+' conftest.er1
>conftest.err
21924 cat conftest.err
>&5
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); } &&
21927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21929 (eval $ac_try) 2>&5
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); }; } &&
21933 { ac_try
='test -s conftest$ac_exeext'
21934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21935 (eval $ac_try) 2>&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); }; }; then
21939 eval "$as_ac_var=yes"
21941 echo "$as_me: failed program was:" >&5
21942 sed 's/^/| /' conftest.
$ac_ext >&5
21944 eval "$as_ac_var=no"
21946 rm -f conftest.err conftest.
$ac_objext \
21947 conftest
$ac_exeext conftest.
$ac_ext
21949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21951 if test `eval echo '${'$as_ac_var'}'` = yes; then
21952 cat >>confdefs.h
<<_ACEOF
21953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21965 ac_config_files
="$ac_config_files Makefile"
21967 cat >confcache
<<\_ACEOF
21968 # This file is a shell script that caches the results of configure
21969 # tests run on this system so they can be shared between configure
21970 # scripts and configure runs, see configure's option --config-cache.
21971 # It is not useful on other systems. If it contains results you don't
21972 # want to keep, you may remove or edit it.
21974 # config.status only pays attention to the cache file if you give it
21975 # the --recheck option to rerun configure.
21977 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21978 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21979 # following values.
21983 # The following way of writing the cache mishandles newlines in values,
21984 # but we know of no workaround that is simple, portable, and efficient.
21985 # So, don't put newlines in cache variables' values.
21986 # Ultrix sh set writes to stderr and can't be redirected directly,
21987 # and sets the high bit in the cache file unless we assign to the vars.
21990 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21992 # `set' does not quote correctly, so add quotes (double-quote
21993 # substitution turns \\\\ into \\, and sed turns \\ into \).
21996 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21999 # `set' quotes correctly as required by POSIX, so do not add quotes.
22001 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22008 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22010 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22012 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22013 if test -w $cache_file; then
22014 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22015 cat confcache
>$cache_file
22017 echo "not updating unwritable cache $cache_file"
22022 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22023 # Let make expand exec_prefix.
22024 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22026 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22027 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22028 # trailing colons and then remove the whole line if VPATH becomes empty
22029 # (actually we leave an empty line to preserve line numbers).
22030 if test "x$srcdir" = x.
; then
22031 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22032 s/:*\$(srcdir):*/:/;
22033 s/:*\${srcdir}:*/:/;
22035 s/^\([^=]*=[ ]*\):*/\1/;
22041 DEFS
=-DHAVE_CONFIG_H
22045 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22046 # 1. Remove the extension, and $U if already installed.
22047 ac_i
=`echo "$ac_i" |
22048 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22050 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22051 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22053 LIBOBJS
=$ac_libobjs
22055 LTLIBOBJS
=$ac_ltlibobjs
22058 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22059 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22060 Usually this means the macro was only invoked conditionally." >&5
22061 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22062 Usually this means the macro was only invoked conditionally." >&2;}
22063 { (exit 1); exit 1; }; }
22065 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22066 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22067 Usually this means the macro was only invoked conditionally." >&5
22068 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22069 Usually this means the macro was only invoked conditionally." >&2;}
22070 { (exit 1); exit 1; }; }
22072 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22073 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22074 Usually this means the macro was only invoked conditionally." >&5
22075 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22076 Usually this means the macro was only invoked conditionally." >&2;}
22077 { (exit 1); exit 1; }; }
22079 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22080 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22081 Usually this means the macro was only invoked conditionally." >&5
22082 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22083 Usually this means the macro was only invoked conditionally." >&2;}
22084 { (exit 1); exit 1; }; }
22086 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
22087 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
22088 Usually this means the macro was only invoked conditionally." >&5
22089 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
22090 Usually this means the macro was only invoked conditionally." >&2;}
22091 { (exit 1); exit 1; }; }
22093 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
22094 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22095 Usually this means the macro was only invoked conditionally." >&5
22096 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22097 Usually this means the macro was only invoked conditionally." >&2;}
22098 { (exit 1); exit 1; }; }
22101 : ${CONFIG_STATUS=./config.status}
22102 ac_clean_files_save
=$ac_clean_files
22103 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22104 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22105 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22106 cat >$CONFIG_STATUS <<_ACEOF
22108 # Generated by $as_me.
22109 # Run this file to recreate the current configuration.
22110 # Compiler output produced by configure, useful for debugging
22111 # configure, is in config.log if it exists.
22114 ac_cs_recheck=false
22116 SHELL=\${CONFIG_SHELL-$SHELL}
22119 cat >>$CONFIG_STATUS <<\_ACEOF
22120 ## --------------------- ##
22121 ## M4sh Initialization. ##
22122 ## --------------------- ##
22124 # Be Bourne compatible
22125 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22128 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22129 # is contrary to our usage. Disable this feature.
22130 alias -g '${1+"$@"}'='"$@"'
22131 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22134 DUALCASE
=1; export DUALCASE
# for MKS sh
22136 # Support unset when possible.
22137 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22144 # Work around bugs in pre-3.0 UWIN ksh.
22145 $as_unset ENV MAIL MAILPATH
22152 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22153 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22154 LC_TELEPHONE LC_TIME
22156 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22157 eval $as_var=C
; export $as_var
22163 # Required to use basename.
22164 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22170 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22171 as_basename
=basename
22177 # Name of the executable.
22178 as_me
=`$as_basename "$0" ||
22179 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22180 X"$0" : 'X\(//\)$' \| \
22181 X"$0" : 'X\(/\)$' \| \
22182 . : '\(.\)' 2>/dev/null ||
22184 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22185 /^X\/\(\/\/\)$/{ s//\1/; q; }
22186 /^X\/\(\/\).*/{ s//\1/; q; }
22190 # PATH needs CR, and LINENO needs CR and PATH.
22191 # Avoid depending upon Character Ranges.
22192 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22193 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22194 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22195 as_cr_digits
='0123456789'
22196 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22198 # The user is always right.
22199 if test "${PATH_SEPARATOR+set}" != set; then
22200 echo "#! /bin/sh" >conf$$.sh
22201 echo "exit 0" >>conf$$.sh
22203 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22212 as_lineno_1
=$LINENO
22213 as_lineno_2
=$LINENO
22214 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22215 test "x$as_lineno_1" != "x$as_lineno_2" &&
22216 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22217 # Find who we are. Look in the path if we contain no path at all
22220 *[\\/]* ) as_myself
=$0 ;;
22221 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22222 for as_dir
in $PATH
22225 test -z "$as_dir" && as_dir
=.
22226 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22231 # We did not find ourselves, most probably we were run as `sh COMMAND'
22232 # in which case we are not to be found in the path.
22233 if test "x$as_myself" = x
; then
22236 if test ! -f "$as_myself"; then
22237 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22238 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22239 { (exit 1); exit 1; }; }
22241 case $CONFIG_SHELL in
22243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22244 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22247 test -z "$as_dir" && as_dir
=.
22248 for as_base
in sh bash ksh sh5
; do
22251 if ("$as_dir/$as_base" -c '
22252 as_lineno_1=$LINENO
22253 as_lineno_2=$LINENO
22254 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22255 test "x$as_lineno_1" != "x$as_lineno_2" &&
22256 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22257 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22258 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22259 CONFIG_SHELL
=$as_dir/$as_base
22260 export CONFIG_SHELL
22261 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22269 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22270 # uniformly replaced by the line number. The first 'sed' inserts a
22271 # line-number line before each line; the second 'sed' does the real
22272 # work. The second script uses 'N' to pair each line-number line
22273 # with the numbered line, and appends trailing '-' during
22274 # substitution so that $LINENO is not a special case at line end.
22275 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22276 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22277 sed '=' <$as_myself |
22282 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22285 s,^['$as_cr_digits']*\n,,
22286 ' >$as_me.lineno
&&
22287 chmod +x
$as_me.lineno ||
22288 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22289 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22290 { (exit 1); exit 1; }; }
22292 # Don't try to exec as it changes $[0], causing all sort of problems
22293 # (the dirname of $[0] is not the place where we might find the
22294 # original and so on. Autoconf is especially sensible to this).
22296 # Exit status is that of the last command.
22301 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22302 *c
*,-n*) ECHO_N
= ECHO_C
='
22304 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22305 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22308 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22314 rm -f conf$$ conf$$.exe conf$$.
file
22316 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22317 # We could just check for DJGPP; but this test a) works b) is more generic
22318 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22319 if test -f conf$$.exe
; then
22320 # Don't use ln at all; we don't have any links
22325 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22330 rm -f conf$$ conf$$.exe conf$$.
file
22332 if mkdir
-p .
2>/dev
/null
; then
22335 test -d .
/-p && rmdir .
/-p
22339 as_executable_p
="test -f"
22341 # Sed expression to map a string onto a valid CPP name.
22342 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22344 # Sed expression to map a string onto a valid variable name.
22345 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22349 # We need space, tab and new line, in precisely that order.
22359 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22360 # report actual input values of CONFIG_FILES etc. instead of their
22361 # values after options handling. Logging --version etc. is OK.
22365 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22366 ## Running $as_me. ##
22371 This file was extended by libltdl $as_me 1.2, which was
22372 generated by GNU Autoconf 2.59. Invocation command line was
22374 CONFIG_FILES = $CONFIG_FILES
22375 CONFIG_HEADERS = $CONFIG_HEADERS
22376 CONFIG_LINKS = $CONFIG_LINKS
22377 CONFIG_COMMANDS = $CONFIG_COMMANDS
22381 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22385 # Files that config.status was made for.
22386 if test -n "$ac_config_files"; then
22387 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22390 if test -n "$ac_config_headers"; then
22391 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22394 if test -n "$ac_config_links"; then
22395 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22398 if test -n "$ac_config_commands"; then
22399 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22402 cat >>$CONFIG_STATUS <<\_ACEOF
22405 \`$as_me' instantiates files from templates according to the
22406 current configuration.
22408 Usage: $0 [OPTIONS] [FILE]...
22410 -h, --help print this help, then exit
22411 -V, --version print version number, then exit
22412 -q, --quiet do not print progress messages
22413 -d, --debug don't remove temporary files
22414 --recheck update $as_me by reconfiguring in the same conditions
22415 --file=FILE[:TEMPLATE]
22416 instantiate the configuration file FILE
22417 --header=FILE[:TEMPLATE]
22418 instantiate the configuration header FILE
22420 Configuration files:
22423 Configuration headers:
22426 Configuration commands:
22429 Report bugs to <bug-autoconf@gnu.org>."
22432 cat >>$CONFIG_STATUS <<_ACEOF
22434 libltdl config.status 1.2
22435 configured by $0, generated by GNU Autoconf 2.59,
22436 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22438 Copyright (C) 2003 Free Software Foundation, Inc.
22439 This config.status script is free software; the Free Software Foundation
22440 gives unlimited permission to copy, distribute and modify it."
22445 cat >>$CONFIG_STATUS <<\_ACEOF
22446 # If no file are specified by the user, then we need to provide default
22447 # value. By we need to know if files were specified by the user.
22453 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22454 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22462 *) # This is not an option, so the user has probably given explicit
22465 ac_need_defaults
=false
;;
22469 # Handling of the options.
22471 cat >>$CONFIG_STATUS <<\_ACEOF
22472 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22474 --version |
--vers* |
-V )
22475 echo "$ac_cs_version"; exit 0 ;;
22477 # Conflict between --help and --header
22478 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22479 Try \`$0 --help' for more information." >&5
22480 echo "$as_me: error: ambiguous option: $1
22481 Try \`$0 --help' for more information." >&2;}
22482 { (exit 1); exit 1; }; };;
22483 --help |
--hel |
-h )
22484 echo "$ac_cs_usage"; exit 0 ;;
22485 --debug |
--d* |
-d )
22487 --file |
--fil |
--fi |
--f )
22489 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22490 ac_need_defaults
=false
;;
22491 --header |
--heade |
--head |
--hea )
22493 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22494 ac_need_defaults
=false
;;
22495 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22496 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22499 # This is an error.
22500 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22501 Try \`$0 --help' for more information." >&5
22502 echo "$as_me: error: unrecognized option: $1
22503 Try \`$0 --help' for more information." >&2;}
22504 { (exit 1); exit 1; }; } ;;
22506 *) ac_config_targets
="$ac_config_targets $1" ;;
22512 ac_configure_extra_args
=
22514 if $ac_cs_silent; then
22516 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22520 cat >>$CONFIG_STATUS <<_ACEOF
22521 if \$ac_cs_recheck; then
22522 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22523 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22528 cat >>$CONFIG_STATUS <<_ACEOF
22530 # INIT-COMMANDS section.
22533 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22539 cat >>$CONFIG_STATUS <<\_ACEOF
22540 for ac_config_target
in $ac_config_targets
22542 case "$ac_config_target" in
22543 # Handling of arguments.
22544 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22545 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22546 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config-h.in" ;;
22547 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22548 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22549 { (exit 1); exit 1; }; };;
22553 # If the user did not use the arguments to specify the items to instantiate,
22554 # then the envvar interface is used. Set only those that are not.
22555 # We use the long form for the default assignment because of an extremely
22556 # bizarre bug on SunOS 4.1.3.
22557 if $ac_need_defaults; then
22558 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22559 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22560 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22563 # Have a temporary directory for convenience. Make it in the build tree
22564 # simply because there is no reason to put it here, and in addition,
22565 # creating and moving files from /tmp can sometimes cause problems.
22566 # Create a temporary directory, and hook for its removal unless debugging.
22569 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22570 trap '{ (exit 1); exit 1; }' 1 2 13 15
22573 # Create a (secure) tmp directory for tmp files.
22576 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22577 test -n "$tmp" && test -d "$tmp"
22580 tmp
=.
/confstat$$
-$RANDOM
22581 (umask 077 && mkdir
$tmp)
22584 echo "$me: cannot create a temporary directory in ." >&2
22585 { (exit 1); exit 1; }
22590 cat >>$CONFIG_STATUS <<_ACEOF
22593 # CONFIG_FILES section.
22596 # No need to generate the scripts if there are no CONFIG_FILES.
22597 # This happens for instance when ./config.status config.h
22598 if test -n "\$CONFIG_FILES"; then
22599 # Protect against being on the right side of a sed subst in config.status.
22600 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22601 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22602 s,@SHELL@,$SHELL,;t t
22603 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22604 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22605 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22606 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22607 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22608 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22609 s,@exec_prefix@,$exec_prefix,;t t
22610 s,@prefix@,$prefix,;t t
22611 s,@program_transform_name@,$program_transform_name,;t t
22612 s,@bindir@,$bindir,;t t
22613 s,@sbindir@,$sbindir,;t t
22614 s,@libexecdir@,$libexecdir,;t t
22615 s,@datadir@,$datadir,;t t
22616 s,@sysconfdir@,$sysconfdir,;t t
22617 s,@sharedstatedir@,$sharedstatedir,;t t
22618 s,@localstatedir@,$localstatedir,;t t
22619 s,@libdir@,$libdir,;t t
22620 s,@includedir@,$includedir,;t t
22621 s,@oldincludedir@,$oldincludedir,;t t
22622 s,@infodir@,$infodir,;t t
22623 s,@mandir@,$mandir,;t t
22624 s,@build_alias@,$build_alias,;t t
22625 s,@host_alias@,$host_alias,;t t
22626 s,@target_alias@,$target_alias,;t t
22627 s,@DEFS@,$DEFS,;t t
22628 s,@ECHO_C@,$ECHO_C,;t t
22629 s,@ECHO_N@,$ECHO_N,;t t
22630 s,@ECHO_T@,$ECHO_T,;t t
22631 s,@LIBS@,$LIBS,;t t
22632 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22633 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22634 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22635 s,@CYGPATH_W@,$CYGPATH_W,;t t
22636 s,@PACKAGE@,$PACKAGE,;t t
22637 s,@VERSION@,$VERSION,;t t
22638 s,@ACLOCAL@,$ACLOCAL,;t t
22639 s,@AUTOCONF@,$AUTOCONF,;t t
22640 s,@AUTOMAKE@,$AUTOMAKE,;t t
22641 s,@AUTOHEADER@,$AUTOHEADER,;t t
22642 s,@MAKEINFO@,$MAKEINFO,;t t
22643 s,@AMTAR@,$AMTAR,;t t
22644 s,@install_sh@,$install_sh,;t t
22645 s,@STRIP@,$STRIP,;t t
22646 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22647 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22648 s,@mkdir_p@,$mkdir_p,;t t
22650 s,@SET_MAKE@,$SET_MAKE,;t t
22651 s,@am__leading_dot@,$am__leading_dot,;t t
22652 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22653 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22654 s,@MAINT@,$MAINT,;t t
22656 s,@CFLAGS@,$CFLAGS,;t t
22657 s,@LDFLAGS@,$LDFLAGS,;t t
22658 s,@CPPFLAGS@,$CPPFLAGS,;t t
22659 s,@ac_ct_CC@,$ac_ct_CC,;t t
22660 s,@EXEEXT@,$EXEEXT,;t t
22661 s,@OBJEXT@,$OBJEXT,;t t
22662 s,@DEPDIR@,$DEPDIR,;t t
22663 s,@am__include@,$am__include,;t t
22664 s,@am__quote@,$am__quote,;t t
22665 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22666 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22667 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22668 s,@CCDEPMODE@,$CCDEPMODE,;t t
22669 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22670 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22671 s,@build@,$build,;t t
22672 s,@build_cpu@,$build_cpu,;t t
22673 s,@build_vendor@,$build_vendor,;t t
22674 s,@build_os@,$build_os,;t t
22675 s,@host@,$host,;t t
22676 s,@host_cpu@,$host_cpu,;t t
22677 s,@host_vendor@,$host_vendor,;t t
22678 s,@host_os@,$host_os,;t t
22679 s,@EGREP@,$EGREP,;t t
22680 s,@LN_S@,$LN_S,;t t
22681 s,@ECHO@,$ECHO,;t t
22683 s,@ac_ct_AR@,$ac_ct_AR,;t t
22684 s,@RANLIB@,$RANLIB,;t t
22685 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22686 s,@DLLTOOL@,$DLLTOOL,;t t
22687 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
22689 s,@ac_ct_AS@,$ac_ct_AS,;t t
22690 s,@OBJDUMP@,$OBJDUMP,;t t
22691 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
22694 s,@CXXFLAGS@,$CXXFLAGS,;t t
22695 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22696 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22697 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22698 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22699 s,@CXXCPP@,$CXXCPP,;t t
22701 s,@FFLAGS@,$FFLAGS,;t t
22702 s,@ac_ct_F77@,$ac_ct_F77,;t t
22703 s,@LIBTOOL@,$LIBTOOL,;t t
22704 s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
22705 s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
22706 s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
22707 s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
22708 s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
22709 s,@LIBADD_DL@,$LIBADD_DL,;t t
22710 s,@LIBOBJS@,$LIBOBJS,;t t
22711 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22716 cat >>$CONFIG_STATUS <<\_ACEOF
22717 # Split the substitutions into bite-sized pieces for seds with
22718 # small command number limits, like on Digital OSF/1 and HP-UX.
22719 ac_max_sed_lines
=48
22720 ac_sed_frag
=1 # Number of current file.
22721 ac_beg
=1 # First line for current file.
22722 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22725 while $ac_more_lines; do
22726 if test $ac_beg -gt 1; then
22727 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22729 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22731 if test ! -s $tmp/subs.frag
; then
22732 ac_more_lines
=false
22734 # The purpose of the label and of the branching condition is to
22735 # speed up the sed processing (if there are no `@' at all, there
22736 # is no need to browse any of the substitutions).
22737 # These are the two extra sed commands mentioned above.
22739 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22740 if test -z "$ac_sed_cmds"; then
22741 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22743 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22745 ac_sed_frag
=`expr $ac_sed_frag + 1`
22747 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22750 if test -z "$ac_sed_cmds"; then
22753 fi # test -n "$CONFIG_FILES"
22756 cat >>$CONFIG_STATUS <<\_ACEOF
22757 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22758 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22760 - |
*:- |
*:-:* ) # input from stdin
22762 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22763 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22764 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22765 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22766 * ) ac_file_in
=$ac_file.
in ;;
22769 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22770 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22771 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22772 X"$ac_file" : 'X\(//\)[^/]' \| \
22773 X"$ac_file" : 'X\(//\)$' \| \
22774 X"$ac_file" : 'X\(/\)' \| \
22775 . : '\(.\)' 2>/dev/null ||
22777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22778 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22779 /^X\(\/\/\)$/{ s//\1/; q; }
22780 /^X\(\/\).*/{ s//\1/; q; }
22782 { if $as_mkdir_p; then
22787 while test ! -d "$as_dir"; do
22788 as_dirs
="$as_dir $as_dirs"
22789 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22790 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22791 X"$as_dir" : 'X\(//\)[^/]' \| \
22792 X"$as_dir" : 'X\(//\)$' \| \
22793 X"$as_dir" : 'X\(/\)' \| \
22794 . : '\(.\)' 2>/dev/null ||
22796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22797 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22798 /^X\(\/\/\)$/{ s//\1/; q; }
22799 /^X\(\/\).*/{ s//\1/; q; }
22802 test ! -n "$as_dirs" || mkdir
$as_dirs
22803 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22804 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22805 { (exit 1); exit 1; }; }; }
22809 if test "$ac_dir" != .
; then
22810 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22811 # A "../" for each directory in $ac_dir_suffix.
22812 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22814 ac_dir_suffix
= ac_top_builddir
=
22818 .
) # No --srcdir option. We are building in place.
22820 if test -z "$ac_top_builddir"; then
22823 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22825 [\\/]* | ?
:[\\/]* ) # Absolute path.
22826 ac_srcdir
=$srcdir$ac_dir_suffix;
22827 ac_top_srcdir
=$srcdir ;;
22828 *) # Relative path.
22829 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22830 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22833 # Do not use `cd foo && pwd` to compute absolute paths, because
22834 # the directories may not exist.
22836 .
) ac_abs_builddir
="$ac_dir";;
22839 .
) ac_abs_builddir
=`pwd`;;
22840 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22841 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22844 case $ac_abs_builddir in
22845 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22847 case ${ac_top_builddir}.
in
22848 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22849 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22850 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22853 case $ac_abs_builddir in
22854 .
) ac_abs_srcdir
=$ac_srcdir;;
22857 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22858 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22859 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22862 case $ac_abs_builddir in
22863 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22865 case $ac_top_srcdir in
22866 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22867 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22868 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22874 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22875 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22878 # Let's still pretend it is `configure' which instantiates (i.e., don't
22879 # use $as_me), people would be surprised to read:
22880 # /* config.h. Generated by config.status. */
22881 if test x
"$ac_file" = x-
; then
22884 configure_input
="$ac_file. "
22886 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22887 sed 's,.*/,,'` by configure."
22889 # First look for the input files in the build tree, otherwise in the
22891 ac_file_inputs
=`IFS=:
22892 for f in $ac_file_in; do
22894 -) echo $tmp/stdin ;;
22896 # Absolute (can't be DOS-style, as IFS=:)
22897 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22898 echo "$as_me: error: cannot find input file: $f" >&2;}
22899 { (exit 1); exit 1; }; }
22902 if test -f "$f"; then
22905 elif test -f "$srcdir/$f"; then
22910 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22911 echo "$as_me: error: cannot find input file: $f" >&2;}
22912 { (exit 1); exit 1; }; }
22915 done` ||
{ (exit 1); exit 1; }
22917 if test x
"$ac_file" != x-
; then
22918 { echo "$as_me:$LINENO: creating $ac_file" >&5
22919 echo "$as_me: creating $ac_file" >&6;}
22923 cat >>$CONFIG_STATUS <<_ACEOF
22927 cat >>$CONFIG_STATUS <<\_ACEOF
22929 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22930 s
,@configure_input@
,$configure_input,;t t
22931 s
,@srcdir@
,$ac_srcdir,;t t
22932 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22933 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22934 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22935 s
,@builddir@
,$ac_builddir,;t t
22936 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22937 s
,@top_builddir@
,$ac_top_builddir,;t t
22938 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22939 s
,@INSTALL@
,$ac_INSTALL,;t t
22940 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22942 if test x"$ac_file" != x-; then
22943 mv $tmp/out $ac_file
22951 cat >>$CONFIG_STATUS <<\_ACEOF
22954 # CONFIG_HEADER section.
22957 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22958 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22960 # ac_d sets the value in "#define NAME VALUE" lines.
22961 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22962 ac_dB
='[ ].*$,\1#\2'
22965 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22966 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22967 ac_uB
='$,\1#\2define\3'
22971 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22972 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22974 - |
*:- |
*:-:* ) # input from stdin
22976 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22977 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22978 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22979 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22980 * ) ac_file_in
=$ac_file.
in ;;
22983 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
22984 echo "$as_me: creating $ac_file" >&6;}
22986 # First look for the input files in the build tree, otherwise in the
22988 ac_file_inputs
=`IFS=:
22989 for f in $ac_file_in; do
22991 -) echo $tmp/stdin ;;
22993 # Absolute (can't be DOS-style, as IFS=:)
22994 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22995 echo "$as_me: error: cannot find input file: $f" >&2;}
22996 { (exit 1); exit 1; }; }
22997 # Do quote $f, to prevent DOS paths from being IFS'd.
23000 if test -f "$f"; then
23003 elif test -f "$srcdir/$f"; then
23008 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23009 echo "$as_me: error: cannot find input file: $f" >&2;}
23010 { (exit 1); exit 1; }; }
23013 done` ||
{ (exit 1); exit 1; }
23014 # Remove the trailing spaces.
23015 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23019 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23020 # `conftest.undefs', that substitutes the proper values into
23021 # config.h.in to produce config.h. The first handles `#define'
23022 # templates, and the second `#undef' templates.
23023 # And first: Protect against being on the right side of a sed subst in
23024 # config.status. Protect against being in an unquoted here document
23025 # in config.status.
23026 rm -f conftest.defines conftest.undefs
23027 # Using a here document instead of a string reduces the quoting nightmare.
23028 # Putting comments in sed scripts is not portable.
23030 # `end' is used to avoid that the second main sed command (meant for
23031 # 0-ary CPP macros) applies to n-ary macro definitions.
23032 # See the Autoconf documentation for `clear'.
23033 cat >confdef2sed.
sed <<\_ACEOF
23038 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23040 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23043 # If some macros were called several times there might be several times
23044 # the same #defines, which is useless. Nevertheless, we may not want to
23045 # sort them, since we want the *last* AC-DEFINE to be honored.
23046 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23047 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23048 rm -f confdef2sed.sed
23050 # This sed command replaces #undef with comments. This is necessary, for
23051 # example, in the case of _POSIX_SOURCE, which is predefined and required
23052 # on some systems where configure will not decide to define it.
23053 cat >>conftest.undefs <<\_ACEOF
23054 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23057 # Break up conftest.defines because some shells have a limit on the size
23058 # of here documents, and old seds have small limits too (100 cmds).
23059 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23060 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23061 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23062 echo ' :' >>$CONFIG_STATUS
23063 rm -f conftest.tail
23064 while grep . conftest.defines >/dev/null
23066 # Write a limited-size here document to $tmp/defines.sed.
23067 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23068 # Speed up: don't consider the non `#define' lines.
23069 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23070 # Work around the forget-to-reset-the-flag bug.
23071 echo 't clr' >>$CONFIG_STATUS
23072 echo ': clr' >>$CONFIG_STATUS
23073 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23075 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23077 mv $tmp/out $tmp/in
23079 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23080 rm -f conftest.defines
23081 mv conftest.
tail conftest.defines
23083 rm -f conftest.defines
23084 echo ' fi # grep' >>$CONFIG_STATUS
23085 echo >>$CONFIG_STATUS
23087 # Break up conftest.undefs because some shells have a limit on the size
23088 # of here documents, and old seds have small limits too (100 cmds).
23089 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23090 rm -f conftest.
tail
23091 while grep . conftest.undefs
>/dev
/null
23093 # Write a limited-size here document to $tmp/undefs.sed.
23094 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23095 # Speed up: don't consider the non
`#undef'
23096 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23097 # Work around the forget-to-reset-the-flag bug.
23098 echo 't clr' >>$CONFIG_STATUS
23099 echo ': clr' >>$CONFIG_STATUS
23100 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23102 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23104 mv $tmp/out $tmp/in
23106 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23107 rm -f conftest.undefs
23108 mv conftest.tail conftest.undefs
23110 rm -f conftest.undefs
23112 cat >>$CONFIG_STATUS <<\_ACEOF
23113 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23114 # use $as_me), people would be surprised to read:
23115 # /* config.h. Generated by config.status. */
23116 if test x
"$ac_file" = x-
; then
23117 echo "/* Generated by configure. */" >$tmp/config.h
23119 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23121 cat $tmp/in >>$tmp/config.h
23123 if test x
"$ac_file" != x-
; then
23124 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23125 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23126 echo "$as_me: $ac_file is unchanged" >&6;}
23128 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23129 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23130 X"$ac_file" : 'X\(//\)[^/]' \| \
23131 X"$ac_file" : 'X\(//\)$' \| \
23132 X"$ac_file" : 'X\(/\)' \| \
23133 . : '\(.\)' 2>/dev/null ||
23135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23136 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23137 /^X\(\/\/\)$/{ s//\1/; q; }
23138 /^X\(\/\).*/{ s//\1/; q; }
23140 { if $as_mkdir_p; then
23145 while test ! -d "$as_dir"; do
23146 as_dirs
="$as_dir $as_dirs"
23147 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23149 X"$as_dir" : 'X\(//\)[^/]' \| \
23150 X"$as_dir" : 'X\(//\)$' \| \
23151 X"$as_dir" : 'X\(/\)' \| \
23152 . : '\(.\)' 2>/dev/null ||
23154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23155 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23156 /^X\(\/\/\)$/{ s//\1/; q; }
23157 /^X\(\/\).*/{ s//\1/; q; }
23160 test ! -n "$as_dirs" || mkdir
$as_dirs
23161 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23162 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23163 { (exit 1); exit 1; }; }; }
23166 mv $tmp/config.h
$ac_file
23170 rm -f $tmp/config.h
23172 # Compute $ac_file's index in $config_headers.
23174 for _am_header
in $config_headers :; do
23175 case $_am_header in
23176 $ac_file |
$ac_file:* )
23179 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23182 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
23183 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23184 X$ac_file : 'X\(//\)[^/]' \| \
23185 X$ac_file : 'X\(//\)$' \| \
23186 X$ac_file : 'X\(/\)' \| \
23187 . : '\(.\)' 2>/dev/null ||
23189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23190 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23191 /^X\(\/\/\)$/{ s//\1/; q; }
23192 /^X\(\/\).*/{ s//\1/; q; }
23193 s/.*/./; q'`/stamp-h
$_am_stamp_count
23196 cat >>$CONFIG_STATUS <<\_ACEOF
23199 # CONFIG_COMMANDS section.
23201 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23202 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23203 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23204 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23205 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23206 X"$ac_dest" : 'X\(//\)[^/]' \| \
23207 X"$ac_dest" : 'X\(//\)$' \| \
23208 X"$ac_dest" : 'X\(/\)' \| \
23209 . : '\(.\)' 2>/dev/null ||
23211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23212 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23213 /^X\(\/\/\)$/{ s//\1/; q; }
23214 /^X\(\/\).*/{ s//\1/; q; }
23216 { if $as_mkdir_p; then
23221 while test ! -d "$as_dir"; do
23222 as_dirs
="$as_dir $as_dirs"
23223 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23224 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23225 X"$as_dir" : 'X\(//\)[^/]' \| \
23226 X"$as_dir" : 'X\(//\)$' \| \
23227 X"$as_dir" : 'X\(/\)' \| \
23228 . : '\(.\)' 2>/dev/null ||
23230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23231 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23232 /^X\(\/\/\)$/{ s//\1/; q; }
23233 /^X\(\/\).*/{ s//\1/; q; }
23236 test ! -n "$as_dirs" || mkdir
$as_dirs
23237 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23238 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23239 { (exit 1); exit 1; }; }; }
23243 if test "$ac_dir" != .
; then
23244 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23245 # A "../" for each directory in $ac_dir_suffix.
23246 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23248 ac_dir_suffix
= ac_top_builddir
=
23252 .
) # No --srcdir option. We are building in place.
23254 if test -z "$ac_top_builddir"; then
23257 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23259 [\\/]* | ?
:[\\/]* ) # Absolute path.
23260 ac_srcdir
=$srcdir$ac_dir_suffix;
23261 ac_top_srcdir
=$srcdir ;;
23262 *) # Relative path.
23263 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23264 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23267 # Do not use `cd foo && pwd` to compute absolute paths, because
23268 # the directories may not exist.
23270 .
) ac_abs_builddir
="$ac_dir";;
23273 .
) ac_abs_builddir
=`pwd`;;
23274 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23275 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23278 case $ac_abs_builddir in
23279 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23281 case ${ac_top_builddir}.
in
23282 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23283 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23284 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23287 case $ac_abs_builddir in
23288 .
) ac_abs_srcdir
=$ac_srcdir;;
23291 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23292 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23293 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23296 case $ac_abs_builddir in
23297 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23299 case $ac_top_srcdir in
23300 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23301 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23302 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23307 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23308 echo "$as_me: executing $ac_dest commands" >&6;}
23310 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23311 # Strip MF so we end up with the name of the file.
23312 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23313 # Check whether this is an Automake generated Makefile or not.
23314 # We used to match only the files named `Makefile.in', but
23315 # some people rename them; so instead we look at the file content.
23316 # Grep'ing the first line is not enough: some people post-process
23317 # each Makefile.in and add a new line on top of each file to say so.
23318 # So let's grep whole file.
23319 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23320 dirpart
=`(dirname "$mf") 2>/dev/null ||
23321 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23322 X"$mf" : 'X\(//\)[^/]' \| \
23323 X"$mf" : 'X\(//\)$' \| \
23324 X"$mf" : 'X\(/\)' \| \
23325 . : '\(.\)' 2>/dev/null ||
23327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23328 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23329 /^X\(\/\/\)$/{ s//\1/; q; }
23330 /^X\(\/\).*/{ s//\1/; q; }
23335 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
23336 # Extract the definition of DEP_FILES from the Makefile without
23338 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23339 test -z "$DEPDIR" && continue
23340 # When using ansi2knr, U may be empty or an underscore; expand it
23341 U
=`sed -n 's/^U = //p' < "$mf"`
23342 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
23343 # We invoke sed twice because it is the simplest approach to
23344 # changing $(DEPDIR) to its actual value in the expansion.
23345 for file in `sed -n '
23346 /^DEP_FILES = .*\\\\$/ {
23355 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
23356 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23357 # Make sure the directory exists.
23358 test -f "$dirpart/$file" && continue
23359 fdir
=`(dirname "$file") 2>/dev/null ||
23360 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23361 X"$file" : 'X\(//\)[^/]' \| \
23362 X"$file" : 'X\(//\)$' \| \
23363 X"$file" : 'X\(/\)' \| \
23364 . : '\(.\)' 2>/dev/null ||
23366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23367 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23368 /^X\(\/\/\)$/{ s//\1/; q; }
23369 /^X\(\/\).*/{ s//\1/; q; }
23371 { if $as_mkdir_p; then
23372 mkdir
-p $dirpart/$fdir
23374 as_dir
=$dirpart/$fdir
23376 while test ! -d "$as_dir"; do
23377 as_dirs
="$as_dir $as_dirs"
23378 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23380 X"$as_dir" : 'X\(//\)[^/]' \| \
23381 X"$as_dir" : 'X\(//\)$' \| \
23382 X"$as_dir" : 'X\(/\)' \| \
23383 . : '\(.\)' 2>/dev/null ||
23385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23386 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23387 /^X\(\/\/\)$/{ s//\1/; q; }
23388 /^X\(\/\).*/{ s//\1/; q; }
23391 test ! -n "$as_dirs" || mkdir
$as_dirs
23392 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
23393 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
23394 { (exit 1); exit 1; }; }; }
23396 # echo "creating $dirpart/$file"
23397 echo '# dummy' > "$dirpart/$file"
23405 cat >>$CONFIG_STATUS <<\_ACEOF
23407 { (exit 0); exit 0; }
23409 chmod +x
$CONFIG_STATUS
23410 ac_clean_files
=$ac_clean_files_save
23413 # configure is writing to config.log, and then calls config.status.
23414 # config.status does its own redirection, appending to config.log.
23415 # Unfortunately, on DOS this fails, as config.log is still kept open
23416 # by configure, so config.status won't be able to write to it; its
23417 # output is simply discarded. So we exec the FD to /dev/null,
23418 # effectively closing config.log, so it can be properly (re)opened and
23419 # appended to by config.status. When coming back to configure, we
23420 # need to make the FD available again.
23421 if test "$no_create" != yes; then
23423 ac_config_status_args
=
23424 test "$silent" = yes &&
23425 ac_config_status_args
="$ac_config_status_args --quiet"
23427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23430 # would make configure fail if this is the last instruction.
23431 $ac_cs_success ||
{ (exit 1); exit 1; }