2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libltdl 1.2.
5 # Report bugs to <bug-libtool@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL
=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec
; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo
; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo
; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset
; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
291 echo_test_string
=`eval $cmd` &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
311 for dir
in $PATH /usr
/ucb
; do
313 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho
; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL
=/bin
/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
352 SHELL
="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string
=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames
=${tagnames+${tagnames},}CXX
398 tagnames
=${tagnames+${tagnames},}F77
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix
=/usr
/local
411 ac_config_libobj_dir
=.
416 SHELL
=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME
='libltdl'
425 PACKAGE_TARNAME
='libltdl'
426 PACKAGE_VERSION
='1.2'
427 PACKAGE_STRING
='libltdl 1.2'
428 PACKAGE_BUGREPORT
='bug-libtool@gnu.org'
430 ac_unique_file
="ltdl.c"
431 # Factoring default headers for most tests.
432 ac_includes_default
="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os SED 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 --disable-dependency-tracking speeds up one-time build
1031 --enable-dependency-tracking do not reject slow dependency extractors
1032 --enable-shared[=PKGS
]
1033 build shared libraries
[default
=yes]
1034 --enable-static[=PKGS
]
1035 build static libraries
[default
=yes]
1036 --enable-fast-install[=PKGS
]
1037 optimize
for fast installation
[default
=yes]
1038 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1039 --enable-ltdl-install install libltdl
1042 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1043 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1044 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1045 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1048 include additional configurations
[automatic
]
1050 Some influential environment variables
:
1051 CC C compiler
command
1052 CFLAGS C compiler flags
1053 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1054 nonstandard directory
<lib dir
>
1055 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1056 headers
in a nonstandard directory
<include dir
>
1058 CXX C
++ compiler
command
1059 CXXFLAGS C
++ compiler flags
1060 CXXCPP C
++ preprocessor
1061 F77 Fortran
77 compiler
command
1062 FFLAGS Fortran
77 compiler flags
1064 Use these variables to override the choices made by
`configure' or to help
1065 it to find libraries and programs with nonstandard names/locations.
1067 Report bugs to <bug-libtool@gnu.org>.
1071 if test "$ac_init_help" = "recursive"; then
1072 # If there are subdirs, report their specific --help.
1074 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1075 test -d $ac_dir || continue
1078 if test "$ac_dir" != .; then
1079 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1080 # A "../" for each directory in $ac_dir_suffix.
1081 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1083 ac_dir_suffix= ac_top_builddir=
1087 .) # No --srcdir option. We are building in place.
1089 if test -z "$ac_top_builddir"; then
1092 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1094 [\\/]* | ?:[\\/]* ) # Absolute path.
1095 ac_srcdir=$srcdir$ac_dir_suffix;
1096 ac_top_srcdir=$srcdir ;;
1098 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1099 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1102 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1103 # the directories may not exist.
1105 .) ac_abs_builddir="$ac_dir";;
1108 .) ac_abs_builddir=`pwd`;;
1109 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1110 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1113 case $ac_abs_builddir in
1114 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1116 case ${ac_top_builddir}. in
1117 .) ac_abs_top_builddir=$ac_abs_builddir;;
1118 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1119 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1122 case $ac_abs_builddir in
1123 .) ac_abs_srcdir=$ac_srcdir;;
1126 .) ac_abs_srcdir=$ac_abs_builddir;;
1127 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1128 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1131 case $ac_abs_builddir in
1132 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1134 case $ac_top_srcdir in
1135 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1136 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1137 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1142 # Check for guested configure; otherwise get Cygnus style configure.
1143 if test -f $ac_srcdir/configure.gnu; then
1145 $SHELL $ac_srcdir/configure.gnu --help=recursive
1146 elif test -f $ac_srcdir/configure; then
1148 $SHELL $ac_srcdir/configure --help=recursive
1149 elif test -f $ac_srcdir/configure.ac ||
1150 test -f $ac_srcdir/configure.in; then
1152 $ac_configure --help
1154 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1160 test -n "$ac_init_help" && exit 0
1161 if $ac_init_version; then
1163 libltdl configure 1.2
1164 generated by GNU Autoconf 2.59
1166 Copyright (C) 2003 Free Software Foundation, Inc.
1167 This configure script is free software; the Free Software Foundation
1168 gives unlimited permission to copy, distribute and modify it.
1174 This file contains any messages produced by compilers while
1175 running configure, to aid debugging if configure makes a mistake.
1177 It was created by libltdl $as_me 1.2, which was
1178 generated by GNU Autoconf 2.59. Invocation command line was
1189 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1190 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1191 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1192 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1193 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1195 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1196 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1198 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1199 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1200 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1201 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1202 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1203 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1204 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1212 test -z "$as_dir" && as_dir=.
1213 echo "PATH: $as_dir"
1228 # Keep a trace of the command line.
1229 # Strip out --no-create and --no-recursion so they do not pile up.
1230 # Strip out --silent because we don't want to record it for future runs.
1231 # Also quote any args containing shell meta-characters.
1232 # Make two passes to allow for proper duplicate-argument suppression.
1237 ac_must_keep_next=false
1243 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1245 | -silent | --silent | --silen | --sile | --sil)
1247 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1248 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1251 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1253 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1254 if test $ac_must_keep_next = true; then
1255 ac_must_keep_next=false # Got value, back to normal.
1258 *=* | --config-cache | -C | -disable-* | --disable-* \
1259 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1260 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1261 | -with-* | --with-* | -without-* | --without-* | --x)
1262 case "$ac_configure_args0 " in
1263 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1266 -* ) ac_must_keep_next=true ;;
1269 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1270 # Get rid of the leading space.
1276 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1277 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1279 # When interrupted or exit'd, cleanup temporary files, and complete
1280 # config.log. We remove comments because anyway the quotes in there
1281 # would cause problems or look ugly.
1282 # WARNING: Be sure not to use single quotes in there, as some shells,
1283 # such as our DU 5.0 friend, will then `close
' the trap.
1284 trap 'exit_status
=$?
1285 # Save into config.log some information that might help in debugging.
1290 ## ---------------- ##
1291 ## Cache variables. ##
1292 ## ---------------- ##
1295 # The following way of writing the cache mishandles newlines in values,
1298 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1301 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1306 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1313 ## ----------------- ##
1314 ## Output variables. ##
1315 ## ----------------- ##
1318 for ac_var
in $ac_subst_vars
1320 eval ac_val
=$
`echo $ac_var`
1321 echo "$ac_var='"'"'$ac_val'"'"'"
1325 if test -n "$ac_subst_files"; then
1332 for ac_var
in $ac_subst_files
1334 eval ac_val
=$
`echo $ac_var`
1335 echo "$ac_var='"'"'$ac_val'"'"'"
1340 if test -s confdefs.h
; then
1347 sed "/^$/d" confdefs.h |
sort
1350 test "$ac_signal" != 0 &&
1351 echo "$as_me: caught signal $ac_signal"
1352 echo "$as_me: exit $exit_status"
1354 rm -f core
*.core
&&
1355 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1358 for ac_signal in 1 2 13 15; do
1359 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1363 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1364 rm -rf conftest* confdefs.h
1365 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1368 # Predefined preprocessor variables.
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_NAME "$PACKAGE_NAME"
1375 cat >>confdefs.h <<_ACEOF
1376 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1380 cat >>confdefs.h <<_ACEOF
1381 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1385 cat >>confdefs.h <<_ACEOF
1386 #define PACKAGE_STRING "$PACKAGE_STRING"
1390 cat >>confdefs.h <<_ACEOF
1391 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1395 # Let the site file select an alternate cache file if it wants to.
1396 # Prefer explicitly selected file to automatically selected ones.
1397 if test -z "$CONFIG_SITE"; then
1398 if test "x$prefix" != xNONE; then
1399 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1401 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1404 for ac_site_file in $CONFIG_SITE; do
1405 if test -r "$ac_site_file"; then
1406 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1407 echo "$as_me: loading site script $ac_site_file" >&6;}
1408 sed 's
/^
/|
/' "$ac_site_file" >&5
1413 if test -r "$cache_file"; then
1414 # Some versions of bash will fail to source /dev/null (special
1415 # files actually), so we avoid doing that.
1416 if test -f "$cache_file"; then
1417 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1418 echo "$as_me: loading cache $cache_file" >&6;}
1420 [\\/]* | ?:[\\/]* ) . $cache_file;;
1421 *) . ./$cache_file;;
1425 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1426 echo "$as_me: creating cache $cache_file" >&6;}
1430 # Check that the precious variables saved in the cache have kept the same
1432 ac_cache_corrupted=false
1433 for ac_var in `(set) 2>&1 |
1434 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1435 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1436 eval ac_new_set=\$ac_env_${ac_var}_set
1437 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1438 eval ac_new_val="\$ac_env_${ac_var}_value"
1439 case $ac_old_set,$ac_new_set in
1441 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1442 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1443 ac_cache_corrupted=: ;;
1445 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1446 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1447 ac_cache_corrupted=: ;;
1450 if test "x$ac_old_val" != "x$ac_new_val"; then
1451 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1452 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1453 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1454 echo "$as_me: former value: $ac_old_val" >&2;}
1455 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1456 echo "$as_me: current value: $ac_new_val" >&2;}
1457 ac_cache_corrupted=:
1460 # Pass precious variables to config.status.
1461 if test "$ac_new_set" = set; then
1463 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1464 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1465 *) ac_arg=$ac_var=$ac_new_val ;;
1467 case " $ac_configure_args " in
1468 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1469 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1473 if $ac_cache_corrupted; then
1474 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1475 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1476 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1477 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1478 { (exit 1); exit 1; }; }
1482 ac_cpp='$CPP $CPPFLAGS'
1483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1484 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1516 ## ------------------------------- ##
1517 ## Libltdl specific configuration. ##
1518 ## ------------------------------- ##
1521 for ac_dir in . $srcdir/.; do
1522 if test -f $ac_dir/install-sh; then
1524 ac_install_sh="$ac_aux_dir/install-sh -c"
1526 elif test -f $ac_dir/install.sh; then
1528 ac_install_sh="$ac_aux_dir/install.sh -c"
1530 elif test -f $ac_dir/shtool; then
1532 ac_install_sh="$ac_aux_dir/shtool install -c"
1536 if test -z "$ac_aux_dir"; then
1537 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
1538 echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
1539 { (exit 1); exit 1; }; }
1541 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1542 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1543 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1546 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
1547 if test -f ${srcdir}/ltmain.sh; then
1548 # if libltdl is libtoolized, it is assumed to be stand-alone and
1549 # installed unless the command line overrides it (tested above)
1550 enable_ltdl_install=yes
1552 { echo "$as_me:$LINENO: WARNING: *** The top-level configure must select either" >&5
1553 echo "$as_me: WARNING: *** The top-level configure must select either" >&2;}
1554 { echo "$as_me:$LINENO: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&5
1555 echo "$as_me: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&2;}
1556 { { echo "$as_me:$LINENO: error: *** Maybe you want to --enable-ltdl-install?" >&5
1557 echo "$as_me: error: *** Maybe you want to --enable-ltdl-install?" >&2;}
1558 { (exit 1); exit 1; }; }
1563 ## ------------------------ ##
1564 ## Automake Initialisation. ##
1565 ## ------------------------ ##
1566 am__api_version="1.9"
1567 # Find a good install program. We prefer a C program (faster),
1568 # so one script is as good as another. But avoid the broken or
1569 # incompatible versions:
1570 # SysV /etc/install, /usr/sbin/install
1571 # SunOS /usr/etc/install
1572 # IRIX /sbin/install
1574 # AmigaOS /C/install, which installs bootblocks on floppy discs
1575 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1576 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1577 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1578 # OS/2's system install, which has a completely different semantic
1579 # ./install, which can be erroneously created by make from ./install.sh.
1580 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1581 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1582 if test -z "$INSTALL"; then
1583 if test "${ac_cv_path_install+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1590 test -z "$as_dir" && as_dir
=.
1591 # Account for people who put trailing slashes in PATH elements.
1593 .
/ | .
// |
/cC
/* | \
1594 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1595 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1598 # OSF1 and SCO ODT 3.0 have their own names for install.
1599 # Don't use installbsd from OSF since it installs stuff as root
1601 for ac_prog
in ginstall scoinst
install; do
1602 for ac_exec_ext
in '' $ac_executable_extensions; do
1603 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1604 if test $ac_prog = install &&
1605 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1606 # AIX install. It has an incompatible calling convention.
1608 elif test $ac_prog = install &&
1609 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1610 # program-specific install script used by HP pwplus--don't use.
1613 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1625 if test "${ac_cv_path_install+set}" = set; then
1626 INSTALL
=$ac_cv_path_install
1628 # As a last resort, use the slow shell script. We don't cache a
1629 # path for INSTALL within a source directory, because that will
1630 # break other packages using the cache if that directory is
1631 # removed, or if the path is relative.
1632 INSTALL
=$ac_install_sh
1635 echo "$as_me:$LINENO: result: $INSTALL" >&5
1636 echo "${ECHO_T}$INSTALL" >&6
1638 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1639 # It thinks the first close brace ends the variable substitution.
1640 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1642 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1644 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1646 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1647 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1650 echo timestamp
> conftest.
file
1651 # Do `set' in a subshell so we don't clobber the current shell's
1652 # arguments. Must try -L first in case configure is actually a
1653 # symlink; some systems play weird games with the mod time of symlinks
1654 # (eg FreeBSD returns the mod time of the symlink's containing
1657 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1658 if test "$*" = "X"; then
1660 set X
`ls -t $srcdir/configure conftest.file`
1663 if test "$*" != "X $srcdir/configure conftest.file" \
1664 && test "$*" != "X conftest.file $srcdir/configure"; then
1666 # If neither matched, then we have a broken ls. This can happen
1667 # if, for instance, CONFIG_SHELL is bash and it inherits a
1668 # broken ls alias from the environment. This has actually
1669 # happened. Such a system could not be considered "sane".
1670 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1671 alias in your environment" >&5
1672 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1673 alias in your environment" >&2;}
1674 { (exit 1); exit 1; }; }
1677 test "$2" = conftest.
file
1683 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1684 Check your system clock" >&5
1685 echo "$as_me: error: newly created file is older than distributed files!
1686 Check your system clock" >&2;}
1687 { (exit 1); exit 1; }; }
1689 echo "$as_me:$LINENO: result: yes" >&5
1690 echo "${ECHO_T}yes" >&6
1691 test "$program_prefix" != NONE
&&
1692 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1693 # Use a double $ so make ignores it.
1694 test "$program_suffix" != NONE
&&
1695 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1696 # Double any \ or $. echo might interpret backslashes.
1697 # By default was `s,x,x', remove it if useless.
1698 cat <<\_ACEOF
>conftest.
sed
1699 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1701 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1704 # expand $ac_aux_dir to an absolute path
1705 am_aux_dir
=`cd $ac_aux_dir && pwd`
1707 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1708 # Use eval to expand $SHELL
1709 if eval "$MISSING --run true"; then
1710 am_missing_run
="$MISSING --run "
1713 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1714 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1717 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1718 # We used to keeping the `.' as first argument, in order to
1719 # allow $(mkdir_p) to be used without argument. As in
1720 # $(mkdir_p) $(somedir)
1721 # where $(somedir) is conditionally defined. However this is wrong
1723 # 1. if the package is installed by a user who cannot write `.'
1724 # make install will fail,
1725 # 2. the above comment should most certainly read
1726 # $(mkdir_p) $(DESTDIR)$(somedir)
1727 # so it does not work when $(somedir) is undefined and
1728 # $(DESTDIR) is not.
1729 # To support the latter case, we have to write
1730 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1731 # so the `.' trick is pointless.
1732 mkdir_p
='mkdir -p --'
1734 # On NextStep and OpenStep, the `mkdir' command does not
1735 # recognize any option. It will interpret all options as
1736 # directories to create, and then abort because `.' already
1738 for d
in .
/-p .
/--version;
1740 test -d $d && rmdir $d
1742 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1743 if test -f "$ac_aux_dir/mkinstalldirs"; then
1744 mkdir_p
='$(mkinstalldirs)'
1746 mkdir_p
='$(install_sh) -d'
1750 for ac_prog
in gawk mawk nawk
awk
1752 # Extract the first word of "$ac_prog", so it can be a program name with args.
1753 set dummy
$ac_prog; ac_word
=$2
1754 echo "$as_me:$LINENO: checking for $ac_word" >&5
1755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1756 if test "${ac_cv_prog_AWK+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 if test -n "$AWK"; then
1760 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1766 test -z "$as_dir" && as_dir
=.
1767 for ac_exec_ext
in '' $ac_executable_extensions; do
1768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1769 ac_cv_prog_AWK
="$ac_prog"
1770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1779 if test -n "$AWK"; then
1780 echo "$as_me:$LINENO: result: $AWK" >&5
1781 echo "${ECHO_T}$AWK" >&6
1783 echo "$as_me:$LINENO: result: no" >&5
1784 echo "${ECHO_T}no" >&6
1787 test -n "$AWK" && break
1790 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1791 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1792 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1793 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 cat >conftest.
make <<\_ACEOF
1798 @
echo 'ac_maketemp="$(MAKE)"'
1800 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1801 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1802 if test -n "$ac_maketemp"; then
1803 eval ac_cv_prog_make_
${ac_make}_set
=yes
1805 eval ac_cv_prog_make_
${ac_make}_set
=no
1809 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1810 echo "$as_me:$LINENO: result: yes" >&5
1811 echo "${ECHO_T}yes" >&6
1814 echo "$as_me:$LINENO: result: no" >&5
1815 echo "${ECHO_T}no" >&6
1816 SET_MAKE
="MAKE=${MAKE-make}"
1819 rm -rf .tst
2>/dev
/null
1820 mkdir .tst
2>/dev
/null
1821 if test -d .tst
; then
1826 rmdir .tst
2>/dev
/null
1828 # test to see if srcdir already configured
1829 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1830 test -f $srcdir/config.status
; then
1831 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1832 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1833 { (exit 1); exit 1; }; }
1836 # test whether we have cygpath
1837 if test -z "$CYGPATH_W"; then
1838 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1839 CYGPATH_W
='cygpath -w'
1846 # Define the identity of the package.
1851 # Some tools Automake needs.
1853 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1856 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1859 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1862 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1865 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1867 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1869 # Installed binaries are usually stripped using `strip' when the user
1870 # run `make install-strip'. However `strip' might not be the right
1871 # tool to use in cross-compilation environments, therefore Automake
1872 # will honor the `STRIP' environment variable to overrule this program.
1873 if test "$cross_compiling" != no
; then
1874 if test -n "$ac_tool_prefix"; then
1875 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1876 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1877 echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1879 if test "${ac_cv_prog_STRIP+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test -n "$STRIP"; then
1883 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1889 test -z "$as_dir" && as_dir
=.
1890 for ac_exec_ext
in '' $ac_executable_extensions; do
1891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1892 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 STRIP
=$ac_cv_prog_STRIP
1902 if test -n "$STRIP"; then
1903 echo "$as_me:$LINENO: result: $STRIP" >&5
1904 echo "${ECHO_T}$STRIP" >&6
1906 echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6
1911 if test -z "$ac_cv_prog_STRIP"; then
1913 # Extract the first word of "strip", so it can be a program name with args.
1914 set dummy strip
; ac_word
=$2
1915 echo "$as_me:$LINENO: checking for $ac_word" >&5
1916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1917 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 if test -n "$ac_ct_STRIP"; then
1921 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1927 test -z "$as_dir" && as_dir
=.
1928 for ac_exec_ext
in '' $ac_executable_extensions; do
1929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1930 ac_cv_prog_ac_ct_STRIP
="strip"
1931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1937 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1940 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1941 if test -n "$ac_ct_STRIP"; then
1942 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1943 echo "${ECHO_T}$ac_ct_STRIP" >&6
1945 echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6
1951 STRIP
="$ac_cv_prog_STRIP"
1955 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1957 # We need awk for the "check" target. The system "awk" is bad on
1959 # Always define AMTAR for backward compatibility.
1961 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1963 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1969 ac_config_headers
="$ac_config_headers config.h:config-h.in"
1973 ## ------------------ ##
1974 ## C compiler checks. ##
1975 ## ------------------ ##
1977 ac_cpp
='$CPP $CPPFLAGS'
1978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1981 if test -n "$ac_tool_prefix"; then
1982 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1983 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1984 echo "$as_me:$LINENO: checking for $ac_word" >&5
1985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1986 if test "${ac_cv_prog_CC+set}" = set; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1989 if test -n "$CC"; then
1990 ac_cv_prog_CC
="$CC" # Let the user override the test.
1992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir
=.
1997 for ac_exec_ext
in '' $ac_executable_extensions; do
1998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1999 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2009 if test -n "$CC"; then
2010 echo "$as_me:$LINENO: result: $CC" >&5
2011 echo "${ECHO_T}$CC" >&6
2013 echo "$as_me:$LINENO: result: no" >&5
2014 echo "${ECHO_T}no" >&6
2018 if test -z "$ac_cv_prog_CC"; then
2020 # Extract the first word of "gcc", so it can be a program name with args.
2021 set dummy gcc
; ac_word
=$2
2022 echo "$as_me:$LINENO: checking for $ac_word" >&5
2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 if test -n "$ac_ct_CC"; then
2028 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2034 test -z "$as_dir" && as_dir
=.
2035 for ac_exec_ext
in '' $ac_executable_extensions; do
2036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2037 ac_cv_prog_ac_ct_CC
="gcc"
2038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2046 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2047 if test -n "$ac_ct_CC"; then
2048 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2049 echo "${ECHO_T}$ac_ct_CC" >&6
2051 echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6
2060 if test -z "$CC"; then
2061 if test -n "$ac_tool_prefix"; then
2062 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2063 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2064 echo "$as_me:$LINENO: checking for $ac_word" >&5
2065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2066 if test "${ac_cv_prog_CC+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 if test -n "$CC"; then
2070 ac_cv_prog_CC
="$CC" # Let the user override the test.
2072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2076 test -z "$as_dir" && as_dir
=.
2077 for ac_exec_ext
in '' $ac_executable_extensions; do
2078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2079 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2089 if test -n "$CC"; then
2090 echo "$as_me:$LINENO: result: $CC" >&5
2091 echo "${ECHO_T}$CC" >&6
2093 echo "$as_me:$LINENO: result: no" >&5
2094 echo "${ECHO_T}no" >&6
2098 if test -z "$ac_cv_prog_CC"; then
2100 # Extract the first word of "cc", so it can be a program name with args.
2101 set dummy cc
; ac_word
=$2
2102 echo "$as_me:$LINENO: checking for $ac_word" >&5
2103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2104 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2105 echo $ECHO_N "(cached) $ECHO_C" >&6
2107 if test -n "$ac_ct_CC"; then
2108 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2114 test -z "$as_dir" && as_dir
=.
2115 for ac_exec_ext
in '' $ac_executable_extensions; do
2116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2117 ac_cv_prog_ac_ct_CC
="cc"
2118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2127 if test -n "$ac_ct_CC"; then
2128 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2129 echo "${ECHO_T}$ac_ct_CC" >&6
2131 echo "$as_me:$LINENO: result: no" >&5
2132 echo "${ECHO_T}no" >&6
2141 if test -z "$CC"; then
2142 # Extract the first word of "cc", so it can be a program name with args.
2143 set dummy cc
; ac_word
=$2
2144 echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC
="$CC" # Let the user override the test.
2153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir
=.
2158 for ac_exec_ext
in '' $ac_executable_extensions; do
2159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2160 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2161 ac_prog_rejected
=yes
2165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171 if test $ac_prog_rejected = yes; then
2172 # We found a bogon in the path, so make sure we never use it.
2173 set dummy
$ac_cv_prog_CC
2175 if test $# != 0; then
2176 # We chose a different compiler from the bogus one.
2177 # However, it has the same basename, so the bogon will be chosen
2178 # first if we set CC to just the basename; use the full file name.
2180 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2186 if test -n "$CC"; then
2187 echo "$as_me:$LINENO: result: $CC" >&5
2188 echo "${ECHO_T}$CC" >&6
2190 echo "$as_me:$LINENO: result: no" >&5
2191 echo "${ECHO_T}no" >&6
2195 if test -z "$CC"; then
2196 if test -n "$ac_tool_prefix"; then
2199 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2200 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2201 echo "$as_me:$LINENO: checking for $ac_word" >&5
2202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2203 if test "${ac_cv_prog_CC+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 if test -n "$CC"; then
2207 ac_cv_prog_CC
="$CC" # Let the user override the test.
2209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir
=.
2214 for ac_exec_ext
in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 if test -n "$CC"; then
2227 echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6
2230 echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6
2234 test -n "$CC" && break
2237 if test -z "$CC"; then
2241 # Extract the first word of "$ac_prog", so it can be a program name with args.
2242 set dummy
$ac_prog; ac_word
=$2
2243 echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2245 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 if test -n "$ac_ct_CC"; then
2249 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir
=.
2256 for ac_exec_ext
in '' $ac_executable_extensions; do
2257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2258 ac_cv_prog_ac_ct_CC
="$ac_prog"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2267 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2268 if test -n "$ac_ct_CC"; then
2269 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2270 echo "${ECHO_T}$ac_ct_CC" >&6
2272 echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6
2276 test -n "$ac_ct_CC" && break
2285 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2286 See \`config.log' for more details." >&5
2287 echo "$as_me: error: no acceptable C compiler found in \$PATH
2288 See \`config.log' for more details." >&2;}
2289 { (exit 1); exit 1; }; }
2291 # Provide some information about the compiler.
2292 echo "$as_me:$LINENO:" \
2293 "checking for C compiler version" >&5
2294 ac_compiler
=`set X $ac_compile; echo $2`
2295 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2296 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); }
2300 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2301 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); }
2305 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2306 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }
2311 cat >conftest.
$ac_ext <<_ACEOF
2314 cat confdefs.h
>>conftest.
$ac_ext
2315 cat >>conftest.
$ac_ext <<_ACEOF
2316 /* end confdefs.h. */
2326 ac_clean_files_save
=$ac_clean_files
2327 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2328 # Try to create an executable without -o first, disregard a.out.
2329 # It will help us diagnose broken compilers, and finding out an intuition
2331 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2332 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2333 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2334 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2335 (eval $ac_link_default) 2>&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; then
2339 # Find the output, starting from the most likely. This scheme is
2340 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2343 # Be careful to initialize this variable, since it used to be cached.
2344 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2346 # b.out is created by i960 compilers.
2347 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2349 test -f "$ac_file" ||
continue
2351 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2354 # This is the source file.
2357 # We found the default executable, but exeext='' is most
2361 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2362 # FIXME: I believe we export ac_cv_exeext for Libtool,
2363 # but it would be cool to find out if it's true. Does anybody
2364 # maintain Libtool? --akim.
2372 echo "$as_me: failed program was:" >&5
2373 sed 's/^/| /' conftest.
$ac_ext >&5
2375 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2376 See \`config.log' for more details." >&5
2377 echo "$as_me: error: C compiler cannot create executables
2378 See \`config.log' for more details." >&2;}
2379 { (exit 77); exit 77; }; }
2382 ac_exeext
=$ac_cv_exeext
2383 echo "$as_me:$LINENO: result: $ac_file" >&5
2384 echo "${ECHO_T}$ac_file" >&6
2386 # Check the compiler produces executables we can run. If not, either
2387 # the compiler is broken, or we cross compile.
2388 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2389 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2390 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2391 # If not cross compiling, check that we can run a simple program.
2392 if test "$cross_compiling" != yes; then
2393 if { ac_try
='./$ac_file'
2394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; }; then
2401 if test "$cross_compiling" = maybe
; then
2404 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2405 If you meant to cross compile, use \`--host'.
2406 See \`config.log' for more details." >&5
2407 echo "$as_me: error: cannot run C compiled programs.
2408 If you meant to cross compile, use \`--host'.
2409 See \`config.log' for more details." >&2;}
2410 { (exit 1); exit 1; }; }
2414 echo "$as_me:$LINENO: result: yes" >&5
2415 echo "${ECHO_T}yes" >&6
2417 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2418 ac_clean_files
=$ac_clean_files_save
2419 # Check the compiler produces executables we can run. If not, either
2420 # the compiler is broken, or we cross compile.
2421 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2422 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2423 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2424 echo "${ECHO_T}$cross_compiling" >&6
2426 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2427 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2429 (eval $ac_link) 2>&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }; then
2433 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2434 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2435 # work properly (i.e., refer to `conftest.exe'), while it won't with
2437 for ac_file
in conftest.exe conftest conftest.
*; do
2438 test -f "$ac_file" ||
continue
2440 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2441 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2448 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2449 See \`config.log' for more details." >&5
2450 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2451 See \`config.log' for more details." >&2;}
2452 { (exit 1); exit 1; }; }
2455 rm -f conftest
$ac_cv_exeext
2456 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2457 echo "${ECHO_T}$ac_cv_exeext" >&6
2459 rm -f conftest.
$ac_ext
2460 EXEEXT
=$ac_cv_exeext
2462 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2463 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2464 if test "${ac_cv_objext+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 cat >conftest.
$ac_ext <<_ACEOF
2470 cat confdefs.h
>>conftest.
$ac_ext
2471 cat >>conftest.
$ac_ext <<_ACEOF
2472 /* end confdefs.h. */
2482 rm -f conftest.o conftest.obj
2483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2484 (eval $ac_compile) 2>&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; then
2488 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2490 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2491 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.
$ac_ext >&5
2499 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2500 See \`config.log' for more details." >&5
2501 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2502 See \`config.log' for more details." >&2;}
2503 { (exit 1); exit 1; }; }
2506 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2508 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2509 echo "${ECHO_T}$ac_cv_objext" >&6
2510 OBJEXT
=$ac_cv_objext
2512 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2513 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2514 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 cat >conftest.
$ac_ext <<_ACEOF
2520 cat confdefs.h
>>conftest.
$ac_ext
2521 cat >>conftest.
$ac_ext <<_ACEOF
2522 /* end confdefs.h. */
2535 rm -f conftest.
$ac_objext
2536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2537 (eval $ac_compile) 2>conftest.er1
2539 grep -v '^ *+' conftest.er1
>conftest.err
2541 cat conftest.err
>&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); } &&
2544 { ac_try
='test -z "$ac_c_werror_flag"
2545 || test ! -s conftest.err'
2546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); }; } &&
2551 { ac_try
='test -s conftest.$ac_objext'
2552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); }; }; then
2559 echo "$as_me: failed program was:" >&5
2560 sed 's/^/| /' conftest.
$ac_ext >&5
2564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2565 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2568 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2569 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2570 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2571 ac_test_CFLAGS
=${CFLAGS+set}
2572 ac_save_CFLAGS
=$CFLAGS
2574 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2575 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2576 if test "${ac_cv_prog_cc_g+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 cat >conftest.
$ac_ext <<_ACEOF
2582 cat confdefs.h
>>conftest.
$ac_ext
2583 cat >>conftest.
$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2594 rm -f conftest.
$ac_objext
2595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596 (eval $ac_compile) 2>conftest.er1
2598 grep -v '^ *+' conftest.er1
>conftest.err
2600 cat conftest.err
>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } &&
2603 { ac_try
='test -z "$ac_c_werror_flag"
2604 || test ! -s conftest.err'
2605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }; } &&
2610 { ac_try
='test -s conftest.$ac_objext'
2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; }; then
2618 echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.
$ac_ext >&5
2623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2625 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2626 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2627 if test "$ac_test_CFLAGS" = set; then
2628 CFLAGS
=$ac_save_CFLAGS
2629 elif test $ac_cv_prog_cc_g = yes; then
2630 if test "$GCC" = yes; then
2636 if test "$GCC" = yes; then
2642 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2643 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2644 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2647 ac_cv_prog_cc_stdc
=no
2649 cat >conftest.
$ac_ext <<_ACEOF
2652 cat confdefs.h
>>conftest.
$ac_ext
2653 cat >>conftest.
$ac_ext <<_ACEOF
2654 /* end confdefs.h. */
2657 #include <sys/types.h>
2658 #include <sys/stat.h>
2659 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2660 struct buf { int x; };
2661 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2662 static char *e (p, i)
2668 static char *f (char * (*g) (char **, int), char **p, ...)
2673 s = g (p, va_arg (v,int));
2678 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2679 function prototypes and stuff, but not '\xHH' hex character constants.
2680 These don't provoke an error unfortunately, instead are silently treated
2681 as 'x'. The following induces an error, until -std1 is added to get
2682 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2683 array size at least. It's necessary to write '\x00'==0 to get something
2684 that's true only with -std1. */
2685 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2687 int test (int i, double x);
2688 struct s1 {int (*f) (int a);};
2689 struct s2 {int (*f) (double a);};
2690 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2696 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2701 # Don't try gcc -ansi; that turns off useful extensions and
2702 # breaks some systems' header files.
2703 # AIX -qlanglvl=ansi
2704 # Ultrix and OSF/1 -std1
2705 # HP-UX 10.20 and later -Ae
2706 # HP-UX older versions -Aa -D_HPUX_SOURCE
2707 # SVR4 -Xc -D__EXTENSIONS__
2708 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2710 CC
="$ac_save_CC $ac_arg"
2711 rm -f conftest.
$ac_objext
2712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2713 (eval $ac_compile) 2>conftest.er1
2715 grep -v '^ *+' conftest.er1
>conftest.err
2717 cat conftest.err
>&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); } &&
2720 { ac_try
='test -z "$ac_c_werror_flag"
2721 || test ! -s conftest.err'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; } &&
2727 { ac_try
='test -s conftest.$ac_objext'
2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then
2733 ac_cv_prog_cc_stdc
=$ac_arg
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.
$ac_ext >&5
2740 rm -f conftest.err conftest.
$ac_objext
2742 rm -f conftest.
$ac_ext conftest.
$ac_objext
2747 case "x$ac_cv_prog_cc_stdc" in
2749 echo "$as_me:$LINENO: result: none needed" >&5
2750 echo "${ECHO_T}none needed" >&6 ;;
2752 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2753 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2754 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2757 # Some people use a C++ compiler to compile C. Since we use `exit',
2758 # in C++ we need to declare it. In case someone uses the same compiler
2759 # for both compiling C and C++ we need to have the C++ compiler decide
2760 # the declaration of exit, since it's the most demanding environment.
2761 cat >conftest.
$ac_ext <<_ACEOF
2766 rm -f conftest.
$ac_objext
2767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2768 (eval $ac_compile) 2>conftest.er1
2770 grep -v '^ *+' conftest.er1
>conftest.err
2772 cat conftest.err
>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); } &&
2775 { ac_try
='test -z "$ac_c_werror_flag"
2776 || test ! -s conftest.err'
2777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); }; } &&
2782 { ac_try
='test -s conftest.$ac_objext'
2783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; }; then
2788 for ac_declaration
in \
2790 'extern "C" void std::exit (int) throw (); using std::exit;' \
2791 'extern "C" void std::exit (int); using std::exit;' \
2792 'extern "C" void exit (int) throw ();' \
2793 'extern "C" void exit (int);' \
2796 cat >conftest.
$ac_ext <<_ACEOF
2799 cat confdefs.h
>>conftest.
$ac_ext
2800 cat >>conftest.
$ac_ext <<_ACEOF
2801 /* end confdefs.h. */
2812 rm -f conftest.
$ac_objext
2813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2814 (eval $ac_compile) 2>conftest.er1
2816 grep -v '^ *+' conftest.er1
>conftest.err
2818 cat conftest.err
>&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } &&
2821 { ac_try
='test -z "$ac_c_werror_flag"
2822 || test ! -s conftest.err'
2823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); }; } &&
2828 { ac_try
='test -s conftest.$ac_objext'
2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; }; then
2836 echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.
$ac_ext >&5
2841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2842 cat >conftest.
$ac_ext <<_ACEOF
2845 cat confdefs.h
>>conftest.
$ac_ext
2846 cat >>conftest.
$ac_ext <<_ACEOF
2847 /* end confdefs.h. */
2857 rm -f conftest.
$ac_objext
2858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2859 (eval $ac_compile) 2>conftest.er1
2861 grep -v '^ *+' conftest.er1
>conftest.err
2863 cat conftest.err
>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); } &&
2866 { ac_try
='test -z "$ac_c_werror_flag"
2867 || test ! -s conftest.err'
2868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }; } &&
2873 { ac_try
='test -s conftest.$ac_objext'
2874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }; }; then
2881 echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.
$ac_ext >&5
2885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2888 if test -n "$ac_declaration"; then
2889 echo '#ifdef __cplusplus' >>confdefs.h
2890 echo $ac_declaration >>confdefs.h
2891 echo '#endif' >>confdefs.h
2895 echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.
$ac_ext >&5
2899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2901 ac_cpp
='$CPP $CPPFLAGS'
2902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2905 DEPDIR
="${am__leading_dot}deps"
2907 ac_config_commands
="$ac_config_commands depfiles"
2910 am_make
=${MAKE-make}
2911 cat > confinc
<< 'END'
2916 # If we don't find an include directive, just comment out the code.
2917 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2918 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2922 # First try GNU make style include.
2923 echo "include confinc" > confmf
2924 # We grep out `Entering directory' and `Leaving directory'
2925 # messages which can occur if `w' ends up in MAKEFLAGS.
2926 # In particular we don't look at `^make:' because GNU make might
2927 # be invoked under some other name (usually "gmake"), in which
2928 # case it prints its new name instead of `make'.
2929 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2934 # Now try BSD make style include.
2935 if test "$am__include" = "#"; then
2936 echo '.include "confinc"' > confmf
2937 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2938 am__include
=.include
2945 echo "$as_me:$LINENO: result: $_am_result" >&5
2946 echo "${ECHO_T}$_am_result" >&6
2947 rm -f confinc confmf
2949 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2950 if test "${enable_dependency_tracking+set}" = set; then
2951 enableval
="$enable_dependency_tracking"
2954 if test "x$enable_dependency_tracking" != xno
; then
2955 am_depcomp
="$ac_aux_dir/depcomp"
2960 if test "x$enable_dependency_tracking" != xno; then
2971 depcc
="$CC" am_compiler_list
=
2973 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2974 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2975 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2979 # We make a subdir and do the tests there. Otherwise we can end up
2980 # making bogus files that we don't know about and never remove. For
2981 # instance it was reported that on HP-UX the gcc test will end up
2982 # making a dummy file named `D' -- because `-MD' means `put the output
2985 # Copy depcomp to subdir because otherwise we won't find it if we're
2986 # using a relative directory.
2987 cp "$am_depcomp" conftest.dir
2989 # We will build objects and dependencies in a subdirectory because
2990 # it helps to detect inapplicable dependency modes. For instance
2991 # both Tru64's cc and ICC support -MD to output dependencies as a
2992 # side effect of compilation, but ICC will put the dependencies in
2993 # the current directory while Tru64 will put them in the object
2997 am_cv_CC_dependencies_compiler_type
=none
2998 if test "$am_compiler_list" = ""; then
2999 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3001 for depmode
in $am_compiler_list; do
3002 # Setup a source with many dependencies, because some compilers
3003 # like to wrap large dependency lists on column 80 (with \), and
3004 # we should not choose a depcomp mode which is confused by this.
3006 # We need to recreate these files for each test, as the compiler may
3007 # overwrite some of them when testing with obscure command lines.
3008 # This happens at least with the AIX C compiler.
3010 for i
in 1 2 3 4 5 6; do
3011 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3012 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3013 # Solaris 8's {/usr,}/bin/sh.
3014 touch sub
/conftst
$i.h
3016 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3020 # after this tag, mechanisms are not by side-effect, so they'll
3021 # only be used when explicitly requested
3022 if test "x$enable_dependency_tracking" = xyes
; then
3030 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3031 # mode. It turns out that the SunPro C++ compiler does not properly
3032 # handle `-M -o', and we need to detect this.
3033 if depmode
=$depmode \
3034 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3035 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3036 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3037 >/dev
/null
2>conftest.err
&&
3038 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3039 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3040 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3041 # icc doesn't choke on unknown options, it will just issue warnings
3042 # or remarks (even with -Werror). So we grep stderr for any message
3043 # that says an option was ignored or not supported.
3044 # When given -MP, icc 7.0 and 7.1 complain thusly:
3045 # icc: Command line warning: ignoring option '-M'; no argument required
3046 # The diagnosis changed in icc 8.0:
3047 # icc: Command line remark: option '-MP' not supported
3048 if (grep 'ignoring option' conftest.err ||
3049 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3050 am_cv_CC_dependencies_compiler_type
=$depmode
3059 am_cv_CC_dependencies_compiler_type
=none
3063 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3064 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3065 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3070 test "x$enable_dependency_tracking" != xno \
3071 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3073 am__fastdepCC_FALSE
='#'
3075 am__fastdepCC_TRUE
='#'
3076 am__fastdepCC_FALSE
=
3081 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3082 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3083 if test "${ac_cv_c_const+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 cat >conftest.
$ac_ext <<_ACEOF
3089 cat confdefs.h
>>conftest.
$ac_ext
3090 cat >>conftest.
$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3096 /* FIXME: Include the comments suggested by Paul. */
3098 /* Ultrix mips cc rejects this. */
3099 typedef int charset[2];
3101 /* SunOS 4.1.1 cc rejects this. */
3102 char const *const *ccp;
3104 /* NEC SVR4.0.2 mips cc rejects this. */
3105 struct point {int x, y;};
3106 static struct point const zero = {0,0};
3107 /* AIX XL C 1.02.0.0 rejects this.
3108 It does not let you subtract one const X* pointer from another in
3109 an arm of an if-expression whose if-part is not a constant
3111 const char *g = "string";
3112 ccp = &g + (g ? g-g : 0);
3113 /* HPUX 7.0 cc rejects these. */
3116 ccp = (char const *const *) p;
3117 { /* SCO 3.2v4 cc rejects this. */
3119 char const *s = 0 ? (char *) 0 : (char const *) 0;
3123 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3125 const int *foo = &x[0];
3128 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3129 typedef const int *iptr;
3133 { /* AIX XL C 1.02.0.0 rejects this saying
3134 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3135 struct s { int j; const int *ap[3]; };
3136 struct s *b; b->j = 5;
3138 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3147 rm -f conftest.
$ac_objext
3148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3149 (eval $ac_compile) 2>conftest.er1
3151 grep -v '^ *+' conftest.er1
>conftest.err
3153 cat conftest.err
>&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); } &&
3156 { ac_try
='test -z "$ac_c_werror_flag"
3157 || test ! -s conftest.err'
3158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); }; } &&
3163 { ac_try
='test -s conftest.$ac_objext'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; }; then
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.
$ac_ext >&5
3176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3178 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3179 echo "${ECHO_T}$ac_cv_c_const" >&6
3180 if test $ac_cv_c_const = no
; then
3182 cat >>confdefs.h
<<\_ACEOF
3188 echo "$as_me:$LINENO: checking for inline" >&5
3189 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3190 if test "${ac_cv_c_inline+set}" = set; then
3191 echo $ECHO_N "(cached) $ECHO_C" >&6
3194 for ac_kw
in inline __inline__ __inline
; do
3195 cat >conftest.
$ac_ext <<_ACEOF
3198 cat confdefs.h
>>conftest.
$ac_ext
3199 cat >>conftest.
$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3203 static $ac_kw foo_t static_foo () {return 0; }
3204 $ac_kw foo_t foo () {return 0; }
3208 rm -f conftest.
$ac_objext
3209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3210 (eval $ac_compile) 2>conftest.er1
3212 grep -v '^ *+' conftest.er1
>conftest.err
3214 cat conftest.err
>&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } &&
3217 { ac_try
='test -z "$ac_c_werror_flag"
3218 || test ! -s conftest.err'
3219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; } &&
3224 { ac_try
='test -s conftest.$ac_objext'
3225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; }; then
3230 ac_cv_c_inline
=$ac_kw; break
3232 echo "$as_me: failed program was:" >&5
3233 sed 's/^/| /' conftest.
$ac_ext >&5
3236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3240 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3241 echo "${ECHO_T}$ac_cv_c_inline" >&6
3244 case $ac_cv_c_inline in
3247 case $ac_cv_c_inline in
3249 *) ac_val
=$ac_cv_c_inline;;
3251 cat >>confdefs.h
<<_ACEOF
3253 #define inline $ac_val
3261 ## ----------------------- ##
3262 ## Libtool initialisation. ##
3263 ## ----------------------- ##
3266 # Check whether --enable-shared or --disable-shared was given.
3267 if test "${enable_shared+set}" = set; then
3268 enableval
="$enable_shared"
3269 p
=${PACKAGE-default}
3271 yes) enable_shared
=yes ;;
3272 no
) enable_shared
=no
;;
3275 # Look at the argument we got. We use all the common list separators.
3276 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3277 for pkg
in $enableval; do
3279 if test "X$pkg" = "X$p"; then
3290 # Check whether --enable-static or --disable-static was given.
3291 if test "${enable_static+set}" = set; then
3292 enableval
="$enable_static"
3293 p
=${PACKAGE-default}
3295 yes) enable_static
=yes ;;
3296 no
) enable_static
=no
;;
3299 # Look at the argument we got. We use all the common list separators.
3300 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3301 for pkg
in $enableval; do
3303 if test "X$pkg" = "X$p"; then
3314 # Check whether --enable-fast-install or --disable-fast-install was given.
3315 if test "${enable_fast_install+set}" = set; then
3316 enableval
="$enable_fast_install"
3317 p
=${PACKAGE-default}
3319 yes) enable_fast_install
=yes ;;
3320 no
) enable_fast_install
=no
;;
3322 enable_fast_install
=no
3323 # Look at the argument we got. We use all the common list separators.
3324 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3325 for pkg
in $enableval; do
3327 if test "X$pkg" = "X$p"; then
3328 enable_fast_install
=yes
3335 enable_fast_install
=yes
3338 # Make sure we can run config.sub.
3339 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3340 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3341 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3342 { (exit 1); exit 1; }; }
3344 echo "$as_me:$LINENO: checking build system type" >&5
3345 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3346 if test "${ac_cv_build+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 ac_cv_build_alias
=$build_alias
3350 test -z "$ac_cv_build_alias" &&
3351 ac_cv_build_alias
=`$ac_config_guess`
3352 test -z "$ac_cv_build_alias" &&
3353 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3354 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3355 { (exit 1); exit 1; }; }
3356 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3357 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3358 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3359 { (exit 1); exit 1; }; }
3362 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3363 echo "${ECHO_T}$ac_cv_build" >&6
3365 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3366 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3367 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3370 echo "$as_me:$LINENO: checking host system type" >&5
3371 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3372 if test "${ac_cv_host+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 ac_cv_host_alias
=$host_alias
3376 test -z "$ac_cv_host_alias" &&
3377 ac_cv_host_alias
=$ac_cv_build_alias
3378 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3379 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3380 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3381 { (exit 1); exit 1; }; }
3384 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3385 echo "${ECHO_T}$ac_cv_host" >&6
3387 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3388 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3389 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3392 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3393 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3394 if test "${lt_cv_path_SED+set}" = set; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6
3397 # Loop through the user's path and test for sed and gsed.
3398 # Then use that list of sed's as ones to test for truncation.
3399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3403 test -z "$as_dir" && as_dir
=.
3404 for lt_ac_prog
in sed gsed
; do
3405 for ac_exec_ext
in '' $ac_executable_extensions; do
3406 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3407 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3415 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3416 # along with /bin/sed that truncates output.
3417 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3418 test ! -f $lt_ac_sed && continue
3419 cat /dev
/null
> conftest.
in
3421 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3422 # Check for GNU sed and select it if it is found.
3423 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3424 lt_cv_path_SED
=$lt_ac_sed
3428 cat conftest.
in conftest.
in >conftest.tmp
3429 mv conftest.tmp conftest.
in
3430 cp conftest.
in conftest.
nl
3432 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3433 cmp -s conftest.out conftest.
nl ||
break
3434 # 10000 chars as input seems more than enough
3435 test $lt_ac_count -gt 10 && break
3436 lt_ac_count
=`expr $lt_ac_count + 1`
3437 if test $lt_ac_count -gt $lt_ac_max; then
3438 lt_ac_max
=$lt_ac_count
3439 lt_cv_path_SED
=$lt_ac_sed
3448 echo "$as_me:$LINENO: result: $SED" >&5
3449 echo "${ECHO_T}$SED" >&6
3451 echo "$as_me:$LINENO: checking for egrep" >&5
3452 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3453 if test "${ac_cv_prog_egrep+set}" = set; then
3454 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3457 then ac_cv_prog_egrep
='grep -E'
3458 else ac_cv_prog_egrep
='egrep'
3461 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3462 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3463 EGREP
=$ac_cv_prog_egrep
3467 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3468 if test "${with_gnu_ld+set}" = set; then
3469 withval
="$with_gnu_ld"
3470 test "$withval" = no || with_gnu_ld
=yes
3475 if test "$GCC" = yes; then
3476 # Check if gcc -print-prog-name=ld gives a path.
3477 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3478 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3481 # gcc leaves a trailing carriage return which upsets mingw
3482 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3484 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3487 # Accept absolute paths.
3489 re_direlt
='/[^/][^/]*/\.\./'
3490 # Canonicalize the pathname of ld
3491 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3492 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3493 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3495 test -z "$LD" && LD
="$ac_prog"
3498 # If it fails, then pretend we aren't using GCC.
3502 # If it is relative, then search for the first ld in PATH.
3506 elif test "$with_gnu_ld" = yes; then
3507 echo "$as_me:$LINENO: checking for GNU ld" >&5
3508 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3510 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3511 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3513 if test "${lt_cv_path_LD+set}" = set; then
3514 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 if test -z "$LD"; then
3517 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3518 for ac_dir
in $PATH; do
3520 test -z "$ac_dir" && ac_dir
=.
3521 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3522 lt_cv_path_LD
="$ac_dir/$ac_prog"
3523 # Check to see if the program is GNU ld. I'd rather use --version,
3524 # but apparently some variants of GNU ld only accept -v.
3525 # Break only if it was the GNU/non-GNU ld that we prefer.
3526 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3527 *GNU
* |
*'with BFD'*)
3528 test "$with_gnu_ld" != no
&& break
3531 test "$with_gnu_ld" != yes && break
3538 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3543 if test -n "$LD"; then
3544 echo "$as_me:$LINENO: result: $LD" >&5
3545 echo "${ECHO_T}$LD" >&6
3547 echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6
3550 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3551 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3552 { (exit 1); exit 1; }; }
3553 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3554 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3555 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3559 case `$LD -v 2>&1 </dev/null` in
3560 *GNU
* |
*'with BFD'*)
3561 lt_cv_prog_gnu_ld
=yes
3564 lt_cv_prog_gnu_ld
=no
3568 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3569 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3570 with_gnu_ld
=$lt_cv_prog_gnu_ld
3573 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3574 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3575 if test "${lt_cv_ld_reload_flag+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 lt_cv_ld_reload_flag
='-r'
3580 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3581 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3582 reload_flag
=$lt_cv_ld_reload_flag
3583 case $reload_flag in
3585 *) reload_flag
=" $reload_flag" ;;
3587 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3590 if test "$GCC" = yes; then
3591 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3593 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3598 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3599 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3600 if test "${lt_cv_path_NM+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 if test -n "$NM"; then
3604 # Let the user override the test.
3607 lt_nm_to_check
="${ac_tool_prefix}nm"
3608 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3609 lt_nm_to_check
="$lt_nm_to_check nm"
3611 for lt_tmp_nm
in $lt_nm_to_check; do
3612 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3613 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3615 test -z "$ac_dir" && ac_dir
=.
3616 tmp_nm
="$ac_dir/$lt_tmp_nm"
3617 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3618 # Check to see if the nm accepts a BSD-compat flag.
3619 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3620 # nm: unknown option "B" ignored
3621 # Tru64's nm complains that /dev/null is an invalid object file
3622 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3623 */dev
/null
* |
*'Invalid file or object type'*)
3624 lt_cv_path_NM
="$tmp_nm -B"
3628 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3630 lt_cv_path_NM
="$tmp_nm -p"
3634 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3635 continue # so that we can try to find one that supports BSD flags
3644 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3647 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3648 echo "${ECHO_T}$lt_cv_path_NM" >&6
3651 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3652 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3654 if test "$LN_S" = "ln -s"; then
3655 echo "$as_me:$LINENO: result: yes" >&5
3656 echo "${ECHO_T}yes" >&6
3658 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3659 echo "${ECHO_T}no, using $LN_S" >&6
3662 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3663 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3664 if test "${lt_cv_deplibs_check_method+set}" = set; then
3665 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3668 lt_cv_file_magic_test_file
=
3669 lt_cv_deplibs_check_method
='unknown'
3670 # Need to set the preceding variable on all platforms that support
3671 # interlibrary dependencies.
3672 # 'none' -- dependencies not supported.
3673 # `unknown' -- same as none, but documents that we really don't know.
3674 # 'pass_all' -- all dependencies passed with no checks.
3675 # 'test_compile' -- check by making test program.
3676 # 'file_magic [[regex]]' -- check by looking for files in library path
3677 # which responds to the $file_magic_cmd with a given extended regex.
3678 # If you have `file' or equivalent on your system and you're not sure
3679 # whether `pass_all' will *always* work, you probably want this one.
3683 lt_cv_deplibs_check_method
=pass_all
3687 lt_cv_deplibs_check_method
=pass_all
3691 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3692 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3693 lt_cv_file_magic_test_file
=/shlib
/libc.so
3697 # func_win32_libid is a shell function defined in ltmain.sh
3698 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3699 lt_cv_file_magic_cmd
='func_win32_libid'
3703 # Base MSYS/MinGW do not provide the 'file' command needed by
3704 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3705 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3706 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3709 darwin
* | rhapsody
*)
3710 lt_cv_deplibs_check_method
=pass_all
3713 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3714 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3717 # Not sure whether the presence of OpenBSD here was a mistake.
3718 # Let's accept both of them until this is cleared up.
3719 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3720 lt_cv_file_magic_cmd
=/usr
/bin
/file
3721 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3725 lt_cv_deplibs_check_method
=pass_all
3730 lt_cv_deplibs_check_method
=pass_all
3733 hpux10.20
* | hpux11
*)
3734 lt_cv_file_magic_cmd
=/usr
/bin
/file
3737 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3738 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3741 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]'
3742 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3745 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3746 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3752 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3753 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3756 irix5
* | irix6
* | nonstopux
*)
3758 *-32|
*"-32 ") libmagic
=32-bit;;
3759 *-n32|
*"-n32 ") libmagic
=N32
;;
3760 *-64|
*"-64 ") libmagic
=64-bit;;
3761 *) libmagic
=never-match
;;
3763 lt_cv_deplibs_check_method
=pass_all
3766 # This must be Linux ELF.
3768 lt_cv_deplibs_check_method
=pass_all
3772 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3773 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3775 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3780 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3781 lt_cv_file_magic_cmd
=/usr
/bin
/file
3782 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3786 lt_cv_deplibs_check_method
=unknown
3790 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3791 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3793 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3797 osf3
* | osf4
* | osf5
*)
3798 lt_cv_deplibs_check_method
=pass_all
3802 lt_cv_deplibs_check_method
=pass_all
3806 case $host_vendor in
3808 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]'
3809 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3812 lt_cv_deplibs_check_method
=pass_all
3815 lt_cv_file_magic_cmd
='/bin/file'
3816 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3819 lt_cv_file_magic_cmd
='/bin/file'
3820 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3821 lt_cv_file_magic_test_file
=/lib
/libc.so
3824 lt_cv_deplibs_check_method
=pass_all
3827 lt_cv_deplibs_check_method
=pass_all
3832 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3833 lt_cv_deplibs_check_method
=pass_all
3838 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3839 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3840 file_magic_cmd
=$lt_cv_file_magic_cmd
3841 deplibs_check_method
=$lt_cv_deplibs_check_method
3842 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3847 # If no C compiler was specified, use CC.
3850 # If no C compiler flags were specified, use CFLAGS.
3851 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3853 # Allow CC to be a program name with arguments.
3856 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3857 if test "${enable_libtool_lock+set}" = set; then
3858 enableval
="$enable_libtool_lock"
3861 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3863 # Some flags need to be propagated to the compiler or linker for good
3867 # Find out which ABI we are using.
3868 echo 'int i;' > conftest.
$ac_ext
3869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3870 (eval $ac_compile) 2>&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; then
3874 case `/usr/bin/file conftest.$ac_objext` in
3886 # Find out which ABI we are using.
3887 echo '#line 3887 "configure"' > conftest.
$ac_ext
3888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3889 (eval $ac_compile) 2>&5
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); }; then
3893 if test "$lt_cv_prog_gnu_ld" = yes; then
3894 case `/usr/bin/file conftest.$ac_objext` in
3896 LD
="${LD-ld} -melf32bsmip"
3899 LD
="${LD-ld} -melf32bmipn32"
3902 LD
="${LD-ld} -melf64bmip"
3906 case `/usr/bin/file conftest.$ac_objext` in
3922 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3923 # Find out which ABI we are using.
3924 echo 'int i;' > conftest.
$ac_ext
3925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3926 (eval $ac_compile) 2>&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); }; then
3930 case `/usr/bin/file conftest.o` in
3934 LD
="${LD-ld} -m elf_i386"
3936 ppc64-
*linux
*|powerpc64-
*linux
*)
3937 LD
="${LD-ld} -m elf32ppclinux"
3940 LD
="${LD-ld} -m elf_s390"
3943 LD
="${LD-ld} -m elf32_sparc"
3950 LD
="${LD-ld} -m elf_x86_64"
3952 ppc
*-*linux
*|powerpc
*-*linux
*)
3953 LD
="${LD-ld} -m elf64ppc"
3956 LD
="${LD-ld} -m elf64_s390"
3959 LD
="${LD-ld} -m elf64_sparc"
3969 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3970 SAVE_CFLAGS
="$CFLAGS"
3971 CFLAGS
="$CFLAGS -belf"
3972 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3973 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3974 if test "${lt_cv_cc_needs_belf+set}" = set; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3978 ac_cpp
='$CPP $CPPFLAGS'
3979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3983 cat >conftest.
$ac_ext <<_ACEOF
3986 cat confdefs.h
>>conftest.
$ac_ext
3987 cat >>conftest.
$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3998 rm -f conftest.
$ac_objext conftest
$ac_exeext
3999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4000 (eval $ac_link) 2>conftest.er1
4002 grep -v '^ *+' conftest.er1
>conftest.err
4004 cat conftest.err
>&5
4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006 (exit $ac_status); } &&
4007 { ac_try
='test -z "$ac_c_werror_flag"
4008 || test ! -s conftest.err'
4009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); }; } &&
4014 { ac_try
='test -s conftest$ac_exeext'
4015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); }; }; then
4020 lt_cv_cc_needs_belf
=yes
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.
$ac_ext >&5
4025 lt_cv_cc_needs_belf
=no
4027 rm -f conftest.err conftest.
$ac_objext \
4028 conftest
$ac_exeext conftest.
$ac_ext
4030 ac_cpp
='$CPP $CPPFLAGS'
4031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4036 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4037 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4038 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4039 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4040 CFLAGS
="$SAVE_CFLAGS"
4044 # Find out which ABI we are using.
4045 echo 'int i;' > conftest.
$ac_ext
4046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4047 (eval $ac_compile) 2>&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); }; then
4051 case `/usr/bin/file conftest.o` in
4053 case $lt_cv_prog_gnu_ld in
4054 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
4055 *) LD
="${LD-ld} -64" ;;
4063 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
4064 if test -n "$ac_tool_prefix"; then
4065 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4066 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4067 echo "$as_me:$LINENO: checking for $ac_word" >&5
4068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4069 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4070 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 if test -n "$DLLTOOL"; then
4073 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4079 test -z "$as_dir" && as_dir
=.
4080 for ac_exec_ext
in '' $ac_executable_extensions; do
4081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4082 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4091 DLLTOOL
=$ac_cv_prog_DLLTOOL
4092 if test -n "$DLLTOOL"; then
4093 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4094 echo "${ECHO_T}$DLLTOOL" >&6
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4101 if test -z "$ac_cv_prog_DLLTOOL"; then
4102 ac_ct_DLLTOOL
=$DLLTOOL
4103 # Extract the first word of "dlltool", so it can be a program name with args.
4104 set dummy dlltool
; ac_word
=$2
4105 echo "$as_me:$LINENO: checking for $ac_word" >&5
4106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4107 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 if test -n "$ac_ct_DLLTOOL"; then
4111 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4117 test -z "$as_dir" && as_dir
=.
4118 for ac_exec_ext
in '' $ac_executable_extensions; do
4119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4120 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4127 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
4130 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4131 if test -n "$ac_ct_DLLTOOL"; then
4132 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4133 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4135 echo "$as_me:$LINENO: result: no" >&5
4136 echo "${ECHO_T}no" >&6
4139 DLLTOOL
=$ac_ct_DLLTOOL
4141 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4144 if test -n "$ac_tool_prefix"; then
4145 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4146 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4147 echo "$as_me:$LINENO: checking for $ac_word" >&5
4148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4149 if test "${ac_cv_prog_AS+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 if test -n "$AS"; then
4153 ac_cv_prog_AS
="$AS" # Let the user override the test.
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4162 ac_cv_prog_AS
="${ac_tool_prefix}as"
4163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4172 if test -n "$AS"; then
4173 echo "$as_me:$LINENO: result: $AS" >&5
4174 echo "${ECHO_T}$AS" >&6
4176 echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6
4181 if test -z "$ac_cv_prog_AS"; then
4183 # Extract the first word of "as", so it can be a program name with args.
4184 set dummy as
; ac_word
=$2
4185 echo "$as_me:$LINENO: checking for $ac_word" >&5
4186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4187 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4188 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 if test -n "$ac_ct_AS"; then
4191 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4197 test -z "$as_dir" && as_dir
=.
4198 for ac_exec_ext
in '' $ac_executable_extensions; do
4199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4200 ac_cv_prog_ac_ct_AS
="as"
4201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
4210 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4211 if test -n "$ac_ct_AS"; then
4212 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4213 echo "${ECHO_T}$ac_ct_AS" >&6
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4224 if test -n "$ac_tool_prefix"; then
4225 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4226 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4227 echo "$as_me:$LINENO: checking for $ac_word" >&5
4228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4229 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 if test -n "$OBJDUMP"; then
4233 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4239 test -z "$as_dir" && as_dir
=.
4240 for ac_exec_ext
in '' $ac_executable_extensions; do
4241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4242 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 OBJDUMP
=$ac_cv_prog_OBJDUMP
4252 if test -n "$OBJDUMP"; then
4253 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4254 echo "${ECHO_T}$OBJDUMP" >&6
4256 echo "$as_me:$LINENO: result: no" >&5
4257 echo "${ECHO_T}no" >&6
4261 if test -z "$ac_cv_prog_OBJDUMP"; then
4262 ac_ct_OBJDUMP
=$OBJDUMP
4263 # Extract the first word of "objdump", so it can be a program name with args.
4264 set dummy objdump
; ac_word
=$2
4265 echo "$as_me:$LINENO: checking for $ac_word" >&5
4266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4267 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 if test -n "$ac_ct_OBJDUMP"; then
4271 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir
=.
4278 for ac_exec_ext
in '' $ac_executable_extensions; do
4279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4280 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
4290 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4291 if test -n "$ac_ct_OBJDUMP"; then
4292 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4293 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4295 echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6
4299 OBJDUMP
=$ac_ct_OBJDUMP
4301 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4308 need_locks
="$enable_libtool_lock"
4312 ac_cpp
='$CPP $CPPFLAGS'
4313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4316 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4317 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4318 # On Suns, sometimes $CPP names a directory.
4319 if test -n "$CPP" && test -d "$CPP"; then
4322 if test -z "$CPP"; then
4323 if test "${ac_cv_prog_CPP+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 # Double quotes because CPP needs to be expanded
4327 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4330 for ac_c_preproc_warn_flag
in '' yes
4332 # Use a header file that comes with gcc, so configuring glibc
4333 # with a fresh cross-compiler works.
4334 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4335 # <limits.h> exists even on freestanding compilers.
4336 # On the NeXT, cc -E runs the code through the compiler's parser,
4337 # not just through cpp. "Syntax error" is here to catch this case.
4338 cat >conftest.
$ac_ext <<_ACEOF
4341 cat confdefs.h
>>conftest.
$ac_ext
4342 cat >>conftest.
$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4345 # include <limits.h>
4347 # include <assert.h>
4351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4354 grep -v '^ *+' conftest.er1
>conftest.err
4356 cat conftest.err
>&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } >/dev
/null
; then
4359 if test -s conftest.err
; then
4360 ac_cpp_err
=$ac_c_preproc_warn_flag
4361 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4368 if test -z "$ac_cpp_err"; then
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.
$ac_ext >&5
4374 # Broken: fails on valid input.
4377 rm -f conftest.err conftest.
$ac_ext
4379 # OK, works on sane cases. Now check whether non-existent headers
4380 # can be detected and how.
4381 cat >conftest.
$ac_ext <<_ACEOF
4384 cat confdefs.h
>>conftest.
$ac_ext
4385 cat >>conftest.
$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4387 #include <ac_nonexistent.h>
4389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4392 grep -v '^ *+' conftest.er1
>conftest.err
4394 cat conftest.err
>&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } >/dev
/null
; then
4397 if test -s conftest.err
; then
4398 ac_cpp_err
=$ac_c_preproc_warn_flag
4399 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4406 if test -z "$ac_cpp_err"; then
4407 # Broken: success on invalid input.
4410 echo "$as_me: failed program was:" >&5
4411 sed 's/^/| /' conftest.
$ac_ext >&5
4413 # Passes both tests.
4417 rm -f conftest.err conftest.
$ac_ext
4420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4421 rm -f conftest.err conftest.
$ac_ext
4422 if $ac_preproc_ok; then
4434 echo "$as_me:$LINENO: result: $CPP" >&5
4435 echo "${ECHO_T}$CPP" >&6
4437 for ac_c_preproc_warn_flag
in '' yes
4439 # Use a header file that comes with gcc, so configuring glibc
4440 # with a fresh cross-compiler works.
4441 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4442 # <limits.h> exists even on freestanding compilers.
4443 # On the NeXT, cc -E runs the code through the compiler's parser,
4444 # not just through cpp. "Syntax error" is here to catch this case.
4445 cat >conftest.
$ac_ext <<_ACEOF
4448 cat confdefs.h
>>conftest.
$ac_ext
4449 cat >>conftest.
$ac_ext <<_ACEOF
4450 /* end confdefs.h. */
4452 # include <limits.h>
4454 # include <assert.h>
4458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4461 grep -v '^ *+' conftest.er1
>conftest.err
4463 cat conftest.err
>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } >/dev
/null
; then
4466 if test -s conftest.err
; then
4467 ac_cpp_err
=$ac_c_preproc_warn_flag
4468 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4475 if test -z "$ac_cpp_err"; then
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.
$ac_ext >&5
4481 # Broken: fails on valid input.
4484 rm -f conftest.err conftest.
$ac_ext
4486 # OK, works on sane cases. Now check whether non-existent headers
4487 # can be detected and how.
4488 cat >conftest.
$ac_ext <<_ACEOF
4491 cat confdefs.h
>>conftest.
$ac_ext
4492 cat >>conftest.
$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 #include <ac_nonexistent.h>
4496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4497 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4499 grep -v '^ *+' conftest.er1
>conftest.err
4501 cat conftest.err
>&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); } >/dev
/null
; then
4504 if test -s conftest.err
; then
4505 ac_cpp_err
=$ac_c_preproc_warn_flag
4506 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4513 if test -z "$ac_cpp_err"; then
4514 # Broken: success on invalid input.
4517 echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.
$ac_ext >&5
4520 # Passes both tests.
4524 rm -f conftest.err conftest.
$ac_ext
4527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4528 rm -f conftest.err conftest.
$ac_ext
4529 if $ac_preproc_ok; then
4532 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4533 See \`config.log' for more details." >&5
4534 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4535 See \`config.log' for more details." >&2;}
4536 { (exit 1); exit 1; }; }
4540 ac_cpp
='$CPP $CPPFLAGS'
4541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4546 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4547 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4548 if test "${ac_cv_header_stdc+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 cat >conftest.
$ac_ext <<_ACEOF
4554 cat confdefs.h
>>conftest.
$ac_ext
4555 cat >>conftest.
$ac_ext <<_ACEOF
4556 /* end confdefs.h. */
4570 rm -f conftest.
$ac_objext
4571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4572 (eval $ac_compile) 2>conftest.er1
4574 grep -v '^ *+' conftest.er1
>conftest.err
4576 cat conftest.err
>&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); } &&
4579 { ac_try
='test -z "$ac_c_werror_flag"
4580 || test ! -s conftest.err'
4581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); }; } &&
4586 { ac_try
='test -s conftest.$ac_objext'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 ac_cv_header_stdc
=yes
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.
$ac_ext >&5
4597 ac_cv_header_stdc
=no
4599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4601 if test $ac_cv_header_stdc = yes; then
4602 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4603 cat >conftest.
$ac_ext <<_ACEOF
4606 cat confdefs.h
>>conftest.
$ac_ext
4607 cat >>conftest.
$ac_ext <<_ACEOF
4608 /* end confdefs.h. */
4612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4613 $EGREP "memchr" >/dev
/null
2>&1; then
4616 ac_cv_header_stdc
=no
4622 if test $ac_cv_header_stdc = yes; then
4623 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4624 cat >conftest.
$ac_ext <<_ACEOF
4627 cat confdefs.h
>>conftest.
$ac_ext
4628 cat >>conftest.
$ac_ext <<_ACEOF
4629 /* end confdefs.h. */
4633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4634 $EGREP "free" >/dev
/null
2>&1; then
4637 ac_cv_header_stdc
=no
4643 if test $ac_cv_header_stdc = yes; then
4644 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4645 if test "$cross_compiling" = yes; then
4648 cat >conftest.
$ac_ext <<_ACEOF
4651 cat confdefs.h
>>conftest.
$ac_ext
4652 cat >>conftest.
$ac_ext <<_ACEOF
4653 /* end confdefs.h. */
4655 #if ((' ' & 0x0FF) == 0x020)
4656 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4657 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4659 # define ISLOWER(c) \
4660 (('a' <= (c) && (c) <= 'i') \
4661 || ('j' <= (c) && (c) <= 'r') \
4662 || ('s' <= (c) && (c) <= 'z'))
4663 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4666 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4671 for (i = 0; i < 256; i++)
4672 if (XOR (islower (i), ISLOWER (i))
4673 || toupper (i) != TOUPPER (i))
4678 rm -f conftest
$ac_exeext
4679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4680 (eval $ac_link) 2>&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); }; }; then
4691 echo "$as_me: program exited with status $ac_status" >&5
4692 echo "$as_me: failed program was:" >&5
4693 sed 's/^/| /' conftest.
$ac_ext >&5
4696 ac_cv_header_stdc
=no
4698 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4702 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4703 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4704 if test $ac_cv_header_stdc = yes; then
4706 cat >>confdefs.h
<<\_ACEOF
4707 #define STDC_HEADERS 1
4712 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4722 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4723 inttypes.h stdint.h unistd.h
4725 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4726 echo "$as_me:$LINENO: checking for $ac_header" >&5
4727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4729 echo $ECHO_N "(cached) $ECHO_C" >&6
4731 cat >conftest.
$ac_ext <<_ACEOF
4734 cat confdefs.h
>>conftest.
$ac_ext
4735 cat >>conftest.
$ac_ext <<_ACEOF
4736 /* end confdefs.h. */
4737 $ac_includes_default
4739 #include <$ac_header>
4741 rm -f conftest.
$ac_objext
4742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4743 (eval $ac_compile) 2>conftest.er1
4745 grep -v '^ *+' conftest.er1
>conftest.err
4747 cat conftest.err
>&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); } &&
4750 { ac_try
='test -z "$ac_c_werror_flag"
4751 || test ! -s conftest.err'
4752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }; } &&
4757 { ac_try
='test -s conftest.$ac_objext'
4758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); }; }; then
4763 eval "$as_ac_Header=yes"
4765 echo "$as_me: failed program was:" >&5
4766 sed 's/^/| /' conftest.
$ac_ext >&5
4768 eval "$as_ac_Header=no"
4770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4775 cat >>confdefs.h
<<_ACEOF
4776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4785 for ac_header
in dlfcn.h
4787 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4789 echo "$as_me:$LINENO: checking for $ac_header" >&5
4790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4792 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4797 # Is the header compilable?
4798 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4799 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4800 cat >conftest.
$ac_ext <<_ACEOF
4803 cat confdefs.h
>>conftest.
$ac_ext
4804 cat >>conftest.
$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4806 $ac_includes_default
4807 #include <$ac_header>
4809 rm -f conftest.
$ac_objext
4810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4811 (eval $ac_compile) 2>conftest.er1
4813 grep -v '^ *+' conftest.er1
>conftest.err
4815 cat conftest.err
>&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); } &&
4818 { ac_try
='test -z "$ac_c_werror_flag"
4819 || test ! -s conftest.err'
4820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); }; } &&
4825 { ac_try
='test -s conftest.$ac_objext'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; }; then
4831 ac_header_compiler
=yes
4833 echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.
$ac_ext >&5
4836 ac_header_compiler
=no
4838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4840 echo "${ECHO_T}$ac_header_compiler" >&6
4842 # Is the header present?
4843 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4844 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4845 cat >conftest.
$ac_ext <<_ACEOF
4848 cat confdefs.h
>>conftest.
$ac_ext
4849 cat >>conftest.
$ac_ext <<_ACEOF
4850 /* end confdefs.h. */
4851 #include <$ac_header>
4853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4854 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4856 grep -v '^ *+' conftest.er1
>conftest.err
4858 cat conftest.err
>&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); } >/dev
/null
; then
4861 if test -s conftest.err
; then
4862 ac_cpp_err
=$ac_c_preproc_warn_flag
4863 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4870 if test -z "$ac_cpp_err"; then
4871 ac_header_preproc
=yes
4873 echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.
$ac_ext >&5
4876 ac_header_preproc
=no
4878 rm -f conftest.err conftest.
$ac_ext
4879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4880 echo "${ECHO_T}$ac_header_preproc" >&6
4882 # So? What about this header?
4883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4885 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4886 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4888 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4889 ac_header_preproc
=yes
4892 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4894 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4896 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4897 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4898 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4899 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4902 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4903 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4906 ## ---------------------------------- ##
4907 ## Report this to bug-libtool@gnu.org ##
4908 ## ---------------------------------- ##
4911 sed "s/^/$as_me: WARNING: /" >&2
4914 echo "$as_me:$LINENO: checking for $ac_header" >&5
4915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 eval "$as_ac_Header=\$ac_header_preproc"
4921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4926 cat >>confdefs.h
<<_ACEOF
4927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4935 ac_cpp
='$CXXCPP $CPPFLAGS'
4936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4939 if test -n "$ac_tool_prefix"; then
4940 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4942 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4943 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4944 echo "$as_me:$LINENO: checking for $ac_word" >&5
4945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4946 if test "${ac_cv_prog_CXX+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4949 if test -n "$CXX"; then
4950 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir
=.
4957 for ac_exec_ext
in '' $ac_executable_extensions; do
4958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 if test -n "$CXX"; then
4970 echo "$as_me:$LINENO: result: $CXX" >&5
4971 echo "${ECHO_T}$CXX" >&6
4973 echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4977 test -n "$CXX" && break
4980 if test -z "$CXX"; then
4982 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4984 # Extract the first word of "$ac_prog", so it can be a program name with args.
4985 set dummy
$ac_prog; ac_word
=$2
4986 echo "$as_me:$LINENO: checking for $ac_word" >&5
4987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4988 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4989 echo $ECHO_N "(cached) $ECHO_C" >&6
4991 if test -n "$ac_ct_CXX"; then
4992 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5011 if test -n "$ac_ct_CXX"; then
5012 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5013 echo "${ECHO_T}$ac_ct_CXX" >&6
5015 echo "$as_me:$LINENO: result: no" >&5
5016 echo "${ECHO_T}no" >&6
5019 test -n "$ac_ct_CXX" && break
5021 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
5027 # Provide some information about the compiler.
5028 echo "$as_me:$LINENO:" \
5029 "checking for C++ compiler version" >&5
5030 ac_compiler
=`set X $ac_compile; echo $2`
5031 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5032 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }
5036 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5037 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }
5041 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5042 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }
5047 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5048 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5049 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 cat >conftest.
$ac_ext <<_ACEOF
5055 cat confdefs.h
>>conftest.
$ac_ext
5056 cat >>conftest.
$ac_ext <<_ACEOF
5057 /* end confdefs.h. */
5070 rm -f conftest.
$ac_objext
5071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5072 (eval $ac_compile) 2>conftest.er1
5074 grep -v '^ *+' conftest.er1
>conftest.err
5076 cat conftest.err
>&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); } &&
5079 { ac_try
='test -z "$ac_cxx_werror_flag"
5080 || test ! -s conftest.err'
5081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); }; } &&
5086 { ac_try
='test -s conftest.$ac_objext'
5087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); }; }; then
5094 echo "$as_me: failed program was:" >&5
5095 sed 's/^/| /' conftest.
$ac_ext >&5
5099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5100 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5103 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5104 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5105 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5106 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5107 ac_save_CXXFLAGS
=$CXXFLAGS
5109 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5110 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5111 if test "${ac_cv_prog_cxx_g+set}" = set; then
5112 echo $ECHO_N "(cached) $ECHO_C" >&6
5114 cat >conftest.
$ac_ext <<_ACEOF
5117 cat confdefs.h
>>conftest.
$ac_ext
5118 cat >>conftest.
$ac_ext <<_ACEOF
5119 /* end confdefs.h. */
5129 rm -f conftest.
$ac_objext
5130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5131 (eval $ac_compile) 2>conftest.er1
5133 grep -v '^ *+' conftest.er1
>conftest.err
5135 cat conftest.err
>&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } &&
5138 { ac_try
='test -z "$ac_cxx_werror_flag"
5139 || test ! -s conftest.err'
5140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); }; } &&
5145 { ac_try
='test -s conftest.$ac_objext'
5146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); }; }; then
5151 ac_cv_prog_cxx_g
=yes
5153 echo "$as_me: failed program was:" >&5
5154 sed 's/^/| /' conftest.
$ac_ext >&5
5158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5160 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5161 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5162 if test "$ac_test_CXXFLAGS" = set; then
5163 CXXFLAGS
=$ac_save_CXXFLAGS
5164 elif test $ac_cv_prog_cxx_g = yes; then
5165 if test "$GXX" = yes; then
5171 if test "$GXX" = yes; then
5177 for ac_declaration
in \
5179 'extern "C" void std::exit (int) throw (); using std::exit;' \
5180 'extern "C" void std::exit (int); using std::exit;' \
5181 'extern "C" void exit (int) throw ();' \
5182 'extern "C" void exit (int);' \
5185 cat >conftest.
$ac_ext <<_ACEOF
5188 cat confdefs.h
>>conftest.
$ac_ext
5189 cat >>conftest.
$ac_ext <<_ACEOF
5190 /* end confdefs.h. */
5201 rm -f conftest.
$ac_objext
5202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5203 (eval $ac_compile) 2>conftest.er1
5205 grep -v '^ *+' conftest.er1
>conftest.err
5207 cat conftest.err
>&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } &&
5210 { ac_try
='test -z "$ac_cxx_werror_flag"
5211 || test ! -s conftest.err'
5212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); }; } &&
5217 { ac_try
='test -s conftest.$ac_objext'
5218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); }; }; then
5225 echo "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.
$ac_ext >&5
5230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5231 cat >conftest.
$ac_ext <<_ACEOF
5234 cat confdefs.h
>>conftest.
$ac_ext
5235 cat >>conftest.
$ac_ext <<_ACEOF
5236 /* end confdefs.h. */
5246 rm -f conftest.
$ac_objext
5247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5248 (eval $ac_compile) 2>conftest.er1
5250 grep -v '^ *+' conftest.er1
>conftest.err
5252 cat conftest.err
>&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); } &&
5255 { ac_try
='test -z "$ac_cxx_werror_flag"
5256 || test ! -s conftest.err'
5257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); }; } &&
5262 { ac_try
='test -s conftest.$ac_objext'
5263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); }; }; then
5270 echo "$as_me: failed program was:" >&5
5271 sed 's/^/| /' conftest.
$ac_ext >&5
5274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5277 if test -n "$ac_declaration"; then
5278 echo '#ifdef __cplusplus' >>confdefs.h
5279 echo $ac_declaration >>confdefs.h
5280 echo '#endif' >>confdefs.h
5284 ac_cpp
='$CXXCPP $CPPFLAGS'
5285 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5286 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5287 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5289 depcc
="$CXX" am_compiler_list
=
5291 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5292 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5293 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5294 echo $ECHO_N "(cached) $ECHO_C" >&6
5296 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5297 # We make a subdir and do the tests there. Otherwise we can end up
5298 # making bogus files that we don't know about and never remove. For
5299 # instance it was reported that on HP-UX the gcc test will end up
5300 # making a dummy file named `D' -- because `-MD' means `put the output
5303 # Copy depcomp to subdir because otherwise we won't find it if we're
5304 # using a relative directory.
5305 cp "$am_depcomp" conftest.dir
5307 # We will build objects and dependencies in a subdirectory because
5308 # it helps to detect inapplicable dependency modes. For instance
5309 # both Tru64's cc and ICC support -MD to output dependencies as a
5310 # side effect of compilation, but ICC will put the dependencies in
5311 # the current directory while Tru64 will put them in the object
5315 am_cv_CXX_dependencies_compiler_type
=none
5316 if test "$am_compiler_list" = ""; then
5317 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5319 for depmode
in $am_compiler_list; do
5320 # Setup a source with many dependencies, because some compilers
5321 # like to wrap large dependency lists on column 80 (with \), and
5322 # we should not choose a depcomp mode which is confused by this.
5324 # We need to recreate these files for each test, as the compiler may
5325 # overwrite some of them when testing with obscure command lines.
5326 # This happens at least with the AIX C compiler.
5328 for i
in 1 2 3 4 5 6; do
5329 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5330 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5331 # Solaris 8's {/usr,}/bin/sh.
5332 touch sub
/conftst
$i.h
5334 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5338 # after this tag, mechanisms are not by side-effect, so they'll
5339 # only be used when explicitly requested
5340 if test "x$enable_dependency_tracking" = xyes
; then
5348 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5349 # mode. It turns out that the SunPro C++ compiler does not properly
5350 # handle `-M -o', and we need to detect this.
5351 if depmode
=$depmode \
5352 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5353 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5354 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5355 >/dev
/null
2>conftest.err
&&
5356 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5357 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5358 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5359 # icc doesn't choke on unknown options, it will just issue warnings
5360 # or remarks (even with -Werror). So we grep stderr for any message
5361 # that says an option was ignored or not supported.
5362 # When given -MP, icc 7.0 and 7.1 complain thusly:
5363 # icc: Command line warning: ignoring option '-M'; no argument required
5364 # The diagnosis changed in icc 8.0:
5365 # icc: Command line remark: option '-MP' not supported
5366 if (grep 'ignoring option' conftest.err ||
5367 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5368 am_cv_CXX_dependencies_compiler_type
=$depmode
5377 am_cv_CXX_dependencies_compiler_type
=none
5381 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5382 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5383 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5388 test "x$enable_dependency_tracking" != xno \
5389 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5390 am__fastdepCXX_TRUE
=
5391 am__fastdepCXX_FALSE
='#'
5393 am__fastdepCXX_TRUE
='#'
5394 am__fastdepCXX_FALSE
=
5400 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5401 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5402 (test "X$CXX" != "Xg++"))) ; then
5404 ac_cpp
='$CXXCPP $CPPFLAGS'
5405 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5406 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5407 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5408 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5409 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5410 if test -z "$CXXCPP"; then
5411 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5412 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 # Double quotes because CXXCPP needs to be expanded
5415 for CXXCPP
in "$CXX -E" "/lib/cpp"
5418 for ac_cxx_preproc_warn_flag
in '' yes
5420 # Use a header file that comes with gcc, so configuring glibc
5421 # with a fresh cross-compiler works.
5422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5423 # <limits.h> exists even on freestanding compilers.
5424 # On the NeXT, cc -E runs the code through the compiler's parser,
5425 # not just through cpp. "Syntax error" is here to catch this case.
5426 cat >conftest.
$ac_ext <<_ACEOF
5429 cat confdefs.h
>>conftest.
$ac_ext
5430 cat >>conftest.
$ac_ext <<_ACEOF
5431 /* end confdefs.h. */
5433 # include <limits.h>
5435 # include <assert.h>
5439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5440 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5442 grep -v '^ *+' conftest.er1
>conftest.err
5444 cat conftest.err
>&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } >/dev
/null
; then
5447 if test -s conftest.err
; then
5448 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5449 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5456 if test -z "$ac_cpp_err"; then
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.
$ac_ext >&5
5462 # Broken: fails on valid input.
5465 rm -f conftest.err conftest.
$ac_ext
5467 # OK, works on sane cases. Now check whether non-existent headers
5468 # can be detected and how.
5469 cat >conftest.
$ac_ext <<_ACEOF
5472 cat confdefs.h
>>conftest.
$ac_ext
5473 cat >>conftest.
$ac_ext <<_ACEOF
5474 /* end confdefs.h. */
5475 #include <ac_nonexistent.h>
5477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5478 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5480 grep -v '^ *+' conftest.er1
>conftest.err
5482 cat conftest.err
>&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); } >/dev
/null
; then
5485 if test -s conftest.err
; then
5486 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5487 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5494 if test -z "$ac_cpp_err"; then
5495 # Broken: success on invalid input.
5498 echo "$as_me: failed program was:" >&5
5499 sed 's/^/| /' conftest.
$ac_ext >&5
5501 # Passes both tests.
5505 rm -f conftest.err conftest.
$ac_ext
5508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5509 rm -f conftest.err conftest.
$ac_ext
5510 if $ac_preproc_ok; then
5515 ac_cv_prog_CXXCPP
=$CXXCPP
5518 CXXCPP
=$ac_cv_prog_CXXCPP
5520 ac_cv_prog_CXXCPP
=$CXXCPP
5522 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5523 echo "${ECHO_T}$CXXCPP" >&6
5525 for ac_cxx_preproc_warn_flag
in '' yes
5527 # Use a header file that comes with gcc, so configuring glibc
5528 # with a fresh cross-compiler works.
5529 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5530 # <limits.h> exists even on freestanding compilers.
5531 # On the NeXT, cc -E runs the code through the compiler's parser,
5532 # not just through cpp. "Syntax error" is here to catch this case.
5533 cat >conftest.
$ac_ext <<_ACEOF
5536 cat confdefs.h
>>conftest.
$ac_ext
5537 cat >>conftest.
$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5540 # include <limits.h>
5542 # include <assert.h>
5546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5547 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5549 grep -v '^ *+' conftest.er1
>conftest.err
5551 cat conftest.err
>&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } >/dev
/null
; then
5554 if test -s conftest.err
; then
5555 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5556 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5563 if test -z "$ac_cpp_err"; then
5566 echo "$as_me: failed program was:" >&5
5567 sed 's/^/| /' conftest.
$ac_ext >&5
5569 # Broken: fails on valid input.
5572 rm -f conftest.err conftest.
$ac_ext
5574 # OK, works on sane cases. Now check whether non-existent headers
5575 # can be detected and how.
5576 cat >conftest.
$ac_ext <<_ACEOF
5579 cat confdefs.h
>>conftest.
$ac_ext
5580 cat >>conftest.
$ac_ext <<_ACEOF
5581 /* end confdefs.h. */
5582 #include <ac_nonexistent.h>
5584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5585 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5587 grep -v '^ *+' conftest.er1
>conftest.err
5589 cat conftest.err
>&5
5590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591 (exit $ac_status); } >/dev
/null
; then
5592 if test -s conftest.err
; then
5593 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5594 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5601 if test -z "$ac_cpp_err"; then
5602 # Broken: success on invalid input.
5605 echo "$as_me: failed program was:" >&5
5606 sed 's/^/| /' conftest.
$ac_ext >&5
5608 # Passes both tests.
5612 rm -f conftest.err conftest.
$ac_ext
5615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5616 rm -f conftest.err conftest.
$ac_ext
5617 if $ac_preproc_ok; then
5620 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5621 See \`config.log' for more details." >&5
5622 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5623 See \`config.log' for more details." >&2;}
5624 { (exit 1); exit 1; }; }
5628 ac_cpp
='$CXXCPP $CPPFLAGS'
5629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5637 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5638 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5639 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5640 if test -n "$ac_tool_prefix"; then
5641 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5643 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5644 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5645 echo "$as_me:$LINENO: checking for $ac_word" >&5
5646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5647 if test "${ac_cv_prog_F77+set}" = set; then
5648 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 if test -n "$F77"; then
5651 ac_cv_prog_F77
="$F77" # Let the user override the test.
5653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5657 test -z "$as_dir" && as_dir
=.
5658 for ac_exec_ext
in '' $ac_executable_extensions; do
5659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5670 if test -n "$F77"; then
5671 echo "$as_me:$LINENO: result: $F77" >&5
5672 echo "${ECHO_T}$F77" >&6
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5678 test -n "$F77" && break
5681 if test -z "$F77"; then
5683 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5685 # Extract the first word of "$ac_prog", so it can be a program name with args.
5686 set dummy
$ac_prog; ac_word
=$2
5687 echo "$as_me:$LINENO: checking for $ac_word" >&5
5688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5689 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5692 if test -n "$ac_ct_F77"; then
5693 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir
=.
5700 for ac_exec_ext
in '' $ac_executable_extensions; do
5701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_ac_ct_F77
="$ac_prog"
5703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5712 if test -n "$ac_ct_F77"; then
5713 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5714 echo "${ECHO_T}$ac_ct_F77" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5720 test -n "$ac_ct_F77" && break
5727 # Provide some information about the compiler.
5728 echo "$as_me:5728:" \
5729 "checking for Fortran 77 compiler version" >&5
5730 ac_compiler
=`set X $ac_compile; echo $2`
5731 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5732 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); }
5736 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5737 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); }
5741 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5742 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); }
5748 # If we don't use `.F' as extension, the preprocessor is not run on the
5749 # input file. (Note that this only needs to work for GNU compilers.)
5752 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5753 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5754 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5755 echo $ECHO_N "(cached) $ECHO_C" >&6
5757 cat >conftest.
$ac_ext <<_ACEOF
5765 rm -f conftest.
$ac_objext
5766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5767 (eval $ac_compile) 2>conftest.er1
5769 grep -v '^ *+' conftest.er1
>conftest.err
5771 cat conftest.err
>&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); } &&
5774 { ac_try
='test -z "$ac_f77_werror_flag"
5775 || test ! -s conftest.err'
5776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; } &&
5781 { ac_try
='test -s conftest.$ac_objext'
5782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); }; }; then
5789 echo "$as_me: failed program was:" >&5
5790 sed 's/^/| /' conftest.
$ac_ext >&5
5794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5795 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5798 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5799 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5801 ac_test_FFLAGS
=${FFLAGS+set}
5802 ac_save_FFLAGS
=$FFLAGS
5804 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5805 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5806 if test "${ac_cv_prog_f77_g+set}" = set; then
5807 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 cat >conftest.
$ac_ext <<_ACEOF
5815 rm -f conftest.
$ac_objext
5816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5817 (eval $ac_compile) 2>conftest.er1
5819 grep -v '^ *+' conftest.er1
>conftest.err
5821 cat conftest.err
>&5
5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823 (exit $ac_status); } &&
5824 { ac_try
='test -z "$ac_f77_werror_flag"
5825 || test ! -s conftest.err'
5826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); }; } &&
5831 { ac_try
='test -s conftest.$ac_objext'
5832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); }; }; then
5837 ac_cv_prog_f77_g
=yes
5839 echo "$as_me: failed program was:" >&5
5840 sed 's/^/| /' conftest.
$ac_ext >&5
5844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5847 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5848 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5849 if test "$ac_test_FFLAGS" = set; then
5850 FFLAGS
=$ac_save_FFLAGS
5851 elif test $ac_cv_prog_f77_g = yes; then
5852 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5858 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5865 G77
=`test $ac_compiler_gnu = yes && echo yes`
5867 ac_cpp
='$CPP $CPPFLAGS'
5868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5874 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5876 # find the maximum length of command line arguments
5877 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5878 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5879 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5887 # On DJGPP, this test can blow up pretty badly due to problems in libc
5888 # (any single argument exceeding 2000 bytes causes a buffer overrun
5889 # during glob expansion). Even if it were fixed, the result of this
5890 # check would be larger than it should be.
5891 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5895 # Under GNU Hurd, this test is not required because there is
5896 # no limit to the length of command line arguments.
5897 # Libtool will interpret -1 as no limit whatsoever
5898 lt_cv_sys_max_cmd_len
=-1;
5902 # On Win9x/ME, this test blows up -- it succeeds, but takes
5903 # about 5 minutes as the teststring grows exponentially.
5904 # Worse, since 9x/ME are not pre-emptively multitasking,
5905 # you end up with a "frozen" computer, even though with patience
5906 # the test eventually succeeds (with a max line length of 256k).
5907 # Instead, let's just punt: use the minimum linelength reported by
5908 # all of the supported platforms: 8192 (on NT/2K/XP).
5909 lt_cv_sys_max_cmd_len
=8192;
5913 # On AmigaOS with pdksh, this test takes hours, literally.
5914 # So we just punt and use a minimum line length of 8192.
5915 lt_cv_sys_max_cmd_len
=8192;
5918 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5919 # This has been around since 386BSD, at least. Likely further.
5920 if test -x /sbin
/sysctl
; then
5921 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5922 elif test -x /usr
/sbin
/sysctl
; then
5923 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5925 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5927 # And add a safety zone
5928 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5929 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5933 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5934 lt_cv_sys_max_cmd_len
=196608
5938 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5939 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5940 # nice to cause kernel panics so lets avoid the loop below.
5941 # First set a reasonable default.
5942 lt_cv_sys_max_cmd_len
=16384
5944 if test -x /sbin
/sysconfig
; then
5945 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5946 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5951 lt_cv_sys_max_cmd_len
=102400
5953 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5954 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5955 if test -n "$kargmax"; then
5956 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5958 lt_cv_sys_max_cmd_len
=32768
5962 # If test is not a shell built-in, we'll probably end up computing a
5963 # maximum length that is only half of the actual maximum length, but
5965 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5966 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5967 = "XX$teststring") >/dev
/null
2>&1 &&
5968 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5969 lt_cv_sys_max_cmd_len
=$new_result &&
5970 test $i != 17 # 1/2 MB should be enough
5973 teststring
=$teststring$teststring
5976 # Add a significant safety factor because C++ compilers can tack on massive
5977 # amounts of additional arguments before passing them to the linker.
5978 # It appears as though 1/2 is a usable value.
5979 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5985 if test -n $lt_cv_sys_max_cmd_len ; then
5986 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5987 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5989 echo "$as_me:$LINENO: result: none" >&5
5990 echo "${ECHO_T}none" >&6
5996 # Check for command to grab the raw symbol name followed by C symbol from nm.
5997 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5998 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5999 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 # These are sane defaults that work on at least a few old systems.
6004 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6006 # Character class describing NM global symbol codes.
6007 symcode
='[BCDEGRST]'
6009 # Regexp to match symbols that can be accessed directly from C.
6010 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6012 # Transform an extracted symbol line into a proper C declaration
6013 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6015 # Transform an extracted symbol line into symbol name and symbol address
6016 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'"
6018 # Define system-specific variables.
6023 cygwin
* | mingw
* | pw32
*)
6024 symcode
='[ABCDGISTW]'
6026 hpux
*) # Its linker distinguishes data from code symbols
6027 if test "$host_cpu" = ia64
; then
6028 symcode
='[ABCDEGRST]'
6030 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6031 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'"
6034 if test "$host_cpu" = ia64
; then
6035 symcode
='[ABCDGIRSTW]'
6036 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6037 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'"
6041 symcode
='[BCDEGRST]'
6044 symcode
='[BCDEGQRST]'
6055 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6063 # Handle CRLF in mingw tool chain
6067 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6071 # If we're using GNU nm, then use its standard symbol codes.
6072 case `$NM -V 2>&1` in
6073 *GNU
* |
*'with BFD'*)
6074 symcode
='[ABCDGIRSTW]' ;;
6077 # Try without a prefix undercore, then with it.
6078 for ac_symprfx
in "" "_"; do
6080 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6081 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6083 # Write the raw and C identifiers.
6084 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6086 # Check to see that the pipe works correctly.
6090 cat > conftest.
$ac_ext <<EOF
6095 void nm_test_func(){}
6099 int main(){nm_test_var='a';nm_test_func();return(0);}
6102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6103 (eval $ac_compile) 2>&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); }; then
6107 # Now try to grab the symbols.
6109 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6110 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } && test -s "$nlist"; then
6114 # Try sorting and uniquifying the output.
6115 if sort "$nlist" |
uniq > "$nlist"T
; then
6116 mv -f "$nlist"T
"$nlist"
6121 # Make sure that we snagged all the symbols we need.
6122 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6123 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6124 cat <<EOF > conftest.$ac_ext
6130 # Now generate the symbol file.
6131 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6133 cat <<EOF >> conftest.$ac_ext
6134 #if defined (__STDC__) && __STDC__
6135 # define lt_ptr_t void *
6137 # define lt_ptr_t char *
6141 /* The mapping between symbol names and symbols. */
6146 lt_preloaded_symbols[] =
6149 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6150 cat <<\EOF
>> conftest.
$ac_ext
6158 # Now try linking the two files.
6159 mv conftest.
$ac_objext conftstm.
$ac_objext
6160 lt_save_LIBS
="$LIBS"
6161 lt_save_CFLAGS
="$CFLAGS"
6162 LIBS
="conftstm.$ac_objext"
6163 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6165 (eval $ac_link) 2>&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6171 LIBS
="$lt_save_LIBS"
6172 CFLAGS
="$lt_save_CFLAGS"
6174 echo "cannot find nm_test_func in $nlist" >&5
6177 echo "cannot find nm_test_var in $nlist" >&5
6180 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6183 echo "$progname: failed program was:" >&5
6184 cat conftest.
$ac_ext >&5
6186 rm -f conftest
* conftst
*
6188 # Do not use the global_symbol_pipe unless it works.
6189 if test "$pipe_works" = yes; then
6192 lt_cv_sys_global_symbol_pipe
=
6198 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6199 lt_cv_sys_global_symbol_to_cdecl
=
6201 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6202 echo "$as_me:$LINENO: result: failed" >&5
6203 echo "${ECHO_T}failed" >&6
6205 echo "$as_me:$LINENO: result: ok" >&5
6206 echo "${ECHO_T}ok" >&6
6209 echo "$as_me:$LINENO: checking for objdir" >&5
6210 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6211 if test "${lt_cv_objdir+set}" = set; then
6212 echo $ECHO_N "(cached) $ECHO_C" >&6
6214 rm -f .libs
2>/dev
/null
6215 mkdir .libs
2>/dev
/null
6216 if test -d .libs
; then
6219 # MS-DOS does not allow filenames that begin with a dot.
6222 rmdir .libs
2>/dev
/null
6224 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6225 echo "${ECHO_T}$lt_cv_objdir" >&6
6226 objdir
=$lt_cv_objdir
6234 # AIX sometimes has problems with the GCC collect2 program. For some
6235 # reason, if we set the COLLECT_NAMES environment variable, the problems
6236 # vanish in a puff of smoke.
6237 if test "X${COLLECT_NAMES+set}" != Xset
; then
6239 export COLLECT_NAMES
6244 # Sed substitution that helps us do robust quoting. It backslashifies
6245 # metacharacters that are still active within double-quoted strings.
6246 Xsed
='sed -e 1s/^X//'
6247 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6249 # Same as above, but do not quote variable references.
6250 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6252 # Sed substitution to delay expansion of an escaped shell variable in a
6253 # double_quote_subst'ed string.
6254 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6256 # Sed substitution to avoid accidental globbing in evaled expressions
6257 no_glob_subst
='s/\*/\\\*/g'
6263 default_ofile
=libtool
6264 can_build_shared
=yes
6266 # All known linkers require a `.a' archive for static linking (except MSVC,
6267 # which needs '.lib').
6269 ltmain
="$ac_aux_dir/ltmain.sh"
6270 ofile
="$default_ofile"
6271 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6273 if test -n "$ac_tool_prefix"; then
6274 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6275 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6276 echo "$as_me:$LINENO: checking for $ac_word" >&5
6277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6278 if test "${ac_cv_prog_AR+set}" = set; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 if test -n "$AR"; then
6282 ac_cv_prog_AR
="$AR" # Let the user override the test.
6284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6288 test -z "$as_dir" && as_dir
=.
6289 for ac_exec_ext
in '' $ac_executable_extensions; do
6290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6301 if test -n "$AR"; then
6302 echo "$as_me:$LINENO: result: $AR" >&5
6303 echo "${ECHO_T}$AR" >&6
6305 echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6
6310 if test -z "$ac_cv_prog_AR"; then
6312 # Extract the first word of "ar", so it can be a program name with args.
6313 set dummy
ar; ac_word
=$2
6314 echo "$as_me:$LINENO: checking for $ac_word" >&5
6315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6316 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6317 echo $ECHO_N "(cached) $ECHO_C" >&6
6319 if test -n "$ac_ct_AR"; then
6320 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6326 test -z "$as_dir" && as_dir
=.
6327 for ac_exec_ext
in '' $ac_executable_extensions; do
6328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6329 ac_cv_prog_ac_ct_AR
="ar"
6330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6339 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6340 if test -n "$ac_ct_AR"; then
6341 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6342 echo "${ECHO_T}$ac_ct_AR" >&6
6344 echo "$as_me:$LINENO: result: no" >&5
6345 echo "${ECHO_T}no" >&6
6353 if test -n "$ac_tool_prefix"; then
6354 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6355 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6356 echo "$as_me:$LINENO: checking for $ac_word" >&5
6357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6358 if test "${ac_cv_prog_RANLIB+set}" = set; then
6359 echo $ECHO_N "(cached) $ECHO_C" >&6
6361 if test -n "$RANLIB"; then
6362 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6368 test -z "$as_dir" && as_dir
=.
6369 for ac_exec_ext
in '' $ac_executable_extensions; do
6370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6371 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6380 RANLIB
=$ac_cv_prog_RANLIB
6381 if test -n "$RANLIB"; then
6382 echo "$as_me:$LINENO: result: $RANLIB" >&5
6383 echo "${ECHO_T}$RANLIB" >&6
6385 echo "$as_me:$LINENO: result: no" >&5
6386 echo "${ECHO_T}no" >&6
6390 if test -z "$ac_cv_prog_RANLIB"; then
6391 ac_ct_RANLIB
=$RANLIB
6392 # Extract the first word of "ranlib", so it can be a program name with args.
6393 set dummy ranlib
; ac_word
=$2
6394 echo "$as_me:$LINENO: checking for $ac_word" >&5
6395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6396 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6397 echo $ECHO_N "(cached) $ECHO_C" >&6
6399 if test -n "$ac_ct_RANLIB"; then
6400 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6406 test -z "$as_dir" && as_dir
=.
6407 for ac_exec_ext
in '' $ac_executable_extensions; do
6408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6409 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6416 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6419 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6420 if test -n "$ac_ct_RANLIB"; then
6421 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6422 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6424 echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6
6428 RANLIB
=$ac_ct_RANLIB
6430 RANLIB
="$ac_cv_prog_RANLIB"
6433 if test -n "$ac_tool_prefix"; then
6434 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6435 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6436 echo "$as_me:$LINENO: checking for $ac_word" >&5
6437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6438 if test "${ac_cv_prog_STRIP+set}" = set; then
6439 echo $ECHO_N "(cached) $ECHO_C" >&6
6441 if test -n "$STRIP"; then
6442 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6448 test -z "$as_dir" && as_dir
=.
6449 for ac_exec_ext
in '' $ac_executable_extensions; do
6450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6451 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6460 STRIP
=$ac_cv_prog_STRIP
6461 if test -n "$STRIP"; then
6462 echo "$as_me:$LINENO: result: $STRIP" >&5
6463 echo "${ECHO_T}$STRIP" >&6
6465 echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6
6470 if test -z "$ac_cv_prog_STRIP"; then
6472 # Extract the first word of "strip", so it can be a program name with args.
6473 set dummy strip
; ac_word
=$2
6474 echo "$as_me:$LINENO: checking for $ac_word" >&5
6475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6476 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 if test -n "$ac_ct_STRIP"; then
6480 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6486 test -z "$as_dir" && as_dir
=.
6487 for ac_exec_ext
in '' $ac_executable_extensions; do
6488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6489 ac_cv_prog_ac_ct_STRIP
="strip"
6490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6499 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6500 if test -n "$ac_ct_STRIP"; then
6501 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6502 echo "${ECHO_T}$ac_ct_STRIP" >&6
6504 echo "$as_me:$LINENO: result: no" >&5
6505 echo "${ECHO_T}no" >&6
6510 STRIP
="$ac_cv_prog_STRIP"
6515 old_CFLAGS
="$CFLAGS"
6517 # Set sane defaults for various variables
6518 test -z "$AR" && AR
=ar
6519 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6520 test -z "$AS" && AS
=as
6521 test -z "$CC" && CC
=cc
6522 test -z "$LTCC" && LTCC
=$CC
6523 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6524 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6525 test -z "$LD" && LD
=ld
6526 test -z "$LN_S" && LN_S
="ln -s"
6527 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6528 test -z "$NM" && NM
=nm
6529 test -z "$SED" && SED
=sed
6530 test -z "$OBJDUMP" && OBJDUMP
=objdump
6531 test -z "$RANLIB" && RANLIB
=:
6532 test -z "$STRIP" && STRIP
=:
6533 test -z "$ac_objext" && ac_objext
=o
6535 # Determine commands to create old-style static archives.
6536 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6537 old_postinstall_cmds
='chmod 644 $oldlib'
6538 old_postuninstall_cmds
=
6540 if test -n "$RANLIB"; then
6543 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6546 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6549 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6552 for cc_temp
in $compiler""; do
6554 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6555 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6560 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6563 # Only perform the check for file, if the check method requires it
6564 case $deplibs_check_method in
6566 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6567 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6568 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6569 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6570 echo $ECHO_N "(cached) $ECHO_C" >&6
6574 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6577 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6578 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6579 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6580 for ac_dir
in $ac_dummy; do
6582 test -z "$ac_dir" && ac_dir
=.
6583 if test -f $ac_dir/${ac_tool_prefix}file; then
6584 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6585 if test -n "$file_magic_test_file"; then
6586 case $deplibs_check_method in
6588 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6589 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6590 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6591 $EGREP "$file_magic_regex" > /dev
/null
; then
6596 *** Warning: the command libtool uses to detect shared libraries,
6597 *** $file_magic_cmd, produces output that libtool cannot recognize.
6598 *** The result is that libtool may fail to recognize shared libraries
6599 *** as such. This will affect the creation of libtool libraries that
6600 *** depend on shared libraries, but programs linked with such libtool
6601 *** libraries will work regardless of this problem. Nevertheless, you
6602 *** may want to report the problem to your system manager and/or to
6603 *** bug-libtool@gnu.org
6613 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6618 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6619 if test -n "$MAGIC_CMD"; then
6620 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6621 echo "${ECHO_T}$MAGIC_CMD" >&6
6623 echo "$as_me:$LINENO: result: no" >&5
6624 echo "${ECHO_T}no" >&6
6627 if test -z "$lt_cv_path_MAGIC_CMD"; then
6628 if test -n "$ac_tool_prefix"; then
6629 echo "$as_me:$LINENO: checking for file" >&5
6630 echo $ECHO_N "checking for file... $ECHO_C" >&6
6631 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6632 echo $ECHO_N "(cached) $ECHO_C" >&6
6636 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6639 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6640 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6641 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6642 for ac_dir
in $ac_dummy; do
6644 test -z "$ac_dir" && ac_dir
=.
6645 if test -f $ac_dir/file; then
6646 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6647 if test -n "$file_magic_test_file"; then
6648 case $deplibs_check_method in
6650 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6651 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6652 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6653 $EGREP "$file_magic_regex" > /dev
/null
; then
6658 *** Warning: the command libtool uses to detect shared libraries,
6659 *** $file_magic_cmd, produces output that libtool cannot recognize.
6660 *** The result is that libtool may fail to recognize shared libraries
6661 *** as such. This will affect the creation of libtool libraries that
6662 *** depend on shared libraries, but programs linked with such libtool
6663 *** libraries will work regardless of this problem. Nevertheless, you
6664 *** may want to report the problem to your system manager and/or to
6665 *** bug-libtool@gnu.org
6675 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6680 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6681 if test -n "$MAGIC_CMD"; then
6682 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6683 echo "${ECHO_T}$MAGIC_CMD" >&6
6685 echo "$as_me:$LINENO: result: no" >&5
6686 echo "${ECHO_T}no" >&6
6699 enable_win32_dll
=yes
6701 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6702 if test "${enable_libtool_lock+set}" = set; then
6703 enableval
="$enable_libtool_lock"
6706 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6709 # Check whether --with-pic or --without-pic was given.
6710 if test "${with_pic+set}" = set; then
6716 test -z "$pic_mode" && pic_mode
=default
6718 # Use C for the default configuration in the libtool script
6722 ac_cpp
='$CPP $CPPFLAGS'
6723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6728 # Source file extension for C test sources.
6731 # Object file extension for compiled C test sources.
6735 # Code to be used in simple compile tests
6736 lt_simple_compile_test_code
="int some_variable = 0;\n"
6738 # Code to be used in simple link tests
6739 lt_simple_link_test_code
='int main(){return(0);}\n'
6742 # If no C compiler was specified, use CC.
6745 # If no C compiler flags were specified, use CFLAGS.
6746 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6748 # Allow CC to be a program name with arguments.
6752 # save warnings/boilerplate of simple test code
6753 ac_outfile
=conftest.
$ac_objext
6754 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6755 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6756 _lt_compiler_boilerplate
=`cat conftest.err`
6759 ac_outfile
=conftest.
$ac_objext
6760 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6761 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6762 _lt_linker_boilerplate
=`cat conftest.err`
6767 ## There is no encapsulation within the following macros, do not change
6768 ## the running order or otherwise move them around unless you know exactly
6769 ## what you are doing...
6771 lt_prog_compiler_no_builtin_flag
=
6773 if test "$GCC" = yes; then
6774 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6777 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6778 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6779 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6780 echo $ECHO_N "(cached) $ECHO_C" >&6
6782 lt_cv_prog_compiler_rtti_exceptions
=no
6783 ac_outfile
=conftest.
$ac_objext
6784 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6785 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6786 # Insert the option either (1) after the last *FLAGS variable, or
6787 # (2) before a word containing "conftest.", or (3) at the end.
6788 # Note that $ac_compile itself does not contain backslashes and begins
6789 # with a dollar sign (not a hyphen), so the echo should work correctly.
6790 # The option is referenced via a variable to avoid confusing sed.
6791 lt_compile
=`echo "$ac_compile" | $SED \
6792 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6793 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6794 -e 's:$: $lt_compiler_flag:'`
6795 (eval echo "\"\$as_me:6795: $lt_compile\"" >&5)
6796 (eval "$lt_compile" 2>conftest.err
)
6798 cat conftest.err
>&5
6799 echo "$as_me:6799: \$? = $ac_status" >&5
6800 if (exit $ac_status) && test -s "$ac_outfile"; then
6801 # The compiler can only warn and ignore the option if not recognized
6802 # So say no if there are warnings other than the usual output.
6803 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6804 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6805 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6806 lt_cv_prog_compiler_rtti_exceptions
=yes
6812 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6813 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6815 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6816 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6823 lt_prog_compiler_wl
=
6824 lt_prog_compiler_pic
=
6825 lt_prog_compiler_static
=
6827 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6828 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6830 if test "$GCC" = yes; then
6831 lt_prog_compiler_wl
='-Wl,'
6832 lt_prog_compiler_static
='-static'
6836 # All AIX code is PIC.
6837 if test "$host_cpu" = ia64
; then
6838 # AIX 5 now supports IA64 processor
6839 lt_prog_compiler_static
='-Bstatic'
6844 # FIXME: we need at least 68020 code to build shared libraries, but
6845 # adding the `-m68020' flag to GCC prevents building anything better,
6847 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6850 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6851 # PIC is the default for these OSes.
6854 mingw
* | pw32
* | os2
*)
6855 # This hack is so that the source file can tell whether it is being
6856 # built for inclusion in a dll (and should export symbols for example).
6857 lt_prog_compiler_pic
='-DDLL_EXPORT'
6860 darwin
* | rhapsody
*)
6861 # PIC is the default on this platform
6862 # Common symbols not allowed in MH_DYLIB files
6863 lt_prog_compiler_pic
='-fno-common'
6867 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6868 # Instead, we relocate shared libraries at runtime.
6872 # Just because we use GCC doesn't mean we suddenly get shared libraries
6873 # on systems that don't support them.
6874 lt_prog_compiler_can_build_shared
=no
6879 if test -d /usr
/nec
; then
6880 lt_prog_compiler_pic
=-Kconform_pic
6885 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6892 lt_prog_compiler_pic
='-fPIC'
6898 lt_prog_compiler_pic
='-fPIC'
6902 # PORTME Check for flag to pass linker flags through the system compiler.
6905 lt_prog_compiler_wl
='-Wl,'
6906 if test "$host_cpu" = ia64
; then
6907 # AIX 5 now supports IA64 processor
6908 lt_prog_compiler_static
='-Bstatic'
6910 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6914 # PIC is the default on this platform
6915 # Common symbols not allowed in MH_DYLIB files
6916 case $cc_basename in
6918 lt_prog_compiler_pic
='-qnocommon'
6919 lt_prog_compiler_wl
='-Wl,'
6924 mingw
* | pw32
* | os2
*)
6925 # This hack is so that the source file can tell whether it is being
6926 # built for inclusion in a dll (and should export symbols for example).
6927 lt_prog_compiler_pic
='-DDLL_EXPORT'
6930 hpux9
* | hpux10
* | hpux11
*)
6931 lt_prog_compiler_wl
='-Wl,'
6932 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6939 lt_prog_compiler_pic
='+Z'
6942 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6943 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6946 irix5
* | irix6
* | nonstopux
*)
6947 lt_prog_compiler_wl
='-Wl,'
6948 # PIC (with -KPIC) is the default.
6949 lt_prog_compiler_static
='-non_shared'
6953 lt_prog_compiler_pic
='-KPIC'
6954 lt_prog_compiler_static
='-Bstatic'
6958 case $cc_basename in
6960 lt_prog_compiler_wl
='-Wl,'
6961 lt_prog_compiler_pic
='-KPIC'
6962 lt_prog_compiler_static
='-static'
6964 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6965 # Portland Group compilers (*not* the Pentium gcc compiler,
6966 # which looks to be a dead project)
6967 lt_prog_compiler_wl
='-Wl,'
6968 lt_prog_compiler_pic
='-fpic'
6969 lt_prog_compiler_static
='-Bstatic'
6972 lt_prog_compiler_wl
='-Wl,'
6973 # All Alpha code is PIC.
6974 lt_prog_compiler_static
='-non_shared'
6979 osf3
* | osf4
* | osf5
*)
6980 lt_prog_compiler_wl
='-Wl,'
6981 # All OSF/1 code is PIC.
6982 lt_prog_compiler_static
='-non_shared'
6986 lt_prog_compiler_pic
='-KPIC'
6987 lt_prog_compiler_static
='-Bstatic'
6988 case $cc_basename in
6990 lt_prog_compiler_wl
='-Qoption ld ';;
6992 lt_prog_compiler_wl
='-Wl,';;
6997 lt_prog_compiler_wl
='-Qoption ld '
6998 lt_prog_compiler_pic
='-PIC'
6999 lt_prog_compiler_static
='-Bstatic'
7002 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7003 lt_prog_compiler_wl
='-Wl,'
7004 lt_prog_compiler_pic
='-KPIC'
7005 lt_prog_compiler_static
='-Bstatic'
7009 if test -d /usr
/nec
;then
7010 lt_prog_compiler_pic
='-Kconform_pic'
7011 lt_prog_compiler_static
='-Bstatic'
7015 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7016 lt_prog_compiler_wl
='-Wl,'
7017 lt_prog_compiler_pic
='-KPIC'
7018 lt_prog_compiler_static
='-Bstatic'
7022 lt_prog_compiler_wl
='-Wl,'
7023 lt_prog_compiler_can_build_shared
=no
7027 lt_prog_compiler_pic
='-pic'
7028 lt_prog_compiler_static
='-Bstatic'
7032 lt_prog_compiler_can_build_shared
=no
7037 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7038 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7041 # Check to make sure the PIC flag actually works.
7043 if test -n "$lt_prog_compiler_pic"; then
7045 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7046 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7047 if test "${lt_prog_compiler_pic_works+set}" = set; then
7048 echo $ECHO_N "(cached) $ECHO_C" >&6
7050 lt_prog_compiler_pic_works
=no
7051 ac_outfile
=conftest.
$ac_objext
7052 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7053 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7054 # Insert the option either (1) after the last *FLAGS variable, or
7055 # (2) before a word containing "conftest.", or (3) at the end.
7056 # Note that $ac_compile itself does not contain backslashes and begins
7057 # with a dollar sign (not a hyphen), so the echo should work correctly.
7058 # The option is referenced via a variable to avoid confusing sed.
7059 lt_compile
=`echo "$ac_compile" | $SED \
7060 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7061 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7062 -e 's:$: $lt_compiler_flag:'`
7063 (eval echo "\"\$as_me:7063: $lt_compile\"" >&5)
7064 (eval "$lt_compile" 2>conftest.err
)
7066 cat conftest.err
>&5
7067 echo "$as_me:7067: \$? = $ac_status" >&5
7068 if (exit $ac_status) && test -s "$ac_outfile"; then
7069 # The compiler can only warn and ignore the option if not recognized
7070 # So say no if there are warnings other than the usual output.
7071 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7072 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7073 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7074 lt_prog_compiler_pic_works
=yes
7080 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7081 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7083 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7084 case $lt_prog_compiler_pic in
7086 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7089 lt_prog_compiler_pic
=
7090 lt_prog_compiler_can_build_shared
=no
7095 # For platforms which do not support PIC, -DPIC is meaningless:
7097 lt_prog_compiler_pic
=
7100 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7105 # Check to make sure the static flag actually works.
7107 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7108 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7109 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7110 if test "${lt_prog_compiler_static_works+set}" = set; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 lt_prog_compiler_static_works
=no
7114 save_LDFLAGS
="$LDFLAGS"
7115 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7116 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7117 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7118 # The linker can only warn and ignore the option if not recognized
7119 # So say no if there are warnings
7120 if test -s conftest.err
; then
7121 # Append any errors to the config.log.
7122 cat conftest.err
1>&5
7123 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7124 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7125 if diff conftest.exp conftest.er2
>/dev
/null
; then
7126 lt_prog_compiler_static_works
=yes
7129 lt_prog_compiler_static_works
=yes
7133 LDFLAGS
="$save_LDFLAGS"
7136 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7137 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7139 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7142 lt_prog_compiler_static
=
7146 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7147 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7148 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7149 echo $ECHO_N "(cached) $ECHO_C" >&6
7151 lt_cv_prog_compiler_c_o
=no
7152 $rm -r conftest
2>/dev
/null
7156 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7158 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7159 # Insert the option either (1) after the last *FLAGS variable, or
7160 # (2) before a word containing "conftest.", or (3) at the end.
7161 # Note that $ac_compile itself does not contain backslashes and begins
7162 # with a dollar sign (not a hyphen), so the echo should work correctly.
7163 lt_compile
=`echo "$ac_compile" | $SED \
7164 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7165 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7166 -e 's:$: $lt_compiler_flag:'`
7167 (eval echo "\"\$as_me:7167: $lt_compile\"" >&5)
7168 (eval "$lt_compile" 2>out
/conftest.err
)
7170 cat out
/conftest.err
>&5
7171 echo "$as_me:7171: \$? = $ac_status" >&5
7172 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7174 # The compiler can only warn and ignore the option if not recognized
7175 # So say no if there are warnings
7176 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7177 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7178 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7179 lt_cv_prog_compiler_c_o
=yes
7184 # SGI C++ compiler will create directory out/ii_files/ for
7185 # template instantiation
7186 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7187 $rm out
/* && rmdir out
7193 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7194 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7197 hard_links
="nottested"
7198 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7199 # do not overwrite the value of need_locks provided by the user
7200 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7201 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7204 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7206 ln conftest.a conftest.b
2>&5 || hard_links
=no
7207 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7208 echo "$as_me:$LINENO: result: $hard_links" >&5
7209 echo "${ECHO_T}$hard_links" >&6
7210 if test "$hard_links" = no
; then
7211 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7212 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7219 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7220 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7223 allow_undefined_flag
=
7224 enable_shared_with_static_runtimes
=no
7226 archive_expsym_cmds
=
7227 old_archive_From_new_cmds
=
7228 old_archive_from_expsyms_cmds
=
7229 export_dynamic_flag_spec
=
7230 whole_archive_flag_spec
=
7231 thread_safe_flag_spec
=
7232 hardcode_libdir_flag_spec
=
7233 hardcode_libdir_flag_spec_ld
=
7234 hardcode_libdir_separator
=
7237 hardcode_shlibpath_var
=unsupported
7238 link_all_deplibs
=unknown
7239 hardcode_automatic
=no
7242 always_export_symbols
=no
7243 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7244 # include_expsyms should be a list of space-separated symbols to be *always*
7245 # included in the symbol list
7247 # exclude_expsyms can be an extended regexp of symbols to exclude
7248 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7249 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7250 # as well as any symbol that contains `d'.
7251 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7252 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7253 # platforms (ab)use it in PIC code, but their linkers get confused if
7254 # the symbol is explicitly referenced. Since portable code cannot
7255 # rely on this symbol name, it's probably fine to never include it in
7256 # preloaded symbol tables.
7257 extract_expsyms_cmds
=
7258 # Just being paranoid about ensuring that cc_basename is set.
7259 for cc_temp
in $compiler""; do
7261 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7262 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7267 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7270 cygwin
* | mingw
* | pw32
*)
7271 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7272 # When not using gcc, we currently assume that we are using
7273 # Microsoft Visual C++.
7274 if test "$GCC" != yes; then
7279 # we just hope/assume this is gcc and not c89 (= MSVC++)
7288 if test "$with_gnu_ld" = yes; then
7289 # If archive_cmds runs LD, not CC, wlarc should be empty
7292 # Set some defaults for GNU ld with shared library support. These
7293 # are reset later if shared libraries are not supported. Putting them
7294 # here allows them to be overridden if necessary.
7295 runpath_var
=LD_RUN_PATH
7296 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7297 export_dynamic_flag_spec
='${wl}--export-dynamic'
7298 # ancient GNU ld didn't support --whole-archive et. al.
7299 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7300 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7302 whole_archive_flag_spec
=
7304 supports_anon_versioning
=no
7305 case `$LD -v 2>/dev/null` in
7306 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7307 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7308 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7309 *\
2.11.
*) ;; # other 2.11 versions
7310 *) supports_anon_versioning
=yes ;;
7313 # See if GNU ld supports shared libraries.
7315 aix3
* | aix4
* | aix5
*)
7316 # On AIX/PPC, the GNU linker is very broken
7317 if test "$host_cpu" != ia64
; then
7321 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7322 *** to be unable to reliably create shared libraries on AIX.
7323 *** Therefore, libtool is disabling shared libraries support. If you
7324 *** really care for shared libraries, you may want to modify your PATH
7325 *** so that a non-GNU linker is found, and then restart.
7332 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)'
7333 hardcode_libdir_flag_spec
='-L$libdir'
7334 hardcode_minus_L
=yes
7336 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7337 # that the semantics of dynamic libraries on AmigaOS, at least up
7338 # to version 4, is to share data among multiple programs linked
7339 # with the same dynamic library. Since this doesn't match the
7340 # behavior of shared libraries on other platforms, we can't use
7346 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7347 allow_undefined_flag
=unsupported
7348 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7349 # support --undefined. This deserves some investigation. FIXME
7350 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7356 cygwin
* | mingw
* | pw32
*)
7357 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7358 # as there is no search path for DLLs.
7359 hardcode_libdir_flag_spec
='-L$libdir'
7360 allow_undefined_flag
=unsupported
7361 always_export_symbols
=no
7362 enable_shared_with_static_runtimes
=yes
7363 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7365 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7366 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7367 # If the export-symbols file already is a .def file (1st line
7368 # is EXPORTS), use it as is; otherwise, prepend...
7369 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7370 cp $export_symbols $output_objdir/$soname.def;
7372 echo EXPORTS > $output_objdir/$soname.def;
7373 cat $export_symbols >> $output_objdir/$soname.def;
7375 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7383 hardcode_shlibpath_var
=no
7384 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7385 export_dynamic_flag_spec
='${wl}-E'
7386 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7387 # Instead, shared libraries are loaded at an image base (0x10000000 by
7388 # default) and relocated if they conflict, which is a slow very memory
7389 # consuming and fragmenting process. To avoid this, we pick a random,
7390 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7391 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7392 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7393 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7397 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7399 case $cc_basename,$host_cpu in
7400 pgcc
*) # Portland Group C compiler
7401 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7402 tmp_addflag
=' $pic_flag'
7404 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7405 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7406 tmp_addflag
=' $pic_flag -Mnomain' ;;
7407 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7408 tmp_addflag
=' -i_dynamic' ;;
7409 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7410 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7411 ifc
* | ifort
*) # Intel Fortran compiler
7412 tmp_addflag
=' -nofor_main' ;;
7414 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7416 if test $supports_anon_versioning = yes; then
7417 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7418 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7419 $echo "local: *; };" >> $output_objdir/$libname.ver~
7420 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7428 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7429 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7432 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7433 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7438 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7442 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7443 *** create shared libraries on Solaris systems. Therefore, libtool
7444 *** is disabling shared libraries support. We urge you to upgrade GNU
7445 *** binutils to release 2.9.1 or newer. Another option is to modify
7446 *** your PATH or compiler configuration so that the native linker is
7447 *** used, and then restart.
7450 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7451 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7452 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7458 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7459 case `$LD -v 2>&1` in
7460 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7464 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7465 *** reliably create shared libraries on SCO systems. Therefore, libtool
7466 *** is disabling shared libraries support. We urge you to upgrade GNU
7467 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7468 *** your PATH or compiler configuration so that the native linker is
7469 *** used, and then restart.
7474 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7475 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7476 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7477 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7486 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7489 hardcode_shlibpath_var
=no
7493 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7494 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7495 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7502 if test "$ld_shlibs" = no
; then
7504 hardcode_libdir_flag_spec
=
7505 export_dynamic_flag_spec
=
7506 whole_archive_flag_spec
=
7509 # PORTME fill in a description of your system's linker (not GNU ld)
7512 allow_undefined_flag
=unsupported
7513 always_export_symbols
=yes
7514 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'
7515 # Note: this linker hardcodes the directories in LIBPATH if there
7516 # are no directories specified by -L.
7517 hardcode_minus_L
=yes
7518 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7519 # Neither direct hardcoding nor static linking is supported with a
7521 hardcode_direct
=unsupported
7526 if test "$host_cpu" = ia64
; then
7527 # On IA64, the linker does run time linking by default, so we don't
7528 # have to do anything special.
7529 aix_use_runtimelinking
=no
7530 exp_sym_flag
='-Bexport'
7533 # If we're using GNU nm, then we don't want the "-C" option.
7534 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7535 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7536 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'
7538 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'
7540 aix_use_runtimelinking
=no
7542 # Test if we are trying to use run time linking or normal
7543 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7544 # need to do runtime linking.
7545 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7546 for ld_flag
in $LDFLAGS; do
7547 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7548 aix_use_runtimelinking
=yes
7555 exp_sym_flag
='-bexport'
7556 no_entry_flag
='-bnoentry'
7559 # When large executables or shared objects are built, AIX ld can
7560 # have problems creating the table of contents. If linking a library
7561 # or program results in "error TOC overflow" add -mminimal-toc to
7562 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7563 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7567 hardcode_libdir_separator
=':'
7568 link_all_deplibs
=yes
7570 if test "$GCC" = yes; then
7571 case $host_os in aix4.
[012]|aix4.
[012].
*)
7572 # We only want to do this on AIX 4.2 and lower, the check
7573 # below for broken collect2 doesn't work under 4.3+
7574 collect2name
=`${CC} -print-prog-name=collect2`
7575 if test -f "$collect2name" && \
7576 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7578 # We have reworked collect2
7581 # We have old collect2
7582 hardcode_direct
=unsupported
7583 # It fails to find uninstalled libraries when the uninstalled
7584 # path is not listed in the libpath. Setting hardcode_minus_L
7585 # to unsupported forces relinking
7586 hardcode_minus_L
=yes
7587 hardcode_libdir_flag_spec
='-L$libdir'
7588 hardcode_libdir_separator
=
7592 shared_flag
='-shared'
7593 if test "$aix_use_runtimelinking" = yes; then
7594 shared_flag
="$shared_flag "'${wl}-G'
7598 if test "$host_cpu" = ia64
; then
7599 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7600 # chokes on -Wl,-G. The following line is correct:
7603 if test "$aix_use_runtimelinking" = yes; then
7604 shared_flag
='${wl}-G'
7606 shared_flag
='${wl}-bM:SRE'
7611 # It seems that -bexpall does not export symbols beginning with
7612 # underscore (_), so it is better to generate a list of symbols to export.
7613 always_export_symbols
=yes
7614 if test "$aix_use_runtimelinking" = yes; then
7615 # Warning - without using the other runtime loading flags (-brtl),
7616 # -berok will link without error, but may produce a broken library.
7617 allow_undefined_flag
='-berok'
7618 # Determine the default libpath from the value encoded in an empty executable.
7619 cat >conftest.
$ac_ext <<_ACEOF
7622 cat confdefs.h
>>conftest.
$ac_ext
7623 cat >>conftest.
$ac_ext <<_ACEOF
7624 /* end confdefs.h. */
7634 rm -f conftest.
$ac_objext conftest
$ac_exeext
7635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7636 (eval $ac_link) 2>conftest.er1
7638 grep -v '^ *+' conftest.er1
>conftest.err
7640 cat conftest.err
>&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } &&
7643 { ac_try
='test -z "$ac_c_werror_flag"
7644 || test ! -s conftest.err'
7645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 (exit $ac_status); }; } &&
7650 { ac_try
='test -s conftest$ac_exeext'
7651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); }; }; then
7657 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7659 # Check for a 64-bit object if we didn't find anything.
7660 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; }
7663 echo "$as_me: failed program was:" >&5
7664 sed 's/^/| /' conftest.
$ac_ext >&5
7667 rm -f conftest.err conftest.
$ac_objext \
7668 conftest
$ac_exeext conftest.
$ac_ext
7669 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7671 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7672 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7674 if test "$host_cpu" = ia64
; then
7675 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7676 allow_undefined_flag
="-z nodefs"
7677 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7679 # Determine the default libpath from the value encoded in an empty executable.
7680 cat >conftest.
$ac_ext <<_ACEOF
7683 cat confdefs.h
>>conftest.
$ac_ext
7684 cat >>conftest.
$ac_ext <<_ACEOF
7685 /* end confdefs.h. */
7695 rm -f conftest.
$ac_objext conftest
$ac_exeext
7696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7697 (eval $ac_link) 2>conftest.er1
7699 grep -v '^ *+' conftest.er1
>conftest.err
7701 cat conftest.err
>&5
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); } &&
7704 { ac_try
='test -z "$ac_c_werror_flag"
7705 || test ! -s conftest.err'
7706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7710 (exit $ac_status); }; } &&
7711 { ac_try
='test -s conftest$ac_exeext'
7712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); }; }; then
7718 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7720 # Check for a 64-bit object if we didn't find anything.
7721 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; }
7724 echo "$as_me: failed program was:" >&5
7725 sed 's/^/| /' conftest.
$ac_ext >&5
7728 rm -f conftest.err conftest.
$ac_objext \
7729 conftest
$ac_exeext conftest.
$ac_ext
7730 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7732 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7733 # Warning - without using the other run time loading flags,
7734 # -berok will link without error, but may produce a broken library.
7735 no_undefined_flag
=' ${wl}-bernotok'
7736 allow_undefined_flag
=' ${wl}-berok'
7737 # Exported symbols can be pulled into shared objects from archives
7738 whole_archive_flag_spec
='$convenience'
7739 archive_cmds_need_lc
=yes
7740 # This is similar to how AIX traditionally builds its shared libraries.
7741 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7747 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)'
7748 hardcode_libdir_flag_spec
='-L$libdir'
7749 hardcode_minus_L
=yes
7750 # see comment about different semantics on the GNU ld section
7755 export_dynamic_flag_spec
=-rdynamic
7758 cygwin
* | mingw
* | pw32
*)
7759 # When not using gcc, we currently assume that we are using
7760 # Microsoft Visual C++.
7761 # hardcode_libdir_flag_spec is actually meaningless, as there is
7762 # no search path for DLLs.
7763 hardcode_libdir_flag_spec
=' '
7764 allow_undefined_flag
=unsupported
7765 # Tell ltmain to make .lib files, not .a files.
7767 # Tell ltmain to make .dll files, not .so files.
7769 # FIXME: Setting linknames here is a bad hack.
7770 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7771 # The linker will automatically build a .lib file if we build a DLL.
7772 old_archive_From_new_cmds
='true'
7773 # FIXME: Should let the user specify the lib program.
7774 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7775 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7776 enable_shared_with_static_runtimes
=yes
7779 darwin
* | rhapsody
*)
7781 rhapsody
* | darwin1.
[012])
7782 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7785 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7786 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7788 case ${MACOSX_DEPLOYMENT_TARGET} in
7790 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7793 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7799 archive_cmds_need_lc
=no
7801 hardcode_automatic
=yes
7802 hardcode_shlibpath_var
=unsupported
7803 whole_archive_flag_spec
=''
7804 link_all_deplibs
=yes
7805 if test "$GCC" = yes ; then
7806 output_verbose_link_cmd
='echo'
7807 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7808 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7809 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7810 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}'
7811 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7813 case $cc_basename in
7815 output_verbose_link_cmd
='echo'
7816 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7817 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7818 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7819 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7820 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7830 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7831 hardcode_libdir_flag_spec
='-L$libdir'
7832 hardcode_shlibpath_var
=no
7839 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7840 # support. Future versions do this automatically, but an explicit c++rt0.o
7841 # does not break anything, and helps significantly (at the cost of a little
7844 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7845 hardcode_libdir_flag_spec
='-R$libdir'
7847 hardcode_shlibpath_var
=no
7850 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7852 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7854 hardcode_minus_L
=yes
7855 hardcode_shlibpath_var
=no
7858 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7859 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7860 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7861 hardcode_libdir_flag_spec
='-R$libdir'
7863 hardcode_shlibpath_var
=no
7867 if test "$GCC" = yes; then
7868 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'
7870 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'
7872 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7873 hardcode_libdir_separator
=:
7876 # hardcode_minus_L: Not really in the search PATH,
7877 # but as the default location of the library.
7878 hardcode_minus_L
=yes
7879 export_dynamic_flag_spec
='${wl}-E'
7883 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7884 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7886 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7888 if test "$with_gnu_ld" = no
; then
7889 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7890 hardcode_libdir_separator
=:
7893 export_dynamic_flag_spec
='${wl}-E'
7895 # hardcode_minus_L: Not really in the search PATH,
7896 # but as the default location of the library.
7897 hardcode_minus_L
=yes
7902 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7905 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7908 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7911 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7917 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7920 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7923 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7927 if test "$with_gnu_ld" = no
; then
7928 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7929 hardcode_libdir_separator
=:
7933 hardcode_libdir_flag_spec_ld
='+b $libdir'
7935 hardcode_shlibpath_var
=no
7939 export_dynamic_flag_spec
='${wl}-E'
7941 # hardcode_minus_L: Not really in the search PATH,
7942 # but as the default location of the library.
7943 hardcode_minus_L
=yes
7949 irix5
* | irix6
* | nonstopux
*)
7950 if test "$GCC" = yes; then
7951 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'
7953 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'
7954 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7956 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7957 hardcode_libdir_separator
=:
7958 link_all_deplibs
=yes
7962 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7963 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7965 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7967 hardcode_libdir_flag_spec
='-R$libdir'
7969 hardcode_shlibpath_var
=no
7973 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7975 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7976 hardcode_libdir_separator
=:
7977 hardcode_shlibpath_var
=no
7982 hardcode_shlibpath_var
=no
7983 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7984 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7985 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7986 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7987 export_dynamic_flag_spec
='${wl}-E'
7990 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7991 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7992 hardcode_libdir_flag_spec
='-R$libdir'
7995 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7996 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8003 hardcode_libdir_flag_spec
='-L$libdir'
8004 hardcode_minus_L
=yes
8005 allow_undefined_flag
=unsupported
8006 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'
8007 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8011 if test "$GCC" = yes; then
8012 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8013 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'
8015 allow_undefined_flag
=' -expect_unresolved \*'
8016 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'
8018 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8019 hardcode_libdir_separator
=:
8022 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8023 if test "$GCC" = yes; then
8024 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8025 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'
8026 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8028 allow_undefined_flag
=' -expect_unresolved \*'
8029 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'
8030 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8031 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8033 # Both c and cxx compiler support -rpath directly
8034 hardcode_libdir_flag_spec
='-rpath $libdir'
8036 hardcode_libdir_separator
=:
8040 no_undefined_flag
=' -z text'
8041 if test "$GCC" = yes; then
8043 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8044 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8045 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8048 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8049 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8050 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8052 hardcode_libdir_flag_spec
='-R$libdir'
8053 hardcode_shlibpath_var
=no
8055 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8057 # The compiler driver will combine linker options so we
8058 # cannot just pass the convience library names through
8059 # without $wl, iff we do not link with $LD.
8060 # Luckily, gcc supports the same syntax we need for Sun Studio.
8061 # Supported since Solaris 2.6 (maybe 2.5.1?)
8064 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8066 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8069 link_all_deplibs
=yes
8073 if test "x$host_vendor" = xsequent
; then
8074 # Use $CC to link under sequent, because it throws in some extra .o
8075 # files that make .init and .fini sections work.
8076 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8078 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8080 hardcode_libdir_flag_spec
='-L$libdir'
8082 hardcode_minus_L
=yes
8083 hardcode_shlibpath_var
=no
8087 case $host_vendor in
8089 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8090 hardcode_direct
=yes # is this really true???
8093 ## LD is ld it makes a PLAMLIB
8094 ## CC just makes a GrossModule.
8095 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8096 reload_cmds
='$CC -r -o $output$reload_objs'
8100 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8101 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8104 runpath_var
='LD_RUN_PATH'
8105 hardcode_shlibpath_var
=no
8109 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8110 hardcode_shlibpath_var
=no
8111 export_dynamic_flag_spec
='-Bexport'
8115 if test -d /usr
/nec
; then
8116 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8117 hardcode_shlibpath_var
=no
8118 runpath_var
=LD_RUN_PATH
8119 hardcode_runpath_var
=yes
8124 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8125 no_undefined_flag
='${wl}-z,text'
8126 archive_cmds_need_lc
=no
8127 hardcode_shlibpath_var
=no
8128 runpath_var
='LD_RUN_PATH'
8130 if test "$GCC" = yes; then
8131 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8132 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8134 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8135 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8139 sysv5
* | sco3.2v5
* | sco5v6
*)
8140 # Note: We can NOT use -z defs as we might desire, because we do not
8141 # link with -lc, and that would cause any symbols used from libc to
8142 # always be unresolved, which means just about no library would
8143 # ever link correctly. If we're not using GNU ld we use -z text
8144 # though, which does catch some bad symbols but isn't as heavy-handed
8146 no_undefined_flag
='${wl}-z,text'
8147 allow_undefined_flag
='${wl}-z,nodefs'
8148 archive_cmds_need_lc
=no
8149 hardcode_shlibpath_var
=no
8150 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8151 hardcode_libdir_separator
=':'
8152 link_all_deplibs
=yes
8153 export_dynamic_flag_spec
='${wl}-Bexport'
8154 runpath_var
='LD_RUN_PATH'
8156 if test "$GCC" = yes; then
8157 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8158 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8160 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8161 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8166 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8167 hardcode_libdir_flag_spec
='-L$libdir'
8168 hardcode_shlibpath_var
=no
8177 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8178 echo "${ECHO_T}$ld_shlibs" >&6
8179 test "$ld_shlibs" = no
&& can_build_shared
=no
8182 # Do we need to explicitly link libc?
8184 case "x$archive_cmds_need_lc" in
8186 # Assume -lc should be added
8187 archive_cmds_need_lc
=yes
8189 if test "$enable_shared" = yes && test "$GCC" = yes; then
8190 case $archive_cmds in
8192 # FIXME: we may have to deal with multi-command sequences.
8195 # Test whether the compiler implicitly links with -lc since on some
8196 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8197 # to ld, don't add -lc before -lgcc.
8198 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8199 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8201 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8204 (eval $ac_compile) 2>&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } 2>conftest.err
; then
8210 libobjs
=conftest.
$ac_objext
8212 wl
=$lt_prog_compiler_wl
8213 pic_flag
=$lt_prog_compiler_pic
8219 lt_save_allow_undefined_flag
=$allow_undefined_flag
8220 allow_undefined_flag
=
8221 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8222 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); }
8227 archive_cmds_need_lc
=no
8229 archive_cmds_need_lc
=yes
8231 allow_undefined_flag
=$lt_save_allow_undefined_flag
8233 cat conftest.err
1>&5
8236 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8237 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8244 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8245 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8247 libname_spec
='lib$name'
8255 shlibpath_overrides_runpath
=unknown
8257 dynamic_linker
="$host_os ld.so"
8258 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8259 if test "$GCC" = yes; then
8260 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8261 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8262 # if the path contains ";" then we assume it to be the separator
8263 # otherwise default to the standard path separator (i.e. ":") - it is
8264 # assumed that no part of a normal pathname contains ";" but that should
8265 # okay in the real world where ";" in dirpaths is itself problematic.
8266 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8268 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8271 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8273 need_lib_prefix
=unknown
8274 hardcode_into_libs
=no
8276 # when you set need_version to no, make sure it does not cause -set_version
8277 # flags to be left without arguments
8278 need_version
=unknown
8283 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8284 shlibpath_var
=LIBPATH
8286 # AIX 3 has no versioning support, so we append a major version to the name.
8287 soname_spec
='${libname}${release}${shared_ext}$major'
8294 hardcode_into_libs
=yes
8295 if test "$host_cpu" = ia64
; then
8296 # AIX 5 supports IA64
8297 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8298 shlibpath_var
=LD_LIBRARY_PATH
8300 # With GCC up to 2.95.x, collect2 would create an import file
8301 # for dependence libraries. The import file would start with
8302 # the line `#! .'. This would cause the generated library to
8303 # depend on `.', always an invalid library. This was fixed in
8304 # development snapshots of GCC prior to 3.0.
8306 aix4 | aix4.
[01] | aix4.
[01].
*)
8307 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8309 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8316 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8317 # soname into executable. Probably we can add versioning support to
8318 # collect2, so additional links can be useful in future.
8319 if test "$aix_use_runtimelinking" = yes; then
8320 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8321 # instead of lib<name>.a to let people know that these are not
8322 # typical AIX shared libraries.
8323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8325 # We preserve .a as extension for shared libraries through AIX4.2
8326 # and later when we are not doing run time linking.
8327 library_names_spec
='${libname}${release}.a $libname.a'
8328 soname_spec
='${libname}${release}${shared_ext}$major'
8330 shlibpath_var
=LIBPATH
8335 library_names_spec
='$libname.ixlibrary $libname.a'
8336 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8337 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'
8341 library_names_spec
='${libname}${shared_ext}'
8342 dynamic_linker
="$host_os ld.so"
8343 shlibpath_var
=LIBRARY_PATH
8349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8350 soname_spec
='${libname}${release}${shared_ext}$major'
8351 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8352 shlibpath_var
=LD_LIBRARY_PATH
8353 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8354 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8355 # the default ld.so.conf also contains /usr/contrib/lib and
8356 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8357 # libtool to hard-code these into programs
8360 cygwin
* | mingw
* | pw32
*)
8361 version_type
=windows
8366 case $GCC,$host_os in
8367 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8368 library_names_spec
='$libname.dll.a'
8369 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8370 postinstall_cmds
='base_file=`basename \${file}`~
8371 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8372 dldir=$destdir/`dirname \$dlpath`~
8373 test -d \$dldir || mkdir -p \$dldir~
8374 $install_prog $dir/$dlname \$dldir/$dlname~
8375 chmod a+x \$dldir/$dlname'
8376 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8377 dlpath=$dir/\$dldll~
8379 shlibpath_overrides_runpath
=yes
8383 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8384 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8385 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8388 # MinGW DLLs use traditional 'lib' prefix
8389 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8390 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8391 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8392 # It is most probably a Windows format PATH printed by
8393 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8394 # path with ; separators, and with drive letters. We can handle the
8395 # drive letters (cygwin fileutils understands them), so leave them,
8396 # especially as we might pass files found there to a mingw objdump,
8397 # which wouldn't understand a cygwinified path. Ahh.
8398 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8400 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8404 # pw32 DLLs use 'pw' prefix rather than 'lib'
8405 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8411 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8414 dynamic_linker
='Win32 ld.exe'
8415 # FIXME: first we should search . and the directory the executable is in
8419 darwin
* | rhapsody
*)
8420 dynamic_linker
="$host_os dyld"
8424 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8425 soname_spec
='${libname}${release}${major}$shared_ext'
8426 shlibpath_overrides_runpath
=yes
8427 shlibpath_var
=DYLD_LIBRARY_PATH
8428 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8429 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8430 if test "$GCC" = yes; then
8431 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8433 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8435 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8443 soname_spec
='${libname}${release}${shared_ext}$major'
8444 shlibpath_var
=LD_LIBRARY_PATH
8455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8456 soname_spec
='${libname}${release}${shared_ext}$major'
8457 shlibpath_var
=LD_LIBRARY_PATH
8458 shlibpath_overrides_runpath
=no
8459 hardcode_into_libs
=yes
8460 dynamic_linker
='GNU ld.so'
8463 freebsd
* | dragonfly
*)
8464 # DragonFly does not have aout. When/if they implement a new
8465 # versioning mechanism, adjust this.
8466 if test -x /usr
/bin
/objformat
; then
8467 objformat
=`/usr/bin/objformat`
8470 freebsd
[123]*) objformat
=aout
;;
8474 version_type
=freebsd-
$objformat
8475 case $version_type in
8477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8482 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8486 shlibpath_var
=LD_LIBRARY_PATH
8489 shlibpath_overrides_runpath
=yes
8491 freebsd3.
[01]* | freebsdelf3.
[01]*)
8492 shlibpath_overrides_runpath
=yes
8493 hardcode_into_libs
=yes
8495 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8496 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8497 shlibpath_overrides_runpath
=no
8498 hardcode_into_libs
=yes
8500 freebsd
*) # from 4.6 on
8501 shlibpath_overrides_runpath
=yes
8502 hardcode_into_libs
=yes
8511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8512 soname_spec
='${libname}${release}${shared_ext}$major'
8513 shlibpath_var
=LD_LIBRARY_PATH
8514 hardcode_into_libs
=yes
8517 hpux9
* | hpux10
* | hpux11
*)
8518 # Give a soname corresponding to the major version so that dld.sl refuses to
8519 # link against other versions.
8526 hardcode_into_libs
=yes
8527 dynamic_linker
="$host_os dld.so"
8528 shlibpath_var
=LD_LIBRARY_PATH
8529 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8531 soname_spec
='${libname}${release}${shared_ext}$major'
8532 if test "X$HPUX_IA64_MODE" = X32
; then
8533 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8535 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8537 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8541 hardcode_into_libs
=yes
8542 dynamic_linker
="$host_os dld.sl"
8543 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8544 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8546 soname_spec
='${libname}${release}${shared_ext}$major'
8547 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8548 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8552 dynamic_linker
="$host_os dld.sl"
8553 shlibpath_var
=SHLIB_PATH
8554 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8556 soname_spec
='${libname}${release}${shared_ext}$major'
8559 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8560 postinstall_cmds
='chmod 555 $lib'
8567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8568 soname_spec
='${libname}${release}${shared_ext}$major'
8569 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8570 shlibpath_var
=LD_LIBRARY_PATH
8571 shlibpath_overrides_runpath
=no
8572 hardcode_into_libs
=yes
8575 irix5
* | irix6
* | nonstopux
*)
8577 nonstopux
*) version_type
=nonstopux
;;
8579 if test "$lt_cv_prog_gnu_ld" = yes; then
8587 soname_spec
='${libname}${release}${shared_ext}$major'
8588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8590 irix5
* | nonstopux
*)
8594 case $LD in # libtool.m4 will add one of these switches to LD
8595 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8596 libsuff
= shlibsuff
= libmagic
=32-bit;;
8597 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8598 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8599 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8600 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8601 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8605 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8606 shlibpath_overrides_runpath
=no
8607 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8608 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8609 hardcode_into_libs
=yes
8612 # No shared lib support for Linux oldld, aout, or coff.
8613 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8617 # This must be Linux ELF.
8622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8623 soname_spec
='${libname}${release}${shared_ext}$major'
8624 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8625 shlibpath_var
=LD_LIBRARY_PATH
8626 shlibpath_overrides_runpath
=no
8627 # This implies no fast_install, which is unacceptable.
8628 # Some rework will be needed to allow for fast_install
8629 # before this can be enabled.
8630 hardcode_into_libs
=yes
8632 # find out which ABI we are using
8635 x86_64
*|s390x
*|powerpc64
*)
8636 echo '#line 8636 "configure"' > conftest.
$ac_ext
8637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8638 (eval $ac_compile) 2>&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); }; then
8642 case `/usr/bin/file conftest.$ac_objext` in
8645 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8653 # Append ld.so.conf contents to the search path
8654 if test -f /etc
/ld.so.conf
; then
8655 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8656 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8659 # We used to test for /lib/ld.so.1 and disable shared libraries on
8660 # powerpc, because MkLinux only supported shared libraries with the
8661 # GNU dynamic linker. Since this was broken with cross compilers,
8662 # most powerpc-linux boxes support dynamic linking these days and
8663 # people can always --disable-shared, the test was removed, and we
8664 # assume the GNU/Linux dynamic linker is in use.
8665 dynamic_linker
='GNU/Linux ld.so'
8672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8673 soname_spec
='${libname}${release}${shared_ext}$major'
8674 shlibpath_var
=LD_LIBRARY_PATH
8675 shlibpath_overrides_runpath
=no
8676 hardcode_into_libs
=yes
8677 dynamic_linker
='GNU ld.so'
8684 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8686 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8687 dynamic_linker
='NetBSD (a.out) ld.so'
8689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8690 soname_spec
='${libname}${release}${shared_ext}$major'
8691 dynamic_linker
='NetBSD ld.elf_so'
8693 shlibpath_var
=LD_LIBRARY_PATH
8694 shlibpath_overrides_runpath
=yes
8695 hardcode_into_libs
=yes
8700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8701 shlibpath_var
=LD_LIBRARY_PATH
8702 shlibpath_overrides_runpath
=yes
8709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8710 soname_spec
='${libname}${release}${shared_ext}$major'
8711 shlibpath_var
=LD_LIBRARY_PATH
8712 shlibpath_overrides_runpath
=yes
8717 sys_lib_dlsearch_path_spec
="/usr/lib"
8719 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8721 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8722 *) need_version
=no
;;
8724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8725 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8726 shlibpath_var
=LD_LIBRARY_PATH
8727 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8729 openbsd2.
[89] | openbsd2.
[89].
*)
8730 shlibpath_overrides_runpath
=no
8733 shlibpath_overrides_runpath
=yes
8737 shlibpath_overrides_runpath
=yes
8742 libname_spec
='$name'
8745 library_names_spec
='$libname${shared_ext} $libname.a'
8746 dynamic_linker
='OS/2 ld.exe'
8747 shlibpath_var
=LIBPATH
8750 osf3
* | osf4
* | osf5
*)
8754 soname_spec
='${libname}${release}${shared_ext}$major'
8755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8756 shlibpath_var
=LD_LIBRARY_PATH
8757 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8758 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8766 soname_spec
='${libname}${release}${shared_ext}$major'
8767 shlibpath_var
=LD_LIBRARY_PATH
8768 shlibpath_overrides_runpath
=yes
8769 hardcode_into_libs
=yes
8770 # ldd complains unless libraries are executable
8771 postinstall_cmds
='chmod +x $lib'
8776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8777 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8778 shlibpath_var
=LD_LIBRARY_PATH
8779 shlibpath_overrides_runpath
=yes
8780 if test "$with_gnu_ld" = yes; then
8788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8789 soname_spec
='${libname}${release}${shared_ext}$major'
8790 shlibpath_var
=LD_LIBRARY_PATH
8791 case $host_vendor in
8793 shlibpath_overrides_runpath
=no
8795 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8796 runpath_var
=LD_RUN_PATH
8804 shlibpath_overrides_runpath
=no
8805 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8811 if test -d /usr
/nec
;then
8813 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8814 soname_spec
='$libname${shared_ext}.$major'
8815 shlibpath_var
=LD_LIBRARY_PATH
8819 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8820 version_type
=freebsd-elf
8823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8824 soname_spec
='${libname}${release}${shared_ext}$major'
8825 shlibpath_var
=LD_LIBRARY_PATH
8826 hardcode_into_libs
=yes
8827 if test "$with_gnu_ld" = yes; then
8828 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8829 shlibpath_overrides_runpath
=no
8831 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8832 shlibpath_overrides_runpath
=yes
8835 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8839 sys_lib_dlsearch_path_spec
='/usr/lib'
8844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8845 soname_spec
='${libname}${release}${shared_ext}$major'
8846 shlibpath_var
=LD_LIBRARY_PATH
8853 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8854 echo "${ECHO_T}$dynamic_linker" >&6
8855 test "$dynamic_linker" = no
&& can_build_shared
=no
8857 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8858 if test "$GCC" = yes; then
8859 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8862 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8863 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8865 if test -n "$hardcode_libdir_flag_spec" || \
8866 test -n "$runpath_var" || \
8867 test "X$hardcode_automatic" = "Xyes" ; then
8869 # We can hardcode non-existant directories.
8870 if test "$hardcode_direct" != no
&&
8871 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8872 # have to relink, otherwise we might link with an installed library
8873 # when we should be linking with a yet-to-be-installed one
8874 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8875 test "$hardcode_minus_L" != no
; then
8876 # Linking always hardcodes the temporary library directory.
8877 hardcode_action
=relink
8879 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8880 hardcode_action
=immediate
8883 # We cannot hardcode anything, or else we can only hardcode existing
8885 hardcode_action
=unsupported
8887 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8888 echo "${ECHO_T}$hardcode_action" >&6
8890 if test "$hardcode_action" = relink
; then
8891 # Fast installation is not supported
8892 enable_fast_install
=no
8893 elif test "$shlibpath_overrides_runpath" = yes ||
8894 test "$enable_shared" = no
; then
8895 # Fast installation is not necessary
8896 enable_fast_install
=needless
8901 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8902 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8903 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8904 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8905 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8906 echo "$as_me:$LINENO: result: yes" >&5
8907 echo "${ECHO_T}yes" >&6
8909 # FIXME - insert some real tests, host_os isn't really good enough
8912 if test -n "$STRIP" ; then
8913 striplib
="$STRIP -x"
8914 echo "$as_me:$LINENO: result: yes" >&5
8915 echo "${ECHO_T}yes" >&6
8917 echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6
8922 echo "$as_me:$LINENO: result: no" >&5
8923 echo "${ECHO_T}no" >&6
8928 if test "x$enable_dlopen" != xyes
; then
8929 enable_dlopen
=unknown
8930 enable_dlopen_self
=unknown
8931 enable_dlopen_self_static
=unknown
8938 lt_cv_dlopen
="load_add_on"
8940 lt_cv_dlopen_self
=yes
8944 lt_cv_dlopen
="LoadLibrary"
8949 lt_cv_dlopen
="dlopen"
8954 # if libdl is installed we need to link against it
8955 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8956 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8957 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8958 echo $ECHO_N "(cached) $ECHO_C" >&6
8960 ac_check_lib_save_LIBS
=$LIBS
8962 cat >conftest.
$ac_ext <<_ACEOF
8965 cat confdefs.h
>>conftest.
$ac_ext
8966 cat >>conftest.
$ac_ext <<_ACEOF
8967 /* end confdefs.h. */
8969 /* Override any gcc2 internal prototype to avoid an error. */
8973 /* We use char because int might match the return type of a gcc2
8974 builtin and then its argument prototype would still apply. */
8984 rm -f conftest.
$ac_objext conftest
$ac_exeext
8985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8986 (eval $ac_link) 2>conftest.er1
8988 grep -v '^ *+' conftest.er1
>conftest.err
8990 cat conftest.err
>&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); } &&
8993 { ac_try
='test -z "$ac_c_werror_flag"
8994 || test ! -s conftest.err'
8995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); }; } &&
9000 { ac_try
='test -s conftest$ac_exeext'
9001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); }; }; then
9006 ac_cv_lib_dl_dlopen
=yes
9008 echo "$as_me: failed program was:" >&5
9009 sed 's/^/| /' conftest.
$ac_ext >&5
9011 ac_cv_lib_dl_dlopen
=no
9013 rm -f conftest.err conftest.
$ac_objext \
9014 conftest
$ac_exeext conftest.
$ac_ext
9015 LIBS
=$ac_check_lib_save_LIBS
9017 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9018 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9019 if test $ac_cv_lib_dl_dlopen = yes; then
9020 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9025 lt_cv_dlopen_self
=yes
9032 echo "$as_me:$LINENO: checking for shl_load" >&5
9033 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9034 if test "${ac_cv_func_shl_load+set}" = set; then
9035 echo $ECHO_N "(cached) $ECHO_C" >&6
9037 cat >conftest.
$ac_ext <<_ACEOF
9040 cat confdefs.h
>>conftest.
$ac_ext
9041 cat >>conftest.
$ac_ext <<_ACEOF
9042 /* end confdefs.h. */
9043 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9045 #define shl_load innocuous_shl_load
9047 /* System header to define __stub macros and hopefully few prototypes,
9048 which can conflict with char shl_load (); below.
9049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9050 <limits.h> exists even on freestanding compilers. */
9053 # include <limits.h>
9055 # include <assert.h>
9060 /* Override any gcc2 internal prototype to avoid an error. */
9065 /* We use char because int might match the return type of a gcc2
9066 builtin and then its argument prototype would still apply. */
9068 /* The GNU C library defines this for functions which it implements
9069 to always fail with ENOSYS. Some functions are actually named
9070 something starting with __ and the normal name is an alias. */
9071 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9074 char (*f) () = shl_load;
9083 return f != shl_load;
9088 rm -f conftest.
$ac_objext conftest
$ac_exeext
9089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9090 (eval $ac_link) 2>conftest.er1
9092 grep -v '^ *+' conftest.er1
>conftest.err
9094 cat conftest.err
>&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 (exit $ac_status); } &&
9097 { ac_try
='test -z "$ac_c_werror_flag"
9098 || test ! -s conftest.err'
9099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); }; } &&
9104 { ac_try
='test -s conftest$ac_exeext'
9105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); }; }; then
9110 ac_cv_func_shl_load
=yes
9112 echo "$as_me: failed program was:" >&5
9113 sed 's/^/| /' conftest.
$ac_ext >&5
9115 ac_cv_func_shl_load
=no
9117 rm -f conftest.err conftest.
$ac_objext \
9118 conftest
$ac_exeext conftest.
$ac_ext
9120 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9121 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9122 if test $ac_cv_func_shl_load = yes; then
9123 lt_cv_dlopen
="shl_load"
9125 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9126 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9127 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9128 echo $ECHO_N "(cached) $ECHO_C" >&6
9130 ac_check_lib_save_LIBS
=$LIBS
9132 cat >conftest.
$ac_ext <<_ACEOF
9135 cat confdefs.h
>>conftest.
$ac_ext
9136 cat >>conftest.
$ac_ext <<_ACEOF
9137 /* end confdefs.h. */
9139 /* Override any gcc2 internal prototype to avoid an error. */
9143 /* We use char because int might match the return type of a gcc2
9144 builtin and then its argument prototype would still apply. */
9154 rm -f conftest.
$ac_objext conftest
$ac_exeext
9155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9156 (eval $ac_link) 2>conftest.er1
9158 grep -v '^ *+' conftest.er1
>conftest.err
9160 cat conftest.err
>&5
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); } &&
9163 { ac_try
='test -z "$ac_c_werror_flag"
9164 || test ! -s conftest.err'
9165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); }; } &&
9170 { ac_try
='test -s conftest$ac_exeext'
9171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175 (exit $ac_status); }; }; then
9176 ac_cv_lib_dld_shl_load
=yes
9178 echo "$as_me: failed program was:" >&5
9179 sed 's/^/| /' conftest.
$ac_ext >&5
9181 ac_cv_lib_dld_shl_load
=no
9183 rm -f conftest.err conftest.
$ac_objext \
9184 conftest
$ac_exeext conftest.
$ac_ext
9185 LIBS
=$ac_check_lib_save_LIBS
9187 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9188 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9189 if test $ac_cv_lib_dld_shl_load = yes; then
9190 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9192 echo "$as_me:$LINENO: checking for dlopen" >&5
9193 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9194 if test "${ac_cv_func_dlopen+set}" = set; then
9195 echo $ECHO_N "(cached) $ECHO_C" >&6
9197 cat >conftest.
$ac_ext <<_ACEOF
9200 cat confdefs.h
>>conftest.
$ac_ext
9201 cat >>conftest.
$ac_ext <<_ACEOF
9202 /* end confdefs.h. */
9203 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9205 #define dlopen innocuous_dlopen
9207 /* System header to define __stub macros and hopefully few prototypes,
9208 which can conflict with char dlopen (); below.
9209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9210 <limits.h> exists even on freestanding compilers. */
9213 # include <limits.h>
9215 # include <assert.h>
9220 /* Override any gcc2 internal prototype to avoid an error. */
9225 /* We use char because int might match the return type of a gcc2
9226 builtin and then its argument prototype would still apply. */
9228 /* The GNU C library defines this for functions which it implements
9229 to always fail with ENOSYS. Some functions are actually named
9230 something starting with __ and the normal name is an alias. */
9231 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9234 char (*f) () = dlopen;
9248 rm -f conftest.
$ac_objext conftest
$ac_exeext
9249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9250 (eval $ac_link) 2>conftest.er1
9252 grep -v '^ *+' conftest.er1
>conftest.err
9254 cat conftest.err
>&5
9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); } &&
9257 { ac_try
='test -z "$ac_c_werror_flag"
9258 || test ! -s conftest.err'
9259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263 (exit $ac_status); }; } &&
9264 { ac_try
='test -s conftest$ac_exeext'
9265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); }; }; then
9270 ac_cv_func_dlopen
=yes
9272 echo "$as_me: failed program was:" >&5
9273 sed 's/^/| /' conftest.
$ac_ext >&5
9275 ac_cv_func_dlopen
=no
9277 rm -f conftest.err conftest.
$ac_objext \
9278 conftest
$ac_exeext conftest.
$ac_ext
9280 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9281 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9282 if test $ac_cv_func_dlopen = yes; then
9283 lt_cv_dlopen
="dlopen"
9285 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9286 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9287 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9288 echo $ECHO_N "(cached) $ECHO_C" >&6
9290 ac_check_lib_save_LIBS
=$LIBS
9292 cat >conftest.
$ac_ext <<_ACEOF
9295 cat confdefs.h
>>conftest.
$ac_ext
9296 cat >>conftest.
$ac_ext <<_ACEOF
9297 /* end confdefs.h. */
9299 /* Override any gcc2 internal prototype to avoid an error. */
9303 /* We use char because int might match the return type of a gcc2
9304 builtin and then its argument prototype would still apply. */
9314 rm -f conftest.
$ac_objext conftest
$ac_exeext
9315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9316 (eval $ac_link) 2>conftest.er1
9318 grep -v '^ *+' conftest.er1
>conftest.err
9320 cat conftest.err
>&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } &&
9323 { ac_try
='test -z "$ac_c_werror_flag"
9324 || test ! -s conftest.err'
9325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); }; } &&
9330 { ac_try
='test -s conftest$ac_exeext'
9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; }; then
9336 ac_cv_lib_dl_dlopen
=yes
9338 echo "$as_me: failed program was:" >&5
9339 sed 's/^/| /' conftest.
$ac_ext >&5
9341 ac_cv_lib_dl_dlopen
=no
9343 rm -f conftest.err conftest.
$ac_objext \
9344 conftest
$ac_exeext conftest.
$ac_ext
9345 LIBS
=$ac_check_lib_save_LIBS
9347 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9348 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9349 if test $ac_cv_lib_dl_dlopen = yes; then
9350 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9352 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9353 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9354 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9355 echo $ECHO_N "(cached) $ECHO_C" >&6
9357 ac_check_lib_save_LIBS
=$LIBS
9359 cat >conftest.
$ac_ext <<_ACEOF
9362 cat confdefs.h
>>conftest.
$ac_ext
9363 cat >>conftest.
$ac_ext <<_ACEOF
9364 /* end confdefs.h. */
9366 /* Override any gcc2 internal prototype to avoid an error. */
9370 /* We use char because int might match the return type of a gcc2
9371 builtin and then its argument prototype would still apply. */
9381 rm -f conftest.
$ac_objext conftest
$ac_exeext
9382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9383 (eval $ac_link) 2>conftest.er1
9385 grep -v '^ *+' conftest.er1
>conftest.err
9387 cat conftest.err
>&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } &&
9390 { ac_try
='test -z "$ac_c_werror_flag"
9391 || test ! -s conftest.err'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } &&
9397 { ac_try
='test -s conftest$ac_exeext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9403 ac_cv_lib_svld_dlopen
=yes
9405 echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.
$ac_ext >&5
9408 ac_cv_lib_svld_dlopen
=no
9410 rm -f conftest.err conftest.
$ac_objext \
9411 conftest
$ac_exeext conftest.
$ac_ext
9412 LIBS
=$ac_check_lib_save_LIBS
9414 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9415 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9416 if test $ac_cv_lib_svld_dlopen = yes; then
9417 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9419 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9420 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9421 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9422 echo $ECHO_N "(cached) $ECHO_C" >&6
9424 ac_check_lib_save_LIBS
=$LIBS
9426 cat >conftest.
$ac_ext <<_ACEOF
9429 cat confdefs.h
>>conftest.
$ac_ext
9430 cat >>conftest.
$ac_ext <<_ACEOF
9431 /* end confdefs.h. */
9433 /* Override any gcc2 internal prototype to avoid an error. */
9437 /* We use char because int might match the return type of a gcc2
9438 builtin and then its argument prototype would still apply. */
9448 rm -f conftest.
$ac_objext conftest
$ac_exeext
9449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9450 (eval $ac_link) 2>conftest.er1
9452 grep -v '^ *+' conftest.er1
>conftest.err
9454 cat conftest.err
>&5
9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9456 (exit $ac_status); } &&
9457 { ac_try
='test -z "$ac_c_werror_flag"
9458 || test ! -s conftest.err'
9459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); }; } &&
9464 { ac_try
='test -s conftest$ac_exeext'
9465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); }; }; then
9470 ac_cv_lib_dld_dld_link
=yes
9472 echo "$as_me: failed program was:" >&5
9473 sed 's/^/| /' conftest.
$ac_ext >&5
9475 ac_cv_lib_dld_dld_link
=no
9477 rm -f conftest.err conftest.
$ac_objext \
9478 conftest
$ac_exeext conftest.
$ac_ext
9479 LIBS
=$ac_check_lib_save_LIBS
9481 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9482 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9483 if test $ac_cv_lib_dld_dld_link = yes; then
9484 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9505 if test "x$lt_cv_dlopen" != xno
; then
9511 case $lt_cv_dlopen in
9513 save_CPPFLAGS
="$CPPFLAGS"
9514 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9516 save_LDFLAGS
="$LDFLAGS"
9517 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9520 LIBS
="$lt_cv_dlopen_libs $LIBS"
9522 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9523 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9524 if test "${lt_cv_dlopen_self+set}" = set; then
9525 echo $ECHO_N "(cached) $ECHO_C" >&6
9527 if test "$cross_compiling" = yes; then :
9528 lt_cv_dlopen_self
=cross
9530 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9531 lt_status
=$lt_dlunknown
9532 cat > conftest.
$ac_ext <<EOF
9533 #line 9533 "configure"
9534 #include "confdefs.h"
9543 # define LT_DLGLOBAL RTLD_GLOBAL
9546 # define LT_DLGLOBAL DL_GLOBAL
9548 # define LT_DLGLOBAL 0
9552 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9553 find out it does not work in some platform. */
9554 #ifndef LT_DLLAZY_OR_NOW
9556 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9559 # define LT_DLLAZY_OR_NOW DL_LAZY
9562 # define LT_DLLAZY_OR_NOW RTLD_NOW
9565 # define LT_DLLAZY_OR_NOW DL_NOW
9567 # define LT_DLLAZY_OR_NOW 0
9575 extern "C" void exit (int);
9578 void fnord() { int i=42;}
9581 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9582 int status = $lt_dlunknown;
9586 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9587 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9588 /* dlclose (self); */
9596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9597 (eval $ac_link) 2>&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9601 (.
/conftest
; exit; ) >&5 2>/dev
/null
9604 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9605 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9606 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9609 # compilation failed
9610 lt_cv_dlopen_self
=no
9617 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9618 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9620 if test "x$lt_cv_dlopen_self" = xyes
; then
9621 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9622 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9623 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9624 if test "${lt_cv_dlopen_self_static+set}" = set; then
9625 echo $ECHO_N "(cached) $ECHO_C" >&6
9627 if test "$cross_compiling" = yes; then :
9628 lt_cv_dlopen_self_static
=cross
9630 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9631 lt_status
=$lt_dlunknown
9632 cat > conftest.
$ac_ext <<EOF
9633 #line 9633 "configure"
9634 #include "confdefs.h"
9643 # define LT_DLGLOBAL RTLD_GLOBAL
9646 # define LT_DLGLOBAL DL_GLOBAL
9648 # define LT_DLGLOBAL 0
9652 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9653 find out it does not work in some platform. */
9654 #ifndef LT_DLLAZY_OR_NOW
9656 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9659 # define LT_DLLAZY_OR_NOW DL_LAZY
9662 # define LT_DLLAZY_OR_NOW RTLD_NOW
9665 # define LT_DLLAZY_OR_NOW DL_NOW
9667 # define LT_DLLAZY_OR_NOW 0
9675 extern "C" void exit (int);
9678 void fnord() { int i=42;}
9681 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9682 int status = $lt_dlunknown;
9686 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9687 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9688 /* dlclose (self); */
9696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9697 (eval $ac_link) 2>&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9701 (.
/conftest
; exit; ) >&5 2>/dev
/null
9704 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9705 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9706 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9709 # compilation failed
9710 lt_cv_dlopen_self_static
=no
9717 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9718 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9721 CPPFLAGS
="$save_CPPFLAGS"
9722 LDFLAGS
="$save_LDFLAGS"
9727 case $lt_cv_dlopen_self in
9728 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9729 *) enable_dlopen_self
=unknown
;;
9732 case $lt_cv_dlopen_self_static in
9733 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9734 *) enable_dlopen_self_static
=unknown
;;
9739 # Report which library types will actually be built
9740 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9741 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9742 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9743 echo "${ECHO_T}$can_build_shared" >&6
9745 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9746 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9747 test "$can_build_shared" = "no" && enable_shared
=no
9749 # On AIX, shared libraries and static libraries use the same namespace, and
9750 # are all built from PIC.
9753 test "$enable_shared" = yes && enable_static
=no
9754 if test -n "$RANLIB"; then
9755 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9756 postinstall_cmds
='$RANLIB $lib'
9761 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9762 test "$enable_shared" = yes && enable_static
=no
9766 echo "$as_me:$LINENO: result: $enable_shared" >&5
9767 echo "${ECHO_T}$enable_shared" >&6
9769 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9770 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9771 # Make sure either enable_shared or enable_static is yes.
9772 test "$enable_shared" = yes || enable_static
=yes
9773 echo "$as_me:$LINENO: result: $enable_static" >&5
9774 echo "${ECHO_T}$enable_static" >&6
9776 # The else clause should only fire when bootstrapping the
9777 # libtool distribution, otherwise you forgot to ship ltmain.sh
9778 # with your package, and you will get complaints that there are
9779 # no rules to generate ltmain.sh.
9780 if test -f "$ltmain"; then
9781 # See if we are running on zsh, and set the options which allow our commands through
9782 # without removal of \ escapes.
9783 if test -n "${ZSH_VERSION+set}" ; then
9784 setopt NO_GLOB_SUBST
9786 # Now quote all the things that may contain metacharacters while being
9787 # careful not to overquote the AC_SUBSTed values. We take copies of the
9788 # variables and quote the copies for generation of the libtool script.
9789 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9791 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9792 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9793 deplibs_check_method reload_flag reload_cmds need_locks \
9794 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9795 lt_cv_sys_global_symbol_to_c_name_address \
9796 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9797 old_postinstall_cmds old_postuninstall_cmds \
9801 lt_prog_compiler_wl \
9802 lt_prog_compiler_pic \
9803 lt_prog_compiler_static \
9804 lt_prog_compiler_no_builtin_flag \
9805 export_dynamic_flag_spec \
9806 thread_safe_flag_spec \
9807 whole_archive_flag_spec \
9808 enable_shared_with_static_runtimes \
9810 old_archive_from_new_cmds \
9815 compiler_lib_search_path \
9817 archive_expsym_cmds \
9819 postuninstall_cmds \
9820 old_archive_from_expsyms_cmds \
9821 allow_undefined_flag \
9823 export_symbols_cmds \
9824 hardcode_libdir_flag_spec \
9825 hardcode_libdir_flag_spec_ld \
9826 hardcode_libdir_separator \
9827 hardcode_automatic \
9829 module_expsym_cmds \
9830 lt_cv_prog_compiler_c_o \
9835 old_archive_cmds | \
9836 old_archive_from_new_cmds | \
9838 archive_expsym_cmds | \
9840 module_expsym_cmds | \
9841 old_archive_from_expsyms_cmds | \
9842 export_symbols_cmds | \
9843 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9844 postinstall_cmds | postuninstall_cmds | \
9845 old_postinstall_cmds | old_postuninstall_cmds | \
9846 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9847 # Double-quote double-evaled strings.
9848 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9851 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9857 *'\$0 --fallback-echo"')
9858 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9863 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9865 { echo "$as_me:$LINENO: creating $ofile" >&5
9866 echo "$as_me: creating $ofile" >&6;}
9868 cat <<__EOF__ >> "$cfgfile"
9871 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9872 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9873 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9875 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9876 # Free Software Foundation, Inc.
9878 # This file is part of GNU Libtool:
9879 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9881 # This program is free software; you can redistribute it and/or modify
9882 # it under the terms of the GNU General Public License as published by
9883 # the Free Software Foundation; either version 2 of the License, or
9884 # (at your option) any later version.
9886 # This program is distributed in the hope that it will be useful, but
9887 # WITHOUT ANY WARRANTY; without even the implied warranty of
9888 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9889 # General Public License for more details.
9891 # You should have received a copy of the GNU General Public License
9892 # along with this program; if not, write to the Free Software
9893 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9895 # As a special exception to the GNU General Public License, if you
9896 # distribute this file as part of a program that contains a
9897 # configuration script generated by Autoconf, you may include it under
9898 # the same distribution terms that you use for the rest of that program.
9900 # A sed program that does not truncate output.
9903 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9904 Xsed="$SED -e 1s/^X//"
9906 # The HP-UX ksh and POSIX shell print the target directory to stdout
9908 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9910 # The names of the tagged configurations supported by this script.
9913 # ### BEGIN LIBTOOL CONFIG
9915 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9917 # Shell to use when invoking shell scripts.
9920 # Whether or not to build shared libraries.
9921 build_libtool_libs=$enable_shared
9923 # Whether or not to build static libraries.
9924 build_old_libs=$enable_static
9926 # Whether or not to add -lc for building shared libraries.
9927 build_libtool_need_lc=$archive_cmds_need_lc
9929 # Whether or not to disallow shared libs when runtime libs are static
9930 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9932 # Whether or not to optimize for fast installation.
9933 fast_install=$enable_fast_install
9936 host_alias=$host_alias
9941 build_alias=$build_alias
9945 # An echo program that does not interpret backslashes.
9950 AR_FLAGS=$lt_AR_FLAGS
9955 # LTCC compiler flags.
9956 LTCFLAGS=$lt_LTCFLAGS
9958 # A language-specific compiler.
9961 # Is the compiler the GNU C compiler?
9964 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9965 gcc_ver=\`gcc -dumpversion\`
9970 # The linker used to build libraries.
9973 # Whether we need hard or soft links.
9976 # A BSD-compatible nm program.
9979 # A symbol stripping program
9982 # Used to examine libraries when file_magic_cmd begins "file"
9983 MAGIC_CMD=$MAGIC_CMD
9985 # Used on cygwin: DLL creation program.
9988 # Used on cygwin: object dumper.
9991 # Used on cygwin: assembler.
9994 # The name of the directory that contains temporary libtool files.
9997 # How to create reloadable object files.
9998 reload_flag=$lt_reload_flag
9999 reload_cmds=$lt_reload_cmds
10001 # How to pass a linker flag through the compiler.
10002 wl=$lt_lt_prog_compiler_wl
10004 # Object file suffix (normally "o").
10005 objext="$ac_objext"
10007 # Old archive suffix (normally "a").
10010 # Shared library suffix (normally ".so").
10011 shrext_cmds='$shrext_cmds'
10013 # Executable file suffix (normally "").
10016 # Additional compiler flags for building library objects.
10017 pic_flag=$lt_lt_prog_compiler_pic
10020 # What is the maximum length of a command?
10021 max_cmd_len=$lt_cv_sys_max_cmd_len
10023 # Does compiler simultaneously support -c and -o options?
10024 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10026 # Must we lock files when doing compilation?
10027 need_locks=$lt_need_locks
10029 # Do we need the lib prefix for modules?
10030 need_lib_prefix=$need_lib_prefix
10032 # Do we need a version for libraries?
10033 need_version=$need_version
10035 # Whether dlopen is supported.
10036 dlopen_support=$enable_dlopen
10038 # Whether dlopen of programs is supported.
10039 dlopen_self=$enable_dlopen_self
10041 # Whether dlopen of statically linked programs is supported.
10042 dlopen_self_static=$enable_dlopen_self_static
10044 # Compiler flag to prevent dynamic linking.
10045 link_static_flag=$lt_lt_prog_compiler_static
10047 # Compiler flag to turn off builtin functions.
10048 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10050 # Compiler flag to allow reflexive dlopens.
10051 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10053 # Compiler flag to generate shared objects directly from archives.
10054 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10056 # Compiler flag to generate thread-safe objects.
10057 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10059 # Library versioning type.
10060 version_type=$version_type
10062 # Format of library name prefix.
10063 libname_spec=$lt_libname_spec
10065 # List of archive names. First name is the real one, the rest are links.
10066 # The last name is the one that the linker finds with -lNAME.
10067 library_names_spec=$lt_library_names_spec
10069 # The coded name of the library, if different from the real name.
10070 soname_spec=$lt_soname_spec
10072 # Commands used to build and install an old-style archive.
10074 old_archive_cmds=$lt_old_archive_cmds
10075 old_postinstall_cmds=$lt_old_postinstall_cmds
10076 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10078 # Create an old-style archive from a shared archive.
10079 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10081 # Create a temporary old-style archive to link instead of a shared archive.
10082 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10084 # Commands used to build and install a shared archive.
10085 archive_cmds=$lt_archive_cmds
10086 archive_expsym_cmds=$lt_archive_expsym_cmds
10087 postinstall_cmds=$lt_postinstall_cmds
10088 postuninstall_cmds=$lt_postuninstall_cmds
10090 # Commands used to build a loadable module (assumed same as above if empty)
10091 module_cmds=$lt_module_cmds
10092 module_expsym_cmds=$lt_module_expsym_cmds
10094 # Commands to strip libraries.
10095 old_striplib=$lt_old_striplib
10096 striplib=$lt_striplib
10098 # Dependencies to place before the objects being linked to create a
10100 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10102 # Dependencies to place after the objects being linked to create a
10104 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10106 # Dependencies to place before the objects being linked to create a
10108 predeps=$lt_predeps
10110 # Dependencies to place after the objects being linked to create a
10112 postdeps=$lt_postdeps
10114 # The library search path used internally by the compiler when linking
10115 # a shared library.
10116 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10118 # Method to check whether dependent libraries are shared objects.
10119 deplibs_check_method=$lt_deplibs_check_method
10121 # Command to use when deplibs_check_method == file_magic.
10122 file_magic_cmd=$lt_file_magic_cmd
10124 # Flag that allows shared libraries with undefined symbols to be built.
10125 allow_undefined_flag=$lt_allow_undefined_flag
10127 # Flag that forces no undefined symbols.
10128 no_undefined_flag=$lt_no_undefined_flag
10130 # Commands used to finish a libtool library installation in a directory.
10131 finish_cmds=$lt_finish_cmds
10133 # Same as above, but a single script fragment to be evaled but not shown.
10134 finish_eval=$lt_finish_eval
10136 # Take the output of nm and produce a listing of raw symbols and C names.
10137 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10139 # Transform the output of nm in a proper C declaration
10140 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10142 # Transform the output of nm in a C name address pair
10143 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10145 # This is the shared library runtime path variable.
10146 runpath_var=$runpath_var
10148 # This is the shared library path variable.
10149 shlibpath_var=$shlibpath_var
10151 # Is shlibpath searched before the hard-coded library search path?
10152 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10154 # How to hardcode a shared library path into an executable.
10155 hardcode_action=$hardcode_action
10157 # Whether we should hardcode library paths into libraries.
10158 hardcode_into_libs=$hardcode_into_libs
10160 # Flag to hardcode \$libdir into a binary during linking.
10161 # This must work even if \$libdir does not exist.
10162 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10164 # If ld is used when linking, flag to hardcode \$libdir into
10165 # a binary during linking. This must work even if \$libdir does
10167 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10169 # Whether we need a single -rpath flag with a separated argument.
10170 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10172 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10173 # resulting binary.
10174 hardcode_direct=$hardcode_direct
10176 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10177 # resulting binary.
10178 hardcode_minus_L=$hardcode_minus_L
10180 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10181 # the resulting binary.
10182 hardcode_shlibpath_var=$hardcode_shlibpath_var
10184 # Set to yes if building a shared library automatically hardcodes DIR into the library
10185 # and all subsequent libraries and executables linked against it.
10186 hardcode_automatic=$hardcode_automatic
10188 # Variables whose values should be saved in libtool wrapper scripts and
10189 # restored at relink time.
10190 variables_saved_for_relink="$variables_saved_for_relink"
10192 # Whether libtool must link a program against all its dependency libraries.
10193 link_all_deplibs=$link_all_deplibs
10195 # Compile-time system search path for libraries
10196 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10198 # Run-time system search path for libraries
10199 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10201 # Fix the shell variable \$srcfile for the compiler.
10202 fix_srcfile_path="$fix_srcfile_path"
10204 # Set to yes if exported symbols are required.
10205 always_export_symbols=$always_export_symbols
10207 # The commands to list exported symbols.
10208 export_symbols_cmds=$lt_export_symbols_cmds
10210 # The commands to extract the exported symbol list from a shared archive.
10211 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10213 # Symbols that should not be listed in the preloaded symbols.
10214 exclude_expsyms=$lt_exclude_expsyms
10216 # Symbols that must always be exported.
10217 include_expsyms=$lt_include_expsyms
10219 # ### END LIBTOOL CONFIG
10226 cat <<\EOF
>> "$cfgfile"
10228 # AIX sometimes has problems with the GCC collect2 program. For some
10229 # reason, if we set the COLLECT_NAMES environment variable, the problems
10230 # vanish in a puff of smoke.
10231 if test "X${COLLECT_NAMES+set}" != Xset
; then
10233 export COLLECT_NAMES
10239 # We use sed instead of cat because bash on DJGPP gets confused if
10240 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10241 # text mode, it properly converts lines to CR/LF. This bash problem
10242 # is reportedly fixed, but why not run on old versions too?
10243 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
10245 mv -f "$cfgfile" "$ofile" || \
10246 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10250 # If there is no Makefile yet, we rely on a make rule to execute
10251 # `config.status --recheck' to rerun these tests and create the
10252 # libtool script then.
10253 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10254 if test -f "$ltmain_in"; then
10255 test -f Makefile
&& make "$ltmain"
10261 ac_cpp
='$CPP $CPPFLAGS'
10262 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10263 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10264 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10269 # Check whether --with-tags or --without-tags was given.
10270 if test "${with_tags+set}" = set; then
10271 withval
="$with_tags"
10272 tagnames
="$withval"
10275 if test -f "$ltmain" && test -n "$tagnames"; then
10276 if test ! -f "${ofile}"; then
10277 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10278 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10281 if test -z "$LTCC"; then
10282 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10283 if test -z "$LTCC"; then
10284 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10285 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10287 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10288 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10291 if test -z "$LTCFLAGS"; then
10292 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10295 # Extract list of available tagged configurations in $ofile.
10296 # Note that this assumes the entire list is on one line.
10297 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10299 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10300 for tagname
in $tagnames; do
10302 # Check whether tagname contains only valid characters
10303 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10305 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10306 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10307 { (exit 1); exit 1; }; }
10311 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
10313 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10314 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10315 { (exit 1); exit 1; }; }
10318 # Update the list of available tags.
10319 if test -n "$tagname"; then
10320 echo appending configuration tag
\"$tagname\" to
$ofile
10324 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10325 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10326 (test "X$CXX" != "Xg++"))) ; then
10328 ac_cpp
='$CXXCPP $CPPFLAGS'
10329 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10330 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10331 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10336 archive_cmds_need_lc_CXX
=no
10337 allow_undefined_flag_CXX
=
10338 always_export_symbols_CXX
=no
10339 archive_expsym_cmds_CXX
=
10340 export_dynamic_flag_spec_CXX
=
10341 hardcode_direct_CXX
=no
10342 hardcode_libdir_flag_spec_CXX
=
10343 hardcode_libdir_flag_spec_ld_CXX
=
10344 hardcode_libdir_separator_CXX
=
10345 hardcode_minus_L_CXX
=no
10346 hardcode_shlibpath_var_CXX
=unsupported
10347 hardcode_automatic_CXX
=no
10349 module_expsym_cmds_CXX
=
10350 link_all_deplibs_CXX
=unknown
10351 old_archive_cmds_CXX
=$old_archive_cmds
10352 no_undefined_flag_CXX
=
10353 whole_archive_flag_spec_CXX
=
10354 enable_shared_with_static_runtimes_CXX
=no
10356 # Dependencies to place before and after the object being linked:
10357 predep_objects_CXX
=
10358 postdep_objects_CXX
=
10361 compiler_lib_search_path_CXX
=
10363 # Source file extension for C++ test sources.
10366 # Object file extension for compiled C++ test sources.
10370 # Code to be used in simple compile tests
10371 lt_simple_compile_test_code
="int some_variable = 0;\n"
10373 # Code to be used in simple link tests
10374 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
10376 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10378 # If no C compiler was specified, use CC.
10381 # If no C compiler flags were specified, use CFLAGS.
10382 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10384 # Allow CC to be a program name with arguments.
10388 # save warnings/boilerplate of simple test code
10389 ac_outfile
=conftest.
$ac_objext
10390 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10391 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10392 _lt_compiler_boilerplate
=`cat conftest.err`
10395 ac_outfile
=conftest.
$ac_objext
10396 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10397 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10398 _lt_linker_boilerplate
=`cat conftest.err`
10402 # Allow CC to be a program name with arguments.
10407 lt_save_with_gnu_ld
=$with_gnu_ld
10408 lt_save_path_LD
=$lt_cv_path_LD
10409 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10410 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10412 $as_unset lt_cv_prog_gnu_ld
10414 if test -n "${lt_cv_path_LDCXX+set}"; then
10415 lt_cv_path_LD
=$lt_cv_path_LDCXX
10417 $as_unset lt_cv_path_LD
10419 test -z "${LDCXX+set}" || LD
=$LDCXX
10423 for cc_temp
in $compiler""; do
10425 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10426 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10431 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10434 # We don't want -fno-exception wen compiling C++ code, so set the
10435 # no_builtin_flag separately
10436 if test "$GXX" = yes; then
10437 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10439 lt_prog_compiler_no_builtin_flag_CXX
=
10442 if test "$GXX" = yes; then
10443 # Set up default GNU C++ configuration
10446 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10447 if test "${with_gnu_ld+set}" = set; then
10448 withval
="$with_gnu_ld"
10449 test "$withval" = no || with_gnu_ld
=yes
10454 if test "$GCC" = yes; then
10455 # Check if gcc -print-prog-name=ld gives a path.
10456 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10457 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10460 # gcc leaves a trailing carriage return which upsets mingw
10461 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10463 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10466 # Accept absolute paths.
10468 re_direlt
='/[^/][^/]*/\.\./'
10469 # Canonicalize the pathname of ld
10470 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10471 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10472 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10474 test -z "$LD" && LD
="$ac_prog"
10477 # If it fails, then pretend we aren't using GCC.
10481 # If it is relative, then search for the first ld in PATH.
10482 with_gnu_ld
=unknown
10485 elif test "$with_gnu_ld" = yes; then
10486 echo "$as_me:$LINENO: checking for GNU ld" >&5
10487 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10489 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10490 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10492 if test "${lt_cv_path_LD+set}" = set; then
10493 echo $ECHO_N "(cached) $ECHO_C" >&6
10495 if test -z "$LD"; then
10496 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10497 for ac_dir
in $PATH; do
10499 test -z "$ac_dir" && ac_dir
=.
10500 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10501 lt_cv_path_LD
="$ac_dir/$ac_prog"
10502 # Check to see if the program is GNU ld. I'd rather use --version,
10503 # but apparently some variants of GNU ld only accept -v.
10504 # Break only if it was the GNU/non-GNU ld that we prefer.
10505 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10506 *GNU
* |
*'with BFD'*)
10507 test "$with_gnu_ld" != no
&& break
10510 test "$with_gnu_ld" != yes && break
10517 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10521 LD
="$lt_cv_path_LD"
10522 if test -n "$LD"; then
10523 echo "$as_me:$LINENO: result: $LD" >&5
10524 echo "${ECHO_T}$LD" >&6
10526 echo "$as_me:$LINENO: result: no" >&5
10527 echo "${ECHO_T}no" >&6
10529 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10530 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10531 { (exit 1); exit 1; }; }
10532 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10533 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10534 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10535 echo $ECHO_N "(cached) $ECHO_C" >&6
10537 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10538 case `$LD -v 2>&1 </dev/null` in
10539 *GNU
* |
*'with BFD'*)
10540 lt_cv_prog_gnu_ld
=yes
10543 lt_cv_prog_gnu_ld
=no
10547 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10548 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10549 with_gnu_ld
=$lt_cv_prog_gnu_ld
10553 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10554 # archiving commands below assume that GNU ld is being used.
10555 if test "$with_gnu_ld" = yes; then
10556 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10557 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'
10559 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10560 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10562 # If archive_cmds runs LD, not CC, wlarc should be empty
10563 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10564 # investigate it a little bit more. (MM)
10567 # ancient GNU ld didn't support --whole-archive et. al.
10568 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10569 grep 'no-whole-archive' > /dev
/null
; then
10570 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10572 whole_archive_flag_spec_CXX
=
10578 # A generic and very simple default shared library creation
10579 # command for GNU C++ for the case where it uses the native
10580 # linker, instead of GNU ld. If possible, this setting should
10581 # overridden to take advantage of the native linker features on
10582 # the platform it is being used on.
10583 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10586 # Commands to make compiler produce verbose output that lists
10587 # what "hidden" libraries, object files and flags are used when
10588 # linking a shared library.
10589 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10597 # PORTME: fill in a description of your system's C++ link characteristics
10598 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10599 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10603 # FIXME: insert proper C++ library support
10607 if test "$host_cpu" = ia64
; then
10608 # On IA64, the linker does run time linking by default, so we don't
10609 # have to do anything special.
10610 aix_use_runtimelinking
=no
10611 exp_sym_flag
='-Bexport'
10614 aix_use_runtimelinking
=no
10616 # Test if we are trying to use run time linking or normal
10617 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10618 # need to do runtime linking.
10619 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10620 for ld_flag
in $LDFLAGS; do
10623 aix_use_runtimelinking
=yes
10631 exp_sym_flag
='-bexport'
10632 no_entry_flag
='-bnoentry'
10635 # When large executables or shared objects are built, AIX ld can
10636 # have problems creating the table of contents. If linking a library
10637 # or program results in "error TOC overflow" add -mminimal-toc to
10638 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10639 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10641 archive_cmds_CXX
=''
10642 hardcode_direct_CXX
=yes
10643 hardcode_libdir_separator_CXX
=':'
10644 link_all_deplibs_CXX
=yes
10646 if test "$GXX" = yes; then
10647 case $host_os in aix4.
[012]|aix4.
[012].
*)
10648 # We only want to do this on AIX 4.2 and lower, the check
10649 # below for broken collect2 doesn't work under 4.3+
10650 collect2name
=`${CC} -print-prog-name=collect2`
10651 if test -f "$collect2name" && \
10652 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10654 # We have reworked collect2
10655 hardcode_direct_CXX
=yes
10657 # We have old collect2
10658 hardcode_direct_CXX
=unsupported
10659 # It fails to find uninstalled libraries when the uninstalled
10660 # path is not listed in the libpath. Setting hardcode_minus_L
10661 # to unsupported forces relinking
10662 hardcode_minus_L_CXX
=yes
10663 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10664 hardcode_libdir_separator_CXX
=
10668 shared_flag
='-shared'
10669 if test "$aix_use_runtimelinking" = yes; then
10670 shared_flag
="$shared_flag "'${wl}-G'
10674 if test "$host_cpu" = ia64
; then
10675 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10676 # chokes on -Wl,-G. The following line is correct:
10679 if test "$aix_use_runtimelinking" = yes; then
10680 shared_flag
='${wl}-G'
10682 shared_flag
='${wl}-bM:SRE'
10687 # It seems that -bexpall does not export symbols beginning with
10688 # underscore (_), so it is better to generate a list of symbols to export.
10689 always_export_symbols_CXX
=yes
10690 if test "$aix_use_runtimelinking" = yes; then
10691 # Warning - without using the other runtime loading flags (-brtl),
10692 # -berok will link without error, but may produce a broken library.
10693 allow_undefined_flag_CXX
='-berok'
10694 # Determine the default libpath from the value encoded in an empty executable.
10695 cat >conftest.
$ac_ext <<_ACEOF
10698 cat confdefs.h
>>conftest.
$ac_ext
10699 cat >>conftest.
$ac_ext <<_ACEOF
10700 /* end confdefs.h. */
10710 rm -f conftest.
$ac_objext conftest
$ac_exeext
10711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10712 (eval $ac_link) 2>conftest.er1
10714 grep -v '^ *+' conftest.er1
>conftest.err
10716 cat conftest.err
>&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } &&
10719 { ac_try
='test -z "$ac_cxx_werror_flag"
10720 || test ! -s conftest.err'
10721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10722 (eval $ac_try) 2>&5
10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725 (exit $ac_status); }; } &&
10726 { ac_try
='test -s conftest$ac_exeext'
10727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10728 (eval $ac_try) 2>&5
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); }; }; then
10733 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10735 # Check for a 64-bit object if we didn't find anything.
10736 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; }
10739 echo "$as_me: failed program was:" >&5
10740 sed 's/^/| /' conftest.
$ac_ext >&5
10743 rm -f conftest.err conftest.
$ac_objext \
10744 conftest
$ac_exeext conftest.
$ac_ext
10745 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10747 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10749 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10751 if test "$host_cpu" = ia64
; then
10752 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10753 allow_undefined_flag_CXX
="-z nodefs"
10754 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10756 # Determine the default libpath from the value encoded in an empty executable.
10757 cat >conftest.
$ac_ext <<_ACEOF
10760 cat confdefs.h
>>conftest.
$ac_ext
10761 cat >>conftest.
$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10772 rm -f conftest.
$ac_objext conftest
$ac_exeext
10773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10774 (eval $ac_link) 2>conftest.er1
10776 grep -v '^ *+' conftest.er1
>conftest.err
10778 cat conftest.err
>&5
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); } &&
10781 { ac_try
='test -z "$ac_cxx_werror_flag"
10782 || test ! -s conftest.err'
10783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10784 (eval $ac_try) 2>&5
10786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 (exit $ac_status); }; } &&
10788 { ac_try
='test -s conftest$ac_exeext'
10789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10790 (eval $ac_try) 2>&5
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); }; }; then
10795 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10797 # Check for a 64-bit object if we didn't find anything.
10798 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; }
10801 echo "$as_me: failed program was:" >&5
10802 sed 's/^/| /' conftest.
$ac_ext >&5
10805 rm -f conftest.err conftest.
$ac_objext \
10806 conftest
$ac_exeext conftest.
$ac_ext
10807 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10809 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10810 # Warning - without using the other run time loading flags,
10811 # -berok will link without error, but may produce a broken library.
10812 no_undefined_flag_CXX
=' ${wl}-bernotok'
10813 allow_undefined_flag_CXX
=' ${wl}-berok'
10814 # Exported symbols can be pulled into shared objects from archives
10815 whole_archive_flag_spec_CXX
='$convenience'
10816 archive_cmds_need_lc_CXX
=yes
10817 # This is similar to how AIX traditionally builds its shared libraries.
10818 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10824 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10825 allow_undefined_flag_CXX
=unsupported
10826 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10827 # support --undefined. This deserves some investigation. FIXME
10828 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10835 case $cc_basename in
10837 # FIXME: insert proper C++ library support
10843 cygwin
* | mingw
* | pw32
*)
10844 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10845 # as there is no search path for DLLs.
10846 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10847 allow_undefined_flag_CXX
=unsupported
10848 always_export_symbols_CXX
=no
10849 enable_shared_with_static_runtimes_CXX
=yes
10851 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10852 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10853 # If the export-symbols file already is a .def file (1st line
10854 # is EXPORTS), use it as is; otherwise, prepend...
10855 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10856 cp $export_symbols $output_objdir/$soname.def;
10858 echo EXPORTS > $output_objdir/$soname.def;
10859 cat $export_symbols >> $output_objdir/$soname.def;
10861 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10866 darwin
* | rhapsody
*)
10868 rhapsody
* | darwin1.
[012])
10869 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10872 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10873 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10875 case ${MACOSX_DEPLOYMENT_TARGET} in
10877 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10880 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10886 archive_cmds_need_lc_CXX
=no
10887 hardcode_direct_CXX
=no
10888 hardcode_automatic_CXX
=yes
10889 hardcode_shlibpath_var_CXX
=unsupported
10890 whole_archive_flag_spec_CXX
=''
10891 link_all_deplibs_CXX
=yes
10893 if test "$GXX" = yes ; then
10894 lt_int_apple_cc_single_mod
=no
10895 output_verbose_link_cmd
='echo'
10896 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10897 lt_int_apple_cc_single_mod
=yes
10899 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10900 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10902 archive_cmds_CXX
='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10904 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10905 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10906 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10907 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}'
10909 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10911 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10913 case $cc_basename in
10915 output_verbose_link_cmd
='echo'
10916 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10917 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10918 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10919 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10920 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10930 case $cc_basename in
10932 # FIXME: insert proper C++ library support
10936 # Green Hills C++ Compiler
10937 # FIXME: insert proper C++ library support
10941 # FIXME: insert proper C++ library support
10947 # C++ shared libraries reported to be fairly broken before switch to ELF
10951 archive_cmds_need_lc_CXX
=no
10953 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10954 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10961 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10962 hardcode_libdir_separator_CXX
=:
10963 export_dynamic_flag_spec_CXX
='${wl}-E'
10964 hardcode_direct_CXX
=yes
10965 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10966 # but as the default
10967 # location of the library.
10969 case $cc_basename in
10971 # FIXME: insert proper C++ library support
10975 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'
10976 # Commands to make compiler produce verbose output that lists
10977 # what "hidden" libraries, object files and flags are used when
10978 # linking a shared library.
10980 # There doesn't appear to be a way to prevent this compiler from
10981 # explicitly linking system object files so we need to strip them
10982 # from the output so that they don't get included in the library
10984 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'
10987 if test "$GXX" = yes; then
10988 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'
10990 # FIXME: insert proper C++ library support
10997 if test $with_gnu_ld = no
; then
10998 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10999 hardcode_libdir_separator_CXX
=:
11003 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
11006 export_dynamic_flag_spec_CXX
='${wl}-E'
11012 hardcode_direct_CXX
=no
11013 hardcode_shlibpath_var_CXX
=no
11016 hardcode_direct_CXX
=yes
11017 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11018 # but as the default
11019 # location of the library.
11023 case $cc_basename in
11025 # FIXME: insert proper C++ library support
11031 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11034 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11037 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11040 # Commands to make compiler produce verbose output that lists
11041 # what "hidden" libraries, object files and flags are used when
11042 # linking a shared library.
11044 # There doesn't appear to be a way to prevent this compiler from
11045 # explicitly linking system object files so we need to strip them
11046 # from the output so that they don't get included in the library
11048 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'
11051 if test "$GXX" = yes; then
11052 if test $with_gnu_ld = no
; then
11055 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11058 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11061 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'
11066 # FIXME: insert proper C++ library support
11073 hardcode_direct_CXX
=no
11074 hardcode_shlibpath_var_CXX
=no
11075 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11076 export_dynamic_flag_spec_CXX
='${wl}-E'
11077 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11078 # Instead, shared libraries are loaded at an image base (0x10000000 by
11079 # default) and relocated if they conflict, which is a slow very memory
11080 # consuming and fragmenting process. To avoid this, we pick a random,
11081 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11082 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11083 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11084 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11087 case $cc_basename in
11090 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11092 # Archives containing C++ object files must be created using
11093 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11094 # necessary to make sure instantiated templates are included
11096 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11099 if test "$GXX" = yes; then
11100 if test "$with_gnu_ld" = no
; then
11101 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11103 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'
11106 link_all_deplibs_CXX
=yes
11109 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11110 hardcode_libdir_separator_CXX
=:
11113 case $cc_basename in
11115 # Kuck and Associates, Inc. (KAI) C++ Compiler
11117 # KCC will only create a shared library if the output file
11118 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11119 # to its proper name (with version) after linking.
11120 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'
11121 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'
11122 # Commands to make compiler produce verbose output that lists
11123 # what "hidden" libraries, object files and flags are used when
11124 # linking a shared library.
11126 # There doesn't appear to be a way to prevent this compiler from
11127 # explicitly linking system object files so we need to strip them
11128 # from the output so that they don't get included in the library
11130 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'
11132 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11133 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11135 # Archives containing C++ object files must be created using
11136 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11137 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11142 # version 8.0 and above of icpc choke on multiply defined symbols
11143 # if we add $predep_objects and $postdep_objects, however 7.1 and
11144 # earlier do not add the objects themselves.
11145 case `$CC -V 2>&1` in
11147 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11148 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'
11150 *) # Version 8.0 or newer
11153 ia64
*) tmp_idyn
=' -i_dynamic';;
11155 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11156 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11159 archive_cmds_need_lc_CXX
=no
11160 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11161 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11162 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11165 # Portland Group C++ compiler
11166 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11167 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11169 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11170 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11171 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11175 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11176 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'
11178 runpath_var
=LD_RUN_PATH
11179 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11180 hardcode_libdir_separator_CXX
=:
11182 # Commands to make compiler produce verbose output that lists
11183 # what "hidden" libraries, object files and flags are used when
11184 # linking a shared library.
11186 # There doesn't appear to be a way to prevent this compiler from
11187 # explicitly linking system object files so we need to strip them
11188 # from the output so that they don't get included in the library
11190 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'
11195 # FIXME: insert proper C++ library support
11199 # FIXME: insert proper C++ library support
11203 case $cc_basename in
11205 # FIXME: insert proper C++ library support
11209 # FIXME: insert proper C++ library support
11215 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11216 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11218 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11219 hardcode_direct_CXX
=yes
11220 hardcode_shlibpath_var_CXX
=no
11222 # Workaround some broken pre-1.5 toolchains
11223 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11226 # C++ shared libraries are fairly broken
11230 hardcode_direct_CXX
=yes
11231 hardcode_shlibpath_var_CXX
=no
11232 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11233 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11234 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11235 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11236 export_dynamic_flag_spec_CXX
='${wl}-E'
11237 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11239 output_verbose_link_cmd
='echo'
11242 case $cc_basename in
11244 # Kuck and Associates, Inc. (KAI) C++ Compiler
11246 # KCC will only create a shared library if the output file
11247 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11248 # to its proper name (with version) after linking.
11249 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'
11251 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11252 hardcode_libdir_separator_CXX
=:
11254 # Archives containing C++ object files must be created using
11255 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11256 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11260 # Rational C++ 2.4.1
11261 # FIXME: insert proper C++ library support
11265 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11266 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11268 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11269 hardcode_libdir_separator_CXX
=:
11271 # Commands to make compiler produce verbose output that lists
11272 # what "hidden" libraries, object files and flags are used when
11273 # linking a shared library.
11275 # There doesn't appear to be a way to prevent this compiler from
11276 # explicitly linking system object files so we need to strip them
11277 # from the output so that they don't get included in the library
11279 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'
11282 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11283 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11284 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11286 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11287 hardcode_libdir_separator_CXX
=:
11289 # Commands to make compiler produce verbose output that lists
11290 # what "hidden" libraries, object files and flags are used when
11291 # linking a shared library.
11292 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11295 # FIXME: insert proper C++ library support
11302 case $cc_basename in
11304 # Kuck and Associates, Inc. (KAI) C++ Compiler
11306 # KCC will only create a shared library if the output file
11307 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11308 # to its proper name (with version) after linking.
11309 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'
11311 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11312 hardcode_libdir_separator_CXX
=:
11314 # Archives containing C++ object files must be created using
11315 # the KAI C++ compiler.
11316 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11319 # Rational C++ 2.4.1
11320 # FIXME: insert proper C++ library support
11324 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11325 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11326 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11327 echo "-hidden">> $lib.exp~
11328 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11331 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11332 hardcode_libdir_separator_CXX
=:
11334 # Commands to make compiler produce verbose output that lists
11335 # what "hidden" libraries, object files and flags are used when
11336 # linking a shared library.
11338 # There doesn't appear to be a way to prevent this compiler from
11339 # explicitly linking system object files so we need to strip them
11340 # from the output so that they don't get included in the library
11342 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'
11345 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11346 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11347 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11349 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11350 hardcode_libdir_separator_CXX
=:
11352 # Commands to make compiler produce verbose output that lists
11353 # what "hidden" libraries, object files and flags are used when
11354 # linking a shared library.
11355 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11358 # FIXME: insert proper C++ library support
11365 # FIXME: insert proper C++ library support
11369 case $cc_basename in
11372 # FIXME: insert proper C++ library support
11377 # FIXME: insert proper C++ library support
11381 # FIXME: insert proper C++ library support
11387 case $cc_basename in
11389 # Sun C++ 4.2, 5.x and Centerline C++
11390 archive_cmds_need_lc_CXX
=yes
11391 no_undefined_flag_CXX
=' -zdefs'
11392 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11393 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11394 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11396 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11397 hardcode_shlibpath_var_CXX
=no
11399 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11401 # The C++ compiler is used as linker so we must use $wl
11402 # flag to pass the commands to the underlying system
11403 # linker. We must also pass each convience library through
11404 # to the system linker between allextract/defaultextract.
11405 # The C++ compiler will combine linker options so we
11406 # cannot just pass the convience library names through
11408 # Supported since Solaris 2.6 (maybe 2.5.1?)
11409 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11412 link_all_deplibs_CXX
=yes
11414 output_verbose_link_cmd
='echo'
11416 # Archives containing C++ object files must be created using
11417 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11418 # necessary to make sure instantiated templates are included
11420 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11423 # Green Hills C++ Compiler
11424 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11426 # The C++ compiler must be used to create the archive.
11427 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11430 # GNU C++ compiler with Solaris linker
11431 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11432 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11433 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11434 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11435 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11436 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11438 # Commands to make compiler produce verbose output that lists
11439 # what "hidden" libraries, object files and flags are used when
11440 # linking a shared library.
11441 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11443 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11445 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11446 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11447 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11449 # Commands to make compiler produce verbose output that lists
11450 # what "hidden" libraries, object files and flags are used when
11451 # linking a shared library.
11452 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11455 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11460 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11461 no_undefined_flag_CXX
='${wl}-z,text'
11462 archive_cmds_need_lc_CXX
=no
11463 hardcode_shlibpath_var_CXX
=no
11464 runpath_var
='LD_RUN_PATH'
11466 case $cc_basename in
11468 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11469 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11472 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11473 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11477 sysv5
* | sco3.2v5
* | sco5v6
*)
11478 # Note: We can NOT use -z defs as we might desire, because we do not
11479 # link with -lc, and that would cause any symbols used from libc to
11480 # always be unresolved, which means just about no library would
11481 # ever link correctly. If we're not using GNU ld we use -z text
11482 # though, which does catch some bad symbols but isn't as heavy-handed
11484 # For security reasons, it is highly recommended that you always
11485 # use absolute paths for naming shared libraries, and exclude the
11486 # DT_RUNPATH tag from executables and libraries. But doing so
11487 # requires that you compile everything twice, which is a pain.
11488 # So that behaviour is only enabled if SCOABSPATH is set to a
11489 # non-empty value in the environment. Most likely only useful for
11490 # creating official distributions of packages.
11491 # This is a hack until libtool officially supports absolute path
11492 # names for shared libraries.
11493 no_undefined_flag_CXX
='${wl}-z,text'
11494 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11495 archive_cmds_need_lc_CXX
=no
11496 hardcode_shlibpath_var_CXX
=no
11497 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11498 hardcode_libdir_separator_CXX
=':'
11499 link_all_deplibs_CXX
=yes
11500 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11501 runpath_var
='LD_RUN_PATH'
11503 case $cc_basename in
11505 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11506 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11509 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11510 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11515 case $cc_basename in
11517 # NonStop-UX NCC 3.20
11518 # FIXME: insert proper C++ library support
11522 # FIXME: insert proper C++ library support
11528 # FIXME: insert proper C++ library support
11532 # FIXME: insert proper C++ library support
11536 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11537 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11538 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11544 ## There is no encapsulation within the following macros, do not change
11545 ## the running order or otherwise move them around unless you know exactly
11546 ## what you are doing...
11548 cat > conftest.
$ac_ext <<EOF
11552 Foo (void) { a = 0; }
11558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11559 (eval $ac_compile) 2>&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; then
11563 # Parse the compiler output and extract the necessary
11564 # objects, libraries and library flags.
11566 # Sentinel used to keep track of whether or not we are before
11567 # the conftest object file.
11568 pre_test_object_deps_done
=no
11570 # The `*' in the case matches for architectures that use `case' in
11571 # $output_verbose_cmd can trigger glob expansion during the loop
11572 # eval without this substitution.
11573 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11575 for p
in `eval $output_verbose_link_cmd`; do
11579 # Some compilers place space between "-{L,R}" and the path.
11580 # Remove the space.
11581 if test $p = "-L" \
11582 ||
test $p = "-R"; then
11589 if test "$pre_test_object_deps_done" = no
; then
11592 # Internal compiler library paths should come after those
11593 # provided the user. The postdeps already come after the
11594 # user supplied libs so there is no need to process them.
11595 if test -z "$compiler_lib_search_path_CXX"; then
11596 compiler_lib_search_path_CXX
="${prev}${p}"
11598 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11601 # The "-l" case would never come before the object being
11602 # linked, so don't bother handling this case.
11605 if test -z "$postdeps_CXX"; then
11606 postdeps_CXX
="${prev}${p}"
11608 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11614 # This assumes that the test object file only shows up
11615 # once in the compiler output.
11616 if test "$p" = "conftest.$objext"; then
11617 pre_test_object_deps_done
=yes
11621 if test "$pre_test_object_deps_done" = no
; then
11622 if test -z "$predep_objects_CXX"; then
11623 predep_objects_CXX
="$p"
11625 predep_objects_CXX
="$predep_objects_CXX $p"
11628 if test -z "$postdep_objects_CXX"; then
11629 postdep_objects_CXX
="$p"
11631 postdep_objects_CXX
="$postdep_objects_CXX $p"
11636 *) ;; # Ignore the rest.
11644 echo "libtool.m4: error: problem compiling CXX test program"
11647 $rm -f confest.
$objext
11649 # PORTME: override above test on systems where it is broken
11652 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11653 # hack all around it, let's just trust "g++" to DTRT.
11654 predep_objects_CXX
=
11655 postdep_objects_CXX
=
11660 case $cc_basename in
11662 # Adding this requires a known-good setup of shared libraries for
11663 # Sun compiler versions before 5.6, else PIC objects from an old
11664 # archive will be linked into the output, leading to subtle bugs.
11665 postdeps_CXX
='-lCstd -lCrun'
11672 case " $postdeps_CXX " in
11673 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11676 lt_prog_compiler_wl_CXX
=
11677 lt_prog_compiler_pic_CXX
=
11678 lt_prog_compiler_static_CXX
=
11680 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11681 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11683 # C++ specific cases for pic, static, wl, etc.
11684 if test "$GXX" = yes; then
11685 lt_prog_compiler_wl_CXX
='-Wl,'
11686 lt_prog_compiler_static_CXX
='-static'
11690 # All AIX code is PIC.
11691 if test "$host_cpu" = ia64
; then
11692 # AIX 5 now supports IA64 processor
11693 lt_prog_compiler_static_CXX
='-Bstatic'
11697 # FIXME: we need at least 68020 code to build shared libraries, but
11698 # adding the `-m68020' flag to GCC prevents building anything better,
11700 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11702 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11703 # PIC is the default for these OSes.
11705 mingw
* | os2
* | pw32
*)
11706 # This hack is so that the source file can tell whether it is being
11707 # built for inclusion in a dll (and should export symbols for example).
11708 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11710 darwin
* | rhapsody
*)
11711 # PIC is the default on this platform
11712 # Common symbols not allowed in MH_DYLIB files
11713 lt_prog_compiler_pic_CXX
='-fno-common'
11716 # DJGPP does not support shared libraries at all
11717 lt_prog_compiler_pic_CXX
=
11720 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11721 # Instead, we relocate shared libraries at runtime.
11724 if test -d /usr
/nec
; then
11725 lt_prog_compiler_pic_CXX
=-Kconform_pic
11729 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11730 # not for PA HP-UX.
11735 lt_prog_compiler_pic_CXX
='-fPIC'
11740 lt_prog_compiler_pic_CXX
='-fPIC'
11746 # All AIX code is PIC.
11747 if test "$host_cpu" = ia64
; then
11748 # AIX 5 now supports IA64 processor
11749 lt_prog_compiler_static_CXX
='-Bstatic'
11751 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11755 case $cc_basename in
11757 # Green Hills C++ Compiler
11758 # _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"
11763 # PIC is the default on this platform
11764 # Common symbols not allowed in MH_DYLIB files
11765 case $cc_basename in
11767 lt_prog_compiler_pic_CXX
='-qnocommon'
11768 lt_prog_compiler_wl_CXX
='-Wl,'
11773 case $cc_basename in
11775 lt_prog_compiler_pic_CXX
='-KPIC'
11778 # Green Hills C++ Compiler
11779 lt_prog_compiler_pic_CXX
='-pic'
11785 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11786 # FreeBSD uses GNU C++
11788 hpux9
* | hpux10
* | hpux11
*)
11789 case $cc_basename in
11791 lt_prog_compiler_wl_CXX
='-Wl,'
11792 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11793 if test "$host_cpu" != ia64
; then
11794 lt_prog_compiler_pic_CXX
='+Z'
11798 lt_prog_compiler_wl_CXX
='-Wl,'
11799 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11805 lt_prog_compiler_pic_CXX
='+Z'
11814 # This is c89, which is MS Visual C++ (no shared libs)
11815 # Anyone wants to do a port?
11817 irix5
* | irix6
* | nonstopux
*)
11818 case $cc_basename in
11820 lt_prog_compiler_wl_CXX
='-Wl,'
11821 lt_prog_compiler_static_CXX
='-non_shared'
11822 # CC pic flag -KPIC is the default.
11829 case $cc_basename in
11832 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11833 lt_prog_compiler_pic_CXX
='-fPIC'
11837 lt_prog_compiler_wl_CXX
='-Wl,'
11838 lt_prog_compiler_pic_CXX
='-KPIC'
11839 lt_prog_compiler_static_CXX
='-static'
11842 # Portland Group C++ compiler.
11843 lt_prog_compiler_wl_CXX
='-Wl,'
11844 lt_prog_compiler_pic_CXX
='-fpic'
11845 lt_prog_compiler_static_CXX
='-Bstatic'
11849 # Make sure the PIC flag is empty. It appears that all Alpha
11850 # Linux and Compaq Tru64 Unix objects are PIC.
11851 lt_prog_compiler_pic_CXX
=
11852 lt_prog_compiler_static_CXX
='-non_shared'
11863 case $cc_basename in
11865 lt_prog_compiler_pic_CXX
='-W c,exportall'
11873 osf3
* | osf4
* | osf5
*)
11874 case $cc_basename in
11876 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11879 # Rational C++ 2.4.1
11880 lt_prog_compiler_pic_CXX
='-pic'
11883 # Digital/Compaq C++
11884 lt_prog_compiler_wl_CXX
='-Wl,'
11885 # Make sure the PIC flag is empty. It appears that all Alpha
11886 # Linux and Compaq Tru64 Unix objects are PIC.
11887 lt_prog_compiler_pic_CXX
=
11888 lt_prog_compiler_static_CXX
='-non_shared'
11897 case $cc_basename in
11899 # Sun C++ 4.2, 5.x and Centerline C++
11900 lt_prog_compiler_pic_CXX
='-KPIC'
11901 lt_prog_compiler_static_CXX
='-Bstatic'
11902 lt_prog_compiler_wl_CXX
='-Qoption ld '
11905 # Green Hills C++ Compiler
11906 lt_prog_compiler_pic_CXX
='-PIC'
11913 case $cc_basename in
11916 lt_prog_compiler_pic_CXX
='-pic'
11917 lt_prog_compiler_static_CXX
='-Bstatic'
11921 lt_prog_compiler_pic_CXX
='-pic'
11928 case $cc_basename in
11930 # NonStop-UX NCC 3.20
11931 lt_prog_compiler_pic_CXX
='-KPIC'
11937 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11938 case $cc_basename in
11940 lt_prog_compiler_wl_CXX
='-Wl,'
11941 lt_prog_compiler_pic_CXX
='-KPIC'
11942 lt_prog_compiler_static_CXX
='-Bstatic'
11949 lt_prog_compiler_can_build_shared_CXX
=no
11954 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11955 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11958 # Check to make sure the PIC flag actually works.
11960 if test -n "$lt_prog_compiler_pic_CXX"; then
11962 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11963 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11964 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11967 lt_prog_compiler_pic_works_CXX
=no
11968 ac_outfile
=conftest.
$ac_objext
11969 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11970 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11971 # Insert the option either (1) after the last *FLAGS variable, or
11972 # (2) before a word containing "conftest.", or (3) at the end.
11973 # Note that $ac_compile itself does not contain backslashes and begins
11974 # with a dollar sign (not a hyphen), so the echo should work correctly.
11975 # The option is referenced via a variable to avoid confusing sed.
11976 lt_compile
=`echo "$ac_compile" | $SED \
11977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11979 -e 's:$: $lt_compiler_flag:'`
11980 (eval echo "\"\$as_me:11980: $lt_compile\"" >&5)
11981 (eval "$lt_compile" 2>conftest.err
)
11983 cat conftest.err
>&5
11984 echo "$as_me:11984: \$? = $ac_status" >&5
11985 if (exit $ac_status) && test -s "$ac_outfile"; then
11986 # The compiler can only warn and ignore the option if not recognized
11987 # So say no if there are warnings other than the usual output.
11988 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11989 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11990 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11991 lt_prog_compiler_pic_works_CXX
=yes
11997 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11998 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12000 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12001 case $lt_prog_compiler_pic_CXX in
12003 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12006 lt_prog_compiler_pic_CXX
=
12007 lt_prog_compiler_can_build_shared_CXX
=no
12012 # For platforms which do not support PIC, -DPIC is meaningless:
12014 lt_prog_compiler_pic_CXX
=
12017 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12022 # Check to make sure the static flag actually works.
12024 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12025 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12026 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12027 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12030 lt_prog_compiler_static_works_CXX
=no
12031 save_LDFLAGS
="$LDFLAGS"
12032 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12033 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12034 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12035 # The linker can only warn and ignore the option if not recognized
12036 # So say no if there are warnings
12037 if test -s conftest.err
; then
12038 # Append any errors to the config.log.
12039 cat conftest.err
1>&5
12040 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12041 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12042 if diff conftest.exp conftest.er2
>/dev
/null
; then
12043 lt_prog_compiler_static_works_CXX
=yes
12046 lt_prog_compiler_static_works_CXX
=yes
12050 LDFLAGS
="$save_LDFLAGS"
12053 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12054 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12056 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12059 lt_prog_compiler_static_CXX
=
12063 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12064 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12065 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 lt_cv_prog_compiler_c_o_CXX
=no
12069 $rm -r conftest
2>/dev
/null
12073 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12075 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12076 # Insert the option either (1) after the last *FLAGS variable, or
12077 # (2) before a word containing "conftest.", or (3) at the end.
12078 # Note that $ac_compile itself does not contain backslashes and begins
12079 # with a dollar sign (not a hyphen), so the echo should work correctly.
12080 lt_compile
=`echo "$ac_compile" | $SED \
12081 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12082 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12083 -e 's:$: $lt_compiler_flag:'`
12084 (eval echo "\"\$as_me:12084: $lt_compile\"" >&5)
12085 (eval "$lt_compile" 2>out
/conftest.err
)
12087 cat out
/conftest.err
>&5
12088 echo "$as_me:12088: \$? = $ac_status" >&5
12089 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12091 # The compiler can only warn and ignore the option if not recognized
12092 # So say no if there are warnings
12093 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12094 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12095 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12096 lt_cv_prog_compiler_c_o_CXX
=yes
12101 # SGI C++ compiler will create directory out/ii_files/ for
12102 # template instantiation
12103 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12104 $rm out
/* && rmdir out
12110 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12111 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12114 hard_links
="nottested"
12115 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12116 # do not overwrite the value of need_locks provided by the user
12117 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12118 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12121 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12123 ln conftest.a conftest.b
2>&5 || hard_links
=no
12124 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12125 echo "$as_me:$LINENO: result: $hard_links" >&5
12126 echo "${ECHO_T}$hard_links" >&6
12127 if test "$hard_links" = no
; then
12128 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12129 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12136 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12137 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12139 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12142 # If we're using GNU nm, then we don't want the "-C" option.
12143 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12144 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12145 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'
12147 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'
12151 export_symbols_cmds_CXX
="$ltdll_cmds"
12154 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12157 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12161 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12162 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12163 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12166 # Do we need to explicitly link libc?
12168 case "x$archive_cmds_need_lc_CXX" in
12170 # Assume -lc should be added
12171 archive_cmds_need_lc_CXX
=yes
12173 if test "$enable_shared" = yes && test "$GCC" = yes; then
12174 case $archive_cmds_CXX in
12176 # FIXME: we may have to deal with multi-command sequences.
12179 # Test whether the compiler implicitly links with -lc since on some
12180 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12181 # to ld, don't add -lc before -lgcc.
12182 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12183 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12185 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12188 (eval $ac_compile) 2>&5
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); } 2>conftest.err
; then
12194 libobjs
=conftest.
$ac_objext
12196 wl
=$lt_prog_compiler_wl_CXX
12197 pic_flag
=$lt_prog_compiler_pic_CXX
12203 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12204 allow_undefined_flag_CXX
=
12205 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12206 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); }
12211 archive_cmds_need_lc_CXX
=no
12213 archive_cmds_need_lc_CXX
=yes
12215 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12217 cat conftest.err
1>&5
12220 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12221 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12228 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12229 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12230 library_names_spec
=
12231 libname_spec
='lib$name'
12235 postuninstall_cmds
=
12239 shlibpath_overrides_runpath
=unknown
12241 dynamic_linker
="$host_os ld.so"
12242 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12243 if test "$GCC" = yes; then
12244 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12245 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12246 # if the path contains ";" then we assume it to be the separator
12247 # otherwise default to the standard path separator (i.e. ":") - it is
12248 # assumed that no part of a normal pathname contains ";" but that should
12249 # okay in the real world where ";" in dirpaths is itself problematic.
12250 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12252 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12255 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12257 need_lib_prefix
=unknown
12258 hardcode_into_libs
=no
12260 # when you set need_version to no, make sure it does not cause -set_version
12261 # flags to be left without arguments
12262 need_version
=unknown
12267 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12268 shlibpath_var
=LIBPATH
12270 # AIX 3 has no versioning support, so we append a major version to the name.
12271 soname_spec
='${libname}${release}${shared_ext}$major'
12278 hardcode_into_libs
=yes
12279 if test "$host_cpu" = ia64
; then
12280 # AIX 5 supports IA64
12281 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12282 shlibpath_var
=LD_LIBRARY_PATH
12284 # With GCC up to 2.95.x, collect2 would create an import file
12285 # for dependence libraries. The import file would start with
12286 # the line `#! .'. This would cause the generated library to
12287 # depend on `.', always an invalid library. This was fixed in
12288 # development snapshots of GCC prior to 3.0.
12290 aix4 | aix4.
[01] | aix4.
[01].
*)
12291 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12293 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12296 can_build_shared
=no
12300 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12301 # soname into executable. Probably we can add versioning support to
12302 # collect2, so additional links can be useful in future.
12303 if test "$aix_use_runtimelinking" = yes; then
12304 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12305 # instead of lib<name>.a to let people know that these are not
12306 # typical AIX shared libraries.
12307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12309 # We preserve .a as extension for shared libraries through AIX4.2
12310 # and later when we are not doing run time linking.
12311 library_names_spec
='${libname}${release}.a $libname.a'
12312 soname_spec
='${libname}${release}${shared_ext}$major'
12314 shlibpath_var
=LIBPATH
12319 library_names_spec
='$libname.ixlibrary $libname.a'
12320 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12321 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'
12325 library_names_spec
='${libname}${shared_ext}'
12326 dynamic_linker
="$host_os ld.so"
12327 shlibpath_var
=LIBRARY_PATH
12333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12334 soname_spec
='${libname}${release}${shared_ext}$major'
12335 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12336 shlibpath_var
=LD_LIBRARY_PATH
12337 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12338 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12339 # the default ld.so.conf also contains /usr/contrib/lib and
12340 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12341 # libtool to hard-code these into programs
12344 cygwin
* | mingw
* | pw32
*)
12345 version_type
=windows
12350 case $GCC,$host_os in
12351 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12352 library_names_spec
='$libname.dll.a'
12353 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12354 postinstall_cmds
='base_file=`basename \${file}`~
12355 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12356 dldir=$destdir/`dirname \$dlpath`~
12357 test -d \$dldir || mkdir -p \$dldir~
12358 $install_prog $dir/$dlname \$dldir/$dlname~
12359 chmod a+x \$dldir/$dlname'
12360 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12361 dlpath=$dir/\$dldll~
12363 shlibpath_overrides_runpath
=yes
12367 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12368 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12369 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12372 # MinGW DLLs use traditional 'lib' prefix
12373 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12374 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12375 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12376 # It is most probably a Windows format PATH printed by
12377 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12378 # path with ; separators, and with drive letters. We can handle the
12379 # drive letters (cygwin fileutils understands them), so leave them,
12380 # especially as we might pass files found there to a mingw objdump,
12381 # which wouldn't understand a cygwinified path. Ahh.
12382 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12384 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12388 # pw32 DLLs use 'pw' prefix rather than 'lib'
12389 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12395 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12398 dynamic_linker
='Win32 ld.exe'
12399 # FIXME: first we should search . and the directory the executable is in
12403 darwin
* | rhapsody
*)
12404 dynamic_linker
="$host_os dyld"
12405 version_type
=darwin
12408 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12409 soname_spec
='${libname}${release}${major}$shared_ext'
12410 shlibpath_overrides_runpath
=yes
12411 shlibpath_var
=DYLD_LIBRARY_PATH
12412 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12413 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12414 if test "$GCC" = yes; then
12415 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"`
12417 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12419 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12427 soname_spec
='${libname}${release}${shared_ext}$major'
12428 shlibpath_var
=LD_LIBRARY_PATH
12439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12440 soname_spec
='${libname}${release}${shared_ext}$major'
12441 shlibpath_var
=LD_LIBRARY_PATH
12442 shlibpath_overrides_runpath
=no
12443 hardcode_into_libs
=yes
12444 dynamic_linker
='GNU ld.so'
12447 freebsd
* | dragonfly
*)
12448 # DragonFly does not have aout. When/if they implement a new
12449 # versioning mechanism, adjust this.
12450 if test -x /usr
/bin
/objformat
; then
12451 objformat
=`/usr/bin/objformat`
12454 freebsd
[123]*) objformat
=aout
;;
12455 *) objformat
=elf
;;
12458 version_type
=freebsd-
$objformat
12459 case $version_type in
12461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12466 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12470 shlibpath_var
=LD_LIBRARY_PATH
12473 shlibpath_overrides_runpath
=yes
12475 freebsd3.
[01]* | freebsdelf3.
[01]*)
12476 shlibpath_overrides_runpath
=yes
12477 hardcode_into_libs
=yes
12479 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12480 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12481 shlibpath_overrides_runpath
=no
12482 hardcode_into_libs
=yes
12484 freebsd
*) # from 4.6 on
12485 shlibpath_overrides_runpath
=yes
12486 hardcode_into_libs
=yes
12495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12496 soname_spec
='${libname}${release}${shared_ext}$major'
12497 shlibpath_var
=LD_LIBRARY_PATH
12498 hardcode_into_libs
=yes
12501 hpux9
* | hpux10
* | hpux11
*)
12502 # Give a soname corresponding to the major version so that dld.sl refuses to
12503 # link against other versions.
12510 hardcode_into_libs
=yes
12511 dynamic_linker
="$host_os dld.so"
12512 shlibpath_var
=LD_LIBRARY_PATH
12513 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12515 soname_spec
='${libname}${release}${shared_ext}$major'
12516 if test "X$HPUX_IA64_MODE" = X32
; then
12517 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12519 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12521 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12525 hardcode_into_libs
=yes
12526 dynamic_linker
="$host_os dld.sl"
12527 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12528 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12530 soname_spec
='${libname}${release}${shared_ext}$major'
12531 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12532 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12536 dynamic_linker
="$host_os dld.sl"
12537 shlibpath_var
=SHLIB_PATH
12538 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12540 soname_spec
='${libname}${release}${shared_ext}$major'
12543 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12544 postinstall_cmds
='chmod 555 $lib'
12551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12552 soname_spec
='${libname}${release}${shared_ext}$major'
12553 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12554 shlibpath_var
=LD_LIBRARY_PATH
12555 shlibpath_overrides_runpath
=no
12556 hardcode_into_libs
=yes
12559 irix5
* | irix6
* | nonstopux
*)
12561 nonstopux
*) version_type
=nonstopux
;;
12563 if test "$lt_cv_prog_gnu_ld" = yes; then
12571 soname_spec
='${libname}${release}${shared_ext}$major'
12572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12574 irix5
* | nonstopux
*)
12575 libsuff
= shlibsuff
=
12578 case $LD in # libtool.m4 will add one of these switches to LD
12579 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12580 libsuff
= shlibsuff
= libmagic
=32-bit;;
12581 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12582 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12583 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12584 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12585 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12589 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12590 shlibpath_overrides_runpath
=no
12591 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12592 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12593 hardcode_into_libs
=yes
12596 # No shared lib support for Linux oldld, aout, or coff.
12597 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12601 # This must be Linux ELF.
12606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12607 soname_spec
='${libname}${release}${shared_ext}$major'
12608 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12609 shlibpath_var
=LD_LIBRARY_PATH
12610 shlibpath_overrides_runpath
=no
12611 # This implies no fast_install, which is unacceptable.
12612 # Some rework will be needed to allow for fast_install
12613 # before this can be enabled.
12614 hardcode_into_libs
=yes
12616 # find out which ABI we are using
12618 case "$host_cpu" in
12619 x86_64
*|s390x
*|powerpc64
*)
12620 echo '#line 12620 "configure"' > conftest.
$ac_ext
12621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12622 (eval $ac_compile) 2>&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); }; then
12626 case `/usr/bin/file conftest.$ac_objext` in
12629 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12637 # Append ld.so.conf contents to the search path
12638 if test -f /etc
/ld.so.conf
; then
12639 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12640 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12643 # We used to test for /lib/ld.so.1 and disable shared libraries on
12644 # powerpc, because MkLinux only supported shared libraries with the
12645 # GNU dynamic linker. Since this was broken with cross compilers,
12646 # most powerpc-linux boxes support dynamic linking these days and
12647 # people can always --disable-shared, the test was removed, and we
12648 # assume the GNU/Linux dynamic linker is in use.
12649 dynamic_linker
='GNU/Linux ld.so'
12656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12657 soname_spec
='${libname}${release}${shared_ext}$major'
12658 shlibpath_var
=LD_LIBRARY_PATH
12659 shlibpath_overrides_runpath
=no
12660 hardcode_into_libs
=yes
12661 dynamic_linker
='GNU ld.so'
12668 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12670 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12671 dynamic_linker
='NetBSD (a.out) ld.so'
12673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12674 soname_spec
='${libname}${release}${shared_ext}$major'
12675 dynamic_linker
='NetBSD ld.elf_so'
12677 shlibpath_var
=LD_LIBRARY_PATH
12678 shlibpath_overrides_runpath
=yes
12679 hardcode_into_libs
=yes
12684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12685 shlibpath_var
=LD_LIBRARY_PATH
12686 shlibpath_overrides_runpath
=yes
12693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12694 soname_spec
='${libname}${release}${shared_ext}$major'
12695 shlibpath_var
=LD_LIBRARY_PATH
12696 shlibpath_overrides_runpath
=yes
12701 sys_lib_dlsearch_path_spec
="/usr/lib"
12703 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12705 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12706 *) need_version
=no
;;
12708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12709 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12710 shlibpath_var
=LD_LIBRARY_PATH
12711 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12713 openbsd2.
[89] | openbsd2.
[89].
*)
12714 shlibpath_overrides_runpath
=no
12717 shlibpath_overrides_runpath
=yes
12721 shlibpath_overrides_runpath
=yes
12726 libname_spec
='$name'
12729 library_names_spec
='$libname${shared_ext} $libname.a'
12730 dynamic_linker
='OS/2 ld.exe'
12731 shlibpath_var
=LIBPATH
12734 osf3
* | osf4
* | osf5
*)
12738 soname_spec
='${libname}${release}${shared_ext}$major'
12739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12740 shlibpath_var
=LD_LIBRARY_PATH
12741 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12742 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12750 soname_spec
='${libname}${release}${shared_ext}$major'
12751 shlibpath_var
=LD_LIBRARY_PATH
12752 shlibpath_overrides_runpath
=yes
12753 hardcode_into_libs
=yes
12754 # ldd complains unless libraries are executable
12755 postinstall_cmds
='chmod +x $lib'
12760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12761 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12762 shlibpath_var
=LD_LIBRARY_PATH
12763 shlibpath_overrides_runpath
=yes
12764 if test "$with_gnu_ld" = yes; then
12772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12773 soname_spec
='${libname}${release}${shared_ext}$major'
12774 shlibpath_var
=LD_LIBRARY_PATH
12775 case $host_vendor in
12777 shlibpath_overrides_runpath
=no
12779 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12780 runpath_var
=LD_RUN_PATH
12788 shlibpath_overrides_runpath
=no
12789 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12795 if test -d /usr
/nec
;then
12797 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12798 soname_spec
='$libname${shared_ext}.$major'
12799 shlibpath_var
=LD_LIBRARY_PATH
12803 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12804 version_type
=freebsd-elf
12807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12808 soname_spec
='${libname}${release}${shared_ext}$major'
12809 shlibpath_var
=LD_LIBRARY_PATH
12810 hardcode_into_libs
=yes
12811 if test "$with_gnu_ld" = yes; then
12812 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12813 shlibpath_overrides_runpath
=no
12815 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12816 shlibpath_overrides_runpath
=yes
12819 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12823 sys_lib_dlsearch_path_spec
='/usr/lib'
12828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12829 soname_spec
='${libname}${release}${shared_ext}$major'
12830 shlibpath_var
=LD_LIBRARY_PATH
12837 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12838 echo "${ECHO_T}$dynamic_linker" >&6
12839 test "$dynamic_linker" = no
&& can_build_shared
=no
12841 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12842 if test "$GCC" = yes; then
12843 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12846 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12847 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12848 hardcode_action_CXX
=
12849 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12850 test -n "$runpath_var_CXX" || \
12851 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12853 # We can hardcode non-existant directories.
12854 if test "$hardcode_direct_CXX" != no
&&
12855 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12856 # have to relink, otherwise we might link with an installed library
12857 # when we should be linking with a yet-to-be-installed one
12858 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12859 test "$hardcode_minus_L_CXX" != no
; then
12860 # Linking always hardcodes the temporary library directory.
12861 hardcode_action_CXX
=relink
12863 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12864 hardcode_action_CXX
=immediate
12867 # We cannot hardcode anything, or else we can only hardcode existing
12869 hardcode_action_CXX
=unsupported
12871 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12872 echo "${ECHO_T}$hardcode_action_CXX" >&6
12874 if test "$hardcode_action_CXX" = relink
; then
12875 # Fast installation is not supported
12876 enable_fast_install
=no
12877 elif test "$shlibpath_overrides_runpath" = yes ||
12878 test "$enable_shared" = no
; then
12879 # Fast installation is not necessary
12880 enable_fast_install
=needless
12884 # The else clause should only fire when bootstrapping the
12885 # libtool distribution, otherwise you forgot to ship ltmain.sh
12886 # with your package, and you will get complaints that there are
12887 # no rules to generate ltmain.sh.
12888 if test -f "$ltmain"; then
12889 # See if we are running on zsh, and set the options which allow our commands through
12890 # without removal of \ escapes.
12891 if test -n "${ZSH_VERSION+set}" ; then
12892 setopt NO_GLOB_SUBST
12894 # Now quote all the things that may contain metacharacters while being
12895 # careful not to overquote the AC_SUBSTed values. We take copies of the
12896 # variables and quote the copies for generation of the libtool script.
12897 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12899 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12900 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12901 deplibs_check_method reload_flag reload_cmds need_locks \
12902 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12903 lt_cv_sys_global_symbol_to_c_name_address \
12904 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12905 old_postinstall_cmds old_postuninstall_cmds \
12909 lt_prog_compiler_wl_CXX \
12910 lt_prog_compiler_pic_CXX \
12911 lt_prog_compiler_static_CXX \
12912 lt_prog_compiler_no_builtin_flag_CXX \
12913 export_dynamic_flag_spec_CXX \
12914 thread_safe_flag_spec_CXX \
12915 whole_archive_flag_spec_CXX \
12916 enable_shared_with_static_runtimes_CXX \
12917 old_archive_cmds_CXX \
12918 old_archive_from_new_cmds_CXX \
12919 predep_objects_CXX \
12920 postdep_objects_CXX \
12923 compiler_lib_search_path_CXX \
12925 archive_expsym_cmds_CXX \
12926 postinstall_cmds_CXX \
12927 postuninstall_cmds_CXX \
12928 old_archive_from_expsyms_cmds_CXX \
12929 allow_undefined_flag_CXX \
12930 no_undefined_flag_CXX \
12931 export_symbols_cmds_CXX \
12932 hardcode_libdir_flag_spec_CXX \
12933 hardcode_libdir_flag_spec_ld_CXX \
12934 hardcode_libdir_separator_CXX \
12935 hardcode_automatic_CXX \
12937 module_expsym_cmds_CXX \
12938 lt_cv_prog_compiler_c_o_CXX \
12939 exclude_expsyms_CXX \
12940 include_expsyms_CXX
; do
12943 old_archive_cmds_CXX | \
12944 old_archive_from_new_cmds_CXX | \
12945 archive_cmds_CXX | \
12946 archive_expsym_cmds_CXX | \
12947 module_cmds_CXX | \
12948 module_expsym_cmds_CXX | \
12949 old_archive_from_expsyms_cmds_CXX | \
12950 export_symbols_cmds_CXX | \
12951 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12952 postinstall_cmds | postuninstall_cmds | \
12953 old_postinstall_cmds | old_postuninstall_cmds | \
12954 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12955 # Double-quote double-evaled strings.
12956 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12959 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12965 *'\$0 --fallback-echo"')
12966 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12972 cat <<__EOF__ >> "$cfgfile"
12973 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12975 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12977 # Shell to use when invoking shell scripts.
12980 # Whether or not to build shared libraries.
12981 build_libtool_libs=$enable_shared
12983 # Whether or not to build static libraries.
12984 build_old_libs=$enable_static
12986 # Whether or not to add -lc for building shared libraries.
12987 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12989 # Whether or not to disallow shared libs when runtime libs are static
12990 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12992 # Whether or not to optimize for fast installation.
12993 fast_install=$enable_fast_install
12996 host_alias=$host_alias
13000 # The build system.
13001 build_alias=$build_alias
13005 # An echo program that does not interpret backslashes.
13010 AR_FLAGS=$lt_AR_FLAGS
13015 # LTCC compiler flags.
13016 LTCFLAGS=$lt_LTCFLAGS
13018 # A language-specific compiler.
13019 CC=$lt_compiler_CXX
13021 # Is the compiler the GNU C compiler?
13024 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
13025 gcc_ver=\`gcc -dumpversion\`
13030 # The linker used to build libraries.
13033 # Whether we need hard or soft links.
13036 # A BSD-compatible nm program.
13039 # A symbol stripping program
13042 # Used to examine libraries when file_magic_cmd begins "file"
13043 MAGIC_CMD=$MAGIC_CMD
13045 # Used on cygwin: DLL creation program.
13048 # Used on cygwin: object dumper.
13051 # Used on cygwin: assembler.
13054 # The name of the directory that contains temporary libtool files.
13057 # How to create reloadable object files.
13058 reload_flag=$lt_reload_flag
13059 reload_cmds=$lt_reload_cmds
13061 # How to pass a linker flag through the compiler.
13062 wl=$lt_lt_prog_compiler_wl_CXX
13064 # Object file suffix (normally "o").
13065 objext="$ac_objext"
13067 # Old archive suffix (normally "a").
13070 # Shared library suffix (normally ".so").
13071 shrext_cmds='$shrext_cmds'
13073 # Executable file suffix (normally "").
13076 # Additional compiler flags for building library objects.
13077 pic_flag=$lt_lt_prog_compiler_pic_CXX
13080 # What is the maximum length of a command?
13081 max_cmd_len=$lt_cv_sys_max_cmd_len
13083 # Does compiler simultaneously support -c and -o options?
13084 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13086 # Must we lock files when doing compilation?
13087 need_locks=$lt_need_locks
13089 # Do we need the lib prefix for modules?
13090 need_lib_prefix=$need_lib_prefix
13092 # Do we need a version for libraries?
13093 need_version=$need_version
13095 # Whether dlopen is supported.
13096 dlopen_support=$enable_dlopen
13098 # Whether dlopen of programs is supported.
13099 dlopen_self=$enable_dlopen_self
13101 # Whether dlopen of statically linked programs is supported.
13102 dlopen_self_static=$enable_dlopen_self_static
13104 # Compiler flag to prevent dynamic linking.
13105 link_static_flag=$lt_lt_prog_compiler_static_CXX
13107 # Compiler flag to turn off builtin functions.
13108 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13110 # Compiler flag to allow reflexive dlopens.
13111 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13113 # Compiler flag to generate shared objects directly from archives.
13114 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13116 # Compiler flag to generate thread-safe objects.
13117 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13119 # Library versioning type.
13120 version_type=$version_type
13122 # Format of library name prefix.
13123 libname_spec=$lt_libname_spec
13125 # List of archive names. First name is the real one, the rest are links.
13126 # The last name is the one that the linker finds with -lNAME.
13127 library_names_spec=$lt_library_names_spec
13129 # The coded name of the library, if different from the real name.
13130 soname_spec=$lt_soname_spec
13132 # Commands used to build and install an old-style archive.
13134 old_archive_cmds=$lt_old_archive_cmds_CXX
13135 old_postinstall_cmds=$lt_old_postinstall_cmds
13136 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13138 # Create an old-style archive from a shared archive.
13139 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13141 # Create a temporary old-style archive to link instead of a shared archive.
13142 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13144 # Commands used to build and install a shared archive.
13145 archive_cmds=$lt_archive_cmds_CXX
13146 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13147 postinstall_cmds=$lt_postinstall_cmds
13148 postuninstall_cmds=$lt_postuninstall_cmds
13150 # Commands used to build a loadable module (assumed same as above if empty)
13151 module_cmds=$lt_module_cmds_CXX
13152 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13154 # Commands to strip libraries.
13155 old_striplib=$lt_old_striplib
13156 striplib=$lt_striplib
13158 # Dependencies to place before the objects being linked to create a
13160 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13162 # Dependencies to place after the objects being linked to create a
13164 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13166 # Dependencies to place before the objects being linked to create a
13168 predeps=$lt_predeps_CXX
13170 # Dependencies to place after the objects being linked to create a
13172 postdeps=$lt_postdeps_CXX
13174 # The library search path used internally by the compiler when linking
13175 # a shared library.
13176 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13178 # Method to check whether dependent libraries are shared objects.
13179 deplibs_check_method=$lt_deplibs_check_method
13181 # Command to use when deplibs_check_method == file_magic.
13182 file_magic_cmd=$lt_file_magic_cmd
13184 # Flag that allows shared libraries with undefined symbols to be built.
13185 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13187 # Flag that forces no undefined symbols.
13188 no_undefined_flag=$lt_no_undefined_flag_CXX
13190 # Commands used to finish a libtool library installation in a directory.
13191 finish_cmds=$lt_finish_cmds
13193 # Same as above, but a single script fragment to be evaled but not shown.
13194 finish_eval=$lt_finish_eval
13196 # Take the output of nm and produce a listing of raw symbols and C names.
13197 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13199 # Transform the output of nm in a proper C declaration
13200 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13202 # Transform the output of nm in a C name address pair
13203 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13205 # This is the shared library runtime path variable.
13206 runpath_var=$runpath_var
13208 # This is the shared library path variable.
13209 shlibpath_var=$shlibpath_var
13211 # Is shlibpath searched before the hard-coded library search path?
13212 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13214 # How to hardcode a shared library path into an executable.
13215 hardcode_action=$hardcode_action_CXX
13217 # Whether we should hardcode library paths into libraries.
13218 hardcode_into_libs=$hardcode_into_libs
13220 # Flag to hardcode \$libdir into a binary during linking.
13221 # This must work even if \$libdir does not exist.
13222 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13224 # If ld is used when linking, flag to hardcode \$libdir into
13225 # a binary during linking. This must work even if \$libdir does
13227 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13229 # Whether we need a single -rpath flag with a separated argument.
13230 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13232 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13233 # resulting binary.
13234 hardcode_direct=$hardcode_direct_CXX
13236 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13237 # resulting binary.
13238 hardcode_minus_L=$hardcode_minus_L_CXX
13240 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13241 # the resulting binary.
13242 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13244 # Set to yes if building a shared library automatically hardcodes DIR into the library
13245 # and all subsequent libraries and executables linked against it.
13246 hardcode_automatic=$hardcode_automatic_CXX
13248 # Variables whose values should be saved in libtool wrapper scripts and
13249 # restored at relink time.
13250 variables_saved_for_relink="$variables_saved_for_relink"
13252 # Whether libtool must link a program against all its dependency libraries.
13253 link_all_deplibs=$link_all_deplibs_CXX
13255 # Compile-time system search path for libraries
13256 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13258 # Run-time system search path for libraries
13259 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13261 # Fix the shell variable \$srcfile for the compiler.
13262 fix_srcfile_path="$fix_srcfile_path_CXX"
13264 # Set to yes if exported symbols are required.
13265 always_export_symbols=$always_export_symbols_CXX
13267 # The commands to list exported symbols.
13268 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13270 # The commands to extract the exported symbol list from a shared archive.
13271 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13273 # Symbols that should not be listed in the preloaded symbols.
13274 exclude_expsyms=$lt_exclude_expsyms_CXX
13276 # Symbols that must always be exported.
13277 include_expsyms=$lt_include_expsyms_CXX
13279 # ### END LIBTOOL TAG CONFIG: $tagname
13285 # If there is no Makefile yet, we rely on a make rule to execute
13286 # `config.status --recheck' to rerun these tests and create the
13287 # libtool script then.
13288 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13289 if test -f "$ltmain_in"; then
13290 test -f Makefile
&& make "$ltmain"
13296 ac_cpp
='$CPP $CPPFLAGS'
13297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13305 with_gnu_ldcxx
=$with_gnu_ld
13306 with_gnu_ld
=$lt_save_with_gnu_ld
13307 lt_cv_path_LDCXX
=$lt_cv_path_LD
13308 lt_cv_path_LD
=$lt_save_path_LD
13309 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13310 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13318 if test -n "$F77" && test "X$F77" != "Xno"; then
13321 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13322 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13323 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13326 archive_cmds_need_lc_F77
=no
13327 allow_undefined_flag_F77
=
13328 always_export_symbols_F77
=no
13329 archive_expsym_cmds_F77
=
13330 export_dynamic_flag_spec_F77
=
13331 hardcode_direct_F77
=no
13332 hardcode_libdir_flag_spec_F77
=
13333 hardcode_libdir_flag_spec_ld_F77
=
13334 hardcode_libdir_separator_F77
=
13335 hardcode_minus_L_F77
=no
13336 hardcode_automatic_F77
=no
13338 module_expsym_cmds_F77
=
13339 link_all_deplibs_F77
=unknown
13340 old_archive_cmds_F77
=$old_archive_cmds
13341 no_undefined_flag_F77
=
13342 whole_archive_flag_spec_F77
=
13343 enable_shared_with_static_runtimes_F77
=no
13345 # Source file extension for f77 test sources.
13348 # Object file extension for compiled f77 test sources.
13352 # Code to be used in simple compile tests
13353 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13355 # Code to be used in simple link tests
13356 lt_simple_link_test_code
=" program t\n end\n"
13358 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13360 # If no C compiler was specified, use CC.
13363 # If no C compiler flags were specified, use CFLAGS.
13364 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13366 # Allow CC to be a program name with arguments.
13370 # save warnings/boilerplate of simple test code
13371 ac_outfile
=conftest.
$ac_objext
13372 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13373 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13374 _lt_compiler_boilerplate
=`cat conftest.err`
13377 ac_outfile
=conftest.
$ac_objext
13378 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13379 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13380 _lt_linker_boilerplate
=`cat conftest.err`
13384 # Allow CC to be a program name with arguments.
13389 for cc_temp
in $compiler""; do
13391 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13392 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13397 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13400 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13401 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13402 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13403 echo "${ECHO_T}$can_build_shared" >&6
13405 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13406 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13407 test "$can_build_shared" = "no" && enable_shared
=no
13409 # On AIX, shared libraries and static libraries use the same namespace, and
13410 # are all built from PIC.
13413 test "$enable_shared" = yes && enable_static
=no
13414 if test -n "$RANLIB"; then
13415 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13416 postinstall_cmds
='$RANLIB $lib'
13420 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13421 test "$enable_shared" = yes && enable_static
=no
13425 echo "$as_me:$LINENO: result: $enable_shared" >&5
13426 echo "${ECHO_T}$enable_shared" >&6
13428 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13429 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13430 # Make sure either enable_shared or enable_static is yes.
13431 test "$enable_shared" = yes || enable_static
=yes
13432 echo "$as_me:$LINENO: result: $enable_static" >&5
13433 echo "${ECHO_T}$enable_static" >&6
13438 lt_prog_compiler_wl_F77
=
13439 lt_prog_compiler_pic_F77
=
13440 lt_prog_compiler_static_F77
=
13442 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13443 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13445 if test "$GCC" = yes; then
13446 lt_prog_compiler_wl_F77
='-Wl,'
13447 lt_prog_compiler_static_F77
='-static'
13451 # All AIX code is PIC.
13452 if test "$host_cpu" = ia64
; then
13453 # AIX 5 now supports IA64 processor
13454 lt_prog_compiler_static_F77
='-Bstatic'
13459 # FIXME: we need at least 68020 code to build shared libraries, but
13460 # adding the `-m68020' flag to GCC prevents building anything better,
13462 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13465 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13466 # PIC is the default for these OSes.
13469 mingw
* | pw32
* | os2
*)
13470 # This hack is so that the source file can tell whether it is being
13471 # built for inclusion in a dll (and should export symbols for example).
13472 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13475 darwin
* | rhapsody
*)
13476 # PIC is the default on this platform
13477 # Common symbols not allowed in MH_DYLIB files
13478 lt_prog_compiler_pic_F77
='-fno-common'
13482 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13483 # Instead, we relocate shared libraries at runtime.
13487 # Just because we use GCC doesn't mean we suddenly get shared libraries
13488 # on systems that don't support them.
13489 lt_prog_compiler_can_build_shared_F77
=no
13494 if test -d /usr
/nec
; then
13495 lt_prog_compiler_pic_F77
=-Kconform_pic
13500 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13501 # not for PA HP-UX.
13507 lt_prog_compiler_pic_F77
='-fPIC'
13513 lt_prog_compiler_pic_F77
='-fPIC'
13517 # PORTME Check for flag to pass linker flags through the system compiler.
13520 lt_prog_compiler_wl_F77
='-Wl,'
13521 if test "$host_cpu" = ia64
; then
13522 # AIX 5 now supports IA64 processor
13523 lt_prog_compiler_static_F77
='-Bstatic'
13525 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13529 # PIC is the default on this platform
13530 # Common symbols not allowed in MH_DYLIB files
13531 case $cc_basename in
13533 lt_prog_compiler_pic_F77
='-qnocommon'
13534 lt_prog_compiler_wl_F77
='-Wl,'
13539 mingw
* | pw32
* | os2
*)
13540 # This hack is so that the source file can tell whether it is being
13541 # built for inclusion in a dll (and should export symbols for example).
13542 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13545 hpux9
* | hpux10
* | hpux11
*)
13546 lt_prog_compiler_wl_F77
='-Wl,'
13547 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13548 # not for PA HP-UX.
13554 lt_prog_compiler_pic_F77
='+Z'
13557 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13558 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13561 irix5
* | irix6
* | nonstopux
*)
13562 lt_prog_compiler_wl_F77
='-Wl,'
13563 # PIC (with -KPIC) is the default.
13564 lt_prog_compiler_static_F77
='-non_shared'
13568 lt_prog_compiler_pic_F77
='-KPIC'
13569 lt_prog_compiler_static_F77
='-Bstatic'
13573 case $cc_basename in
13575 lt_prog_compiler_wl_F77
='-Wl,'
13576 lt_prog_compiler_pic_F77
='-KPIC'
13577 lt_prog_compiler_static_F77
='-static'
13579 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13580 # Portland Group compilers (*not* the Pentium gcc compiler,
13581 # which looks to be a dead project)
13582 lt_prog_compiler_wl_F77
='-Wl,'
13583 lt_prog_compiler_pic_F77
='-fpic'
13584 lt_prog_compiler_static_F77
='-Bstatic'
13587 lt_prog_compiler_wl_F77
='-Wl,'
13588 # All Alpha code is PIC.
13589 lt_prog_compiler_static_F77
='-non_shared'
13594 osf3
* | osf4
* | osf5
*)
13595 lt_prog_compiler_wl_F77
='-Wl,'
13596 # All OSF/1 code is PIC.
13597 lt_prog_compiler_static_F77
='-non_shared'
13601 lt_prog_compiler_pic_F77
='-KPIC'
13602 lt_prog_compiler_static_F77
='-Bstatic'
13603 case $cc_basename in
13604 f77
* | f90
* | f95
*)
13605 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13607 lt_prog_compiler_wl_F77
='-Wl,';;
13612 lt_prog_compiler_wl_F77
='-Qoption ld '
13613 lt_prog_compiler_pic_F77
='-PIC'
13614 lt_prog_compiler_static_F77
='-Bstatic'
13617 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13618 lt_prog_compiler_wl_F77
='-Wl,'
13619 lt_prog_compiler_pic_F77
='-KPIC'
13620 lt_prog_compiler_static_F77
='-Bstatic'
13624 if test -d /usr
/nec
;then
13625 lt_prog_compiler_pic_F77
='-Kconform_pic'
13626 lt_prog_compiler_static_F77
='-Bstatic'
13630 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13631 lt_prog_compiler_wl_F77
='-Wl,'
13632 lt_prog_compiler_pic_F77
='-KPIC'
13633 lt_prog_compiler_static_F77
='-Bstatic'
13637 lt_prog_compiler_wl_F77
='-Wl,'
13638 lt_prog_compiler_can_build_shared_F77
=no
13642 lt_prog_compiler_pic_F77
='-pic'
13643 lt_prog_compiler_static_F77
='-Bstatic'
13647 lt_prog_compiler_can_build_shared_F77
=no
13652 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13653 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13656 # Check to make sure the PIC flag actually works.
13658 if test -n "$lt_prog_compiler_pic_F77"; then
13660 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13661 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13662 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13663 echo $ECHO_N "(cached) $ECHO_C" >&6
13665 lt_prog_compiler_pic_works_F77
=no
13666 ac_outfile
=conftest.
$ac_objext
13667 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13668 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13669 # Insert the option either (1) after the last *FLAGS variable, or
13670 # (2) before a word containing "conftest.", or (3) at the end.
13671 # Note that $ac_compile itself does not contain backslashes and begins
13672 # with a dollar sign (not a hyphen), so the echo should work correctly.
13673 # The option is referenced via a variable to avoid confusing sed.
13674 lt_compile
=`echo "$ac_compile" | $SED \
13675 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13676 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13677 -e 's:$: $lt_compiler_flag:'`
13678 (eval echo "\"\$as_me:13678: $lt_compile\"" >&5)
13679 (eval "$lt_compile" 2>conftest.err
)
13681 cat conftest.err
>&5
13682 echo "$as_me:13682: \$? = $ac_status" >&5
13683 if (exit $ac_status) && test -s "$ac_outfile"; then
13684 # The compiler can only warn and ignore the option if not recognized
13685 # So say no if there are warnings other than the usual output.
13686 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13687 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13688 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13689 lt_prog_compiler_pic_works_F77
=yes
13695 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13696 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13698 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13699 case $lt_prog_compiler_pic_F77 in
13701 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13704 lt_prog_compiler_pic_F77
=
13705 lt_prog_compiler_can_build_shared_F77
=no
13710 # For platforms which do not support PIC, -DPIC is meaningless:
13712 lt_prog_compiler_pic_F77
=
13715 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13720 # Check to make sure the static flag actually works.
13722 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13723 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13724 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13725 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13726 echo $ECHO_N "(cached) $ECHO_C" >&6
13728 lt_prog_compiler_static_works_F77
=no
13729 save_LDFLAGS
="$LDFLAGS"
13730 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13731 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13732 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13733 # The linker can only warn and ignore the option if not recognized
13734 # So say no if there are warnings
13735 if test -s conftest.err
; then
13736 # Append any errors to the config.log.
13737 cat conftest.err
1>&5
13738 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13739 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13740 if diff conftest.exp conftest.er2
>/dev
/null
; then
13741 lt_prog_compiler_static_works_F77
=yes
13744 lt_prog_compiler_static_works_F77
=yes
13748 LDFLAGS
="$save_LDFLAGS"
13751 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13752 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13754 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13757 lt_prog_compiler_static_F77
=
13761 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13762 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13763 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13764 echo $ECHO_N "(cached) $ECHO_C" >&6
13766 lt_cv_prog_compiler_c_o_F77
=no
13767 $rm -r conftest
2>/dev
/null
13771 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13773 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13774 # Insert the option either (1) after the last *FLAGS variable, or
13775 # (2) before a word containing "conftest.", or (3) at the end.
13776 # Note that $ac_compile itself does not contain backslashes and begins
13777 # with a dollar sign (not a hyphen), so the echo should work correctly.
13778 lt_compile
=`echo "$ac_compile" | $SED \
13779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13781 -e 's:$: $lt_compiler_flag:'`
13782 (eval echo "\"\$as_me:13782: $lt_compile\"" >&5)
13783 (eval "$lt_compile" 2>out
/conftest.err
)
13785 cat out
/conftest.err
>&5
13786 echo "$as_me:13786: \$? = $ac_status" >&5
13787 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13789 # The compiler can only warn and ignore the option if not recognized
13790 # So say no if there are warnings
13791 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13792 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13793 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13794 lt_cv_prog_compiler_c_o_F77
=yes
13799 # SGI C++ compiler will create directory out/ii_files/ for
13800 # template instantiation
13801 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13802 $rm out
/* && rmdir out
13808 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13809 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13812 hard_links
="nottested"
13813 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13814 # do not overwrite the value of need_locks provided by the user
13815 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13816 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13819 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13821 ln conftest.a conftest.b
2>&5 || hard_links
=no
13822 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13823 echo "$as_me:$LINENO: result: $hard_links" >&5
13824 echo "${ECHO_T}$hard_links" >&6
13825 if test "$hard_links" = no
; then
13826 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13827 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13834 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13835 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13838 allow_undefined_flag_F77
=
13839 enable_shared_with_static_runtimes_F77
=no
13841 archive_expsym_cmds_F77
=
13842 old_archive_From_new_cmds_F77
=
13843 old_archive_from_expsyms_cmds_F77
=
13844 export_dynamic_flag_spec_F77
=
13845 whole_archive_flag_spec_F77
=
13846 thread_safe_flag_spec_F77
=
13847 hardcode_libdir_flag_spec_F77
=
13848 hardcode_libdir_flag_spec_ld_F77
=
13849 hardcode_libdir_separator_F77
=
13850 hardcode_direct_F77
=no
13851 hardcode_minus_L_F77
=no
13852 hardcode_shlibpath_var_F77
=unsupported
13853 link_all_deplibs_F77
=unknown
13854 hardcode_automatic_F77
=no
13856 module_expsym_cmds_F77
=
13857 always_export_symbols_F77
=no
13858 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13859 # include_expsyms should be a list of space-separated symbols to be *always*
13860 # included in the symbol list
13861 include_expsyms_F77
=
13862 # exclude_expsyms can be an extended regexp of symbols to exclude
13863 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13864 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13865 # as well as any symbol that contains `d'.
13866 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13867 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13868 # platforms (ab)use it in PIC code, but their linkers get confused if
13869 # the symbol is explicitly referenced. Since portable code cannot
13870 # rely on this symbol name, it's probably fine to never include it in
13871 # preloaded symbol tables.
13872 extract_expsyms_cmds
=
13873 # Just being paranoid about ensuring that cc_basename is set.
13874 for cc_temp
in $compiler""; do
13876 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13877 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13882 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13885 cygwin
* | mingw
* | pw32
*)
13886 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13887 # When not using gcc, we currently assume that we are using
13888 # Microsoft Visual C++.
13889 if test "$GCC" != yes; then
13894 # we just hope/assume this is gcc and not c89 (= MSVC++)
13903 if test "$with_gnu_ld" = yes; then
13904 # If archive_cmds runs LD, not CC, wlarc should be empty
13907 # Set some defaults for GNU ld with shared library support. These
13908 # are reset later if shared libraries are not supported. Putting them
13909 # here allows them to be overridden if necessary.
13910 runpath_var
=LD_RUN_PATH
13911 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13912 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13913 # ancient GNU ld didn't support --whole-archive et. al.
13914 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13915 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13917 whole_archive_flag_spec_F77
=
13919 supports_anon_versioning
=no
13920 case `$LD -v 2>/dev/null` in
13921 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13922 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13923 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13924 *\
2.11.
*) ;; # other 2.11 versions
13925 *) supports_anon_versioning
=yes ;;
13928 # See if GNU ld supports shared libraries.
13930 aix3
* | aix4
* | aix5
*)
13931 # On AIX/PPC, the GNU linker is very broken
13932 if test "$host_cpu" != ia64
; then
13936 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13937 *** to be unable to reliably create shared libraries on AIX.
13938 *** Therefore, libtool is disabling shared libraries support. If you
13939 *** really care for shared libraries, you may want to modify your PATH
13940 *** so that a non-GNU linker is found, and then restart.
13947 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)'
13948 hardcode_libdir_flag_spec_F77
='-L$libdir'
13949 hardcode_minus_L_F77
=yes
13951 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13952 # that the semantics of dynamic libraries on AmigaOS, at least up
13953 # to version 4, is to share data among multiple programs linked
13954 # with the same dynamic library. Since this doesn't match the
13955 # behavior of shared libraries on other platforms, we can't use
13961 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13962 allow_undefined_flag_F77
=unsupported
13963 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13964 # support --undefined. This deserves some investigation. FIXME
13965 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13971 cygwin
* | mingw
* | pw32
*)
13972 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13973 # as there is no search path for DLLs.
13974 hardcode_libdir_flag_spec_F77
='-L$libdir'
13975 allow_undefined_flag_F77
=unsupported
13976 always_export_symbols_F77
=no
13977 enable_shared_with_static_runtimes_F77
=yes
13978 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13980 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13981 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13982 # If the export-symbols file already is a .def file (1st line
13983 # is EXPORTS), use it as is; otherwise, prepend...
13984 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13985 cp $export_symbols $output_objdir/$soname.def;
13987 echo EXPORTS > $output_objdir/$soname.def;
13988 cat $export_symbols >> $output_objdir/$soname.def;
13990 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13997 hardcode_direct_F77
=no
13998 hardcode_shlibpath_var_F77
=no
13999 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14000 export_dynamic_flag_spec_F77
='${wl}-E'
14001 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14002 # Instead, shared libraries are loaded at an image base (0x10000000 by
14003 # default) and relocated if they conflict, which is a slow very memory
14004 # consuming and fragmenting process. To avoid this, we pick a random,
14005 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14006 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14007 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14008 archive_expsym_cmds_F77
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14012 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14014 case $cc_basename,$host_cpu in
14015 pgcc
*) # Portland Group C compiler
14016 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14017 tmp_addflag
=' $pic_flag'
14019 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14020 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14021 tmp_addflag
=' $pic_flag -Mnomain' ;;
14022 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14023 tmp_addflag
=' -i_dynamic' ;;
14024 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14025 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14026 ifc
* | ifort
*) # Intel Fortran compiler
14027 tmp_addflag
=' -nofor_main' ;;
14029 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14031 if test $supports_anon_versioning = yes; then
14032 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14033 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14034 $echo "local: *; };" >> $output_objdir/$libname.ver~
14035 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14043 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14044 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14047 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14048 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14053 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14058 *** create shared libraries on Solaris systems. Therefore, libtool
14059 *** is disabling shared libraries support. We urge you to upgrade GNU
14060 *** binutils to release 2.9.1 or newer. Another option is to modify
14061 *** your PATH or compiler configuration so that the native linker is
14062 *** used, and then restart.
14065 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14066 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14067 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14073 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14074 case `$LD -v 2>&1` in
14075 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14080 *** reliably create shared libraries on SCO systems. Therefore, libtool
14081 *** is disabling shared libraries support. We urge you to upgrade GNU
14082 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14083 *** your PATH or compiler configuration so that the native linker is
14084 *** used, and then restart.
14089 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14090 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14091 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14092 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14101 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14103 hardcode_direct_F77
=yes
14104 hardcode_shlibpath_var_F77
=no
14108 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14109 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14110 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14117 if test "$ld_shlibs_F77" = no
; then
14119 hardcode_libdir_flag_spec_F77
=
14120 export_dynamic_flag_spec_F77
=
14121 whole_archive_flag_spec_F77
=
14124 # PORTME fill in a description of your system's linker (not GNU ld)
14127 allow_undefined_flag_F77
=unsupported
14128 always_export_symbols_F77
=yes
14129 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'
14130 # Note: this linker hardcodes the directories in LIBPATH if there
14131 # are no directories specified by -L.
14132 hardcode_minus_L_F77
=yes
14133 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14134 # Neither direct hardcoding nor static linking is supported with a
14136 hardcode_direct_F77
=unsupported
14141 if test "$host_cpu" = ia64
; then
14142 # On IA64, the linker does run time linking by default, so we don't
14143 # have to do anything special.
14144 aix_use_runtimelinking
=no
14145 exp_sym_flag
='-Bexport'
14148 # If we're using GNU nm, then we don't want the "-C" option.
14149 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14150 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14151 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'
14153 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'
14155 aix_use_runtimelinking
=no
14157 # Test if we are trying to use run time linking or normal
14158 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14159 # need to do runtime linking.
14160 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14161 for ld_flag
in $LDFLAGS; do
14162 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14163 aix_use_runtimelinking
=yes
14170 exp_sym_flag
='-bexport'
14171 no_entry_flag
='-bnoentry'
14174 # When large executables or shared objects are built, AIX ld can
14175 # have problems creating the table of contents. If linking a library
14176 # or program results in "error TOC overflow" add -mminimal-toc to
14177 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14178 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14180 archive_cmds_F77
=''
14181 hardcode_direct_F77
=yes
14182 hardcode_libdir_separator_F77
=':'
14183 link_all_deplibs_F77
=yes
14185 if test "$GCC" = yes; then
14186 case $host_os in aix4.
[012]|aix4.
[012].
*)
14187 # We only want to do this on AIX 4.2 and lower, the check
14188 # below for broken collect2 doesn't work under 4.3+
14189 collect2name
=`${CC} -print-prog-name=collect2`
14190 if test -f "$collect2name" && \
14191 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14193 # We have reworked collect2
14194 hardcode_direct_F77
=yes
14196 # We have old collect2
14197 hardcode_direct_F77
=unsupported
14198 # It fails to find uninstalled libraries when the uninstalled
14199 # path is not listed in the libpath. Setting hardcode_minus_L
14200 # to unsupported forces relinking
14201 hardcode_minus_L_F77
=yes
14202 hardcode_libdir_flag_spec_F77
='-L$libdir'
14203 hardcode_libdir_separator_F77
=
14207 shared_flag
='-shared'
14208 if test "$aix_use_runtimelinking" = yes; then
14209 shared_flag
="$shared_flag "'${wl}-G'
14213 if test "$host_cpu" = ia64
; then
14214 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14215 # chokes on -Wl,-G. The following line is correct:
14218 if test "$aix_use_runtimelinking" = yes; then
14219 shared_flag
='${wl}-G'
14221 shared_flag
='${wl}-bM:SRE'
14226 # It seems that -bexpall does not export symbols beginning with
14227 # underscore (_), so it is better to generate a list of symbols to export.
14228 always_export_symbols_F77
=yes
14229 if test "$aix_use_runtimelinking" = yes; then
14230 # Warning - without using the other runtime loading flags (-brtl),
14231 # -berok will link without error, but may produce a broken library.
14232 allow_undefined_flag_F77
='-berok'
14233 # Determine the default libpath from the value encoded in an empty executable.
14234 cat >conftest.
$ac_ext <<_ACEOF
14239 rm -f conftest.
$ac_objext conftest
$ac_exeext
14240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14241 (eval $ac_link) 2>conftest.er1
14243 grep -v '^ *+' conftest.er1
>conftest.err
14245 cat conftest.err
>&5
14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 (exit $ac_status); } &&
14248 { ac_try
='test -z "$ac_f77_werror_flag"
14249 || test ! -s conftest.err'
14250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14251 (eval $ac_try) 2>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); }; } &&
14255 { ac_try
='test -s conftest$ac_exeext'
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257 (eval $ac_try) 2>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); }; }; then
14262 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14264 # Check for a 64-bit object if we didn't find anything.
14265 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; }
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.
$ac_ext >&5
14272 rm -f conftest.err conftest.
$ac_objext \
14273 conftest
$ac_exeext conftest.
$ac_ext
14274 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14276 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14277 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14279 if test "$host_cpu" = ia64
; then
14280 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
14281 allow_undefined_flag_F77
="-z nodefs"
14282 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14284 # Determine the default libpath from the value encoded in an empty executable.
14285 cat >conftest.
$ac_ext <<_ACEOF
14290 rm -f conftest.
$ac_objext conftest
$ac_exeext
14291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14292 (eval $ac_link) 2>conftest.er1
14294 grep -v '^ *+' conftest.er1
>conftest.err
14296 cat conftest.err
>&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); } &&
14299 { ac_try
='test -z "$ac_f77_werror_flag"
14300 || test ! -s conftest.err'
14301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 (eval $ac_try) 2>&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }; } &&
14306 { ac_try
='test -s conftest$ac_exeext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14313 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14315 # Check for a 64-bit object if we didn't find anything.
14316 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; }
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.
$ac_ext >&5
14323 rm -f conftest.err conftest.
$ac_objext \
14324 conftest
$ac_exeext conftest.
$ac_ext
14325 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14327 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14328 # Warning - without using the other run time loading flags,
14329 # -berok will link without error, but may produce a broken library.
14330 no_undefined_flag_F77
=' ${wl}-bernotok'
14331 allow_undefined_flag_F77
=' ${wl}-berok'
14332 # Exported symbols can be pulled into shared objects from archives
14333 whole_archive_flag_spec_F77
='$convenience'
14334 archive_cmds_need_lc_F77
=yes
14335 # This is similar to how AIX traditionally builds its shared libraries.
14336 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14342 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)'
14343 hardcode_libdir_flag_spec_F77
='-L$libdir'
14344 hardcode_minus_L_F77
=yes
14345 # see comment about different semantics on the GNU ld section
14350 export_dynamic_flag_spec_F77
=-rdynamic
14353 cygwin
* | mingw
* | pw32
*)
14354 # When not using gcc, we currently assume that we are using
14355 # Microsoft Visual C++.
14356 # hardcode_libdir_flag_spec is actually meaningless, as there is
14357 # no search path for DLLs.
14358 hardcode_libdir_flag_spec_F77
=' '
14359 allow_undefined_flag_F77
=unsupported
14360 # Tell ltmain to make .lib files, not .a files.
14362 # Tell ltmain to make .dll files, not .so files.
14364 # FIXME: Setting linknames here is a bad hack.
14365 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14366 # The linker will automatically build a .lib file if we build a DLL.
14367 old_archive_From_new_cmds_F77
='true'
14368 # FIXME: Should let the user specify the lib program.
14369 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14370 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14371 enable_shared_with_static_runtimes_F77
=yes
14374 darwin
* | rhapsody
*)
14376 rhapsody
* | darwin1.
[012])
14377 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14380 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14381 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14383 case ${MACOSX_DEPLOYMENT_TARGET} in
14385 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14388 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14394 archive_cmds_need_lc_F77
=no
14395 hardcode_direct_F77
=no
14396 hardcode_automatic_F77
=yes
14397 hardcode_shlibpath_var_F77
=unsupported
14398 whole_archive_flag_spec_F77
=''
14399 link_all_deplibs_F77
=yes
14400 if test "$GCC" = yes ; then
14401 output_verbose_link_cmd
='echo'
14402 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14403 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14404 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14405 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14406 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14408 case $cc_basename in
14410 output_verbose_link_cmd
='echo'
14411 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14412 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14413 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14414 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14415 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14425 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14426 hardcode_libdir_flag_spec_F77
='-L$libdir'
14427 hardcode_shlibpath_var_F77
=no
14434 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14435 # support. Future versions do this automatically, but an explicit c++rt0.o
14436 # does not break anything, and helps significantly (at the cost of a little
14439 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14440 hardcode_libdir_flag_spec_F77
='-R$libdir'
14441 hardcode_direct_F77
=yes
14442 hardcode_shlibpath_var_F77
=no
14445 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14447 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14448 hardcode_direct_F77
=yes
14449 hardcode_minus_L_F77
=yes
14450 hardcode_shlibpath_var_F77
=no
14453 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14454 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14455 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14456 hardcode_libdir_flag_spec_F77
='-R$libdir'
14457 hardcode_direct_F77
=yes
14458 hardcode_shlibpath_var_F77
=no
14462 if test "$GCC" = yes; then
14463 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'
14465 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'
14467 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14468 hardcode_libdir_separator_F77
=:
14469 hardcode_direct_F77
=yes
14471 # hardcode_minus_L: Not really in the search PATH,
14472 # but as the default location of the library.
14473 hardcode_minus_L_F77
=yes
14474 export_dynamic_flag_spec_F77
='${wl}-E'
14478 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14479 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14481 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14483 if test "$with_gnu_ld" = no
; then
14484 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14485 hardcode_libdir_separator_F77
=:
14487 hardcode_direct_F77
=yes
14488 export_dynamic_flag_spec_F77
='${wl}-E'
14490 # hardcode_minus_L: Not really in the search PATH,
14491 # but as the default location of the library.
14492 hardcode_minus_L_F77
=yes
14497 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14500 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14503 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14506 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14512 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14515 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14518 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14522 if test "$with_gnu_ld" = no
; then
14523 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14524 hardcode_libdir_separator_F77
=:
14528 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14529 hardcode_direct_F77
=no
14530 hardcode_shlibpath_var_F77
=no
14533 hardcode_direct_F77
=yes
14534 export_dynamic_flag_spec_F77
='${wl}-E'
14536 # hardcode_minus_L: Not really in the search PATH,
14537 # but as the default location of the library.
14538 hardcode_minus_L_F77
=yes
14544 irix5
* | irix6
* | nonstopux
*)
14545 if test "$GCC" = yes; then
14546 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'
14548 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'
14549 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14551 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14552 hardcode_libdir_separator_F77
=:
14553 link_all_deplibs_F77
=yes
14557 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14558 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14560 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14562 hardcode_libdir_flag_spec_F77
='-R$libdir'
14563 hardcode_direct_F77
=yes
14564 hardcode_shlibpath_var_F77
=no
14568 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14569 hardcode_direct_F77
=yes
14570 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14571 hardcode_libdir_separator_F77
=:
14572 hardcode_shlibpath_var_F77
=no
14576 hardcode_direct_F77
=yes
14577 hardcode_shlibpath_var_F77
=no
14578 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14579 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14580 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14581 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14582 export_dynamic_flag_spec_F77
='${wl}-E'
14585 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14586 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14587 hardcode_libdir_flag_spec_F77
='-R$libdir'
14590 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14591 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14598 hardcode_libdir_flag_spec_F77
='-L$libdir'
14599 hardcode_minus_L_F77
=yes
14600 allow_undefined_flag_F77
=unsupported
14601 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'
14602 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14606 if test "$GCC" = yes; then
14607 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14608 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'
14610 allow_undefined_flag_F77
=' -expect_unresolved \*'
14611 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'
14613 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14614 hardcode_libdir_separator_F77
=:
14617 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14618 if test "$GCC" = yes; then
14619 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14620 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'
14621 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14623 allow_undefined_flag_F77
=' -expect_unresolved \*'
14624 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'
14625 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~
14626 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14628 # Both c and cxx compiler support -rpath directly
14629 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14631 hardcode_libdir_separator_F77
=:
14635 no_undefined_flag_F77
=' -z text'
14636 if test "$GCC" = yes; then
14638 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14639 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14640 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14643 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14644 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14645 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14647 hardcode_libdir_flag_spec_F77
='-R$libdir'
14648 hardcode_shlibpath_var_F77
=no
14650 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14652 # The compiler driver will combine linker options so we
14653 # cannot just pass the convience library names through
14654 # without $wl, iff we do not link with $LD.
14655 # Luckily, gcc supports the same syntax we need for Sun Studio.
14656 # Supported since Solaris 2.6 (maybe 2.5.1?)
14659 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14661 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14664 link_all_deplibs_F77
=yes
14668 if test "x$host_vendor" = xsequent
; then
14669 # Use $CC to link under sequent, because it throws in some extra .o
14670 # files that make .init and .fini sections work.
14671 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14673 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14675 hardcode_libdir_flag_spec_F77
='-L$libdir'
14676 hardcode_direct_F77
=yes
14677 hardcode_minus_L_F77
=yes
14678 hardcode_shlibpath_var_F77
=no
14682 case $host_vendor in
14684 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14685 hardcode_direct_F77
=yes # is this really true???
14688 ## LD is ld it makes a PLAMLIB
14689 ## CC just makes a GrossModule.
14690 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14691 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14692 hardcode_direct_F77
=no
14695 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14696 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14699 runpath_var
='LD_RUN_PATH'
14700 hardcode_shlibpath_var_F77
=no
14704 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14705 hardcode_shlibpath_var_F77
=no
14706 export_dynamic_flag_spec_F77
='-Bexport'
14710 if test -d /usr
/nec
; then
14711 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14712 hardcode_shlibpath_var_F77
=no
14713 runpath_var
=LD_RUN_PATH
14714 hardcode_runpath_var
=yes
14719 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14720 no_undefined_flag_F77
='${wl}-z,text'
14721 archive_cmds_need_lc_F77
=no
14722 hardcode_shlibpath_var_F77
=no
14723 runpath_var
='LD_RUN_PATH'
14725 if test "$GCC" = yes; then
14726 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14727 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14729 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14730 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14734 sysv5
* | sco3.2v5
* | sco5v6
*)
14735 # Note: We can NOT use -z defs as we might desire, because we do not
14736 # link with -lc, and that would cause any symbols used from libc to
14737 # always be unresolved, which means just about no library would
14738 # ever link correctly. If we're not using GNU ld we use -z text
14739 # though, which does catch some bad symbols but isn't as heavy-handed
14741 no_undefined_flag_F77
='${wl}-z,text'
14742 allow_undefined_flag_F77
='${wl}-z,nodefs'
14743 archive_cmds_need_lc_F77
=no
14744 hardcode_shlibpath_var_F77
=no
14745 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14746 hardcode_libdir_separator_F77
=':'
14747 link_all_deplibs_F77
=yes
14748 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14749 runpath_var
='LD_RUN_PATH'
14751 if test "$GCC" = yes; then
14752 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14753 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14755 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14756 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14761 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14762 hardcode_libdir_flag_spec_F77
='-L$libdir'
14763 hardcode_shlibpath_var_F77
=no
14772 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14773 echo "${ECHO_T}$ld_shlibs_F77" >&6
14774 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14777 # Do we need to explicitly link libc?
14779 case "x$archive_cmds_need_lc_F77" in
14781 # Assume -lc should be added
14782 archive_cmds_need_lc_F77
=yes
14784 if test "$enable_shared" = yes && test "$GCC" = yes; then
14785 case $archive_cmds_F77 in
14787 # FIXME: we may have to deal with multi-command sequences.
14790 # Test whether the compiler implicitly links with -lc since on some
14791 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14792 # to ld, don't add -lc before -lgcc.
14793 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14794 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14796 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14799 (eval $ac_compile) 2>&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); } 2>conftest.err
; then
14805 libobjs
=conftest.
$ac_objext
14807 wl
=$lt_prog_compiler_wl_F77
14808 pic_flag
=$lt_prog_compiler_pic_F77
14814 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14815 allow_undefined_flag_F77
=
14816 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14817 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }
14822 archive_cmds_need_lc_F77
=no
14824 archive_cmds_need_lc_F77
=yes
14826 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14828 cat conftest.err
1>&5
14831 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14832 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14839 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14840 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14841 library_names_spec
=
14842 libname_spec
='lib$name'
14846 postuninstall_cmds
=
14850 shlibpath_overrides_runpath
=unknown
14852 dynamic_linker
="$host_os ld.so"
14853 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14854 if test "$GCC" = yes; then
14855 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14856 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14857 # if the path contains ";" then we assume it to be the separator
14858 # otherwise default to the standard path separator (i.e. ":") - it is
14859 # assumed that no part of a normal pathname contains ";" but that should
14860 # okay in the real world where ";" in dirpaths is itself problematic.
14861 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14863 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14866 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14868 need_lib_prefix
=unknown
14869 hardcode_into_libs
=no
14871 # when you set need_version to no, make sure it does not cause -set_version
14872 # flags to be left without arguments
14873 need_version
=unknown
14878 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14879 shlibpath_var
=LIBPATH
14881 # AIX 3 has no versioning support, so we append a major version to the name.
14882 soname_spec
='${libname}${release}${shared_ext}$major'
14889 hardcode_into_libs
=yes
14890 if test "$host_cpu" = ia64
; then
14891 # AIX 5 supports IA64
14892 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14893 shlibpath_var
=LD_LIBRARY_PATH
14895 # With GCC up to 2.95.x, collect2 would create an import file
14896 # for dependence libraries. The import file would start with
14897 # the line `#! .'. This would cause the generated library to
14898 # depend on `.', always an invalid library. This was fixed in
14899 # development snapshots of GCC prior to 3.0.
14901 aix4 | aix4.
[01] | aix4.
[01].
*)
14902 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14904 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14907 can_build_shared
=no
14911 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14912 # soname into executable. Probably we can add versioning support to
14913 # collect2, so additional links can be useful in future.
14914 if test "$aix_use_runtimelinking" = yes; then
14915 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14916 # instead of lib<name>.a to let people know that these are not
14917 # typical AIX shared libraries.
14918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14920 # We preserve .a as extension for shared libraries through AIX4.2
14921 # and later when we are not doing run time linking.
14922 library_names_spec
='${libname}${release}.a $libname.a'
14923 soname_spec
='${libname}${release}${shared_ext}$major'
14925 shlibpath_var
=LIBPATH
14930 library_names_spec
='$libname.ixlibrary $libname.a'
14931 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14932 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'
14936 library_names_spec
='${libname}${shared_ext}'
14937 dynamic_linker
="$host_os ld.so"
14938 shlibpath_var
=LIBRARY_PATH
14944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14945 soname_spec
='${libname}${release}${shared_ext}$major'
14946 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14947 shlibpath_var
=LD_LIBRARY_PATH
14948 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14949 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14950 # the default ld.so.conf also contains /usr/contrib/lib and
14951 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14952 # libtool to hard-code these into programs
14955 cygwin
* | mingw
* | pw32
*)
14956 version_type
=windows
14961 case $GCC,$host_os in
14962 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14963 library_names_spec
='$libname.dll.a'
14964 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14965 postinstall_cmds
='base_file=`basename \${file}`~
14966 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14967 dldir=$destdir/`dirname \$dlpath`~
14968 test -d \$dldir || mkdir -p \$dldir~
14969 $install_prog $dir/$dlname \$dldir/$dlname~
14970 chmod a+x \$dldir/$dlname'
14971 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14972 dlpath=$dir/\$dldll~
14974 shlibpath_overrides_runpath
=yes
14978 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14979 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14980 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14983 # MinGW DLLs use traditional 'lib' prefix
14984 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14985 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14986 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14987 # It is most probably a Windows format PATH printed by
14988 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14989 # path with ; separators, and with drive letters. We can handle the
14990 # drive letters (cygwin fileutils understands them), so leave them,
14991 # especially as we might pass files found there to a mingw objdump,
14992 # which wouldn't understand a cygwinified path. Ahh.
14993 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14995 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14999 # pw32 DLLs use 'pw' prefix rather than 'lib'
15000 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15006 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15009 dynamic_linker
='Win32 ld.exe'
15010 # FIXME: first we should search . and the directory the executable is in
15014 darwin
* | rhapsody
*)
15015 dynamic_linker
="$host_os dyld"
15016 version_type
=darwin
15019 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15020 soname_spec
='${libname}${release}${major}$shared_ext'
15021 shlibpath_overrides_runpath
=yes
15022 shlibpath_var
=DYLD_LIBRARY_PATH
15023 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15024 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15025 if test "$GCC" = yes; then
15026 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"`
15028 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15030 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15038 soname_spec
='${libname}${release}${shared_ext}$major'
15039 shlibpath_var
=LD_LIBRARY_PATH
15050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15051 soname_spec
='${libname}${release}${shared_ext}$major'
15052 shlibpath_var
=LD_LIBRARY_PATH
15053 shlibpath_overrides_runpath
=no
15054 hardcode_into_libs
=yes
15055 dynamic_linker
='GNU ld.so'
15058 freebsd
* | dragonfly
*)
15059 # DragonFly does not have aout. When/if they implement a new
15060 # versioning mechanism, adjust this.
15061 if test -x /usr
/bin
/objformat
; then
15062 objformat
=`/usr/bin/objformat`
15065 freebsd
[123]*) objformat
=aout
;;
15066 *) objformat
=elf
;;
15069 version_type
=freebsd-
$objformat
15070 case $version_type in
15072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15077 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15081 shlibpath_var
=LD_LIBRARY_PATH
15084 shlibpath_overrides_runpath
=yes
15086 freebsd3.
[01]* | freebsdelf3.
[01]*)
15087 shlibpath_overrides_runpath
=yes
15088 hardcode_into_libs
=yes
15090 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15091 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15092 shlibpath_overrides_runpath
=no
15093 hardcode_into_libs
=yes
15095 freebsd
*) # from 4.6 on
15096 shlibpath_overrides_runpath
=yes
15097 hardcode_into_libs
=yes
15106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15107 soname_spec
='${libname}${release}${shared_ext}$major'
15108 shlibpath_var
=LD_LIBRARY_PATH
15109 hardcode_into_libs
=yes
15112 hpux9
* | hpux10
* | hpux11
*)
15113 # Give a soname corresponding to the major version so that dld.sl refuses to
15114 # link against other versions.
15121 hardcode_into_libs
=yes
15122 dynamic_linker
="$host_os dld.so"
15123 shlibpath_var
=LD_LIBRARY_PATH
15124 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15126 soname_spec
='${libname}${release}${shared_ext}$major'
15127 if test "X$HPUX_IA64_MODE" = X32
; then
15128 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15130 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15132 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15136 hardcode_into_libs
=yes
15137 dynamic_linker
="$host_os dld.sl"
15138 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15139 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15141 soname_spec
='${libname}${release}${shared_ext}$major'
15142 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15143 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15147 dynamic_linker
="$host_os dld.sl"
15148 shlibpath_var
=SHLIB_PATH
15149 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15151 soname_spec
='${libname}${release}${shared_ext}$major'
15154 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15155 postinstall_cmds
='chmod 555 $lib'
15162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15163 soname_spec
='${libname}${release}${shared_ext}$major'
15164 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15165 shlibpath_var
=LD_LIBRARY_PATH
15166 shlibpath_overrides_runpath
=no
15167 hardcode_into_libs
=yes
15170 irix5
* | irix6
* | nonstopux
*)
15172 nonstopux
*) version_type
=nonstopux
;;
15174 if test "$lt_cv_prog_gnu_ld" = yes; then
15182 soname_spec
='${libname}${release}${shared_ext}$major'
15183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15185 irix5
* | nonstopux
*)
15186 libsuff
= shlibsuff
=
15189 case $LD in # libtool.m4 will add one of these switches to LD
15190 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15191 libsuff
= shlibsuff
= libmagic
=32-bit;;
15192 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15193 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15194 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15195 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15196 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15200 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15201 shlibpath_overrides_runpath
=no
15202 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15203 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15204 hardcode_into_libs
=yes
15207 # No shared lib support for Linux oldld, aout, or coff.
15208 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15212 # This must be Linux ELF.
15217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15218 soname_spec
='${libname}${release}${shared_ext}$major'
15219 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15220 shlibpath_var
=LD_LIBRARY_PATH
15221 shlibpath_overrides_runpath
=no
15222 # This implies no fast_install, which is unacceptable.
15223 # Some rework will be needed to allow for fast_install
15224 # before this can be enabled.
15225 hardcode_into_libs
=yes
15227 # find out which ABI we are using
15229 case "$host_cpu" in
15230 x86_64
*|s390x
*|powerpc64
*)
15231 echo '#line 15231 "configure"' > conftest.
$ac_ext
15232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15233 (eval $ac_compile) 2>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; then
15237 case `/usr/bin/file conftest.$ac_objext` in
15240 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15248 # Append ld.so.conf contents to the search path
15249 if test -f /etc
/ld.so.conf
; then
15250 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15251 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15254 # We used to test for /lib/ld.so.1 and disable shared libraries on
15255 # powerpc, because MkLinux only supported shared libraries with the
15256 # GNU dynamic linker. Since this was broken with cross compilers,
15257 # most powerpc-linux boxes support dynamic linking these days and
15258 # people can always --disable-shared, the test was removed, and we
15259 # assume the GNU/Linux dynamic linker is in use.
15260 dynamic_linker
='GNU/Linux ld.so'
15267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15268 soname_spec
='${libname}${release}${shared_ext}$major'
15269 shlibpath_var
=LD_LIBRARY_PATH
15270 shlibpath_overrides_runpath
=no
15271 hardcode_into_libs
=yes
15272 dynamic_linker
='GNU ld.so'
15279 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15281 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15282 dynamic_linker
='NetBSD (a.out) ld.so'
15284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15285 soname_spec
='${libname}${release}${shared_ext}$major'
15286 dynamic_linker
='NetBSD ld.elf_so'
15288 shlibpath_var
=LD_LIBRARY_PATH
15289 shlibpath_overrides_runpath
=yes
15290 hardcode_into_libs
=yes
15295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15296 shlibpath_var
=LD_LIBRARY_PATH
15297 shlibpath_overrides_runpath
=yes
15304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15305 soname_spec
='${libname}${release}${shared_ext}$major'
15306 shlibpath_var
=LD_LIBRARY_PATH
15307 shlibpath_overrides_runpath
=yes
15312 sys_lib_dlsearch_path_spec
="/usr/lib"
15314 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15316 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15317 *) need_version
=no
;;
15319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15320 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15321 shlibpath_var
=LD_LIBRARY_PATH
15322 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15324 openbsd2.
[89] | openbsd2.
[89].
*)
15325 shlibpath_overrides_runpath
=no
15328 shlibpath_overrides_runpath
=yes
15332 shlibpath_overrides_runpath
=yes
15337 libname_spec
='$name'
15340 library_names_spec
='$libname${shared_ext} $libname.a'
15341 dynamic_linker
='OS/2 ld.exe'
15342 shlibpath_var
=LIBPATH
15345 osf3
* | osf4
* | osf5
*)
15349 soname_spec
='${libname}${release}${shared_ext}$major'
15350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15351 shlibpath_var
=LD_LIBRARY_PATH
15352 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15353 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15361 soname_spec
='${libname}${release}${shared_ext}$major'
15362 shlibpath_var
=LD_LIBRARY_PATH
15363 shlibpath_overrides_runpath
=yes
15364 hardcode_into_libs
=yes
15365 # ldd complains unless libraries are executable
15366 postinstall_cmds
='chmod +x $lib'
15371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15372 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15373 shlibpath_var
=LD_LIBRARY_PATH
15374 shlibpath_overrides_runpath
=yes
15375 if test "$with_gnu_ld" = yes; then
15383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15384 soname_spec
='${libname}${release}${shared_ext}$major'
15385 shlibpath_var
=LD_LIBRARY_PATH
15386 case $host_vendor in
15388 shlibpath_overrides_runpath
=no
15390 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15391 runpath_var
=LD_RUN_PATH
15399 shlibpath_overrides_runpath
=no
15400 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15406 if test -d /usr
/nec
;then
15408 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15409 soname_spec
='$libname${shared_ext}.$major'
15410 shlibpath_var
=LD_LIBRARY_PATH
15414 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15415 version_type
=freebsd-elf
15418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15419 soname_spec
='${libname}${release}${shared_ext}$major'
15420 shlibpath_var
=LD_LIBRARY_PATH
15421 hardcode_into_libs
=yes
15422 if test "$with_gnu_ld" = yes; then
15423 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15424 shlibpath_overrides_runpath
=no
15426 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15427 shlibpath_overrides_runpath
=yes
15430 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15434 sys_lib_dlsearch_path_spec
='/usr/lib'
15439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15440 soname_spec
='${libname}${release}${shared_ext}$major'
15441 shlibpath_var
=LD_LIBRARY_PATH
15448 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15449 echo "${ECHO_T}$dynamic_linker" >&6
15450 test "$dynamic_linker" = no
&& can_build_shared
=no
15452 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15453 if test "$GCC" = yes; then
15454 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15457 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15458 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15459 hardcode_action_F77
=
15460 if test -n "$hardcode_libdir_flag_spec_F77" || \
15461 test -n "$runpath_var_F77" || \
15462 test "X$hardcode_automatic_F77" = "Xyes" ; then
15464 # We can hardcode non-existant directories.
15465 if test "$hardcode_direct_F77" != no
&&
15466 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15467 # have to relink, otherwise we might link with an installed library
15468 # when we should be linking with a yet-to-be-installed one
15469 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15470 test "$hardcode_minus_L_F77" != no
; then
15471 # Linking always hardcodes the temporary library directory.
15472 hardcode_action_F77
=relink
15474 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15475 hardcode_action_F77
=immediate
15478 # We cannot hardcode anything, or else we can only hardcode existing
15480 hardcode_action_F77
=unsupported
15482 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15483 echo "${ECHO_T}$hardcode_action_F77" >&6
15485 if test "$hardcode_action_F77" = relink
; then
15486 # Fast installation is not supported
15487 enable_fast_install
=no
15488 elif test "$shlibpath_overrides_runpath" = yes ||
15489 test "$enable_shared" = no
; then
15490 # Fast installation is not necessary
15491 enable_fast_install
=needless
15495 # The else clause should only fire when bootstrapping the
15496 # libtool distribution, otherwise you forgot to ship ltmain.sh
15497 # with your package, and you will get complaints that there are
15498 # no rules to generate ltmain.sh.
15499 if test -f "$ltmain"; then
15500 # See if we are running on zsh, and set the options which allow our commands through
15501 # without removal of \ escapes.
15502 if test -n "${ZSH_VERSION+set}" ; then
15503 setopt NO_GLOB_SUBST
15505 # Now quote all the things that may contain metacharacters while being
15506 # careful not to overquote the AC_SUBSTed values. We take copies of the
15507 # variables and quote the copies for generation of the libtool script.
15508 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15510 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15511 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15512 deplibs_check_method reload_flag reload_cmds need_locks \
15513 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15514 lt_cv_sys_global_symbol_to_c_name_address \
15515 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15516 old_postinstall_cmds old_postuninstall_cmds \
15520 lt_prog_compiler_wl_F77 \
15521 lt_prog_compiler_pic_F77 \
15522 lt_prog_compiler_static_F77 \
15523 lt_prog_compiler_no_builtin_flag_F77 \
15524 export_dynamic_flag_spec_F77 \
15525 thread_safe_flag_spec_F77 \
15526 whole_archive_flag_spec_F77 \
15527 enable_shared_with_static_runtimes_F77 \
15528 old_archive_cmds_F77 \
15529 old_archive_from_new_cmds_F77 \
15530 predep_objects_F77 \
15531 postdep_objects_F77 \
15534 compiler_lib_search_path_F77 \
15536 archive_expsym_cmds_F77 \
15537 postinstall_cmds_F77 \
15538 postuninstall_cmds_F77 \
15539 old_archive_from_expsyms_cmds_F77 \
15540 allow_undefined_flag_F77 \
15541 no_undefined_flag_F77 \
15542 export_symbols_cmds_F77 \
15543 hardcode_libdir_flag_spec_F77 \
15544 hardcode_libdir_flag_spec_ld_F77 \
15545 hardcode_libdir_separator_F77 \
15546 hardcode_automatic_F77 \
15548 module_expsym_cmds_F77 \
15549 lt_cv_prog_compiler_c_o_F77 \
15550 exclude_expsyms_F77 \
15551 include_expsyms_F77
; do
15554 old_archive_cmds_F77 | \
15555 old_archive_from_new_cmds_F77 | \
15556 archive_cmds_F77 | \
15557 archive_expsym_cmds_F77 | \
15558 module_cmds_F77 | \
15559 module_expsym_cmds_F77 | \
15560 old_archive_from_expsyms_cmds_F77 | \
15561 export_symbols_cmds_F77 | \
15562 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15563 postinstall_cmds | postuninstall_cmds | \
15564 old_postinstall_cmds | old_postuninstall_cmds | \
15565 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15566 # Double-quote double-evaled strings.
15567 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15570 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15576 *'\$0 --fallback-echo"')
15577 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15583 cat <<__EOF__ >> "$cfgfile"
15584 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15586 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15588 # Shell to use when invoking shell scripts.
15591 # Whether or not to build shared libraries.
15592 build_libtool_libs=$enable_shared
15594 # Whether or not to build static libraries.
15595 build_old_libs=$enable_static
15597 # Whether or not to add -lc for building shared libraries.
15598 build_libtool_need_lc=$archive_cmds_need_lc_F77
15600 # Whether or not to disallow shared libs when runtime libs are static
15601 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15603 # Whether or not to optimize for fast installation.
15604 fast_install=$enable_fast_install
15607 host_alias=$host_alias
15611 # The build system.
15612 build_alias=$build_alias
15616 # An echo program that does not interpret backslashes.
15621 AR_FLAGS=$lt_AR_FLAGS
15626 # LTCC compiler flags.
15627 LTCFLAGS=$lt_LTCFLAGS
15629 # A language-specific compiler.
15630 CC=$lt_compiler_F77
15632 # Is the compiler the GNU C compiler?
15635 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15636 gcc_ver=\`gcc -dumpversion\`
15641 # The linker used to build libraries.
15644 # Whether we need hard or soft links.
15647 # A BSD-compatible nm program.
15650 # A symbol stripping program
15653 # Used to examine libraries when file_magic_cmd begins "file"
15654 MAGIC_CMD=$MAGIC_CMD
15656 # Used on cygwin: DLL creation program.
15659 # Used on cygwin: object dumper.
15662 # Used on cygwin: assembler.
15665 # The name of the directory that contains temporary libtool files.
15668 # How to create reloadable object files.
15669 reload_flag=$lt_reload_flag
15670 reload_cmds=$lt_reload_cmds
15672 # How to pass a linker flag through the compiler.
15673 wl=$lt_lt_prog_compiler_wl_F77
15675 # Object file suffix (normally "o").
15676 objext="$ac_objext"
15678 # Old archive suffix (normally "a").
15681 # Shared library suffix (normally ".so").
15682 shrext_cmds='$shrext_cmds'
15684 # Executable file suffix (normally "").
15687 # Additional compiler flags for building library objects.
15688 pic_flag=$lt_lt_prog_compiler_pic_F77
15691 # What is the maximum length of a command?
15692 max_cmd_len=$lt_cv_sys_max_cmd_len
15694 # Does compiler simultaneously support -c and -o options?
15695 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15697 # Must we lock files when doing compilation?
15698 need_locks=$lt_need_locks
15700 # Do we need the lib prefix for modules?
15701 need_lib_prefix=$need_lib_prefix
15703 # Do we need a version for libraries?
15704 need_version=$need_version
15706 # Whether dlopen is supported.
15707 dlopen_support=$enable_dlopen
15709 # Whether dlopen of programs is supported.
15710 dlopen_self=$enable_dlopen_self
15712 # Whether dlopen of statically linked programs is supported.
15713 dlopen_self_static=$enable_dlopen_self_static
15715 # Compiler flag to prevent dynamic linking.
15716 link_static_flag=$lt_lt_prog_compiler_static_F77
15718 # Compiler flag to turn off builtin functions.
15719 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15721 # Compiler flag to allow reflexive dlopens.
15722 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15724 # Compiler flag to generate shared objects directly from archives.
15725 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15727 # Compiler flag to generate thread-safe objects.
15728 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15730 # Library versioning type.
15731 version_type=$version_type
15733 # Format of library name prefix.
15734 libname_spec=$lt_libname_spec
15736 # List of archive names. First name is the real one, the rest are links.
15737 # The last name is the one that the linker finds with -lNAME.
15738 library_names_spec=$lt_library_names_spec
15740 # The coded name of the library, if different from the real name.
15741 soname_spec=$lt_soname_spec
15743 # Commands used to build and install an old-style archive.
15745 old_archive_cmds=$lt_old_archive_cmds_F77
15746 old_postinstall_cmds=$lt_old_postinstall_cmds
15747 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15749 # Create an old-style archive from a shared archive.
15750 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15752 # Create a temporary old-style archive to link instead of a shared archive.
15753 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15755 # Commands used to build and install a shared archive.
15756 archive_cmds=$lt_archive_cmds_F77
15757 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15758 postinstall_cmds=$lt_postinstall_cmds
15759 postuninstall_cmds=$lt_postuninstall_cmds
15761 # Commands used to build a loadable module (assumed same as above if empty)
15762 module_cmds=$lt_module_cmds_F77
15763 module_expsym_cmds=$lt_module_expsym_cmds_F77
15765 # Commands to strip libraries.
15766 old_striplib=$lt_old_striplib
15767 striplib=$lt_striplib
15769 # Dependencies to place before the objects being linked to create a
15771 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15773 # Dependencies to place after the objects being linked to create a
15775 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15777 # Dependencies to place before the objects being linked to create a
15779 predeps=$lt_predeps_F77
15781 # Dependencies to place after the objects being linked to create a
15783 postdeps=$lt_postdeps_F77
15785 # The library search path used internally by the compiler when linking
15786 # a shared library.
15787 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15789 # Method to check whether dependent libraries are shared objects.
15790 deplibs_check_method=$lt_deplibs_check_method
15792 # Command to use when deplibs_check_method == file_magic.
15793 file_magic_cmd=$lt_file_magic_cmd
15795 # Flag that allows shared libraries with undefined symbols to be built.
15796 allow_undefined_flag=$lt_allow_undefined_flag_F77
15798 # Flag that forces no undefined symbols.
15799 no_undefined_flag=$lt_no_undefined_flag_F77
15801 # Commands used to finish a libtool library installation in a directory.
15802 finish_cmds=$lt_finish_cmds
15804 # Same as above, but a single script fragment to be evaled but not shown.
15805 finish_eval=$lt_finish_eval
15807 # Take the output of nm and produce a listing of raw symbols and C names.
15808 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15810 # Transform the output of nm in a proper C declaration
15811 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15813 # Transform the output of nm in a C name address pair
15814 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15816 # This is the shared library runtime path variable.
15817 runpath_var=$runpath_var
15819 # This is the shared library path variable.
15820 shlibpath_var=$shlibpath_var
15822 # Is shlibpath searched before the hard-coded library search path?
15823 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15825 # How to hardcode a shared library path into an executable.
15826 hardcode_action=$hardcode_action_F77
15828 # Whether we should hardcode library paths into libraries.
15829 hardcode_into_libs=$hardcode_into_libs
15831 # Flag to hardcode \$libdir into a binary during linking.
15832 # This must work even if \$libdir does not exist.
15833 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15835 # If ld is used when linking, flag to hardcode \$libdir into
15836 # a binary during linking. This must work even if \$libdir does
15838 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15840 # Whether we need a single -rpath flag with a separated argument.
15841 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15843 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15844 # resulting binary.
15845 hardcode_direct=$hardcode_direct_F77
15847 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15848 # resulting binary.
15849 hardcode_minus_L=$hardcode_minus_L_F77
15851 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15852 # the resulting binary.
15853 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15855 # Set to yes if building a shared library automatically hardcodes DIR into the library
15856 # and all subsequent libraries and executables linked against it.
15857 hardcode_automatic=$hardcode_automatic_F77
15859 # Variables whose values should be saved in libtool wrapper scripts and
15860 # restored at relink time.
15861 variables_saved_for_relink="$variables_saved_for_relink"
15863 # Whether libtool must link a program against all its dependency libraries.
15864 link_all_deplibs=$link_all_deplibs_F77
15866 # Compile-time system search path for libraries
15867 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15869 # Run-time system search path for libraries
15870 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15872 # Fix the shell variable \$srcfile for the compiler.
15873 fix_srcfile_path="$fix_srcfile_path_F77"
15875 # Set to yes if exported symbols are required.
15876 always_export_symbols=$always_export_symbols_F77
15878 # The commands to list exported symbols.
15879 export_symbols_cmds=$lt_export_symbols_cmds_F77
15881 # The commands to extract the exported symbol list from a shared archive.
15882 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15884 # Symbols that should not be listed in the preloaded symbols.
15885 exclude_expsyms=$lt_exclude_expsyms_F77
15887 # Symbols that must always be exported.
15888 include_expsyms=$lt_include_expsyms_F77
15890 # ### END LIBTOOL TAG CONFIG: $tagname
15896 # If there is no Makefile yet, we rely on a make rule to execute
15897 # `config.status --recheck' to rerun these tests and create the
15898 # libtool script then.
15899 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15900 if test -f "$ltmain_in"; then
15901 test -f Makefile
&& make "$ltmain"
15907 ac_cpp
='$CPP $CPPFLAGS'
15908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15920 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15924 # Source file extension for Java test sources.
15927 # Object file extension for compiled Java test sources.
15931 # Code to be used in simple compile tests
15932 lt_simple_compile_test_code
="class foo {}\n"
15934 # Code to be used in simple link tests
15935 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15937 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15939 # If no C compiler was specified, use CC.
15942 # If no C compiler flags were specified, use CFLAGS.
15943 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15945 # Allow CC to be a program name with arguments.
15949 # save warnings/boilerplate of simple test code
15950 ac_outfile
=conftest.
$ac_objext
15951 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15952 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15953 _lt_compiler_boilerplate
=`cat conftest.err`
15956 ac_outfile
=conftest.
$ac_objext
15957 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15958 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15959 _lt_linker_boilerplate
=`cat conftest.err`
15963 # Allow CC to be a program name with arguments.
15968 for cc_temp
in $compiler""; do
15970 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15971 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15976 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15979 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15980 archive_cmds_need_lc_GCJ
=no
15982 old_archive_cmds_GCJ
=$old_archive_cmds
15985 ## There is no encapsulation within the following macros, do not change
15986 ## the running order or otherwise move them around unless you know exactly
15987 ## what you are doing...
15989 lt_prog_compiler_no_builtin_flag_GCJ
=
15991 if test "$GCC" = yes; then
15992 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15995 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15996 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15997 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 lt_cv_prog_compiler_rtti_exceptions
=no
16001 ac_outfile
=conftest.
$ac_objext
16002 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16003 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16004 # Insert the option either (1) after the last *FLAGS variable, or
16005 # (2) before a word containing "conftest.", or (3) at the end.
16006 # Note that $ac_compile itself does not contain backslashes and begins
16007 # with a dollar sign (not a hyphen), so the echo should work correctly.
16008 # The option is referenced via a variable to avoid confusing sed.
16009 lt_compile
=`echo "$ac_compile" | $SED \
16010 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16011 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16012 -e 's:$: $lt_compiler_flag:'`
16013 (eval echo "\"\$as_me:16013: $lt_compile\"" >&5)
16014 (eval "$lt_compile" 2>conftest.err
)
16016 cat conftest.err
>&5
16017 echo "$as_me:16017: \$? = $ac_status" >&5
16018 if (exit $ac_status) && test -s "$ac_outfile"; then
16019 # The compiler can only warn and ignore the option if not recognized
16020 # So say no if there are warnings other than the usual output.
16021 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16022 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16023 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16024 lt_cv_prog_compiler_rtti_exceptions
=yes
16030 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16031 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
16033 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16034 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16041 lt_prog_compiler_wl_GCJ
=
16042 lt_prog_compiler_pic_GCJ
=
16043 lt_prog_compiler_static_GCJ
=
16045 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16046 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16048 if test "$GCC" = yes; then
16049 lt_prog_compiler_wl_GCJ
='-Wl,'
16050 lt_prog_compiler_static_GCJ
='-static'
16054 # All AIX code is PIC.
16055 if test "$host_cpu" = ia64
; then
16056 # AIX 5 now supports IA64 processor
16057 lt_prog_compiler_static_GCJ
='-Bstatic'
16062 # FIXME: we need at least 68020 code to build shared libraries, but
16063 # adding the `-m68020' flag to GCC prevents building anything better,
16065 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16068 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16069 # PIC is the default for these OSes.
16072 mingw
* | pw32
* | os2
*)
16073 # This hack is so that the source file can tell whether it is being
16074 # built for inclusion in a dll (and should export symbols for example).
16075 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16078 darwin
* | rhapsody
*)
16079 # PIC is the default on this platform
16080 # Common symbols not allowed in MH_DYLIB files
16081 lt_prog_compiler_pic_GCJ
='-fno-common'
16085 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16086 # Instead, we relocate shared libraries at runtime.
16090 # Just because we use GCC doesn't mean we suddenly get shared libraries
16091 # on systems that don't support them.
16092 lt_prog_compiler_can_build_shared_GCJ
=no
16097 if test -d /usr
/nec
; then
16098 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16103 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16104 # not for PA HP-UX.
16110 lt_prog_compiler_pic_GCJ
='-fPIC'
16116 lt_prog_compiler_pic_GCJ
='-fPIC'
16120 # PORTME Check for flag to pass linker flags through the system compiler.
16123 lt_prog_compiler_wl_GCJ
='-Wl,'
16124 if test "$host_cpu" = ia64
; then
16125 # AIX 5 now supports IA64 processor
16126 lt_prog_compiler_static_GCJ
='-Bstatic'
16128 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16132 # PIC is the default on this platform
16133 # Common symbols not allowed in MH_DYLIB files
16134 case $cc_basename in
16136 lt_prog_compiler_pic_GCJ
='-qnocommon'
16137 lt_prog_compiler_wl_GCJ
='-Wl,'
16142 mingw
* | pw32
* | os2
*)
16143 # This hack is so that the source file can tell whether it is being
16144 # built for inclusion in a dll (and should export symbols for example).
16145 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16148 hpux9
* | hpux10
* | hpux11
*)
16149 lt_prog_compiler_wl_GCJ
='-Wl,'
16150 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16151 # not for PA HP-UX.
16157 lt_prog_compiler_pic_GCJ
='+Z'
16160 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16161 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16164 irix5
* | irix6
* | nonstopux
*)
16165 lt_prog_compiler_wl_GCJ
='-Wl,'
16166 # PIC (with -KPIC) is the default.
16167 lt_prog_compiler_static_GCJ
='-non_shared'
16171 lt_prog_compiler_pic_GCJ
='-KPIC'
16172 lt_prog_compiler_static_GCJ
='-Bstatic'
16176 case $cc_basename in
16178 lt_prog_compiler_wl_GCJ
='-Wl,'
16179 lt_prog_compiler_pic_GCJ
='-KPIC'
16180 lt_prog_compiler_static_GCJ
='-static'
16182 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16183 # Portland Group compilers (*not* the Pentium gcc compiler,
16184 # which looks to be a dead project)
16185 lt_prog_compiler_wl_GCJ
='-Wl,'
16186 lt_prog_compiler_pic_GCJ
='-fpic'
16187 lt_prog_compiler_static_GCJ
='-Bstatic'
16190 lt_prog_compiler_wl_GCJ
='-Wl,'
16191 # All Alpha code is PIC.
16192 lt_prog_compiler_static_GCJ
='-non_shared'
16197 osf3
* | osf4
* | osf5
*)
16198 lt_prog_compiler_wl_GCJ
='-Wl,'
16199 # All OSF/1 code is PIC.
16200 lt_prog_compiler_static_GCJ
='-non_shared'
16204 lt_prog_compiler_pic_GCJ
='-KPIC'
16205 lt_prog_compiler_static_GCJ
='-Bstatic'
16206 case $cc_basename in
16207 f77
* | f90
* | f95
*)
16208 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16210 lt_prog_compiler_wl_GCJ
='-Wl,';;
16215 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16216 lt_prog_compiler_pic_GCJ
='-PIC'
16217 lt_prog_compiler_static_GCJ
='-Bstatic'
16220 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16221 lt_prog_compiler_wl_GCJ
='-Wl,'
16222 lt_prog_compiler_pic_GCJ
='-KPIC'
16223 lt_prog_compiler_static_GCJ
='-Bstatic'
16227 if test -d /usr
/nec
;then
16228 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16229 lt_prog_compiler_static_GCJ
='-Bstatic'
16233 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16234 lt_prog_compiler_wl_GCJ
='-Wl,'
16235 lt_prog_compiler_pic_GCJ
='-KPIC'
16236 lt_prog_compiler_static_GCJ
='-Bstatic'
16240 lt_prog_compiler_wl_GCJ
='-Wl,'
16241 lt_prog_compiler_can_build_shared_GCJ
=no
16245 lt_prog_compiler_pic_GCJ
='-pic'
16246 lt_prog_compiler_static_GCJ
='-Bstatic'
16250 lt_prog_compiler_can_build_shared_GCJ
=no
16255 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16256 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16259 # Check to make sure the PIC flag actually works.
16261 if test -n "$lt_prog_compiler_pic_GCJ"; then
16263 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16264 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16265 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16266 echo $ECHO_N "(cached) $ECHO_C" >&6
16268 lt_prog_compiler_pic_works_GCJ
=no
16269 ac_outfile
=conftest.
$ac_objext
16270 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16271 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16272 # Insert the option either (1) after the last *FLAGS variable, or
16273 # (2) before a word containing "conftest.", or (3) at the end.
16274 # Note that $ac_compile itself does not contain backslashes and begins
16275 # with a dollar sign (not a hyphen), so the echo should work correctly.
16276 # The option is referenced via a variable to avoid confusing sed.
16277 lt_compile
=`echo "$ac_compile" | $SED \
16278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16280 -e 's:$: $lt_compiler_flag:'`
16281 (eval echo "\"\$as_me:16281: $lt_compile\"" >&5)
16282 (eval "$lt_compile" 2>conftest.err
)
16284 cat conftest.err
>&5
16285 echo "$as_me:16285: \$? = $ac_status" >&5
16286 if (exit $ac_status) && test -s "$ac_outfile"; then
16287 # The compiler can only warn and ignore the option if not recognized
16288 # So say no if there are warnings other than the usual output.
16289 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16290 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16291 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16292 lt_prog_compiler_pic_works_GCJ
=yes
16298 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16299 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16301 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16302 case $lt_prog_compiler_pic_GCJ in
16304 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16307 lt_prog_compiler_pic_GCJ
=
16308 lt_prog_compiler_can_build_shared_GCJ
=no
16313 # For platforms which do not support PIC, -DPIC is meaningless:
16315 lt_prog_compiler_pic_GCJ
=
16318 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16323 # Check to make sure the static flag actually works.
16325 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16326 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16327 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16328 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 lt_prog_compiler_static_works_GCJ
=no
16332 save_LDFLAGS
="$LDFLAGS"
16333 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16334 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16335 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16336 # The linker can only warn and ignore the option if not recognized
16337 # So say no if there are warnings
16338 if test -s conftest.err
; then
16339 # Append any errors to the config.log.
16340 cat conftest.err
1>&5
16341 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16342 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16343 if diff conftest.exp conftest.er2
>/dev
/null
; then
16344 lt_prog_compiler_static_works_GCJ
=yes
16347 lt_prog_compiler_static_works_GCJ
=yes
16351 LDFLAGS
="$save_LDFLAGS"
16354 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16355 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16357 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16360 lt_prog_compiler_static_GCJ
=
16364 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16365 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16366 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16367 echo $ECHO_N "(cached) $ECHO_C" >&6
16369 lt_cv_prog_compiler_c_o_GCJ
=no
16370 $rm -r conftest
2>/dev
/null
16374 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16376 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16377 # Insert the option either (1) after the last *FLAGS variable, or
16378 # (2) before a word containing "conftest.", or (3) at the end.
16379 # Note that $ac_compile itself does not contain backslashes and begins
16380 # with a dollar sign (not a hyphen), so the echo should work correctly.
16381 lt_compile
=`echo "$ac_compile" | $SED \
16382 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16383 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16384 -e 's:$: $lt_compiler_flag:'`
16385 (eval echo "\"\$as_me:16385: $lt_compile\"" >&5)
16386 (eval "$lt_compile" 2>out
/conftest.err
)
16388 cat out
/conftest.err
>&5
16389 echo "$as_me:16389: \$? = $ac_status" >&5
16390 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16392 # The compiler can only warn and ignore the option if not recognized
16393 # So say no if there are warnings
16394 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16395 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16396 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16397 lt_cv_prog_compiler_c_o_GCJ
=yes
16402 # SGI C++ compiler will create directory out/ii_files/ for
16403 # template instantiation
16404 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16405 $rm out
/* && rmdir out
16411 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16412 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16415 hard_links
="nottested"
16416 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16417 # do not overwrite the value of need_locks provided by the user
16418 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16419 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16422 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16424 ln conftest.a conftest.b
2>&5 || hard_links
=no
16425 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16426 echo "$as_me:$LINENO: result: $hard_links" >&5
16427 echo "${ECHO_T}$hard_links" >&6
16428 if test "$hard_links" = no
; then
16429 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16430 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16437 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16438 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16441 allow_undefined_flag_GCJ
=
16442 enable_shared_with_static_runtimes_GCJ
=no
16444 archive_expsym_cmds_GCJ
=
16445 old_archive_From_new_cmds_GCJ
=
16446 old_archive_from_expsyms_cmds_GCJ
=
16447 export_dynamic_flag_spec_GCJ
=
16448 whole_archive_flag_spec_GCJ
=
16449 thread_safe_flag_spec_GCJ
=
16450 hardcode_libdir_flag_spec_GCJ
=
16451 hardcode_libdir_flag_spec_ld_GCJ
=
16452 hardcode_libdir_separator_GCJ
=
16453 hardcode_direct_GCJ
=no
16454 hardcode_minus_L_GCJ
=no
16455 hardcode_shlibpath_var_GCJ
=unsupported
16456 link_all_deplibs_GCJ
=unknown
16457 hardcode_automatic_GCJ
=no
16459 module_expsym_cmds_GCJ
=
16460 always_export_symbols_GCJ
=no
16461 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16462 # include_expsyms should be a list of space-separated symbols to be *always*
16463 # included in the symbol list
16464 include_expsyms_GCJ
=
16465 # exclude_expsyms can be an extended regexp of symbols to exclude
16466 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16467 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16468 # as well as any symbol that contains `d'.
16469 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16470 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16471 # platforms (ab)use it in PIC code, but their linkers get confused if
16472 # the symbol is explicitly referenced. Since portable code cannot
16473 # rely on this symbol name, it's probably fine to never include it in
16474 # preloaded symbol tables.
16475 extract_expsyms_cmds
=
16476 # Just being paranoid about ensuring that cc_basename is set.
16477 for cc_temp
in $compiler""; do
16479 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16480 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16485 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16488 cygwin
* | mingw
* | pw32
*)
16489 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16490 # When not using gcc, we currently assume that we are using
16491 # Microsoft Visual C++.
16492 if test "$GCC" != yes; then
16497 # we just hope/assume this is gcc and not c89 (= MSVC++)
16506 if test "$with_gnu_ld" = yes; then
16507 # If archive_cmds runs LD, not CC, wlarc should be empty
16510 # Set some defaults for GNU ld with shared library support. These
16511 # are reset later if shared libraries are not supported. Putting them
16512 # here allows them to be overridden if necessary.
16513 runpath_var
=LD_RUN_PATH
16514 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16515 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16516 # ancient GNU ld didn't support --whole-archive et. al.
16517 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16518 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16520 whole_archive_flag_spec_GCJ
=
16522 supports_anon_versioning
=no
16523 case `$LD -v 2>/dev/null` in
16524 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16525 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16526 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16527 *\
2.11.
*) ;; # other 2.11 versions
16528 *) supports_anon_versioning
=yes ;;
16531 # See if GNU ld supports shared libraries.
16533 aix3
* | aix4
* | aix5
*)
16534 # On AIX/PPC, the GNU linker is very broken
16535 if test "$host_cpu" != ia64
; then
16539 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16540 *** to be unable to reliably create shared libraries on AIX.
16541 *** Therefore, libtool is disabling shared libraries support. If you
16542 *** really care for shared libraries, you may want to modify your PATH
16543 *** so that a non-GNU linker is found, and then restart.
16550 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)'
16551 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16552 hardcode_minus_L_GCJ
=yes
16554 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16555 # that the semantics of dynamic libraries on AmigaOS, at least up
16556 # to version 4, is to share data among multiple programs linked
16557 # with the same dynamic library. Since this doesn't match the
16558 # behavior of shared libraries on other platforms, we can't use
16564 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16565 allow_undefined_flag_GCJ
=unsupported
16566 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16567 # support --undefined. This deserves some investigation. FIXME
16568 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16574 cygwin
* | mingw
* | pw32
*)
16575 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16576 # as there is no search path for DLLs.
16577 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16578 allow_undefined_flag_GCJ
=unsupported
16579 always_export_symbols_GCJ
=no
16580 enable_shared_with_static_runtimes_GCJ
=yes
16581 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16583 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16584 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16585 # If the export-symbols file already is a .def file (1st line
16586 # is EXPORTS), use it as is; otherwise, prepend...
16587 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16588 cp $export_symbols $output_objdir/$soname.def;
16590 echo EXPORTS > $output_objdir/$soname.def;
16591 cat $export_symbols >> $output_objdir/$soname.def;
16593 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16600 hardcode_direct_GCJ
=no
16601 hardcode_shlibpath_var_GCJ
=no
16602 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16603 export_dynamic_flag_spec_GCJ
='${wl}-E'
16604 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16605 # Instead, shared libraries are loaded at an image base (0x10000000 by
16606 # default) and relocated if they conflict, which is a slow very memory
16607 # consuming and fragmenting process. To avoid this, we pick a random,
16608 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16609 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16610 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16611 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16615 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16617 case $cc_basename,$host_cpu in
16618 pgcc
*) # Portland Group C compiler
16619 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16620 tmp_addflag
=' $pic_flag'
16622 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16623 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16624 tmp_addflag
=' $pic_flag -Mnomain' ;;
16625 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16626 tmp_addflag
=' -i_dynamic' ;;
16627 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16628 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16629 ifc
* | ifort
*) # Intel Fortran compiler
16630 tmp_addflag
=' -nofor_main' ;;
16632 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16634 if test $supports_anon_versioning = yes; then
16635 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16636 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16637 $echo "local: *; };" >> $output_objdir/$libname.ver~
16638 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16646 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16647 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16650 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16651 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16656 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16660 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16661 *** create shared libraries on Solaris systems. Therefore, libtool
16662 *** is disabling shared libraries support. We urge you to upgrade GNU
16663 *** binutils to release 2.9.1 or newer. Another option is to modify
16664 *** your PATH or compiler configuration so that the native linker is
16665 *** used, and then restart.
16668 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16669 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16670 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16676 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16677 case `$LD -v 2>&1` in
16678 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16682 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16683 *** reliably create shared libraries on SCO systems. Therefore, libtool
16684 *** is disabling shared libraries support. We urge you to upgrade GNU
16685 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16686 *** your PATH or compiler configuration so that the native linker is
16687 *** used, and then restart.
16692 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16693 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16694 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16695 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16704 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16706 hardcode_direct_GCJ
=yes
16707 hardcode_shlibpath_var_GCJ
=no
16711 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16712 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16713 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16720 if test "$ld_shlibs_GCJ" = no
; then
16722 hardcode_libdir_flag_spec_GCJ
=
16723 export_dynamic_flag_spec_GCJ
=
16724 whole_archive_flag_spec_GCJ
=
16727 # PORTME fill in a description of your system's linker (not GNU ld)
16730 allow_undefined_flag_GCJ
=unsupported
16731 always_export_symbols_GCJ
=yes
16732 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'
16733 # Note: this linker hardcodes the directories in LIBPATH if there
16734 # are no directories specified by -L.
16735 hardcode_minus_L_GCJ
=yes
16736 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16737 # Neither direct hardcoding nor static linking is supported with a
16739 hardcode_direct_GCJ
=unsupported
16744 if test "$host_cpu" = ia64
; then
16745 # On IA64, the linker does run time linking by default, so we don't
16746 # have to do anything special.
16747 aix_use_runtimelinking
=no
16748 exp_sym_flag
='-Bexport'
16751 # If we're using GNU nm, then we don't want the "-C" option.
16752 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16753 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16754 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'
16756 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'
16758 aix_use_runtimelinking
=no
16760 # Test if we are trying to use run time linking or normal
16761 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16762 # need to do runtime linking.
16763 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16764 for ld_flag
in $LDFLAGS; do
16765 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16766 aix_use_runtimelinking
=yes
16773 exp_sym_flag
='-bexport'
16774 no_entry_flag
='-bnoentry'
16777 # When large executables or shared objects are built, AIX ld can
16778 # have problems creating the table of contents. If linking a library
16779 # or program results in "error TOC overflow" add -mminimal-toc to
16780 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16781 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16783 archive_cmds_GCJ
=''
16784 hardcode_direct_GCJ
=yes
16785 hardcode_libdir_separator_GCJ
=':'
16786 link_all_deplibs_GCJ
=yes
16788 if test "$GCC" = yes; then
16789 case $host_os in aix4.
[012]|aix4.
[012].
*)
16790 # We only want to do this on AIX 4.2 and lower, the check
16791 # below for broken collect2 doesn't work under 4.3+
16792 collect2name
=`${CC} -print-prog-name=collect2`
16793 if test -f "$collect2name" && \
16794 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16796 # We have reworked collect2
16797 hardcode_direct_GCJ
=yes
16799 # We have old collect2
16800 hardcode_direct_GCJ
=unsupported
16801 # It fails to find uninstalled libraries when the uninstalled
16802 # path is not listed in the libpath. Setting hardcode_minus_L
16803 # to unsupported forces relinking
16804 hardcode_minus_L_GCJ
=yes
16805 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16806 hardcode_libdir_separator_GCJ
=
16810 shared_flag
='-shared'
16811 if test "$aix_use_runtimelinking" = yes; then
16812 shared_flag
="$shared_flag "'${wl}-G'
16816 if test "$host_cpu" = ia64
; then
16817 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16818 # chokes on -Wl,-G. The following line is correct:
16821 if test "$aix_use_runtimelinking" = yes; then
16822 shared_flag
='${wl}-G'
16824 shared_flag
='${wl}-bM:SRE'
16829 # It seems that -bexpall does not export symbols beginning with
16830 # underscore (_), so it is better to generate a list of symbols to export.
16831 always_export_symbols_GCJ
=yes
16832 if test "$aix_use_runtimelinking" = yes; then
16833 # Warning - without using the other runtime loading flags (-brtl),
16834 # -berok will link without error, but may produce a broken library.
16835 allow_undefined_flag_GCJ
='-berok'
16836 # Determine the default libpath from the value encoded in an empty executable.
16837 cat >conftest.
$ac_ext <<_ACEOF
16840 cat confdefs.h
>>conftest.
$ac_ext
16841 cat >>conftest.
$ac_ext <<_ACEOF
16842 /* end confdefs.h. */
16852 rm -f conftest.
$ac_objext conftest
$ac_exeext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16854 (eval $ac_link) 2>conftest.er1
16856 grep -v '^ *+' conftest.er1
>conftest.err
16858 cat conftest.err
>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } &&
16861 { ac_try
='test -z "$ac_c_werror_flag"
16862 || test ! -s conftest.err'
16863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864 (eval $ac_try) 2>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); }; } &&
16868 { ac_try
='test -s conftest$ac_exeext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16875 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16877 # Check for a 64-bit object if we didn't find anything.
16878 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; }
16881 echo "$as_me: failed program was:" >&5
16882 sed 's/^/| /' conftest.
$ac_ext >&5
16885 rm -f conftest.err conftest.
$ac_objext \
16886 conftest
$ac_exeext conftest.
$ac_ext
16887 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16889 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16890 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16892 if test "$host_cpu" = ia64
; then
16893 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16894 allow_undefined_flag_GCJ
="-z nodefs"
16895 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16897 # Determine the default libpath from the value encoded in an empty executable.
16898 cat >conftest.
$ac_ext <<_ACEOF
16901 cat confdefs.h
>>conftest.
$ac_ext
16902 cat >>conftest.
$ac_ext <<_ACEOF
16903 /* end confdefs.h. */
16913 rm -f conftest.
$ac_objext conftest
$ac_exeext
16914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16915 (eval $ac_link) 2>conftest.er1
16917 grep -v '^ *+' conftest.er1
>conftest.err
16919 cat conftest.err
>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } &&
16922 { ac_try
='test -z "$ac_c_werror_flag"
16923 || test ! -s conftest.err'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; } &&
16929 { ac_try
='test -s conftest$ac_exeext'
16930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16931 (eval $ac_try) 2>&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); }; }; then
16936 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16938 # Check for a 64-bit object if we didn't find anything.
16939 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; }
16942 echo "$as_me: failed program was:" >&5
16943 sed 's/^/| /' conftest.
$ac_ext >&5
16946 rm -f conftest.err conftest.
$ac_objext \
16947 conftest
$ac_exeext conftest.
$ac_ext
16948 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16950 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16951 # Warning - without using the other run time loading flags,
16952 # -berok will link without error, but may produce a broken library.
16953 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16954 allow_undefined_flag_GCJ
=' ${wl}-berok'
16955 # Exported symbols can be pulled into shared objects from archives
16956 whole_archive_flag_spec_GCJ
='$convenience'
16957 archive_cmds_need_lc_GCJ
=yes
16958 # This is similar to how AIX traditionally builds its shared libraries.
16959 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16965 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)'
16966 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16967 hardcode_minus_L_GCJ
=yes
16968 # see comment about different semantics on the GNU ld section
16973 export_dynamic_flag_spec_GCJ
=-rdynamic
16976 cygwin
* | mingw
* | pw32
*)
16977 # When not using gcc, we currently assume that we are using
16978 # Microsoft Visual C++.
16979 # hardcode_libdir_flag_spec is actually meaningless, as there is
16980 # no search path for DLLs.
16981 hardcode_libdir_flag_spec_GCJ
=' '
16982 allow_undefined_flag_GCJ
=unsupported
16983 # Tell ltmain to make .lib files, not .a files.
16985 # Tell ltmain to make .dll files, not .so files.
16987 # FIXME: Setting linknames here is a bad hack.
16988 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16989 # The linker will automatically build a .lib file if we build a DLL.
16990 old_archive_From_new_cmds_GCJ
='true'
16991 # FIXME: Should let the user specify the lib program.
16992 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16993 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16994 enable_shared_with_static_runtimes_GCJ
=yes
16997 darwin
* | rhapsody
*)
16999 rhapsody
* | darwin1.
[012])
17000 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17003 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17004 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17006 case ${MACOSX_DEPLOYMENT_TARGET} in
17008 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17011 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17017 archive_cmds_need_lc_GCJ
=no
17018 hardcode_direct_GCJ
=no
17019 hardcode_automatic_GCJ
=yes
17020 hardcode_shlibpath_var_GCJ
=unsupported
17021 whole_archive_flag_spec_GCJ
=''
17022 link_all_deplibs_GCJ
=yes
17023 if test "$GCC" = yes ; then
17024 output_verbose_link_cmd
='echo'
17025 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17026 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17027 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17028 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17029 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17031 case $cc_basename in
17033 output_verbose_link_cmd
='echo'
17034 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17035 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17036 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17037 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17038 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17048 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17049 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17050 hardcode_shlibpath_var_GCJ
=no
17057 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17058 # support. Future versions do this automatically, but an explicit c++rt0.o
17059 # does not break anything, and helps significantly (at the cost of a little
17062 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17063 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17064 hardcode_direct_GCJ
=yes
17065 hardcode_shlibpath_var_GCJ
=no
17068 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17070 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17071 hardcode_direct_GCJ
=yes
17072 hardcode_minus_L_GCJ
=yes
17073 hardcode_shlibpath_var_GCJ
=no
17076 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17077 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17078 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17079 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17080 hardcode_direct_GCJ
=yes
17081 hardcode_shlibpath_var_GCJ
=no
17085 if test "$GCC" = yes; then
17086 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'
17088 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'
17090 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17091 hardcode_libdir_separator_GCJ
=:
17092 hardcode_direct_GCJ
=yes
17094 # hardcode_minus_L: Not really in the search PATH,
17095 # but as the default location of the library.
17096 hardcode_minus_L_GCJ
=yes
17097 export_dynamic_flag_spec_GCJ
='${wl}-E'
17101 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17102 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17104 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17106 if test "$with_gnu_ld" = no
; then
17107 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17108 hardcode_libdir_separator_GCJ
=:
17110 hardcode_direct_GCJ
=yes
17111 export_dynamic_flag_spec_GCJ
='${wl}-E'
17113 # hardcode_minus_L: Not really in the search PATH,
17114 # but as the default location of the library.
17115 hardcode_minus_L_GCJ
=yes
17120 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17123 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17126 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17129 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17135 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17138 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17141 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17145 if test "$with_gnu_ld" = no
; then
17146 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17147 hardcode_libdir_separator_GCJ
=:
17151 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17152 hardcode_direct_GCJ
=no
17153 hardcode_shlibpath_var_GCJ
=no
17156 hardcode_direct_GCJ
=yes
17157 export_dynamic_flag_spec_GCJ
='${wl}-E'
17159 # hardcode_minus_L: Not really in the search PATH,
17160 # but as the default location of the library.
17161 hardcode_minus_L_GCJ
=yes
17167 irix5
* | irix6
* | nonstopux
*)
17168 if test "$GCC" = yes; then
17169 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'
17171 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'
17172 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17174 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17175 hardcode_libdir_separator_GCJ
=:
17176 link_all_deplibs_GCJ
=yes
17180 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17181 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17183 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17185 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17186 hardcode_direct_GCJ
=yes
17187 hardcode_shlibpath_var_GCJ
=no
17191 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17192 hardcode_direct_GCJ
=yes
17193 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17194 hardcode_libdir_separator_GCJ
=:
17195 hardcode_shlibpath_var_GCJ
=no
17199 hardcode_direct_GCJ
=yes
17200 hardcode_shlibpath_var_GCJ
=no
17201 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17202 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17203 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17204 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17205 export_dynamic_flag_spec_GCJ
='${wl}-E'
17208 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17209 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17210 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17213 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17214 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17221 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17222 hardcode_minus_L_GCJ
=yes
17223 allow_undefined_flag_GCJ
=unsupported
17224 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'
17225 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17229 if test "$GCC" = yes; then
17230 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17231 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'
17233 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17234 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'
17236 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17237 hardcode_libdir_separator_GCJ
=:
17240 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17241 if test "$GCC" = yes; then
17242 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17243 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'
17244 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17246 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17247 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'
17248 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~
17249 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17251 # Both c and cxx compiler support -rpath directly
17252 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17254 hardcode_libdir_separator_GCJ
=:
17258 no_undefined_flag_GCJ
=' -z text'
17259 if test "$GCC" = yes; then
17261 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17262 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17263 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17266 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17267 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17268 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17270 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17271 hardcode_shlibpath_var_GCJ
=no
17273 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17275 # The compiler driver will combine linker options so we
17276 # cannot just pass the convience library names through
17277 # without $wl, iff we do not link with $LD.
17278 # Luckily, gcc supports the same syntax we need for Sun Studio.
17279 # Supported since Solaris 2.6 (maybe 2.5.1?)
17282 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17284 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17287 link_all_deplibs_GCJ
=yes
17291 if test "x$host_vendor" = xsequent
; then
17292 # Use $CC to link under sequent, because it throws in some extra .o
17293 # files that make .init and .fini sections work.
17294 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17296 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17298 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17299 hardcode_direct_GCJ
=yes
17300 hardcode_minus_L_GCJ
=yes
17301 hardcode_shlibpath_var_GCJ
=no
17305 case $host_vendor in
17307 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17308 hardcode_direct_GCJ
=yes # is this really true???
17311 ## LD is ld it makes a PLAMLIB
17312 ## CC just makes a GrossModule.
17313 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17314 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17315 hardcode_direct_GCJ
=no
17318 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17319 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17322 runpath_var
='LD_RUN_PATH'
17323 hardcode_shlibpath_var_GCJ
=no
17327 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17328 hardcode_shlibpath_var_GCJ
=no
17329 export_dynamic_flag_spec_GCJ
='-Bexport'
17333 if test -d /usr
/nec
; then
17334 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17335 hardcode_shlibpath_var_GCJ
=no
17336 runpath_var
=LD_RUN_PATH
17337 hardcode_runpath_var
=yes
17342 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17343 no_undefined_flag_GCJ
='${wl}-z,text'
17344 archive_cmds_need_lc_GCJ
=no
17345 hardcode_shlibpath_var_GCJ
=no
17346 runpath_var
='LD_RUN_PATH'
17348 if test "$GCC" = yes; then
17349 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17350 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17352 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17353 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17357 sysv5
* | sco3.2v5
* | sco5v6
*)
17358 # Note: We can NOT use -z defs as we might desire, because we do not
17359 # link with -lc, and that would cause any symbols used from libc to
17360 # always be unresolved, which means just about no library would
17361 # ever link correctly. If we're not using GNU ld we use -z text
17362 # though, which does catch some bad symbols but isn't as heavy-handed
17364 no_undefined_flag_GCJ
='${wl}-z,text'
17365 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17366 archive_cmds_need_lc_GCJ
=no
17367 hardcode_shlibpath_var_GCJ
=no
17368 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17369 hardcode_libdir_separator_GCJ
=':'
17370 link_all_deplibs_GCJ
=yes
17371 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17372 runpath_var
='LD_RUN_PATH'
17374 if test "$GCC" = yes; then
17375 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17376 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17378 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17379 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17384 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17385 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17386 hardcode_shlibpath_var_GCJ
=no
17395 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17396 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17397 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17400 # Do we need to explicitly link libc?
17402 case "x$archive_cmds_need_lc_GCJ" in
17404 # Assume -lc should be added
17405 archive_cmds_need_lc_GCJ
=yes
17407 if test "$enable_shared" = yes && test "$GCC" = yes; then
17408 case $archive_cmds_GCJ in
17410 # FIXME: we may have to deal with multi-command sequences.
17413 # Test whether the compiler implicitly links with -lc since on some
17414 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17415 # to ld, don't add -lc before -lgcc.
17416 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17417 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17419 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17422 (eval $ac_compile) 2>&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } 2>conftest.err
; then
17428 libobjs
=conftest.
$ac_objext
17430 wl
=$lt_prog_compiler_wl_GCJ
17431 pic_flag
=$lt_prog_compiler_pic_GCJ
17437 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17438 allow_undefined_flag_GCJ
=
17439 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17440 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }
17445 archive_cmds_need_lc_GCJ
=no
17447 archive_cmds_need_lc_GCJ
=yes
17449 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17451 cat conftest.err
1>&5
17454 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17455 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17462 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17463 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17464 library_names_spec
=
17465 libname_spec
='lib$name'
17469 postuninstall_cmds
=
17473 shlibpath_overrides_runpath
=unknown
17475 dynamic_linker
="$host_os ld.so"
17476 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17477 if test "$GCC" = yes; then
17478 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17479 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17480 # if the path contains ";" then we assume it to be the separator
17481 # otherwise default to the standard path separator (i.e. ":") - it is
17482 # assumed that no part of a normal pathname contains ";" but that should
17483 # okay in the real world where ";" in dirpaths is itself problematic.
17484 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17486 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17489 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17491 need_lib_prefix
=unknown
17492 hardcode_into_libs
=no
17494 # when you set need_version to no, make sure it does not cause -set_version
17495 # flags to be left without arguments
17496 need_version
=unknown
17501 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17502 shlibpath_var
=LIBPATH
17504 # AIX 3 has no versioning support, so we append a major version to the name.
17505 soname_spec
='${libname}${release}${shared_ext}$major'
17512 hardcode_into_libs
=yes
17513 if test "$host_cpu" = ia64
; then
17514 # AIX 5 supports IA64
17515 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17516 shlibpath_var
=LD_LIBRARY_PATH
17518 # With GCC up to 2.95.x, collect2 would create an import file
17519 # for dependence libraries. The import file would start with
17520 # the line `#! .'. This would cause the generated library to
17521 # depend on `.', always an invalid library. This was fixed in
17522 # development snapshots of GCC prior to 3.0.
17524 aix4 | aix4.
[01] | aix4.
[01].
*)
17525 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17527 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17530 can_build_shared
=no
17534 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17535 # soname into executable. Probably we can add versioning support to
17536 # collect2, so additional links can be useful in future.
17537 if test "$aix_use_runtimelinking" = yes; then
17538 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17539 # instead of lib<name>.a to let people know that these are not
17540 # typical AIX shared libraries.
17541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17543 # We preserve .a as extension for shared libraries through AIX4.2
17544 # and later when we are not doing run time linking.
17545 library_names_spec
='${libname}${release}.a $libname.a'
17546 soname_spec
='${libname}${release}${shared_ext}$major'
17548 shlibpath_var
=LIBPATH
17553 library_names_spec
='$libname.ixlibrary $libname.a'
17554 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17555 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'
17559 library_names_spec
='${libname}${shared_ext}'
17560 dynamic_linker
="$host_os ld.so"
17561 shlibpath_var
=LIBRARY_PATH
17567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17568 soname_spec
='${libname}${release}${shared_ext}$major'
17569 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17570 shlibpath_var
=LD_LIBRARY_PATH
17571 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17572 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17573 # the default ld.so.conf also contains /usr/contrib/lib and
17574 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17575 # libtool to hard-code these into programs
17578 cygwin
* | mingw
* | pw32
*)
17579 version_type
=windows
17584 case $GCC,$host_os in
17585 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17586 library_names_spec
='$libname.dll.a'
17587 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17588 postinstall_cmds
='base_file=`basename \${file}`~
17589 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17590 dldir=$destdir/`dirname \$dlpath`~
17591 test -d \$dldir || mkdir -p \$dldir~
17592 $install_prog $dir/$dlname \$dldir/$dlname~
17593 chmod a+x \$dldir/$dlname'
17594 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17595 dlpath=$dir/\$dldll~
17597 shlibpath_overrides_runpath
=yes
17601 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17602 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17603 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17606 # MinGW DLLs use traditional 'lib' prefix
17607 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17608 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17609 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17610 # It is most probably a Windows format PATH printed by
17611 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17612 # path with ; separators, and with drive letters. We can handle the
17613 # drive letters (cygwin fileutils understands them), so leave them,
17614 # especially as we might pass files found there to a mingw objdump,
17615 # which wouldn't understand a cygwinified path. Ahh.
17616 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17618 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17622 # pw32 DLLs use 'pw' prefix rather than 'lib'
17623 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17629 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17632 dynamic_linker
='Win32 ld.exe'
17633 # FIXME: first we should search . and the directory the executable is in
17637 darwin
* | rhapsody
*)
17638 dynamic_linker
="$host_os dyld"
17639 version_type
=darwin
17642 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17643 soname_spec
='${libname}${release}${major}$shared_ext'
17644 shlibpath_overrides_runpath
=yes
17645 shlibpath_var
=DYLD_LIBRARY_PATH
17646 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17647 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17648 if test "$GCC" = yes; then
17649 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"`
17651 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17653 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17661 soname_spec
='${libname}${release}${shared_ext}$major'
17662 shlibpath_var
=LD_LIBRARY_PATH
17673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17674 soname_spec
='${libname}${release}${shared_ext}$major'
17675 shlibpath_var
=LD_LIBRARY_PATH
17676 shlibpath_overrides_runpath
=no
17677 hardcode_into_libs
=yes
17678 dynamic_linker
='GNU ld.so'
17681 freebsd
* | dragonfly
*)
17682 # DragonFly does not have aout. When/if they implement a new
17683 # versioning mechanism, adjust this.
17684 if test -x /usr
/bin
/objformat
; then
17685 objformat
=`/usr/bin/objformat`
17688 freebsd
[123]*) objformat
=aout
;;
17689 *) objformat
=elf
;;
17692 version_type
=freebsd-
$objformat
17693 case $version_type in
17695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17700 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17704 shlibpath_var
=LD_LIBRARY_PATH
17707 shlibpath_overrides_runpath
=yes
17709 freebsd3.
[01]* | freebsdelf3.
[01]*)
17710 shlibpath_overrides_runpath
=yes
17711 hardcode_into_libs
=yes
17713 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17714 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17715 shlibpath_overrides_runpath
=no
17716 hardcode_into_libs
=yes
17718 freebsd
*) # from 4.6 on
17719 shlibpath_overrides_runpath
=yes
17720 hardcode_into_libs
=yes
17729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17730 soname_spec
='${libname}${release}${shared_ext}$major'
17731 shlibpath_var
=LD_LIBRARY_PATH
17732 hardcode_into_libs
=yes
17735 hpux9
* | hpux10
* | hpux11
*)
17736 # Give a soname corresponding to the major version so that dld.sl refuses to
17737 # link against other versions.
17744 hardcode_into_libs
=yes
17745 dynamic_linker
="$host_os dld.so"
17746 shlibpath_var
=LD_LIBRARY_PATH
17747 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17749 soname_spec
='${libname}${release}${shared_ext}$major'
17750 if test "X$HPUX_IA64_MODE" = X32
; then
17751 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17753 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17755 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17759 hardcode_into_libs
=yes
17760 dynamic_linker
="$host_os dld.sl"
17761 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17762 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17764 soname_spec
='${libname}${release}${shared_ext}$major'
17765 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17766 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17770 dynamic_linker
="$host_os dld.sl"
17771 shlibpath_var
=SHLIB_PATH
17772 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17774 soname_spec
='${libname}${release}${shared_ext}$major'
17777 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17778 postinstall_cmds
='chmod 555 $lib'
17785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17786 soname_spec
='${libname}${release}${shared_ext}$major'
17787 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17788 shlibpath_var
=LD_LIBRARY_PATH
17789 shlibpath_overrides_runpath
=no
17790 hardcode_into_libs
=yes
17793 irix5
* | irix6
* | nonstopux
*)
17795 nonstopux
*) version_type
=nonstopux
;;
17797 if test "$lt_cv_prog_gnu_ld" = yes; then
17805 soname_spec
='${libname}${release}${shared_ext}$major'
17806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17808 irix5
* | nonstopux
*)
17809 libsuff
= shlibsuff
=
17812 case $LD in # libtool.m4 will add one of these switches to LD
17813 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17814 libsuff
= shlibsuff
= libmagic
=32-bit;;
17815 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17816 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17817 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17818 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17819 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17823 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17824 shlibpath_overrides_runpath
=no
17825 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17826 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17827 hardcode_into_libs
=yes
17830 # No shared lib support for Linux oldld, aout, or coff.
17831 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17835 # This must be Linux ELF.
17840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17841 soname_spec
='${libname}${release}${shared_ext}$major'
17842 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17843 shlibpath_var
=LD_LIBRARY_PATH
17844 shlibpath_overrides_runpath
=no
17845 # This implies no fast_install, which is unacceptable.
17846 # Some rework will be needed to allow for fast_install
17847 # before this can be enabled.
17848 hardcode_into_libs
=yes
17850 # find out which ABI we are using
17852 case "$host_cpu" in
17853 x86_64
*|s390x
*|powerpc64
*)
17854 echo '#line 17854 "configure"' > conftest.
$ac_ext
17855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17856 (eval $ac_compile) 2>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; then
17860 case `/usr/bin/file conftest.$ac_objext` in
17863 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17871 # Append ld.so.conf contents to the search path
17872 if test -f /etc
/ld.so.conf
; then
17873 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17874 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17877 # We used to test for /lib/ld.so.1 and disable shared libraries on
17878 # powerpc, because MkLinux only supported shared libraries with the
17879 # GNU dynamic linker. Since this was broken with cross compilers,
17880 # most powerpc-linux boxes support dynamic linking these days and
17881 # people can always --disable-shared, the test was removed, and we
17882 # assume the GNU/Linux dynamic linker is in use.
17883 dynamic_linker
='GNU/Linux ld.so'
17890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17891 soname_spec
='${libname}${release}${shared_ext}$major'
17892 shlibpath_var
=LD_LIBRARY_PATH
17893 shlibpath_overrides_runpath
=no
17894 hardcode_into_libs
=yes
17895 dynamic_linker
='GNU ld.so'
17902 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17904 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17905 dynamic_linker
='NetBSD (a.out) ld.so'
17907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17908 soname_spec
='${libname}${release}${shared_ext}$major'
17909 dynamic_linker
='NetBSD ld.elf_so'
17911 shlibpath_var
=LD_LIBRARY_PATH
17912 shlibpath_overrides_runpath
=yes
17913 hardcode_into_libs
=yes
17918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17919 shlibpath_var
=LD_LIBRARY_PATH
17920 shlibpath_overrides_runpath
=yes
17927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17928 soname_spec
='${libname}${release}${shared_ext}$major'
17929 shlibpath_var
=LD_LIBRARY_PATH
17930 shlibpath_overrides_runpath
=yes
17935 sys_lib_dlsearch_path_spec
="/usr/lib"
17937 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17939 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17940 *) need_version
=no
;;
17942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17943 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17944 shlibpath_var
=LD_LIBRARY_PATH
17945 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17947 openbsd2.
[89] | openbsd2.
[89].
*)
17948 shlibpath_overrides_runpath
=no
17951 shlibpath_overrides_runpath
=yes
17955 shlibpath_overrides_runpath
=yes
17960 libname_spec
='$name'
17963 library_names_spec
='$libname${shared_ext} $libname.a'
17964 dynamic_linker
='OS/2 ld.exe'
17965 shlibpath_var
=LIBPATH
17968 osf3
* | osf4
* | osf5
*)
17972 soname_spec
='${libname}${release}${shared_ext}$major'
17973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17974 shlibpath_var
=LD_LIBRARY_PATH
17975 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17976 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17984 soname_spec
='${libname}${release}${shared_ext}$major'
17985 shlibpath_var
=LD_LIBRARY_PATH
17986 shlibpath_overrides_runpath
=yes
17987 hardcode_into_libs
=yes
17988 # ldd complains unless libraries are executable
17989 postinstall_cmds
='chmod +x $lib'
17994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17995 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17996 shlibpath_var
=LD_LIBRARY_PATH
17997 shlibpath_overrides_runpath
=yes
17998 if test "$with_gnu_ld" = yes; then
18006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18007 soname_spec
='${libname}${release}${shared_ext}$major'
18008 shlibpath_var
=LD_LIBRARY_PATH
18009 case $host_vendor in
18011 shlibpath_overrides_runpath
=no
18013 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18014 runpath_var
=LD_RUN_PATH
18022 shlibpath_overrides_runpath
=no
18023 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18029 if test -d /usr
/nec
;then
18031 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18032 soname_spec
='$libname${shared_ext}.$major'
18033 shlibpath_var
=LD_LIBRARY_PATH
18037 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18038 version_type
=freebsd-elf
18041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18042 soname_spec
='${libname}${release}${shared_ext}$major'
18043 shlibpath_var
=LD_LIBRARY_PATH
18044 hardcode_into_libs
=yes
18045 if test "$with_gnu_ld" = yes; then
18046 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18047 shlibpath_overrides_runpath
=no
18049 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18050 shlibpath_overrides_runpath
=yes
18053 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18057 sys_lib_dlsearch_path_spec
='/usr/lib'
18062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18063 soname_spec
='${libname}${release}${shared_ext}$major'
18064 shlibpath_var
=LD_LIBRARY_PATH
18071 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18072 echo "${ECHO_T}$dynamic_linker" >&6
18073 test "$dynamic_linker" = no
&& can_build_shared
=no
18075 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18076 if test "$GCC" = yes; then
18077 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18080 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18081 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18082 hardcode_action_GCJ
=
18083 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18084 test -n "$runpath_var_GCJ" || \
18085 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18087 # We can hardcode non-existant directories.
18088 if test "$hardcode_direct_GCJ" != no
&&
18089 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18090 # have to relink, otherwise we might link with an installed library
18091 # when we should be linking with a yet-to-be-installed one
18092 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18093 test "$hardcode_minus_L_GCJ" != no
; then
18094 # Linking always hardcodes the temporary library directory.
18095 hardcode_action_GCJ
=relink
18097 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18098 hardcode_action_GCJ
=immediate
18101 # We cannot hardcode anything, or else we can only hardcode existing
18103 hardcode_action_GCJ
=unsupported
18105 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18106 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18108 if test "$hardcode_action_GCJ" = relink
; then
18109 # Fast installation is not supported
18110 enable_fast_install
=no
18111 elif test "$shlibpath_overrides_runpath" = yes ||
18112 test "$enable_shared" = no
; then
18113 # Fast installation is not necessary
18114 enable_fast_install
=needless
18118 # The else clause should only fire when bootstrapping the
18119 # libtool distribution, otherwise you forgot to ship ltmain.sh
18120 # with your package, and you will get complaints that there are
18121 # no rules to generate ltmain.sh.
18122 if test -f "$ltmain"; then
18123 # See if we are running on zsh, and set the options which allow our commands through
18124 # without removal of \ escapes.
18125 if test -n "${ZSH_VERSION+set}" ; then
18126 setopt NO_GLOB_SUBST
18128 # Now quote all the things that may contain metacharacters while being
18129 # careful not to overquote the AC_SUBSTed values. We take copies of the
18130 # variables and quote the copies for generation of the libtool script.
18131 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18133 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18134 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18135 deplibs_check_method reload_flag reload_cmds need_locks \
18136 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18137 lt_cv_sys_global_symbol_to_c_name_address \
18138 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18139 old_postinstall_cmds old_postuninstall_cmds \
18143 lt_prog_compiler_wl_GCJ \
18144 lt_prog_compiler_pic_GCJ \
18145 lt_prog_compiler_static_GCJ \
18146 lt_prog_compiler_no_builtin_flag_GCJ \
18147 export_dynamic_flag_spec_GCJ \
18148 thread_safe_flag_spec_GCJ \
18149 whole_archive_flag_spec_GCJ \
18150 enable_shared_with_static_runtimes_GCJ \
18151 old_archive_cmds_GCJ \
18152 old_archive_from_new_cmds_GCJ \
18153 predep_objects_GCJ \
18154 postdep_objects_GCJ \
18157 compiler_lib_search_path_GCJ \
18159 archive_expsym_cmds_GCJ \
18160 postinstall_cmds_GCJ \
18161 postuninstall_cmds_GCJ \
18162 old_archive_from_expsyms_cmds_GCJ \
18163 allow_undefined_flag_GCJ \
18164 no_undefined_flag_GCJ \
18165 export_symbols_cmds_GCJ \
18166 hardcode_libdir_flag_spec_GCJ \
18167 hardcode_libdir_flag_spec_ld_GCJ \
18168 hardcode_libdir_separator_GCJ \
18169 hardcode_automatic_GCJ \
18171 module_expsym_cmds_GCJ \
18172 lt_cv_prog_compiler_c_o_GCJ \
18173 exclude_expsyms_GCJ \
18174 include_expsyms_GCJ
; do
18177 old_archive_cmds_GCJ | \
18178 old_archive_from_new_cmds_GCJ | \
18179 archive_cmds_GCJ | \
18180 archive_expsym_cmds_GCJ | \
18181 module_cmds_GCJ | \
18182 module_expsym_cmds_GCJ | \
18183 old_archive_from_expsyms_cmds_GCJ | \
18184 export_symbols_cmds_GCJ | \
18185 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18186 postinstall_cmds | postuninstall_cmds | \
18187 old_postinstall_cmds | old_postuninstall_cmds | \
18188 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18189 # Double-quote double-evaled strings.
18190 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18193 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18199 *'\$0 --fallback-echo"')
18200 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18206 cat <<__EOF__ >> "$cfgfile"
18207 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18209 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18211 # Shell to use when invoking shell scripts.
18214 # Whether or not to build shared libraries.
18215 build_libtool_libs=$enable_shared
18217 # Whether or not to build static libraries.
18218 build_old_libs=$enable_static
18220 # Whether or not to add -lc for building shared libraries.
18221 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18223 # Whether or not to disallow shared libs when runtime libs are static
18224 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18226 # Whether or not to optimize for fast installation.
18227 fast_install=$enable_fast_install
18230 host_alias=$host_alias
18234 # The build system.
18235 build_alias=$build_alias
18239 # An echo program that does not interpret backslashes.
18244 AR_FLAGS=$lt_AR_FLAGS
18249 # LTCC compiler flags.
18250 LTCFLAGS=$lt_LTCFLAGS
18252 # A language-specific compiler.
18253 CC=$lt_compiler_GCJ
18255 # Is the compiler the GNU C compiler?
18258 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18259 gcc_ver=\`gcc -dumpversion\`
18264 # The linker used to build libraries.
18267 # Whether we need hard or soft links.
18270 # A BSD-compatible nm program.
18273 # A symbol stripping program
18276 # Used to examine libraries when file_magic_cmd begins "file"
18277 MAGIC_CMD=$MAGIC_CMD
18279 # Used on cygwin: DLL creation program.
18282 # Used on cygwin: object dumper.
18285 # Used on cygwin: assembler.
18288 # The name of the directory that contains temporary libtool files.
18291 # How to create reloadable object files.
18292 reload_flag=$lt_reload_flag
18293 reload_cmds=$lt_reload_cmds
18295 # How to pass a linker flag through the compiler.
18296 wl=$lt_lt_prog_compiler_wl_GCJ
18298 # Object file suffix (normally "o").
18299 objext="$ac_objext"
18301 # Old archive suffix (normally "a").
18304 # Shared library suffix (normally ".so").
18305 shrext_cmds='$shrext_cmds'
18307 # Executable file suffix (normally "").
18310 # Additional compiler flags for building library objects.
18311 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18314 # What is the maximum length of a command?
18315 max_cmd_len=$lt_cv_sys_max_cmd_len
18317 # Does compiler simultaneously support -c and -o options?
18318 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18320 # Must we lock files when doing compilation?
18321 need_locks=$lt_need_locks
18323 # Do we need the lib prefix for modules?
18324 need_lib_prefix=$need_lib_prefix
18326 # Do we need a version for libraries?
18327 need_version=$need_version
18329 # Whether dlopen is supported.
18330 dlopen_support=$enable_dlopen
18332 # Whether dlopen of programs is supported.
18333 dlopen_self=$enable_dlopen_self
18335 # Whether dlopen of statically linked programs is supported.
18336 dlopen_self_static=$enable_dlopen_self_static
18338 # Compiler flag to prevent dynamic linking.
18339 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18341 # Compiler flag to turn off builtin functions.
18342 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18344 # Compiler flag to allow reflexive dlopens.
18345 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18347 # Compiler flag to generate shared objects directly from archives.
18348 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18350 # Compiler flag to generate thread-safe objects.
18351 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18353 # Library versioning type.
18354 version_type=$version_type
18356 # Format of library name prefix.
18357 libname_spec=$lt_libname_spec
18359 # List of archive names. First name is the real one, the rest are links.
18360 # The last name is the one that the linker finds with -lNAME.
18361 library_names_spec=$lt_library_names_spec
18363 # The coded name of the library, if different from the real name.
18364 soname_spec=$lt_soname_spec
18366 # Commands used to build and install an old-style archive.
18368 old_archive_cmds=$lt_old_archive_cmds_GCJ
18369 old_postinstall_cmds=$lt_old_postinstall_cmds
18370 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18372 # Create an old-style archive from a shared archive.
18373 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18375 # Create a temporary old-style archive to link instead of a shared archive.
18376 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18378 # Commands used to build and install a shared archive.
18379 archive_cmds=$lt_archive_cmds_GCJ
18380 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18381 postinstall_cmds=$lt_postinstall_cmds
18382 postuninstall_cmds=$lt_postuninstall_cmds
18384 # Commands used to build a loadable module (assumed same as above if empty)
18385 module_cmds=$lt_module_cmds_GCJ
18386 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18388 # Commands to strip libraries.
18389 old_striplib=$lt_old_striplib
18390 striplib=$lt_striplib
18392 # Dependencies to place before the objects being linked to create a
18394 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18396 # Dependencies to place after the objects being linked to create a
18398 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18400 # Dependencies to place before the objects being linked to create a
18402 predeps=$lt_predeps_GCJ
18404 # Dependencies to place after the objects being linked to create a
18406 postdeps=$lt_postdeps_GCJ
18408 # The library search path used internally by the compiler when linking
18409 # a shared library.
18410 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18412 # Method to check whether dependent libraries are shared objects.
18413 deplibs_check_method=$lt_deplibs_check_method
18415 # Command to use when deplibs_check_method == file_magic.
18416 file_magic_cmd=$lt_file_magic_cmd
18418 # Flag that allows shared libraries with undefined symbols to be built.
18419 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18421 # Flag that forces no undefined symbols.
18422 no_undefined_flag=$lt_no_undefined_flag_GCJ
18424 # Commands used to finish a libtool library installation in a directory.
18425 finish_cmds=$lt_finish_cmds
18427 # Same as above, but a single script fragment to be evaled but not shown.
18428 finish_eval=$lt_finish_eval
18430 # Take the output of nm and produce a listing of raw symbols and C names.
18431 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18433 # Transform the output of nm in a proper C declaration
18434 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18436 # Transform the output of nm in a C name address pair
18437 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18439 # This is the shared library runtime path variable.
18440 runpath_var=$runpath_var
18442 # This is the shared library path variable.
18443 shlibpath_var=$shlibpath_var
18445 # Is shlibpath searched before the hard-coded library search path?
18446 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18448 # How to hardcode a shared library path into an executable.
18449 hardcode_action=$hardcode_action_GCJ
18451 # Whether we should hardcode library paths into libraries.
18452 hardcode_into_libs=$hardcode_into_libs
18454 # Flag to hardcode \$libdir into a binary during linking.
18455 # This must work even if \$libdir does not exist.
18456 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18458 # If ld is used when linking, flag to hardcode \$libdir into
18459 # a binary during linking. This must work even if \$libdir does
18461 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18463 # Whether we need a single -rpath flag with a separated argument.
18464 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18466 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18467 # resulting binary.
18468 hardcode_direct=$hardcode_direct_GCJ
18470 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18471 # resulting binary.
18472 hardcode_minus_L=$hardcode_minus_L_GCJ
18474 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18475 # the resulting binary.
18476 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18478 # Set to yes if building a shared library automatically hardcodes DIR into the library
18479 # and all subsequent libraries and executables linked against it.
18480 hardcode_automatic=$hardcode_automatic_GCJ
18482 # Variables whose values should be saved in libtool wrapper scripts and
18483 # restored at relink time.
18484 variables_saved_for_relink="$variables_saved_for_relink"
18486 # Whether libtool must link a program against all its dependency libraries.
18487 link_all_deplibs=$link_all_deplibs_GCJ
18489 # Compile-time system search path for libraries
18490 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18492 # Run-time system search path for libraries
18493 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18495 # Fix the shell variable \$srcfile for the compiler.
18496 fix_srcfile_path="$fix_srcfile_path_GCJ"
18498 # Set to yes if exported symbols are required.
18499 always_export_symbols=$always_export_symbols_GCJ
18501 # The commands to list exported symbols.
18502 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18504 # The commands to extract the exported symbol list from a shared archive.
18505 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18507 # Symbols that should not be listed in the preloaded symbols.
18508 exclude_expsyms=$lt_exclude_expsyms_GCJ
18510 # Symbols that must always be exported.
18511 include_expsyms=$lt_include_expsyms_GCJ
18513 # ### END LIBTOOL TAG CONFIG: $tagname
18519 # If there is no Makefile yet, we rely on a make rule to execute
18520 # `config.status --recheck' to rerun these tests and create the
18521 # libtool script then.
18522 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18523 if test -f "$ltmain_in"; then
18524 test -f Makefile
&& make "$ltmain"
18530 ac_cpp
='$CPP $CPPFLAGS'
18531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18546 # Source file extension for RC test sources.
18549 # Object file extension for compiled RC test sources.
18553 # Code to be used in simple compile tests
18554 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18556 # Code to be used in simple link tests
18557 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18559 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18561 # If no C compiler was specified, use CC.
18564 # If no C compiler flags were specified, use CFLAGS.
18565 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18567 # Allow CC to be a program name with arguments.
18571 # save warnings/boilerplate of simple test code
18572 ac_outfile
=conftest.
$ac_objext
18573 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18574 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18575 _lt_compiler_boilerplate
=`cat conftest.err`
18578 ac_outfile
=conftest.
$ac_objext
18579 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18580 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18581 _lt_linker_boilerplate
=`cat conftest.err`
18585 # Allow CC to be a program name with arguments.
18590 for cc_temp
in $compiler""; do
18592 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18593 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18598 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18600 lt_cv_prog_compiler_c_o_RC
=yes
18602 # The else clause should only fire when bootstrapping the
18603 # libtool distribution, otherwise you forgot to ship ltmain.sh
18604 # with your package, and you will get complaints that there are
18605 # no rules to generate ltmain.sh.
18606 if test -f "$ltmain"; then
18607 # See if we are running on zsh, and set the options which allow our commands through
18608 # without removal of \ escapes.
18609 if test -n "${ZSH_VERSION+set}" ; then
18610 setopt NO_GLOB_SUBST
18612 # Now quote all the things that may contain metacharacters while being
18613 # careful not to overquote the AC_SUBSTed values. We take copies of the
18614 # variables and quote the copies for generation of the libtool script.
18615 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18617 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18618 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18619 deplibs_check_method reload_flag reload_cmds need_locks \
18620 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18621 lt_cv_sys_global_symbol_to_c_name_address \
18622 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18623 old_postinstall_cmds old_postuninstall_cmds \
18627 lt_prog_compiler_wl_RC \
18628 lt_prog_compiler_pic_RC \
18629 lt_prog_compiler_static_RC \
18630 lt_prog_compiler_no_builtin_flag_RC \
18631 export_dynamic_flag_spec_RC \
18632 thread_safe_flag_spec_RC \
18633 whole_archive_flag_spec_RC \
18634 enable_shared_with_static_runtimes_RC \
18635 old_archive_cmds_RC \
18636 old_archive_from_new_cmds_RC \
18637 predep_objects_RC \
18638 postdep_objects_RC \
18641 compiler_lib_search_path_RC \
18643 archive_expsym_cmds_RC \
18644 postinstall_cmds_RC \
18645 postuninstall_cmds_RC \
18646 old_archive_from_expsyms_cmds_RC \
18647 allow_undefined_flag_RC \
18648 no_undefined_flag_RC \
18649 export_symbols_cmds_RC \
18650 hardcode_libdir_flag_spec_RC \
18651 hardcode_libdir_flag_spec_ld_RC \
18652 hardcode_libdir_separator_RC \
18653 hardcode_automatic_RC \
18655 module_expsym_cmds_RC \
18656 lt_cv_prog_compiler_c_o_RC \
18657 exclude_expsyms_RC \
18658 include_expsyms_RC
; do
18661 old_archive_cmds_RC | \
18662 old_archive_from_new_cmds_RC | \
18663 archive_cmds_RC | \
18664 archive_expsym_cmds_RC | \
18666 module_expsym_cmds_RC | \
18667 old_archive_from_expsyms_cmds_RC | \
18668 export_symbols_cmds_RC | \
18669 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18670 postinstall_cmds | postuninstall_cmds | \
18671 old_postinstall_cmds | old_postuninstall_cmds | \
18672 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18673 # Double-quote double-evaled strings.
18674 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18677 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18683 *'\$0 --fallback-echo"')
18684 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18690 cat <<__EOF__ >> "$cfgfile"
18691 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18693 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18695 # Shell to use when invoking shell scripts.
18698 # Whether or not to build shared libraries.
18699 build_libtool_libs=$enable_shared
18701 # Whether or not to build static libraries.
18702 build_old_libs=$enable_static
18704 # Whether or not to add -lc for building shared libraries.
18705 build_libtool_need_lc=$archive_cmds_need_lc_RC
18707 # Whether or not to disallow shared libs when runtime libs are static
18708 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18710 # Whether or not to optimize for fast installation.
18711 fast_install=$enable_fast_install
18714 host_alias=$host_alias
18718 # The build system.
18719 build_alias=$build_alias
18723 # An echo program that does not interpret backslashes.
18728 AR_FLAGS=$lt_AR_FLAGS
18733 # LTCC compiler flags.
18734 LTCFLAGS=$lt_LTCFLAGS
18736 # A language-specific compiler.
18739 # Is the compiler the GNU C compiler?
18742 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18743 gcc_ver=\`gcc -dumpversion\`
18748 # The linker used to build libraries.
18751 # Whether we need hard or soft links.
18754 # A BSD-compatible nm program.
18757 # A symbol stripping program
18760 # Used to examine libraries when file_magic_cmd begins "file"
18761 MAGIC_CMD=$MAGIC_CMD
18763 # Used on cygwin: DLL creation program.
18766 # Used on cygwin: object dumper.
18769 # Used on cygwin: assembler.
18772 # The name of the directory that contains temporary libtool files.
18775 # How to create reloadable object files.
18776 reload_flag=$lt_reload_flag
18777 reload_cmds=$lt_reload_cmds
18779 # How to pass a linker flag through the compiler.
18780 wl=$lt_lt_prog_compiler_wl_RC
18782 # Object file suffix (normally "o").
18783 objext="$ac_objext"
18785 # Old archive suffix (normally "a").
18788 # Shared library suffix (normally ".so").
18789 shrext_cmds='$shrext_cmds'
18791 # Executable file suffix (normally "").
18794 # Additional compiler flags for building library objects.
18795 pic_flag=$lt_lt_prog_compiler_pic_RC
18798 # What is the maximum length of a command?
18799 max_cmd_len=$lt_cv_sys_max_cmd_len
18801 # Does compiler simultaneously support -c and -o options?
18802 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18804 # Must we lock files when doing compilation?
18805 need_locks=$lt_need_locks
18807 # Do we need the lib prefix for modules?
18808 need_lib_prefix=$need_lib_prefix
18810 # Do we need a version for libraries?
18811 need_version=$need_version
18813 # Whether dlopen is supported.
18814 dlopen_support=$enable_dlopen
18816 # Whether dlopen of programs is supported.
18817 dlopen_self=$enable_dlopen_self
18819 # Whether dlopen of statically linked programs is supported.
18820 dlopen_self_static=$enable_dlopen_self_static
18822 # Compiler flag to prevent dynamic linking.
18823 link_static_flag=$lt_lt_prog_compiler_static_RC
18825 # Compiler flag to turn off builtin functions.
18826 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18828 # Compiler flag to allow reflexive dlopens.
18829 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18831 # Compiler flag to generate shared objects directly from archives.
18832 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18834 # Compiler flag to generate thread-safe objects.
18835 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18837 # Library versioning type.
18838 version_type=$version_type
18840 # Format of library name prefix.
18841 libname_spec=$lt_libname_spec
18843 # List of archive names. First name is the real one, the rest are links.
18844 # The last name is the one that the linker finds with -lNAME.
18845 library_names_spec=$lt_library_names_spec
18847 # The coded name of the library, if different from the real name.
18848 soname_spec=$lt_soname_spec
18850 # Commands used to build and install an old-style archive.
18852 old_archive_cmds=$lt_old_archive_cmds_RC
18853 old_postinstall_cmds=$lt_old_postinstall_cmds
18854 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18856 # Create an old-style archive from a shared archive.
18857 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18859 # Create a temporary old-style archive to link instead of a shared archive.
18860 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18862 # Commands used to build and install a shared archive.
18863 archive_cmds=$lt_archive_cmds_RC
18864 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18865 postinstall_cmds=$lt_postinstall_cmds
18866 postuninstall_cmds=$lt_postuninstall_cmds
18868 # Commands used to build a loadable module (assumed same as above if empty)
18869 module_cmds=$lt_module_cmds_RC
18870 module_expsym_cmds=$lt_module_expsym_cmds_RC
18872 # Commands to strip libraries.
18873 old_striplib=$lt_old_striplib
18874 striplib=$lt_striplib
18876 # Dependencies to place before the objects being linked to create a
18878 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18880 # Dependencies to place after the objects being linked to create a
18882 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18884 # Dependencies to place before the objects being linked to create a
18886 predeps=$lt_predeps_RC
18888 # Dependencies to place after the objects being linked to create a
18890 postdeps=$lt_postdeps_RC
18892 # The library search path used internally by the compiler when linking
18893 # a shared library.
18894 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18896 # Method to check whether dependent libraries are shared objects.
18897 deplibs_check_method=$lt_deplibs_check_method
18899 # Command to use when deplibs_check_method == file_magic.
18900 file_magic_cmd=$lt_file_magic_cmd
18902 # Flag that allows shared libraries with undefined symbols to be built.
18903 allow_undefined_flag=$lt_allow_undefined_flag_RC
18905 # Flag that forces no undefined symbols.
18906 no_undefined_flag=$lt_no_undefined_flag_RC
18908 # Commands used to finish a libtool library installation in a directory.
18909 finish_cmds=$lt_finish_cmds
18911 # Same as above, but a single script fragment to be evaled but not shown.
18912 finish_eval=$lt_finish_eval
18914 # Take the output of nm and produce a listing of raw symbols and C names.
18915 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18917 # Transform the output of nm in a proper C declaration
18918 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18920 # Transform the output of nm in a C name address pair
18921 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18923 # This is the shared library runtime path variable.
18924 runpath_var=$runpath_var
18926 # This is the shared library path variable.
18927 shlibpath_var=$shlibpath_var
18929 # Is shlibpath searched before the hard-coded library search path?
18930 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18932 # How to hardcode a shared library path into an executable.
18933 hardcode_action=$hardcode_action_RC
18935 # Whether we should hardcode library paths into libraries.
18936 hardcode_into_libs=$hardcode_into_libs
18938 # Flag to hardcode \$libdir into a binary during linking.
18939 # This must work even if \$libdir does not exist.
18940 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18942 # If ld is used when linking, flag to hardcode \$libdir into
18943 # a binary during linking. This must work even if \$libdir does
18945 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18947 # Whether we need a single -rpath flag with a separated argument.
18948 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18950 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18951 # resulting binary.
18952 hardcode_direct=$hardcode_direct_RC
18954 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18955 # resulting binary.
18956 hardcode_minus_L=$hardcode_minus_L_RC
18958 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18959 # the resulting binary.
18960 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18962 # Set to yes if building a shared library automatically hardcodes DIR into the library
18963 # and all subsequent libraries and executables linked against it.
18964 hardcode_automatic=$hardcode_automatic_RC
18966 # Variables whose values should be saved in libtool wrapper scripts and
18967 # restored at relink time.
18968 variables_saved_for_relink="$variables_saved_for_relink"
18970 # Whether libtool must link a program against all its dependency libraries.
18971 link_all_deplibs=$link_all_deplibs_RC
18973 # Compile-time system search path for libraries
18974 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18976 # Run-time system search path for libraries
18977 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18979 # Fix the shell variable \$srcfile for the compiler.
18980 fix_srcfile_path="$fix_srcfile_path_RC"
18982 # Set to yes if exported symbols are required.
18983 always_export_symbols=$always_export_symbols_RC
18985 # The commands to list exported symbols.
18986 export_symbols_cmds=$lt_export_symbols_cmds_RC
18988 # The commands to extract the exported symbol list from a shared archive.
18989 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18991 # Symbols that should not be listed in the preloaded symbols.
18992 exclude_expsyms=$lt_exclude_expsyms_RC
18994 # Symbols that must always be exported.
18995 include_expsyms=$lt_include_expsyms_RC
18997 # ### END LIBTOOL TAG CONFIG: $tagname
19003 # If there is no Makefile yet, we rely on a make rule to execute
19004 # `config.status --recheck' to rerun these tests and create the
19005 # libtool script then.
19006 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19007 if test -f "$ltmain_in"; then
19008 test -f Makefile
&& make "$ltmain"
19014 ac_cpp
='$CPP $CPPFLAGS'
19015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19024 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19025 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19026 { (exit 1); exit 1; }; }
19030 # Append the new tag name to the list of available tags.
19031 if test -n "$tagname" ; then
19032 available_tags
="$available_tags $tagname"
19038 # Now substitute the updated list of available tags.
19039 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19040 mv "${ofile}T" "$ofile"
19044 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19045 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19046 { (exit 1); exit 1; }; }
19052 # This can be used to rebuild libtool when needed
19053 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19055 # Always use our own libtool.
19056 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19058 # Prevent multiple expansion
19086 ac_header_dirent
=no
19087 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
19088 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19089 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
19090 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
19091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19092 echo $ECHO_N "(cached) $ECHO_C" >&6
19094 cat >conftest.
$ac_ext <<_ACEOF
19097 cat confdefs.h
>>conftest.
$ac_ext
19098 cat >>conftest.
$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 #include <sys/types.h>
19112 rm -f conftest.
$ac_objext
19113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19114 (eval $ac_compile) 2>conftest.er1
19116 grep -v '^ *+' conftest.er1
>conftest.err
19118 cat conftest.err
>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); } &&
19121 { ac_try
='test -z "$ac_c_werror_flag"
19122 || test ! -s conftest.err'
19123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124 (eval $ac_try) 2>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); }; } &&
19128 { ac_try
='test -s conftest.$ac_objext'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; }; then
19134 eval "$as_ac_Header=yes"
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.
$ac_ext >&5
19139 eval "$as_ac_Header=no"
19141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19146 cat >>confdefs.h
<<_ACEOF
19147 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
19150 ac_header_dirent
=$ac_hdr; break
19154 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19155 if test $ac_header_dirent = dirent.h
; then
19156 echo "$as_me:$LINENO: checking for library containing opendir" >&5
19157 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
19158 if test "${ac_cv_search_opendir+set}" = set; then
19159 echo $ECHO_N "(cached) $ECHO_C" >&6
19161 ac_func_search_save_LIBS
=$LIBS
19162 ac_cv_search_opendir
=no
19163 cat >conftest.
$ac_ext <<_ACEOF
19166 cat confdefs.h
>>conftest.
$ac_ext
19167 cat >>conftest.
$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19170 /* Override any gcc2 internal prototype to avoid an error. */
19174 /* We use char because int might match the return type of a gcc2
19175 builtin and then its argument prototype would still apply. */
19185 rm -f conftest.
$ac_objext conftest
$ac_exeext
19186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19187 (eval $ac_link) 2>conftest.er1
19189 grep -v '^ *+' conftest.er1
>conftest.err
19191 cat conftest.err
>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } &&
19194 { ac_try
='test -z "$ac_c_werror_flag"
19195 || test ! -s conftest.err'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; } &&
19201 { ac_try
='test -s conftest$ac_exeext'
19202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 ac_cv_search_opendir
="none required"
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.
$ac_ext >&5
19213 rm -f conftest.err conftest.
$ac_objext \
19214 conftest
$ac_exeext conftest.
$ac_ext
19215 if test "$ac_cv_search_opendir" = no
; then
19216 for ac_lib
in dir
; do
19217 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19218 cat >conftest.
$ac_ext <<_ACEOF
19221 cat confdefs.h
>>conftest.
$ac_ext
19222 cat >>conftest.
$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19225 /* Override any gcc2 internal prototype to avoid an error. */
19229 /* We use char because int might match the return type of a gcc2
19230 builtin and then its argument prototype would still apply. */
19240 rm -f conftest.
$ac_objext conftest
$ac_exeext
19241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19242 (eval $ac_link) 2>conftest.er1
19244 grep -v '^ *+' conftest.er1
>conftest.err
19246 cat conftest.err
>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try
='test -z "$ac_c_werror_flag"
19250 || test ! -s conftest.err'
19251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19252 (eval $ac_try) 2>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; } &&
19256 { ac_try
='test -s conftest$ac_exeext'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; }; then
19262 ac_cv_search_opendir
="-l$ac_lib"
19265 echo "$as_me: failed program was:" >&5
19266 sed 's/^/| /' conftest.
$ac_ext >&5
19269 rm -f conftest.err conftest.
$ac_objext \
19270 conftest
$ac_exeext conftest.
$ac_ext
19273 LIBS
=$ac_func_search_save_LIBS
19275 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19276 echo "${ECHO_T}$ac_cv_search_opendir" >&6
19277 if test "$ac_cv_search_opendir" != no
; then
19278 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
19283 echo "$as_me:$LINENO: checking for library containing opendir" >&5
19284 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
19285 if test "${ac_cv_search_opendir+set}" = set; then
19286 echo $ECHO_N "(cached) $ECHO_C" >&6
19288 ac_func_search_save_LIBS
=$LIBS
19289 ac_cv_search_opendir
=no
19290 cat >conftest.
$ac_ext <<_ACEOF
19293 cat confdefs.h
>>conftest.
$ac_ext
19294 cat >>conftest.
$ac_ext <<_ACEOF
19295 /* end confdefs.h. */
19297 /* Override any gcc2 internal prototype to avoid an error. */
19301 /* We use char because int might match the return type of a gcc2
19302 builtin and then its argument prototype would still apply. */
19312 rm -f conftest.
$ac_objext conftest
$ac_exeext
19313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19314 (eval $ac_link) 2>conftest.er1
19316 grep -v '^ *+' conftest.er1
>conftest.err
19318 cat conftest.err
>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); } &&
19321 { ac_try
='test -z "$ac_c_werror_flag"
19322 || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try
='test -s conftest$ac_exeext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 ac_cv_search_opendir
="none required"
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.
$ac_ext >&5
19340 rm -f conftest.err conftest.
$ac_objext \
19341 conftest
$ac_exeext conftest.
$ac_ext
19342 if test "$ac_cv_search_opendir" = no
; then
19343 for ac_lib
in x
; do
19344 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19345 cat >conftest.
$ac_ext <<_ACEOF
19348 cat confdefs.h
>>conftest.
$ac_ext
19349 cat >>conftest.
$ac_ext <<_ACEOF
19350 /* end confdefs.h. */
19352 /* Override any gcc2 internal prototype to avoid an error. */
19356 /* We use char because int might match the return type of a gcc2
19357 builtin and then its argument prototype would still apply. */
19367 rm -f conftest.
$ac_objext conftest
$ac_exeext
19368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19369 (eval $ac_link) 2>conftest.er1
19371 grep -v '^ *+' conftest.er1
>conftest.err
19373 cat conftest.err
>&5
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); } &&
19376 { ac_try
='test -z "$ac_c_werror_flag"
19377 || test ! -s conftest.err'
19378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19379 (eval $ac_try) 2>&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); }; } &&
19383 { ac_try
='test -s conftest$ac_exeext'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; }; then
19389 ac_cv_search_opendir
="-l$ac_lib"
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.
$ac_ext >&5
19396 rm -f conftest.err conftest.
$ac_objext \
19397 conftest
$ac_exeext conftest.
$ac_ext
19400 LIBS
=$ac_func_search_save_LIBS
19402 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19403 echo "${ECHO_T}$ac_cv_search_opendir" >&6
19404 if test "$ac_cv_search_opendir" != no
; then
19405 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
19411 # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
19412 if test "${enable_ltdl_install+set}" = set; then
19413 enableval
="$enable_ltdl_install"
19419 if test x
"${enable_ltdl_install-no}" != xno
; then
19421 INSTALL_LTDL_FALSE
='#'
19423 INSTALL_LTDL_TRUE
='#'
19424 INSTALL_LTDL_FALSE
=
19429 if test x
"${enable_ltdl_convenience-no}" != xno
; then
19430 CONVENIENCE_LTDL_TRUE
=
19431 CONVENIENCE_LTDL_FALSE
='#'
19433 CONVENIENCE_LTDL_TRUE
='#'
19434 CONVENIENCE_LTDL_FALSE
=
19439 echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
19440 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6
19441 if test "${libltdl_cv_shlibext+set}" = set; then
19442 echo $ECHO_N "(cached) $ECHO_C" >&6
19446 eval libltdl_cv_shlibext
=$shrext_cmds
19449 echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
19450 echo "${ECHO_T}$libltdl_cv_shlibext" >&6
19451 if test -n "$libltdl_cv_shlibext"; then
19453 cat >>confdefs.h
<<_ACEOF
19454 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
19460 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
19461 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
19462 if test "${libltdl_cv_shlibpath_var+set}" = set; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19465 libltdl_cv_shlibpath_var
="$shlibpath_var"
19467 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
19468 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
19469 if test -n "$libltdl_cv_shlibpath_var"; then
19471 cat >>confdefs.h
<<_ACEOF
19472 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
19478 echo "$as_me:$LINENO: checking for the default library search path" >&5
19479 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
19480 if test "${libltdl_cv_sys_search_path+set}" = set; then
19481 echo $ECHO_N "(cached) $ECHO_C" >&6
19483 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
19485 echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
19486 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6
19487 if test -n "$libltdl_cv_sys_search_path"; then
19489 for dir
in $libltdl_cv_sys_search_path; do
19490 if test -z "$sys_search_path"; then
19491 sys_search_path
="$dir"
19493 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
19497 cat >>confdefs.h
<<_ACEOF
19498 #define LTDL_SYSSEARCHPATH "$sys_search_path"
19503 echo "$as_me:$LINENO: checking for objdir" >&5
19504 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
19505 if test "${libltdl_cv_objdir+set}" = set; then
19506 echo $ECHO_N "(cached) $ECHO_C" >&6
19508 libltdl_cv_objdir
="$objdir"
19509 if test -n "$objdir"; then
19512 rm -f .libs
2>/dev
/null
19513 mkdir .libs
2>/dev
/null
19514 if test -d .libs
; then
19515 libltdl_cv_objdir
=.libs
19517 # MS-DOS does not allow filenames that begin with a dot.
19518 libltdl_cv_objdir
=_libs
19520 rmdir .libs
2>/dev
/null
19524 echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
19525 echo "${ECHO_T}$libltdl_cv_objdir" >&6
19527 cat >>confdefs.h
<<_ACEOF
19528 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
19533 echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
19534 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
19535 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
19536 echo $ECHO_N "(cached) $ECHO_C" >&6
19538 if test -n "$lt_cv_sys_global_symbol_pipe"; then
19539 libltdl_cv_preloaded_symbols
=yes
19541 libltdl_cv_preloaded_symbols
=no
19545 echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
19546 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
19547 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
19549 cat >>confdefs.h
<<\_ACEOF
19550 #define HAVE_PRELOADED_SYMBOLS 1
19558 ac_cpp
='$CPP $CPPFLAGS'
19559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19564 echo "$as_me:$LINENO: checking for shl_load" >&5
19565 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19566 if test "${ac_cv_func_shl_load+set}" = set; then
19567 echo $ECHO_N "(cached) $ECHO_C" >&6
19569 cat >conftest.
$ac_ext <<_ACEOF
19572 cat confdefs.h
>>conftest.
$ac_ext
19573 cat >>conftest.
$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19577 #define shl_load innocuous_shl_load
19579 /* System header to define __stub macros and hopefully few prototypes,
19580 which can conflict with char shl_load (); below.
19581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19582 <limits.h> exists even on freestanding compilers. */
19585 # include <limits.h>
19587 # include <assert.h>
19592 /* Override any gcc2 internal prototype to avoid an error. */
19597 /* We use char because int might match the return type of a gcc2
19598 builtin and then its argument prototype would still apply. */
19600 /* The GNU C library defines this for functions which it implements
19601 to always fail with ENOSYS. Some functions are actually named
19602 something starting with __ and the normal name is an alias. */
19603 #if defined (__stub_shl_load) || defined (__stub___shl_load)
19606 char (*f) () = shl_load;
19615 return f != shl_load;
19620 rm -f conftest.
$ac_objext conftest
$ac_exeext
19621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19622 (eval $ac_link) 2>conftest.er1
19624 grep -v '^ *+' conftest.er1
>conftest.err
19626 cat conftest.err
>&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } &&
19629 { ac_try
='test -z "$ac_c_werror_flag"
19630 || test ! -s conftest.err'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; } &&
19636 { ac_try
='test -s conftest$ac_exeext'
19637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19638 (eval $ac_try) 2>&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); }; }; then
19642 ac_cv_func_shl_load
=yes
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.
$ac_ext >&5
19647 ac_cv_func_shl_load
=no
19649 rm -f conftest.err conftest.
$ac_objext \
19650 conftest
$ac_exeext conftest.
$ac_ext
19652 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19653 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19654 if test $ac_cv_func_shl_load = yes; then
19656 cat >>confdefs.h
<<\_ACEOF
19657 #define HAVE_SHL_LOAD 1
19661 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19662 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19663 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19664 echo $ECHO_N "(cached) $ECHO_C" >&6
19666 ac_check_lib_save_LIBS
=$LIBS
19668 cat >conftest.
$ac_ext <<_ACEOF
19671 cat confdefs.h
>>conftest.
$ac_ext
19672 cat >>conftest.
$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19675 /* Override any gcc2 internal prototype to avoid an error. */
19679 /* We use char because int might match the return type of a gcc2
19680 builtin and then its argument prototype would still apply. */
19690 rm -f conftest.
$ac_objext conftest
$ac_exeext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19692 (eval $ac_link) 2>conftest.er1
19694 grep -v '^ *+' conftest.er1
>conftest.err
19696 cat conftest.err
>&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } &&
19699 { ac_try
='test -z "$ac_c_werror_flag"
19700 || test ! -s conftest.err'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; } &&
19706 { ac_try
='test -s conftest$ac_exeext'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19712 ac_cv_lib_dld_shl_load
=yes
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.
$ac_ext >&5
19717 ac_cv_lib_dld_shl_load
=no
19719 rm -f conftest.err conftest.
$ac_objext \
19720 conftest
$ac_exeext conftest.
$ac_ext
19721 LIBS
=$ac_check_lib_save_LIBS
19723 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19724 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19725 if test $ac_cv_lib_dld_shl_load = yes; then
19727 cat >>confdefs.h
<<\_ACEOF
19728 #define HAVE_SHL_LOAD 1
19731 LIBADD_DL
="$LIBADD_DL -ldld"
19733 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19734 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19735 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19738 ac_check_lib_save_LIBS
=$LIBS
19740 cat >conftest.
$ac_ext <<_ACEOF
19743 cat confdefs.h
>>conftest.
$ac_ext
19744 cat >>conftest.
$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19747 /* Override any gcc2 internal prototype to avoid an error. */
19751 /* We use char because int might match the return type of a gcc2
19752 builtin and then its argument prototype would still apply. */
19762 rm -f conftest.
$ac_objext conftest
$ac_exeext
19763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19764 (eval $ac_link) 2>conftest.er1
19766 grep -v '^ *+' conftest.er1
>conftest.err
19768 cat conftest.err
>&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); } &&
19771 { ac_try
='test -z "$ac_c_werror_flag"
19772 || test ! -s conftest.err'
19773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19774 (eval $ac_try) 2>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; } &&
19778 { ac_try
='test -s conftest$ac_exeext'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; }; then
19784 ac_cv_lib_dl_dlopen
=yes
19786 echo "$as_me: failed program was:" >&5
19787 sed 's/^/| /' conftest.
$ac_ext >&5
19789 ac_cv_lib_dl_dlopen
=no
19791 rm -f conftest.err conftest.
$ac_objext \
19792 conftest
$ac_exeext conftest.
$ac_ext
19793 LIBS
=$ac_check_lib_save_LIBS
19795 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19796 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19797 if test $ac_cv_lib_dl_dlopen = yes; then
19799 cat >>confdefs.h
<<\_ACEOF
19800 #define HAVE_LIBDL 1
19803 LIBADD_DL
="-ldl" libltdl_cv_lib_dl_dlopen
="yes"
19805 cat >conftest.
$ac_ext <<_ACEOF
19808 cat confdefs.h
>>conftest.
$ac_ext
19809 cat >>conftest.
$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19812 # include <dlfcn.h>
19823 rm -f conftest.
$ac_objext conftest
$ac_exeext
19824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19825 (eval $ac_link) 2>conftest.er1
19827 grep -v '^ *+' conftest.er1
>conftest.err
19829 cat conftest.err
>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try
='test -z "$ac_c_werror_flag"
19833 || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try
='test -s conftest$ac_exeext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19846 cat >>confdefs.h
<<\_ACEOF
19847 #define HAVE_LIBDL 1
19849 libltdl_cv_func_dlopen
="yes"
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.
$ac_ext >&5
19854 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19855 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19856 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19857 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 ac_check_lib_save_LIBS
=$LIBS
19860 LIBS
="-lsvld $LIBS"
19861 cat >conftest.
$ac_ext <<_ACEOF
19864 cat confdefs.h
>>conftest.
$ac_ext
19865 cat >>conftest.
$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19868 /* Override any gcc2 internal prototype to avoid an error. */
19872 /* We use char because int might match the return type of a gcc2
19873 builtin and then its argument prototype would still apply. */
19883 rm -f conftest.
$ac_objext conftest
$ac_exeext
19884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19885 (eval $ac_link) 2>conftest.er1
19887 grep -v '^ *+' conftest.er1
>conftest.err
19889 cat conftest.err
>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); } &&
19892 { ac_try
='test -z "$ac_c_werror_flag"
19893 || test ! -s conftest.err'
19894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895 (eval $ac_try) 2>&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; } &&
19899 { ac_try
='test -s conftest$ac_exeext'
19900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19901 (eval $ac_try) 2>&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); }; }; then
19905 ac_cv_lib_svld_dlopen
=yes
19907 echo "$as_me: failed program was:" >&5
19908 sed 's/^/| /' conftest.
$ac_ext >&5
19910 ac_cv_lib_svld_dlopen
=no
19912 rm -f conftest.err conftest.
$ac_objext \
19913 conftest
$ac_exeext conftest.
$ac_ext
19914 LIBS
=$ac_check_lib_save_LIBS
19916 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19917 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19918 if test $ac_cv_lib_svld_dlopen = yes; then
19920 cat >>confdefs.h
<<\_ACEOF
19921 #define HAVE_LIBDL 1
19924 LIBADD_DL
="-lsvld" libltdl_cv_func_dlopen
="yes"
19926 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19927 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19928 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19931 ac_check_lib_save_LIBS
=$LIBS
19933 cat >conftest.
$ac_ext <<_ACEOF
19936 cat confdefs.h
>>conftest.
$ac_ext
19937 cat >>conftest.
$ac_ext <<_ACEOF
19938 /* end confdefs.h. */
19940 /* Override any gcc2 internal prototype to avoid an error. */
19944 /* We use char because int might match the return type of a gcc2
19945 builtin and then its argument prototype would still apply. */
19955 rm -f conftest.
$ac_objext conftest
$ac_exeext
19956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19957 (eval $ac_link) 2>conftest.er1
19959 grep -v '^ *+' conftest.er1
>conftest.err
19961 cat conftest.err
>&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } &&
19964 { ac_try
='test -z "$ac_c_werror_flag"
19965 || test ! -s conftest.err'
19966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19967 (eval $ac_try) 2>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); }; } &&
19971 { ac_try
='test -s conftest$ac_exeext'
19972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19973 (eval $ac_try) 2>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); }; }; then
19977 ac_cv_lib_dld_dld_link
=yes
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.
$ac_ext >&5
19982 ac_cv_lib_dld_dld_link
=no
19984 rm -f conftest.err conftest.
$ac_objext \
19985 conftest
$ac_exeext conftest.
$ac_ext
19986 LIBS
=$ac_check_lib_save_LIBS
19988 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19989 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19990 if test $ac_cv_lib_dld_dld_link = yes; then
19992 cat >>confdefs.h
<<\_ACEOF
19996 LIBADD_DL
="$LIBADD_DL -ldld"
19998 echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
19999 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
20000 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 cat >conftest.
$ac_ext <<_ACEOF
20006 cat confdefs.h
>>conftest.
$ac_ext
20007 cat >>conftest.
$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20009 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
20010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20011 #define _dyld_func_lookup innocuous__dyld_func_lookup
20013 /* System header to define __stub macros and hopefully few prototypes,
20014 which can conflict with char _dyld_func_lookup (); below.
20015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20016 <limits.h> exists even on freestanding compilers. */
20019 # include <limits.h>
20021 # include <assert.h>
20024 #undef _dyld_func_lookup
20026 /* Override any gcc2 internal prototype to avoid an error. */
20031 /* We use char because int might match the return type of a gcc2
20032 builtin and then its argument prototype would still apply. */
20033 char _dyld_func_lookup ();
20034 /* The GNU C library defines this for functions which it implements
20035 to always fail with ENOSYS. Some functions are actually named
20036 something starting with __ and the normal name is an alias. */
20037 #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
20040 char (*f) () = _dyld_func_lookup;
20049 return f != _dyld_func_lookup;
20054 rm -f conftest.
$ac_objext conftest
$ac_exeext
20055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20056 (eval $ac_link) 2>conftest.er1
20058 grep -v '^ *+' conftest.er1
>conftest.err
20060 cat conftest.err
>&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); } &&
20063 { ac_try
='test -z "$ac_c_werror_flag"
20064 || test ! -s conftest.err'
20065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20066 (eval $ac_try) 2>&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); }; } &&
20070 { ac_try
='test -s conftest$ac_exeext'
20071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20072 (eval $ac_try) 2>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; }; then
20076 ac_cv_func__dyld_func_lookup
=yes
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.
$ac_ext >&5
20081 ac_cv_func__dyld_func_lookup
=no
20083 rm -f conftest.err conftest.
$ac_objext \
20084 conftest
$ac_exeext conftest.
$ac_ext
20086 echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
20087 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
20088 if test $ac_cv_func__dyld_func_lookup = yes; then
20090 cat >>confdefs.h
<<\_ACEOF
20091 #define HAVE_DYLD 1
20104 rm -f conftest.err conftest.
$ac_objext \
20105 conftest
$ac_exeext conftest.
$ac_ext
20116 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
20118 lt_save_LIBS
="$LIBS"
20119 LIBS
="$LIBS $LIBADD_DL"
20121 for ac_func
in dlerror
20123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20124 echo "$as_me:$LINENO: checking for $ac_func" >&5
20125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20126 if eval "test \"\${$as_ac_var+set}\" = set"; then
20127 echo $ECHO_N "(cached) $ECHO_C" >&6
20129 cat >conftest.
$ac_ext <<_ACEOF
20132 cat confdefs.h
>>conftest.
$ac_ext
20133 cat >>conftest.
$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20137 #define $ac_func innocuous_$ac_func
20139 /* System header to define __stub macros and hopefully few prototypes,
20140 which can conflict with char $ac_func (); below.
20141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20142 <limits.h> exists even on freestanding compilers. */
20145 # include <limits.h>
20147 # include <assert.h>
20152 /* Override any gcc2 internal prototype to avoid an error. */
20157 /* We use char because int might match the return type of a gcc2
20158 builtin and then its argument prototype would still apply. */
20160 /* The GNU C library defines this for functions which it implements
20161 to always fail with ENOSYS. Some functions are actually named
20162 something starting with __ and the normal name is an alias. */
20163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20166 char (*f) () = $ac_func;
20175 return f != $ac_func;
20180 rm -f conftest.
$ac_objext conftest
$ac_exeext
20181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20182 (eval $ac_link) 2>conftest.er1
20184 grep -v '^ *+' conftest.er1
>conftest.err
20186 cat conftest.err
>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); } &&
20189 { ac_try
='test -z "$ac_c_werror_flag"
20190 || test ! -s conftest.err'
20191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20192 (eval $ac_try) 2>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); }; } &&
20196 { ac_try
='test -s conftest$ac_exeext'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; }; then
20202 eval "$as_ac_var=yes"
20204 echo "$as_me: failed program was:" >&5
20205 sed 's/^/| /' conftest.
$ac_ext >&5
20207 eval "$as_ac_var=no"
20209 rm -f conftest.err conftest.
$ac_objext \
20210 conftest
$ac_exeext conftest.
$ac_ext
20212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20214 if test `eval echo '${'$as_ac_var'}'` = yes; then
20215 cat >>confdefs.h
<<_ACEOF
20216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20222 LIBS
="$lt_save_LIBS"
20225 ac_cpp
='$CPP $CPPFLAGS'
20226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20232 echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
20233 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
20234 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
20235 echo $ECHO_N "(cached) $ECHO_C" >&6
20237 ac_cv_sys_symbol_underscore
=no
20238 cat > conftest.
$ac_ext <<EOF
20239 void nm_test_func(){}
20240 int main(){nm_test_func;return 0;}
20242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20243 (eval $ac_compile) 2>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); }; then
20247 # Now try to grab the symbols.
20248 ac_nlist
=conftest.nm
20249 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
20250 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); } && test -s "$ac_nlist"; then
20254 # See whether the symbols have a leading underscore.
20255 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
20256 ac_cv_sys_symbol_underscore
=yes
20258 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
20261 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
20265 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
20268 echo "configure: failed program was:" >&5
20274 echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
20275 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
20278 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
20279 if test x
"$libltdl_cv_func_dlopen" = xyes ||
20280 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
20281 echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
20282 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
20283 if test "${libltdl_cv_need_uscore+set}" = set; then
20284 echo $ECHO_N "(cached) $ECHO_C" >&6
20286 libltdl_cv_need_uscore
=unknown
20288 LIBS
="$LIBS $LIBADD_DL"
20289 if test "$cross_compiling" = yes; then :
20290 libltdl_cv_need_uscore
=cross
20292 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
20293 lt_status
=$lt_dlunknown
20294 cat > conftest.
$ac_ext <<EOF
20295 #line 20295 "configure"
20296 #include "confdefs.h"
20305 # define LT_DLGLOBAL RTLD_GLOBAL
20308 # define LT_DLGLOBAL DL_GLOBAL
20310 # define LT_DLGLOBAL 0
20314 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20315 find out it does not work in some platform. */
20316 #ifndef LT_DLLAZY_OR_NOW
20318 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20321 # define LT_DLLAZY_OR_NOW DL_LAZY
20324 # define LT_DLLAZY_OR_NOW RTLD_NOW
20327 # define LT_DLLAZY_OR_NOW DL_NOW
20329 # define LT_DLLAZY_OR_NOW 0
20337 extern "C" void exit (int);
20340 void fnord() { int i=42;}
20343 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20344 int status = $lt_dlunknown;
20348 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20349 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20350 /* dlclose (self); */
20358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20359 (eval $ac_link) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
20363 (.
/conftest
; exit; ) >&5 2>/dev
/null
20365 case x
$lt_status in
20366 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
20367 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
20368 x
$lt_dlunknown|x
*) ;;
20371 # compilation failed
20380 echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
20381 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
20385 if test x
"$libltdl_cv_need_uscore" = xyes
; then
20387 cat >>confdefs.h
<<\_ACEOF
20388 #define NEED_USCORE 1
20394 echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
20395 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
20396 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
20397 echo $ECHO_N "(cached) $ECHO_C" >&6
20399 # PORTME does your system automatically load deplibs for dlopen?
20400 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
20401 # For now, we just catch OSes we know something about -- in the
20402 # future, we'll try test this programmatically.
20403 libltdl_cv_sys_dlopen_deplibs
=unknown
20405 aix3
*|aix4.1.
*|aix4.2.
*)
20406 # Unknown whether this is true for these versions of AIX, but
20407 # we want this `case' here to explicitly catch those versions.
20408 libltdl_cv_sys_dlopen_deplibs
=unknown
20411 libltdl_cv_sys_dlopen_deplibs
=yes
20414 # Assuming the user has installed a libdl from somewhere, this is true
20415 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
20416 libltdl_cv_sys_dlopen_deplibs
=yes
20418 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
20419 # GNU and its variants, using gnu ld.so (Glibc)
20420 libltdl_cv_sys_dlopen_deplibs
=yes
20423 libltdl_cv_sys_dlopen_deplibs
=yes
20426 libltdl_cv_sys_dlopen_deplibs
=yes
20428 irix
[12345]*|irix6.
[01]*)
20429 # Catch all versions of IRIX before 6.2, and indicate that we don't
20430 # know how it worked for any of those versions.
20431 libltdl_cv_sys_dlopen_deplibs
=unknown
20434 # The case above catches anything before 6.2, and it's known that
20435 # at 6.2 and later dlopen does load deplibs.
20436 libltdl_cv_sys_dlopen_deplibs
=yes
20439 libltdl_cv_sys_dlopen_deplibs
=yes
20442 libltdl_cv_sys_dlopen_deplibs
=yes
20445 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
20446 # it did *not* use an RPATH in a shared library to find objects the
20447 # library depends on, so we explictly say `no'.
20448 libltdl_cv_sys_dlopen_deplibs
=no
20450 osf5.0|osf5.0a|osf5.1
)
20451 # dlopen *does* load deplibs and with the right loader patch applied
20452 # it even uses RPATH in a shared library to search for shared objects
20453 # that the library depends on, but there's no easy way to know if that
20454 # patch is installed. Since this is the case, all we can really
20455 # say is unknown -- it depends on the patch being installed. If
20456 # it is, this changes to `yes'. Without it, it would be `no'.
20457 libltdl_cv_sys_dlopen_deplibs
=unknown
20460 # the two cases above should catch all versions of osf <= 5.1. Read
20461 # the comments above for what we know about them.
20462 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
20463 # is used to find them so we can finally say `yes'.
20464 libltdl_cv_sys_dlopen_deplibs
=yes
20467 libltdl_cv_sys_dlopen_deplibs
=yes
20469 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20470 libltdl_cv_sys_dlopen_deplibs
=yes
20475 echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
20476 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6
20477 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
20479 cat >>confdefs.h
<<\_ACEOF
20480 #define LTDL_DLOPEN_DEPLIBS 1
20486 for ac_header
in argz.h
20488 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20490 echo "$as_me:$LINENO: checking for $ac_header" >&5
20491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20493 echo $ECHO_N "(cached) $ECHO_C" >&6
20495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20498 # Is the header compilable?
20499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20501 cat >conftest.
$ac_ext <<_ACEOF
20504 cat confdefs.h
>>conftest.
$ac_ext
20505 cat >>conftest.
$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20507 $ac_includes_default
20508 #include <$ac_header>
20510 rm -f conftest.
$ac_objext
20511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20512 (eval $ac_compile) 2>conftest.er1
20514 grep -v '^ *+' conftest.er1
>conftest.err
20516 cat conftest.err
>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } &&
20519 { ac_try
='test -z "$ac_c_werror_flag"
20520 || test ! -s conftest.err'
20521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20522 (eval $ac_try) 2>&5
20524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20525 (exit $ac_status); }; } &&
20526 { ac_try
='test -s conftest.$ac_objext'
20527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20528 (eval $ac_try) 2>&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); }; }; then
20532 ac_header_compiler
=yes
20534 echo "$as_me: failed program was:" >&5
20535 sed 's/^/| /' conftest.
$ac_ext >&5
20537 ac_header_compiler
=no
20539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20541 echo "${ECHO_T}$ac_header_compiler" >&6
20543 # Is the header present?
20544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20546 cat >conftest.
$ac_ext <<_ACEOF
20549 cat confdefs.h
>>conftest.
$ac_ext
20550 cat >>conftest.
$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20552 #include <$ac_header>
20554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20557 grep -v '^ *+' conftest.er1
>conftest.err
20559 cat conftest.err
>&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } >/dev
/null
; then
20562 if test -s conftest.err
; then
20563 ac_cpp_err
=$ac_c_preproc_warn_flag
20564 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20571 if test -z "$ac_cpp_err"; then
20572 ac_header_preproc
=yes
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.
$ac_ext >&5
20577 ac_header_preproc
=no
20579 rm -f conftest.err conftest.
$ac_ext
20580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20581 echo "${ECHO_T}$ac_header_preproc" >&6
20583 # So? What about this header?
20584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20590 ac_header_preproc
=yes
20593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20607 ## ---------------------------------- ##
20608 ## Report this to bug-libtool@gnu.org ##
20609 ## ---------------------------------- ##
20612 sed "s/^/$as_me: WARNING: /" >&2
20615 echo "$as_me:$LINENO: checking for $ac_header" >&5
20616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20618 echo $ECHO_N "(cached) $ECHO_C" >&6
20620 eval "$as_ac_Header=\$ac_header_preproc"
20622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20627 cat >>confdefs.h
<<_ACEOF
20628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20636 echo "$as_me:$LINENO: checking for error_t" >&5
20637 echo $ECHO_N "checking for error_t... $ECHO_C" >&6
20638 if test "${ac_cv_type_error_t+set}" = set; then
20639 echo $ECHO_N "(cached) $ECHO_C" >&6
20641 cat >conftest.
$ac_ext <<_ACEOF
20644 cat confdefs.h
>>conftest.
$ac_ext
20645 cat >>conftest.
$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20656 if (sizeof (error_t))
20662 rm -f conftest.
$ac_objext
20663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20664 (eval $ac_compile) 2>conftest.er1
20666 grep -v '^ *+' conftest.er1
>conftest.err
20668 cat conftest.err
>&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); } &&
20671 { ac_try
='test -z "$ac_c_werror_flag"
20672 || test ! -s conftest.err'
20673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20674 (eval $ac_try) 2>&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); }; } &&
20678 { ac_try
='test -s conftest.$ac_objext'
20679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20680 (eval $ac_try) 2>&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); }; }; then
20684 ac_cv_type_error_t
=yes
20686 echo "$as_me: failed program was:" >&5
20687 sed 's/^/| /' conftest.
$ac_ext >&5
20689 ac_cv_type_error_t
=no
20691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20693 echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
20694 echo "${ECHO_T}$ac_cv_type_error_t" >&6
20695 if test $ac_cv_type_error_t = yes; then
20697 cat >>confdefs.h
<<_ACEOF
20698 #define HAVE_ERROR_T 1
20704 cat >>confdefs.h
<<\_ACEOF
20705 #define error_t int
20716 for ac_func
in argz_append argz_create_sep argz_insert argz_next argz_stringify
20718 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20719 echo "$as_me:$LINENO: checking for $ac_func" >&5
20720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20721 if eval "test \"\${$as_ac_var+set}\" = set"; then
20722 echo $ECHO_N "(cached) $ECHO_C" >&6
20724 cat >conftest.
$ac_ext <<_ACEOF
20727 cat confdefs.h
>>conftest.
$ac_ext
20728 cat >>conftest.
$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20732 #define $ac_func innocuous_$ac_func
20734 /* System header to define __stub macros and hopefully few prototypes,
20735 which can conflict with char $ac_func (); below.
20736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20737 <limits.h> exists even on freestanding compilers. */
20740 # include <limits.h>
20742 # include <assert.h>
20747 /* Override any gcc2 internal prototype to avoid an error. */
20752 /* We use char because int might match the return type of a gcc2
20753 builtin and then its argument prototype would still apply. */
20755 /* The GNU C library defines this for functions which it implements
20756 to always fail with ENOSYS. Some functions are actually named
20757 something starting with __ and the normal name is an alias. */
20758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20761 char (*f) () = $ac_func;
20770 return f != $ac_func;
20775 rm -f conftest.
$ac_objext conftest
$ac_exeext
20776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20777 (eval $ac_link) 2>conftest.er1
20779 grep -v '^ *+' conftest.er1
>conftest.err
20781 cat conftest.err
>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); } &&
20784 { ac_try
='test -z "$ac_c_werror_flag"
20785 || test ! -s conftest.err'
20786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20787 (eval $ac_try) 2>&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); }; } &&
20791 { ac_try
='test -s conftest$ac_exeext'
20792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793 (eval $ac_try) 2>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; }; then
20797 eval "$as_ac_var=yes"
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.
$ac_ext >&5
20802 eval "$as_ac_var=no"
20804 rm -f conftest.err conftest.
$ac_objext \
20805 conftest
$ac_exeext conftest.
$ac_ext
20807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20809 if test `eval echo '${'$as_ac_var'}'` = yes; then
20810 cat >>confdefs.h
<<_ACEOF
20811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20844 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
20847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20849 echo "$as_me:$LINENO: checking for $ac_header" >&5
20850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20852 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20857 # Is the header compilable?
20858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20860 cat >conftest.
$ac_ext <<_ACEOF
20863 cat confdefs.h
>>conftest.
$ac_ext
20864 cat >>conftest.
$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 $ac_includes_default
20867 #include <$ac_header>
20869 rm -f conftest.
$ac_objext
20870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20871 (eval $ac_compile) 2>conftest.er1
20873 grep -v '^ *+' conftest.er1
>conftest.err
20875 cat conftest.err
>&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } &&
20878 { ac_try
='test -z "$ac_c_werror_flag"
20879 || test ! -s conftest.err'
20880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20881 (eval $ac_try) 2>&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); }; } &&
20885 { ac_try
='test -s conftest.$ac_objext'
20886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887 (eval $ac_try) 2>&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; }; then
20891 ac_header_compiler
=yes
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.
$ac_ext >&5
20896 ac_header_compiler
=no
20898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20900 echo "${ECHO_T}$ac_header_compiler" >&6
20902 # Is the header present?
20903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20905 cat >conftest.
$ac_ext <<_ACEOF
20908 cat confdefs.h
>>conftest.
$ac_ext
20909 cat >>conftest.
$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 #include <$ac_header>
20913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20914 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20916 grep -v '^ *+' conftest.er1
>conftest.err
20918 cat conftest.err
>&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } >/dev
/null
; then
20921 if test -s conftest.err
; then
20922 ac_cpp_err
=$ac_c_preproc_warn_flag
20923 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20930 if test -z "$ac_cpp_err"; then
20931 ac_header_preproc
=yes
20933 echo "$as_me: failed program was:" >&5
20934 sed 's/^/| /' conftest.
$ac_ext >&5
20936 ac_header_preproc
=no
20938 rm -f conftest.err conftest.
$ac_ext
20939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20940 echo "${ECHO_T}$ac_header_preproc" >&6
20942 # So? What about this header?
20943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20949 ac_header_preproc
=yes
20952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20966 ## ---------------------------------- ##
20967 ## Report this to bug-libtool@gnu.org ##
20968 ## ---------------------------------- ##
20971 sed "s/^/$as_me: WARNING: /" >&2
20974 echo "$as_me:$LINENO: checking for $ac_header" >&5
20975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20977 echo $ECHO_N "(cached) $ECHO_C" >&6
20979 eval "$as_ac_Header=\$ac_header_preproc"
20981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20986 cat >>confdefs.h
<<_ACEOF
20987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20998 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
21000 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21002 echo "$as_me:$LINENO: checking for $ac_header" >&5
21003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21005 echo $ECHO_N "(cached) $ECHO_C" >&6
21007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21010 # Is the header compilable?
21011 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21012 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21013 cat >conftest.
$ac_ext <<_ACEOF
21016 cat confdefs.h
>>conftest.
$ac_ext
21017 cat >>conftest.
$ac_ext <<_ACEOF
21018 /* end confdefs.h. */
21019 $ac_includes_default
21020 #include <$ac_header>
21022 rm -f conftest.
$ac_objext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21024 (eval $ac_compile) 2>conftest.er1
21026 grep -v '^ *+' conftest.er1
>conftest.err
21028 cat conftest.err
>&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); } &&
21031 { ac_try
='test -z "$ac_c_werror_flag"
21032 || test ! -s conftest.err'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; } &&
21038 { ac_try
='test -s conftest.$ac_objext'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21044 ac_header_compiler
=yes
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.
$ac_ext >&5
21049 ac_header_compiler
=no
21051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21053 echo "${ECHO_T}$ac_header_compiler" >&6
21055 # Is the header present?
21056 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21057 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21058 cat >conftest.
$ac_ext <<_ACEOF
21061 cat confdefs.h
>>conftest.
$ac_ext
21062 cat >>conftest.
$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21064 #include <$ac_header>
21066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21067 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21069 grep -v '^ *+' conftest.er1
>conftest.err
21071 cat conftest.err
>&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } >/dev
/null
; then
21074 if test -s conftest.err
; then
21075 ac_cpp_err
=$ac_c_preproc_warn_flag
21076 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21083 if test -z "$ac_cpp_err"; then
21084 ac_header_preproc
=yes
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.
$ac_ext >&5
21089 ac_header_preproc
=no
21091 rm -f conftest.err conftest.
$ac_ext
21092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21093 echo "${ECHO_T}$ac_header_preproc" >&6
21095 # So? What about this header?
21096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21098 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21099 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21101 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21102 ac_header_preproc
=yes
21105 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21106 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21107 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21108 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21109 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21110 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21111 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21112 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21115 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21116 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21119 ## ---------------------------------- ##
21120 ## Report this to bug-libtool@gnu.org ##
21121 ## ---------------------------------- ##
21124 sed "s/^/$as_me: WARNING: /" >&2
21127 echo "$as_me:$LINENO: checking for $ac_header" >&5
21128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21130 echo $ECHO_N "(cached) $ECHO_C" >&6
21132 eval "$as_ac_Header=\$ac_header_preproc"
21134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21138 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21139 cat >>confdefs.h
<<_ACEOF
21140 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21149 for ac_header
in string.h
strings.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"
21183 || test ! -s conftest.err'
21184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21185 (eval $ac_try) 2>&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); }; } &&
21189 { ac_try
='test -s conftest.$ac_objext'
21190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21191 (eval $ac_try) 2>&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); }; }; then
21195 ac_header_compiler
=yes
21197 echo "$as_me: failed program was:" >&5
21198 sed 's/^/| /' conftest.
$ac_ext >&5
21200 ac_header_compiler
=no
21202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21203 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21204 echo "${ECHO_T}$ac_header_compiler" >&6
21206 # Is the header present?
21207 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21208 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21209 cat >conftest.
$ac_ext <<_ACEOF
21212 cat confdefs.h
>>conftest.
$ac_ext
21213 cat >>conftest.
$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 #include <$ac_header>
21217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21218 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21220 grep -v '^ *+' conftest.er1
>conftest.err
21222 cat conftest.err
>&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); } >/dev
/null
; then
21225 if test -s conftest.err
; then
21226 ac_cpp_err
=$ac_c_preproc_warn_flag
21227 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21234 if test -z "$ac_cpp_err"; then
21235 ac_header_preproc
=yes
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.
$ac_ext >&5
21240 ac_header_preproc
=no
21242 rm -f conftest.err conftest.
$ac_ext
21243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21244 echo "${ECHO_T}$ac_header_preproc" >&6
21246 # So? What about this header?
21247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21253 ac_header_preproc
=yes
21256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21260 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21262 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21263 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21266 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21270 ## ---------------------------------- ##
21271 ## Report this to bug-libtool@gnu.org ##
21272 ## ---------------------------------- ##
21275 sed "s/^/$as_me: WARNING: /" >&2
21278 echo "$as_me:$LINENO: checking for $ac_header" >&5
21279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 eval "$as_ac_Header=\$ac_header_preproc"
21285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21290 cat >>confdefs.h
<<_ACEOF
21291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21301 for ac_func
in strchr index
21303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21304 echo "$as_me:$LINENO: checking for $ac_func" >&5
21305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21306 if eval "test \"\${$as_ac_var+set}\" = set"; then
21307 echo $ECHO_N "(cached) $ECHO_C" >&6
21309 cat >conftest.
$ac_ext <<_ACEOF
21312 cat confdefs.h
>>conftest.
$ac_ext
21313 cat >>conftest.
$ac_ext <<_ACEOF
21314 /* end confdefs.h. */
21315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21317 #define $ac_func innocuous_$ac_func
21319 /* System header to define __stub macros and hopefully few prototypes,
21320 which can conflict with char $ac_func (); below.
21321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21322 <limits.h> exists even on freestanding compilers. */
21325 # include <limits.h>
21327 # include <assert.h>
21332 /* Override any gcc2 internal prototype to avoid an error. */
21337 /* We use char because int might match the return type of a gcc2
21338 builtin and then its argument prototype would still apply. */
21340 /* The GNU C library defines this for functions which it implements
21341 to always fail with ENOSYS. Some functions are actually named
21342 something starting with __ and the normal name is an alias. */
21343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21346 char (*f) () = $ac_func;
21355 return f != $ac_func;
21360 rm -f conftest.
$ac_objext conftest
$ac_exeext
21361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21362 (eval $ac_link) 2>conftest.er1
21364 grep -v '^ *+' conftest.er1
>conftest.err
21366 cat conftest.err
>&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); } &&
21369 { ac_try
='test -z "$ac_c_werror_flag"
21370 || test ! -s conftest.err'
21371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21372 (eval $ac_try) 2>&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; } &&
21376 { ac_try
='test -s conftest$ac_exeext'
21377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21378 (eval $ac_try) 2>&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; }; then
21382 eval "$as_ac_var=yes"
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.
$ac_ext >&5
21387 eval "$as_ac_var=no"
21389 rm -f conftest.err conftest.
$ac_objext \
21390 conftest
$ac_exeext conftest.
$ac_ext
21392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21394 if test `eval echo '${'$as_ac_var'}'` = yes; then
21395 cat >>confdefs.h
<<_ACEOF
21396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21404 for ac_func
in strrchr rindex
21406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21407 echo "$as_me:$LINENO: checking for $ac_func" >&5
21408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21409 if eval "test \"\${$as_ac_var+set}\" = set"; then
21410 echo $ECHO_N "(cached) $ECHO_C" >&6
21412 cat >conftest.
$ac_ext <<_ACEOF
21415 cat confdefs.h
>>conftest.
$ac_ext
21416 cat >>conftest.
$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21420 #define $ac_func innocuous_$ac_func
21422 /* System header to define __stub macros and hopefully few prototypes,
21423 which can conflict with char $ac_func (); below.
21424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21425 <limits.h> exists even on freestanding compilers. */
21428 # include <limits.h>
21430 # include <assert.h>
21435 /* Override any gcc2 internal prototype to avoid an error. */
21440 /* We use char because int might match the return type of a gcc2
21441 builtin and then its argument prototype would still apply. */
21443 /* The GNU C library defines this for functions which it implements
21444 to always fail with ENOSYS. Some functions are actually named
21445 something starting with __ and the normal name is an alias. */
21446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21449 char (*f) () = $ac_func;
21458 return f != $ac_func;
21463 rm -f conftest.
$ac_objext conftest
$ac_exeext
21464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21465 (eval $ac_link) 2>conftest.er1
21467 grep -v '^ *+' conftest.er1
>conftest.err
21469 cat conftest.err
>&5
21470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471 (exit $ac_status); } &&
21472 { ac_try
='test -z "$ac_c_werror_flag"
21473 || test ! -s conftest.err'
21474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 (eval $ac_try) 2>&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; } &&
21479 { ac_try
='test -s conftest$ac_exeext'
21480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21481 (eval $ac_try) 2>&5
21483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484 (exit $ac_status); }; }; then
21485 eval "$as_ac_var=yes"
21487 echo "$as_me: failed program was:" >&5
21488 sed 's/^/| /' conftest.
$ac_ext >&5
21490 eval "$as_ac_var=no"
21492 rm -f conftest.err conftest.
$ac_objext \
21493 conftest
$ac_exeext conftest.
$ac_ext
21495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21497 if test `eval echo '${'$as_ac_var'}'` = yes; then
21498 cat >>confdefs.h
<<_ACEOF
21499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21507 for ac_func
in memcpy bcopy
21509 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21510 echo "$as_me:$LINENO: checking for $ac_func" >&5
21511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21512 if eval "test \"\${$as_ac_var+set}\" = set"; then
21513 echo $ECHO_N "(cached) $ECHO_C" >&6
21515 cat >conftest.
$ac_ext <<_ACEOF
21518 cat confdefs.h
>>conftest.
$ac_ext
21519 cat >>conftest.
$ac_ext <<_ACEOF
21520 /* end confdefs.h. */
21521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21523 #define $ac_func innocuous_$ac_func
21525 /* System header to define __stub macros and hopefully few prototypes,
21526 which can conflict with char $ac_func (); below.
21527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21528 <limits.h> exists even on freestanding compilers. */
21531 # include <limits.h>
21533 # include <assert.h>
21538 /* Override any gcc2 internal prototype to avoid an error. */
21543 /* We use char because int might match the return type of a gcc2
21544 builtin and then its argument prototype would still apply. */
21546 /* The GNU C library defines this for functions which it implements
21547 to always fail with ENOSYS. Some functions are actually named
21548 something starting with __ and the normal name is an alias. */
21549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21552 char (*f) () = $ac_func;
21561 return f != $ac_func;
21566 rm -f conftest.
$ac_objext conftest
$ac_exeext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21568 (eval $ac_link) 2>conftest.er1
21570 grep -v '^ *+' conftest.er1
>conftest.err
21572 cat conftest.err
>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } &&
21575 { ac_try
='test -z "$ac_c_werror_flag"
21576 || test ! -s conftest.err'
21577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21578 (eval $ac_try) 2>&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); }; } &&
21582 { ac_try
='test -s conftest$ac_exeext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 eval "$as_ac_var=yes"
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.
$ac_ext >&5
21593 eval "$as_ac_var=no"
21595 rm -f conftest.err conftest.
$ac_objext \
21596 conftest
$ac_exeext conftest.
$ac_ext
21598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21600 if test `eval echo '${'$as_ac_var'}'` = yes; then
21601 cat >>confdefs.h
<<_ACEOF
21602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21610 for ac_func
in memmove strcmp
21612 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21613 echo "$as_me:$LINENO: checking for $ac_func" >&5
21614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21615 if eval "test \"\${$as_ac_var+set}\" = set"; then
21616 echo $ECHO_N "(cached) $ECHO_C" >&6
21618 cat >conftest.
$ac_ext <<_ACEOF
21621 cat confdefs.h
>>conftest.
$ac_ext
21622 cat >>conftest.
$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21626 #define $ac_func innocuous_$ac_func
21628 /* System header to define __stub macros and hopefully few prototypes,
21629 which can conflict with char $ac_func (); below.
21630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21631 <limits.h> exists even on freestanding compilers. */
21634 # include <limits.h>
21636 # include <assert.h>
21641 /* Override any gcc2 internal prototype to avoid an error. */
21646 /* We use char because int might match the return type of a gcc2
21647 builtin and then its argument prototype would still apply. */
21649 /* The GNU C library defines this for functions which it implements
21650 to always fail with ENOSYS. Some functions are actually named
21651 something starting with __ and the normal name is an alias. */
21652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21655 char (*f) () = $ac_func;
21664 return f != $ac_func;
21669 rm -f conftest.
$ac_objext conftest
$ac_exeext
21670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21671 (eval $ac_link) 2>conftest.er1
21673 grep -v '^ *+' conftest.er1
>conftest.err
21675 cat conftest.err
>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); } &&
21678 { ac_try
='test -z "$ac_c_werror_flag"
21679 || test ! -s conftest.err'
21680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21681 (eval $ac_try) 2>&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); }; } &&
21685 { ac_try
='test -s conftest$ac_exeext'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; }; then
21691 eval "$as_ac_var=yes"
21693 echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.
$ac_ext >&5
21696 eval "$as_ac_var=no"
21698 rm -f conftest.err conftest.
$ac_objext \
21699 conftest
$ac_exeext conftest.
$ac_ext
21701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21703 if test `eval echo '${'$as_ac_var'}'` = yes; then
21704 cat >>confdefs.h
<<_ACEOF
21705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21714 for ac_func
in closedir opendir readdir
21716 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21717 echo "$as_me:$LINENO: checking for $ac_func" >&5
21718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21719 if eval "test \"\${$as_ac_var+set}\" = set"; then
21720 echo $ECHO_N "(cached) $ECHO_C" >&6
21722 cat >conftest.
$ac_ext <<_ACEOF
21725 cat confdefs.h
>>conftest.
$ac_ext
21726 cat >>conftest.
$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21730 #define $ac_func innocuous_$ac_func
21732 /* System header to define __stub macros and hopefully few prototypes,
21733 which can conflict with char $ac_func (); below.
21734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21735 <limits.h> exists even on freestanding compilers. */
21738 # include <limits.h>
21740 # include <assert.h>
21745 /* Override any gcc2 internal prototype to avoid an error. */
21750 /* We use char because int might match the return type of a gcc2
21751 builtin and then its argument prototype would still apply. */
21753 /* The GNU C library defines this for functions which it implements
21754 to always fail with ENOSYS. Some functions are actually named
21755 something starting with __ and the normal name is an alias. */
21756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21759 char (*f) () = $ac_func;
21768 return f != $ac_func;
21773 rm -f conftest.
$ac_objext conftest
$ac_exeext
21774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21775 (eval $ac_link) 2>conftest.er1
21777 grep -v '^ *+' conftest.er1
>conftest.err
21779 cat conftest.err
>&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); } &&
21782 { ac_try
='test -z "$ac_c_werror_flag"
21783 || test ! -s conftest.err'
21784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 (eval $ac_try) 2>&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; } &&
21789 { ac_try
='test -s conftest$ac_exeext'
21790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21791 (eval $ac_try) 2>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; }; then
21795 eval "$as_ac_var=yes"
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.
$ac_ext >&5
21800 eval "$as_ac_var=no"
21802 rm -f conftest.err conftest.
$ac_objext \
21803 conftest
$ac_exeext conftest.
$ac_ext
21805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21807 if test `eval echo '${'$as_ac_var'}'` = yes; then
21808 cat >>confdefs.h
<<_ACEOF
21809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21821 ac_config_files
="$ac_config_files Makefile"
21823 cat >confcache
<<\_ACEOF
21824 # This file is a shell script that caches the results of configure
21825 # tests run on this system so they can be shared between configure
21826 # scripts and configure runs, see configure's option --config-cache.
21827 # It is not useful on other systems. If it contains results you don't
21828 # want to keep, you may remove or edit it.
21830 # config.status only pays attention to the cache file if you give it
21831 # the --recheck option to rerun configure.
21833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21835 # following values.
21839 # The following way of writing the cache mishandles newlines in values,
21840 # but we know of no workaround that is simple, portable, and efficient.
21841 # So, don't put newlines in cache variables' values.
21842 # Ultrix sh set writes to stderr and can't be redirected directly,
21843 # and sets the high bit in the cache file unless we assign to the vars.
21846 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21848 # `set' does not quote correctly, so add quotes (double-quote
21849 # substitution turns \\\\ into \\, and sed turns \\ into \).
21852 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21855 # `set' quotes correctly as required by POSIX, so do not add quotes.
21857 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21864 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21866 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21868 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21869 if test -w $cache_file; then
21870 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21871 cat confcache
>$cache_file
21873 echo "not updating unwritable cache $cache_file"
21878 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21879 # Let make expand exec_prefix.
21880 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21882 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21883 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21884 # trailing colons and then remove the whole line if VPATH becomes empty
21885 # (actually we leave an empty line to preserve line numbers).
21886 if test "x$srcdir" = x.
; then
21887 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21888 s/:*\$(srcdir):*/:/;
21889 s/:*\${srcdir}:*/:/;
21891 s/^\([^=]*=[ ]*\):*/\1/;
21897 DEFS
=-DHAVE_CONFIG_H
21901 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21902 # 1. Remove the extension, and $U if already installed.
21903 ac_i
=`echo "$ac_i" |
21904 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21906 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
21907 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
21909 LIBOBJS
=$ac_libobjs
21911 LTLIBOBJS
=$ac_ltlibobjs
21914 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21915 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21916 Usually this means the macro was only invoked conditionally." >&5
21917 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21918 Usually this means the macro was only invoked conditionally." >&2;}
21919 { (exit 1); exit 1; }; }
21921 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21922 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21923 Usually this means the macro was only invoked conditionally." >&5
21924 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21925 Usually this means the macro was only invoked conditionally." >&2;}
21926 { (exit 1); exit 1; }; }
21928 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21929 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21930 Usually this means the macro was only invoked conditionally." >&5
21931 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21932 Usually this means the macro was only invoked conditionally." >&2;}
21933 { (exit 1); exit 1; }; }
21935 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
21936 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
21937 Usually this means the macro was only invoked conditionally." >&5
21938 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
21939 Usually this means the macro was only invoked conditionally." >&2;}
21940 { (exit 1); exit 1; }; }
21942 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
21943 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21944 Usually this means the macro was only invoked conditionally." >&5
21945 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21946 Usually this means the macro was only invoked conditionally." >&2;}
21947 { (exit 1); exit 1; }; }
21950 : ${CONFIG_STATUS=./config.status}
21951 ac_clean_files_save
=$ac_clean_files
21952 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21953 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21954 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21955 cat >$CONFIG_STATUS <<_ACEOF
21957 # Generated by $as_me.
21958 # Run this file to recreate the current configuration.
21959 # Compiler output produced by configure, useful for debugging
21960 # configure, is in config.log if it exists.
21963 ac_cs_recheck=false
21965 SHELL=\${CONFIG_SHELL-$SHELL}
21968 cat >>$CONFIG_STATUS <<\_ACEOF
21969 ## --------------------- ##
21970 ## M4sh Initialization. ##
21971 ## --------------------- ##
21973 # Be Bourne compatible
21974 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21977 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21978 # is contrary to our usage. Disable this feature.
21979 alias -g '${1+"$@"}'='"$@"'
21980 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
21983 DUALCASE
=1; export DUALCASE
# for MKS sh
21985 # Support unset when possible.
21986 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21993 # Work around bugs in pre-3.0 UWIN ksh.
21994 $as_unset ENV MAIL MAILPATH
22001 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22002 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22003 LC_TELEPHONE LC_TIME
22005 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22006 eval $as_var=C
; export $as_var
22012 # Required to use basename.
22013 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22019 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22020 as_basename
=basename
22026 # Name of the executable.
22027 as_me
=`$as_basename "$0" ||
22028 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22029 X"$0" : 'X\(//\)$' \| \
22030 X"$0" : 'X\(/\)$' \| \
22031 . : '\(.\)' 2>/dev/null ||
22033 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22034 /^X\/\(\/\/\)$/{ s//\1/; q; }
22035 /^X\/\(\/\).*/{ s//\1/; q; }
22039 # PATH needs CR, and LINENO needs CR and PATH.
22040 # Avoid depending upon Character Ranges.
22041 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22042 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22043 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22044 as_cr_digits
='0123456789'
22045 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22047 # The user is always right.
22048 if test "${PATH_SEPARATOR+set}" != set; then
22049 echo "#! /bin/sh" >conf$$.sh
22050 echo "exit 0" >>conf$$.sh
22052 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22061 as_lineno_1
=$LINENO
22062 as_lineno_2
=$LINENO
22063 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22064 test "x$as_lineno_1" != "x$as_lineno_2" &&
22065 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22066 # Find who we are. Look in the path if we contain no path at all
22069 *[\\/]* ) as_myself
=$0 ;;
22070 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22071 for as_dir
in $PATH
22074 test -z "$as_dir" && as_dir
=.
22075 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22080 # We did not find ourselves, most probably we were run as `sh COMMAND'
22081 # in which case we are not to be found in the path.
22082 if test "x$as_myself" = x
; then
22085 if test ! -f "$as_myself"; then
22086 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22087 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22088 { (exit 1); exit 1; }; }
22090 case $CONFIG_SHELL in
22092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22093 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22096 test -z "$as_dir" && as_dir
=.
22097 for as_base
in sh bash ksh sh5
; do
22100 if ("$as_dir/$as_base" -c '
22101 as_lineno_1=$LINENO
22102 as_lineno_2=$LINENO
22103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22104 test "x$as_lineno_1" != "x$as_lineno_2" &&
22105 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22106 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22107 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22108 CONFIG_SHELL
=$as_dir/$as_base
22109 export CONFIG_SHELL
22110 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22118 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22119 # uniformly replaced by the line number. The first 'sed' inserts a
22120 # line-number line before each line; the second 'sed' does the real
22121 # work. The second script uses 'N' to pair each line-number line
22122 # with the numbered line, and appends trailing '-' during
22123 # substitution so that $LINENO is not a special case at line end.
22124 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22125 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22126 sed '=' <$as_myself |
22131 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22134 s,^['$as_cr_digits']*\n,,
22135 ' >$as_me.lineno
&&
22136 chmod +x
$as_me.lineno ||
22137 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22138 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22139 { (exit 1); exit 1; }; }
22141 # Don't try to exec as it changes $[0], causing all sort of problems
22142 # (the dirname of $[0] is not the place where we might find the
22143 # original and so on. Autoconf is especially sensible to this).
22145 # Exit status is that of the last command.
22150 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22151 *c
*,-n*) ECHO_N
= ECHO_C
='
22153 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22154 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22157 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22163 rm -f conf$$ conf$$.exe conf$$.
file
22165 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22166 # We could just check for DJGPP; but this test a) works b) is more generic
22167 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22168 if test -f conf$$.exe
; then
22169 # Don't use ln at all; we don't have any links
22174 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22179 rm -f conf$$ conf$$.exe conf$$.
file
22181 if mkdir
-p .
2>/dev
/null
; then
22184 test -d .
/-p && rmdir .
/-p
22188 as_executable_p
="test -f"
22190 # Sed expression to map a string onto a valid CPP name.
22191 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22193 # Sed expression to map a string onto a valid variable name.
22194 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22198 # We need space, tab and new line, in precisely that order.
22208 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22209 # report actual input values of CONFIG_FILES etc. instead of their
22210 # values after options handling. Logging --version etc. is OK.
22214 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22215 ## Running $as_me. ##
22220 This file was extended by libltdl $as_me 1.2, which was
22221 generated by GNU Autoconf 2.59. Invocation command line was
22223 CONFIG_FILES = $CONFIG_FILES
22224 CONFIG_HEADERS = $CONFIG_HEADERS
22225 CONFIG_LINKS = $CONFIG_LINKS
22226 CONFIG_COMMANDS = $CONFIG_COMMANDS
22230 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22234 # Files that config.status was made for.
22235 if test -n "$ac_config_files"; then
22236 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22239 if test -n "$ac_config_headers"; then
22240 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22243 if test -n "$ac_config_links"; then
22244 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22247 if test -n "$ac_config_commands"; then
22248 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22251 cat >>$CONFIG_STATUS <<\_ACEOF
22254 \`$as_me' instantiates files from templates according to the
22255 current configuration.
22257 Usage: $0 [OPTIONS] [FILE]...
22259 -h, --help print this help, then exit
22260 -V, --version print version number, then exit
22261 -q, --quiet do not print progress messages
22262 -d, --debug don't remove temporary files
22263 --recheck update $as_me by reconfiguring in the same conditions
22264 --file=FILE[:TEMPLATE]
22265 instantiate the configuration file FILE
22266 --header=FILE[:TEMPLATE]
22267 instantiate the configuration header FILE
22269 Configuration files:
22272 Configuration headers:
22275 Configuration commands:
22278 Report bugs to <bug-autoconf@gnu.org>."
22281 cat >>$CONFIG_STATUS <<_ACEOF
22283 libltdl config.status 1.2
22284 configured by $0, generated by GNU Autoconf 2.59,
22285 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22287 Copyright (C) 2003 Free Software Foundation, Inc.
22288 This config.status script is free software; the Free Software Foundation
22289 gives unlimited permission to copy, distribute and modify it."
22294 cat >>$CONFIG_STATUS <<\_ACEOF
22295 # If no file are specified by the user, then we need to provide default
22296 # value. By we need to know if files were specified by the user.
22302 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22303 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22311 *) # This is not an option, so the user has probably given explicit
22314 ac_need_defaults
=false
;;
22318 # Handling of the options.
22320 cat >>$CONFIG_STATUS <<\_ACEOF
22321 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22323 --version |
--vers* |
-V )
22324 echo "$ac_cs_version"; exit 0 ;;
22326 # Conflict between --help and --header
22327 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22328 Try \`$0 --help' for more information." >&5
22329 echo "$as_me: error: ambiguous option: $1
22330 Try \`$0 --help' for more information." >&2;}
22331 { (exit 1); exit 1; }; };;
22332 --help |
--hel |
-h )
22333 echo "$ac_cs_usage"; exit 0 ;;
22334 --debug |
--d* |
-d )
22336 --file |
--fil |
--fi |
--f )
22338 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22339 ac_need_defaults
=false
;;
22340 --header |
--heade |
--head |
--hea )
22342 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22343 ac_need_defaults
=false
;;
22344 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22345 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22348 # This is an error.
22349 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22350 Try \`$0 --help' for more information." >&5
22351 echo "$as_me: error: unrecognized option: $1
22352 Try \`$0 --help' for more information." >&2;}
22353 { (exit 1); exit 1; }; } ;;
22355 *) ac_config_targets
="$ac_config_targets $1" ;;
22361 ac_configure_extra_args
=
22363 if $ac_cs_silent; then
22365 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22369 cat >>$CONFIG_STATUS <<_ACEOF
22370 if \$ac_cs_recheck; then
22371 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22372 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22377 cat >>$CONFIG_STATUS <<_ACEOF
22379 # INIT-COMMANDS section.
22382 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22388 cat >>$CONFIG_STATUS <<\_ACEOF
22389 for ac_config_target
in $ac_config_targets
22391 case "$ac_config_target" in
22392 # Handling of arguments.
22393 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22394 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22395 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config-h.in" ;;
22396 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22397 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22398 { (exit 1); exit 1; }; };;
22402 # If the user did not use the arguments to specify the items to instantiate,
22403 # then the envvar interface is used. Set only those that are not.
22404 # We use the long form for the default assignment because of an extremely
22405 # bizarre bug on SunOS 4.1.3.
22406 if $ac_need_defaults; then
22407 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22408 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22409 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22412 # Have a temporary directory for convenience. Make it in the build tree
22413 # simply because there is no reason to put it here, and in addition,
22414 # creating and moving files from /tmp can sometimes cause problems.
22415 # Create a temporary directory, and hook for its removal unless debugging.
22418 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22419 trap '{ (exit 1); exit 1; }' 1 2 13 15
22422 # Create a (secure) tmp directory for tmp files.
22425 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22426 test -n "$tmp" && test -d "$tmp"
22429 tmp
=.
/confstat$$
-$RANDOM
22430 (umask 077 && mkdir
$tmp)
22433 echo "$me: cannot create a temporary directory in ." >&2
22434 { (exit 1); exit 1; }
22439 cat >>$CONFIG_STATUS <<_ACEOF
22442 # CONFIG_FILES section.
22445 # No need to generate the scripts if there are no CONFIG_FILES.
22446 # This happens for instance when ./config.status config.h
22447 if test -n "\$CONFIG_FILES"; then
22448 # Protect against being on the right side of a sed subst in config.status.
22449 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22450 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22451 s,@SHELL@,$SHELL,;t t
22452 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22453 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22454 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22455 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22456 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22457 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22458 s,@exec_prefix@,$exec_prefix,;t t
22459 s,@prefix@,$prefix,;t t
22460 s,@program_transform_name@,$program_transform_name,;t t
22461 s,@bindir@,$bindir,;t t
22462 s,@sbindir@,$sbindir,;t t
22463 s,@libexecdir@,$libexecdir,;t t
22464 s,@datadir@,$datadir,;t t
22465 s,@sysconfdir@,$sysconfdir,;t t
22466 s,@sharedstatedir@,$sharedstatedir,;t t
22467 s,@localstatedir@,$localstatedir,;t t
22468 s,@libdir@,$libdir,;t t
22469 s,@includedir@,$includedir,;t t
22470 s,@oldincludedir@,$oldincludedir,;t t
22471 s,@infodir@,$infodir,;t t
22472 s,@mandir@,$mandir,;t t
22473 s,@build_alias@,$build_alias,;t t
22474 s,@host_alias@,$host_alias,;t t
22475 s,@target_alias@,$target_alias,;t t
22476 s,@DEFS@,$DEFS,;t t
22477 s,@ECHO_C@,$ECHO_C,;t t
22478 s,@ECHO_N@,$ECHO_N,;t t
22479 s,@ECHO_T@,$ECHO_T,;t t
22480 s,@LIBS@,$LIBS,;t t
22481 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22482 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22483 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22484 s,@CYGPATH_W@,$CYGPATH_W,;t t
22485 s,@PACKAGE@,$PACKAGE,;t t
22486 s,@VERSION@,$VERSION,;t t
22487 s,@ACLOCAL@,$ACLOCAL,;t t
22488 s,@AUTOCONF@,$AUTOCONF,;t t
22489 s,@AUTOMAKE@,$AUTOMAKE,;t t
22490 s,@AUTOHEADER@,$AUTOHEADER,;t t
22491 s,@MAKEINFO@,$MAKEINFO,;t t
22492 s,@install_sh@,$install_sh,;t t
22493 s,@STRIP@,$STRIP,;t t
22494 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22495 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22496 s,@mkdir_p@,$mkdir_p,;t t
22498 s,@SET_MAKE@,$SET_MAKE,;t t
22499 s,@am__leading_dot@,$am__leading_dot,;t t
22500 s,@AMTAR@,$AMTAR,;t t
22501 s,@am__tar@,$am__tar,;t t
22502 s,@am__untar@,$am__untar,;t t
22504 s,@CFLAGS@,$CFLAGS,;t t
22505 s,@LDFLAGS@,$LDFLAGS,;t t
22506 s,@CPPFLAGS@,$CPPFLAGS,;t t
22507 s,@ac_ct_CC@,$ac_ct_CC,;t t
22508 s,@EXEEXT@,$EXEEXT,;t t
22509 s,@OBJEXT@,$OBJEXT,;t t
22510 s,@DEPDIR@,$DEPDIR,;t t
22511 s,@am__include@,$am__include,;t t
22512 s,@am__quote@,$am__quote,;t t
22513 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22514 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22515 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22516 s,@CCDEPMODE@,$CCDEPMODE,;t t
22517 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22518 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22519 s,@build@,$build,;t t
22520 s,@build_cpu@,$build_cpu,;t t
22521 s,@build_vendor@,$build_vendor,;t t
22522 s,@build_os@,$build_os,;t t
22523 s,@host@,$host,;t t
22524 s,@host_cpu@,$host_cpu,;t t
22525 s,@host_vendor@,$host_vendor,;t t
22526 s,@host_os@,$host_os,;t t
22528 s,@EGREP@,$EGREP,;t t
22529 s,@LN_S@,$LN_S,;t t
22530 s,@ECHO@,$ECHO,;t t
22532 s,@ac_ct_AR@,$ac_ct_AR,;t t
22533 s,@RANLIB@,$RANLIB,;t t
22534 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22535 s,@DLLTOOL@,$DLLTOOL,;t t
22536 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
22538 s,@ac_ct_AS@,$ac_ct_AS,;t t
22539 s,@OBJDUMP@,$OBJDUMP,;t t
22540 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
22543 s,@CXXFLAGS@,$CXXFLAGS,;t t
22544 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22545 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22546 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22547 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22548 s,@CXXCPP@,$CXXCPP,;t t
22550 s,@FFLAGS@,$FFLAGS,;t t
22551 s,@ac_ct_F77@,$ac_ct_F77,;t t
22552 s,@LIBTOOL@,$LIBTOOL,;t t
22553 s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
22554 s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
22555 s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
22556 s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
22557 s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
22558 s,@LIBADD_DL@,$LIBADD_DL,;t t
22559 s,@LIBOBJS@,$LIBOBJS,;t t
22560 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22565 cat >>$CONFIG_STATUS <<\_ACEOF
22566 # Split the substitutions into bite-sized pieces for seds with
22567 # small command number limits, like on Digital OSF/1 and HP-UX.
22568 ac_max_sed_lines
=48
22569 ac_sed_frag
=1 # Number of current file.
22570 ac_beg
=1 # First line for current file.
22571 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22574 while $ac_more_lines; do
22575 if test $ac_beg -gt 1; then
22576 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22578 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22580 if test ! -s $tmp/subs.frag
; then
22581 ac_more_lines
=false
22583 # The purpose of the label and of the branching condition is to
22584 # speed up the sed processing (if there are no `@' at all, there
22585 # is no need to browse any of the substitutions).
22586 # These are the two extra sed commands mentioned above.
22588 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22589 if test -z "$ac_sed_cmds"; then
22590 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22592 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22594 ac_sed_frag
=`expr $ac_sed_frag + 1`
22596 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22599 if test -z "$ac_sed_cmds"; then
22602 fi # test -n "$CONFIG_FILES"
22605 cat >>$CONFIG_STATUS <<\_ACEOF
22606 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22607 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22609 - |
*:- |
*:-:* ) # input from stdin
22611 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22612 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22613 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22614 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22615 * ) ac_file_in
=$ac_file.
in ;;
22618 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22619 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22620 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22621 X"$ac_file" : 'X\(//\)[^/]' \| \
22622 X"$ac_file" : 'X\(//\)$' \| \
22623 X"$ac_file" : 'X\(/\)' \| \
22624 . : '\(.\)' 2>/dev/null ||
22626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22628 /^X\(\/\/\)$/{ s//\1/; q; }
22629 /^X\(\/\).*/{ s//\1/; q; }
22631 { if $as_mkdir_p; then
22636 while test ! -d "$as_dir"; do
22637 as_dirs
="$as_dir $as_dirs"
22638 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22639 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22640 X"$as_dir" : 'X\(//\)[^/]' \| \
22641 X"$as_dir" : 'X\(//\)$' \| \
22642 X"$as_dir" : 'X\(/\)' \| \
22643 . : '\(.\)' 2>/dev/null ||
22645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22646 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22647 /^X\(\/\/\)$/{ s//\1/; q; }
22648 /^X\(\/\).*/{ s//\1/; q; }
22651 test ! -n "$as_dirs" || mkdir
$as_dirs
22652 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22653 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22654 { (exit 1); exit 1; }; }; }
22658 if test "$ac_dir" != .
; then
22659 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22660 # A "../" for each directory in $ac_dir_suffix.
22661 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22663 ac_dir_suffix
= ac_top_builddir
=
22667 .
) # No --srcdir option. We are building in place.
22669 if test -z "$ac_top_builddir"; then
22672 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22674 [\\/]* | ?
:[\\/]* ) # Absolute path.
22675 ac_srcdir
=$srcdir$ac_dir_suffix;
22676 ac_top_srcdir
=$srcdir ;;
22677 *) # Relative path.
22678 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22679 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22682 # Do not use `cd foo && pwd` to compute absolute paths, because
22683 # the directories may not exist.
22685 .
) ac_abs_builddir
="$ac_dir";;
22688 .
) ac_abs_builddir
=`pwd`;;
22689 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22690 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22693 case $ac_abs_builddir in
22694 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22696 case ${ac_top_builddir}.
in
22697 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22698 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22699 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22702 case $ac_abs_builddir in
22703 .
) ac_abs_srcdir
=$ac_srcdir;;
22706 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22707 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22708 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22711 case $ac_abs_builddir in
22712 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22714 case $ac_top_srcdir in
22715 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22716 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22717 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22723 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22724 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22727 if test x
"$ac_file" != x-
; then
22728 { echo "$as_me:$LINENO: creating $ac_file" >&5
22729 echo "$as_me: creating $ac_file" >&6;}
22732 # Let's still pretend it is `configure' which instantiates (i.e., don't
22733 # use $as_me), people would be surprised to read:
22734 # /* config.h. Generated by config.status. */
22735 if test x
"$ac_file" = x-
; then
22738 configure_input
="$ac_file. "
22740 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22741 sed 's,.*/,,'` by configure."
22743 # First look for the input files in the build tree, otherwise in the
22745 ac_file_inputs
=`IFS=:
22746 for f in $ac_file_in; do
22748 -) echo $tmp/stdin ;;
22750 # Absolute (can't be DOS-style, as IFS=:)
22751 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22752 echo "$as_me: error: cannot find input file: $f" >&2;}
22753 { (exit 1); exit 1; }; }
22756 if test -f "$f"; then
22759 elif test -f "$srcdir/$f"; then
22764 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22765 echo "$as_me: error: cannot find input file: $f" >&2;}
22766 { (exit 1); exit 1; }; }
22769 done` ||
{ (exit 1); exit 1; }
22771 cat >>$CONFIG_STATUS <<_ACEOF
22775 cat >>$CONFIG_STATUS <<\_ACEOF
22777 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22778 s
,@configure_input@
,$configure_input,;t t
22779 s
,@srcdir@
,$ac_srcdir,;t t
22780 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22781 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22782 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22783 s
,@builddir@
,$ac_builddir,;t t
22784 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22785 s
,@top_builddir@
,$ac_top_builddir,;t t
22786 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22787 s
,@INSTALL@
,$ac_INSTALL,;t t
22788 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22790 if test x"$ac_file" != x-; then
22791 mv $tmp/out $ac_file
22799 cat >>$CONFIG_STATUS <<\_ACEOF
22802 # CONFIG_HEADER section.
22805 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22806 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22808 # ac_d sets the value in "#define NAME VALUE" lines.
22809 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22810 ac_dB
='[ ].*$,\1#\2'
22813 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22814 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22815 ac_uB
='$,\1#\2define\3'
22819 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22820 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22822 - |
*:- |
*:-:* ) # input from stdin
22824 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22825 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22826 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22827 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22828 * ) ac_file_in
=$ac_file.
in ;;
22831 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
22832 echo "$as_me: creating $ac_file" >&6;}
22834 # First look for the input files in the build tree, otherwise in the
22836 ac_file_inputs
=`IFS=:
22837 for f in $ac_file_in; do
22839 -) echo $tmp/stdin ;;
22841 # Absolute (can't be DOS-style, as IFS=:)
22842 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22843 echo "$as_me: error: cannot find input file: $f" >&2;}
22844 { (exit 1); exit 1; }; }
22845 # Do quote $f, to prevent DOS paths from being IFS'd.
22848 if test -f "$f"; then
22851 elif test -f "$srcdir/$f"; then
22856 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22857 echo "$as_me: error: cannot find input file: $f" >&2;}
22858 { (exit 1); exit 1; }; }
22861 done` ||
{ (exit 1); exit 1; }
22862 # Remove the trailing spaces.
22863 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22867 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22868 # `conftest.undefs', that substitutes the proper values into
22869 # config.h.in to produce config.h. The first handles `#define'
22870 # templates, and the second `#undef' templates.
22871 # And first: Protect against being on the right side of a sed subst in
22872 # config.status. Protect against being in an unquoted here document
22873 # in config.status.
22874 rm -f conftest.defines conftest.undefs
22875 # Using a here document instead of a string reduces the quoting nightmare.
22876 # Putting comments in sed scripts is not portable.
22878 # `end' is used to avoid that the second main sed command (meant for
22879 # 0-ary CPP macros) applies to n-ary macro definitions.
22880 # See the Autoconf documentation for `clear'.
22881 cat >confdef2sed.
sed <<\_ACEOF
22886 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22888 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22891 # If some macros were called several times there might be several times
22892 # the same #defines, which is useless. Nevertheless, we may not want to
22893 # sort them, since we want the *last* AC-DEFINE to be honored.
22894 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22895 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22896 rm -f confdef2sed.sed
22898 # This sed command replaces #undef with comments. This is necessary, for
22899 # example, in the case of _POSIX_SOURCE, which is predefined and required
22900 # on some systems where configure will not decide to define it.
22901 cat >>conftest.undefs <<\_ACEOF
22902 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22905 # Break up conftest.defines because some shells have a limit on the size
22906 # of here documents, and old seds have small limits too (100 cmds).
22907 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22908 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22909 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22910 echo ' :' >>$CONFIG_STATUS
22911 rm -f conftest.tail
22912 while grep . conftest.defines >/dev/null
22914 # Write a limited-size here document to $tmp/defines.sed.
22915 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22916 # Speed up: don't consider the non `#define' lines.
22917 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22918 # Work around the forget-to-reset-the-flag bug.
22919 echo 't clr' >>$CONFIG_STATUS
22920 echo ': clr' >>$CONFIG_STATUS
22921 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
22923 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22925 mv $tmp/out $tmp/in
22927 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
22928 rm -f conftest.defines
22929 mv conftest.
tail conftest.defines
22931 rm -f conftest.defines
22932 echo ' fi # grep' >>$CONFIG_STATUS
22933 echo >>$CONFIG_STATUS
22935 # Break up conftest.undefs because some shells have a limit on the size
22936 # of here documents, and old seds have small limits too (100 cmds).
22937 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22938 rm -f conftest.
tail
22939 while grep . conftest.undefs
>/dev
/null
22941 # Write a limited-size here document to $tmp/undefs.sed.
22942 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22943 # Speed up: don't consider the non
`#undef'
22944 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22945 # Work around the forget-to-reset-the-flag bug.
22946 echo 't clr' >>$CONFIG_STATUS
22947 echo ': clr' >>$CONFIG_STATUS
22948 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22950 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22952 mv $tmp/out $tmp/in
22954 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22955 rm -f conftest.undefs
22956 mv conftest.tail conftest.undefs
22958 rm -f conftest.undefs
22960 cat >>$CONFIG_STATUS <<\_ACEOF
22961 # Let's still pretend it is `configure
' which instantiates (i.e., don't
22962 # use $as_me), people would be surprised to read:
22963 # /* config.h. Generated by config.status. */
22964 if test x
"$ac_file" = x-
; then
22965 echo "/* Generated by configure. */" >$tmp/config.h
22967 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22969 cat $tmp/in >>$tmp/config.h
22971 if test x
"$ac_file" != x-
; then
22972 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
22973 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22974 echo "$as_me: $ac_file is unchanged" >&6;}
22976 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22977 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22978 X"$ac_file" : 'X\(//\)[^/]' \| \
22979 X"$ac_file" : 'X\(//\)$' \| \
22980 X"$ac_file" : 'X\(/\)' \| \
22981 . : '\(.\)' 2>/dev/null ||
22983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22984 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22985 /^X\(\/\/\)$/{ s//\1/; q; }
22986 /^X\(\/\).*/{ s//\1/; q; }
22988 { if $as_mkdir_p; then
22993 while test ! -d "$as_dir"; do
22994 as_dirs
="$as_dir $as_dirs"
22995 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22996 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22997 X"$as_dir" : 'X\(//\)[^/]' \| \
22998 X"$as_dir" : 'X\(//\)$' \| \
22999 X"$as_dir" : 'X\(/\)' \| \
23000 . : '\(.\)' 2>/dev/null ||
23002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23004 /^X\(\/\/\)$/{ s//\1/; q; }
23005 /^X\(\/\).*/{ s//\1/; q; }
23008 test ! -n "$as_dirs" || mkdir
$as_dirs
23009 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23010 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23011 { (exit 1); exit 1; }; }; }
23014 mv $tmp/config.h
$ac_file
23018 rm -f $tmp/config.h
23020 # Compute $ac_file's index in $config_headers.
23022 for _am_header
in $config_headers :; do
23023 case $_am_header in
23024 $ac_file |
$ac_file:* )
23027 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23030 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
23031 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23032 X$ac_file : 'X\(//\)[^/]' \| \
23033 X$ac_file : 'X\(//\)$' \| \
23034 X$ac_file : 'X\(/\)' \| \
23035 . : '\(.\)' 2>/dev/null ||
23037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23038 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23039 /^X\(\/\/\)$/{ s//\1/; q; }
23040 /^X\(\/\).*/{ s//\1/; q; }
23041 s/.*/./; q'`/stamp-h
$_am_stamp_count
23044 cat >>$CONFIG_STATUS <<\_ACEOF
23047 # CONFIG_COMMANDS section.
23049 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23050 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23051 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23052 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23053 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23054 X"$ac_dest" : 'X\(//\)[^/]' \| \
23055 X"$ac_dest" : 'X\(//\)$' \| \
23056 X"$ac_dest" : 'X\(/\)' \| \
23057 . : '\(.\)' 2>/dev/null ||
23059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23060 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23061 /^X\(\/\/\)$/{ s//\1/; q; }
23062 /^X\(\/\).*/{ s//\1/; q; }
23064 { if $as_mkdir_p; then
23069 while test ! -d "$as_dir"; do
23070 as_dirs
="$as_dir $as_dirs"
23071 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23072 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23073 X"$as_dir" : 'X\(//\)[^/]' \| \
23074 X"$as_dir" : 'X\(//\)$' \| \
23075 X"$as_dir" : 'X\(/\)' \| \
23076 . : '\(.\)' 2>/dev/null ||
23078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23079 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23080 /^X\(\/\/\)$/{ s//\1/; q; }
23081 /^X\(\/\).*/{ s//\1/; q; }
23084 test ! -n "$as_dirs" || mkdir
$as_dirs
23085 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23086 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23087 { (exit 1); exit 1; }; }; }
23091 if test "$ac_dir" != .
; then
23092 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23093 # A "../" for each directory in $ac_dir_suffix.
23094 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23096 ac_dir_suffix
= ac_top_builddir
=
23100 .
) # No --srcdir option. We are building in place.
23102 if test -z "$ac_top_builddir"; then
23105 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23107 [\\/]* | ?
:[\\/]* ) # Absolute path.
23108 ac_srcdir
=$srcdir$ac_dir_suffix;
23109 ac_top_srcdir
=$srcdir ;;
23110 *) # Relative path.
23111 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23112 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23115 # Do not use `cd foo && pwd` to compute absolute paths, because
23116 # the directories may not exist.
23118 .
) ac_abs_builddir
="$ac_dir";;
23121 .
) ac_abs_builddir
=`pwd`;;
23122 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23123 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23126 case $ac_abs_builddir in
23127 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23129 case ${ac_top_builddir}.
in
23130 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23131 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23132 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23135 case $ac_abs_builddir in
23136 .
) ac_abs_srcdir
=$ac_srcdir;;
23139 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23140 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23141 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23144 case $ac_abs_builddir in
23145 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23147 case $ac_top_srcdir in
23148 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23149 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23150 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23155 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23156 echo "$as_me: executing $ac_dest commands" >&6;}
23158 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23159 # Strip MF so we end up with the name of the file.
23160 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23161 # Check whether this is an Automake generated Makefile or not.
23162 # We used to match only the files named `Makefile.in', but
23163 # some people rename them; so instead we look at the file content.
23164 # Grep'ing the first line is not enough: some people post-process
23165 # each Makefile.in and add a new line on top of each file to say so.
23166 # So let's grep whole file.
23167 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23168 dirpart
=`(dirname "$mf") 2>/dev/null ||
23169 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23170 X"$mf" : 'X\(//\)[^/]' \| \
23171 X"$mf" : 'X\(//\)$' \| \
23172 X"$mf" : 'X\(/\)' \| \
23173 . : '\(.\)' 2>/dev/null ||
23175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23176 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23177 /^X\(\/\/\)$/{ s//\1/; q; }
23178 /^X\(\/\).*/{ s//\1/; q; }
23183 # Extract the definition of DEPDIR, am__include, and am__quote
23184 # from the Makefile without running `make'.
23185 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23186 test -z "$DEPDIR" && continue
23187 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23188 test -z "am__include" && continue
23189 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23190 # When using ansi2knr, U may be empty or an underscore; expand it
23191 U
=`sed -n 's/^U = //p' < "$mf"`
23192 # Find all dependency output files, they are included files with
23193 # $(DEPDIR) in their names. We invoke sed twice because it is the
23194 # simplest approach to changing $(DEPDIR) to its actual value in the
23196 for file in `sed -n "
23197 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23198 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23199 # Make sure the directory exists.
23200 test -f "$dirpart/$file" && continue
23201 fdir
=`(dirname "$file") 2>/dev/null ||
23202 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23203 X"$file" : 'X\(//\)[^/]' \| \
23204 X"$file" : 'X\(//\)$' \| \
23205 X"$file" : 'X\(/\)' \| \
23206 . : '\(.\)' 2>/dev/null ||
23208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23209 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23210 /^X\(\/\/\)$/{ s//\1/; q; }
23211 /^X\(\/\).*/{ s//\1/; q; }
23213 { if $as_mkdir_p; then
23214 mkdir
-p $dirpart/$fdir
23216 as_dir
=$dirpart/$fdir
23218 while test ! -d "$as_dir"; do
23219 as_dirs
="$as_dir $as_dirs"
23220 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23221 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23222 X"$as_dir" : 'X\(//\)[^/]' \| \
23223 X"$as_dir" : 'X\(//\)$' \| \
23224 X"$as_dir" : 'X\(/\)' \| \
23225 . : '\(.\)' 2>/dev/null ||
23227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23228 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23229 /^X\(\/\/\)$/{ s//\1/; q; }
23230 /^X\(\/\).*/{ s//\1/; q; }
23233 test ! -n "$as_dirs" || mkdir
$as_dirs
23234 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
23235 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
23236 { (exit 1); exit 1; }; }; }
23238 # echo "creating $dirpart/$file"
23239 echo '# dummy' > "$dirpart/$file"
23247 cat >>$CONFIG_STATUS <<\_ACEOF
23249 { (exit 0); exit 0; }
23251 chmod +x
$CONFIG_STATUS
23252 ac_clean_files
=$ac_clean_files_save
23255 # configure is writing to config.log, and then calls config.status.
23256 # config.status does its own redirection, appending to config.log.
23257 # Unfortunately, on DOS this fails, as config.log is still kept open
23258 # by configure, so config.status won't be able to write to it; its
23259 # output is simply discarded. So we exec the FD to /dev/null,
23260 # effectively closing config.log, so it can be properly (re)opened and
23261 # appended to by config.status. When coming back to configure, we
23262 # need to make the FD available again.
23263 if test "$no_create" != yes; then
23265 ac_config_status_args
=
23266 test "$silent" = yes &&
23267 ac_config_status_args
="$ac_config_status_args --quiet"
23269 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23271 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23272 # would make configure fail if this is the last instruction.
23273 $ac_cs_success ||
{ (exit 1); exit 1; }