2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $echo works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
289 echo_test_string
="`eval $cmd`" &&
290 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
299 test "X$echo_testing_string" = "X$echo_test_string"; then
302 # The Solaris, AIX, and Digital Unix default echo programs unquote
303 # backslashes. This makes it impossible to quote backslashes using
304 # echo "$something" | sed 's/\\/\\\\/g'
306 # So, first we look for a working echo in the user's PATH.
308 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
309 for dir
in $PATH /usr
/ucb
; do
311 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
312 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314 test "X$echo_testing_string" = "X$echo_test_string"; then
321 if test "X$echo" = Xecho
; then
322 # We didn't find a better echo, so look for alternatives.
323 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
325 test "X$echo_testing_string" = "X$echo_test_string"; then
326 # This shell has a builtin print -r that does the trick.
328 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
329 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
330 # If we have ksh, try running configure again with it.
331 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
332 export ORIGINAL_CONFIG_SHELL
333 CONFIG_SHELL
=/bin
/ksh
335 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
339 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
341 test "X$echo_testing_string" = "X$echo_test_string"; then
344 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345 test "X$echo_testing_string" = 'X\t' &&
346 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347 test "X$echo_testing_string" = "X$echo_test_string"; then
348 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
350 SHELL
="$CONFIG_SHELL"
352 echo="$CONFIG_SHELL $0 --fallback-echo"
353 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 echo="$CONFIG_SHELL $0 --fallback-echo"
359 # maybe with a smaller string...
362 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
370 if test "$prev" != 'sed 50q "$0"'; then
371 echo_test_string
=`eval $prev`
372 export echo_test_string
373 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375 # Oops. We lost completely, so just stick with echo.
384 # Copy echo and quote the copy suitably for passing to libtool from
385 # the Makefile, instead of quoting the original, which is used later.
387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 tagnames
=${tagnames+${tagnames},}CXX
396 tagnames
=${tagnames+${tagnames},}F77
399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400 # so uname gets run too.
401 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
408 ac_default_prefix
=/usr
/local
409 ac_config_libobj_dir
=.
414 SHELL
=${CONFIG_SHELL-/bin/sh}
416 # Maximum number of lines to put in a shell here document.
417 # This variable seems obsolete. It should probably be removed, and
418 # only ac_max_sed_lines should be used.
419 : ${ac_max_here_lines=38}
421 # Identity of this package.
428 ac_unique_file
="tests/rpath-1a"
429 # Factoring default headers for most tests.
430 ac_includes_default
="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 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 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 GCC LD with_gnu_ld aclocaldir LIBOBJS LTLIBOBJS'
469 # Initialize some variables set by options.
471 ac_init_version
=false
472 # The variables have the same names as the options, with
473 # dashes changed to underlines.
481 program_transform_name
=s
,x
,x
,
489 # Installation directory options.
490 # These are left unexpanded so users can "make install exec_prefix=/foo"
491 # and all the variables that are supposed to be based on exec_prefix
492 # by default will actually change.
493 # Use braces instead of parens because sh, perl, etc. also accept them.
494 bindir
='${exec_prefix}/bin'
495 sbindir
='${exec_prefix}/sbin'
496 libexecdir
='${exec_prefix}/libexec'
497 datadir
='${prefix}/share'
498 sysconfdir
='${prefix}/etc'
499 sharedstatedir
='${prefix}/com'
500 localstatedir
='${prefix}/var'
501 libdir
='${exec_prefix}/lib'
502 includedir
='${prefix}/include'
503 oldincludedir
='/usr/include'
504 infodir
='${prefix}/info'
505 mandir
='${prefix}/man'
510 # If the previous option needs an argument, assign it.
511 if test -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
517 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
519 # Accept the important Cygnus configure options, so we can diagnose typos.
523 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
525 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
528 -build |
--build |
--buil |
--bui |
--bu)
529 ac_prev
=build_alias
;;
530 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
531 build_alias
=$ac_optarg ;;
533 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
534 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
535 ac_prev
=cache_file
;;
536 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
537 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
538 cache_file
=$ac_optarg ;;
541 cache_file
=config.cache
;;
543 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
545 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
547 datadir
=$ac_optarg ;;
549 -disable-* |
--disable-*)
550 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554 { (exit 1); exit 1; }; }
555 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
556 eval "enable_$ac_feature=no" ;;
558 -enable-* |
--enable-*)
559 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560 # Reject names that are not valid shell variable names.
561 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
562 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563 { (exit 1); exit 1; }; }
564 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
566 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569 eval "enable_$ac_feature='$ac_optarg'" ;;
571 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
572 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
573 |
--exec |
--exe |
--ex)
574 ac_prev
=exec_prefix
;;
575 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
576 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
577 |
--exec=* |
--exe=* |
--ex=*)
578 exec_prefix
=$ac_optarg ;;
580 -gas |
--gas |
--ga |
--g)
581 # Obsolete; use --with-gas.
584 -help |
--help |
--hel |
--he |
-h)
586 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
587 ac_init_help
=recursive
;;
588 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
589 ac_init_help
=short
;;
591 -host |
--host |
--hos |
--ho)
592 ac_prev
=host_alias
;;
593 -host=* |
--host=* |
--hos=* |
--ho=*)
594 host_alias
=$ac_optarg ;;
596 -includedir |
--includedir |
--includedi |
--included |
--include \
597 |
--includ |
--inclu |
--incl |
--inc)
598 ac_prev
=includedir
;;
599 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
600 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
601 includedir
=$ac_optarg ;;
603 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
605 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
606 infodir
=$ac_optarg ;;
608 -libdir |
--libdir |
--libdi |
--libd)
610 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
613 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
614 |
--libexe |
--libex |
--libe)
615 ac_prev
=libexecdir
;;
616 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
617 |
--libexe=* |
--libex=* |
--libe=*)
618 libexecdir
=$ac_optarg ;;
620 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
621 |
--localstate |
--localstat |
--localsta |
--localst \
622 |
--locals |
--local |
--loca |
--loc |
--lo)
623 ac_prev
=localstatedir
;;
624 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
625 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
626 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
627 localstatedir
=$ac_optarg ;;
629 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
631 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
635 # Obsolete; use --without-fp.
638 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
639 |
--no-cr |
--no-c |
-n)
642 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
643 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
646 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
647 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
648 |
--oldin |
--oldi |
--old |
--ol |
--o)
649 ac_prev
=oldincludedir
;;
650 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
651 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
652 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
653 oldincludedir
=$ac_optarg ;;
655 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
657 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
660 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
661 |
--program-pre |
--program-pr |
--program-p)
662 ac_prev
=program_prefix
;;
663 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
664 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
665 program_prefix
=$ac_optarg ;;
667 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
668 |
--program-suf |
--program-su |
--program-s)
669 ac_prev
=program_suffix
;;
670 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
671 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
672 program_suffix
=$ac_optarg ;;
674 -program-transform-name |
--program-transform-name \
675 |
--program-transform-nam |
--program-transform-na \
676 |
--program-transform-n |
--program-transform- \
677 |
--program-transform |
--program-transfor \
678 |
--program-transfo |
--program-transf \
679 |
--program-trans |
--program-tran \
680 |
--progr-tra |
--program-tr |
--program-t)
681 ac_prev
=program_transform_name
;;
682 -program-transform-name=* |
--program-transform-name=* \
683 |
--program-transform-nam=* |
--program-transform-na=* \
684 |
--program-transform-n=* |
--program-transform-=* \
685 |
--program-transform=* |
--program-transfor=* \
686 |
--program-transfo=* |
--program-transf=* \
687 |
--program-trans=* |
--program-tran=* \
688 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
689 program_transform_name
=$ac_optarg ;;
691 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
692 |
-silent |
--silent |
--silen |
--sile |
--sil)
695 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
697 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
699 sbindir
=$ac_optarg ;;
701 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
702 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
703 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
705 ac_prev
=sharedstatedir
;;
706 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
707 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
708 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
710 sharedstatedir
=$ac_optarg ;;
712 -site |
--site |
--sit)
714 -site=* |
--site=* |
--sit=*)
717 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
719 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
722 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
723 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
724 ac_prev
=sysconfdir
;;
725 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
726 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
727 sysconfdir
=$ac_optarg ;;
729 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
730 ac_prev
=target_alias
;;
731 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
732 target_alias
=$ac_optarg ;;
734 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
737 -version |
--version |
--versio |
--versi |
--vers |
-V)
741 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742 # Reject names that are not valid shell variable names.
743 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
744 { echo "$as_me: error: invalid package name: $ac_package" >&2
745 { (exit 1); exit 1; }; }
746 ac_package
=`echo $ac_package| sed 's/-/_/g'`
748 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751 eval "with_$ac_package='$ac_optarg'" ;;
753 -without-* |
--without-*)
754 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
757 { echo "$as_me: error: invalid package name: $ac_package" >&2
758 { (exit 1); exit 1; }; }
759 ac_package
=`echo $ac_package | sed 's/-/_/g'`
760 eval "with_$ac_package=no" ;;
763 # Obsolete; use --with-x.
766 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
767 |
--x-incl |
--x-inc |
--x-in |
--x-i)
768 ac_prev
=x_includes
;;
769 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
770 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
771 x_includes
=$ac_optarg ;;
773 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
774 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
775 ac_prev
=x_libraries
;;
776 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
777 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
778 x_libraries
=$ac_optarg ;;
780 -*) { echo "$as_me: error: unrecognized option: $ac_option
781 Try \`$0 --help' for more information." >&2
782 { (exit 1); exit 1; }; }
786 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
789 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790 { (exit 1); exit 1; }; }
791 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792 eval "$ac_envvar='$ac_optarg'"
796 # FIXME: should be removed in autoconf 3.0.
797 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
798 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
799 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
800 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
806 if test -n "$ac_prev"; then
807 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
808 { echo "$as_me: error: missing argument to $ac_option" >&2
809 { (exit 1); exit 1; }; }
812 # Be sure to have absolute paths.
813 for ac_var
in exec_prefix prefix
815 eval ac_val
=$
`echo $ac_var`
817 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
818 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819 { (exit 1); exit 1; }; };;
823 # Be sure to have absolute paths.
824 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825 localstatedir libdir includedir oldincludedir infodir mandir
827 eval ac_val
=$
`echo $ac_var`
829 [\\/$
]* | ?
:[\\/]* ) ;;
830 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831 { (exit 1); exit 1; }; };;
835 # There might be people who depend on the old broken behavior: `$host'
836 # used to hold the argument of --host etc.
837 # FIXME: To remove some day.
842 # FIXME: To remove some day.
843 if test "x$host_alias" != x
; then
844 if test "x$build_alias" = x
; then
845 cross_compiling
=maybe
846 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
847 If a cross compiler is detected then cross compile mode will be used." >&2
848 elif test "x$build_alias" != "x$host_alias"; then
854 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
856 test "$silent" = yes && exec 6>/dev
/null
859 # Find the source files, if location was not specified.
860 if test -z "$srcdir"; then
861 ac_srcdir_defaulted
=yes
862 # Try the directory containing this script, then its parent.
863 ac_confdir
=`(dirname "$0") 2>/dev/null ||
864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865 X"$0" : 'X\(//\)[^/]' \| \
866 X"$0" : 'X\(//\)$' \| \
867 X"$0" : 'X\(/\)' \| \
868 . : '\(.\)' 2>/dev/null ||
870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872 /^X\(\/\/\)$/{ s//\1/; q; }
873 /^X\(\/\).*/{ s//\1/; q; }
876 if test ! -r $srcdir/$ac_unique_file; then
880 ac_srcdir_defaulted
=no
882 if test ! -r $srcdir/$ac_unique_file; then
883 if test "$ac_srcdir_defaulted" = yes; then
884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885 { (exit 1); exit 1; }; }
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888 { (exit 1); exit 1; }; }
891 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
892 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893 { (exit 1); exit 1; }; }
894 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895 ac_env_build_alias_set
=${build_alias+set}
896 ac_env_build_alias_value
=$build_alias
897 ac_cv_env_build_alias_set
=${build_alias+set}
898 ac_cv_env_build_alias_value
=$build_alias
899 ac_env_host_alias_set
=${host_alias+set}
900 ac_env_host_alias_value
=$host_alias
901 ac_cv_env_host_alias_set
=${host_alias+set}
902 ac_cv_env_host_alias_value
=$host_alias
903 ac_env_target_alias_set
=${target_alias+set}
904 ac_env_target_alias_value
=$target_alias
905 ac_cv_env_target_alias_set
=${target_alias+set}
906 ac_cv_env_target_alias_value
=$target_alias
907 ac_env_CC_set
=${CC+set}
909 ac_cv_env_CC_set
=${CC+set}
910 ac_cv_env_CC_value
=$CC
911 ac_env_CFLAGS_set
=${CFLAGS+set}
912 ac_env_CFLAGS_value
=$CFLAGS
913 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
914 ac_cv_env_CFLAGS_value
=$CFLAGS
915 ac_env_LDFLAGS_set
=${LDFLAGS+set}
916 ac_env_LDFLAGS_value
=$LDFLAGS
917 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_cv_env_LDFLAGS_value
=$LDFLAGS
919 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
920 ac_env_CPPFLAGS_value
=$CPPFLAGS
921 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_env_CPP_set
=${CPP+set}
924 ac_env_CPP_value
=$CPP
925 ac_cv_env_CPP_set
=${CPP+set}
926 ac_cv_env_CPP_value
=$CPP
927 ac_env_CXX_set
=${CXX+set}
928 ac_env_CXX_value
=$CXX
929 ac_cv_env_CXX_set
=${CXX+set}
930 ac_cv_env_CXX_value
=$CXX
931 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
932 ac_env_CXXFLAGS_value
=$CXXFLAGS
933 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
934 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
935 ac_env_CXXCPP_set
=${CXXCPP+set}
936 ac_env_CXXCPP_value
=$CXXCPP
937 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
938 ac_cv_env_CXXCPP_value
=$CXXCPP
939 ac_env_F77_set
=${F77+set}
940 ac_env_F77_value
=$F77
941 ac_cv_env_F77_set
=${F77+set}
942 ac_cv_env_F77_value
=$F77
943 ac_env_FFLAGS_set
=${FFLAGS+set}
944 ac_env_FFLAGS_value
=$FFLAGS
945 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
946 ac_cv_env_FFLAGS_value
=$FFLAGS
949 # Report the --help message.
951 if test "$ac_init_help" = "long"; then
952 # Omit some internal or obsolete options to make the list less imposing.
953 # This message is too long to be a string in the A/UX 3.1 sh.
955 \`configure' configures this package to adapt to many kinds of systems.
957 Usage: $0 [OPTION]... [VAR=VALUE]...
959 To assign environment variables (e.g., CC, CFLAGS...), specify them as
960 VAR=VALUE. See below for descriptions of some of the useful variables.
962 Defaults for the options are specified in brackets.
965 -h, --help display this help and exit
966 --help=short display options specific to this package
967 --help=recursive display the short help of all the included packages
968 -V, --version display version information and exit
969 -q, --quiet, --silent do not print \`checking...' messages
970 --cache-file=FILE cache test results in FILE [disabled]
971 -C, --config-cache alias for \`--cache-file=config.cache'
972 -n, --no-create do not create output files
973 --srcdir=DIR find the sources in DIR [configure dir or \`..']
978 Installation directories:
979 --prefix=PREFIX install architecture-independent files in PREFIX
981 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
984 By default, \`make install' will install all the files in
985 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
986 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
987 for instance \`--prefix=\$HOME'.
989 For better control, use the options below.
991 Fine tuning of the installation directories:
992 --bindir=DIR user executables [EPREFIX/bin]
993 --sbindir=DIR system admin executables [EPREFIX/sbin]
994 --libexecdir=DIR program executables [EPREFIX/libexec]
995 --datadir=DIR read-only architecture-independent data [PREFIX/share]
996 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
997 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
998 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
999 --libdir=DIR object code libraries [EPREFIX/lib]
1000 --includedir=DIR C header files [PREFIX/include]
1001 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1002 --infodir=DIR info documentation [PREFIX/info]
1003 --mandir=DIR man documentation [PREFIX/man]
1009 --program-prefix=PREFIX prepend PREFIX to installed program names
1010 --program-suffix=SUFFIX append SUFFIX to installed program names
1011 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1014 --build=BUILD configure
for building on BUILD
[guessed
]
1015 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1019 if test -n "$ac_init_help"; then
1024 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1025 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1026 --disable-dependency-tracking speeds up one-time build
1027 --enable-dependency-tracking do not reject slow dependency extractors
1028 --enable-shared[=PKGS
]
1029 build shared libraries
[default
=yes]
1030 --enable-static[=PKGS
]
1031 build static libraries
[default
=yes]
1032 --enable-fast-install[=PKGS
]
1033 optimize
for fast installation
[default
=yes]
1034 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1037 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1038 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1039 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1040 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1043 include additional configurations
[automatic
]
1045 Some influential environment variables
:
1046 CC C compiler
command
1047 CFLAGS C compiler flags
1048 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1049 nonstandard directory
<lib dir
>
1050 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1051 headers
in a nonstandard directory
<include dir
>
1053 CXX C
++ compiler
command
1054 CXXFLAGS C
++ compiler flags
1055 CXXCPP C
++ preprocessor
1056 F77 Fortran
77 compiler
command
1057 FFLAGS Fortran
77 compiler flags
1059 Use these variables to override the choices made by
`configure' or to help
1060 it to find libraries and programs with nonstandard names/locations.
1065 if test "$ac_init_help" = "recursive"; then
1066 # If there are subdirs, report their specific --help.
1068 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1069 test -d $ac_dir || continue
1072 if test "$ac_dir" != .; then
1073 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1074 # A "../" for each directory in $ac_dir_suffix.
1075 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1077 ac_dir_suffix= ac_top_builddir=
1081 .) # No --srcdir option. We are building in place.
1083 if test -z "$ac_top_builddir"; then
1086 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1088 [\\/]* | ?:[\\/]* ) # Absolute path.
1089 ac_srcdir=$srcdir$ac_dir_suffix;
1090 ac_top_srcdir=$srcdir ;;
1092 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1093 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1096 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1097 # the directories may not exist.
1099 .) ac_abs_builddir="$ac_dir";;
1102 .) ac_abs_builddir=`pwd`;;
1103 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1104 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1107 case $ac_abs_builddir in
1108 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1110 case ${ac_top_builddir}. in
1111 .) ac_abs_top_builddir=$ac_abs_builddir;;
1112 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1113 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1116 case $ac_abs_builddir in
1117 .) ac_abs_srcdir=$ac_srcdir;;
1120 .) ac_abs_srcdir=$ac_abs_builddir;;
1121 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1122 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1125 case $ac_abs_builddir in
1126 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1128 case $ac_top_srcdir in
1129 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1130 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1131 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1136 # Check for guested configure; otherwise get Cygnus style configure.
1137 if test -f $ac_srcdir/configure.gnu; then
1139 $SHELL $ac_srcdir/configure.gnu --help=recursive
1140 elif test -f $ac_srcdir/configure; then
1142 $SHELL $ac_srcdir/configure --help=recursive
1143 elif test -f $ac_srcdir/configure.ac ||
1144 test -f $ac_srcdir/configure.in; then
1146 $ac_configure --help
1148 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1154 test -n "$ac_init_help" && exit 0
1155 if $ac_init_version; then
1158 Copyright (C) 2003 Free Software Foundation, Inc.
1159 This configure script is free software; the Free Software Foundation
1160 gives unlimited permission to copy, distribute and modify it.
1166 This file contains any messages produced by compilers while
1167 running configure, to aid debugging if configure makes a mistake.
1169 It was created by $as_me, which was
1170 generated by GNU Autoconf 2.59. Invocation command line was
1181 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1182 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1183 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1184 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1185 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1187 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1188 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1190 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1191 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1192 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1193 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1194 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1195 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1196 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1204 test -z "$as_dir" && as_dir=.
1205 echo "PATH: $as_dir"
1220 # Keep a trace of the command line.
1221 # Strip out --no-create and --no-recursion so they do not pile up.
1222 # Strip out --silent because we don't want to record it for future runs.
1223 # Also quote any args containing shell meta-characters.
1224 # Make two passes to allow for proper duplicate-argument suppression.
1229 ac_must_keep_next=false
1235 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1237 | -silent | --silent | --silen | --sile | --sil)
1239 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1240 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1243 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1245 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1246 if test $ac_must_keep_next = true; then
1247 ac_must_keep_next=false # Got value, back to normal.
1250 *=* | --config-cache | -C | -disable-* | --disable-* \
1251 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1252 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1253 | -with-* | --with-* | -without-* | --without-* | --x)
1254 case "$ac_configure_args0 " in
1255 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1258 -* ) ac_must_keep_next=true ;;
1261 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1262 # Get rid of the leading space.
1268 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1269 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1271 # When interrupted or exit'd, cleanup temporary files, and complete
1272 # config.log. We remove comments because anyway the quotes in there
1273 # would cause problems or look ugly.
1274 # WARNING: Be sure not to use single quotes in there, as some shells,
1275 # such as our DU 5.0 friend, will then `close
' the trap.
1276 trap 'exit_status
=$?
1277 # Save into config.log some information that might help in debugging.
1282 ## ---------------- ##
1283 ## Cache variables. ##
1284 ## ---------------- ##
1287 # The following way of writing the cache mishandles newlines in values,
1290 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1293 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1305 ## ----------------- ##
1306 ## Output variables. ##
1307 ## ----------------- ##
1310 for ac_var
in $ac_subst_vars
1312 eval ac_val
=$
`echo $ac_var`
1313 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -n "$ac_subst_files"; then
1324 for ac_var
in $ac_subst_files
1326 eval ac_val
=$
`echo $ac_var`
1327 echo "$ac_var='"'"'$ac_val'"'"'"
1332 if test -s confdefs.h
; then
1339 sed "/^$/d" confdefs.h |
sort
1342 test "$ac_signal" != 0 &&
1343 echo "$as_me: caught signal $ac_signal"
1344 echo "$as_me: exit $exit_status"
1346 rm -f core
*.core
&&
1347 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1350 for ac_signal in 1 2 13 15; do
1351 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1355 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1356 rm -rf conftest* confdefs.h
1357 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1360 # Predefined preprocessor variables.
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_NAME "$PACKAGE_NAME"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1372 cat >>confdefs.h <<_ACEOF
1373 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1377 cat >>confdefs.h <<_ACEOF
1378 #define PACKAGE_STRING "$PACKAGE_STRING"
1382 cat >>confdefs.h <<_ACEOF
1383 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1387 # Let the site file select an alternate cache file if it wants to.
1388 # Prefer explicitly selected file to automatically selected ones.
1389 if test -z "$CONFIG_SITE"; then
1390 if test "x$prefix" != xNONE; then
1391 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1393 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1396 for ac_site_file in $CONFIG_SITE; do
1397 if test -r "$ac_site_file"; then
1398 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1399 echo "$as_me: loading site script $ac_site_file" >&6;}
1400 sed 's
/^
/|
/' "$ac_site_file" >&5
1405 if test -r "$cache_file"; then
1406 # Some versions of bash will fail to source /dev/null (special
1407 # files actually), so we avoid doing that.
1408 if test -f "$cache_file"; then
1409 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1410 echo "$as_me: loading cache $cache_file" >&6;}
1412 [\\/]* | ?:[\\/]* ) . $cache_file;;
1413 *) . ./$cache_file;;
1417 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1418 echo "$as_me: creating cache $cache_file" >&6;}
1422 # Check that the precious variables saved in the cache have kept the same
1424 ac_cache_corrupted=false
1425 for ac_var in `(set) 2>&1 |
1426 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1427 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1428 eval ac_new_set=\$ac_env_${ac_var}_set
1429 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1430 eval ac_new_val="\$ac_env_${ac_var}_value"
1431 case $ac_old_set,$ac_new_set in
1433 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1434 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1435 ac_cache_corrupted=: ;;
1437 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1438 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1439 ac_cache_corrupted=: ;;
1442 if test "x$ac_old_val" != "x$ac_new_val"; then
1443 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1444 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1445 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1446 echo "$as_me: former value: $ac_old_val" >&2;}
1447 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1448 echo "$as_me: current value: $ac_new_val" >&2;}
1449 ac_cache_corrupted=:
1452 # Pass precious variables to config.status.
1453 if test "$ac_new_set" = set; then
1455 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1456 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1457 *) ac_arg=$ac_var=$ac_new_val ;;
1459 case " $ac_configure_args " in
1460 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1461 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1465 if $ac_cache_corrupted; then
1466 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1467 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1468 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1469 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1470 { (exit 1); exit 1; }; }
1474 ac_cpp='$CPP $CPPFLAGS'
1475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1476 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1499 for ac_dir in ../build-aux $srcdir/../build-aux; do
1500 if test -f $ac_dir/install-sh; then
1502 ac_install_sh="$ac_aux_dir/install-sh -c"
1504 elif test -f $ac_dir/install.sh; then
1506 ac_install_sh="$ac_aux_dir/install.sh -c"
1508 elif test -f $ac_dir/shtool; then
1510 ac_install_sh="$ac_aux_dir/shtool install -c"
1514 if test -z "$ac_aux_dir"; then
1515 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../build-aux $srcdir/../build-aux" >&5
1516 echo "$as_me: error: cannot find install-sh or install.sh in ../build-aux $srcdir/../build-aux" >&2;}
1517 { (exit 1); exit 1; }; }
1519 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1520 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1521 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1523 . $srcdir/../version.sh
1524 am__api_version="1.9"
1525 # Find a good install program. We prefer a C program (faster),
1526 # so one script is as good as another. But avoid the broken or
1527 # incompatible versions:
1528 # SysV /etc/install, /usr/sbin/install
1529 # SunOS /usr/etc/install
1530 # IRIX /sbin/install
1532 # AmigaOS /C/install, which installs bootblocks on floppy discs
1533 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1534 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1535 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1536 # OS/2's system install, which has a completely different semantic
1537 # ./install, which can be erroneously created by make from ./install.sh.
1538 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1539 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1540 if test -z "$INSTALL"; then
1541 if test "${ac_cv_path_install+set}" = set; then
1542 echo $ECHO_N "(cached) $ECHO_C" >&6
1544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1548 test -z "$as_dir" && as_dir
=.
1549 # Account for people who put trailing slashes in PATH elements.
1551 .
/ | .
// |
/cC
/* | \
1552 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1553 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1556 # OSF1 and SCO ODT 3.0 have their own names for install.
1557 # Don't use installbsd from OSF since it installs stuff as root
1559 for ac_prog
in ginstall scoinst
install; do
1560 for ac_exec_ext
in '' $ac_executable_extensions; do
1561 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1562 if test $ac_prog = install &&
1563 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1564 # AIX install. It has an incompatible calling convention.
1566 elif test $ac_prog = install &&
1567 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1568 # program-specific install script used by HP pwplus--don't use.
1571 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1583 if test "${ac_cv_path_install+set}" = set; then
1584 INSTALL
=$ac_cv_path_install
1586 # As a last resort, use the slow shell script. We don't cache a
1587 # path for INSTALL within a source directory, because that will
1588 # break other packages using the cache if that directory is
1589 # removed, or if the path is relative.
1590 INSTALL
=$ac_install_sh
1593 echo "$as_me:$LINENO: result: $INSTALL" >&5
1594 echo "${ECHO_T}$INSTALL" >&6
1596 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1597 # It thinks the first close brace ends the variable substitution.
1598 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1600 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1602 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1604 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1605 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1608 echo timestamp
> conftest.
file
1609 # Do `set' in a subshell so we don't clobber the current shell's
1610 # arguments. Must try -L first in case configure is actually a
1611 # symlink; some systems play weird games with the mod time of symlinks
1612 # (eg FreeBSD returns the mod time of the symlink's containing
1615 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1616 if test "$*" = "X"; then
1618 set X
`ls -t $srcdir/configure conftest.file`
1621 if test "$*" != "X $srcdir/configure conftest.file" \
1622 && test "$*" != "X conftest.file $srcdir/configure"; then
1624 # If neither matched, then we have a broken ls. This can happen
1625 # if, for instance, CONFIG_SHELL is bash and it inherits a
1626 # broken ls alias from the environment. This has actually
1627 # happened. Such a system could not be considered "sane".
1628 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1629 alias in your environment" >&5
1630 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1631 alias in your environment" >&2;}
1632 { (exit 1); exit 1; }; }
1635 test "$2" = conftest.
file
1641 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1642 Check your system clock" >&5
1643 echo "$as_me: error: newly created file is older than distributed files!
1644 Check your system clock" >&2;}
1645 { (exit 1); exit 1; }; }
1647 echo "$as_me:$LINENO: result: yes" >&5
1648 echo "${ECHO_T}yes" >&6
1649 test "$program_prefix" != NONE
&&
1650 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1651 # Use a double $ so make ignores it.
1652 test "$program_suffix" != NONE
&&
1653 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1654 # Double any \ or $. echo might interpret backslashes.
1655 # By default was `s,x,x', remove it if useless.
1656 cat <<\_ACEOF
>conftest.
sed
1657 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1659 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1662 # expand $ac_aux_dir to an absolute path
1663 am_aux_dir
=`cd $ac_aux_dir && pwd`
1665 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1666 # Use eval to expand $SHELL
1667 if eval "$MISSING --run true"; then
1668 am_missing_run
="$MISSING --run "
1671 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1672 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1675 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1676 # We used to keeping the `.' as first argument, in order to
1677 # allow $(mkdir_p) to be used without argument. As in
1678 # $(mkdir_p) $(somedir)
1679 # where $(somedir) is conditionally defined. However this is wrong
1681 # 1. if the package is installed by a user who cannot write `.'
1682 # make install will fail,
1683 # 2. the above comment should most certainly read
1684 # $(mkdir_p) $(DESTDIR)$(somedir)
1685 # so it does not work when $(somedir) is undefined and
1686 # $(DESTDIR) is not.
1687 # To support the latter case, we have to write
1688 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1689 # so the `.' trick is pointless.
1690 mkdir_p
='mkdir -p --'
1692 # On NextStep and OpenStep, the `mkdir' command does not
1693 # recognize any option. It will interpret all options as
1694 # directories to create, and then abort because `.' already
1696 for d
in .
/-p .
/--version;
1698 test -d $d && rmdir $d
1700 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1701 if test -f "$ac_aux_dir/mkinstalldirs"; then
1702 mkdir_p
='$(mkinstalldirs)'
1704 mkdir_p
='$(install_sh) -d'
1708 for ac_prog
in gawk mawk nawk
awk
1710 # Extract the first word of "$ac_prog", so it can be a program name with args.
1711 set dummy
$ac_prog; ac_word
=$2
1712 echo "$as_me:$LINENO: checking for $ac_word" >&5
1713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714 if test "${ac_cv_prog_AWK+set}" = set; then
1715 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 if test -n "$AWK"; then
1718 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1724 test -z "$as_dir" && as_dir
=.
1725 for ac_exec_ext
in '' $ac_executable_extensions; do
1726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727 ac_cv_prog_AWK
="$ac_prog"
1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1737 if test -n "$AWK"; then
1738 echo "$as_me:$LINENO: result: $AWK" >&5
1739 echo "${ECHO_T}$AWK" >&6
1741 echo "$as_me:$LINENO: result: no" >&5
1742 echo "${ECHO_T}no" >&6
1745 test -n "$AWK" && break
1748 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1749 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1750 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1751 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 cat >conftest.
make <<\_ACEOF
1756 @
echo 'ac_maketemp="$(MAKE)"'
1758 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1759 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1760 if test -n "$ac_maketemp"; then
1761 eval ac_cv_prog_make_
${ac_make}_set
=yes
1763 eval ac_cv_prog_make_
${ac_make}_set
=no
1767 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1768 echo "$as_me:$LINENO: result: yes" >&5
1769 echo "${ECHO_T}yes" >&6
1772 echo "$as_me:$LINENO: result: no" >&5
1773 echo "${ECHO_T}no" >&6
1774 SET_MAKE
="MAKE=${MAKE-make}"
1777 rm -rf .tst
2>/dev
/null
1778 mkdir .tst
2>/dev
/null
1779 if test -d .tst
; then
1784 rmdir .tst
2>/dev
/null
1786 # test to see if srcdir already configured
1787 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1788 test -f $srcdir/config.status
; then
1789 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1790 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1791 { (exit 1); exit 1; }; }
1794 # test whether we have cygpath
1795 if test -z "$CYGPATH_W"; then
1796 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1797 CYGPATH_W
='cygpath -w'
1804 # Define the identity of the package.
1805 PACKAGE
=autoconf-lib-link
1806 VERSION
=$VERSION_NUMBER
1809 cat >>confdefs.h
<<_ACEOF
1810 #define PACKAGE "$PACKAGE"
1814 cat >>confdefs.h
<<_ACEOF
1815 #define VERSION "$VERSION"
1818 # Some tools Automake needs.
1820 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1823 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1826 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1829 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1832 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1834 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1836 # Installed binaries are usually stripped using `strip' when the user
1837 # run `make install-strip'. However `strip' might not be the right
1838 # tool to use in cross-compilation environments, therefore Automake
1839 # will honor the `STRIP' environment variable to overrule this program.
1840 if test "$cross_compiling" != no
; then
1841 if test -n "$ac_tool_prefix"; then
1842 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1843 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1844 echo "$as_me:$LINENO: checking for $ac_word" >&5
1845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846 if test "${ac_cv_prog_STRIP+set}" = set; then
1847 echo $ECHO_N "(cached) $ECHO_C" >&6
1849 if test -n "$STRIP"; then
1850 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir
=.
1857 for ac_exec_ext
in '' $ac_executable_extensions; do
1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1868 STRIP
=$ac_cv_prog_STRIP
1869 if test -n "$STRIP"; then
1870 echo "$as_me:$LINENO: result: $STRIP" >&5
1871 echo "${ECHO_T}$STRIP" >&6
1873 echo "$as_me:$LINENO: result: no" >&5
1874 echo "${ECHO_T}no" >&6
1878 if test -z "$ac_cv_prog_STRIP"; then
1880 # Extract the first word of "strip", so it can be a program name with args.
1881 set dummy strip
; ac_word
=$2
1882 echo "$as_me:$LINENO: checking for $ac_word" >&5
1883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1884 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 if test -n "$ac_ct_STRIP"; then
1888 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir
=.
1895 for ac_exec_ext
in '' $ac_executable_extensions; do
1896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897 ac_cv_prog_ac_ct_STRIP
="strip"
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1907 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1908 if test -n "$ac_ct_STRIP"; then
1909 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1910 echo "${ECHO_T}$ac_ct_STRIP" >&6
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1918 STRIP
="$ac_cv_prog_STRIP"
1922 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1924 # We need awk for the "check" target. The system "awk" is bad on
1926 # Always define AMTAR for backward compatibility.
1928 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1930 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1938 ac_cpp
='$CPP $CPPFLAGS'
1939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1942 if test -n "$ac_tool_prefix"; then
1943 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1944 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1945 echo "$as_me:$LINENO: checking for $ac_word" >&5
1946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1947 if test "${ac_cv_prog_CC+set}" = set; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1950 if test -n "$CC"; then
1951 ac_cv_prog_CC
="$CC" # Let the user override the test.
1953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1957 test -z "$as_dir" && as_dir
=.
1958 for ac_exec_ext
in '' $ac_executable_extensions; do
1959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1960 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1970 if test -n "$CC"; then
1971 echo "$as_me:$LINENO: result: $CC" >&5
1972 echo "${ECHO_T}$CC" >&6
1974 echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6
1979 if test -z "$ac_cv_prog_CC"; then
1981 # Extract the first word of "gcc", so it can be a program name with args.
1982 set dummy gcc
; ac_word
=$2
1983 echo "$as_me:$LINENO: checking for $ac_word" >&5
1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1985 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 if test -n "$ac_ct_CC"; then
1989 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1995 test -z "$as_dir" && as_dir
=.
1996 for ac_exec_ext
in '' $ac_executable_extensions; do
1997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1998 ac_cv_prog_ac_ct_CC
="gcc"
1999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2008 if test -n "$ac_ct_CC"; then
2009 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2010 echo "${ECHO_T}$ac_ct_CC" >&6
2012 echo "$as_me:$LINENO: result: no" >&5
2013 echo "${ECHO_T}no" >&6
2021 if test -z "$CC"; then
2022 if test -n "$ac_tool_prefix"; then
2023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2024 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2025 echo "$as_me:$LINENO: checking for $ac_word" >&5
2026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2027 if test "${ac_cv_prog_CC+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2030 if test -n "$CC"; then
2031 ac_cv_prog_CC
="$CC" # Let the user override the test.
2033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2037 test -z "$as_dir" && as_dir
=.
2038 for ac_exec_ext
in '' $ac_executable_extensions; do
2039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2040 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 if test -n "$CC"; then
2051 echo "$as_me:$LINENO: result: $CC" >&5
2052 echo "${ECHO_T}$CC" >&6
2054 echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6
2059 if test -z "$ac_cv_prog_CC"; then
2061 # Extract the first word of "cc", so it can be a program name with args.
2062 set dummy cc
; ac_word
=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2068 if test -n "$ac_ct_CC"; then
2069 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2075 test -z "$as_dir" && as_dir
=.
2076 for ac_exec_ext
in '' $ac_executable_extensions; do
2077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_ac_ct_CC
="cc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2088 if test -n "$ac_ct_CC"; then
2089 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2090 echo "${ECHO_T}$ac_ct_CC" >&6
2092 echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2102 if test -z "$CC"; then
2103 # Extract the first word of "cc", so it can be a program name with args.
2104 set dummy cc
; ac_word
=$2
2105 echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107 if test "${ac_cv_prog_CC+set}" = set; then
2108 echo $ECHO_N "(cached) $ECHO_C" >&6
2110 if test -n "$CC"; then
2111 ac_cv_prog_CC
="$CC" # Let the user override the test.
2114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2118 test -z "$as_dir" && as_dir
=.
2119 for ac_exec_ext
in '' $ac_executable_extensions; do
2120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2121 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2122 ac_prog_rejected
=yes
2126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 if test $ac_prog_rejected = yes; then
2133 # We found a bogon in the path, so make sure we never use it.
2134 set dummy
$ac_cv_prog_CC
2136 if test $# != 0; then
2137 # We chose a different compiler from the bogus one.
2138 # However, it has the same basename, so the bogon will be chosen
2139 # first if we set CC to just the basename; use the full file name.
2141 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2147 if test -n "$CC"; then
2148 echo "$as_me:$LINENO: result: $CC" >&5
2149 echo "${ECHO_T}$CC" >&6
2151 echo "$as_me:$LINENO: result: no" >&5
2152 echo "${ECHO_T}no" >&6
2156 if test -z "$CC"; then
2157 if test -n "$ac_tool_prefix"; then
2160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2161 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2162 echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2164 if test "${ac_cv_prog_CC+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 if test -n "$CC"; then
2168 ac_cv_prog_CC
="$CC" # Let the user override the test.
2170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2174 test -z "$as_dir" && as_dir
=.
2175 for ac_exec_ext
in '' $ac_executable_extensions; do
2176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 if test -n "$CC"; then
2188 echo "$as_me:$LINENO: result: $CC" >&5
2189 echo "${ECHO_T}$CC" >&6
2191 echo "$as_me:$LINENO: result: no" >&5
2192 echo "${ECHO_T}no" >&6
2195 test -n "$CC" && break
2198 if test -z "$CC"; then
2202 # Extract the first word of "$ac_prog", so it can be a program name with args.
2203 set dummy
$ac_prog; ac_word
=$2
2204 echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2206 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 if test -n "$ac_ct_CC"; then
2210 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2216 test -z "$as_dir" && as_dir
=.
2217 for ac_exec_ext
in '' $ac_executable_extensions; do
2218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2219 ac_cv_prog_ac_ct_CC
="$ac_prog"
2220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2228 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2229 if test -n "$ac_ct_CC"; then
2230 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2231 echo "${ECHO_T}$ac_ct_CC" >&6
2233 echo "$as_me:$LINENO: result: no" >&5
2234 echo "${ECHO_T}no" >&6
2237 test -n "$ac_ct_CC" && break
2246 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2247 See \`config.log' for more details." >&5
2248 echo "$as_me: error: no acceptable C compiler found in \$PATH
2249 See \`config.log' for more details." >&2;}
2250 { (exit 1); exit 1; }; }
2252 # Provide some information about the compiler.
2253 echo "$as_me:$LINENO:" \
2254 "checking for C compiler version" >&5
2255 ac_compiler
=`set X $ac_compile; echo $2`
2256 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2257 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); }
2261 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2262 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }
2266 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2267 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }
2272 cat >conftest.
$ac_ext <<_ACEOF
2275 cat confdefs.h
>>conftest.
$ac_ext
2276 cat >>conftest.
$ac_ext <<_ACEOF
2277 /* end confdefs.h. */
2287 ac_clean_files_save
=$ac_clean_files
2288 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2289 # Try to create an executable without -o first, disregard a.out.
2290 # It will help us diagnose broken compilers, and finding out an intuition
2292 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2293 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2294 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2295 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2296 (eval $ac_link_default) 2>&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); }; then
2300 # Find the output, starting from the most likely. This scheme is
2301 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2304 # Be careful to initialize this variable, since it used to be cached.
2305 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2307 # b.out is created by i960 compilers.
2308 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2310 test -f "$ac_file" ||
continue
2312 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2315 # This is the source file.
2318 # We found the default executable, but exeext='' is most
2322 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2323 # FIXME: I believe we export ac_cv_exeext for Libtool,
2324 # but it would be cool to find out if it's true. Does anybody
2325 # maintain Libtool? --akim.
2333 echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.
$ac_ext >&5
2336 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2337 See \`config.log' for more details." >&5
2338 echo "$as_me: error: C compiler cannot create executables
2339 See \`config.log' for more details." >&2;}
2340 { (exit 77); exit 77; }; }
2343 ac_exeext
=$ac_cv_exeext
2344 echo "$as_me:$LINENO: result: $ac_file" >&5
2345 echo "${ECHO_T}$ac_file" >&6
2347 # Check the compiler produces executables we can run. If not, either
2348 # the compiler is broken, or we cross compile.
2349 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2350 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2351 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2352 # If not cross compiling, check that we can run a simple program.
2353 if test "$cross_compiling" != yes; then
2354 if { ac_try
='./$ac_file'
2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; }; then
2362 if test "$cross_compiling" = maybe
; then
2365 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2366 If you meant to cross compile, use \`--host'.
2367 See \`config.log' for more details." >&5
2368 echo "$as_me: error: cannot run C compiled programs.
2369 If you meant to cross compile, use \`--host'.
2370 See \`config.log' for more details." >&2;}
2371 { (exit 1); exit 1; }; }
2375 echo "$as_me:$LINENO: result: yes" >&5
2376 echo "${ECHO_T}yes" >&6
2378 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2379 ac_clean_files
=$ac_clean_files_save
2380 # Check the compiler produces executables we can run. If not, either
2381 # the compiler is broken, or we cross compile.
2382 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2383 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2384 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2385 echo "${ECHO_T}$cross_compiling" >&6
2387 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2388 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2390 (eval $ac_link) 2>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }; then
2394 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2395 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2396 # work properly (i.e., refer to `conftest.exe'), while it won't with
2398 for ac_file
in conftest.exe conftest conftest.
*; do
2399 test -f "$ac_file" ||
continue
2401 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2402 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2409 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2410 See \`config.log' for more details." >&5
2411 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2412 See \`config.log' for more details." >&2;}
2413 { (exit 1); exit 1; }; }
2416 rm -f conftest
$ac_cv_exeext
2417 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2418 echo "${ECHO_T}$ac_cv_exeext" >&6
2420 rm -f conftest.
$ac_ext
2421 EXEEXT
=$ac_cv_exeext
2423 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2424 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2425 if test "${ac_cv_objext+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 cat >conftest.
$ac_ext <<_ACEOF
2431 cat confdefs.h
>>conftest.
$ac_ext
2432 cat >>conftest.
$ac_ext <<_ACEOF
2433 /* end confdefs.h. */
2443 rm -f conftest.o conftest.obj
2444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2445 (eval $ac_compile) 2>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; then
2449 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2451 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2452 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2457 echo "$as_me: failed program was:" >&5
2458 sed 's/^/| /' conftest.
$ac_ext >&5
2460 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2461 See \`config.log' for more details." >&5
2462 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2463 See \`config.log' for more details." >&2;}
2464 { (exit 1); exit 1; }; }
2467 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2469 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2470 echo "${ECHO_T}$ac_cv_objext" >&6
2471 OBJEXT
=$ac_cv_objext
2473 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2474 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2475 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 cat >conftest.
$ac_ext <<_ACEOF
2481 cat confdefs.h
>>conftest.
$ac_ext
2482 cat >>conftest.
$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2496 rm -f conftest.
$ac_objext
2497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2498 (eval $ac_compile) 2>conftest.er1
2500 grep -v '^ *+' conftest.er1
>conftest.err
2502 cat conftest.err
>&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); } &&
2505 { ac_try
='test -z "$ac_c_werror_flag"
2506 || test ! -s conftest.err'
2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; } &&
2512 { ac_try
='test -s conftest.$ac_objext'
2513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }; }; then
2520 echo "$as_me: failed program was:" >&5
2521 sed 's/^/| /' conftest.
$ac_ext >&5
2525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2526 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2529 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2530 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2531 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2532 ac_test_CFLAGS
=${CFLAGS+set}
2533 ac_save_CFLAGS
=$CFLAGS
2535 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2536 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2537 if test "${ac_cv_prog_cc_g+set}" = set; then
2538 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 cat >conftest.
$ac_ext <<_ACEOF
2543 cat confdefs.h
>>conftest.
$ac_ext
2544 cat >>conftest.
$ac_ext <<_ACEOF
2545 /* end confdefs.h. */
2555 rm -f conftest.
$ac_objext
2556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2557 (eval $ac_compile) 2>conftest.er1
2559 grep -v '^ *+' conftest.er1
>conftest.err
2561 cat conftest.err
>&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); } &&
2564 { ac_try
='test -z "$ac_c_werror_flag"
2565 || test ! -s conftest.err'
2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; } &&
2571 { ac_try
='test -s conftest.$ac_objext'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; }; then
2579 echo "$as_me: failed program was:" >&5
2580 sed 's/^/| /' conftest.
$ac_ext >&5
2584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2586 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2587 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2588 if test "$ac_test_CFLAGS" = set; then
2589 CFLAGS
=$ac_save_CFLAGS
2590 elif test $ac_cv_prog_cc_g = yes; then
2591 if test "$GCC" = yes; then
2597 if test "$GCC" = yes; then
2603 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2604 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2605 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 ac_cv_prog_cc_stdc
=no
2610 cat >conftest.
$ac_ext <<_ACEOF
2613 cat confdefs.h
>>conftest.
$ac_ext
2614 cat >>conftest.
$ac_ext <<_ACEOF
2615 /* end confdefs.h. */
2618 #include <sys/types.h>
2619 #include <sys/stat.h>
2620 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2621 struct buf { int x; };
2622 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2623 static char *e (p, i)
2629 static char *f (char * (*g) (char **, int), char **p, ...)
2634 s = g (p, va_arg (v,int));
2639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2640 function prototypes and stuff, but not '\xHH' hex character constants.
2641 These don't provoke an error unfortunately, instead are silently treated
2642 as 'x'. The following induces an error, until -std1 is added to get
2643 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2644 array size at least. It's necessary to write '\x00'==0 to get something
2645 that's true only with -std1. */
2646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2648 int test (int i, double x);
2649 struct s1 {int (*f) (int a);};
2650 struct s2 {int (*f) (double a);};
2651 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2657 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2662 # Don't try gcc -ansi; that turns off useful extensions and
2663 # breaks some systems' header files.
2664 # AIX -qlanglvl=ansi
2665 # Ultrix and OSF/1 -std1
2666 # HP-UX 10.20 and later -Ae
2667 # HP-UX older versions -Aa -D_HPUX_SOURCE
2668 # SVR4 -Xc -D__EXTENSIONS__
2669 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2671 CC
="$ac_save_CC $ac_arg"
2672 rm -f conftest.
$ac_objext
2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2674 (eval $ac_compile) 2>conftest.er1
2676 grep -v '^ *+' conftest.er1
>conftest.err
2678 cat conftest.err
>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } &&
2681 { ac_try
='test -z "$ac_c_werror_flag"
2682 || test ! -s conftest.err'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; } &&
2688 { ac_try
='test -s conftest.$ac_objext'
2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2694 ac_cv_prog_cc_stdc
=$ac_arg
2697 echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.
$ac_ext >&5
2701 rm -f conftest.err conftest.
$ac_objext
2703 rm -f conftest.
$ac_ext conftest.
$ac_objext
2708 case "x$ac_cv_prog_cc_stdc" in
2710 echo "$as_me:$LINENO: result: none needed" >&5
2711 echo "${ECHO_T}none needed" >&6 ;;
2713 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2714 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2715 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2718 # Some people use a C++ compiler to compile C. Since we use `exit',
2719 # in C++ we need to declare it. In case someone uses the same compiler
2720 # for both compiling C and C++ we need to have the C++ compiler decide
2721 # the declaration of exit, since it's the most demanding environment.
2722 cat >conftest.
$ac_ext <<_ACEOF
2727 rm -f conftest.
$ac_objext
2728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2729 (eval $ac_compile) 2>conftest.er1
2731 grep -v '^ *+' conftest.er1
>conftest.err
2733 cat conftest.err
>&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); } &&
2736 { ac_try
='test -z "$ac_c_werror_flag"
2737 || test ! -s conftest.err'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; } &&
2743 { ac_try
='test -s conftest.$ac_objext'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2749 for ac_declaration
in \
2751 'extern "C" void std::exit (int) throw (); using std::exit;' \
2752 'extern "C" void std::exit (int); using std::exit;' \
2753 'extern "C" void exit (int) throw ();' \
2754 'extern "C" void exit (int);' \
2757 cat >conftest.
$ac_ext <<_ACEOF
2760 cat confdefs.h
>>conftest.
$ac_ext
2761 cat >>conftest.
$ac_ext <<_ACEOF
2762 /* end confdefs.h. */
2773 rm -f conftest.
$ac_objext
2774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2775 (eval $ac_compile) 2>conftest.er1
2777 grep -v '^ *+' conftest.er1
>conftest.err
2779 cat conftest.err
>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } &&
2782 { ac_try
='test -z "$ac_c_werror_flag"
2783 || test ! -s conftest.err'
2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; } &&
2789 { ac_try
='test -s conftest.$ac_objext'
2790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; }; then
2797 echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.
$ac_ext >&5
2802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2803 cat >conftest.
$ac_ext <<_ACEOF
2806 cat confdefs.h
>>conftest.
$ac_ext
2807 cat >>conftest.
$ac_ext <<_ACEOF
2808 /* end confdefs.h. */
2818 rm -f conftest.
$ac_objext
2819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2820 (eval $ac_compile) 2>conftest.er1
2822 grep -v '^ *+' conftest.er1
>conftest.err
2824 cat conftest.err
>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); } &&
2827 { ac_try
='test -z "$ac_c_werror_flag"
2828 || test ! -s conftest.err'
2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; } &&
2834 { ac_try
='test -s conftest.$ac_objext'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; }; then
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2849 if test -n "$ac_declaration"; then
2850 echo '#ifdef __cplusplus' >>confdefs.h
2851 echo $ac_declaration >>confdefs.h
2852 echo '#endif' >>confdefs.h
2856 echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.
$ac_ext >&5
2860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2862 ac_cpp
='$CPP $CPPFLAGS'
2863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2866 DEPDIR
="${am__leading_dot}deps"
2868 ac_config_commands
="$ac_config_commands depfiles"
2871 am_make
=${MAKE-make}
2872 cat > confinc
<< 'END'
2877 # If we don't find an include directive, just comment out the code.
2878 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2879 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2883 # First try GNU make style include.
2884 echo "include confinc" > confmf
2885 # We grep out `Entering directory' and `Leaving directory'
2886 # messages which can occur if `w' ends up in MAKEFLAGS.
2887 # In particular we don't look at `^make:' because GNU make might
2888 # be invoked under some other name (usually "gmake"), in which
2889 # case it prints its new name instead of `make'.
2890 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2895 # Now try BSD make style include.
2896 if test "$am__include" = "#"; then
2897 echo '.include "confinc"' > confmf
2898 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2899 am__include
=.include
2906 echo "$as_me:$LINENO: result: $_am_result" >&5
2907 echo "${ECHO_T}$_am_result" >&6
2908 rm -f confinc confmf
2910 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2911 if test "${enable_dependency_tracking+set}" = set; then
2912 enableval
="$enable_dependency_tracking"
2915 if test "x$enable_dependency_tracking" != xno
; then
2916 am_depcomp
="$ac_aux_dir/depcomp"
2921 if test "x$enable_dependency_tracking" != xno; then
2932 depcc
="$CC" am_compiler_list
=
2934 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2935 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2936 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2937 echo $ECHO_N "(cached) $ECHO_C" >&6
2939 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2940 # We make a subdir and do the tests there. Otherwise we can end up
2941 # making bogus files that we don't know about and never remove. For
2942 # instance it was reported that on HP-UX the gcc test will end up
2943 # making a dummy file named `D' -- because `-MD' means `put the output
2946 # Copy depcomp to subdir because otherwise we won't find it if we're
2947 # using a relative directory.
2948 cp "$am_depcomp" conftest.dir
2950 # We will build objects and dependencies in a subdirectory because
2951 # it helps to detect inapplicable dependency modes. For instance
2952 # both Tru64's cc and ICC support -MD to output dependencies as a
2953 # side effect of compilation, but ICC will put the dependencies in
2954 # the current directory while Tru64 will put them in the object
2958 am_cv_CC_dependencies_compiler_type
=none
2959 if test "$am_compiler_list" = ""; then
2960 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2962 for depmode
in $am_compiler_list; do
2963 # Setup a source with many dependencies, because some compilers
2964 # like to wrap large dependency lists on column 80 (with \), and
2965 # we should not choose a depcomp mode which is confused by this.
2967 # We need to recreate these files for each test, as the compiler may
2968 # overwrite some of them when testing with obscure command lines.
2969 # This happens at least with the AIX C compiler.
2971 for i
in 1 2 3 4 5 6; do
2972 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2973 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2974 # Solaris 8's {/usr,}/bin/sh.
2975 touch sub
/conftst
$i.h
2977 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2981 # after this tag, mechanisms are not by side-effect, so they'll
2982 # only be used when explicitly requested
2983 if test "x$enable_dependency_tracking" = xyes
; then
2991 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2992 # mode. It turns out that the SunPro C++ compiler does not properly
2993 # handle `-M -o', and we need to detect this.
2994 if depmode
=$depmode \
2995 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2996 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2997 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2998 >/dev
/null
2>conftest.err
&&
2999 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3000 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3001 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3002 # icc doesn't choke on unknown options, it will just issue warnings
3003 # or remarks (even with -Werror). So we grep stderr for any message
3004 # that says an option was ignored or not supported.
3005 # When given -MP, icc 7.0 and 7.1 complain thusly:
3006 # icc: Command line warning: ignoring option '-M'; no argument required
3007 # The diagnosis changed in icc 8.0:
3008 # icc: Command line remark: option '-MP' not supported
3009 if (grep 'ignoring option' conftest.err ||
3010 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3011 am_cv_CC_dependencies_compiler_type
=$depmode
3020 am_cv_CC_dependencies_compiler_type
=none
3024 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3025 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3026 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3031 test "x$enable_dependency_tracking" != xno \
3032 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3034 am__fastdepCC_FALSE
='#'
3036 am__fastdepCC_TRUE
='#'
3037 am__fastdepCC_FALSE
=
3041 # Find a good install program. We prefer a C program (faster),
3042 # so one script is as good as another. But avoid the broken or
3043 # incompatible versions:
3044 # SysV /etc/install, /usr/sbin/install
3045 # SunOS /usr/etc/install
3046 # IRIX /sbin/install
3048 # AmigaOS /C/install, which installs bootblocks on floppy discs
3049 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3050 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3051 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3052 # OS/2's system install, which has a completely different semantic
3053 # ./install, which can be erroneously created by make from ./install.sh.
3054 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3055 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3056 if test -z "$INSTALL"; then
3057 if test "${ac_cv_path_install+set}" = set; then
3058 echo $ECHO_N "(cached) $ECHO_C" >&6
3060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir
=.
3065 # Account for people who put trailing slashes in PATH elements.
3067 .
/ | .
// |
/cC
/* | \
3068 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3069 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3072 # OSF1 and SCO ODT 3.0 have their own names for install.
3073 # Don't use installbsd from OSF since it installs stuff as root
3075 for ac_prog
in ginstall scoinst
install; do
3076 for ac_exec_ext
in '' $ac_executable_extensions; do
3077 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3078 if test $ac_prog = install &&
3079 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3080 # AIX install. It has an incompatible calling convention.
3082 elif test $ac_prog = install &&
3083 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3084 # program-specific install script used by HP pwplus--don't use.
3087 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3099 if test "${ac_cv_path_install+set}" = set; then
3100 INSTALL
=$ac_cv_path_install
3102 # As a last resort, use the slow shell script. We don't cache a
3103 # path for INSTALL within a source directory, because that will
3104 # break other packages using the cache if that directory is
3105 # removed, or if the path is relative.
3106 INSTALL
=$ac_install_sh
3109 echo "$as_me:$LINENO: result: $INSTALL" >&5
3110 echo "${ECHO_T}$INSTALL" >&6
3112 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3113 # It thinks the first close brace ends the variable substitution.
3114 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3116 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3118 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3121 # Make sure we can run config.sub.
3122 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3123 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3124 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3125 { (exit 1); exit 1; }; }
3127 echo "$as_me:$LINENO: checking build system type" >&5
3128 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3129 if test "${ac_cv_build+set}" = set; then
3130 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 ac_cv_build_alias
=$build_alias
3133 test -z "$ac_cv_build_alias" &&
3134 ac_cv_build_alias
=`$ac_config_guess`
3135 test -z "$ac_cv_build_alias" &&
3136 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3137 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3138 { (exit 1); exit 1; }; }
3139 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3140 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3141 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3142 { (exit 1); exit 1; }; }
3145 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3146 echo "${ECHO_T}$ac_cv_build" >&6
3148 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3149 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3150 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3153 echo "$as_me:$LINENO: checking host system type" >&5
3154 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3155 if test "${ac_cv_host+set}" = set; then
3156 echo $ECHO_N "(cached) $ECHO_C" >&6
3158 ac_cv_host_alias
=$host_alias
3159 test -z "$ac_cv_host_alias" &&
3160 ac_cv_host_alias
=$ac_cv_build_alias
3161 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3162 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3163 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3164 { (exit 1); exit 1; }; }
3167 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3168 echo "${ECHO_T}$ac_cv_host" >&6
3170 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3171 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3172 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3182 # Check whether --enable-shared or --disable-shared was given.
3183 if test "${enable_shared+set}" = set; then
3184 enableval
="$enable_shared"
3185 p
=${PACKAGE-default}
3187 yes) enable_shared
=yes ;;
3188 no
) enable_shared
=no
;;
3191 # Look at the argument we got. We use all the common list separators.
3192 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3193 for pkg
in $enableval; do
3195 if test "X$pkg" = "X$p"; then
3206 # Check whether --enable-static or --disable-static was given.
3207 if test "${enable_static+set}" = set; then
3208 enableval
="$enable_static"
3209 p
=${PACKAGE-default}
3211 yes) enable_static
=yes ;;
3212 no
) enable_static
=no
;;
3215 # Look at the argument we got. We use all the common list separators.
3216 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3217 for pkg
in $enableval; do
3219 if test "X$pkg" = "X$p"; then
3230 # Check whether --enable-fast-install or --disable-fast-install was given.
3231 if test "${enable_fast_install+set}" = set; then
3232 enableval
="$enable_fast_install"
3233 p
=${PACKAGE-default}
3235 yes) enable_fast_install
=yes ;;
3236 no
) enable_fast_install
=no
;;
3238 enable_fast_install
=no
3239 # Look at the argument we got. We use all the common list separators.
3240 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3241 for pkg
in $enableval; do
3243 if test "X$pkg" = "X$p"; then
3244 enable_fast_install
=yes
3251 enable_fast_install
=yes
3254 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3255 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3256 if test "${lt_cv_path_SED+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 # Loop through the user's path and test for sed and gsed.
3260 # Then use that list of sed's as ones to test for truncation.
3261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir
=.
3266 for lt_ac_prog
in sed gsed
; do
3267 for ac_exec_ext
in '' $ac_executable_extensions; do
3268 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3269 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3276 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3277 # along with /bin/sed that truncates output.
3278 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3279 test ! -f $lt_ac_sed && continue
3280 cat /dev
/null
> conftest.
in
3282 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3283 # Check for GNU sed and select it if it is found.
3284 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3285 lt_cv_path_SED
=$lt_ac_sed
3289 cat conftest.
in conftest.
in >conftest.tmp
3290 mv conftest.tmp conftest.
in
3291 cp conftest.
in conftest.
nl
3293 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3294 cmp -s conftest.out conftest.
nl ||
break
3295 # 10000 chars as input seems more than enough
3296 test $lt_ac_count -gt 10 && break
3297 lt_ac_count
=`expr $lt_ac_count + 1`
3298 if test $lt_ac_count -gt $lt_ac_max; then
3299 lt_ac_max
=$lt_ac_count
3300 lt_cv_path_SED
=$lt_ac_sed
3308 echo "$as_me:$LINENO: result: $SED" >&5
3309 echo "${ECHO_T}$SED" >&6
3311 echo "$as_me:$LINENO: checking for egrep" >&5
3312 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3313 if test "${ac_cv_prog_egrep+set}" = set; then
3314 echo $ECHO_N "(cached) $ECHO_C" >&6
3316 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3317 then ac_cv_prog_egrep
='grep -E'
3318 else ac_cv_prog_egrep
='egrep'
3321 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3322 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3323 EGREP
=$ac_cv_prog_egrep
3327 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3328 if test "${with_gnu_ld+set}" = set; then
3329 withval
="$with_gnu_ld"
3330 test "$withval" = no || with_gnu_ld
=yes
3335 if test "$GCC" = yes; then
3336 # Check if gcc -print-prog-name=ld gives a path.
3337 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3338 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3341 # gcc leaves a trailing carriage return which upsets mingw
3342 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3344 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3347 # Accept absolute paths.
3349 re_direlt
='/[^/][^/]*/\.\./'
3350 # Canonicalize the pathname of ld
3351 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3352 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3353 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3355 test -z "$LD" && LD
="$ac_prog"
3358 # If it fails, then pretend we aren't using GCC.
3362 # If it is relative, then search for the first ld in PATH.
3366 elif test "$with_gnu_ld" = yes; then
3367 echo "$as_me:$LINENO: checking for GNU ld" >&5
3368 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3370 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3371 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3373 if test "${lt_cv_path_LD+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 if test -z "$LD"; then
3377 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3378 for ac_dir
in $PATH; do
3380 test -z "$ac_dir" && ac_dir
=.
3381 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3382 lt_cv_path_LD
="$ac_dir/$ac_prog"
3383 # Check to see if the program is GNU ld. I'd rather use --version,
3384 # but apparently some GNU ld's only accept -v.
3385 # Break only if it was the GNU/non-GNU ld that we prefer.
3386 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3387 *GNU
* |
*'with BFD'*)
3388 test "$with_gnu_ld" != no
&& break
3391 test "$with_gnu_ld" != yes && break
3398 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3403 if test -n "$LD"; then
3404 echo "$as_me:$LINENO: result: $LD" >&5
3405 echo "${ECHO_T}$LD" >&6
3407 echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3410 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3411 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3412 { (exit 1); exit 1; }; }
3413 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3414 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3415 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3416 echo $ECHO_N "(cached) $ECHO_C" >&6
3418 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3419 case `$LD -v 2>&1 </dev/null` in
3420 *GNU
* |
*'with BFD'*)
3421 lt_cv_prog_gnu_ld
=yes
3424 lt_cv_prog_gnu_ld
=no
3428 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3429 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3430 with_gnu_ld
=$lt_cv_prog_gnu_ld
3433 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3434 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3435 if test "${lt_cv_ld_reload_flag+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 lt_cv_ld_reload_flag
='-r'
3440 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3441 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3442 reload_flag
=$lt_cv_ld_reload_flag
3443 case $reload_flag in
3445 *) reload_flag
=" $reload_flag" ;;
3447 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3450 if test "$GCC" = yes; then
3451 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
3453 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3458 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3459 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3460 if test "${lt_cv_path_NM+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 if test -n "$NM"; then
3464 # Let the user override the test.
3467 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3468 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3470 test -z "$ac_dir" && ac_dir
=.
3471 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3472 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3473 # Check to see if the nm accepts a BSD-compat flag.
3474 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3475 # nm: unknown option "B" ignored
3476 # Tru64's nm complains that /dev/null is an invalid object file
3477 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3478 */dev
/null
* |
*'Invalid file or object type'*)
3479 lt_cv_path_NM
="$tmp_nm -B"
3483 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3485 lt_cv_path_NM
="$tmp_nm -p"
3489 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3490 continue # so that we can try to find one that supports BSD flags
3497 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3500 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3501 echo "${ECHO_T}$lt_cv_path_NM" >&6
3504 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3505 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3507 if test "$LN_S" = "ln -s"; then
3508 echo "$as_me:$LINENO: result: yes" >&5
3509 echo "${ECHO_T}yes" >&6
3511 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3512 echo "${ECHO_T}no, using $LN_S" >&6
3515 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3516 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3517 if test "${lt_cv_deplibs_check_method+set}" = set; then
3518 echo $ECHO_N "(cached) $ECHO_C" >&6
3520 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3521 lt_cv_file_magic_test_file
=
3522 lt_cv_deplibs_check_method
='unknown'
3523 # Need to set the preceding variable on all platforms that support
3524 # interlibrary dependencies.
3525 # 'none' -- dependencies not supported.
3526 # `unknown' -- same as none, but documents that we really don't know.
3527 # 'pass_all' -- all dependencies passed with no checks.
3528 # 'test_compile' -- check by making test program.
3529 # 'file_magic [[regex]]' -- check by looking for files in library path
3530 # which responds to the $file_magic_cmd with a given extended regex.
3531 # If you have `file' or equivalent on your system and you're not sure
3532 # whether `pass_all' will *always* work, you probably want this one.
3536 lt_cv_deplibs_check_method
=pass_all
3540 lt_cv_deplibs_check_method
=pass_all
3544 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3545 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3546 lt_cv_file_magic_test_file
=/shlib
/libc.so
3550 # func_win32_libid is a shell function defined in ltmain.sh
3551 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3552 lt_cv_file_magic_cmd
='func_win32_libid'
3556 # Base MSYS/MinGW do not provide the 'file' command needed by
3557 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3558 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3559 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3562 darwin
* | rhapsody
*)
3563 lt_cv_deplibs_check_method
=pass_all
3566 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3567 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3570 # Not sure whether the presence of OpenBSD here was a mistake.
3571 # Let's accept both of them until this is cleared up.
3572 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3573 lt_cv_file_magic_cmd
=/usr
/bin
/file
3574 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3578 lt_cv_deplibs_check_method
=pass_all
3583 lt_cv_deplibs_check_method
=pass_all
3586 hpux10.20
* | hpux11
*)
3587 lt_cv_file_magic_cmd
=/usr
/bin
/file
3590 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3591 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3594 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]'
3595 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3598 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3599 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3604 irix5
* | irix6
* | nonstopux
*)
3606 *-32|
*"-32 ") libmagic
=32-bit;;
3607 *-n32|
*"-n32 ") libmagic
=N32
;;
3608 *-64|
*"-64 ") libmagic
=64-bit;;
3609 *) libmagic
=never-match
;;
3611 lt_cv_deplibs_check_method
=pass_all
3614 # This must be Linux ELF.
3616 lt_cv_deplibs_check_method
=pass_all
3620 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3621 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3623 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3628 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3629 lt_cv_file_magic_cmd
=/usr
/bin
/file
3630 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3634 lt_cv_deplibs_check_method
=unknown
3638 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3639 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3641 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3645 osf3
* | osf4
* | osf5
*)
3646 lt_cv_deplibs_check_method
=pass_all
3650 lt_cv_deplibs_check_method
=pass_all
3654 lt_cv_deplibs_check_method
=pass_all
3657 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3658 case $host_vendor in
3660 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]'
3661 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3664 lt_cv_deplibs_check_method
=pass_all
3667 lt_cv_file_magic_cmd
='/bin/file'
3668 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3671 lt_cv_file_magic_cmd
='/bin/file'
3672 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3673 lt_cv_file_magic_test_file
=/lib
/libc.so
3676 lt_cv_deplibs_check_method
=pass_all
3681 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
3682 lt_cv_deplibs_check_method
=pass_all
3687 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3688 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3689 file_magic_cmd
=$lt_cv_file_magic_cmd
3690 deplibs_check_method
=$lt_cv_deplibs_check_method
3691 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3694 # If no C compiler was specified, use CC.
3697 # Allow CC to be a program name with arguments.
3701 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3702 if test "${enable_libtool_lock+set}" = set; then
3703 enableval
="$enable_libtool_lock"
3706 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3708 # Some flags need to be propagated to the compiler or linker for good
3712 # Find out which ABI we are using.
3713 echo 'int i;' > conftest.
$ac_ext
3714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3715 (eval $ac_compile) 2>&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); }; then
3719 case `/usr/bin/file conftest.$ac_objext` in
3731 # Find out which ABI we are using.
3732 echo '#line 3732 "configure"' > conftest.
$ac_ext
3733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3734 (eval $ac_compile) 2>&5
3736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 (exit $ac_status); }; then
3738 if test "$lt_cv_prog_gnu_ld" = yes; then
3739 case `/usr/bin/file conftest.$ac_objext` in
3741 LD
="${LD-ld} -melf32bsmip"
3744 LD
="${LD-ld} -melf32bmipn32"
3747 LD
="${LD-ld} -melf64bmip"
3751 case `/usr/bin/file conftest.$ac_objext` in
3767 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3768 # Find out which ABI we are using.
3769 echo 'int i;' > conftest.
$ac_ext
3770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3771 (eval $ac_compile) 2>&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }; then
3775 case "`/usr/bin/file conftest.o`" in
3779 LD
="${LD-ld} -m elf_i386"
3781 ppc64-
*linux
*|powerpc64-
*linux
*)
3782 LD
="${LD-ld} -m elf32ppclinux"
3785 LD
="${LD-ld} -m elf_s390"
3788 LD
="${LD-ld} -m elf32_sparc"
3795 LD
="${LD-ld} -m elf_x86_64"
3797 ppc
*-*linux
*|powerpc
*-*linux
*)
3798 LD
="${LD-ld} -m elf64ppc"
3801 LD
="${LD-ld} -m elf64_s390"
3804 LD
="${LD-ld} -m elf64_sparc"
3814 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3815 SAVE_CFLAGS
="$CFLAGS"
3816 CFLAGS
="$CFLAGS -belf"
3817 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3818 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3819 if test "${lt_cv_cc_needs_belf+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 ac_cpp
='$CPP $CPPFLAGS'
3824 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3825 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3826 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3828 cat >conftest.
$ac_ext <<_ACEOF
3831 cat confdefs.h
>>conftest.
$ac_ext
3832 cat >>conftest.
$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3843 rm -f conftest.
$ac_objext conftest
$ac_exeext
3844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3845 (eval $ac_link) 2>conftest.er1
3847 grep -v '^ *+' conftest.er1
>conftest.err
3849 cat conftest.err
>&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); } &&
3852 { ac_try
='test -z "$ac_c_werror_flag"
3853 || test ! -s conftest.err'
3854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); }; } &&
3859 { ac_try
='test -s conftest$ac_exeext'
3860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); }; }; then
3865 lt_cv_cc_needs_belf
=yes
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.
$ac_ext >&5
3870 lt_cv_cc_needs_belf
=no
3872 rm -f conftest.err conftest.
$ac_objext \
3873 conftest
$ac_exeext conftest.
$ac_ext
3875 ac_cpp
='$CPP $CPPFLAGS'
3876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3881 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3882 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3883 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3884 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3885 CFLAGS
="$SAVE_CFLAGS"
3888 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
3889 if test -n "$ac_tool_prefix"; then
3890 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3891 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
3892 echo "$as_me:$LINENO: checking for $ac_word" >&5
3893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3894 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 if test -n "$DLLTOOL"; then
3898 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
3900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3904 test -z "$as_dir" && as_dir
=.
3905 for ac_exec_ext
in '' $ac_executable_extensions; do
3906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
3908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 DLLTOOL
=$ac_cv_prog_DLLTOOL
3917 if test -n "$DLLTOOL"; then
3918 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3919 echo "${ECHO_T}$DLLTOOL" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3926 if test -z "$ac_cv_prog_DLLTOOL"; then
3927 ac_ct_DLLTOOL
=$DLLTOOL
3928 # Extract the first word of "dlltool", so it can be a program name with args.
3929 set dummy dlltool
; ac_word
=$2
3930 echo "$as_me:$LINENO: checking for $ac_word" >&5
3931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3932 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3933 echo $ECHO_N "(cached) $ECHO_C" >&6
3935 if test -n "$ac_ct_DLLTOOL"; then
3936 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
3938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3942 test -z "$as_dir" && as_dir
=.
3943 for ac_exec_ext
in '' $ac_executable_extensions; do
3944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3945 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
3946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
3955 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
3956 if test -n "$ac_ct_DLLTOOL"; then
3957 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3958 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3960 echo "$as_me:$LINENO: result: no" >&5
3961 echo "${ECHO_T}no" >&6
3964 DLLTOOL
=$ac_ct_DLLTOOL
3966 DLLTOOL
="$ac_cv_prog_DLLTOOL"
3969 if test -n "$ac_tool_prefix"; then
3970 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3971 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3972 echo "$as_me:$LINENO: checking for $ac_word" >&5
3973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3974 if test "${ac_cv_prog_AS+set}" = set; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3977 if test -n "$AS"; then
3978 ac_cv_prog_AS
="$AS" # Let the user override the test.
3980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir
=.
3985 for ac_exec_ext
in '' $ac_executable_extensions; do
3986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_AS
="${ac_tool_prefix}as"
3988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 if test -n "$AS"; then
3998 echo "$as_me:$LINENO: result: $AS" >&5
3999 echo "${ECHO_T}$AS" >&6
4001 echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6
4006 if test -z "$ac_cv_prog_AS"; then
4008 # Extract the first word of "as", so it can be a program name with args.
4009 set dummy as
; ac_word
=$2
4010 echo "$as_me:$LINENO: checking for $ac_word" >&5
4011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4012 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4013 echo $ECHO_N "(cached) $ECHO_C" >&6
4015 if test -n "$ac_ct_AS"; then
4016 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4022 test -z "$as_dir" && as_dir
=.
4023 for ac_exec_ext
in '' $ac_executable_extensions; do
4024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4025 ac_cv_prog_ac_ct_AS
="as"
4026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
4035 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4036 if test -n "$ac_ct_AS"; then
4037 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4038 echo "${ECHO_T}$ac_ct_AS" >&6
4040 echo "$as_me:$LINENO: result: no" >&5
4041 echo "${ECHO_T}no" >&6
4049 if test -n "$ac_tool_prefix"; then
4050 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4051 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4052 echo "$as_me:$LINENO: checking for $ac_word" >&5
4053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4054 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 if test -n "$OBJDUMP"; then
4058 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4064 test -z "$as_dir" && as_dir
=.
4065 for ac_exec_ext
in '' $ac_executable_extensions; do
4066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4067 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4076 OBJDUMP
=$ac_cv_prog_OBJDUMP
4077 if test -n "$OBJDUMP"; then
4078 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4079 echo "${ECHO_T}$OBJDUMP" >&6
4081 echo "$as_me:$LINENO: result: no" >&5
4082 echo "${ECHO_T}no" >&6
4086 if test -z "$ac_cv_prog_OBJDUMP"; then
4087 ac_ct_OBJDUMP
=$OBJDUMP
4088 # Extract the first word of "objdump", so it can be a program name with args.
4089 set dummy objdump
; ac_word
=$2
4090 echo "$as_me:$LINENO: checking for $ac_word" >&5
4091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4092 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 if test -n "$ac_ct_OBJDUMP"; then
4096 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4102 test -z "$as_dir" && as_dir
=.
4103 for ac_exec_ext
in '' $ac_executable_extensions; do
4104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4105 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
4115 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4116 if test -n "$ac_ct_OBJDUMP"; then
4117 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4118 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4120 echo "$as_me:$LINENO: result: no" >&5
4121 echo "${ECHO_T}no" >&6
4124 OBJDUMP
=$ac_ct_OBJDUMP
4126 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4133 need_locks
="$enable_libtool_lock"
4137 ac_cpp
='$CPP $CPPFLAGS'
4138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4141 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4142 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4143 # On Suns, sometimes $CPP names a directory.
4144 if test -n "$CPP" && test -d "$CPP"; then
4147 if test -z "$CPP"; then
4148 if test "${ac_cv_prog_CPP+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 # Double quotes because CPP needs to be expanded
4152 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4155 for ac_c_preproc_warn_flag
in '' yes
4157 # Use a header file that comes with gcc, so configuring glibc
4158 # with a fresh cross-compiler works.
4159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4160 # <limits.h> exists even on freestanding compilers.
4161 # On the NeXT, cc -E runs the code through the compiler's parser,
4162 # not just through cpp. "Syntax error" is here to catch this case.
4163 cat >conftest.
$ac_ext <<_ACEOF
4166 cat confdefs.h
>>conftest.
$ac_ext
4167 cat >>conftest.
$ac_ext <<_ACEOF
4168 /* end confdefs.h. */
4170 # include <limits.h>
4172 # include <assert.h>
4176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4177 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4179 grep -v '^ *+' conftest.er1
>conftest.err
4181 cat conftest.err
>&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } >/dev
/null
; then
4184 if test -s conftest.err
; then
4185 ac_cpp_err
=$ac_c_preproc_warn_flag
4186 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4193 if test -z "$ac_cpp_err"; then
4196 echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.
$ac_ext >&5
4199 # Broken: fails on valid input.
4202 rm -f conftest.err conftest.
$ac_ext
4204 # OK, works on sane cases. Now check whether non-existent headers
4205 # can be detected and how.
4206 cat >conftest.
$ac_ext <<_ACEOF
4209 cat confdefs.h
>>conftest.
$ac_ext
4210 cat >>conftest.
$ac_ext <<_ACEOF
4211 /* end confdefs.h. */
4212 #include <ac_nonexistent.h>
4214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4215 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4217 grep -v '^ *+' conftest.er1
>conftest.err
4219 cat conftest.err
>&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } >/dev
/null
; then
4222 if test -s conftest.err
; then
4223 ac_cpp_err
=$ac_c_preproc_warn_flag
4224 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4231 if test -z "$ac_cpp_err"; then
4232 # Broken: success on invalid input.
4235 echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.
$ac_ext >&5
4238 # Passes both tests.
4242 rm -f conftest.err conftest.
$ac_ext
4245 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4246 rm -f conftest.err conftest.
$ac_ext
4247 if $ac_preproc_ok; then
4259 echo "$as_me:$LINENO: result: $CPP" >&5
4260 echo "${ECHO_T}$CPP" >&6
4262 for ac_c_preproc_warn_flag
in '' yes
4264 # Use a header file that comes with gcc, so configuring glibc
4265 # with a fresh cross-compiler works.
4266 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4267 # <limits.h> exists even on freestanding compilers.
4268 # On the NeXT, cc -E runs the code through the compiler's parser,
4269 # not just through cpp. "Syntax error" is here to catch this case.
4270 cat >conftest.
$ac_ext <<_ACEOF
4273 cat confdefs.h
>>conftest.
$ac_ext
4274 cat >>conftest.
$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4277 # include <limits.h>
4279 # include <assert.h>
4283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4284 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4286 grep -v '^ *+' conftest.er1
>conftest.err
4288 cat conftest.err
>&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); } >/dev
/null
; then
4291 if test -s conftest.err
; then
4292 ac_cpp_err
=$ac_c_preproc_warn_flag
4293 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4300 if test -z "$ac_cpp_err"; then
4303 echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.
$ac_ext >&5
4306 # Broken: fails on valid input.
4309 rm -f conftest.err conftest.
$ac_ext
4311 # OK, works on sane cases. Now check whether non-existent headers
4312 # can be detected and how.
4313 cat >conftest.
$ac_ext <<_ACEOF
4316 cat confdefs.h
>>conftest.
$ac_ext
4317 cat >>conftest.
$ac_ext <<_ACEOF
4318 /* end confdefs.h. */
4319 #include <ac_nonexistent.h>
4321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4324 grep -v '^ *+' conftest.er1
>conftest.err
4326 cat conftest.err
>&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); } >/dev
/null
; then
4329 if test -s conftest.err
; then
4330 ac_cpp_err
=$ac_c_preproc_warn_flag
4331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4338 if test -z "$ac_cpp_err"; then
4339 # Broken: success on invalid input.
4342 echo "$as_me: failed program was:" >&5
4343 sed 's/^/| /' conftest.
$ac_ext >&5
4345 # Passes both tests.
4349 rm -f conftest.err conftest.
$ac_ext
4352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4353 rm -f conftest.err conftest.
$ac_ext
4354 if $ac_preproc_ok; then
4357 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4358 See \`config.log' for more details." >&5
4359 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4360 See \`config.log' for more details." >&2;}
4361 { (exit 1); exit 1; }; }
4365 ac_cpp
='$CPP $CPPFLAGS'
4366 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4367 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4368 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4371 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4372 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4373 if test "${ac_cv_header_stdc+set}" = set; then
4374 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 cat >conftest.
$ac_ext <<_ACEOF
4379 cat confdefs.h
>>conftest.
$ac_ext
4380 cat >>conftest.
$ac_ext <<_ACEOF
4381 /* end confdefs.h. */
4395 rm -f conftest.
$ac_objext
4396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4397 (eval $ac_compile) 2>conftest.er1
4399 grep -v '^ *+' conftest.er1
>conftest.err
4401 cat conftest.err
>&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); } &&
4404 { ac_try
='test -z "$ac_c_werror_flag"
4405 || test ! -s conftest.err'
4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; } &&
4411 { ac_try
='test -s conftest.$ac_objext'
4412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; }; then
4417 ac_cv_header_stdc
=yes
4419 echo "$as_me: failed program was:" >&5
4420 sed 's/^/| /' conftest.
$ac_ext >&5
4422 ac_cv_header_stdc
=no
4424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4426 if test $ac_cv_header_stdc = yes; then
4427 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4428 cat >conftest.
$ac_ext <<_ACEOF
4431 cat confdefs.h
>>conftest.
$ac_ext
4432 cat >>conftest.
$ac_ext <<_ACEOF
4433 /* end confdefs.h. */
4437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4438 $EGREP "memchr" >/dev
/null
2>&1; then
4441 ac_cv_header_stdc
=no
4447 if test $ac_cv_header_stdc = yes; then
4448 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4449 cat >conftest.
$ac_ext <<_ACEOF
4452 cat confdefs.h
>>conftest.
$ac_ext
4453 cat >>conftest.
$ac_ext <<_ACEOF
4454 /* end confdefs.h. */
4458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4459 $EGREP "free" >/dev
/null
2>&1; then
4462 ac_cv_header_stdc
=no
4468 if test $ac_cv_header_stdc = yes; then
4469 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4470 if test "$cross_compiling" = yes; then
4473 cat >conftest.
$ac_ext <<_ACEOF
4476 cat confdefs.h
>>conftest.
$ac_ext
4477 cat >>conftest.
$ac_ext <<_ACEOF
4478 /* end confdefs.h. */
4480 #if ((' ' & 0x0FF) == 0x020)
4481 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4482 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4484 # define ISLOWER(c) \
4485 (('a' <= (c) && (c) <= 'i') \
4486 || ('j' <= (c) && (c) <= 'r') \
4487 || ('s' <= (c) && (c) <= 'z'))
4488 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4491 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4496 for (i = 0; i < 256; i++)
4497 if (XOR (islower (i), ISLOWER (i))
4498 || toupper (i) != TOUPPER (i))
4503 rm -f conftest
$ac_exeext
4504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4505 (eval $ac_link) 2>&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); }; }; then
4516 echo "$as_me: program exited with status $ac_status" >&5
4517 echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.
$ac_ext >&5
4521 ac_cv_header_stdc
=no
4523 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4527 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4528 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4529 if test $ac_cv_header_stdc = yes; then
4531 cat >>confdefs.h
<<\_ACEOF
4532 #define STDC_HEADERS 1
4537 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4547 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4548 inttypes.h stdint.h unistd.h
4550 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4551 echo "$as_me:$LINENO: checking for $ac_header" >&5
4552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 cat >conftest.
$ac_ext <<_ACEOF
4559 cat confdefs.h
>>conftest.
$ac_ext
4560 cat >>conftest.
$ac_ext <<_ACEOF
4561 /* end confdefs.h. */
4562 $ac_includes_default
4564 #include <$ac_header>
4566 rm -f conftest.
$ac_objext
4567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4568 (eval $ac_compile) 2>conftest.er1
4570 grep -v '^ *+' conftest.er1
>conftest.err
4572 cat conftest.err
>&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); } &&
4575 { ac_try
='test -z "$ac_c_werror_flag"
4576 || test ! -s conftest.err'
4577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; } &&
4582 { ac_try
='test -s conftest.$ac_objext'
4583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); }; }; then
4588 eval "$as_ac_Header=yes"
4590 echo "$as_me: failed program was:" >&5
4591 sed 's/^/| /' conftest.
$ac_ext >&5
4593 eval "$as_ac_Header=no"
4595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4600 cat >>confdefs.h
<<_ACEOF
4601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4610 for ac_header
in dlfcn.h
4612 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4614 echo "$as_me:$LINENO: checking for $ac_header" >&5
4615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4622 # Is the header compilable?
4623 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4625 cat >conftest.
$ac_ext <<_ACEOF
4628 cat confdefs.h
>>conftest.
$ac_ext
4629 cat >>conftest.
$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4631 $ac_includes_default
4632 #include <$ac_header>
4634 rm -f conftest.
$ac_objext
4635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4636 (eval $ac_compile) 2>conftest.er1
4638 grep -v '^ *+' conftest.er1
>conftest.err
4640 cat conftest.err
>&5
4641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 (exit $ac_status); } &&
4643 { ac_try
='test -z "$ac_c_werror_flag"
4644 || test ! -s conftest.err'
4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); }; } &&
4650 { ac_try
='test -s conftest.$ac_objext'
4651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; }; then
4656 ac_header_compiler
=yes
4658 echo "$as_me: failed program was:" >&5
4659 sed 's/^/| /' conftest.
$ac_ext >&5
4661 ac_header_compiler
=no
4663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4664 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4665 echo "${ECHO_T}$ac_header_compiler" >&6
4667 # Is the header present?
4668 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4670 cat >conftest.
$ac_ext <<_ACEOF
4673 cat confdefs.h
>>conftest.
$ac_ext
4674 cat >>conftest.
$ac_ext <<_ACEOF
4675 /* end confdefs.h. */
4676 #include <$ac_header>
4678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4679 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4681 grep -v '^ *+' conftest.er1
>conftest.err
4683 cat conftest.err
>&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); } >/dev
/null
; then
4686 if test -s conftest.err
; then
4687 ac_cpp_err
=$ac_c_preproc_warn_flag
4688 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4695 if test -z "$ac_cpp_err"; then
4696 ac_header_preproc
=yes
4698 echo "$as_me: failed program was:" >&5
4699 sed 's/^/| /' conftest.
$ac_ext >&5
4701 ac_header_preproc
=no
4703 rm -f conftest.err conftest.
$ac_ext
4704 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4705 echo "${ECHO_T}$ac_header_preproc" >&6
4707 # So? What about this header?
4708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4710 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4714 ac_header_preproc
=yes
4717 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4719 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4720 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4721 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4723 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4724 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4727 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4731 ## ------------------------------------------ ##
4732 ## Report this to the AC_PACKAGE_NAME lists. ##
4733 ## ------------------------------------------ ##
4736 sed "s/^/$as_me: WARNING: /" >&2
4739 echo "$as_me:$LINENO: checking for $ac_header" >&5
4740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4742 echo $ECHO_N "(cached) $ECHO_C" >&6
4744 eval "$as_ac_Header=\$ac_header_preproc"
4746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4751 cat >>confdefs.h
<<_ACEOF
4752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4760 ac_cpp
='$CXXCPP $CPPFLAGS'
4761 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4764 if test -n "$ac_tool_prefix"; then
4765 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4768 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4769 echo "$as_me:$LINENO: checking for $ac_word" >&5
4770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4771 if test "${ac_cv_prog_CXX+set}" = set; then
4772 echo $ECHO_N "(cached) $ECHO_C" >&6
4774 if test -n "$CXX"; then
4775 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4781 test -z "$as_dir" && as_dir
=.
4782 for ac_exec_ext
in '' $ac_executable_extensions; do
4783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4784 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 if test -n "$CXX"; then
4795 echo "$as_me:$LINENO: result: $CXX" >&5
4796 echo "${ECHO_T}$CXX" >&6
4798 echo "$as_me:$LINENO: result: no" >&5
4799 echo "${ECHO_T}no" >&6
4802 test -n "$CXX" && break
4805 if test -z "$CXX"; then
4807 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4809 # Extract the first word of "$ac_prog", so it can be a program name with args.
4810 set dummy
$ac_prog; ac_word
=$2
4811 echo "$as_me:$LINENO: checking for $ac_word" >&5
4812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4813 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4814 echo $ECHO_N "(cached) $ECHO_C" >&6
4816 if test -n "$ac_ct_CXX"; then
4817 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir
=.
4824 for ac_exec_ext
in '' $ac_executable_extensions; do
4825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4826 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4836 if test -n "$ac_ct_CXX"; then
4837 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4838 echo "${ECHO_T}$ac_ct_CXX" >&6
4840 echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6
4844 test -n "$ac_ct_CXX" && break
4846 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4852 # Provide some information about the compiler.
4853 echo "$as_me:$LINENO:" \
4854 "checking for C++ compiler version" >&5
4855 ac_compiler
=`set X $ac_compile; echo $2`
4856 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4857 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }
4861 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4862 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865 (exit $ac_status); }
4866 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4867 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }
4872 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4873 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4874 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4875 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 cat >conftest.
$ac_ext <<_ACEOF
4880 cat confdefs.h
>>conftest.
$ac_ext
4881 cat >>conftest.
$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4895 rm -f conftest.
$ac_objext
4896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4897 (eval $ac_compile) 2>conftest.er1
4899 grep -v '^ *+' conftest.er1
>conftest.err
4901 cat conftest.err
>&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); } &&
4904 { ac_try
='test -z "$ac_cxx_werror_flag"
4905 || test ! -s conftest.err'
4906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); }; } &&
4911 { ac_try
='test -s conftest.$ac_objext'
4912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); }; }; then
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.
$ac_ext >&5
4924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4925 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4928 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4929 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4930 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4931 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4932 ac_save_CXXFLAGS
=$CXXFLAGS
4934 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4935 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4936 if test "${ac_cv_prog_cxx_g+set}" = set; then
4937 echo $ECHO_N "(cached) $ECHO_C" >&6
4939 cat >conftest.
$ac_ext <<_ACEOF
4942 cat confdefs.h
>>conftest.
$ac_ext
4943 cat >>conftest.
$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4954 rm -f conftest.
$ac_objext
4955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4956 (eval $ac_compile) 2>conftest.er1
4958 grep -v '^ *+' conftest.er1
>conftest.err
4960 cat conftest.err
>&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); } &&
4963 { ac_try
='test -z "$ac_cxx_werror_flag"
4964 || test ! -s conftest.err'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; } &&
4970 { ac_try
='test -s conftest.$ac_objext'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; }; then
4976 ac_cv_prog_cxx_g
=yes
4978 echo "$as_me: failed program was:" >&5
4979 sed 's/^/| /' conftest.
$ac_ext >&5
4983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4985 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4986 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4987 if test "$ac_test_CXXFLAGS" = set; then
4988 CXXFLAGS
=$ac_save_CXXFLAGS
4989 elif test $ac_cv_prog_cxx_g = yes; then
4990 if test "$GXX" = yes; then
4996 if test "$GXX" = yes; then
5002 for ac_declaration
in \
5004 'extern "C" void std::exit (int) throw (); using std::exit;' \
5005 'extern "C" void std::exit (int); using std::exit;' \
5006 'extern "C" void exit (int) throw ();' \
5007 'extern "C" void exit (int);' \
5010 cat >conftest.
$ac_ext <<_ACEOF
5013 cat confdefs.h
>>conftest.
$ac_ext
5014 cat >>conftest.
$ac_ext <<_ACEOF
5015 /* end confdefs.h. */
5026 rm -f conftest.
$ac_objext
5027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5028 (eval $ac_compile) 2>conftest.er1
5030 grep -v '^ *+' conftest.er1
>conftest.err
5032 cat conftest.err
>&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); } &&
5035 { ac_try
='test -z "$ac_cxx_werror_flag"
5036 || test ! -s conftest.err'
5037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; } &&
5042 { ac_try
='test -s conftest.$ac_objext'
5043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; }; then
5050 echo "$as_me: failed program was:" >&5
5051 sed 's/^/| /' conftest.
$ac_ext >&5
5055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5056 cat >conftest.
$ac_ext <<_ACEOF
5059 cat confdefs.h
>>conftest.
$ac_ext
5060 cat >>conftest.
$ac_ext <<_ACEOF
5061 /* end confdefs.h. */
5071 rm -f conftest.
$ac_objext
5072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5073 (eval $ac_compile) 2>conftest.er1
5075 grep -v '^ *+' conftest.er1
>conftest.err
5077 cat conftest.err
>&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); } &&
5080 { ac_try
='test -z "$ac_cxx_werror_flag"
5081 || test ! -s conftest.err'
5082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }; } &&
5087 { ac_try
='test -s conftest.$ac_objext'
5088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; }; then
5095 echo "$as_me: failed program was:" >&5
5096 sed 's/^/| /' conftest.
$ac_ext >&5
5099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5102 if test -n "$ac_declaration"; then
5103 echo '#ifdef __cplusplus' >>confdefs.h
5104 echo $ac_declaration >>confdefs.h
5105 echo '#endif' >>confdefs.h
5109 ac_cpp
='$CXXCPP $CPPFLAGS'
5110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5114 depcc
="$CXX" am_compiler_list
=
5116 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5117 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5118 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5121 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5122 # We make a subdir and do the tests there. Otherwise we can end up
5123 # making bogus files that we don't know about and never remove. For
5124 # instance it was reported that on HP-UX the gcc test will end up
5125 # making a dummy file named `D' -- because `-MD' means `put the output
5128 # Copy depcomp to subdir because otherwise we won't find it if we're
5129 # using a relative directory.
5130 cp "$am_depcomp" conftest.dir
5132 # We will build objects and dependencies in a subdirectory because
5133 # it helps to detect inapplicable dependency modes. For instance
5134 # both Tru64's cc and ICC support -MD to output dependencies as a
5135 # side effect of compilation, but ICC will put the dependencies in
5136 # the current directory while Tru64 will put them in the object
5140 am_cv_CXX_dependencies_compiler_type
=none
5141 if test "$am_compiler_list" = ""; then
5142 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5144 for depmode
in $am_compiler_list; do
5145 # Setup a source with many dependencies, because some compilers
5146 # like to wrap large dependency lists on column 80 (with \), and
5147 # we should not choose a depcomp mode which is confused by this.
5149 # We need to recreate these files for each test, as the compiler may
5150 # overwrite some of them when testing with obscure command lines.
5151 # This happens at least with the AIX C compiler.
5153 for i
in 1 2 3 4 5 6; do
5154 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5155 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5156 # Solaris 8's {/usr,}/bin/sh.
5157 touch sub
/conftst
$i.h
5159 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5163 # after this tag, mechanisms are not by side-effect, so they'll
5164 # only be used when explicitly requested
5165 if test "x$enable_dependency_tracking" = xyes
; then
5173 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5174 # mode. It turns out that the SunPro C++ compiler does not properly
5175 # handle `-M -o', and we need to detect this.
5176 if depmode
=$depmode \
5177 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5178 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5179 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5180 >/dev
/null
2>conftest.err
&&
5181 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5182 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5183 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5184 # icc doesn't choke on unknown options, it will just issue warnings
5185 # or remarks (even with -Werror). So we grep stderr for any message
5186 # that says an option was ignored or not supported.
5187 # When given -MP, icc 7.0 and 7.1 complain thusly:
5188 # icc: Command line warning: ignoring option '-M'; no argument required
5189 # The diagnosis changed in icc 8.0:
5190 # icc: Command line remark: option '-MP' not supported
5191 if (grep 'ignoring option' conftest.err ||
5192 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5193 am_cv_CXX_dependencies_compiler_type
=$depmode
5202 am_cv_CXX_dependencies_compiler_type
=none
5206 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5207 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5208 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5213 test "x$enable_dependency_tracking" != xno \
5214 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5215 am__fastdepCXX_TRUE
=
5216 am__fastdepCXX_FALSE
='#'
5218 am__fastdepCXX_TRUE
='#'
5219 am__fastdepCXX_FALSE
=
5225 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5226 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5227 (test "X$CXX" != "Xg++"))) ; then
5229 ac_cpp
='$CXXCPP $CPPFLAGS'
5230 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5231 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5232 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5233 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5234 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5235 if test -z "$CXXCPP"; then
5236 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5239 # Double quotes because CXXCPP needs to be expanded
5240 for CXXCPP
in "$CXX -E" "/lib/cpp"
5243 for ac_cxx_preproc_warn_flag
in '' yes
5245 # Use a header file that comes with gcc, so configuring glibc
5246 # with a fresh cross-compiler works.
5247 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5248 # <limits.h> exists even on freestanding compilers.
5249 # On the NeXT, cc -E runs the code through the compiler's parser,
5250 # not just through cpp. "Syntax error" is here to catch this case.
5251 cat >conftest.
$ac_ext <<_ACEOF
5254 cat confdefs.h
>>conftest.
$ac_ext
5255 cat >>conftest.
$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5258 # include <limits.h>
5260 # include <assert.h>
5264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5265 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5267 grep -v '^ *+' conftest.er1
>conftest.err
5269 cat conftest.err
>&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } >/dev
/null
; then
5272 if test -s conftest.err
; then
5273 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5274 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5281 if test -z "$ac_cpp_err"; then
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.
$ac_ext >&5
5287 # Broken: fails on valid input.
5290 rm -f conftest.err conftest.
$ac_ext
5292 # OK, works on sane cases. Now check whether non-existent headers
5293 # can be detected and how.
5294 cat >conftest.
$ac_ext <<_ACEOF
5297 cat confdefs.h
>>conftest.
$ac_ext
5298 cat >>conftest.
$ac_ext <<_ACEOF
5299 /* end confdefs.h. */
5300 #include <ac_nonexistent.h>
5302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5305 grep -v '^ *+' conftest.er1
>conftest.err
5307 cat conftest.err
>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); } >/dev
/null
; then
5310 if test -s conftest.err
; then
5311 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5312 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5319 if test -z "$ac_cpp_err"; then
5320 # Broken: success on invalid input.
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.
$ac_ext >&5
5326 # Passes both tests.
5330 rm -f conftest.err conftest.
$ac_ext
5333 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5334 rm -f conftest.err conftest.
$ac_ext
5335 if $ac_preproc_ok; then
5340 ac_cv_prog_CXXCPP
=$CXXCPP
5343 CXXCPP
=$ac_cv_prog_CXXCPP
5345 ac_cv_prog_CXXCPP
=$CXXCPP
5347 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5348 echo "${ECHO_T}$CXXCPP" >&6
5350 for ac_cxx_preproc_warn_flag
in '' yes
5352 # Use a header file that comes with gcc, so configuring glibc
5353 # with a fresh cross-compiler works.
5354 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5355 # <limits.h> exists even on freestanding compilers.
5356 # On the NeXT, cc -E runs the code through the compiler's parser,
5357 # not just through cpp. "Syntax error" is here to catch this case.
5358 cat >conftest.
$ac_ext <<_ACEOF
5361 cat confdefs.h
>>conftest.
$ac_ext
5362 cat >>conftest.
$ac_ext <<_ACEOF
5363 /* end confdefs.h. */
5365 # include <limits.h>
5367 # include <assert.h>
5371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5372 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5374 grep -v '^ *+' conftest.er1
>conftest.err
5376 cat conftest.err
>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } >/dev
/null
; then
5379 if test -s conftest.err
; then
5380 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5381 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5388 if test -z "$ac_cpp_err"; then
5391 echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.
$ac_ext >&5
5394 # Broken: fails on valid input.
5397 rm -f conftest.err conftest.
$ac_ext
5399 # OK, works on sane cases. Now check whether non-existent headers
5400 # can be detected and how.
5401 cat >conftest.
$ac_ext <<_ACEOF
5404 cat confdefs.h
>>conftest.
$ac_ext
5405 cat >>conftest.
$ac_ext <<_ACEOF
5406 /* end confdefs.h. */
5407 #include <ac_nonexistent.h>
5409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5410 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5412 grep -v '^ *+' conftest.er1
>conftest.err
5414 cat conftest.err
>&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); } >/dev
/null
; then
5417 if test -s conftest.err
; then
5418 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5419 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5426 if test -z "$ac_cpp_err"; then
5427 # Broken: success on invalid input.
5430 echo "$as_me: failed program was:" >&5
5431 sed 's/^/| /' conftest.
$ac_ext >&5
5433 # Passes both tests.
5437 rm -f conftest.err conftest.
$ac_ext
5440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5441 rm -f conftest.err conftest.
$ac_ext
5442 if $ac_preproc_ok; then
5445 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5446 See \`config.log' for more details." >&5
5447 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5448 See \`config.log' for more details." >&2;}
5449 { (exit 1); exit 1; }; }
5453 ac_cpp
='$CXXCPP $CPPFLAGS'
5454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5462 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5463 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5464 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5465 if test -n "$ac_tool_prefix"; then
5466 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5469 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5470 echo "$as_me:$LINENO: checking for $ac_word" >&5
5471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5472 if test "${ac_cv_prog_F77+set}" = set; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 if test -n "$F77"; then
5476 ac_cv_prog_F77
="$F77" # Let the user override the test.
5478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir
=.
5483 for ac_exec_ext
in '' $ac_executable_extensions; do
5484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 if test -n "$F77"; then
5496 echo "$as_me:$LINENO: result: $F77" >&5
5497 echo "${ECHO_T}$F77" >&6
5499 echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6
5503 test -n "$F77" && break
5506 if test -z "$F77"; then
5508 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5510 # Extract the first word of "$ac_prog", so it can be a program name with args.
5511 set dummy
$ac_prog; ac_word
=$2
5512 echo "$as_me:$LINENO: checking for $ac_word" >&5
5513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5514 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5517 if test -n "$ac_ct_F77"; then
5518 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5524 test -z "$as_dir" && as_dir
=.
5525 for ac_exec_ext
in '' $ac_executable_extensions; do
5526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_F77
="$ac_prog"
5528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5537 if test -n "$ac_ct_F77"; then
5538 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5539 echo "${ECHO_T}$ac_ct_F77" >&6
5541 echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6
5545 test -n "$ac_ct_F77" && break
5552 # Provide some information about the compiler.
5553 echo "$as_me:5553:" \
5554 "checking for Fortran 77 compiler version" >&5
5555 ac_compiler
=`set X $ac_compile; echo $2`
5556 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5557 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); }
5561 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5562 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); }
5566 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5567 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }
5573 # If we don't use `.F' as extension, the preprocessor is not run on the
5574 # input file. (Note that this only needs to work for GNU compilers.)
5577 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5578 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5579 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5580 echo $ECHO_N "(cached) $ECHO_C" >&6
5582 cat >conftest.
$ac_ext <<_ACEOF
5590 rm -f conftest.
$ac_objext
5591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5592 (eval $ac_compile) 2>conftest.er1
5594 grep -v '^ *+' conftest.er1
>conftest.err
5596 cat conftest.err
>&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } &&
5599 { ac_try
='test -z "$ac_f77_werror_flag"
5600 || test ! -s conftest.err'
5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; } &&
5606 { ac_try
='test -s conftest.$ac_objext'
5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; }; then
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.
$ac_ext >&5
5619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5620 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5623 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5624 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5626 ac_test_FFLAGS
=${FFLAGS+set}
5627 ac_save_FFLAGS
=$FFLAGS
5629 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5630 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5631 if test "${ac_cv_prog_f77_g+set}" = set; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5635 cat >conftest.
$ac_ext <<_ACEOF
5640 rm -f conftest.
$ac_objext
5641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5642 (eval $ac_compile) 2>conftest.er1
5644 grep -v '^ *+' conftest.er1
>conftest.err
5646 cat conftest.err
>&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } &&
5649 { ac_try
='test -z "$ac_f77_werror_flag"
5650 || test ! -s conftest.err'
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }; } &&
5656 { ac_try
='test -s conftest.$ac_objext'
5657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); }; }; then
5662 ac_cv_prog_f77_g
=yes
5664 echo "$as_me: failed program was:" >&5
5665 sed 's/^/| /' conftest.
$ac_ext >&5
5669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5672 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5673 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5674 if test "$ac_test_FFLAGS" = set; then
5675 FFLAGS
=$ac_save_FFLAGS
5676 elif test $ac_cv_prog_f77_g = yes; then
5677 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5683 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5690 G77
=`test $ac_compiler_gnu = yes && echo yes`
5692 ac_cpp
='$CPP $CPPFLAGS'
5693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5699 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5701 # find the maximum length of command line arguments
5702 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5703 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5704 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 # On DJGPP, this test can blow up pretty badly due to problems in libc
5713 # (any single argument exceeding 2000 bytes causes a buffer overrun
5714 # during glob expansion). Even if it were fixed, the result of this
5715 # check would be larger than it should be.
5716 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5720 # Under GNU Hurd, this test is not required because there is
5721 # no limit to the length of command line arguments.
5722 # Libtool will interpret -1 as no limit whatsoever
5723 lt_cv_sys_max_cmd_len
=-1;
5727 # On Win9x/ME, this test blows up -- it succeeds, but takes
5728 # about 5 minutes as the teststring grows exponentially.
5729 # Worse, since 9x/ME are not pre-emptively multitasking,
5730 # you end up with a "frozen" computer, even though with patience
5731 # the test eventually succeeds (with a max line length of 256k).
5732 # Instead, let's just punt: use the minimum linelength reported by
5733 # all of the supported platforms: 8192 (on NT/2K/XP).
5734 lt_cv_sys_max_cmd_len
=8192;
5738 # On AmigaOS with pdksh, this test takes hours, literally.
5739 # So we just punt and use a minimum line length of 8192.
5740 lt_cv_sys_max_cmd_len
=8192;
5743 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5744 # This has been around since 386BSD, at least. Likely further.
5745 if test -x /sbin
/sysctl
; then
5746 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5747 elif test -x /usr
/sbin
/sysctl
; then
5748 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5750 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5752 # And add a safety zone
5753 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5756 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5757 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5758 # nice to cause kernel panics so lets avoid the loop below.
5759 # First set a reasonable default.
5760 lt_cv_sys_max_cmd_len
=16384
5762 if test -x /sbin
/sysconfig
; then
5763 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5764 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5769 # If test is not a shell built-in, we'll probably end up computing a
5770 # maximum length that is only half of the actual maximum length, but
5772 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5773 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5774 = "XX$teststring") >/dev
/null
2>&1 &&
5775 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5776 lt_cv_sys_max_cmd_len
=$new_result &&
5777 test $i != 17 # 1/2 MB should be enough
5780 teststring
=$teststring$teststring
5783 # Add a significant safety factor because C++ compilers can tack on massive
5784 # amounts of additional arguments before passing them to the linker.
5785 # It appears as though 1/2 is a usable value.
5786 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5792 if test -n $lt_cv_sys_max_cmd_len ; then
5793 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5794 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5796 echo "$as_me:$LINENO: result: none" >&5
5797 echo "${ECHO_T}none" >&6
5803 # Check for command to grab the raw symbol name followed by C symbol from nm.
5804 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5805 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5806 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5807 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 # These are sane defaults that work on at least a few old systems.
5811 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5813 # Character class describing NM global symbol codes.
5814 symcode
='[BCDEGRST]'
5816 # Regexp to match symbols that can be accessed directly from C.
5817 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5819 # Transform an extracted symbol line into a proper C declaration
5820 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5822 # Transform an extracted symbol line into symbol name and symbol address
5823 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'"
5825 # Define system-specific variables.
5830 cygwin
* | mingw
* | pw32
*)
5831 symcode
='[ABCDGISTW]'
5833 hpux
*) # Its linker distinguishes data from code symbols
5834 if test "$host_cpu" = ia64
; then
5835 symcode
='[ABCDEGRST]'
5837 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5838 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'"
5841 if test "$host_cpu" = ia64
; then
5842 symcode
='[ABCDGIRSTW]'
5843 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5844 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'"
5848 symcode
='[BCDEGRST]'
5851 symcode
='[BCDEGQRST]'
5861 # Handle CRLF in mingw tool chain
5865 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5869 # If we're using GNU nm, then use its standard symbol codes.
5870 case `$NM -V 2>&1` in
5871 *GNU
* |
*'with BFD'*)
5872 symcode
='[ABCDGIRSTW]' ;;
5875 # Try without a prefix undercore, then with it.
5876 for ac_symprfx
in "" "_"; do
5878 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5879 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5881 # Write the raw and C identifiers.
5882 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5884 # Check to see that the pipe works correctly.
5888 cat > conftest.
$ac_ext <<EOF
5893 void nm_test_func(){}
5897 int main(){nm_test_var='a';nm_test_func();return(0);}
5900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5901 (eval $ac_compile) 2>&5
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); }; then
5905 # Now try to grab the symbols.
5907 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5908 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); } && test -s "$nlist"; then
5912 # Try sorting and uniquifying the output.
5913 if sort "$nlist" |
uniq > "$nlist"T
; then
5914 mv -f "$nlist"T
"$nlist"
5919 # Make sure that we snagged all the symbols we need.
5920 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5921 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5922 cat <<EOF > conftest.$ac_ext
5928 # Now generate the symbol file.
5929 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5931 cat <<EOF >> conftest.$ac_ext
5932 #if defined (__STDC__) && __STDC__
5933 # define lt_ptr_t void *
5935 # define lt_ptr_t char *
5939 /* The mapping between symbol names and symbols. */
5944 lt_preloaded_symbols[] =
5947 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5948 cat <<\EOF
>> conftest.
$ac_ext
5956 # Now try linking the two files.
5957 mv conftest.
$ac_objext conftstm.
$ac_objext
5958 lt_save_LIBS
="$LIBS"
5959 lt_save_CFLAGS
="$CFLAGS"
5960 LIBS
="conftstm.$ac_objext"
5961 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5963 (eval $ac_link) 2>&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5969 LIBS
="$lt_save_LIBS"
5970 CFLAGS
="$lt_save_CFLAGS"
5972 echo "cannot find nm_test_func in $nlist" >&5
5975 echo "cannot find nm_test_var in $nlist" >&5
5978 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5981 echo "$progname: failed program was:" >&5
5982 cat conftest.
$ac_ext >&5
5984 rm -f conftest
* conftst
*
5986 # Do not use the global_symbol_pipe unless it works.
5987 if test "$pipe_works" = yes; then
5990 lt_cv_sys_global_symbol_pipe
=
5996 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5997 lt_cv_sys_global_symbol_to_cdecl
=
5999 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6000 echo "$as_me:$LINENO: result: failed" >&5
6001 echo "${ECHO_T}failed" >&6
6003 echo "$as_me:$LINENO: result: ok" >&5
6004 echo "${ECHO_T}ok" >&6
6007 echo "$as_me:$LINENO: checking for objdir" >&5
6008 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6009 if test "${lt_cv_objdir+set}" = set; then
6010 echo $ECHO_N "(cached) $ECHO_C" >&6
6012 rm -f .libs
2>/dev
/null
6013 mkdir .libs
2>/dev
/null
6014 if test -d .libs
; then
6017 # MS-DOS does not allow filenames that begin with a dot.
6020 rmdir .libs
2>/dev
/null
6022 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6023 echo "${ECHO_T}$lt_cv_objdir" >&6
6024 objdir
=$lt_cv_objdir
6032 # AIX sometimes has problems with the GCC collect2 program. For some
6033 # reason, if we set the COLLECT_NAMES environment variable, the problems
6034 # vanish in a puff of smoke.
6035 if test "X${COLLECT_NAMES+set}" != Xset
; then
6037 export COLLECT_NAMES
6042 # Sed substitution that helps us do robust quoting. It backslashifies
6043 # metacharacters that are still active within double-quoted strings.
6044 Xsed
='sed -e s/^X//'
6045 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6047 # Same as above, but do not quote variable references.
6048 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6050 # Sed substitution to delay expansion of an escaped shell variable in a
6051 # double_quote_subst'ed string.
6052 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6054 # Sed substitution to avoid accidental globbing in evaled expressions
6055 no_glob_subst
='s/\*/\\\*/g'
6061 default_ofile
=libtool
6062 can_build_shared
=yes
6064 # All known linkers require a `.a' archive for static linking (except M$VC,
6065 # which needs '.lib').
6067 ltmain
="$ac_aux_dir/ltmain.sh"
6068 ofile
="$default_ofile"
6069 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6071 if test -n "$ac_tool_prefix"; then
6072 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6073 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6074 echo "$as_me:$LINENO: checking for $ac_word" >&5
6075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6076 if test "${ac_cv_prog_AR+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 if test -n "$AR"; then
6080 ac_cv_prog_AR
="$AR" # Let the user override the test.
6082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir
=.
6087 for ac_exec_ext
in '' $ac_executable_extensions; do
6088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 if test -n "$AR"; then
6100 echo "$as_me:$LINENO: result: $AR" >&5
6101 echo "${ECHO_T}$AR" >&6
6103 echo "$as_me:$LINENO: result: no" >&5
6104 echo "${ECHO_T}no" >&6
6108 if test -z "$ac_cv_prog_AR"; then
6110 # Extract the first word of "ar", so it can be a program name with args.
6111 set dummy
ar; ac_word
=$2
6112 echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6114 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6117 if test -n "$ac_ct_AR"; then
6118 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6124 test -z "$as_dir" && as_dir
=.
6125 for ac_exec_ext
in '' $ac_executable_extensions; do
6126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6127 ac_cv_prog_ac_ct_AR
="ar"
6128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6137 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6138 if test -n "$ac_ct_AR"; then
6139 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6140 echo "${ECHO_T}$ac_ct_AR" >&6
6142 echo "$as_me:$LINENO: result: no" >&5
6143 echo "${ECHO_T}no" >&6
6151 if test -n "$ac_tool_prefix"; then
6152 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6153 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6154 echo "$as_me:$LINENO: checking for $ac_word" >&5
6155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6156 if test "${ac_cv_prog_RANLIB+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 if test -n "$RANLIB"; then
6160 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6166 test -z "$as_dir" && as_dir
=.
6167 for ac_exec_ext
in '' $ac_executable_extensions; do
6168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6169 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 RANLIB
=$ac_cv_prog_RANLIB
6179 if test -n "$RANLIB"; then
6180 echo "$as_me:$LINENO: result: $RANLIB" >&5
6181 echo "${ECHO_T}$RANLIB" >&6
6183 echo "$as_me:$LINENO: result: no" >&5
6184 echo "${ECHO_T}no" >&6
6188 if test -z "$ac_cv_prog_RANLIB"; then
6189 ac_ct_RANLIB
=$RANLIB
6190 # Extract the first word of "ranlib", so it can be a program name with args.
6191 set dummy ranlib
; ac_word
=$2
6192 echo "$as_me:$LINENO: checking for $ac_word" >&5
6193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6194 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6195 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 if test -n "$ac_ct_RANLIB"; then
6198 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6204 test -z "$as_dir" && as_dir
=.
6205 for ac_exec_ext
in '' $ac_executable_extensions; do
6206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6214 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6217 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6218 if test -n "$ac_ct_RANLIB"; then
6219 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6220 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6222 echo "$as_me:$LINENO: result: no" >&5
6223 echo "${ECHO_T}no" >&6
6226 RANLIB
=$ac_ct_RANLIB
6228 RANLIB
="$ac_cv_prog_RANLIB"
6231 if test -n "$ac_tool_prefix"; then
6232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6233 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6234 echo "$as_me:$LINENO: checking for $ac_word" >&5
6235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6236 if test "${ac_cv_prog_STRIP+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 if test -n "$STRIP"; then
6240 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6246 test -z "$as_dir" && as_dir
=.
6247 for ac_exec_ext
in '' $ac_executable_extensions; do
6248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6249 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 STRIP
=$ac_cv_prog_STRIP
6259 if test -n "$STRIP"; then
6260 echo "$as_me:$LINENO: result: $STRIP" >&5
6261 echo "${ECHO_T}$STRIP" >&6
6263 echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6
6268 if test -z "$ac_cv_prog_STRIP"; then
6270 # Extract the first word of "strip", so it can be a program name with args.
6271 set dummy strip
; ac_word
=$2
6272 echo "$as_me:$LINENO: checking for $ac_word" >&5
6273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6274 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6275 echo $ECHO_N "(cached) $ECHO_C" >&6
6277 if test -n "$ac_ct_STRIP"; then
6278 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir
=.
6285 for ac_exec_ext
in '' $ac_executable_extensions; do
6286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6287 ac_cv_prog_ac_ct_STRIP
="strip"
6288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6294 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6297 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6298 if test -n "$ac_ct_STRIP"; then
6299 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6300 echo "${ECHO_T}$ac_ct_STRIP" >&6
6302 echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6
6308 STRIP
="$ac_cv_prog_STRIP"
6313 old_CFLAGS
="$CFLAGS"
6315 # Set sane defaults for various variables
6316 test -z "$AR" && AR
=ar
6317 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6318 test -z "$AS" && AS
=as
6319 test -z "$CC" && CC
=cc
6320 test -z "$LTCC" && LTCC
=$CC
6321 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6322 test -z "$LD" && LD
=ld
6323 test -z "$LN_S" && LN_S
="ln -s"
6324 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6325 test -z "$NM" && NM
=nm
6326 test -z "$SED" && SED
=sed
6327 test -z "$OBJDUMP" && OBJDUMP
=objdump
6328 test -z "$RANLIB" && RANLIB
=:
6329 test -z "$STRIP" && STRIP
=:
6330 test -z "$ac_objext" && ac_objext
=o
6332 # Determine commands to create old-style static archives.
6333 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6334 old_postinstall_cmds
='chmod 644 $oldlib'
6335 old_postuninstall_cmds
=
6337 if test -n "$RANLIB"; then
6340 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6343 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6346 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6349 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
6351 # Only perform the check for file, if the check method requires it
6352 case $deplibs_check_method in
6354 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6355 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6356 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6357 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6358 echo $ECHO_N "(cached) $ECHO_C" >&6
6362 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6365 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6366 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6367 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6368 for ac_dir
in $ac_dummy; do
6370 test -z "$ac_dir" && ac_dir
=.
6371 if test -f $ac_dir/${ac_tool_prefix}file; then
6372 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6373 if test -n "$file_magic_test_file"; then
6374 case $deplibs_check_method in
6376 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6377 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6378 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6379 $EGREP "$file_magic_regex" > /dev
/null
; then
6384 *** Warning: the command libtool uses to detect shared libraries,
6385 *** $file_magic_cmd, produces output that libtool cannot recognize.
6386 *** The result is that libtool may fail to recognize shared libraries
6387 *** as such. This will affect the creation of libtool libraries that
6388 *** depend on shared libraries, but programs linked with such libtool
6389 *** libraries will work regardless of this problem. Nevertheless, you
6390 *** may want to report the problem to your system manager and/or to
6391 *** bug-libtool@gnu.org
6401 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6406 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6407 if test -n "$MAGIC_CMD"; then
6408 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6409 echo "${ECHO_T}$MAGIC_CMD" >&6
6411 echo "$as_me:$LINENO: result: no" >&5
6412 echo "${ECHO_T}no" >&6
6415 if test -z "$lt_cv_path_MAGIC_CMD"; then
6416 if test -n "$ac_tool_prefix"; then
6417 echo "$as_me:$LINENO: checking for file" >&5
6418 echo $ECHO_N "checking for file... $ECHO_C" >&6
6419 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6420 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6427 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6428 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6429 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6430 for ac_dir
in $ac_dummy; do
6432 test -z "$ac_dir" && ac_dir
=.
6433 if test -f $ac_dir/file; then
6434 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6435 if test -n "$file_magic_test_file"; then
6436 case $deplibs_check_method in
6438 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6439 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6440 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6441 $EGREP "$file_magic_regex" > /dev
/null
; then
6446 *** Warning: the command libtool uses to detect shared libraries,
6447 *** $file_magic_cmd, produces output that libtool cannot recognize.
6448 *** The result is that libtool may fail to recognize shared libraries
6449 *** as such. This will affect the creation of libtool libraries that
6450 *** depend on shared libraries, but programs linked with such libtool
6451 *** libraries will work regardless of this problem. Nevertheless, you
6452 *** may want to report the problem to your system manager and/or to
6453 *** bug-libtool@gnu.org
6463 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6468 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6469 if test -n "$MAGIC_CMD"; then
6470 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6471 echo "${ECHO_T}$MAGIC_CMD" >&6
6473 echo "$as_me:$LINENO: result: no" >&5
6474 echo "${ECHO_T}no" >&6
6487 enable_win32_dll
=yes
6489 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6490 if test "${enable_libtool_lock+set}" = set; then
6491 enableval
="$enable_libtool_lock"
6494 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6497 # Check whether --with-pic or --without-pic was given.
6498 if test "${with_pic+set}" = set; then
6504 test -z "$pic_mode" && pic_mode
=default
6506 # Use C for the default configuration in the libtool script
6510 ac_cpp
='$CPP $CPPFLAGS'
6511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6516 # Source file extension for C test sources.
6519 # Object file extension for compiled C test sources.
6523 # Code to be used in simple compile tests
6524 lt_simple_compile_test_code
="int some_variable = 0;\n"
6526 # Code to be used in simple link tests
6527 lt_simple_link_test_code
='int main(){return(0);}\n'
6530 # If no C compiler was specified, use CC.
6533 # Allow CC to be a program name with arguments.
6538 # Check for any special shared library compilation flags.
6541 if test "$GCC" = no
; then
6544 lt_prog_cc_shlib
='-belf'
6548 if test -n "$lt_prog_cc_shlib"; then
6549 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6550 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6551 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6553 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6554 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6555 lt_cv_prog_cc_can_build_shared
=no
6561 # Check to make sure the static flag actually works.
6563 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6564 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6565 if test "${lt_prog_compiler_static_works+set}" = set; then
6566 echo $ECHO_N "(cached) $ECHO_C" >&6
6568 lt_prog_compiler_static_works
=no
6569 save_LDFLAGS
="$LDFLAGS"
6570 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6571 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6572 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6573 # The compiler can only warn and ignore the option if not recognized
6574 # So say no if there are warnings
6575 if test -s conftest.err
; then
6576 # Append any errors to the config.log.
6577 cat conftest.err
1>&5
6579 lt_prog_compiler_static_works
=yes
6583 LDFLAGS
="$save_LDFLAGS"
6586 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6587 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6589 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6592 lt_prog_compiler_static
=
6598 ## There is no encapsulation within the following macros, do not change
6599 ## the running order or otherwise move them around unless you know exactly
6600 ## what you are doing...
6602 lt_prog_compiler_no_builtin_flag
=
6604 if test "$GCC" = yes; then
6605 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6608 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6609 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6610 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6611 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 lt_cv_prog_compiler_rtti_exceptions
=no
6614 ac_outfile
=conftest.
$ac_objext
6615 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6616 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6617 # Insert the option either (1) after the last *FLAGS variable, or
6618 # (2) before a word containing "conftest.", or (3) at the end.
6619 # Note that $ac_compile itself does not contain backslashes and begins
6620 # with a dollar sign (not a hyphen), so the echo should work correctly.
6621 # The option is referenced via a variable to avoid confusing sed.
6622 lt_compile
=`echo "$ac_compile" | $SED \
6623 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6625 -e 's:$: $lt_compiler_flag:'`
6626 (eval echo "\"\$as_me:6626: $lt_compile\"" >&5)
6627 (eval "$lt_compile" 2>conftest.err
)
6629 cat conftest.err
>&5
6630 echo "$as_me:6630: \$? = $ac_status" >&5
6631 if (exit $ac_status) && test -s "$ac_outfile"; then
6632 # The compiler can only warn and ignore the option if not recognized
6633 # So say no if there are warnings
6634 if test ! -s conftest.err
; then
6635 lt_cv_prog_compiler_rtti_exceptions
=yes
6641 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6642 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6644 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6645 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6652 lt_prog_compiler_wl
=
6653 lt_prog_compiler_pic
=
6654 lt_prog_compiler_static
=
6656 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6657 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6659 if test "$GCC" = yes; then
6660 lt_prog_compiler_wl
='-Wl,'
6661 lt_prog_compiler_static
='-static'
6665 # All AIX code is PIC.
6666 if test "$host_cpu" = ia64
; then
6667 # AIX 5 now supports IA64 processor
6668 lt_prog_compiler_static
='-Bstatic'
6673 # FIXME: we need at least 68020 code to build shared libraries, but
6674 # adding the `-m68020' flag to GCC prevents building anything better,
6676 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6679 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6680 # PIC is the default for these OSes.
6683 mingw
* | pw32
* | os2
*)
6684 # This hack is so that the source file can tell whether it is being
6685 # built for inclusion in a dll (and should export symbols for example).
6686 lt_prog_compiler_pic
='-DDLL_EXPORT'
6689 darwin
* | rhapsody
*)
6690 # PIC is the default on this platform
6691 # Common symbols not allowed in MH_DYLIB files
6692 lt_prog_compiler_pic
='-fno-common'
6696 # Just because we use GCC doesn't mean we suddenly get shared libraries
6697 # on systems that don't support them.
6698 lt_prog_compiler_can_build_shared
=no
6703 if test -d /usr
/nec
; then
6704 lt_prog_compiler_pic
=-Kconform_pic
6709 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6716 lt_prog_compiler_pic
='-fPIC'
6722 lt_prog_compiler_pic
='-fPIC'
6726 # PORTME Check for flag to pass linker flags through the system compiler.
6729 lt_prog_compiler_wl
='-Wl,'
6730 if test "$host_cpu" = ia64
; then
6731 # AIX 5 now supports IA64 processor
6732 lt_prog_compiler_static
='-Bstatic'
6734 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6738 # PIC is the default on this platform
6739 # Common symbols not allowed in MH_DYLIB files
6740 case "$cc_basename" in
6742 lt_prog_compiler_pic
='-qnocommon'
6743 lt_prog_compiler_wl
='-Wl,'
6748 mingw
* | pw32
* | os2
*)
6749 # This hack is so that the source file can tell whether it is being
6750 # built for inclusion in a dll (and should export symbols for example).
6751 lt_prog_compiler_pic
='-DDLL_EXPORT'
6754 hpux9
* | hpux10
* | hpux11
*)
6755 lt_prog_compiler_wl
='-Wl,'
6756 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6763 lt_prog_compiler_pic
='+Z'
6766 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6767 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6770 irix5
* | irix6
* | nonstopux
*)
6771 lt_prog_compiler_wl
='-Wl,'
6772 # PIC (with -KPIC) is the default.
6773 lt_prog_compiler_static
='-non_shared'
6777 lt_prog_compiler_pic
='-KPIC'
6778 lt_prog_compiler_static
='-Bstatic'
6782 case $cc_basename in
6784 lt_prog_compiler_wl
='-Wl,'
6785 lt_prog_compiler_pic
='-KPIC'
6786 lt_prog_compiler_static
='-static'
6788 pgcc | pgf77 | pgf90
)
6789 # Portland Group compilers (*not* the Pentium gcc compiler,
6790 # which looks to be a dead project)
6791 lt_prog_compiler_wl
='-Wl,'
6792 lt_prog_compiler_pic
='-fpic'
6793 lt_prog_compiler_static
='-static'
6796 lt_prog_compiler_wl
='-Wl,'
6797 # All Alpha code is PIC.
6798 lt_prog_compiler_static
='-non_shared'
6801 lt_prog_compiler_wl
='-lopt='
6806 osf3
* | osf4
* | osf5
*)
6807 lt_prog_compiler_wl
='-Wl,'
6808 # All OSF/1 code is PIC.
6809 lt_prog_compiler_static
='-non_shared'
6813 lt_prog_compiler_pic
='-Kpic'
6814 lt_prog_compiler_static
='-dn'
6818 lt_prog_compiler_wl
='-Wl,'
6819 lt_prog_compiler_pic
='-KPIC'
6820 lt_prog_compiler_static
='-Bstatic'
6824 lt_prog_compiler_wl
='-Qoption ld '
6825 lt_prog_compiler_pic
='-PIC'
6826 lt_prog_compiler_static
='-Bstatic'
6829 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6830 lt_prog_compiler_wl
='-Wl,'
6831 lt_prog_compiler_pic
='-KPIC'
6832 lt_prog_compiler_static
='-Bstatic'
6836 if test -d /usr
/nec
;then
6837 lt_prog_compiler_pic
='-Kconform_pic'
6838 lt_prog_compiler_static
='-Bstatic'
6843 lt_prog_compiler_wl
='-Wl,'
6844 lt_prog_compiler_can_build_shared
=no
6848 lt_prog_compiler_pic
='-pic'
6849 lt_prog_compiler_static
='-Bstatic'
6853 lt_prog_compiler_can_build_shared
=no
6858 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6859 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6862 # Check to make sure the PIC flag actually works.
6864 if test -n "$lt_prog_compiler_pic"; then
6866 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6867 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6868 if test "${lt_prog_compiler_pic_works+set}" = set; then
6869 echo $ECHO_N "(cached) $ECHO_C" >&6
6871 lt_prog_compiler_pic_works
=no
6872 ac_outfile
=conftest.
$ac_objext
6873 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6874 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6875 # Insert the option either (1) after the last *FLAGS variable, or
6876 # (2) before a word containing "conftest.", or (3) at the end.
6877 # Note that $ac_compile itself does not contain backslashes and begins
6878 # with a dollar sign (not a hyphen), so the echo should work correctly.
6879 # The option is referenced via a variable to avoid confusing sed.
6880 lt_compile
=`echo "$ac_compile" | $SED \
6881 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6883 -e 's:$: $lt_compiler_flag:'`
6884 (eval echo "\"\$as_me:6884: $lt_compile\"" >&5)
6885 (eval "$lt_compile" 2>conftest.err
)
6887 cat conftest.err
>&5
6888 echo "$as_me:6888: \$? = $ac_status" >&5
6889 if (exit $ac_status) && test -s "$ac_outfile"; then
6890 # The compiler can only warn and ignore the option if not recognized
6891 # So say no if there are warnings
6892 if test ! -s conftest.err
; then
6893 lt_prog_compiler_pic_works
=yes
6899 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6900 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6902 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6903 case $lt_prog_compiler_pic in
6905 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6908 lt_prog_compiler_pic
=
6909 lt_prog_compiler_can_build_shared
=no
6914 # For platforms which do not support PIC, -DPIC is meaningless:
6916 lt_prog_compiler_pic
=
6919 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6923 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6924 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6925 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6928 lt_cv_prog_compiler_c_o
=no
6929 $rm -r conftest
2>/dev
/null
6933 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6935 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6936 # Insert the option either (1) after the last *FLAGS variable, or
6937 # (2) before a word containing "conftest.", or (3) at the end.
6938 # Note that $ac_compile itself does not contain backslashes and begins
6939 # with a dollar sign (not a hyphen), so the echo should work correctly.
6940 lt_compile
=`echo "$ac_compile" | $SED \
6941 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6942 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6943 -e 's:$: $lt_compiler_flag:'`
6944 (eval echo "\"\$as_me:6944: $lt_compile\"" >&5)
6945 (eval "$lt_compile" 2>out
/conftest.err
)
6947 cat out
/conftest.err
>&5
6948 echo "$as_me:6948: \$? = $ac_status" >&5
6949 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6951 # The compiler can only warn and ignore the option if not recognized
6952 # So say no if there are warnings
6953 if test ! -s out
/conftest.err
; then
6954 lt_cv_prog_compiler_c_o
=yes
6959 # SGI C++ compiler will create directory out/ii_files/ for
6960 # template instantiation
6961 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6962 $rm out
/* && rmdir out
6968 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6969 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6972 hard_links
="nottested"
6973 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6974 # do not overwrite the value of need_locks provided by the user
6975 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6976 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6979 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6981 ln conftest.a conftest.b
2>&5 || hard_links
=no
6982 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6983 echo "$as_me:$LINENO: result: $hard_links" >&5
6984 echo "${ECHO_T}$hard_links" >&6
6985 if test "$hard_links" = no
; then
6986 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6987 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6994 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6995 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6998 allow_undefined_flag
=
6999 enable_shared_with_static_runtimes
=no
7001 archive_expsym_cmds
=
7002 old_archive_From_new_cmds
=
7003 old_archive_from_expsyms_cmds
=
7004 export_dynamic_flag_spec
=
7005 whole_archive_flag_spec
=
7006 thread_safe_flag_spec
=
7007 hardcode_libdir_flag_spec
=
7008 hardcode_libdir_flag_spec_ld
=
7009 hardcode_libdir_separator
=
7012 hardcode_shlibpath_var
=unsupported
7013 link_all_deplibs
=unknown
7014 hardcode_automatic
=no
7017 always_export_symbols
=no
7018 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7019 # include_expsyms should be a list of space-separated symbols to be *always*
7020 # included in the symbol list
7022 # exclude_expsyms can be an extended regexp of symbols to exclude
7023 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7024 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7025 # as well as any symbol that contains `d'.
7026 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7027 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7028 # platforms (ab)use it in PIC code, but their linkers get confused if
7029 # the symbol is explicitly referenced. Since portable code cannot
7030 # rely on this symbol name, it's probably fine to never include it in
7031 # preloaded symbol tables.
7032 extract_expsyms_cmds
=
7035 cygwin
* | mingw
* | pw32
*)
7036 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7037 # When not using gcc, we currently assume that we are using
7038 # Microsoft Visual C++.
7039 if test "$GCC" != yes; then
7049 if test "$with_gnu_ld" = yes; then
7050 # If archive_cmds runs LD, not CC, wlarc should be empty
7053 # See if GNU ld supports shared libraries.
7055 aix3
* | aix4
* | aix5
*)
7056 # On AIX/PPC, the GNU linker is very broken
7057 if test "$host_cpu" != ia64
; then
7061 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7062 *** to be unable to reliably create shared libraries on AIX.
7063 *** Therefore, libtool is disabling shared libraries support. If you
7064 *** really care for shared libraries, you may want to modify your PATH
7065 *** so that a non-GNU linker is found, and then restart.
7072 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)'
7073 hardcode_libdir_flag_spec
='-L$libdir'
7074 hardcode_minus_L
=yes
7076 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7077 # that the semantics of dynamic libraries on AmigaOS, at least up
7078 # to version 4, is to share data among multiple programs linked
7079 # with the same dynamic library. Since this doesn't match the
7080 # behavior of shared libraries on other platforms, we can't use
7086 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7087 allow_undefined_flag
=unsupported
7088 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7089 # support --undefined. This deserves some investigation. FIXME
7090 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7096 cygwin
* | mingw
* | pw32
*)
7097 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7098 # as there is no search path for DLLs.
7099 hardcode_libdir_flag_spec
='-L$libdir'
7100 allow_undefined_flag
=unsupported
7101 always_export_symbols
=no
7102 enable_shared_with_static_runtimes
=yes
7103 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7105 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7106 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7107 # If the export-symbols file already is a .def file (1st line
7108 # is EXPORTS), use it as is; otherwise, prepend...
7109 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7110 cp $export_symbols $output_objdir/$soname.def;
7112 echo EXPORTS > $output_objdir/$soname.def;
7113 cat $export_symbols >> $output_objdir/$soname.def;
7115 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7122 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7123 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7126 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7127 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7132 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7136 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7137 *** create shared libraries on Solaris systems. Therefore, libtool
7138 *** is disabling shared libraries support. We urge you to upgrade GNU
7139 *** binutils to release 2.9.1 or newer. Another option is to modify
7140 *** your PATH or compiler configuration so that the native linker is
7141 *** used, and then restart.
7144 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7145 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7146 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7153 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7156 hardcode_shlibpath_var
=no
7160 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7162 case $CC,$host_cpu in
7163 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
7164 tmp_addflag
=' -fpic' ;;
7165 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7166 tmp_addflag
=' -i_dynamic' ;;
7167 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7168 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7169 ifc
* | ifort
*) # Intel Fortran compiler
7170 tmp_addflag
=' -nofor_main' ;;
7172 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7173 supports_anon_versioning
=no
7174 case `$LD -v 2>/dev/null` in
7175 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7176 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7177 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7178 *\
2.11.
*) ;; # other 2.11 versions
7179 *) supports_anon_versioning
=yes ;;
7181 if test $supports_anon_versioning = yes; then
7182 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7183 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7184 $echo "local: *; };" >> $output_objdir/$libname.ver~
7185 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7187 archive_expsym_cmds
=$archive_cmds
7195 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7196 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7197 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7204 if test "$ld_shlibs" = yes; then
7205 runpath_var
=LD_RUN_PATH
7206 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7207 export_dynamic_flag_spec
='${wl}--export-dynamic'
7208 # ancient GNU ld didn't support --whole-archive et. al.
7209 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7210 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7212 whole_archive_flag_spec
=
7216 # PORTME fill in a description of your system's linker (not GNU ld)
7219 allow_undefined_flag
=unsupported
7220 always_export_symbols
=yes
7221 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'
7222 # Note: this linker hardcodes the directories in LIBPATH if there
7223 # are no directories specified by -L.
7224 hardcode_minus_L
=yes
7225 if test "$GCC" = yes && test -z "$link_static_flag"; then
7226 # Neither direct hardcoding nor static linking is supported with a
7228 hardcode_direct
=unsupported
7233 if test "$host_cpu" = ia64
; then
7234 # On IA64, the linker does run time linking by default, so we don't
7235 # have to do anything special.
7236 aix_use_runtimelinking
=no
7237 exp_sym_flag
='-Bexport'
7240 # If we're using GNU nm, then we don't want the "-C" option.
7241 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7242 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7243 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'
7245 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'
7247 aix_use_runtimelinking
=no
7249 # Test if we are trying to use run time linking or normal
7250 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7251 # need to do runtime linking.
7252 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7253 for ld_flag
in $LDFLAGS; do
7254 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7255 aix_use_runtimelinking
=yes
7261 exp_sym_flag
='-bexport'
7262 no_entry_flag
='-bnoentry'
7265 # When large executables or shared objects are built, AIX ld can
7266 # have problems creating the table of contents. If linking a library
7267 # or program results in "error TOC overflow" add -mminimal-toc to
7268 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7269 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7273 hardcode_libdir_separator
=':'
7274 link_all_deplibs
=yes
7276 if test "$GCC" = yes; then
7277 case $host_os in aix4.
[012]|aix4.
[012].
*)
7278 # We only want to do this on AIX 4.2 and lower, the check
7279 # below for broken collect2 doesn't work under 4.3+
7280 collect2name
=`${CC} -print-prog-name=collect2`
7281 if test -f "$collect2name" && \
7282 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7284 # We have reworked collect2
7287 # We have old collect2
7288 hardcode_direct
=unsupported
7289 # It fails to find uninstalled libraries when the uninstalled
7290 # path is not listed in the libpath. Setting hardcode_minus_L
7291 # to unsupported forces relinking
7292 hardcode_minus_L
=yes
7293 hardcode_libdir_flag_spec
='-L$libdir'
7294 hardcode_libdir_separator
=
7297 shared_flag
='-shared'
7298 if test "$aix_use_runtimelinking" = yes; then
7299 shared_flag
="$shared_flag "'${wl}-G'
7303 if test "$host_cpu" = ia64
; then
7304 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7305 # chokes on -Wl,-G. The following line is correct:
7308 if test "$aix_use_runtimelinking" = yes; then
7309 shared_flag
='${wl}-G'
7311 shared_flag
='${wl}-bM:SRE'
7316 # It seems that -bexpall does not export symbols beginning with
7317 # underscore (_), so it is better to generate a list of symbols to export.
7318 always_export_symbols
=yes
7319 if test "$aix_use_runtimelinking" = yes; then
7320 # Warning - without using the other runtime loading flags (-brtl),
7321 # -berok will link without error, but may produce a broken library.
7322 allow_undefined_flag
='-berok'
7323 # Determine the default libpath from the value encoded in an empty executable.
7324 cat >conftest.
$ac_ext <<_ACEOF
7327 cat confdefs.h
>>conftest.
$ac_ext
7328 cat >>conftest.
$ac_ext <<_ACEOF
7329 /* end confdefs.h. */
7339 rm -f conftest.
$ac_objext conftest
$ac_exeext
7340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7341 (eval $ac_link) 2>conftest.er1
7343 grep -v '^ *+' conftest.er1
>conftest.err
7345 cat conftest.err
>&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); } &&
7348 { ac_try
='test -z "$ac_c_werror_flag"
7349 || test ! -s conftest.err'
7350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); }; } &&
7355 { ac_try
='test -s conftest$ac_exeext'
7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); }; }; then
7362 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7364 # Check for a 64-bit object if we didn't find anything.
7365 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; }
7368 echo "$as_me: failed program was:" >&5
7369 sed 's/^/| /' conftest.
$ac_ext >&5
7372 rm -f conftest.err conftest.
$ac_objext \
7373 conftest
$ac_exeext conftest.
$ac_ext
7374 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7376 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7377 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7379 if test "$host_cpu" = ia64; then
7380 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7381 allow_undefined_flag="-z nodefs"
7382 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
7384 # Determine the default libpath from the value encoded in an empty executable.
7385 cat >conftest.$ac_ext <<_ACEOF
7388 cat confdefs.h >>conftest.$ac_ext
7389 cat >>conftest.$ac_ext <<_ACEOF
7390 /* end confdefs.h. */
7400 rm -f conftest.$ac_objext conftest$ac_exeext
7401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7402 (eval $ac_link) 2>conftest.er1
7404 grep -v '^ *+' conftest.er1 >conftest.err
7406 cat conftest.err >&5
7407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7408 (exit $ac_status); } &&
7409 { ac_try='test -z "$ac_c_werror_flag"
7410 || test ! -s conftest.err'
7411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7415 (exit $ac_status); }; } &&
7416 { ac_try='test -s conftest$ac_exeext'
7417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7420 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7421 (exit $ac_status); }; }; then
7423 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7425 # Check for a 64-bit object if we didn't find anything.
7426 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; }
7429 echo "$as_me: failed program was
:" >&5
7430 sed 's/^/| /' conftest.$ac_ext >&5
7433 rm -f conftest.err conftest.$ac_objext \
7434 conftest$ac_exeext conftest.$ac_ext
7435 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7437 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7438 # Warning - without using the other run time loading flags,
7439 # -berok will link without error, but may produce a broken library.
7440 no_undefined_flag=' ${wl}-bernotok'
7441 allow_undefined_flag=' ${wl}-berok'
7442 # -bexpall does not export symbols beginning with underscore (_)
7443 always_export_symbols=yes
7444 # Exported symbols can be pulled into shared objects from archives
7445 whole_archive_flag_spec=' '
7446 archive_cmds_need_lc=yes
7447 # This is similar to how AIX traditionally builds it's shared libraries.
7448 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7454 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)'
7455 hardcode_libdir_flag_spec
='-L$libdir'
7456 hardcode_minus_L
=yes
7457 # see comment about different semantics on the GNU ld section
7462 export_dynamic_flag_spec
=-rdynamic
7465 cygwin
* | mingw
* | pw32
*)
7466 # When not using gcc, we currently assume that we are using
7467 # Microsoft Visual C++.
7468 # hardcode_libdir_flag_spec is actually meaningless, as there is
7469 # no search path for DLLs.
7470 hardcode_libdir_flag_spec
=' '
7471 allow_undefined_flag
=unsupported
7472 # Tell ltmain to make .lib files, not .a files.
7474 # Tell ltmain to make .dll files, not .so files.
7476 # FIXME: Setting linknames here is a bad hack.
7477 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7478 # The linker will automatically build a .lib file if we build a DLL.
7479 old_archive_From_new_cmds
='true'
7480 # FIXME: Should let the user specify the lib program.
7481 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7482 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7483 enable_shared_with_static_runtimes
=yes
7486 darwin
* | rhapsody
*)
7488 rhapsody
* | darwin1.
[012])
7489 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7492 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7493 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7495 case ${MACOSX_DEPLOYMENT_TARGET} in
7497 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7500 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7506 archive_cmds_need_lc
=no
7508 hardcode_automatic
=yes
7509 hardcode_shlibpath_var
=unsupported
7510 whole_archive_flag_spec
=''
7511 link_all_deplibs
=yes
7512 if test "$GCC" = yes ; then
7513 output_verbose_link_cmd
='echo'
7514 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7515 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7516 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7517 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}'
7518 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}'
7520 case "$cc_basename" in
7522 output_verbose_link_cmd
='echo'
7523 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7524 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7525 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7526 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}'
7527 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}'
7537 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7538 hardcode_libdir_flag_spec
='-L$libdir'
7539 hardcode_shlibpath_var
=no
7546 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7547 # support. Future versions do this automatically, but an explicit c++rt0.o
7548 # does not break anything, and helps significantly (at the cost of a little
7551 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7552 hardcode_libdir_flag_spec
='-R$libdir'
7554 hardcode_shlibpath_var
=no
7557 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7559 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7561 hardcode_minus_L
=yes
7562 hardcode_shlibpath_var
=no
7565 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7566 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7567 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7568 hardcode_libdir_flag_spec
='-R$libdir'
7570 hardcode_shlibpath_var
=no
7574 if test "$GCC" = yes; then
7575 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'
7577 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'
7579 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7580 hardcode_libdir_separator
=:
7583 # hardcode_minus_L: Not really in the search PATH,
7584 # but as the default location of the library.
7585 hardcode_minus_L
=yes
7586 export_dynamic_flag_spec
='${wl}-E'
7590 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7593 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7596 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7602 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7605 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7609 if test "$with_gnu_ld" = no
; then
7612 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7613 hardcode_libdir_flag_spec_ld
='+b $libdir'
7614 hardcode_libdir_separator
=:
7616 hardcode_shlibpath_var
=no
7619 hardcode_libdir_flag_spec
='-L$libdir'
7621 hardcode_shlibpath_var
=no
7623 # hardcode_minus_L: Not really in the search PATH,
7624 # but as the default location of the library.
7625 hardcode_minus_L
=yes
7628 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7629 hardcode_libdir_separator
=:
7631 export_dynamic_flag_spec
='${wl}-E'
7633 # hardcode_minus_L: Not really in the search PATH,
7634 # but as the default location of the library.
7635 hardcode_minus_L
=yes
7641 irix5
* | irix6
* | nonstopux
*)
7642 if test "$GCC" = yes; then
7643 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'
7645 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'
7646 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7648 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7649 hardcode_libdir_separator
=:
7650 link_all_deplibs
=yes
7654 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7655 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7657 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7659 hardcode_libdir_flag_spec
='-R$libdir'
7661 hardcode_shlibpath_var
=no
7665 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7667 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7668 hardcode_libdir_separator
=:
7669 hardcode_shlibpath_var
=no
7674 hardcode_shlibpath_var
=no
7675 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7676 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7677 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7678 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7679 export_dynamic_flag_spec
='${wl}-E'
7682 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7683 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7684 hardcode_libdir_flag_spec
='-R$libdir'
7687 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7688 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7695 hardcode_libdir_flag_spec
='-L$libdir'
7696 hardcode_minus_L
=yes
7697 allow_undefined_flag
=unsupported
7698 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'
7699 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7703 if test "$GCC" = yes; then
7704 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7705 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'
7707 allow_undefined_flag
=' -expect_unresolved \*'
7708 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'
7710 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7711 hardcode_libdir_separator
=:
7714 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7715 if test "$GCC" = yes; then
7716 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7717 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'
7718 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7720 allow_undefined_flag
=' -expect_unresolved \*'
7721 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'
7722 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7723 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
7725 # Both c and cxx compiler support -rpath directly
7726 hardcode_libdir_flag_spec
='-rpath $libdir'
7728 hardcode_libdir_separator
=:
7732 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7733 hardcode_shlibpath_var
=no
7734 export_dynamic_flag_spec
='${wl}-Bexport'
7735 runpath_var
=LD_RUN_PATH
7736 hardcode_runpath_var
=yes
7740 no_undefined_flag
=' -z text'
7741 if test "$GCC" = yes; then
7742 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7743 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7744 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7746 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7747 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7748 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7750 hardcode_libdir_flag_spec
='-R$libdir'
7751 hardcode_shlibpath_var
=no
7753 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7754 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7755 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
7757 link_all_deplibs
=yes
7761 if test "x$host_vendor" = xsequent
; then
7762 # Use $CC to link under sequent, because it throws in some extra .o
7763 # files that make .init and .fini sections work.
7764 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7766 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7768 hardcode_libdir_flag_spec
='-L$libdir'
7770 hardcode_minus_L
=yes
7771 hardcode_shlibpath_var
=no
7775 case $host_vendor in
7777 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7778 hardcode_direct
=yes # is this really true???
7781 ## LD is ld it makes a PLAMLIB
7782 ## CC just makes a GrossModule.
7783 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7784 reload_cmds
='$CC -r -o $output$reload_objs'
7788 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7789 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7792 runpath_var
='LD_RUN_PATH'
7793 hardcode_shlibpath_var
=no
7797 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7798 hardcode_shlibpath_var
=no
7799 export_dynamic_flag_spec
='-Bexport'
7803 if test -d /usr
/nec
; then
7804 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7805 hardcode_shlibpath_var
=no
7806 runpath_var
=LD_RUN_PATH
7807 hardcode_runpath_var
=yes
7813 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7816 hardcode_shlibpath_var
=no
7817 hardcode_runpath_var
=yes
7818 runpath_var
=LD_RUN_PATH
7821 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7822 no_undefined_flag
='${wl}-z ${wl}text'
7823 if test "$GCC" = yes; then
7824 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7826 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7828 runpath_var
='LD_RUN_PATH'
7829 hardcode_shlibpath_var
=no
7833 no_undefined_flag
=' -z text'
7834 # $CC -shared without GNU ld will not create a library from C++
7835 # object files and a static libstdc++, better avoid it by now
7836 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7837 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7838 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7839 hardcode_libdir_flag_spec
=
7840 hardcode_shlibpath_var
=no
7841 runpath_var
='LD_RUN_PATH'
7845 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7846 hardcode_libdir_flag_spec
='-L$libdir'
7847 hardcode_shlibpath_var
=no
7856 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7857 echo "${ECHO_T}$ld_shlibs" >&6
7858 test "$ld_shlibs" = no
&& can_build_shared
=no
7860 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7861 if test "$GCC" = yes; then
7862 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7866 # Do we need to explicitly link libc?
7868 case "x$archive_cmds_need_lc" in
7870 # Assume -lc should be added
7871 archive_cmds_need_lc
=yes
7873 if test "$enable_shared" = yes && test "$GCC" = yes; then
7874 case $archive_cmds in
7876 # FIXME: we may have to deal with multi-command sequences.
7879 # Test whether the compiler implicitly links with -lc since on some
7880 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7881 # to ld, don't add -lc before -lgcc.
7882 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7883 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7885 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7888 (eval $ac_compile) 2>&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); } 2>conftest.err
; then
7894 libobjs
=conftest.
$ac_objext
7896 wl
=$lt_prog_compiler_wl
7902 lt_save_allow_undefined_flag
=$allow_undefined_flag
7903 allow_undefined_flag
=
7904 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7905 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); }
7910 archive_cmds_need_lc
=no
7912 archive_cmds_need_lc
=yes
7914 allow_undefined_flag
=$lt_save_allow_undefined_flag
7916 cat conftest.err
1>&5
7919 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7920 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7927 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7928 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7930 libname_spec
='lib$name'
7938 shlibpath_overrides_runpath
=unknown
7940 dynamic_linker
="$host_os ld.so"
7941 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7942 if test "$GCC" = yes; then
7943 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7944 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7945 # if the path contains ";" then we assume it to be the separator
7946 # otherwise default to the standard path separator (i.e. ":") - it is
7947 # assumed that no part of a normal pathname contains ";" but that should
7948 # okay in the real world where ";" in dirpaths is itself problematic.
7949 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7951 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7954 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7956 need_lib_prefix
=unknown
7957 hardcode_into_libs
=no
7959 # when you set need_version to no, make sure it does not cause -set_version
7960 # flags to be left without arguments
7961 need_version
=unknown
7966 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7967 shlibpath_var
=LIBPATH
7969 # AIX 3 has no versioning support, so we append a major version to the name.
7970 soname_spec
='${libname}${release}${shared_ext}$major'
7977 hardcode_into_libs
=yes
7978 if test "$host_cpu" = ia64
; then
7979 # AIX 5 supports IA64
7980 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7981 shlibpath_var
=LD_LIBRARY_PATH
7983 # With GCC up to 2.95.x, collect2 would create an import file
7984 # for dependence libraries. The import file would start with
7985 # the line `#! .'. This would cause the generated library to
7986 # depend on `.', always an invalid library. This was fixed in
7987 # development snapshots of GCC prior to 3.0.
7989 aix4 | aix4.
[01] | aix4.
[01].
*)
7990 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7992 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7999 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8000 # soname into executable. Probably we can add versioning support to
8001 # collect2, so additional links can be useful in future.
8002 if test "$aix_use_runtimelinking" = yes; then
8003 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8004 # instead of lib<name>.a to let people know that these are not
8005 # typical AIX shared libraries.
8006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8008 # We preserve .a as extension for shared libraries through AIX4.2
8009 # and later when we are not doing run time linking.
8010 library_names_spec
='${libname}${release}.a $libname.a'
8011 soname_spec
='${libname}${release}${shared_ext}$major'
8013 shlibpath_var
=LIBPATH
8018 library_names_spec
='$libname.ixlibrary $libname.a'
8019 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8020 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'
8024 library_names_spec
='${libname}${shared_ext}'
8025 dynamic_linker
="$host_os ld.so"
8026 shlibpath_var
=LIBRARY_PATH
8032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8033 soname_spec
='${libname}${release}${shared_ext}$major'
8034 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8035 shlibpath_var
=LD_LIBRARY_PATH
8036 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8037 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8038 # the default ld.so.conf also contains /usr/contrib/lib and
8039 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8040 # libtool to hard-code these into programs
8043 cygwin
* | mingw
* | pw32
*)
8044 version_type
=windows
8049 case $GCC,$host_os in
8050 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8051 library_names_spec
='$libname.dll.a'
8052 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8053 postinstall_cmds
='base_file=`basename \${file}`~
8054 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8055 dldir=$destdir/`dirname \$dlpath`~
8056 test -d \$dldir || mkdir -p \$dldir~
8057 $install_prog $dir/$dlname \$dldir/$dlname'
8058 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8059 dlpath=$dir/\$dldll~
8061 shlibpath_overrides_runpath
=yes
8065 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8066 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8067 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8070 # MinGW DLLs use traditional 'lib' prefix
8071 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8072 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8073 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8074 # It is most probably a Windows format PATH printed by
8075 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8076 # path with ; separators, and with drive letters. We can handle the
8077 # drive letters (cygwin fileutils understands them), so leave them,
8078 # especially as we might pass files found there to a mingw objdump,
8079 # which wouldn't understand a cygwinified path. Ahh.
8080 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8082 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8086 # pw32 DLLs use 'pw' prefix rather than 'lib'
8087 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8093 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8096 dynamic_linker
='Win32 ld.exe'
8097 # FIXME: first we should search . and the directory the executable is in
8101 darwin
* | rhapsody
*)
8102 dynamic_linker
="$host_os dyld"
8106 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8107 soname_spec
='${libname}${release}${major}$shared_ext'
8108 shlibpath_overrides_runpath
=yes
8109 shlibpath_var
=DYLD_LIBRARY_PATH
8110 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
8111 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8112 if test "$GCC" = yes; then
8113 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"`
8115 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8117 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8125 soname_spec
='${libname}${release}${shared_ext}$major'
8126 shlibpath_var
=LD_LIBRARY_PATH
8137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8138 soname_spec
='${libname}${release}${shared_ext}$major'
8139 shlibpath_var
=LD_LIBRARY_PATH
8140 shlibpath_overrides_runpath
=no
8141 hardcode_into_libs
=yes
8142 dynamic_linker
='GNU ld.so'
8145 freebsd
* | dragonfly
*)
8146 # DragonFly does not have aout. When/if they implement a new
8147 # versioning mechanism, adjust this.
8148 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8149 version_type
=freebsd-
$objformat
8150 case $version_type in
8152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8157 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8161 shlibpath_var
=LD_LIBRARY_PATH
8164 shlibpath_overrides_runpath
=yes
8166 freebsd3.
[01]* | freebsdelf3.
[01]*)
8167 shlibpath_overrides_runpath
=yes
8168 hardcode_into_libs
=yes
8171 shlibpath_overrides_runpath
=no
8172 hardcode_into_libs
=yes
8181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8182 soname_spec
='${libname}${release}${shared_ext}$major'
8183 shlibpath_var
=LD_LIBRARY_PATH
8184 hardcode_into_libs
=yes
8187 hpux9
* | hpux10
* | hpux11
*)
8188 # Give a soname corresponding to the major version so that dld.sl refuses to
8189 # link against other versions.
8196 hardcode_into_libs
=yes
8197 dynamic_linker
="$host_os dld.so"
8198 shlibpath_var
=LD_LIBRARY_PATH
8199 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8201 soname_spec
='${libname}${release}${shared_ext}$major'
8202 if test "X$HPUX_IA64_MODE" = X32
; then
8203 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8205 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8207 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8211 hardcode_into_libs
=yes
8212 dynamic_linker
="$host_os dld.sl"
8213 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8214 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8216 soname_spec
='${libname}${release}${shared_ext}$major'
8217 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8218 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8222 dynamic_linker
="$host_os dld.sl"
8223 shlibpath_var
=SHLIB_PATH
8224 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8226 soname_spec
='${libname}${release}${shared_ext}$major'
8229 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8230 postinstall_cmds
='chmod 555 $lib'
8233 irix5
* | irix6
* | nonstopux
*)
8235 nonstopux
*) version_type
=nonstopux
;;
8237 if test "$lt_cv_prog_gnu_ld" = yes; then
8245 soname_spec
='${libname}${release}${shared_ext}$major'
8246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8248 irix5
* | nonstopux
*)
8252 case $LD in # libtool.m4 will add one of these switches to LD
8253 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8254 libsuff
= shlibsuff
= libmagic
=32-bit;;
8255 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8256 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8257 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8258 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8259 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8263 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8264 shlibpath_overrides_runpath
=no
8265 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8266 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8267 hardcode_into_libs
=yes
8270 # No shared lib support for Linux oldld, aout, or coff.
8271 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8275 # This must be Linux ELF.
8280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8281 soname_spec
='${libname}${release}${shared_ext}$major'
8282 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8283 shlibpath_var
=LD_LIBRARY_PATH
8284 shlibpath_overrides_runpath
=no
8285 # This implies no fast_install, which is unacceptable.
8286 # Some rework will be needed to allow for fast_install
8287 # before this can be enabled.
8288 hardcode_into_libs
=yes
8290 # Append ld.so.conf contents to the search path
8291 if test -f /etc
/ld.so.conf
; then
8292 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8293 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8296 # We used to test for /lib/ld.so.1 and disable shared libraries on
8297 # powerpc, because MkLinux only supported shared libraries with the
8298 # GNU dynamic linker. Since this was broken with cross compilers,
8299 # most powerpc-linux boxes support dynamic linking these days and
8300 # people can always --disable-shared, the test was removed, and we
8301 # assume the GNU/Linux dynamic linker is in use.
8302 dynamic_linker
='GNU/Linux ld.so'
8309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8310 soname_spec
='${libname}${release}${shared_ext}$major'
8311 shlibpath_var
=LD_LIBRARY_PATH
8312 shlibpath_overrides_runpath
=no
8313 hardcode_into_libs
=yes
8314 dynamic_linker
='GNU ld.so'
8321 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8323 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8324 dynamic_linker
='NetBSD (a.out) ld.so'
8326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8327 soname_spec
='${libname}${release}${shared_ext}$major'
8328 dynamic_linker
='NetBSD ld.elf_so'
8330 shlibpath_var
=LD_LIBRARY_PATH
8331 shlibpath_overrides_runpath
=yes
8332 hardcode_into_libs
=yes
8337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8338 shlibpath_var
=LD_LIBRARY_PATH
8339 shlibpath_overrides_runpath
=yes
8346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8347 soname_spec
='${libname}${release}${shared_ext}$major'
8348 shlibpath_var
=LD_LIBRARY_PATH
8349 shlibpath_overrides_runpath
=yes
8356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8357 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8358 shlibpath_var
=LD_LIBRARY_PATH
8359 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8361 openbsd2.
[89] | openbsd2.
[89].
*)
8362 shlibpath_overrides_runpath
=no
8365 shlibpath_overrides_runpath
=yes
8369 shlibpath_overrides_runpath
=yes
8374 libname_spec
='$name'
8377 library_names_spec
='$libname${shared_ext} $libname.a'
8378 dynamic_linker
='OS/2 ld.exe'
8379 shlibpath_var
=LIBPATH
8382 osf3
* | osf4
* | osf5
*)
8386 soname_spec
='${libname}${release}${shared_ext}$major'
8387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8388 shlibpath_var
=LD_LIBRARY_PATH
8389 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8390 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8395 soname_spec
='${libname}${release}${shared_ext}$major'
8396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8397 shlibpath_var
=LD_LIBRARY_PATH
8404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8405 soname_spec
='${libname}${release}${shared_ext}$major'
8406 shlibpath_var
=LD_LIBRARY_PATH
8407 shlibpath_overrides_runpath
=yes
8408 hardcode_into_libs
=yes
8409 # ldd complains unless libraries are executable
8410 postinstall_cmds
='chmod +x $lib'
8415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8416 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8417 shlibpath_var
=LD_LIBRARY_PATH
8418 shlibpath_overrides_runpath
=yes
8419 if test "$with_gnu_ld" = yes; then
8425 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8428 soname_spec
='${libname}${release}${shared_ext}$major'
8429 shlibpath_var
=LD_LIBRARY_PATH
8430 case $host_vendor in
8432 shlibpath_overrides_runpath
=no
8434 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8435 runpath_var
=LD_RUN_PATH
8443 shlibpath_overrides_runpath
=no
8444 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8450 if test -d /usr
/nec
;then
8452 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8453 soname_spec
='$libname${shared_ext}.$major'
8454 shlibpath_var
=LD_LIBRARY_PATH
8460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8461 soname_spec
='${libname}${release}${shared_ext}$major'
8462 shlibpath_var
=LD_LIBRARY_PATH
8469 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8470 echo "${ECHO_T}$dynamic_linker" >&6
8471 test "$dynamic_linker" = no
&& can_build_shared
=no
8473 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8474 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8476 if test -n "$hardcode_libdir_flag_spec" || \
8477 test -n "$runpath_var" || \
8478 test "X$hardcode_automatic" = "Xyes" ; then
8480 # We can hardcode non-existant directories.
8481 if test "$hardcode_direct" != no
&&
8482 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8483 # have to relink, otherwise we might link with an installed library
8484 # when we should be linking with a yet-to-be-installed one
8485 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8486 test "$hardcode_minus_L" != no
; then
8487 # Linking always hardcodes the temporary library directory.
8488 hardcode_action
=relink
8490 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8491 hardcode_action
=immediate
8494 # We cannot hardcode anything, or else we can only hardcode existing
8496 hardcode_action
=unsupported
8498 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8499 echo "${ECHO_T}$hardcode_action" >&6
8501 if test "$hardcode_action" = relink
; then
8502 # Fast installation is not supported
8503 enable_fast_install
=no
8504 elif test "$shlibpath_overrides_runpath" = yes ||
8505 test "$enable_shared" = no
; then
8506 # Fast installation is not necessary
8507 enable_fast_install
=needless
8512 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8513 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8514 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8515 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8516 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8517 echo "$as_me:$LINENO: result: yes" >&5
8518 echo "${ECHO_T}yes" >&6
8520 # FIXME - insert some real tests, host_os isn't really good enough
8523 if test -n "$STRIP" ; then
8524 striplib
="$STRIP -x"
8525 echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6
8528 echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6
8533 echo "$as_me:$LINENO: result: no" >&5
8534 echo "${ECHO_T}no" >&6
8539 if test "x$enable_dlopen" != xyes
; then
8540 enable_dlopen
=unknown
8541 enable_dlopen_self
=unknown
8542 enable_dlopen_self_static
=unknown
8549 lt_cv_dlopen
="load_add_on"
8551 lt_cv_dlopen_self
=yes
8555 lt_cv_dlopen
="LoadLibrary"
8560 lt_cv_dlopen
="dlopen"
8565 # if libdl is installed we need to link against it
8566 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8567 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8568 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8571 ac_check_lib_save_LIBS
=$LIBS
8573 cat >conftest.
$ac_ext <<_ACEOF
8576 cat confdefs.h
>>conftest.
$ac_ext
8577 cat >>conftest.
$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8580 /* Override any gcc2 internal prototype to avoid an error. */
8584 /* We use char because int might match the return type of a gcc2
8585 builtin and then its argument prototype would still apply. */
8595 rm -f conftest.
$ac_objext conftest
$ac_exeext
8596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8597 (eval $ac_link) 2>conftest.er1
8599 grep -v '^ *+' conftest.er1
>conftest.err
8601 cat conftest.err
>&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); } &&
8604 { ac_try
='test -z "$ac_c_werror_flag"
8605 || test ! -s conftest.err'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; } &&
8611 { ac_try
='test -s conftest$ac_exeext'
8612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); }; }; then
8617 ac_cv_lib_dl_dlopen
=yes
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.
$ac_ext >&5
8622 ac_cv_lib_dl_dlopen
=no
8624 rm -f conftest.err conftest.
$ac_objext \
8625 conftest
$ac_exeext conftest.
$ac_ext
8626 LIBS
=$ac_check_lib_save_LIBS
8628 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8629 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8630 if test $ac_cv_lib_dl_dlopen = yes; then
8631 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8636 lt_cv_dlopen_self
=yes
8643 echo "$as_me:$LINENO: checking for shl_load" >&5
8644 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8645 if test "${ac_cv_func_shl_load+set}" = set; then
8646 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 cat >conftest.
$ac_ext <<_ACEOF
8651 cat confdefs.h
>>conftest.
$ac_ext
8652 cat >>conftest.
$ac_ext <<_ACEOF
8653 /* end confdefs.h. */
8654 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8656 #define shl_load innocuous_shl_load
8658 /* System header to define __stub macros and hopefully few prototypes,
8659 which can conflict with char shl_load (); below.
8660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8661 <limits.h> exists even on freestanding compilers. */
8664 # include <limits.h>
8666 # include <assert.h>
8671 /* Override any gcc2 internal prototype to avoid an error. */
8676 /* We use char because int might match the return type of a gcc2
8677 builtin and then its argument prototype would still apply. */
8679 /* The GNU C library defines this for functions which it implements
8680 to always fail with ENOSYS. Some functions are actually named
8681 something starting with __ and the normal name is an alias. */
8682 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8685 char (*f) () = shl_load;
8694 return f != shl_load;
8699 rm -f conftest.
$ac_objext conftest
$ac_exeext
8700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8701 (eval $ac_link) 2>conftest.er1
8703 grep -v '^ *+' conftest.er1
>conftest.err
8705 cat conftest.err
>&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); } &&
8708 { ac_try
='test -z "$ac_c_werror_flag"
8709 || test ! -s conftest.err'
8710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); }; } &&
8715 { ac_try
='test -s conftest$ac_exeext'
8716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); }; }; then
8721 ac_cv_func_shl_load
=yes
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.
$ac_ext >&5
8726 ac_cv_func_shl_load
=no
8728 rm -f conftest.err conftest.
$ac_objext \
8729 conftest
$ac_exeext conftest.
$ac_ext
8731 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8732 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8733 if test $ac_cv_func_shl_load = yes; then
8734 lt_cv_dlopen
="shl_load"
8736 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8737 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8738 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8739 echo $ECHO_N "(cached) $ECHO_C" >&6
8741 ac_check_lib_save_LIBS
=$LIBS
8743 cat >conftest.
$ac_ext <<_ACEOF
8746 cat confdefs.h
>>conftest.
$ac_ext
8747 cat >>conftest.
$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8750 /* Override any gcc2 internal prototype to avoid an error. */
8754 /* We use char because int might match the return type of a gcc2
8755 builtin and then its argument prototype would still apply. */
8765 rm -f conftest.
$ac_objext conftest
$ac_exeext
8766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8767 (eval $ac_link) 2>conftest.er1
8769 grep -v '^ *+' conftest.er1
>conftest.err
8771 cat conftest.err
>&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } &&
8774 { ac_try
='test -z "$ac_c_werror_flag"
8775 || test ! -s conftest.err'
8776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); }; } &&
8781 { ac_try
='test -s conftest$ac_exeext'
8782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; }; then
8787 ac_cv_lib_dld_shl_load
=yes
8789 echo "$as_me: failed program was:" >&5
8790 sed 's/^/| /' conftest.
$ac_ext >&5
8792 ac_cv_lib_dld_shl_load
=no
8794 rm -f conftest.err conftest.
$ac_objext \
8795 conftest
$ac_exeext conftest.
$ac_ext
8796 LIBS
=$ac_check_lib_save_LIBS
8798 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8799 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8800 if test $ac_cv_lib_dld_shl_load = yes; then
8801 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8803 echo "$as_me:$LINENO: checking for dlopen" >&5
8804 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8805 if test "${ac_cv_func_dlopen+set}" = set; then
8806 echo $ECHO_N "(cached) $ECHO_C" >&6
8808 cat >conftest.
$ac_ext <<_ACEOF
8811 cat confdefs.h
>>conftest.
$ac_ext
8812 cat >>conftest.
$ac_ext <<_ACEOF
8813 /* end confdefs.h. */
8814 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8816 #define dlopen innocuous_dlopen
8818 /* System header to define __stub macros and hopefully few prototypes,
8819 which can conflict with char dlopen (); below.
8820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8821 <limits.h> exists even on freestanding compilers. */
8824 # include <limits.h>
8826 # include <assert.h>
8831 /* Override any gcc2 internal prototype to avoid an error. */
8836 /* We use char because int might match the return type of a gcc2
8837 builtin and then its argument prototype would still apply. */
8839 /* The GNU C library defines this for functions which it implements
8840 to always fail with ENOSYS. Some functions are actually named
8841 something starting with __ and the normal name is an alias. */
8842 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8845 char (*f) () = dlopen;
8859 rm -f conftest.
$ac_objext conftest
$ac_exeext
8860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8861 (eval $ac_link) 2>conftest.er1
8863 grep -v '^ *+' conftest.er1
>conftest.err
8865 cat conftest.err
>&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); } &&
8868 { ac_try
='test -z "$ac_c_werror_flag"
8869 || test ! -s conftest.err'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; } &&
8875 { ac_try
='test -s conftest$ac_exeext'
8876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; }; then
8881 ac_cv_func_dlopen
=yes
8883 echo "$as_me: failed program was:" >&5
8884 sed 's/^/| /' conftest.
$ac_ext >&5
8886 ac_cv_func_dlopen
=no
8888 rm -f conftest.err conftest.
$ac_objext \
8889 conftest
$ac_exeext conftest.
$ac_ext
8891 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8892 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8893 if test $ac_cv_func_dlopen = yes; then
8894 lt_cv_dlopen
="dlopen"
8896 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8897 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8898 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8899 echo $ECHO_N "(cached) $ECHO_C" >&6
8901 ac_check_lib_save_LIBS
=$LIBS
8903 cat >conftest.
$ac_ext <<_ACEOF
8906 cat confdefs.h
>>conftest.
$ac_ext
8907 cat >>conftest.
$ac_ext <<_ACEOF
8908 /* end confdefs.h. */
8910 /* Override any gcc2 internal prototype to avoid an error. */
8914 /* We use char because int might match the return type of a gcc2
8915 builtin and then its argument prototype would still apply. */
8925 rm -f conftest.
$ac_objext conftest
$ac_exeext
8926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8927 (eval $ac_link) 2>conftest.er1
8929 grep -v '^ *+' conftest.er1
>conftest.err
8931 cat conftest.err
>&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); } &&
8934 { ac_try
='test -z "$ac_c_werror_flag"
8935 || test ! -s conftest.err'
8936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); }; } &&
8941 { ac_try
='test -s conftest$ac_exeext'
8942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); }; }; then
8947 ac_cv_lib_dl_dlopen
=yes
8949 echo "$as_me: failed program was:" >&5
8950 sed 's/^/| /' conftest.
$ac_ext >&5
8952 ac_cv_lib_dl_dlopen
=no
8954 rm -f conftest.err conftest.
$ac_objext \
8955 conftest
$ac_exeext conftest.
$ac_ext
8956 LIBS
=$ac_check_lib_save_LIBS
8958 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8959 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8960 if test $ac_cv_lib_dl_dlopen = yes; then
8961 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8963 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8964 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8965 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8966 echo $ECHO_N "(cached) $ECHO_C" >&6
8968 ac_check_lib_save_LIBS
=$LIBS
8970 cat >conftest.
$ac_ext <<_ACEOF
8973 cat confdefs.h
>>conftest.
$ac_ext
8974 cat >>conftest.
$ac_ext <<_ACEOF
8975 /* end confdefs.h. */
8977 /* Override any gcc2 internal prototype to avoid an error. */
8981 /* We use char because int might match the return type of a gcc2
8982 builtin and then its argument prototype would still apply. */
8992 rm -f conftest.
$ac_objext conftest
$ac_exeext
8993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8994 (eval $ac_link) 2>conftest.er1
8996 grep -v '^ *+' conftest.er1
>conftest.err
8998 cat conftest.err
>&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); } &&
9001 { ac_try
='test -z "$ac_c_werror_flag"
9002 || test ! -s conftest.err'
9003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); }; } &&
9008 { ac_try
='test -s conftest$ac_exeext'
9009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013 (exit $ac_status); }; }; then
9014 ac_cv_lib_svld_dlopen
=yes
9016 echo "$as_me: failed program was:" >&5
9017 sed 's/^/| /' conftest.
$ac_ext >&5
9019 ac_cv_lib_svld_dlopen
=no
9021 rm -f conftest.err conftest.
$ac_objext \
9022 conftest
$ac_exeext conftest.
$ac_ext
9023 LIBS
=$ac_check_lib_save_LIBS
9025 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9026 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9027 if test $ac_cv_lib_svld_dlopen = yes; then
9028 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9030 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9031 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9032 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9035 ac_check_lib_save_LIBS
=$LIBS
9037 cat >conftest.
$ac_ext <<_ACEOF
9040 cat confdefs.h
>>conftest.
$ac_ext
9041 cat >>conftest.
$ac_ext <<_ACEOF
9042 /* end confdefs.h. */
9044 /* Override any gcc2 internal prototype to avoid an error. */
9048 /* We use char because int might match the return type of a gcc2
9049 builtin and then its argument prototype would still apply. */
9059 rm -f conftest.
$ac_objext conftest
$ac_exeext
9060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9061 (eval $ac_link) 2>conftest.er1
9063 grep -v '^ *+' conftest.er1
>conftest.err
9065 cat conftest.err
>&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); } &&
9068 { ac_try
='test -z "$ac_c_werror_flag"
9069 || test ! -s conftest.err'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; } &&
9075 { ac_try
='test -s conftest$ac_exeext'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; }; then
9081 ac_cv_lib_dld_dld_link
=yes
9083 echo "$as_me: failed program was:" >&5
9084 sed 's/^/| /' conftest.
$ac_ext >&5
9086 ac_cv_lib_dld_dld_link
=no
9088 rm -f conftest.err conftest.
$ac_objext \
9089 conftest
$ac_exeext conftest.
$ac_ext
9090 LIBS
=$ac_check_lib_save_LIBS
9092 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9093 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9094 if test $ac_cv_lib_dld_dld_link = yes; then
9095 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9116 if test "x$lt_cv_dlopen" != xno
; then
9122 case $lt_cv_dlopen in
9124 save_CPPFLAGS
="$CPPFLAGS"
9125 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9127 save_LDFLAGS
="$LDFLAGS"
9128 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9131 LIBS
="$lt_cv_dlopen_libs $LIBS"
9133 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9134 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9135 if test "${lt_cv_dlopen_self+set}" = set; then
9136 echo $ECHO_N "(cached) $ECHO_C" >&6
9138 if test "$cross_compiling" = yes; then :
9139 lt_cv_dlopen_self
=cross
9141 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9142 lt_status
=$lt_dlunknown
9143 cat > conftest.
$ac_ext <<EOF
9144 #line 9144 "configure"
9145 #include "confdefs.h"
9154 # define LT_DLGLOBAL RTLD_GLOBAL
9157 # define LT_DLGLOBAL DL_GLOBAL
9159 # define LT_DLGLOBAL 0
9163 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9164 find out it does not work in some platform. */
9165 #ifndef LT_DLLAZY_OR_NOW
9167 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9170 # define LT_DLLAZY_OR_NOW DL_LAZY
9173 # define LT_DLLAZY_OR_NOW RTLD_NOW
9176 # define LT_DLLAZY_OR_NOW DL_NOW
9178 # define LT_DLLAZY_OR_NOW 0
9186 extern "C" void exit (int);
9189 void fnord() { int i=42;}
9192 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9193 int status = $lt_dlunknown;
9197 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9198 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9199 /* dlclose (self); */
9205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9206 (eval $ac_link) 2>&5
9208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9209 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9210 (.
/conftest
; exit; ) 2>/dev
/null
9213 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9214 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9215 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
9218 # compilation failed
9219 lt_cv_dlopen_self
=no
9226 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9227 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9229 if test "x$lt_cv_dlopen_self" = xyes
; then
9230 LDFLAGS
="$LDFLAGS $link_static_flag"
9231 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9232 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9233 if test "${lt_cv_dlopen_self_static+set}" = set; then
9234 echo $ECHO_N "(cached) $ECHO_C" >&6
9236 if test "$cross_compiling" = yes; then :
9237 lt_cv_dlopen_self_static
=cross
9239 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9240 lt_status
=$lt_dlunknown
9241 cat > conftest.
$ac_ext <<EOF
9242 #line 9242 "configure"
9243 #include "confdefs.h"
9252 # define LT_DLGLOBAL RTLD_GLOBAL
9255 # define LT_DLGLOBAL DL_GLOBAL
9257 # define LT_DLGLOBAL 0
9261 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9262 find out it does not work in some platform. */
9263 #ifndef LT_DLLAZY_OR_NOW
9265 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9268 # define LT_DLLAZY_OR_NOW DL_LAZY
9271 # define LT_DLLAZY_OR_NOW RTLD_NOW
9274 # define LT_DLLAZY_OR_NOW DL_NOW
9276 # define LT_DLLAZY_OR_NOW 0
9284 extern "C" void exit (int);
9287 void fnord() { int i=42;}
9290 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9291 int status = $lt_dlunknown;
9295 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9296 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9297 /* dlclose (self); */
9303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9304 (eval $ac_link) 2>&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9308 (.
/conftest
; exit; ) 2>/dev
/null
9311 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9312 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9313 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
9316 # compilation failed
9317 lt_cv_dlopen_self_static
=no
9324 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9325 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9328 CPPFLAGS
="$save_CPPFLAGS"
9329 LDFLAGS
="$save_LDFLAGS"
9334 case $lt_cv_dlopen_self in
9335 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9336 *) enable_dlopen_self
=unknown
;;
9339 case $lt_cv_dlopen_self_static in
9340 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9341 *) enable_dlopen_self_static
=unknown
;;
9346 # Report which librarie types wil actually be built
9347 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9348 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9349 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9350 echo "${ECHO_T}$can_build_shared" >&6
9352 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9353 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9354 test "$can_build_shared" = "no" && enable_shared
=no
9356 # On AIX, shared libraries and static libraries use the same namespace, and
9357 # are all built from PIC.
9360 test "$enable_shared" = yes && enable_static
=no
9361 if test -n "$RANLIB"; then
9362 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9363 postinstall_cmds
='$RANLIB $lib'
9368 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9369 test "$enable_shared" = yes && enable_static
=no
9373 echo "$as_me:$LINENO: result: $enable_shared" >&5
9374 echo "${ECHO_T}$enable_shared" >&6
9376 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9377 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9378 # Make sure either enable_shared or enable_static is yes.
9379 test "$enable_shared" = yes || enable_static
=yes
9380 echo "$as_me:$LINENO: result: $enable_static" >&5
9381 echo "${ECHO_T}$enable_static" >&6
9383 # The else clause should only fire when bootstrapping the
9384 # libtool distribution, otherwise you forgot to ship ltmain.sh
9385 # with your package, and you will get complaints that there are
9386 # no rules to generate ltmain.sh.
9387 if test -f "$ltmain"; then
9388 # See if we are running on zsh, and set the options which allow our commands through
9389 # without removal of \ escapes.
9390 if test -n "${ZSH_VERSION+set}" ; then
9391 setopt NO_GLOB_SUBST
9393 # Now quote all the things that may contain metacharacters while being
9394 # careful not to overquote the AC_SUBSTed values. We take copies of the
9395 # variables and quote the copies for generation of the libtool script.
9396 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9398 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9399 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9400 deplibs_check_method reload_flag reload_cmds need_locks \
9401 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9402 lt_cv_sys_global_symbol_to_c_name_address \
9403 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9404 old_postinstall_cmds old_postuninstall_cmds \
9408 lt_prog_compiler_wl \
9409 lt_prog_compiler_pic \
9410 lt_prog_compiler_static \
9411 lt_prog_compiler_no_builtin_flag \
9412 export_dynamic_flag_spec \
9413 thread_safe_flag_spec \
9414 whole_archive_flag_spec \
9415 enable_shared_with_static_runtimes \
9417 old_archive_from_new_cmds \
9422 compiler_lib_search_path \
9424 archive_expsym_cmds \
9426 postuninstall_cmds \
9427 old_archive_from_expsyms_cmds \
9428 allow_undefined_flag \
9430 export_symbols_cmds \
9431 hardcode_libdir_flag_spec \
9432 hardcode_libdir_flag_spec_ld \
9433 hardcode_libdir_separator \
9434 hardcode_automatic \
9436 module_expsym_cmds \
9437 lt_cv_prog_compiler_c_o \
9442 old_archive_cmds | \
9443 old_archive_from_new_cmds | \
9445 archive_expsym_cmds | \
9447 module_expsym_cmds | \
9448 old_archive_from_expsyms_cmds | \
9449 export_symbols_cmds | \
9450 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9451 postinstall_cmds | postuninstall_cmds | \
9452 old_postinstall_cmds | old_postuninstall_cmds | \
9453 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9454 # Double-quote double-evaled strings.
9455 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9458 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9464 *'\$0 --fallback-echo"')
9465 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9470 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9472 { echo "$as_me:$LINENO: creating $ofile" >&5
9473 echo "$as_me: creating $ofile" >&6;}
9475 cat <<__EOF__ >> "$cfgfile"
9478 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9479 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9480 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9482 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9483 # Free Software Foundation, Inc.
9485 # This file is part of GNU Libtool:
9486 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9488 # This program is free software; you can redistribute it and/or modify
9489 # it under the terms of the GNU General Public License as published by
9490 # the Free Software Foundation; either version 2 of the License, or
9491 # (at your option) any later version.
9493 # This program is distributed in the hope that it will be useful, but
9494 # WITHOUT ANY WARRANTY; without even the implied warranty of
9495 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9496 # General Public License for more details.
9498 # You should have received a copy of the GNU General Public License
9499 # along with this program; if not, write to the Free Software
9500 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9502 # As a special exception to the GNU General Public License, if you
9503 # distribute this file as part of a program that contains a
9504 # configuration script generated by Autoconf, you may include it under
9505 # the same distribution terms that you use for the rest of that program.
9507 # A sed program that does not truncate output.
9510 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9511 Xsed="$SED -e s/^X//"
9513 # The HP-UX ksh and POSIX shell print the target directory to stdout
9515 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9517 # The names of the tagged configurations supported by this script.
9520 # ### BEGIN LIBTOOL CONFIG
9522 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9524 # Shell to use when invoking shell scripts.
9527 # Whether or not to build shared libraries.
9528 build_libtool_libs=$enable_shared
9530 # Whether or not to build static libraries.
9531 build_old_libs=$enable_static
9533 # Whether or not to add -lc for building shared libraries.
9534 build_libtool_need_lc=$archive_cmds_need_lc
9536 # Whether or not to disallow shared libs when runtime libs are static
9537 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9539 # Whether or not to optimize for fast installation.
9540 fast_install=$enable_fast_install
9543 host_alias=$host_alias
9548 build_alias=$build_alias
9552 # An echo program that does not interpret backslashes.
9557 AR_FLAGS=$lt_AR_FLAGS
9562 # A language-specific compiler.
9565 # Is the compiler the GNU C compiler?
9571 # The linker used to build libraries.
9574 # Whether we need hard or soft links.
9577 # A BSD-compatible nm program.
9580 # A symbol stripping program
9583 # Used to examine libraries when file_magic_cmd begins "file"
9584 MAGIC_CMD=$MAGIC_CMD
9586 # Used on cygwin: DLL creation program.
9589 # Used on cygwin: object dumper.
9592 # Used on cygwin: assembler.
9595 # The name of the directory that contains temporary libtool files.
9598 # How to create reloadable object files.
9599 reload_flag=$lt_reload_flag
9600 reload_cmds=$lt_reload_cmds
9602 # How to pass a linker flag through the compiler.
9603 wl=$lt_lt_prog_compiler_wl
9605 # Object file suffix (normally "o").
9608 # Old archive suffix (normally "a").
9611 # Shared library suffix (normally ".so").
9612 shrext_cmds='$shrext_cmds'
9614 # Executable file suffix (normally "").
9617 # Additional compiler flags for building library objects.
9618 pic_flag=$lt_lt_prog_compiler_pic
9621 # What is the maximum length of a command?
9622 max_cmd_len=$lt_cv_sys_max_cmd_len
9624 # Does compiler simultaneously support -c and -o options?
9625 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9627 # Must we lock files when doing compilation ?
9628 need_locks=$lt_need_locks
9630 # Do we need the lib prefix for modules?
9631 need_lib_prefix=$need_lib_prefix
9633 # Do we need a version for libraries?
9634 need_version=$need_version
9636 # Whether dlopen is supported.
9637 dlopen_support=$enable_dlopen
9639 # Whether dlopen of programs is supported.
9640 dlopen_self=$enable_dlopen_self
9642 # Whether dlopen of statically linked programs is supported.
9643 dlopen_self_static=$enable_dlopen_self_static
9645 # Compiler flag to prevent dynamic linking.
9646 link_static_flag=$lt_lt_prog_compiler_static
9648 # Compiler flag to turn off builtin functions.
9649 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9651 # Compiler flag to allow reflexive dlopens.
9652 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9654 # Compiler flag to generate shared objects directly from archives.
9655 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9657 # Compiler flag to generate thread-safe objects.
9658 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9660 # Library versioning type.
9661 version_type=$version_type
9663 # Format of library name prefix.
9664 libname_spec=$lt_libname_spec
9666 # List of archive names. First name is the real one, the rest are links.
9667 # The last name is the one that the linker finds with -lNAME.
9668 library_names_spec=$lt_library_names_spec
9670 # The coded name of the library, if different from the real name.
9671 soname_spec=$lt_soname_spec
9673 # Commands used to build and install an old-style archive.
9675 old_archive_cmds=$lt_old_archive_cmds
9676 old_postinstall_cmds=$lt_old_postinstall_cmds
9677 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9679 # Create an old-style archive from a shared archive.
9680 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9682 # Create a temporary old-style archive to link instead of a shared archive.
9683 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9685 # Commands used to build and install a shared archive.
9686 archive_cmds=$lt_archive_cmds
9687 archive_expsym_cmds=$lt_archive_expsym_cmds
9688 postinstall_cmds=$lt_postinstall_cmds
9689 postuninstall_cmds=$lt_postuninstall_cmds
9691 # Commands used to build a loadable module (assumed same as above if empty)
9692 module_cmds=$lt_module_cmds
9693 module_expsym_cmds=$lt_module_expsym_cmds
9695 # Commands to strip libraries.
9696 old_striplib=$lt_old_striplib
9697 striplib=$lt_striplib
9699 # Dependencies to place before the objects being linked to create a
9701 predep_objects=$lt_predep_objects
9703 # Dependencies to place after the objects being linked to create a
9705 postdep_objects=$lt_postdep_objects
9707 # Dependencies to place before the objects being linked to create a
9711 # Dependencies to place after the objects being linked to create a
9713 postdeps=$lt_postdeps
9715 # The library search path used internally by the compiler when linking
9717 compiler_lib_search_path=$lt_compiler_lib_search_path
9719 # Method to check whether dependent libraries are shared objects.
9720 deplibs_check_method=$lt_deplibs_check_method
9722 # Command to use when deplibs_check_method == file_magic.
9723 file_magic_cmd=$lt_file_magic_cmd
9725 # Flag that allows shared libraries with undefined symbols to be built.
9726 allow_undefined_flag=$lt_allow_undefined_flag
9728 # Flag that forces no undefined symbols.
9729 no_undefined_flag=$lt_no_undefined_flag
9731 # Commands used to finish a libtool library installation in a directory.
9732 finish_cmds=$lt_finish_cmds
9734 # Same as above, but a single script fragment to be evaled but not shown.
9735 finish_eval=$lt_finish_eval
9737 # Take the output of nm and produce a listing of raw symbols and C names.
9738 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9740 # Transform the output of nm in a proper C declaration
9741 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9743 # Transform the output of nm in a C name address pair
9744 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9746 # This is the shared library runtime path variable.
9747 runpath_var=$runpath_var
9749 # This is the shared library path variable.
9750 shlibpath_var=$shlibpath_var
9752 # Is shlibpath searched before the hard-coded library search path?
9753 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9755 # How to hardcode a shared library path into an executable.
9756 hardcode_action=$hardcode_action
9758 # Whether we should hardcode library paths into libraries.
9759 hardcode_into_libs=$hardcode_into_libs
9761 # Flag to hardcode \$libdir into a binary during linking.
9762 # This must work even if \$libdir does not exist.
9763 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9765 # If ld is used when linking, flag to hardcode \$libdir into
9766 # a binary during linking. This must work even if \$libdir does
9768 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9770 # Whether we need a single -rpath flag with a separated argument.
9771 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9773 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9775 hardcode_direct=$hardcode_direct
9777 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9779 hardcode_minus_L=$hardcode_minus_L
9781 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9782 # the resulting binary.
9783 hardcode_shlibpath_var=$hardcode_shlibpath_var
9785 # Set to yes if building a shared library automatically hardcodes DIR into the library
9786 # and all subsequent libraries and executables linked against it.
9787 hardcode_automatic=$hardcode_automatic
9789 # Variables whose values should be saved in libtool wrapper scripts and
9790 # restored at relink time.
9791 variables_saved_for_relink="$variables_saved_for_relink"
9793 # Whether libtool must link a program against all its dependency libraries.
9794 link_all_deplibs=$link_all_deplibs
9796 # Compile-time system search path for libraries
9797 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9799 # Run-time system search path for libraries
9800 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9802 # Fix the shell variable \$srcfile for the compiler.
9803 fix_srcfile_path="$fix_srcfile_path"
9805 # Set to yes if exported symbols are required.
9806 always_export_symbols=$always_export_symbols
9808 # The commands to list exported symbols.
9809 export_symbols_cmds=$lt_export_symbols_cmds
9811 # The commands to extract the exported symbol list from a shared archive.
9812 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9814 # Symbols that should not be listed in the preloaded symbols.
9815 exclude_expsyms=$lt_exclude_expsyms
9817 # Symbols that must always be exported.
9818 include_expsyms=$lt_include_expsyms
9820 # ### END LIBTOOL CONFIG
9827 cat <<\EOF
>> "$cfgfile"
9829 # AIX sometimes has problems with the GCC collect2 program. For some
9830 # reason, if we set the COLLECT_NAMES environment variable, the problems
9831 # vanish in a puff of smoke.
9832 if test "X${COLLECT_NAMES+set}" != Xset
; then
9834 export COLLECT_NAMES
9840 # We use sed instead of cat because bash on DJGPP gets confused if
9841 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9842 # text mode, it properly converts lines to CR/LF. This bash problem
9843 # is reportedly fixed, but why not run on old versions too?
9844 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9846 mv -f "$cfgfile" "$ofile" || \
9847 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9851 # If there is no Makefile yet, we rely on a make rule to execute
9852 # `config.status --recheck' to rerun these tests and create the
9853 # libtool script then.
9854 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9855 if test -f "$ltmain_in"; then
9856 test -f Makefile
&& make "$ltmain"
9862 ac_cpp
='$CPP $CPPFLAGS'
9863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9870 # Check whether --with-tags or --without-tags was given.
9871 if test "${with_tags+set}" = set; then
9872 withval
="$with_tags"
9876 if test -f "$ltmain" && test -n "$tagnames"; then
9877 if test ! -f "${ofile}"; then
9878 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9879 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9882 if test -z "$LTCC"; then
9883 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9884 if test -z "$LTCC"; then
9885 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9886 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9888 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9889 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9893 # Extract list of available tagged configurations in $ofile.
9894 # Note that this assumes the entire list is on one line.
9895 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9897 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9898 for tagname
in $tagnames; do
9900 # Check whether tagname contains only valid characters
9901 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9903 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9904 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9905 { (exit 1); exit 1; }; }
9909 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9911 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9912 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9913 { (exit 1); exit 1; }; }
9916 # Update the list of available tags.
9917 if test -n "$tagname"; then
9918 echo appending configuration tag
\"$tagname\" to
$ofile
9922 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9923 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9924 (test "X$CXX" != "Xg++"))) ; then
9926 ac_cpp
='$CXXCPP $CPPFLAGS'
9927 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9928 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9929 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9934 archive_cmds_need_lc_CXX
=no
9935 allow_undefined_flag_CXX
=
9936 always_export_symbols_CXX
=no
9937 archive_expsym_cmds_CXX
=
9938 export_dynamic_flag_spec_CXX
=
9939 hardcode_direct_CXX
=no
9940 hardcode_libdir_flag_spec_CXX
=
9941 hardcode_libdir_flag_spec_ld_CXX
=
9942 hardcode_libdir_separator_CXX
=
9943 hardcode_minus_L_CXX
=no
9944 hardcode_automatic_CXX
=no
9946 module_expsym_cmds_CXX
=
9947 link_all_deplibs_CXX
=unknown
9948 old_archive_cmds_CXX
=$old_archive_cmds
9949 no_undefined_flag_CXX
=
9950 whole_archive_flag_spec_CXX
=
9951 enable_shared_with_static_runtimes_CXX
=no
9953 # Dependencies to place before and after the object being linked:
9955 postdep_objects_CXX
=
9958 compiler_lib_search_path_CXX
=
9960 # Source file extension for C++ test sources.
9963 # Object file extension for compiled C++ test sources.
9967 # Code to be used in simple compile tests
9968 lt_simple_compile_test_code
="int some_variable = 0;\n"
9970 # Code to be used in simple link tests
9971 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
9973 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9975 # If no C compiler was specified, use CC.
9978 # Allow CC to be a program name with arguments.
9982 # Allow CC to be a program name with arguments.
9987 lt_save_with_gnu_ld
=$with_gnu_ld
9988 lt_save_path_LD
=$lt_cv_path_LD
9989 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9990 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
9992 unset lt_cv_prog_gnu_ld
9994 if test -n "${lt_cv_path_LDCXX+set}"; then
9995 lt_cv_path_LD
=$lt_cv_path_LDCXX
9999 test -z "${LDCXX+set}" || LD
=$LDCXX
10003 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
10005 # We don't want -fno-exception wen compiling C++ code, so set the
10006 # no_builtin_flag separately
10007 if test "$GXX" = yes; then
10008 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10010 lt_prog_compiler_no_builtin_flag_CXX
=
10013 if test "$GXX" = yes; then
10014 # Set up default GNU C++ configuration
10017 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10018 if test "${with_gnu_ld+set}" = set; then
10019 withval
="$with_gnu_ld"
10020 test "$withval" = no || with_gnu_ld
=yes
10025 if test "$GCC" = yes; then
10026 # Check if gcc -print-prog-name=ld gives a path.
10027 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10028 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10031 # gcc leaves a trailing carriage return which upsets mingw
10032 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10034 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10037 # Accept absolute paths.
10039 re_direlt
='/[^/][^/]*/\.\./'
10040 # Canonicalize the pathname of ld
10041 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10042 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10043 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10045 test -z "$LD" && LD
="$ac_prog"
10048 # If it fails, then pretend we aren't using GCC.
10052 # If it is relative, then search for the first ld in PATH.
10053 with_gnu_ld
=unknown
10056 elif test "$with_gnu_ld" = yes; then
10057 echo "$as_me:$LINENO: checking for GNU ld" >&5
10058 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10060 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10061 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10063 if test "${lt_cv_path_LD+set}" = set; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 if test -z "$LD"; then
10067 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10068 for ac_dir
in $PATH; do
10070 test -z "$ac_dir" && ac_dir
=.
10071 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10072 lt_cv_path_LD
="$ac_dir/$ac_prog"
10073 # Check to see if the program is GNU ld. I'd rather use --version,
10074 # but apparently some GNU ld's only accept -v.
10075 # Break only if it was the GNU/non-GNU ld that we prefer.
10076 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10077 *GNU
* |
*'with BFD'*)
10078 test "$with_gnu_ld" != no
&& break
10081 test "$with_gnu_ld" != yes && break
10088 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10092 LD
="$lt_cv_path_LD"
10093 if test -n "$LD"; then
10094 echo "$as_me:$LINENO: result: $LD" >&5
10095 echo "${ECHO_T}$LD" >&6
10097 echo "$as_me:$LINENO: result: no" >&5
10098 echo "${ECHO_T}no" >&6
10100 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10101 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10102 { (exit 1); exit 1; }; }
10103 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10104 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10105 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10106 echo $ECHO_N "(cached) $ECHO_C" >&6
10108 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10109 case `$LD -v 2>&1 </dev/null` in
10110 *GNU
* |
*'with BFD'*)
10111 lt_cv_prog_gnu_ld
=yes
10114 lt_cv_prog_gnu_ld
=no
10118 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10119 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10120 with_gnu_ld
=$lt_cv_prog_gnu_ld
10124 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10125 # archiving commands below assume that GNU ld is being used.
10126 if test "$with_gnu_ld" = yes; then
10127 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10128 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'
10130 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10131 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10133 # If archive_cmds runs LD, not CC, wlarc should be empty
10134 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10135 # investigate it a little bit more. (MM)
10138 # ancient GNU ld didn't support --whole-archive et. al.
10139 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10140 grep 'no-whole-archive' > /dev
/null
; then
10141 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10143 whole_archive_flag_spec_CXX
=
10149 # A generic and very simple default shared library creation
10150 # command for GNU C++ for the case where it uses the native
10151 # linker, instead of GNU ld. If possible, this setting should
10152 # overridden to take advantage of the native linker features on
10153 # the platform it is being used on.
10154 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10157 # Commands to make compiler produce verbose output that lists
10158 # what "hidden" libraries, object files and flags are used when
10159 # linking a shared library.
10160 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10168 # PORTME: fill in a description of your system's C++ link characteristics
10169 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10170 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10174 # FIXME: insert proper C++ library support
10178 if test "$host_cpu" = ia64
; then
10179 # On IA64, the linker does run time linking by default, so we don't
10180 # have to do anything special.
10181 aix_use_runtimelinking
=no
10182 exp_sym_flag
='-Bexport'
10185 aix_use_runtimelinking
=no
10187 # Test if we are trying to use run time linking or normal
10188 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10189 # need to do runtime linking.
10190 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10191 for ld_flag
in $LDFLAGS; do
10194 aix_use_runtimelinking
=yes
10201 exp_sym_flag
='-bexport'
10202 no_entry_flag
='-bnoentry'
10205 # When large executables or shared objects are built, AIX ld can
10206 # have problems creating the table of contents. If linking a library
10207 # or program results in "error TOC overflow" add -mminimal-toc to
10208 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10209 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10211 archive_cmds_CXX
=''
10212 hardcode_direct_CXX
=yes
10213 hardcode_libdir_separator_CXX
=':'
10214 link_all_deplibs_CXX
=yes
10216 if test "$GXX" = yes; then
10217 case $host_os in aix4.
[012]|aix4.
[012].
*)
10218 # We only want to do this on AIX 4.2 and lower, the check
10219 # below for broken collect2 doesn't work under 4.3+
10220 collect2name
=`${CC} -print-prog-name=collect2`
10221 if test -f "$collect2name" && \
10222 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10224 # We have reworked collect2
10225 hardcode_direct_CXX
=yes
10227 # We have old collect2
10228 hardcode_direct_CXX
=unsupported
10229 # It fails to find uninstalled libraries when the uninstalled
10230 # path is not listed in the libpath. Setting hardcode_minus_L
10231 # to unsupported forces relinking
10232 hardcode_minus_L_CXX
=yes
10233 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10234 hardcode_libdir_separator_CXX
=
10237 shared_flag
='-shared'
10238 if test "$aix_use_runtimelinking" = yes; then
10239 shared_flag
="$shared_flag "'${wl}-G'
10243 if test "$host_cpu" = ia64
; then
10244 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10245 # chokes on -Wl,-G. The following line is correct:
10248 if test "$aix_use_runtimelinking" = yes; then
10249 shared_flag
='${wl}-G'
10251 shared_flag
='${wl}-bM:SRE'
10256 # It seems that -bexpall does not export symbols beginning with
10257 # underscore (_), so it is better to generate a list of symbols to export.
10258 always_export_symbols_CXX
=yes
10259 if test "$aix_use_runtimelinking" = yes; then
10260 # Warning - without using the other runtime loading flags (-brtl),
10261 # -berok will link without error, but may produce a broken library.
10262 allow_undefined_flag_CXX
='-berok'
10263 # Determine the default libpath from the value encoded in an empty executable.
10264 cat >conftest.
$ac_ext <<_ACEOF
10267 cat confdefs.h
>>conftest.
$ac_ext
10268 cat >>conftest.
$ac_ext <<_ACEOF
10269 /* end confdefs.h. */
10279 rm -f conftest.
$ac_objext conftest
$ac_exeext
10280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10281 (eval $ac_link) 2>conftest.er1
10283 grep -v '^ *+' conftest.er1
>conftest.err
10285 cat conftest.err
>&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); } &&
10288 { ac_try
='test -z "$ac_cxx_werror_flag"
10289 || test ! -s conftest.err'
10290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10291 (eval $ac_try) 2>&5
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); }; } &&
10295 { ac_try
='test -s conftest$ac_exeext'
10296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10297 (eval $ac_try) 2>&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); }; }; then
10302 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10304 # Check for a 64-bit object if we didn't find anything.
10305 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; }
10308 echo "$as_me: failed program was:" >&5
10309 sed 's/^/| /' conftest.
$ac_ext >&5
10312 rm -f conftest.err conftest.
$ac_objext \
10313 conftest
$ac_exeext conftest.
$ac_ext
10314 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10316 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10318 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10320 if test "$host_cpu" = ia64; then
10321 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10322 allow_undefined_flag_CXX="-z nodefs"
10323 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
10325 # Determine the default libpath from the value encoded in an empty executable.
10326 cat >conftest.$ac_ext <<_ACEOF
10329 cat confdefs.h >>conftest.$ac_ext
10330 cat >>conftest.$ac_ext <<_ACEOF
10331 /* end confdefs.h. */
10341 rm -f conftest.$ac_objext conftest$ac_exeext
10342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10343 (eval $ac_link) 2>conftest.er1
10345 grep -v '^ *+' conftest.er1 >conftest.err
10347 cat conftest.err >&5
10348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10349 (exit $ac_status); } &&
10350 { ac_try='test -z "$ac_cxx_werror_flag"
10351 || test ! -s conftest.err'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10356 (exit $ac_status); }; } &&
10357 { ac_try='test -s conftest$ac_exeext'
10358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10359 (eval $ac_try) 2>&5
10361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10362 (exit $ac_status); }; }; then
10364 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10366 # Check for a 64-bit object if we didn't find anything.
10367 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; }
10370 echo "$as_me: failed program was
:" >&5
10371 sed 's/^/| /' conftest.$ac_ext >&5
10374 rm -f conftest.err conftest.$ac_objext \
10375 conftest$ac_exeext conftest.$ac_ext
10376 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10378 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10379 # Warning - without using the other run time loading flags,
10380 # -berok will link without error, but may produce a broken library.
10381 no_undefined_flag_CXX=' ${wl}-bernotok'
10382 allow_undefined_flag_CXX=' ${wl}-berok'
10383 # -bexpall does not export symbols beginning with underscore (_)
10384 always_export_symbols_CXX=yes
10385 # Exported symbols can be pulled into shared objects from archives
10386 whole_archive_flag_spec_CXX=' '
10387 archive_cmds_need_lc_CXX=yes
10388 # This is similar to how AIX traditionally builds it's shared libraries.
10389 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10394 case $cc_basename in
10396 # FIXME: insert proper C++ library support
10403 cygwin* | mingw* | pw32*)
10404 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10405 # as there is no search path for DLLs.
10406 hardcode_libdir_flag_spec_CXX='-L$libdir'
10407 allow_undefined_flag_CXX=unsupported
10408 always_export_symbols_CXX=no
10409 enable_shared_with_static_runtimes_CXX=yes
10411 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10412 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10413 # If the export-symbols file already is a .def file (1st line
10414 # is EXPORTS), use it as is; otherwise, prepend...
10415 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10416 cp $export_symbols $output_objdir/$soname.def;
10418 echo EXPORTS > $output_objdir/$soname.def;
10419 cat $export_symbols >> $output_objdir/$soname.def;
10421 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10426 darwin* | rhapsody*)
10428 rhapsody* | darwin1.[012])
10429 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10432 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10433 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10435 case ${MACOSX_DEPLOYMENT_TARGET} in
10437 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10440 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10446 archive_cmds_need_lc_CXX=no
10447 hardcode_direct_CXX=no
10448 hardcode_automatic_CXX=yes
10449 hardcode_shlibpath_var_CXX=unsupported
10450 whole_archive_flag_spec_CXX=''
10451 link_all_deplibs_CXX=yes
10453 if test "$GXX" = yes ; then
10454 lt_int_apple_cc_single_mod=no
10455 output_verbose_link_cmd='echo'
10456 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10457 lt_int_apple_cc_single_mod=yes
10459 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10460 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10462 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'
10464 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10465 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10466 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10467 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}'
10469 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}'
10471 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}'
10473 case "$cc_basename" in
10475 output_verbose_link_cmd
='echo'
10476 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'
10477 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10478 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10479 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}'
10480 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}'
10490 case $cc_basename in
10492 # FIXME: insert proper C++ library support
10496 # Green Hills C++ Compiler
10497 # FIXME: insert proper C++ library support
10501 # FIXME: insert proper C++ library support
10507 # C++ shared libraries reported to be fairly broken before switch to ELF
10511 archive_cmds_need_lc_CXX
=no
10513 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10514 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10521 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10522 hardcode_libdir_separator_CXX
=:
10523 export_dynamic_flag_spec_CXX
='${wl}-E'
10524 hardcode_direct_CXX
=yes
10525 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10526 # but as the default
10527 # location of the library.
10529 case $cc_basename in
10531 # FIXME: insert proper C++ library support
10535 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'
10536 # Commands to make compiler produce verbose output that lists
10537 # what "hidden" libraries, object files and flags are used when
10538 # linking a shared library.
10540 # There doesn't appear to be a way to prevent this compiler from
10541 # explicitly linking system object files so we need to strip them
10542 # from the output so that they don't get included in the library
10544 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'
10547 if test "$GXX" = yes; then
10548 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'
10550 # FIXME: insert proper C++ library support
10557 if test $with_gnu_ld = no
; then
10558 case "$host_cpu" in
10560 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10561 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10562 hardcode_libdir_separator_CXX
=:
10565 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10568 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10569 hardcode_libdir_separator_CXX
=:
10570 export_dynamic_flag_spec_CXX
='${wl}-E'
10574 case "$host_cpu" in
10576 hardcode_direct_CXX
=no
10577 hardcode_shlibpath_var_CXX
=no
10580 hardcode_direct_CXX
=no
10581 hardcode_shlibpath_var_CXX
=no
10582 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10583 # but as the default
10584 # location of the library.
10587 hardcode_direct_CXX
=yes
10588 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10589 # but as the default
10590 # location of the library.
10594 case $cc_basename in
10596 # FIXME: insert proper C++ library support
10600 case "$host_cpu" in
10602 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10605 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10608 # Commands to make compiler produce verbose output that lists
10609 # what "hidden" libraries, object files and flags are used when
10610 # linking a shared library.
10612 # There doesn't appear to be a way to prevent this compiler from
10613 # explicitly linking system object files so we need to strip them
10614 # from the output so that they don't get included in the library
10616 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'
10619 if test "$GXX" = yes; then
10620 if test $with_gnu_ld = no
; then
10621 case "$host_cpu" in
10623 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10626 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'
10631 # FIXME: insert proper C++ library support
10638 case $cc_basename in
10641 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10643 # Archives containing C++ object files must be created using
10644 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10645 # necessary to make sure instantiated templates are included
10647 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10650 if test "$GXX" = yes; then
10651 if test "$with_gnu_ld" = no
; then
10652 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10654 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'
10657 link_all_deplibs_CXX
=yes
10660 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10661 hardcode_libdir_separator_CXX
=:
10664 case $cc_basename in
10666 # Kuck and Associates, Inc. (KAI) C++ Compiler
10668 # KCC will only create a shared library if the output file
10669 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10670 # to its proper name (with version) after linking.
10671 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'
10672 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'
10673 # Commands to make compiler produce verbose output that lists
10674 # what "hidden" libraries, object files and flags are used when
10675 # linking a shared library.
10677 # There doesn't appear to be a way to prevent this compiler from
10678 # explicitly linking system object files so we need to strip them
10679 # from the output so that they don't get included in the library
10681 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'
10683 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10684 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10686 # Archives containing C++ object files must be created using
10687 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10688 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10693 # version 8.0 and above of icpc choke on multiply defined symbols
10694 # if we add $predep_objects and $postdep_objects, however 7.1 and
10695 # earlier do not add the objects themselves.
10696 case `$CC -V 2>&1` in
10698 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10699 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'
10701 *) # Version 8.0 or newer
10704 ia64
*) tmp_idyn
=' -i_dynamic';;
10706 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10707 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'
10710 archive_cmds_need_lc_CXX
=no
10711 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10712 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10713 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10716 # Portland Group C++ compiler
10717 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10718 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'
10720 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10721 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10725 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10726 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10728 runpath_var
=LD_RUN_PATH
10729 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10730 hardcode_libdir_separator_CXX
=:
10732 # Commands to make compiler produce verbose output that lists
10733 # what "hidden" libraries, object files and flags are used when
10734 # linking a shared library.
10736 # There doesn't appear to be a way to prevent this compiler from
10737 # explicitly linking system object files so we need to strip them
10738 # from the output so that they don't get included in the library
10740 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'
10745 # FIXME: insert proper C++ library support
10749 # FIXME: insert proper C++ library support
10753 case $cc_basename in
10755 # FIXME: insert proper C++ library support
10759 # FIXME: insert proper C++ library support
10765 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10766 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10768 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10769 hardcode_direct_CXX
=yes
10770 hardcode_shlibpath_var_CXX
=no
10772 # Workaround some broken pre-1.5 toolchains
10773 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10776 # C++ shared libraries are fairly broken
10780 hardcode_direct_CXX
=yes
10781 hardcode_shlibpath_var_CXX
=no
10782 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10783 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10784 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10785 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10786 export_dynamic_flag_spec_CXX
='${wl}-E'
10787 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10789 output_verbose_link_cmd
='echo'
10792 case $cc_basename in
10794 # Kuck and Associates, Inc. (KAI) C++ Compiler
10796 # KCC will only create a shared library if the output file
10797 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10798 # to its proper name (with version) after linking.
10799 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'
10801 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10802 hardcode_libdir_separator_CXX
=:
10804 # Archives containing C++ object files must be created using
10805 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10806 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10810 # Rational C++ 2.4.1
10811 # FIXME: insert proper C++ library support
10815 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10816 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10818 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10819 hardcode_libdir_separator_CXX
=:
10821 # Commands to make compiler produce verbose output that lists
10822 # what "hidden" libraries, object files and flags are used when
10823 # linking a shared library.
10825 # There doesn't appear to be a way to prevent this compiler from
10826 # explicitly linking system object files so we need to strip them
10827 # from the output so that they don't get included in the library
10829 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'
10832 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10833 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10834 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10836 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10837 hardcode_libdir_separator_CXX
=:
10839 # Commands to make compiler produce verbose output that lists
10840 # what "hidden" libraries, object files and flags are used when
10841 # linking a shared library.
10842 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10845 # FIXME: insert proper C++ library support
10852 case $cc_basename in
10854 # Kuck and Associates, Inc. (KAI) C++ Compiler
10856 # KCC will only create a shared library if the output file
10857 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10858 # to its proper name (with version) after linking.
10859 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'
10861 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10862 hardcode_libdir_separator_CXX
=:
10864 # Archives containing C++ object files must be created using
10865 # the KAI C++ compiler.
10866 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10869 # Rational C++ 2.4.1
10870 # FIXME: insert proper C++ library support
10874 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10875 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10876 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10877 echo "-hidden">> $lib.exp~
10878 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
10881 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10882 hardcode_libdir_separator_CXX
=:
10884 # Commands to make compiler produce verbose output that lists
10885 # what "hidden" libraries, object files and flags are used when
10886 # linking a shared library.
10888 # There doesn't appear to be a way to prevent this compiler from
10889 # explicitly linking system object files so we need to strip them
10890 # from the output so that they don't get included in the library
10892 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'
10895 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10896 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10897 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10899 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10900 hardcode_libdir_separator_CXX
=:
10902 # Commands to make compiler produce verbose output that lists
10903 # what "hidden" libraries, object files and flags are used when
10904 # linking a shared library.
10905 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10908 # FIXME: insert proper C++ library support
10915 # FIXME: insert proper C++ library support
10919 archive_cmds_need_lc_CXX
=no
10920 case $cc_basename in
10922 # FIXME: insert proper C++ library support
10926 # FIXME: insert proper C++ library support
10932 case $cc_basename in
10935 # FIXME: insert proper C++ library support
10940 # FIXME: insert proper C++ library support
10944 # FIXME: insert proper C++ library support
10950 case $cc_basename in
10952 # Sun C++ 4.2, 5.x and Centerline C++
10953 no_undefined_flag_CXX
=' -zdefs'
10954 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10955 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10956 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10958 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10959 hardcode_shlibpath_var_CXX
=no
10961 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10963 # The C++ compiler is used as linker so we must use $wl
10964 # flag to pass the commands to the underlying system
10966 # Supported since Solaris 2.6 (maybe 2.5.1?)
10967 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10970 link_all_deplibs_CXX
=yes
10972 # Commands to make compiler produce verbose output that lists
10973 # what "hidden" libraries, object files and flags are used when
10974 # linking a shared library.
10976 # There doesn't appear to be a way to prevent this compiler from
10977 # explicitly linking system object files so we need to strip them
10978 # from the output so that they don't get included in the library
10980 output_verbose_link_cmd
='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10982 # Archives containing C++ object files must be created using
10983 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10984 # necessary to make sure instantiated templates are included
10986 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10989 # Green Hills C++ Compiler
10990 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10992 # The C++ compiler must be used to create the archive.
10993 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10996 # GNU C++ compiler with Solaris linker
10997 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10998 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10999 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11000 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11001 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11002 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11004 # Commands to make compiler produce verbose output that lists
11005 # what "hidden" libraries, object files and flags are used when
11006 # linking a shared library.
11007 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11009 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11011 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11012 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11013 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11015 # Commands to make compiler produce verbose output that lists
11016 # what "hidden" libraries, object files and flags are used when
11017 # linking a shared library.
11018 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11021 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11026 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
11027 archive_cmds_need_lc_CXX
=no
11030 case $cc_basename in
11032 # NonStop-UX NCC 3.20
11033 # FIXME: insert proper C++ library support
11037 # FIXME: insert proper C++ library support
11043 # FIXME: insert proper C++ library support
11047 # FIXME: insert proper C++ library support
11051 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11052 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11053 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11059 ## There is no encapsulation within the following macros, do not change
11060 ## the running order or otherwise move them around unless you know exactly
11061 ## what you are doing...
11063 cat > conftest.
$ac_ext <<EOF
11067 Foo (void) { a = 0; }
11073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11074 (eval $ac_compile) 2>&5
11076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077 (exit $ac_status); }; then
11078 # Parse the compiler output and extract the necessary
11079 # objects, libraries and library flags.
11081 # Sentinel used to keep track of whether or not we are before
11082 # the conftest object file.
11083 pre_test_object_deps_done
=no
11085 # The `*' in the case matches for architectures that use `case' in
11086 # $output_verbose_cmd can trigger glob expansion during the loop
11087 # eval without this substitution.
11088 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11090 for p
in `eval $output_verbose_link_cmd`; do
11094 # Some compilers place space between "-{L,R}" and the path.
11095 # Remove the space.
11096 if test $p = "-L" \
11097 ||
test $p = "-R"; then
11104 if test "$pre_test_object_deps_done" = no
; then
11107 # Internal compiler library paths should come after those
11108 # provided the user. The postdeps already come after the
11109 # user supplied libs so there is no need to process them.
11110 if test -z "$compiler_lib_search_path_CXX"; then
11111 compiler_lib_search_path_CXX
="${prev}${p}"
11113 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11116 # The "-l" case would never come before the object being
11117 # linked, so don't bother handling this case.
11120 if test -z "$postdeps_CXX"; then
11121 postdeps_CXX
="${prev}${p}"
11123 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11129 # This assumes that the test object file only shows up
11130 # once in the compiler output.
11131 if test "$p" = "conftest.$objext"; then
11132 pre_test_object_deps_done
=yes
11136 if test "$pre_test_object_deps_done" = no
; then
11137 if test -z "$predep_objects_CXX"; then
11138 predep_objects_CXX
="$p"
11140 predep_objects_CXX
="$predep_objects_CXX $p"
11143 if test -z "$postdep_objects_CXX"; then
11144 postdep_objects_CXX
="$p"
11146 postdep_objects_CXX
="$postdep_objects_CXX $p"
11151 *) ;; # Ignore the rest.
11159 echo "libtool.m4: error: problem compiling CXX test program"
11162 $rm -f confest.
$objext
11164 case " $postdeps_CXX " in
11165 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11168 lt_prog_compiler_wl_CXX
=
11169 lt_prog_compiler_pic_CXX
=
11170 lt_prog_compiler_static_CXX
=
11172 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11173 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11175 # C++ specific cases for pic, static, wl, etc.
11176 if test "$GXX" = yes; then
11177 lt_prog_compiler_wl_CXX
='-Wl,'
11178 lt_prog_compiler_static_CXX
='-static'
11182 # All AIX code is PIC.
11183 if test "$host_cpu" = ia64
; then
11184 # AIX 5 now supports IA64 processor
11185 lt_prog_compiler_static_CXX
='-Bstatic'
11189 # FIXME: we need at least 68020 code to build shared libraries, but
11190 # adding the `-m68020' flag to GCC prevents building anything better,
11192 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11194 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11195 # PIC is the default for these OSes.
11197 mingw
* | os2
* | pw32
*)
11198 # This hack is so that the source file can tell whether it is being
11199 # built for inclusion in a dll (and should export symbols for example).
11200 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11202 darwin
* | rhapsody
*)
11203 # PIC is the default on this platform
11204 # Common symbols not allowed in MH_DYLIB files
11205 lt_prog_compiler_pic_CXX
='-fno-common'
11208 # DJGPP does not support shared libraries at all
11209 lt_prog_compiler_pic_CXX
=
11212 if test -d /usr
/nec
; then
11213 lt_prog_compiler_pic_CXX
=-Kconform_pic
11217 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11218 # not for PA HP-UX.
11219 case "$host_cpu" in
11223 lt_prog_compiler_pic_CXX
='-fPIC'
11228 lt_prog_compiler_pic_CXX
='-fPIC'
11234 # All AIX code is PIC.
11235 if test "$host_cpu" = ia64
; then
11236 # AIX 5 now supports IA64 processor
11237 lt_prog_compiler_static_CXX
='-Bstatic'
11239 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11243 case $cc_basename in
11245 # Green Hills C++ Compiler
11246 # _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"
11251 # PIC is the default on this platform
11252 # Common symbols not allowed in MH_DYLIB files
11253 case "$cc_basename" in
11255 lt_prog_compiler_pic_CXX
='-qnocommon'
11256 lt_prog_compiler_wl_CXX
='-Wl,'
11261 case $cc_basename in
11263 lt_prog_compiler_pic_CXX
='-KPIC'
11266 # Green Hills C++ Compiler
11267 lt_prog_compiler_pic_CXX
='-pic'
11273 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11274 # FreeBSD uses GNU C++
11276 hpux9
* | hpux10
* | hpux11
*)
11277 case $cc_basename in
11279 lt_prog_compiler_wl_CXX
='-Wl,'
11280 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11281 if test "$host_cpu" != ia64
; then
11282 lt_prog_compiler_pic_CXX
='+Z'
11286 lt_prog_compiler_wl_CXX
='-Wl,'
11287 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11288 case "$host_cpu" in
11293 lt_prog_compiler_pic_CXX
='+Z'
11301 irix5
* | irix6
* | nonstopux
*)
11302 case $cc_basename in
11304 lt_prog_compiler_wl_CXX
='-Wl,'
11305 lt_prog_compiler_static_CXX
='-non_shared'
11306 # CC pic flag -KPIC is the default.
11313 case $cc_basename in
11316 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11317 lt_prog_compiler_pic_CXX
='-fPIC'
11321 lt_prog_compiler_wl_CXX
='-Wl,'
11322 lt_prog_compiler_pic_CXX
='-KPIC'
11323 lt_prog_compiler_static_CXX
='-static'
11326 # Portland Group C++ compiler.
11327 lt_prog_compiler_wl_CXX
='-Wl,'
11328 lt_prog_compiler_pic_CXX
='-fpic'
11329 lt_prog_compiler_static_CXX
='-static'
11333 # Make sure the PIC flag is empty. It appears that all Alpha
11334 # Linux and Compaq Tru64 Unix objects are PIC.
11335 lt_prog_compiler_pic_CXX
=
11336 lt_prog_compiler_static_CXX
='-non_shared'
11347 case $cc_basename in
11349 lt_prog_compiler_pic_CXX
='-W c,exportall'
11357 osf3
* | osf4
* | osf5
*)
11358 case $cc_basename in
11360 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11363 # Rational C++ 2.4.1
11364 lt_prog_compiler_pic_CXX
='-pic'
11367 # Digital/Compaq C++
11368 lt_prog_compiler_wl_CXX
='-Wl,'
11369 # Make sure the PIC flag is empty. It appears that all Alpha
11370 # Linux and Compaq Tru64 Unix objects are PIC.
11371 lt_prog_compiler_pic_CXX
=
11372 lt_prog_compiler_static_CXX
='-non_shared'
11381 case $cc_basename in
11383 lt_prog_compiler_pic_CXX
='-fPIC'
11390 case $cc_basename in
11392 # Sun C++ 4.2, 5.x and Centerline C++
11393 lt_prog_compiler_pic_CXX
='-KPIC'
11394 lt_prog_compiler_static_CXX
='-Bstatic'
11395 lt_prog_compiler_wl_CXX
='-Qoption ld '
11398 # Green Hills C++ Compiler
11399 lt_prog_compiler_pic_CXX
='-PIC'
11406 case $cc_basename in
11409 lt_prog_compiler_pic_CXX
='-pic'
11410 lt_prog_compiler_static_CXX
='-Bstatic'
11414 lt_prog_compiler_pic_CXX
='-pic'
11421 case $cc_basename in
11423 # NonStop-UX NCC 3.20
11424 lt_prog_compiler_pic_CXX
='-KPIC'
11435 lt_prog_compiler_can_build_shared_CXX
=no
11440 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11441 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11444 # Check to make sure the PIC flag actually works.
11446 if test -n "$lt_prog_compiler_pic_CXX"; then
11448 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11449 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11450 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11453 lt_prog_compiler_pic_works_CXX
=no
11454 ac_outfile
=conftest.
$ac_objext
11455 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11456 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11457 # Insert the option either (1) after the last *FLAGS variable, or
11458 # (2) before a word containing "conftest.", or (3) at the end.
11459 # Note that $ac_compile itself does not contain backslashes and begins
11460 # with a dollar sign (not a hyphen), so the echo should work correctly.
11461 # The option is referenced via a variable to avoid confusing sed.
11462 lt_compile
=`echo "$ac_compile" | $SED \
11463 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11465 -e 's:$: $lt_compiler_flag:'`
11466 (eval echo "\"\$as_me:11466: $lt_compile\"" >&5)
11467 (eval "$lt_compile" 2>conftest.err
)
11469 cat conftest.err
>&5
11470 echo "$as_me:11470: \$? = $ac_status" >&5
11471 if (exit $ac_status) && test -s "$ac_outfile"; then
11472 # The compiler can only warn and ignore the option if not recognized
11473 # So say no if there are warnings
11474 if test ! -s conftest.err
; then
11475 lt_prog_compiler_pic_works_CXX
=yes
11481 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11482 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11484 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11485 case $lt_prog_compiler_pic_CXX in
11487 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11490 lt_prog_compiler_pic_CXX
=
11491 lt_prog_compiler_can_build_shared_CXX
=no
11496 # For platforms which do not support PIC, -DPIC is meaningless:
11498 lt_prog_compiler_pic_CXX
=
11501 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11505 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11506 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11507 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11508 echo $ECHO_N "(cached) $ECHO_C" >&6
11510 lt_cv_prog_compiler_c_o_CXX
=no
11511 $rm -r conftest
2>/dev
/null
11515 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11517 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11518 # Insert the option either (1) after the last *FLAGS variable, or
11519 # (2) before a word containing "conftest.", or (3) at the end.
11520 # Note that $ac_compile itself does not contain backslashes and begins
11521 # with a dollar sign (not a hyphen), so the echo should work correctly.
11522 lt_compile
=`echo "$ac_compile" | $SED \
11523 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11525 -e 's:$: $lt_compiler_flag:'`
11526 (eval echo "\"\$as_me:11526: $lt_compile\"" >&5)
11527 (eval "$lt_compile" 2>out
/conftest.err
)
11529 cat out
/conftest.err
>&5
11530 echo "$as_me:11530: \$? = $ac_status" >&5
11531 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11533 # The compiler can only warn and ignore the option if not recognized
11534 # So say no if there are warnings
11535 if test ! -s out
/conftest.err
; then
11536 lt_cv_prog_compiler_c_o_CXX
=yes
11541 # SGI C++ compiler will create directory out/ii_files/ for
11542 # template instantiation
11543 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11544 $rm out
/* && rmdir out
11550 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11551 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11554 hard_links
="nottested"
11555 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11556 # do not overwrite the value of need_locks provided by the user
11557 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11558 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11561 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11563 ln conftest.a conftest.b
2>&5 || hard_links
=no
11564 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11565 echo "$as_me:$LINENO: result: $hard_links" >&5
11566 echo "${ECHO_T}$hard_links" >&6
11567 if test "$hard_links" = no
; then
11568 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11569 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11576 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11577 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11579 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11582 # If we're using GNU nm, then we don't want the "-C" option.
11583 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11584 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11585 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'
11587 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'
11591 export_symbols_cmds_CXX
="$ltdll_cmds"
11594 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'
11597 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11601 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11602 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11603 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11605 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11606 if test "$GCC" = yes; then
11607 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11611 # Do we need to explicitly link libc?
11613 case "x$archive_cmds_need_lc_CXX" in
11615 # Assume -lc should be added
11616 archive_cmds_need_lc_CXX
=yes
11618 if test "$enable_shared" = yes && test "$GCC" = yes; then
11619 case $archive_cmds_CXX in
11621 # FIXME: we may have to deal with multi-command sequences.
11624 # Test whether the compiler implicitly links with -lc since on some
11625 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11626 # to ld, don't add -lc before -lgcc.
11627 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11628 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11630 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11633 (eval $ac_compile) 2>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); } 2>conftest.err
; then
11639 libobjs
=conftest.
$ac_objext
11641 wl
=$lt_prog_compiler_wl_CXX
11647 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11648 allow_undefined_flag_CXX
=
11649 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11650 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); }
11655 archive_cmds_need_lc_CXX
=no
11657 archive_cmds_need_lc_CXX
=yes
11659 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11661 cat conftest.err
1>&5
11664 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11665 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11672 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11673 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11674 library_names_spec
=
11675 libname_spec
='lib$name'
11679 postuninstall_cmds
=
11683 shlibpath_overrides_runpath
=unknown
11685 dynamic_linker
="$host_os ld.so"
11686 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11687 if test "$GCC" = yes; then
11688 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11689 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11690 # if the path contains ";" then we assume it to be the separator
11691 # otherwise default to the standard path separator (i.e. ":") - it is
11692 # assumed that no part of a normal pathname contains ";" but that should
11693 # okay in the real world where ";" in dirpaths is itself problematic.
11694 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11696 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11699 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11701 need_lib_prefix
=unknown
11702 hardcode_into_libs
=no
11704 # when you set need_version to no, make sure it does not cause -set_version
11705 # flags to be left without arguments
11706 need_version
=unknown
11711 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11712 shlibpath_var
=LIBPATH
11714 # AIX 3 has no versioning support, so we append a major version to the name.
11715 soname_spec
='${libname}${release}${shared_ext}$major'
11722 hardcode_into_libs
=yes
11723 if test "$host_cpu" = ia64
; then
11724 # AIX 5 supports IA64
11725 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11726 shlibpath_var
=LD_LIBRARY_PATH
11728 # With GCC up to 2.95.x, collect2 would create an import file
11729 # for dependence libraries. The import file would start with
11730 # the line `#! .'. This would cause the generated library to
11731 # depend on `.', always an invalid library. This was fixed in
11732 # development snapshots of GCC prior to 3.0.
11734 aix4 | aix4.
[01] | aix4.
[01].
*)
11735 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11737 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11740 can_build_shared
=no
11744 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11745 # soname into executable. Probably we can add versioning support to
11746 # collect2, so additional links can be useful in future.
11747 if test "$aix_use_runtimelinking" = yes; then
11748 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11749 # instead of lib<name>.a to let people know that these are not
11750 # typical AIX shared libraries.
11751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11753 # We preserve .a as extension for shared libraries through AIX4.2
11754 # and later when we are not doing run time linking.
11755 library_names_spec
='${libname}${release}.a $libname.a'
11756 soname_spec
='${libname}${release}${shared_ext}$major'
11758 shlibpath_var
=LIBPATH
11763 library_names_spec
='$libname.ixlibrary $libname.a'
11764 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11765 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'
11769 library_names_spec
='${libname}${shared_ext}'
11770 dynamic_linker
="$host_os ld.so"
11771 shlibpath_var
=LIBRARY_PATH
11777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778 soname_spec
='${libname}${release}${shared_ext}$major'
11779 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11780 shlibpath_var
=LD_LIBRARY_PATH
11781 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11782 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11783 # the default ld.so.conf also contains /usr/contrib/lib and
11784 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11785 # libtool to hard-code these into programs
11788 cygwin
* | mingw
* | pw32
*)
11789 version_type
=windows
11794 case $GCC,$host_os in
11795 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11796 library_names_spec
='$libname.dll.a'
11797 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11798 postinstall_cmds
='base_file=`basename \${file}`~
11799 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11800 dldir=$destdir/`dirname \$dlpath`~
11801 test -d \$dldir || mkdir -p \$dldir~
11802 $install_prog $dir/$dlname \$dldir/$dlname'
11803 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11804 dlpath=$dir/\$dldll~
11806 shlibpath_overrides_runpath
=yes
11810 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11811 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11812 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11815 # MinGW DLLs use traditional 'lib' prefix
11816 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11817 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11818 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11819 # It is most probably a Windows format PATH printed by
11820 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11821 # path with ; separators, and with drive letters. We can handle the
11822 # drive letters (cygwin fileutils understands them), so leave them,
11823 # especially as we might pass files found there to a mingw objdump,
11824 # which wouldn't understand a cygwinified path. Ahh.
11825 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11827 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11831 # pw32 DLLs use 'pw' prefix rather than 'lib'
11832 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11838 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11841 dynamic_linker
='Win32 ld.exe'
11842 # FIXME: first we should search . and the directory the executable is in
11846 darwin
* | rhapsody
*)
11847 dynamic_linker
="$host_os dyld"
11848 version_type
=darwin
11851 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11852 soname_spec
='${libname}${release}${major}$shared_ext'
11853 shlibpath_overrides_runpath
=yes
11854 shlibpath_var
=DYLD_LIBRARY_PATH
11855 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
11856 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11857 if test "$GCC" = yes; then
11858 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"`
11860 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11862 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11870 soname_spec
='${libname}${release}${shared_ext}$major'
11871 shlibpath_var
=LD_LIBRARY_PATH
11882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11883 soname_spec
='${libname}${release}${shared_ext}$major'
11884 shlibpath_var
=LD_LIBRARY_PATH
11885 shlibpath_overrides_runpath
=no
11886 hardcode_into_libs
=yes
11887 dynamic_linker
='GNU ld.so'
11890 freebsd
* | dragonfly
*)
11891 # DragonFly does not have aout. When/if they implement a new
11892 # versioning mechanism, adjust this.
11893 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11894 version_type
=freebsd-
$objformat
11895 case $version_type in
11897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11902 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11906 shlibpath_var
=LD_LIBRARY_PATH
11909 shlibpath_overrides_runpath
=yes
11911 freebsd3.
[01]* | freebsdelf3.
[01]*)
11912 shlibpath_overrides_runpath
=yes
11913 hardcode_into_libs
=yes
11916 shlibpath_overrides_runpath
=no
11917 hardcode_into_libs
=yes
11926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11927 soname_spec
='${libname}${release}${shared_ext}$major'
11928 shlibpath_var
=LD_LIBRARY_PATH
11929 hardcode_into_libs
=yes
11932 hpux9
* | hpux10
* | hpux11
*)
11933 # Give a soname corresponding to the major version so that dld.sl refuses to
11934 # link against other versions.
11938 case "$host_cpu" in
11941 hardcode_into_libs
=yes
11942 dynamic_linker
="$host_os dld.so"
11943 shlibpath_var
=LD_LIBRARY_PATH
11944 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11946 soname_spec
='${libname}${release}${shared_ext}$major'
11947 if test "X$HPUX_IA64_MODE" = X32
; then
11948 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11950 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11952 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11956 hardcode_into_libs
=yes
11957 dynamic_linker
="$host_os dld.sl"
11958 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11959 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11961 soname_spec
='${libname}${release}${shared_ext}$major'
11962 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11963 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11967 dynamic_linker
="$host_os dld.sl"
11968 shlibpath_var
=SHLIB_PATH
11969 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11971 soname_spec
='${libname}${release}${shared_ext}$major'
11974 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11975 postinstall_cmds
='chmod 555 $lib'
11978 irix5
* | irix6
* | nonstopux
*)
11980 nonstopux
*) version_type
=nonstopux
;;
11982 if test "$lt_cv_prog_gnu_ld" = yes; then
11990 soname_spec
='${libname}${release}${shared_ext}$major'
11991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11993 irix5
* | nonstopux
*)
11994 libsuff
= shlibsuff
=
11997 case $LD in # libtool.m4 will add one of these switches to LD
11998 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11999 libsuff
= shlibsuff
= libmagic
=32-bit;;
12000 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12001 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12002 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12003 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12004 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12008 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12009 shlibpath_overrides_runpath
=no
12010 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12011 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12012 hardcode_into_libs
=yes
12015 # No shared lib support for Linux oldld, aout, or coff.
12016 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12020 # This must be Linux ELF.
12025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12026 soname_spec
='${libname}${release}${shared_ext}$major'
12027 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12028 shlibpath_var
=LD_LIBRARY_PATH
12029 shlibpath_overrides_runpath
=no
12030 # This implies no fast_install, which is unacceptable.
12031 # Some rework will be needed to allow for fast_install
12032 # before this can be enabled.
12033 hardcode_into_libs
=yes
12035 # Append ld.so.conf contents to the search path
12036 if test -f /etc
/ld.so.conf
; then
12037 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12038 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12041 # We used to test for /lib/ld.so.1 and disable shared libraries on
12042 # powerpc, because MkLinux only supported shared libraries with the
12043 # GNU dynamic linker. Since this was broken with cross compilers,
12044 # most powerpc-linux boxes support dynamic linking these days and
12045 # people can always --disable-shared, the test was removed, and we
12046 # assume the GNU/Linux dynamic linker is in use.
12047 dynamic_linker
='GNU/Linux ld.so'
12054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12055 soname_spec
='${libname}${release}${shared_ext}$major'
12056 shlibpath_var
=LD_LIBRARY_PATH
12057 shlibpath_overrides_runpath
=no
12058 hardcode_into_libs
=yes
12059 dynamic_linker
='GNU ld.so'
12066 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12068 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12069 dynamic_linker
='NetBSD (a.out) ld.so'
12071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12072 soname_spec
='${libname}${release}${shared_ext}$major'
12073 dynamic_linker
='NetBSD ld.elf_so'
12075 shlibpath_var
=LD_LIBRARY_PATH
12076 shlibpath_overrides_runpath
=yes
12077 hardcode_into_libs
=yes
12082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12083 shlibpath_var
=LD_LIBRARY_PATH
12084 shlibpath_overrides_runpath
=yes
12091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12092 soname_spec
='${libname}${release}${shared_ext}$major'
12093 shlibpath_var
=LD_LIBRARY_PATH
12094 shlibpath_overrides_runpath
=yes
12101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12102 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12103 shlibpath_var
=LD_LIBRARY_PATH
12104 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12106 openbsd2.
[89] | openbsd2.
[89].
*)
12107 shlibpath_overrides_runpath
=no
12110 shlibpath_overrides_runpath
=yes
12114 shlibpath_overrides_runpath
=yes
12119 libname_spec
='$name'
12122 library_names_spec
='$libname${shared_ext} $libname.a'
12123 dynamic_linker
='OS/2 ld.exe'
12124 shlibpath_var
=LIBPATH
12127 osf3
* | osf4
* | osf5
*)
12131 soname_spec
='${libname}${release}${shared_ext}$major'
12132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12133 shlibpath_var
=LD_LIBRARY_PATH
12134 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12135 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12140 soname_spec
='${libname}${release}${shared_ext}$major'
12141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12142 shlibpath_var
=LD_LIBRARY_PATH
12149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12150 soname_spec
='${libname}${release}${shared_ext}$major'
12151 shlibpath_var
=LD_LIBRARY_PATH
12152 shlibpath_overrides_runpath
=yes
12153 hardcode_into_libs
=yes
12154 # ldd complains unless libraries are executable
12155 postinstall_cmds
='chmod +x $lib'
12160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12161 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12162 shlibpath_var
=LD_LIBRARY_PATH
12163 shlibpath_overrides_runpath
=yes
12164 if test "$with_gnu_ld" = yes; then
12170 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12173 soname_spec
='${libname}${release}${shared_ext}$major'
12174 shlibpath_var
=LD_LIBRARY_PATH
12175 case $host_vendor in
12177 shlibpath_overrides_runpath
=no
12179 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12180 runpath_var
=LD_RUN_PATH
12188 shlibpath_overrides_runpath
=no
12189 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12195 if test -d /usr
/nec
;then
12197 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12198 soname_spec
='$libname${shared_ext}.$major'
12199 shlibpath_var
=LD_LIBRARY_PATH
12205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12206 soname_spec
='${libname}${release}${shared_ext}$major'
12207 shlibpath_var
=LD_LIBRARY_PATH
12214 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12215 echo "${ECHO_T}$dynamic_linker" >&6
12216 test "$dynamic_linker" = no
&& can_build_shared
=no
12218 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12219 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12220 hardcode_action_CXX
=
12221 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12222 test -n "$runpath_var_CXX" || \
12223 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12225 # We can hardcode non-existant directories.
12226 if test "$hardcode_direct_CXX" != no
&&
12227 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12228 # have to relink, otherwise we might link with an installed library
12229 # when we should be linking with a yet-to-be-installed one
12230 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12231 test "$hardcode_minus_L_CXX" != no
; then
12232 # Linking always hardcodes the temporary library directory.
12233 hardcode_action_CXX
=relink
12235 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12236 hardcode_action_CXX
=immediate
12239 # We cannot hardcode anything, or else we can only hardcode existing
12241 hardcode_action_CXX
=unsupported
12243 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12244 echo "${ECHO_T}$hardcode_action_CXX" >&6
12246 if test "$hardcode_action_CXX" = relink
; then
12247 # Fast installation is not supported
12248 enable_fast_install
=no
12249 elif test "$shlibpath_overrides_runpath" = yes ||
12250 test "$enable_shared" = no
; then
12251 # Fast installation is not necessary
12252 enable_fast_install
=needless
12257 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12258 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12259 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12260 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12261 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12262 echo "$as_me:$LINENO: result: yes" >&5
12263 echo "${ECHO_T}yes" >&6
12265 # FIXME - insert some real tests, host_os isn't really good enough
12268 if test -n "$STRIP" ; then
12269 striplib
="$STRIP -x"
12270 echo "$as_me:$LINENO: result: yes" >&5
12271 echo "${ECHO_T}yes" >&6
12273 echo "$as_me:$LINENO: result: no" >&5
12274 echo "${ECHO_T}no" >&6
12278 echo "$as_me:$LINENO: result: no" >&5
12279 echo "${ECHO_T}no" >&6
12284 if test "x$enable_dlopen" != xyes
; then
12285 enable_dlopen
=unknown
12286 enable_dlopen_self
=unknown
12287 enable_dlopen_self_static
=unknown
12294 lt_cv_dlopen
="load_add_on"
12296 lt_cv_dlopen_self
=yes
12300 lt_cv_dlopen
="LoadLibrary"
12305 lt_cv_dlopen
="dlopen"
12310 # if libdl is installed we need to link against it
12311 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12312 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12313 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12314 echo $ECHO_N "(cached) $ECHO_C" >&6
12316 ac_check_lib_save_LIBS
=$LIBS
12318 cat >conftest.
$ac_ext <<_ACEOF
12321 cat confdefs.h
>>conftest.
$ac_ext
12322 cat >>conftest.
$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12325 /* Override any gcc2 internal prototype to avoid an error. */
12329 /* We use char because int might match the return type of a gcc2
12330 builtin and then its argument prototype would still apply. */
12340 rm -f conftest.
$ac_objext conftest
$ac_exeext
12341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12342 (eval $ac_link) 2>conftest.er1
12344 grep -v '^ *+' conftest.er1
>conftest.err
12346 cat conftest.err
>&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); } &&
12349 { ac_try
='test -z "$ac_cxx_werror_flag"
12350 || test ! -s conftest.err'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; } &&
12356 { ac_try
='test -s conftest$ac_exeext'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12362 ac_cv_lib_dl_dlopen
=yes
12364 echo "$as_me: failed program was:" >&5
12365 sed 's/^/| /' conftest.
$ac_ext >&5
12367 ac_cv_lib_dl_dlopen
=no
12369 rm -f conftest.err conftest.
$ac_objext \
12370 conftest
$ac_exeext conftest.
$ac_ext
12371 LIBS
=$ac_check_lib_save_LIBS
12373 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12374 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12375 if test $ac_cv_lib_dl_dlopen = yes; then
12376 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12379 lt_cv_dlopen
="dyld"
12381 lt_cv_dlopen_self
=yes
12388 echo "$as_me:$LINENO: checking for shl_load" >&5
12389 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12390 if test "${ac_cv_func_shl_load+set}" = set; then
12391 echo $ECHO_N "(cached) $ECHO_C" >&6
12393 cat >conftest.
$ac_ext <<_ACEOF
12396 cat confdefs.h
>>conftest.
$ac_ext
12397 cat >>conftest.
$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12399 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12401 #define shl_load innocuous_shl_load
12403 /* System header to define __stub macros and hopefully few prototypes,
12404 which can conflict with char shl_load (); below.
12405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12406 <limits.h> exists even on freestanding compilers. */
12409 # include <limits.h>
12411 # include <assert.h>
12416 /* Override any gcc2 internal prototype to avoid an error. */
12421 /* We use char because int might match the return type of a gcc2
12422 builtin and then its argument prototype would still apply. */
12424 /* The GNU C library defines this for functions which it implements
12425 to always fail with ENOSYS. Some functions are actually named
12426 something starting with __ and the normal name is an alias. */
12427 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12430 char (*f) () = shl_load;
12439 return f != shl_load;
12444 rm -f conftest.
$ac_objext conftest
$ac_exeext
12445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12446 (eval $ac_link) 2>conftest.er1
12448 grep -v '^ *+' conftest.er1
>conftest.err
12450 cat conftest.err
>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); } &&
12453 { ac_try
='test -z "$ac_cxx_werror_flag"
12454 || test ! -s conftest.err'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; } &&
12460 { ac_try
='test -s conftest$ac_exeext'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; }; then
12466 ac_cv_func_shl_load
=yes
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.
$ac_ext >&5
12471 ac_cv_func_shl_load
=no
12473 rm -f conftest.err conftest.
$ac_objext \
12474 conftest
$ac_exeext conftest.
$ac_ext
12476 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12477 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12478 if test $ac_cv_func_shl_load = yes; then
12479 lt_cv_dlopen
="shl_load"
12481 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12482 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12483 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 ac_check_lib_save_LIBS
=$LIBS
12488 cat >conftest.
$ac_ext <<_ACEOF
12491 cat confdefs.h
>>conftest.
$ac_ext
12492 cat >>conftest.
$ac_ext <<_ACEOF
12493 /* end confdefs.h. */
12495 /* Override any gcc2 internal prototype to avoid an error. */
12499 /* We use char because int might match the return type of a gcc2
12500 builtin and then its argument prototype would still apply. */
12510 rm -f conftest.
$ac_objext conftest
$ac_exeext
12511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12512 (eval $ac_link) 2>conftest.er1
12514 grep -v '^ *+' conftest.er1
>conftest.err
12516 cat conftest.err
>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); } &&
12519 { ac_try
='test -z "$ac_cxx_werror_flag"
12520 || test ! -s conftest.err'
12521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12522 (eval $ac_try) 2>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); }; } &&
12526 { ac_try
='test -s conftest$ac_exeext'
12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528 (eval $ac_try) 2>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; }; then
12532 ac_cv_lib_dld_shl_load
=yes
12534 echo "$as_me: failed program was:" >&5
12535 sed 's/^/| /' conftest.
$ac_ext >&5
12537 ac_cv_lib_dld_shl_load
=no
12539 rm -f conftest.err conftest.
$ac_objext \
12540 conftest
$ac_exeext conftest.
$ac_ext
12541 LIBS
=$ac_check_lib_save_LIBS
12543 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12544 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12545 if test $ac_cv_lib_dld_shl_load = yes; then
12546 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12548 echo "$as_me:$LINENO: checking for dlopen" >&5
12549 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12550 if test "${ac_cv_func_dlopen+set}" = set; then
12551 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 cat >conftest.
$ac_ext <<_ACEOF
12556 cat confdefs.h
>>conftest.
$ac_ext
12557 cat >>conftest.
$ac_ext <<_ACEOF
12558 /* end confdefs.h. */
12559 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12561 #define dlopen innocuous_dlopen
12563 /* System header to define __stub macros and hopefully few prototypes,
12564 which can conflict with char dlopen (); below.
12565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12566 <limits.h> exists even on freestanding compilers. */
12569 # include <limits.h>
12571 # include <assert.h>
12576 /* Override any gcc2 internal prototype to avoid an error. */
12581 /* We use char because int might match the return type of a gcc2
12582 builtin and then its argument prototype would still apply. */
12584 /* The GNU C library defines this for functions which it implements
12585 to always fail with ENOSYS. Some functions are actually named
12586 something starting with __ and the normal name is an alias. */
12587 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12590 char (*f) () = dlopen;
12599 return f != dlopen;
12604 rm -f conftest.
$ac_objext conftest
$ac_exeext
12605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12606 (eval $ac_link) 2>conftest.er1
12608 grep -v '^ *+' conftest.er1
>conftest.err
12610 cat conftest.err
>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } &&
12613 { ac_try
='test -z "$ac_cxx_werror_flag"
12614 || test ! -s conftest.err'
12615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12616 (eval $ac_try) 2>&5
12618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619 (exit $ac_status); }; } &&
12620 { ac_try
='test -s conftest$ac_exeext'
12621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12622 (eval $ac_try) 2>&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); }; }; then
12626 ac_cv_func_dlopen
=yes
12628 echo "$as_me: failed program was:" >&5
12629 sed 's/^/| /' conftest.
$ac_ext >&5
12631 ac_cv_func_dlopen
=no
12633 rm -f conftest.err conftest.
$ac_objext \
12634 conftest
$ac_exeext conftest.
$ac_ext
12636 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12637 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12638 if test $ac_cv_func_dlopen = yes; then
12639 lt_cv_dlopen
="dlopen"
12641 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12642 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12643 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 ac_check_lib_save_LIBS
=$LIBS
12648 cat >conftest.
$ac_ext <<_ACEOF
12651 cat confdefs.h
>>conftest.
$ac_ext
12652 cat >>conftest.
$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12655 /* Override any gcc2 internal prototype to avoid an error. */
12659 /* We use char because int might match the return type of a gcc2
12660 builtin and then its argument prototype would still apply. */
12670 rm -f conftest.
$ac_objext conftest
$ac_exeext
12671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12672 (eval $ac_link) 2>conftest.er1
12674 grep -v '^ *+' conftest.er1
>conftest.err
12676 cat conftest.err
>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); } &&
12679 { ac_try
='test -z "$ac_cxx_werror_flag"
12680 || test ! -s conftest.err'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; } &&
12686 { ac_try
='test -s conftest$ac_exeext'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; }; then
12692 ac_cv_lib_dl_dlopen
=yes
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.
$ac_ext >&5
12697 ac_cv_lib_dl_dlopen
=no
12699 rm -f conftest.err conftest.
$ac_objext \
12700 conftest
$ac_exeext conftest.
$ac_ext
12701 LIBS
=$ac_check_lib_save_LIBS
12703 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12704 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12705 if test $ac_cv_lib_dl_dlopen = yes; then
12706 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12708 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12709 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12710 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12713 ac_check_lib_save_LIBS
=$LIBS
12714 LIBS
="-lsvld $LIBS"
12715 cat >conftest.
$ac_ext <<_ACEOF
12718 cat confdefs.h
>>conftest.
$ac_ext
12719 cat >>conftest.
$ac_ext <<_ACEOF
12720 /* end confdefs.h. */
12722 /* Override any gcc2 internal prototype to avoid an error. */
12726 /* We use char because int might match the return type of a gcc2
12727 builtin and then its argument prototype would still apply. */
12737 rm -f conftest.
$ac_objext conftest
$ac_exeext
12738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12739 (eval $ac_link) 2>conftest.er1
12741 grep -v '^ *+' conftest.er1
>conftest.err
12743 cat conftest.err
>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); } &&
12746 { ac_try
='test -z "$ac_cxx_werror_flag"
12747 || test ! -s conftest.err'
12748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749 (eval $ac_try) 2>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); }; } &&
12753 { ac_try
='test -s conftest$ac_exeext'
12754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12755 (eval $ac_try) 2>&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; }; then
12759 ac_cv_lib_svld_dlopen
=yes
12761 echo "$as_me: failed program was:" >&5
12762 sed 's/^/| /' conftest.
$ac_ext >&5
12764 ac_cv_lib_svld_dlopen
=no
12766 rm -f conftest.err conftest.
$ac_objext \
12767 conftest
$ac_exeext conftest.
$ac_ext
12768 LIBS
=$ac_check_lib_save_LIBS
12770 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12771 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12772 if test $ac_cv_lib_svld_dlopen = yes; then
12773 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12775 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12776 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12777 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12780 ac_check_lib_save_LIBS
=$LIBS
12782 cat >conftest.
$ac_ext <<_ACEOF
12785 cat confdefs.h
>>conftest.
$ac_ext
12786 cat >>conftest.
$ac_ext <<_ACEOF
12787 /* end confdefs.h. */
12789 /* Override any gcc2 internal prototype to avoid an error. */
12793 /* We use char because int might match the return type of a gcc2
12794 builtin and then its argument prototype would still apply. */
12804 rm -f conftest.
$ac_objext conftest
$ac_exeext
12805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12806 (eval $ac_link) 2>conftest.er1
12808 grep -v '^ *+' conftest.er1
>conftest.err
12810 cat conftest.err
>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } &&
12813 { ac_try
='test -z "$ac_cxx_werror_flag"
12814 || test ! -s conftest.err'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; } &&
12820 { ac_try
='test -s conftest$ac_exeext'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12826 ac_cv_lib_dld_dld_link
=yes
12828 echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.
$ac_ext >&5
12831 ac_cv_lib_dld_dld_link
=no
12833 rm -f conftest.err conftest.
$ac_objext \
12834 conftest
$ac_exeext conftest.
$ac_ext
12835 LIBS
=$ac_check_lib_save_LIBS
12837 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12838 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12839 if test $ac_cv_lib_dld_dld_link = yes; then
12840 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12861 if test "x$lt_cv_dlopen" != xno
; then
12867 case $lt_cv_dlopen in
12869 save_CPPFLAGS
="$CPPFLAGS"
12870 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12872 save_LDFLAGS
="$LDFLAGS"
12873 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12876 LIBS
="$lt_cv_dlopen_libs $LIBS"
12878 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12879 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12880 if test "${lt_cv_dlopen_self+set}" = set; then
12881 echo $ECHO_N "(cached) $ECHO_C" >&6
12883 if test "$cross_compiling" = yes; then :
12884 lt_cv_dlopen_self
=cross
12886 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12887 lt_status
=$lt_dlunknown
12888 cat > conftest.
$ac_ext <<EOF
12889 #line 12889 "configure"
12890 #include "confdefs.h"
12899 # define LT_DLGLOBAL RTLD_GLOBAL
12902 # define LT_DLGLOBAL DL_GLOBAL
12904 # define LT_DLGLOBAL 0
12908 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12909 find out it does not work in some platform. */
12910 #ifndef LT_DLLAZY_OR_NOW
12912 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12915 # define LT_DLLAZY_OR_NOW DL_LAZY
12918 # define LT_DLLAZY_OR_NOW RTLD_NOW
12921 # define LT_DLLAZY_OR_NOW DL_NOW
12923 # define LT_DLLAZY_OR_NOW 0
12931 extern "C" void exit (int);
12934 void fnord() { int i=42;}
12937 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12938 int status = $lt_dlunknown;
12942 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12943 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12944 /* dlclose (self); */
12950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12951 (eval $ac_link) 2>&5
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12955 (.
/conftest
; exit; ) 2>/dev
/null
12957 case x
$lt_status in
12958 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12959 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12960 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12963 # compilation failed
12964 lt_cv_dlopen_self
=no
12971 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12972 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12974 if test "x$lt_cv_dlopen_self" = xyes
; then
12975 LDFLAGS
="$LDFLAGS $link_static_flag"
12976 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12977 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12978 if test "${lt_cv_dlopen_self_static+set}" = set; then
12979 echo $ECHO_N "(cached) $ECHO_C" >&6
12981 if test "$cross_compiling" = yes; then :
12982 lt_cv_dlopen_self_static
=cross
12984 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12985 lt_status
=$lt_dlunknown
12986 cat > conftest.
$ac_ext <<EOF
12987 #line 12987 "configure"
12988 #include "confdefs.h"
12997 # define LT_DLGLOBAL RTLD_GLOBAL
13000 # define LT_DLGLOBAL DL_GLOBAL
13002 # define LT_DLGLOBAL 0
13006 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13007 find out it does not work in some platform. */
13008 #ifndef LT_DLLAZY_OR_NOW
13010 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13013 # define LT_DLLAZY_OR_NOW DL_LAZY
13016 # define LT_DLLAZY_OR_NOW RTLD_NOW
13019 # define LT_DLLAZY_OR_NOW DL_NOW
13021 # define LT_DLLAZY_OR_NOW 0
13029 extern "C" void exit (int);
13032 void fnord() { int i=42;}
13035 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13036 int status = $lt_dlunknown;
13040 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13041 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13042 /* dlclose (self); */
13048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13049 (eval $ac_link) 2>&5
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13053 (.
/conftest
; exit; ) 2>/dev
/null
13055 case x
$lt_status in
13056 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13057 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13058 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
13061 # compilation failed
13062 lt_cv_dlopen_self_static
=no
13069 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13070 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13073 CPPFLAGS
="$save_CPPFLAGS"
13074 LDFLAGS
="$save_LDFLAGS"
13079 case $lt_cv_dlopen_self in
13080 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13081 *) enable_dlopen_self
=unknown
;;
13084 case $lt_cv_dlopen_self_static in
13085 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13086 *) enable_dlopen_self_static
=unknown
;;
13091 # The else clause should only fire when bootstrapping the
13092 # libtool distribution, otherwise you forgot to ship ltmain.sh
13093 # with your package, and you will get complaints that there are
13094 # no rules to generate ltmain.sh.
13095 if test -f "$ltmain"; then
13096 # See if we are running on zsh, and set the options which allow our commands through
13097 # without removal of \ escapes.
13098 if test -n "${ZSH_VERSION+set}" ; then
13099 setopt NO_GLOB_SUBST
13101 # Now quote all the things that may contain metacharacters while being
13102 # careful not to overquote the AC_SUBSTed values. We take copies of the
13103 # variables and quote the copies for generation of the libtool script.
13104 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13106 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13107 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13108 deplibs_check_method reload_flag reload_cmds need_locks \
13109 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13110 lt_cv_sys_global_symbol_to_c_name_address \
13111 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13112 old_postinstall_cmds old_postuninstall_cmds \
13116 lt_prog_compiler_wl_CXX \
13117 lt_prog_compiler_pic_CXX \
13118 lt_prog_compiler_static_CXX \
13119 lt_prog_compiler_no_builtin_flag_CXX \
13120 export_dynamic_flag_spec_CXX \
13121 thread_safe_flag_spec_CXX \
13122 whole_archive_flag_spec_CXX \
13123 enable_shared_with_static_runtimes_CXX \
13124 old_archive_cmds_CXX \
13125 old_archive_from_new_cmds_CXX \
13126 predep_objects_CXX \
13127 postdep_objects_CXX \
13130 compiler_lib_search_path_CXX \
13132 archive_expsym_cmds_CXX \
13133 postinstall_cmds_CXX \
13134 postuninstall_cmds_CXX \
13135 old_archive_from_expsyms_cmds_CXX \
13136 allow_undefined_flag_CXX \
13137 no_undefined_flag_CXX \
13138 export_symbols_cmds_CXX \
13139 hardcode_libdir_flag_spec_CXX \
13140 hardcode_libdir_flag_spec_ld_CXX \
13141 hardcode_libdir_separator_CXX \
13142 hardcode_automatic_CXX \
13144 module_expsym_cmds_CXX \
13145 lt_cv_prog_compiler_c_o_CXX \
13146 exclude_expsyms_CXX \
13147 include_expsyms_CXX
; do
13150 old_archive_cmds_CXX | \
13151 old_archive_from_new_cmds_CXX | \
13152 archive_cmds_CXX | \
13153 archive_expsym_cmds_CXX | \
13154 module_cmds_CXX | \
13155 module_expsym_cmds_CXX | \
13156 old_archive_from_expsyms_cmds_CXX | \
13157 export_symbols_cmds_CXX | \
13158 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13159 postinstall_cmds | postuninstall_cmds | \
13160 old_postinstall_cmds | old_postuninstall_cmds | \
13161 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13162 # Double-quote double-evaled strings.
13163 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13166 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13172 *'\$0 --fallback-echo"')
13173 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13179 cat <<__EOF__ >> "$cfgfile"
13180 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13182 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13184 # Shell to use when invoking shell scripts.
13187 # Whether or not to build shared libraries.
13188 build_libtool_libs=$enable_shared
13190 # Whether or not to build static libraries.
13191 build_old_libs=$enable_static
13193 # Whether or not to add -lc for building shared libraries.
13194 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13196 # Whether or not to disallow shared libs when runtime libs are static
13197 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13199 # Whether or not to optimize for fast installation.
13200 fast_install=$enable_fast_install
13203 host_alias=$host_alias
13207 # The build system.
13208 build_alias=$build_alias
13212 # An echo program that does not interpret backslashes.
13217 AR_FLAGS=$lt_AR_FLAGS
13222 # A language-specific compiler.
13223 CC=$lt_compiler_CXX
13225 # Is the compiler the GNU C compiler?
13231 # The linker used to build libraries.
13234 # Whether we need hard or soft links.
13237 # A BSD-compatible nm program.
13240 # A symbol stripping program
13243 # Used to examine libraries when file_magic_cmd begins "file"
13244 MAGIC_CMD=$MAGIC_CMD
13246 # Used on cygwin: DLL creation program.
13249 # Used on cygwin: object dumper.
13252 # Used on cygwin: assembler.
13255 # The name of the directory that contains temporary libtool files.
13258 # How to create reloadable object files.
13259 reload_flag=$lt_reload_flag
13260 reload_cmds=$lt_reload_cmds
13262 # How to pass a linker flag through the compiler.
13263 wl=$lt_lt_prog_compiler_wl_CXX
13265 # Object file suffix (normally "o").
13266 objext="$ac_objext"
13268 # Old archive suffix (normally "a").
13271 # Shared library suffix (normally ".so").
13272 shrext_cmds='$shrext_cmds'
13274 # Executable file suffix (normally "").
13277 # Additional compiler flags for building library objects.
13278 pic_flag=$lt_lt_prog_compiler_pic_CXX
13281 # What is the maximum length of a command?
13282 max_cmd_len=$lt_cv_sys_max_cmd_len
13284 # Does compiler simultaneously support -c and -o options?
13285 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13287 # Must we lock files when doing compilation ?
13288 need_locks=$lt_need_locks
13290 # Do we need the lib prefix for modules?
13291 need_lib_prefix=$need_lib_prefix
13293 # Do we need a version for libraries?
13294 need_version=$need_version
13296 # Whether dlopen is supported.
13297 dlopen_support=$enable_dlopen
13299 # Whether dlopen of programs is supported.
13300 dlopen_self=$enable_dlopen_self
13302 # Whether dlopen of statically linked programs is supported.
13303 dlopen_self_static=$enable_dlopen_self_static
13305 # Compiler flag to prevent dynamic linking.
13306 link_static_flag=$lt_lt_prog_compiler_static_CXX
13308 # Compiler flag to turn off builtin functions.
13309 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13311 # Compiler flag to allow reflexive dlopens.
13312 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13314 # Compiler flag to generate shared objects directly from archives.
13315 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13317 # Compiler flag to generate thread-safe objects.
13318 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13320 # Library versioning type.
13321 version_type=$version_type
13323 # Format of library name prefix.
13324 libname_spec=$lt_libname_spec
13326 # List of archive names. First name is the real one, the rest are links.
13327 # The last name is the one that the linker finds with -lNAME.
13328 library_names_spec=$lt_library_names_spec
13330 # The coded name of the library, if different from the real name.
13331 soname_spec=$lt_soname_spec
13333 # Commands used to build and install an old-style archive.
13335 old_archive_cmds=$lt_old_archive_cmds_CXX
13336 old_postinstall_cmds=$lt_old_postinstall_cmds
13337 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13339 # Create an old-style archive from a shared archive.
13340 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13342 # Create a temporary old-style archive to link instead of a shared archive.
13343 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13345 # Commands used to build and install a shared archive.
13346 archive_cmds=$lt_archive_cmds_CXX
13347 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13348 postinstall_cmds=$lt_postinstall_cmds
13349 postuninstall_cmds=$lt_postuninstall_cmds
13351 # Commands used to build a loadable module (assumed same as above if empty)
13352 module_cmds=$lt_module_cmds_CXX
13353 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13355 # Commands to strip libraries.
13356 old_striplib=$lt_old_striplib
13357 striplib=$lt_striplib
13359 # Dependencies to place before the objects being linked to create a
13361 predep_objects=$lt_predep_objects_CXX
13363 # Dependencies to place after the objects being linked to create a
13365 postdep_objects=$lt_postdep_objects_CXX
13367 # Dependencies to place before the objects being linked to create a
13369 predeps=$lt_predeps_CXX
13371 # Dependencies to place after the objects being linked to create a
13373 postdeps=$lt_postdeps_CXX
13375 # The library search path used internally by the compiler when linking
13376 # a shared library.
13377 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13379 # Method to check whether dependent libraries are shared objects.
13380 deplibs_check_method=$lt_deplibs_check_method
13382 # Command to use when deplibs_check_method == file_magic.
13383 file_magic_cmd=$lt_file_magic_cmd
13385 # Flag that allows shared libraries with undefined symbols to be built.
13386 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13388 # Flag that forces no undefined symbols.
13389 no_undefined_flag=$lt_no_undefined_flag_CXX
13391 # Commands used to finish a libtool library installation in a directory.
13392 finish_cmds=$lt_finish_cmds
13394 # Same as above, but a single script fragment to be evaled but not shown.
13395 finish_eval=$lt_finish_eval
13397 # Take the output of nm and produce a listing of raw symbols and C names.
13398 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13400 # Transform the output of nm in a proper C declaration
13401 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13403 # Transform the output of nm in a C name address pair
13404 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13406 # This is the shared library runtime path variable.
13407 runpath_var=$runpath_var
13409 # This is the shared library path variable.
13410 shlibpath_var=$shlibpath_var
13412 # Is shlibpath searched before the hard-coded library search path?
13413 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13415 # How to hardcode a shared library path into an executable.
13416 hardcode_action=$hardcode_action_CXX
13418 # Whether we should hardcode library paths into libraries.
13419 hardcode_into_libs=$hardcode_into_libs
13421 # Flag to hardcode \$libdir into a binary during linking.
13422 # This must work even if \$libdir does not exist.
13423 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13425 # If ld is used when linking, flag to hardcode \$libdir into
13426 # a binary during linking. This must work even if \$libdir does
13428 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13430 # Whether we need a single -rpath flag with a separated argument.
13431 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13433 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13434 # resulting binary.
13435 hardcode_direct=$hardcode_direct_CXX
13437 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13438 # resulting binary.
13439 hardcode_minus_L=$hardcode_minus_L_CXX
13441 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13442 # the resulting binary.
13443 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13445 # Set to yes if building a shared library automatically hardcodes DIR into the library
13446 # and all subsequent libraries and executables linked against it.
13447 hardcode_automatic=$hardcode_automatic_CXX
13449 # Variables whose values should be saved in libtool wrapper scripts and
13450 # restored at relink time.
13451 variables_saved_for_relink="$variables_saved_for_relink"
13453 # Whether libtool must link a program against all its dependency libraries.
13454 link_all_deplibs=$link_all_deplibs_CXX
13456 # Compile-time system search path for libraries
13457 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13459 # Run-time system search path for libraries
13460 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13462 # Fix the shell variable \$srcfile for the compiler.
13463 fix_srcfile_path="$fix_srcfile_path_CXX"
13465 # Set to yes if exported symbols are required.
13466 always_export_symbols=$always_export_symbols_CXX
13468 # The commands to list exported symbols.
13469 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13471 # The commands to extract the exported symbol list from a shared archive.
13472 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13474 # Symbols that should not be listed in the preloaded symbols.
13475 exclude_expsyms=$lt_exclude_expsyms_CXX
13477 # Symbols that must always be exported.
13478 include_expsyms=$lt_include_expsyms_CXX
13480 # ### END LIBTOOL TAG CONFIG: $tagname
13486 # If there is no Makefile yet, we rely on a make rule to execute
13487 # `config.status --recheck' to rerun these tests and create the
13488 # libtool script then.
13489 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13490 if test -f "$ltmain_in"; then
13491 test -f Makefile
&& make "$ltmain"
13497 ac_cpp
='$CPP $CPPFLAGS'
13498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13506 with_gnu_ldcxx
=$with_gnu_ld
13507 with_gnu_ld
=$lt_save_with_gnu_ld
13508 lt_cv_path_LDCXX
=$lt_cv_path_LD
13509 lt_cv_path_LD
=$lt_save_path_LD
13510 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13511 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13519 if test -n "$F77" && test "X$F77" != "Xno"; then
13522 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13523 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13524 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13527 archive_cmds_need_lc_F77
=no
13528 allow_undefined_flag_F77
=
13529 always_export_symbols_F77
=no
13530 archive_expsym_cmds_F77
=
13531 export_dynamic_flag_spec_F77
=
13532 hardcode_direct_F77
=no
13533 hardcode_libdir_flag_spec_F77
=
13534 hardcode_libdir_flag_spec_ld_F77
=
13535 hardcode_libdir_separator_F77
=
13536 hardcode_minus_L_F77
=no
13537 hardcode_automatic_F77
=no
13539 module_expsym_cmds_F77
=
13540 link_all_deplibs_F77
=unknown
13541 old_archive_cmds_F77
=$old_archive_cmds
13542 no_undefined_flag_F77
=
13543 whole_archive_flag_spec_F77
=
13544 enable_shared_with_static_runtimes_F77
=no
13546 # Source file extension for f77 test sources.
13549 # Object file extension for compiled f77 test sources.
13553 # Code to be used in simple compile tests
13554 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13556 # Code to be used in simple link tests
13557 lt_simple_link_test_code
=" program t\n end\n"
13559 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13561 # If no C compiler was specified, use CC.
13564 # Allow CC to be a program name with arguments.
13568 # Allow CC to be a program name with arguments.
13573 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13575 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13576 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13577 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13578 echo "${ECHO_T}$can_build_shared" >&6
13580 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13581 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13582 test "$can_build_shared" = "no" && enable_shared
=no
13584 # On AIX, shared libraries and static libraries use the same namespace, and
13585 # are all built from PIC.
13588 test "$enable_shared" = yes && enable_static
=no
13589 if test -n "$RANLIB"; then
13590 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13591 postinstall_cmds
='$RANLIB $lib'
13595 test "$enable_shared" = yes && enable_static
=no
13598 echo "$as_me:$LINENO: result: $enable_shared" >&5
13599 echo "${ECHO_T}$enable_shared" >&6
13601 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13602 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13603 # Make sure either enable_shared or enable_static is yes.
13604 test "$enable_shared" = yes || enable_static
=yes
13605 echo "$as_me:$LINENO: result: $enable_static" >&5
13606 echo "${ECHO_T}$enable_static" >&6
13608 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13613 lt_prog_compiler_wl_F77
=
13614 lt_prog_compiler_pic_F77
=
13615 lt_prog_compiler_static_F77
=
13617 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13618 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13620 if test "$GCC" = yes; then
13621 lt_prog_compiler_wl_F77
='-Wl,'
13622 lt_prog_compiler_static_F77
='-static'
13626 # All AIX code is PIC.
13627 if test "$host_cpu" = ia64
; then
13628 # AIX 5 now supports IA64 processor
13629 lt_prog_compiler_static_F77
='-Bstatic'
13634 # FIXME: we need at least 68020 code to build shared libraries, but
13635 # adding the `-m68020' flag to GCC prevents building anything better,
13637 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13640 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13641 # PIC is the default for these OSes.
13644 mingw
* | pw32
* | os2
*)
13645 # This hack is so that the source file can tell whether it is being
13646 # built for inclusion in a dll (and should export symbols for example).
13647 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13650 darwin
* | rhapsody
*)
13651 # PIC is the default on this platform
13652 # Common symbols not allowed in MH_DYLIB files
13653 lt_prog_compiler_pic_F77
='-fno-common'
13657 # Just because we use GCC doesn't mean we suddenly get shared libraries
13658 # on systems that don't support them.
13659 lt_prog_compiler_can_build_shared_F77
=no
13664 if test -d /usr
/nec
; then
13665 lt_prog_compiler_pic_F77
=-Kconform_pic
13670 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13671 # not for PA HP-UX.
13672 case "$host_cpu" in
13677 lt_prog_compiler_pic_F77
='-fPIC'
13683 lt_prog_compiler_pic_F77
='-fPIC'
13687 # PORTME Check for flag to pass linker flags through the system compiler.
13690 lt_prog_compiler_wl_F77
='-Wl,'
13691 if test "$host_cpu" = ia64
; then
13692 # AIX 5 now supports IA64 processor
13693 lt_prog_compiler_static_F77
='-Bstatic'
13695 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13699 # PIC is the default on this platform
13700 # Common symbols not allowed in MH_DYLIB files
13701 case "$cc_basename" in
13703 lt_prog_compiler_pic_F77
='-qnocommon'
13704 lt_prog_compiler_wl_F77
='-Wl,'
13709 mingw
* | pw32
* | os2
*)
13710 # This hack is so that the source file can tell whether it is being
13711 # built for inclusion in a dll (and should export symbols for example).
13712 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13715 hpux9
* | hpux10
* | hpux11
*)
13716 lt_prog_compiler_wl_F77
='-Wl,'
13717 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13718 # not for PA HP-UX.
13719 case "$host_cpu" in
13724 lt_prog_compiler_pic_F77
='+Z'
13727 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13728 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13731 irix5
* | irix6
* | nonstopux
*)
13732 lt_prog_compiler_wl_F77
='-Wl,'
13733 # PIC (with -KPIC) is the default.
13734 lt_prog_compiler_static_F77
='-non_shared'
13738 lt_prog_compiler_pic_F77
='-KPIC'
13739 lt_prog_compiler_static_F77
='-Bstatic'
13743 case $cc_basename in
13745 lt_prog_compiler_wl_F77
='-Wl,'
13746 lt_prog_compiler_pic_F77
='-KPIC'
13747 lt_prog_compiler_static_F77
='-static'
13749 pgcc | pgf77 | pgf90
)
13750 # Portland Group compilers (*not* the Pentium gcc compiler,
13751 # which looks to be a dead project)
13752 lt_prog_compiler_wl_F77
='-Wl,'
13753 lt_prog_compiler_pic_F77
='-fpic'
13754 lt_prog_compiler_static_F77
='-static'
13757 lt_prog_compiler_wl_F77
='-Wl,'
13758 # All Alpha code is PIC.
13759 lt_prog_compiler_static_F77
='-non_shared'
13762 lt_prog_compiler_wl_F77
='-lopt='
13767 osf3
* | osf4
* | osf5
*)
13768 lt_prog_compiler_wl_F77
='-Wl,'
13769 # All OSF/1 code is PIC.
13770 lt_prog_compiler_static_F77
='-non_shared'
13774 lt_prog_compiler_pic_F77
='-Kpic'
13775 lt_prog_compiler_static_F77
='-dn'
13779 lt_prog_compiler_wl_F77
='-Wl,'
13780 lt_prog_compiler_pic_F77
='-KPIC'
13781 lt_prog_compiler_static_F77
='-Bstatic'
13785 lt_prog_compiler_wl_F77
='-Qoption ld '
13786 lt_prog_compiler_pic_F77
='-PIC'
13787 lt_prog_compiler_static_F77
='-Bstatic'
13790 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13791 lt_prog_compiler_wl_F77
='-Wl,'
13792 lt_prog_compiler_pic_F77
='-KPIC'
13793 lt_prog_compiler_static_F77
='-Bstatic'
13797 if test -d /usr
/nec
;then
13798 lt_prog_compiler_pic_F77
='-Kconform_pic'
13799 lt_prog_compiler_static_F77
='-Bstatic'
13804 lt_prog_compiler_wl_F77
='-Wl,'
13805 lt_prog_compiler_can_build_shared_F77
=no
13809 lt_prog_compiler_pic_F77
='-pic'
13810 lt_prog_compiler_static_F77
='-Bstatic'
13814 lt_prog_compiler_can_build_shared_F77
=no
13819 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13820 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13823 # Check to make sure the PIC flag actually works.
13825 if test -n "$lt_prog_compiler_pic_F77"; then
13827 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13828 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13829 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 lt_prog_compiler_pic_works_F77
=no
13833 ac_outfile
=conftest.
$ac_objext
13834 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13835 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13836 # Insert the option either (1) after the last *FLAGS variable, or
13837 # (2) before a word containing "conftest.", or (3) at the end.
13838 # Note that $ac_compile itself does not contain backslashes and begins
13839 # with a dollar sign (not a hyphen), so the echo should work correctly.
13840 # The option is referenced via a variable to avoid confusing sed.
13841 lt_compile
=`echo "$ac_compile" | $SED \
13842 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13844 -e 's:$: $lt_compiler_flag:'`
13845 (eval echo "\"\$as_me:13845: $lt_compile\"" >&5)
13846 (eval "$lt_compile" 2>conftest.err
)
13848 cat conftest.err
>&5
13849 echo "$as_me:13849: \$? = $ac_status" >&5
13850 if (exit $ac_status) && test -s "$ac_outfile"; then
13851 # The compiler can only warn and ignore the option if not recognized
13852 # So say no if there are warnings
13853 if test ! -s conftest.err
; then
13854 lt_prog_compiler_pic_works_F77
=yes
13860 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13861 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13863 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13864 case $lt_prog_compiler_pic_F77 in
13866 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13869 lt_prog_compiler_pic_F77
=
13870 lt_prog_compiler_can_build_shared_F77
=no
13875 # For platforms which do not support PIC, -DPIC is meaningless:
13877 lt_prog_compiler_pic_F77
=
13880 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13884 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13885 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13886 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13887 echo $ECHO_N "(cached) $ECHO_C" >&6
13889 lt_cv_prog_compiler_c_o_F77
=no
13890 $rm -r conftest
2>/dev
/null
13894 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13896 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13897 # Insert the option either (1) after the last *FLAGS variable, or
13898 # (2) before a word containing "conftest.", or (3) at the end.
13899 # Note that $ac_compile itself does not contain backslashes and begins
13900 # with a dollar sign (not a hyphen), so the echo should work correctly.
13901 lt_compile
=`echo "$ac_compile" | $SED \
13902 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13903 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13904 -e 's:$: $lt_compiler_flag:'`
13905 (eval echo "\"\$as_me:13905: $lt_compile\"" >&5)
13906 (eval "$lt_compile" 2>out
/conftest.err
)
13908 cat out
/conftest.err
>&5
13909 echo "$as_me:13909: \$? = $ac_status" >&5
13910 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13912 # The compiler can only warn and ignore the option if not recognized
13913 # So say no if there are warnings
13914 if test ! -s out
/conftest.err
; then
13915 lt_cv_prog_compiler_c_o_F77
=yes
13920 # SGI C++ compiler will create directory out/ii_files/ for
13921 # template instantiation
13922 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13923 $rm out
/* && rmdir out
13929 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13930 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13933 hard_links
="nottested"
13934 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13935 # do not overwrite the value of need_locks provided by the user
13936 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13937 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13940 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13942 ln conftest.a conftest.b
2>&5 || hard_links
=no
13943 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13944 echo "$as_me:$LINENO: result: $hard_links" >&5
13945 echo "${ECHO_T}$hard_links" >&6
13946 if test "$hard_links" = no
; then
13947 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13948 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13955 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13956 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13959 allow_undefined_flag_F77
=
13960 enable_shared_with_static_runtimes_F77
=no
13962 archive_expsym_cmds_F77
=
13963 old_archive_From_new_cmds_F77
=
13964 old_archive_from_expsyms_cmds_F77
=
13965 export_dynamic_flag_spec_F77
=
13966 whole_archive_flag_spec_F77
=
13967 thread_safe_flag_spec_F77
=
13968 hardcode_libdir_flag_spec_F77
=
13969 hardcode_libdir_flag_spec_ld_F77
=
13970 hardcode_libdir_separator_F77
=
13971 hardcode_direct_F77
=no
13972 hardcode_minus_L_F77
=no
13973 hardcode_shlibpath_var_F77
=unsupported
13974 link_all_deplibs_F77
=unknown
13975 hardcode_automatic_F77
=no
13977 module_expsym_cmds_F77
=
13978 always_export_symbols_F77
=no
13979 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13980 # include_expsyms should be a list of space-separated symbols to be *always*
13981 # included in the symbol list
13982 include_expsyms_F77
=
13983 # exclude_expsyms can be an extended regexp of symbols to exclude
13984 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13985 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13986 # as well as any symbol that contains `d'.
13987 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13988 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13989 # platforms (ab)use it in PIC code, but their linkers get confused if
13990 # the symbol is explicitly referenced. Since portable code cannot
13991 # rely on this symbol name, it's probably fine to never include it in
13992 # preloaded symbol tables.
13993 extract_expsyms_cmds
=
13996 cygwin
* | mingw
* | pw32
*)
13997 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13998 # When not using gcc, we currently assume that we are using
13999 # Microsoft Visual C++.
14000 if test "$GCC" != yes; then
14010 if test "$with_gnu_ld" = yes; then
14011 # If archive_cmds runs LD, not CC, wlarc should be empty
14014 # See if GNU ld supports shared libraries.
14016 aix3
* | aix4
* | aix5
*)
14017 # On AIX/PPC, the GNU linker is very broken
14018 if test "$host_cpu" != ia64
; then
14022 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14023 *** to be unable to reliably create shared libraries on AIX.
14024 *** Therefore, libtool is disabling shared libraries support. If you
14025 *** really care for shared libraries, you may want to modify your PATH
14026 *** so that a non-GNU linker is found, and then restart.
14033 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)'
14034 hardcode_libdir_flag_spec_F77
='-L$libdir'
14035 hardcode_minus_L_F77
=yes
14037 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14038 # that the semantics of dynamic libraries on AmigaOS, at least up
14039 # to version 4, is to share data among multiple programs linked
14040 # with the same dynamic library. Since this doesn't match the
14041 # behavior of shared libraries on other platforms, we can't use
14047 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14048 allow_undefined_flag_F77
=unsupported
14049 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14050 # support --undefined. This deserves some investigation. FIXME
14051 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14057 cygwin
* | mingw
* | pw32
*)
14058 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14059 # as there is no search path for DLLs.
14060 hardcode_libdir_flag_spec_F77
='-L$libdir'
14061 allow_undefined_flag_F77
=unsupported
14062 always_export_symbols_F77
=no
14063 enable_shared_with_static_runtimes_F77
=yes
14064 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14066 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14067 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14068 # If the export-symbols file already is a .def file (1st line
14069 # is EXPORTS), use it as is; otherwise, prepend...
14070 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14071 cp $export_symbols $output_objdir/$soname.def;
14073 echo EXPORTS > $output_objdir/$soname.def;
14074 cat $export_symbols >> $output_objdir/$soname.def;
14076 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14083 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14084 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14087 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14088 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14093 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14097 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14098 *** create shared libraries on Solaris systems. Therefore, libtool
14099 *** is disabling shared libraries support. We urge you to upgrade GNU
14100 *** binutils to release 2.9.1 or newer. Another option is to modify
14101 *** your PATH or compiler configuration so that the native linker is
14102 *** used, and then restart.
14105 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14106 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14107 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14114 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14116 hardcode_direct_F77
=yes
14117 hardcode_shlibpath_var_F77
=no
14121 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14123 case $CC,$host_cpu in
14124 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
14125 tmp_addflag
=' -fpic' ;;
14126 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14127 tmp_addflag
=' -i_dynamic' ;;
14128 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14129 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14130 ifc
* | ifort
*) # Intel Fortran compiler
14131 tmp_addflag
=' -nofor_main' ;;
14133 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14134 supports_anon_versioning
=no
14135 case `$LD -v 2>/dev/null` in
14136 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14137 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14138 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14139 *\
2.11.
*) ;; # other 2.11 versions
14140 *) supports_anon_versioning
=yes ;;
14142 if test $supports_anon_versioning = yes; then
14143 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14144 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14145 $echo "local: *; };" >> $output_objdir/$libname.ver~
14146 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14148 archive_expsym_cmds_F77
=$archive_cmds_F77
14156 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14157 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14158 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14165 if test "$ld_shlibs_F77" = yes; then
14166 runpath_var
=LD_RUN_PATH
14167 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14168 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14169 # ancient GNU ld didn't support --whole-archive et. al.
14170 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14171 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14173 whole_archive_flag_spec_F77
=
14177 # PORTME fill in a description of your system's linker (not GNU ld)
14180 allow_undefined_flag_F77
=unsupported
14181 always_export_symbols_F77
=yes
14182 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'
14183 # Note: this linker hardcodes the directories in LIBPATH if there
14184 # are no directories specified by -L.
14185 hardcode_minus_L_F77
=yes
14186 if test "$GCC" = yes && test -z "$link_static_flag"; then
14187 # Neither direct hardcoding nor static linking is supported with a
14189 hardcode_direct_F77
=unsupported
14194 if test "$host_cpu" = ia64
; then
14195 # On IA64, the linker does run time linking by default, so we don't
14196 # have to do anything special.
14197 aix_use_runtimelinking
=no
14198 exp_sym_flag
='-Bexport'
14201 # If we're using GNU nm, then we don't want the "-C" option.
14202 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14203 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14204 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'
14206 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'
14208 aix_use_runtimelinking
=no
14210 # Test if we are trying to use run time linking or normal
14211 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14212 # need to do runtime linking.
14213 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14214 for ld_flag
in $LDFLAGS; do
14215 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14216 aix_use_runtimelinking
=yes
14222 exp_sym_flag
='-bexport'
14223 no_entry_flag
='-bnoentry'
14226 # When large executables or shared objects are built, AIX ld can
14227 # have problems creating the table of contents. If linking a library
14228 # or program results in "error TOC overflow" add -mminimal-toc to
14229 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14230 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14232 archive_cmds_F77
=''
14233 hardcode_direct_F77
=yes
14234 hardcode_libdir_separator_F77
=':'
14235 link_all_deplibs_F77
=yes
14237 if test "$GCC" = yes; then
14238 case $host_os in aix4.
[012]|aix4.
[012].
*)
14239 # We only want to do this on AIX 4.2 and lower, the check
14240 # below for broken collect2 doesn't work under 4.3+
14241 collect2name
=`${CC} -print-prog-name=collect2`
14242 if test -f "$collect2name" && \
14243 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14245 # We have reworked collect2
14246 hardcode_direct_F77
=yes
14248 # We have old collect2
14249 hardcode_direct_F77
=unsupported
14250 # It fails to find uninstalled libraries when the uninstalled
14251 # path is not listed in the libpath. Setting hardcode_minus_L
14252 # to unsupported forces relinking
14253 hardcode_minus_L_F77
=yes
14254 hardcode_libdir_flag_spec_F77
='-L$libdir'
14255 hardcode_libdir_separator_F77
=
14258 shared_flag
='-shared'
14259 if test "$aix_use_runtimelinking" = yes; then
14260 shared_flag
="$shared_flag "'${wl}-G'
14264 if test "$host_cpu" = ia64
; then
14265 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14266 # chokes on -Wl,-G. The following line is correct:
14269 if test "$aix_use_runtimelinking" = yes; then
14270 shared_flag
='${wl}-G'
14272 shared_flag
='${wl}-bM:SRE'
14277 # It seems that -bexpall does not export symbols beginning with
14278 # underscore (_), so it is better to generate a list of symbols to export.
14279 always_export_symbols_F77
=yes
14280 if test "$aix_use_runtimelinking" = yes; then
14281 # Warning - without using the other runtime loading flags (-brtl),
14282 # -berok will link without error, but may produce a broken library.
14283 allow_undefined_flag_F77
='-berok'
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 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14330 if test "$host_cpu" = ia64; then
14331 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
14332 allow_undefined_flag_F77="-z nodefs"
14333 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
14335 # Determine the default libpath from the value encoded in an empty executable.
14336 cat >conftest.$ac_ext <<_ACEOF
14341 rm -f conftest.$ac_objext conftest$ac_exeext
14342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14343 (eval $ac_link) 2>conftest.er1
14345 grep -v '^ *+' conftest.er1 >conftest.err
14347 cat conftest.err >&5
14348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14349 (exit $ac_status); } &&
14350 { ac_try='test -z "$ac_f77_werror_flag"
14351 || test ! -s conftest.err'
14352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14353 (eval $ac_try) 2>&5
14355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14356 (exit $ac_status); }; } &&
14357 { ac_try='test -s conftest$ac_exeext'
14358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359 (eval $ac_try) 2>&5
14361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14362 (exit $ac_status); }; }; then
14364 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14366 # Check for a 64-bit object if we didn't find anything.
14367 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; }
14370 echo "$as_me: failed program was
:" >&5
14371 sed 's/^/| /' conftest.$ac_ext >&5
14374 rm -f conftest.err conftest.$ac_objext \
14375 conftest$ac_exeext conftest.$ac_ext
14376 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
14378 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14379 # Warning - without using the other run time loading flags,
14380 # -berok will link without error, but may produce a broken library.
14381 no_undefined_flag_F77=' ${wl}-bernotok'
14382 allow_undefined_flag_F77=' ${wl}-berok'
14383 # -bexpall does not export symbols beginning with underscore (_)
14384 always_export_symbols_F77=yes
14385 # Exported symbols can be pulled into shared objects from archives
14386 whole_archive_flag_spec_F77=' '
14387 archive_cmds_need_lc_F77=yes
14388 # This is similar to how AIX traditionally builds it's shared libraries.
14389 archive_expsym_cmds_F77="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14395 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)'
14396 hardcode_libdir_flag_spec_F77
='-L$libdir'
14397 hardcode_minus_L_F77
=yes
14398 # see comment about different semantics on the GNU ld section
14403 export_dynamic_flag_spec_F77
=-rdynamic
14406 cygwin
* | mingw
* | pw32
*)
14407 # When not using gcc, we currently assume that we are using
14408 # Microsoft Visual C++.
14409 # hardcode_libdir_flag_spec is actually meaningless, as there is
14410 # no search path for DLLs.
14411 hardcode_libdir_flag_spec_F77
=' '
14412 allow_undefined_flag_F77
=unsupported
14413 # Tell ltmain to make .lib files, not .a files.
14415 # Tell ltmain to make .dll files, not .so files.
14417 # FIXME: Setting linknames here is a bad hack.
14418 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14419 # The linker will automatically build a .lib file if we build a DLL.
14420 old_archive_From_new_cmds_F77
='true'
14421 # FIXME: Should let the user specify the lib program.
14422 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14423 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14424 enable_shared_with_static_runtimes_F77
=yes
14427 darwin
* | rhapsody
*)
14429 rhapsody
* | darwin1.
[012])
14430 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14433 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14434 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14436 case ${MACOSX_DEPLOYMENT_TARGET} in
14438 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14441 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14447 archive_cmds_need_lc_F77
=no
14448 hardcode_direct_F77
=no
14449 hardcode_automatic_F77
=yes
14450 hardcode_shlibpath_var_F77
=unsupported
14451 whole_archive_flag_spec_F77
=''
14452 link_all_deplibs_F77
=yes
14453 if test "$GCC" = yes ; then
14454 output_verbose_link_cmd
='echo'
14455 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14456 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14457 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14458 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}'
14459 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}'
14461 case "$cc_basename" in
14463 output_verbose_link_cmd
='echo'
14464 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14465 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14466 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14467 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}'
14468 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}'
14478 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14479 hardcode_libdir_flag_spec_F77
='-L$libdir'
14480 hardcode_shlibpath_var_F77
=no
14487 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14488 # support. Future versions do this automatically, but an explicit c++rt0.o
14489 # does not break anything, and helps significantly (at the cost of a little
14492 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14493 hardcode_libdir_flag_spec_F77
='-R$libdir'
14494 hardcode_direct_F77
=yes
14495 hardcode_shlibpath_var_F77
=no
14498 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14500 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14501 hardcode_direct_F77
=yes
14502 hardcode_minus_L_F77
=yes
14503 hardcode_shlibpath_var_F77
=no
14506 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14507 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14508 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14509 hardcode_libdir_flag_spec_F77
='-R$libdir'
14510 hardcode_direct_F77
=yes
14511 hardcode_shlibpath_var_F77
=no
14515 if test "$GCC" = yes; then
14516 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'
14518 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'
14520 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14521 hardcode_libdir_separator_F77
=:
14522 hardcode_direct_F77
=yes
14524 # hardcode_minus_L: Not really in the search PATH,
14525 # but as the default location of the library.
14526 hardcode_minus_L_F77
=yes
14527 export_dynamic_flag_spec_F77
='${wl}-E'
14531 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14532 case "$host_cpu" in
14534 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14537 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14541 case "$host_cpu" in
14543 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14546 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14550 if test "$with_gnu_ld" = no
; then
14551 case "$host_cpu" in
14553 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14554 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14555 hardcode_libdir_separator_F77
=:
14556 hardcode_direct_F77
=no
14557 hardcode_shlibpath_var_F77
=no
14560 hardcode_libdir_flag_spec_F77
='-L$libdir'
14561 hardcode_direct_F77
=no
14562 hardcode_shlibpath_var_F77
=no
14564 # hardcode_minus_L: Not really in the search PATH,
14565 # but as the default location of the library.
14566 hardcode_minus_L_F77
=yes
14569 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14570 hardcode_libdir_separator_F77
=:
14571 hardcode_direct_F77
=yes
14572 export_dynamic_flag_spec_F77
='${wl}-E'
14574 # hardcode_minus_L: Not really in the search PATH,
14575 # but as the default location of the library.
14576 hardcode_minus_L_F77
=yes
14582 irix5
* | irix6
* | nonstopux
*)
14583 if test "$GCC" = yes; then
14584 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'
14586 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'
14587 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14589 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14590 hardcode_libdir_separator_F77
=:
14591 link_all_deplibs_F77
=yes
14595 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14596 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14598 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14600 hardcode_libdir_flag_spec_F77
='-R$libdir'
14601 hardcode_direct_F77
=yes
14602 hardcode_shlibpath_var_F77
=no
14606 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14607 hardcode_direct_F77
=yes
14608 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14609 hardcode_libdir_separator_F77
=:
14610 hardcode_shlibpath_var_F77
=no
14614 hardcode_direct_F77
=yes
14615 hardcode_shlibpath_var_F77
=no
14616 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14617 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14618 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14619 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14620 export_dynamic_flag_spec_F77
='${wl}-E'
14623 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14624 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14625 hardcode_libdir_flag_spec_F77
='-R$libdir'
14628 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14629 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14636 hardcode_libdir_flag_spec_F77
='-L$libdir'
14637 hardcode_minus_L_F77
=yes
14638 allow_undefined_flag_F77
=unsupported
14639 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'
14640 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14644 if test "$GCC" = yes; then
14645 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14646 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'
14648 allow_undefined_flag_F77
=' -expect_unresolved \*'
14649 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'
14651 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14652 hardcode_libdir_separator_F77
=:
14655 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14656 if test "$GCC" = yes; then
14657 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14658 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'
14659 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14661 allow_undefined_flag_F77
=' -expect_unresolved \*'
14662 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'
14663 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~
14664 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
14666 # Both c and cxx compiler support -rpath directly
14667 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14669 hardcode_libdir_separator_F77
=:
14673 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14674 hardcode_shlibpath_var_F77
=no
14675 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14676 runpath_var
=LD_RUN_PATH
14677 hardcode_runpath_var
=yes
14681 no_undefined_flag_F77
=' -z text'
14682 if test "$GCC" = yes; then
14683 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14684 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14685 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14687 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14688 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14689 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14691 hardcode_libdir_flag_spec_F77
='-R$libdir'
14692 hardcode_shlibpath_var_F77
=no
14694 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14695 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14696 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
14698 link_all_deplibs_F77
=yes
14702 if test "x$host_vendor" = xsequent
; then
14703 # Use $CC to link under sequent, because it throws in some extra .o
14704 # files that make .init and .fini sections work.
14705 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14707 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14709 hardcode_libdir_flag_spec_F77
='-L$libdir'
14710 hardcode_direct_F77
=yes
14711 hardcode_minus_L_F77
=yes
14712 hardcode_shlibpath_var_F77
=no
14716 case $host_vendor in
14718 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14719 hardcode_direct_F77
=yes # is this really true???
14722 ## LD is ld it makes a PLAMLIB
14723 ## CC just makes a GrossModule.
14724 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14725 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14726 hardcode_direct_F77
=no
14729 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14730 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14733 runpath_var
='LD_RUN_PATH'
14734 hardcode_shlibpath_var_F77
=no
14738 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14739 hardcode_shlibpath_var_F77
=no
14740 export_dynamic_flag_spec_F77
='-Bexport'
14744 if test -d /usr
/nec
; then
14745 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14746 hardcode_shlibpath_var_F77
=no
14747 runpath_var
=LD_RUN_PATH
14748 hardcode_runpath_var
=yes
14754 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14755 hardcode_direct_F77
=yes
14756 hardcode_minus_L_F77
=no
14757 hardcode_shlibpath_var_F77
=no
14758 hardcode_runpath_var
=yes
14759 runpath_var
=LD_RUN_PATH
14762 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14763 no_undefined_flag_F77
='${wl}-z ${wl}text'
14764 if test "$GCC" = yes; then
14765 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14767 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14769 runpath_var
='LD_RUN_PATH'
14770 hardcode_shlibpath_var_F77
=no
14774 no_undefined_flag_F77
=' -z text'
14775 # $CC -shared without GNU ld will not create a library from C++
14776 # object files and a static libstdc++, better avoid it by now
14777 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14778 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14779 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14780 hardcode_libdir_flag_spec_F77
=
14781 hardcode_shlibpath_var_F77
=no
14782 runpath_var
='LD_RUN_PATH'
14786 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14787 hardcode_libdir_flag_spec_F77
='-L$libdir'
14788 hardcode_shlibpath_var_F77
=no
14797 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14798 echo "${ECHO_T}$ld_shlibs_F77" >&6
14799 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14801 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14802 if test "$GCC" = yes; then
14803 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14807 # Do we need to explicitly link libc?
14809 case "x$archive_cmds_need_lc_F77" in
14811 # Assume -lc should be added
14812 archive_cmds_need_lc_F77
=yes
14814 if test "$enable_shared" = yes && test "$GCC" = yes; then
14815 case $archive_cmds_F77 in
14817 # FIXME: we may have to deal with multi-command sequences.
14820 # Test whether the compiler implicitly links with -lc since on some
14821 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14822 # to ld, don't add -lc before -lgcc.
14823 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14824 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14826 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14829 (eval $ac_compile) 2>&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); } 2>conftest.err
; then
14835 libobjs
=conftest.
$ac_objext
14837 wl
=$lt_prog_compiler_wl_F77
14843 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14844 allow_undefined_flag_F77
=
14845 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14846 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); }
14851 archive_cmds_need_lc_F77
=no
14853 archive_cmds_need_lc_F77
=yes
14855 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14857 cat conftest.err
1>&5
14860 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14861 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14868 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14869 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14870 library_names_spec
=
14871 libname_spec
='lib$name'
14875 postuninstall_cmds
=
14879 shlibpath_overrides_runpath
=unknown
14881 dynamic_linker
="$host_os ld.so"
14882 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14883 if test "$GCC" = yes; then
14884 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14885 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14886 # if the path contains ";" then we assume it to be the separator
14887 # otherwise default to the standard path separator (i.e. ":") - it is
14888 # assumed that no part of a normal pathname contains ";" but that should
14889 # okay in the real world where ";" in dirpaths is itself problematic.
14890 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14892 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14895 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14897 need_lib_prefix
=unknown
14898 hardcode_into_libs
=no
14900 # when you set need_version to no, make sure it does not cause -set_version
14901 # flags to be left without arguments
14902 need_version
=unknown
14907 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14908 shlibpath_var
=LIBPATH
14910 # AIX 3 has no versioning support, so we append a major version to the name.
14911 soname_spec
='${libname}${release}${shared_ext}$major'
14918 hardcode_into_libs
=yes
14919 if test "$host_cpu" = ia64
; then
14920 # AIX 5 supports IA64
14921 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14922 shlibpath_var
=LD_LIBRARY_PATH
14924 # With GCC up to 2.95.x, collect2 would create an import file
14925 # for dependence libraries. The import file would start with
14926 # the line `#! .'. This would cause the generated library to
14927 # depend on `.', always an invalid library. This was fixed in
14928 # development snapshots of GCC prior to 3.0.
14930 aix4 | aix4.
[01] | aix4.
[01].
*)
14931 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14933 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14936 can_build_shared
=no
14940 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14941 # soname into executable. Probably we can add versioning support to
14942 # collect2, so additional links can be useful in future.
14943 if test "$aix_use_runtimelinking" = yes; then
14944 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14945 # instead of lib<name>.a to let people know that these are not
14946 # typical AIX shared libraries.
14947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14949 # We preserve .a as extension for shared libraries through AIX4.2
14950 # and later when we are not doing run time linking.
14951 library_names_spec
='${libname}${release}.a $libname.a'
14952 soname_spec
='${libname}${release}${shared_ext}$major'
14954 shlibpath_var
=LIBPATH
14959 library_names_spec
='$libname.ixlibrary $libname.a'
14960 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14961 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'
14965 library_names_spec
='${libname}${shared_ext}'
14966 dynamic_linker
="$host_os ld.so"
14967 shlibpath_var
=LIBRARY_PATH
14973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14974 soname_spec
='${libname}${release}${shared_ext}$major'
14975 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14976 shlibpath_var
=LD_LIBRARY_PATH
14977 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14978 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14979 # the default ld.so.conf also contains /usr/contrib/lib and
14980 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14981 # libtool to hard-code these into programs
14984 cygwin
* | mingw
* | pw32
*)
14985 version_type
=windows
14990 case $GCC,$host_os in
14991 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14992 library_names_spec
='$libname.dll.a'
14993 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14994 postinstall_cmds
='base_file=`basename \${file}`~
14995 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14996 dldir=$destdir/`dirname \$dlpath`~
14997 test -d \$dldir || mkdir -p \$dldir~
14998 $install_prog $dir/$dlname \$dldir/$dlname'
14999 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15000 dlpath=$dir/\$dldll~
15002 shlibpath_overrides_runpath
=yes
15006 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15007 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15008 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15011 # MinGW DLLs use traditional 'lib' prefix
15012 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15013 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15014 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15015 # It is most probably a Windows format PATH printed by
15016 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15017 # path with ; separators, and with drive letters. We can handle the
15018 # drive letters (cygwin fileutils understands them), so leave them,
15019 # especially as we might pass files found there to a mingw objdump,
15020 # which wouldn't understand a cygwinified path. Ahh.
15021 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15023 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15027 # pw32 DLLs use 'pw' prefix rather than 'lib'
15028 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15034 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15037 dynamic_linker
='Win32 ld.exe'
15038 # FIXME: first we should search . and the directory the executable is in
15042 darwin
* | rhapsody
*)
15043 dynamic_linker
="$host_os dyld"
15044 version_type
=darwin
15047 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15048 soname_spec
='${libname}${release}${major}$shared_ext'
15049 shlibpath_overrides_runpath
=yes
15050 shlibpath_var
=DYLD_LIBRARY_PATH
15051 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
15052 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15053 if test "$GCC" = yes; then
15054 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"`
15056 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15058 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15066 soname_spec
='${libname}${release}${shared_ext}$major'
15067 shlibpath_var
=LD_LIBRARY_PATH
15078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15079 soname_spec
='${libname}${release}${shared_ext}$major'
15080 shlibpath_var
=LD_LIBRARY_PATH
15081 shlibpath_overrides_runpath
=no
15082 hardcode_into_libs
=yes
15083 dynamic_linker
='GNU ld.so'
15086 freebsd
* | dragonfly
*)
15087 # DragonFly does not have aout. When/if they implement a new
15088 # versioning mechanism, adjust this.
15089 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15090 version_type
=freebsd-
$objformat
15091 case $version_type in
15093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15098 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15102 shlibpath_var
=LD_LIBRARY_PATH
15105 shlibpath_overrides_runpath
=yes
15107 freebsd3.
[01]* | freebsdelf3.
[01]*)
15108 shlibpath_overrides_runpath
=yes
15109 hardcode_into_libs
=yes
15112 shlibpath_overrides_runpath
=no
15113 hardcode_into_libs
=yes
15122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15123 soname_spec
='${libname}${release}${shared_ext}$major'
15124 shlibpath_var
=LD_LIBRARY_PATH
15125 hardcode_into_libs
=yes
15128 hpux9
* | hpux10
* | hpux11
*)
15129 # Give a soname corresponding to the major version so that dld.sl refuses to
15130 # link against other versions.
15134 case "$host_cpu" in
15137 hardcode_into_libs
=yes
15138 dynamic_linker
="$host_os dld.so"
15139 shlibpath_var
=LD_LIBRARY_PATH
15140 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15142 soname_spec
='${libname}${release}${shared_ext}$major'
15143 if test "X$HPUX_IA64_MODE" = X32
; then
15144 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15146 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15148 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15152 hardcode_into_libs
=yes
15153 dynamic_linker
="$host_os dld.sl"
15154 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15155 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15157 soname_spec
='${libname}${release}${shared_ext}$major'
15158 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15159 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15163 dynamic_linker
="$host_os dld.sl"
15164 shlibpath_var
=SHLIB_PATH
15165 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15167 soname_spec
='${libname}${release}${shared_ext}$major'
15170 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15171 postinstall_cmds
='chmod 555 $lib'
15174 irix5
* | irix6
* | nonstopux
*)
15176 nonstopux
*) version_type
=nonstopux
;;
15178 if test "$lt_cv_prog_gnu_ld" = yes; then
15186 soname_spec
='${libname}${release}${shared_ext}$major'
15187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15189 irix5
* | nonstopux
*)
15190 libsuff
= shlibsuff
=
15193 case $LD in # libtool.m4 will add one of these switches to LD
15194 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15195 libsuff
= shlibsuff
= libmagic
=32-bit;;
15196 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15197 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15198 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15199 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15200 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15204 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15205 shlibpath_overrides_runpath
=no
15206 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15207 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15208 hardcode_into_libs
=yes
15211 # No shared lib support for Linux oldld, aout, or coff.
15212 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15216 # This must be Linux ELF.
15221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15222 soname_spec
='${libname}${release}${shared_ext}$major'
15223 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15224 shlibpath_var
=LD_LIBRARY_PATH
15225 shlibpath_overrides_runpath
=no
15226 # This implies no fast_install, which is unacceptable.
15227 # Some rework will be needed to allow for fast_install
15228 # before this can be enabled.
15229 hardcode_into_libs
=yes
15231 # Append ld.so.conf contents to the search path
15232 if test -f /etc
/ld.so.conf
; then
15233 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15234 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15237 # We used to test for /lib/ld.so.1 and disable shared libraries on
15238 # powerpc, because MkLinux only supported shared libraries with the
15239 # GNU dynamic linker. Since this was broken with cross compilers,
15240 # most powerpc-linux boxes support dynamic linking these days and
15241 # people can always --disable-shared, the test was removed, and we
15242 # assume the GNU/Linux dynamic linker is in use.
15243 dynamic_linker
='GNU/Linux ld.so'
15250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15251 soname_spec
='${libname}${release}${shared_ext}$major'
15252 shlibpath_var
=LD_LIBRARY_PATH
15253 shlibpath_overrides_runpath
=no
15254 hardcode_into_libs
=yes
15255 dynamic_linker
='GNU ld.so'
15262 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15264 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15265 dynamic_linker
='NetBSD (a.out) 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 dynamic_linker
='NetBSD ld.elf_so'
15271 shlibpath_var
=LD_LIBRARY_PATH
15272 shlibpath_overrides_runpath
=yes
15273 hardcode_into_libs
=yes
15278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15279 shlibpath_var
=LD_LIBRARY_PATH
15280 shlibpath_overrides_runpath
=yes
15287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15288 soname_spec
='${libname}${release}${shared_ext}$major'
15289 shlibpath_var
=LD_LIBRARY_PATH
15290 shlibpath_overrides_runpath
=yes
15297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15298 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15299 shlibpath_var
=LD_LIBRARY_PATH
15300 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15302 openbsd2.
[89] | openbsd2.
[89].
*)
15303 shlibpath_overrides_runpath
=no
15306 shlibpath_overrides_runpath
=yes
15310 shlibpath_overrides_runpath
=yes
15315 libname_spec
='$name'
15318 library_names_spec
='$libname${shared_ext} $libname.a'
15319 dynamic_linker
='OS/2 ld.exe'
15320 shlibpath_var
=LIBPATH
15323 osf3
* | osf4
* | osf5
*)
15327 soname_spec
='${libname}${release}${shared_ext}$major'
15328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15329 shlibpath_var
=LD_LIBRARY_PATH
15330 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15331 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15336 soname_spec
='${libname}${release}${shared_ext}$major'
15337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15338 shlibpath_var
=LD_LIBRARY_PATH
15345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15346 soname_spec
='${libname}${release}${shared_ext}$major'
15347 shlibpath_var
=LD_LIBRARY_PATH
15348 shlibpath_overrides_runpath
=yes
15349 hardcode_into_libs
=yes
15350 # ldd complains unless libraries are executable
15351 postinstall_cmds
='chmod +x $lib'
15356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15357 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15358 shlibpath_var
=LD_LIBRARY_PATH
15359 shlibpath_overrides_runpath
=yes
15360 if test "$with_gnu_ld" = yes; then
15366 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15369 soname_spec
='${libname}${release}${shared_ext}$major'
15370 shlibpath_var
=LD_LIBRARY_PATH
15371 case $host_vendor in
15373 shlibpath_overrides_runpath
=no
15375 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15376 runpath_var
=LD_RUN_PATH
15384 shlibpath_overrides_runpath
=no
15385 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15391 if test -d /usr
/nec
;then
15393 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15394 soname_spec
='$libname${shared_ext}.$major'
15395 shlibpath_var
=LD_LIBRARY_PATH
15401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15402 soname_spec
='${libname}${release}${shared_ext}$major'
15403 shlibpath_var
=LD_LIBRARY_PATH
15410 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15411 echo "${ECHO_T}$dynamic_linker" >&6
15412 test "$dynamic_linker" = no
&& can_build_shared
=no
15414 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15415 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15416 hardcode_action_F77
=
15417 if test -n "$hardcode_libdir_flag_spec_F77" || \
15418 test -n "$runpath_var_F77" || \
15419 test "X$hardcode_automatic_F77" = "Xyes" ; then
15421 # We can hardcode non-existant directories.
15422 if test "$hardcode_direct_F77" != no
&&
15423 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15424 # have to relink, otherwise we might link with an installed library
15425 # when we should be linking with a yet-to-be-installed one
15426 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15427 test "$hardcode_minus_L_F77" != no
; then
15428 # Linking always hardcodes the temporary library directory.
15429 hardcode_action_F77
=relink
15431 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15432 hardcode_action_F77
=immediate
15435 # We cannot hardcode anything, or else we can only hardcode existing
15437 hardcode_action_F77
=unsupported
15439 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15440 echo "${ECHO_T}$hardcode_action_F77" >&6
15442 if test "$hardcode_action_F77" = relink
; then
15443 # Fast installation is not supported
15444 enable_fast_install
=no
15445 elif test "$shlibpath_overrides_runpath" = yes ||
15446 test "$enable_shared" = no
; then
15447 # Fast installation is not necessary
15448 enable_fast_install
=needless
15453 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15454 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15455 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15456 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15457 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15458 echo "$as_me:$LINENO: result: yes" >&5
15459 echo "${ECHO_T}yes" >&6
15461 # FIXME - insert some real tests, host_os isn't really good enough
15464 if test -n "$STRIP" ; then
15465 striplib
="$STRIP -x"
15466 echo "$as_me:$LINENO: result: yes" >&5
15467 echo "${ECHO_T}yes" >&6
15469 echo "$as_me:$LINENO: result: no" >&5
15470 echo "${ECHO_T}no" >&6
15474 echo "$as_me:$LINENO: result: no" >&5
15475 echo "${ECHO_T}no" >&6
15482 # The else clause should only fire when bootstrapping the
15483 # libtool distribution, otherwise you forgot to ship ltmain.sh
15484 # with your package, and you will get complaints that there are
15485 # no rules to generate ltmain.sh.
15486 if test -f "$ltmain"; then
15487 # See if we are running on zsh, and set the options which allow our commands through
15488 # without removal of \ escapes.
15489 if test -n "${ZSH_VERSION+set}" ; then
15490 setopt NO_GLOB_SUBST
15492 # Now quote all the things that may contain metacharacters while being
15493 # careful not to overquote the AC_SUBSTed values. We take copies of the
15494 # variables and quote the copies for generation of the libtool script.
15495 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15497 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15498 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15499 deplibs_check_method reload_flag reload_cmds need_locks \
15500 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15501 lt_cv_sys_global_symbol_to_c_name_address \
15502 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15503 old_postinstall_cmds old_postuninstall_cmds \
15507 lt_prog_compiler_wl_F77 \
15508 lt_prog_compiler_pic_F77 \
15509 lt_prog_compiler_static_F77 \
15510 lt_prog_compiler_no_builtin_flag_F77 \
15511 export_dynamic_flag_spec_F77 \
15512 thread_safe_flag_spec_F77 \
15513 whole_archive_flag_spec_F77 \
15514 enable_shared_with_static_runtimes_F77 \
15515 old_archive_cmds_F77 \
15516 old_archive_from_new_cmds_F77 \
15517 predep_objects_F77 \
15518 postdep_objects_F77 \
15521 compiler_lib_search_path_F77 \
15523 archive_expsym_cmds_F77 \
15524 postinstall_cmds_F77 \
15525 postuninstall_cmds_F77 \
15526 old_archive_from_expsyms_cmds_F77 \
15527 allow_undefined_flag_F77 \
15528 no_undefined_flag_F77 \
15529 export_symbols_cmds_F77 \
15530 hardcode_libdir_flag_spec_F77 \
15531 hardcode_libdir_flag_spec_ld_F77 \
15532 hardcode_libdir_separator_F77 \
15533 hardcode_automatic_F77 \
15535 module_expsym_cmds_F77 \
15536 lt_cv_prog_compiler_c_o_F77 \
15537 exclude_expsyms_F77 \
15538 include_expsyms_F77
; do
15541 old_archive_cmds_F77 | \
15542 old_archive_from_new_cmds_F77 | \
15543 archive_cmds_F77 | \
15544 archive_expsym_cmds_F77 | \
15545 module_cmds_F77 | \
15546 module_expsym_cmds_F77 | \
15547 old_archive_from_expsyms_cmds_F77 | \
15548 export_symbols_cmds_F77 | \
15549 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15550 postinstall_cmds | postuninstall_cmds | \
15551 old_postinstall_cmds | old_postuninstall_cmds | \
15552 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15553 # Double-quote double-evaled strings.
15554 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15557 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15563 *'\$0 --fallback-echo"')
15564 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15570 cat <<__EOF__ >> "$cfgfile"
15571 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15573 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15575 # Shell to use when invoking shell scripts.
15578 # Whether or not to build shared libraries.
15579 build_libtool_libs=$enable_shared
15581 # Whether or not to build static libraries.
15582 build_old_libs=$enable_static
15584 # Whether or not to add -lc for building shared libraries.
15585 build_libtool_need_lc=$archive_cmds_need_lc_F77
15587 # Whether or not to disallow shared libs when runtime libs are static
15588 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15590 # Whether or not to optimize for fast installation.
15591 fast_install=$enable_fast_install
15594 host_alias=$host_alias
15598 # The build system.
15599 build_alias=$build_alias
15603 # An echo program that does not interpret backslashes.
15608 AR_FLAGS=$lt_AR_FLAGS
15613 # A language-specific compiler.
15614 CC=$lt_compiler_F77
15616 # Is the compiler the GNU C compiler?
15622 # The linker used to build libraries.
15625 # Whether we need hard or soft links.
15628 # A BSD-compatible nm program.
15631 # A symbol stripping program
15634 # Used to examine libraries when file_magic_cmd begins "file"
15635 MAGIC_CMD=$MAGIC_CMD
15637 # Used on cygwin: DLL creation program.
15640 # Used on cygwin: object dumper.
15643 # Used on cygwin: assembler.
15646 # The name of the directory that contains temporary libtool files.
15649 # How to create reloadable object files.
15650 reload_flag=$lt_reload_flag
15651 reload_cmds=$lt_reload_cmds
15653 # How to pass a linker flag through the compiler.
15654 wl=$lt_lt_prog_compiler_wl_F77
15656 # Object file suffix (normally "o").
15657 objext="$ac_objext"
15659 # Old archive suffix (normally "a").
15662 # Shared library suffix (normally ".so").
15663 shrext_cmds='$shrext_cmds'
15665 # Executable file suffix (normally "").
15668 # Additional compiler flags for building library objects.
15669 pic_flag=$lt_lt_prog_compiler_pic_F77
15672 # What is the maximum length of a command?
15673 max_cmd_len=$lt_cv_sys_max_cmd_len
15675 # Does compiler simultaneously support -c and -o options?
15676 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15678 # Must we lock files when doing compilation ?
15679 need_locks=$lt_need_locks
15681 # Do we need the lib prefix for modules?
15682 need_lib_prefix=$need_lib_prefix
15684 # Do we need a version for libraries?
15685 need_version=$need_version
15687 # Whether dlopen is supported.
15688 dlopen_support=$enable_dlopen
15690 # Whether dlopen of programs is supported.
15691 dlopen_self=$enable_dlopen_self
15693 # Whether dlopen of statically linked programs is supported.
15694 dlopen_self_static=$enable_dlopen_self_static
15696 # Compiler flag to prevent dynamic linking.
15697 link_static_flag=$lt_lt_prog_compiler_static_F77
15699 # Compiler flag to turn off builtin functions.
15700 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15702 # Compiler flag to allow reflexive dlopens.
15703 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15705 # Compiler flag to generate shared objects directly from archives.
15706 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15708 # Compiler flag to generate thread-safe objects.
15709 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15711 # Library versioning type.
15712 version_type=$version_type
15714 # Format of library name prefix.
15715 libname_spec=$lt_libname_spec
15717 # List of archive names. First name is the real one, the rest are links.
15718 # The last name is the one that the linker finds with -lNAME.
15719 library_names_spec=$lt_library_names_spec
15721 # The coded name of the library, if different from the real name.
15722 soname_spec=$lt_soname_spec
15724 # Commands used to build and install an old-style archive.
15726 old_archive_cmds=$lt_old_archive_cmds_F77
15727 old_postinstall_cmds=$lt_old_postinstall_cmds
15728 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15730 # Create an old-style archive from a shared archive.
15731 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15733 # Create a temporary old-style archive to link instead of a shared archive.
15734 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15736 # Commands used to build and install a shared archive.
15737 archive_cmds=$lt_archive_cmds_F77
15738 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15739 postinstall_cmds=$lt_postinstall_cmds
15740 postuninstall_cmds=$lt_postuninstall_cmds
15742 # Commands used to build a loadable module (assumed same as above if empty)
15743 module_cmds=$lt_module_cmds_F77
15744 module_expsym_cmds=$lt_module_expsym_cmds_F77
15746 # Commands to strip libraries.
15747 old_striplib=$lt_old_striplib
15748 striplib=$lt_striplib
15750 # Dependencies to place before the objects being linked to create a
15752 predep_objects=$lt_predep_objects_F77
15754 # Dependencies to place after the objects being linked to create a
15756 postdep_objects=$lt_postdep_objects_F77
15758 # Dependencies to place before the objects being linked to create a
15760 predeps=$lt_predeps_F77
15762 # Dependencies to place after the objects being linked to create a
15764 postdeps=$lt_postdeps_F77
15766 # The library search path used internally by the compiler when linking
15767 # a shared library.
15768 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15770 # Method to check whether dependent libraries are shared objects.
15771 deplibs_check_method=$lt_deplibs_check_method
15773 # Command to use when deplibs_check_method == file_magic.
15774 file_magic_cmd=$lt_file_magic_cmd
15776 # Flag that allows shared libraries with undefined symbols to be built.
15777 allow_undefined_flag=$lt_allow_undefined_flag_F77
15779 # Flag that forces no undefined symbols.
15780 no_undefined_flag=$lt_no_undefined_flag_F77
15782 # Commands used to finish a libtool library installation in a directory.
15783 finish_cmds=$lt_finish_cmds
15785 # Same as above, but a single script fragment to be evaled but not shown.
15786 finish_eval=$lt_finish_eval
15788 # Take the output of nm and produce a listing of raw symbols and C names.
15789 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15791 # Transform the output of nm in a proper C declaration
15792 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15794 # Transform the output of nm in a C name address pair
15795 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15797 # This is the shared library runtime path variable.
15798 runpath_var=$runpath_var
15800 # This is the shared library path variable.
15801 shlibpath_var=$shlibpath_var
15803 # Is shlibpath searched before the hard-coded library search path?
15804 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15806 # How to hardcode a shared library path into an executable.
15807 hardcode_action=$hardcode_action_F77
15809 # Whether we should hardcode library paths into libraries.
15810 hardcode_into_libs=$hardcode_into_libs
15812 # Flag to hardcode \$libdir into a binary during linking.
15813 # This must work even if \$libdir does not exist.
15814 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15816 # If ld is used when linking, flag to hardcode \$libdir into
15817 # a binary during linking. This must work even if \$libdir does
15819 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15821 # Whether we need a single -rpath flag with a separated argument.
15822 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15824 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15825 # resulting binary.
15826 hardcode_direct=$hardcode_direct_F77
15828 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15829 # resulting binary.
15830 hardcode_minus_L=$hardcode_minus_L_F77
15832 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15833 # the resulting binary.
15834 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15836 # Set to yes if building a shared library automatically hardcodes DIR into the library
15837 # and all subsequent libraries and executables linked against it.
15838 hardcode_automatic=$hardcode_automatic_F77
15840 # Variables whose values should be saved in libtool wrapper scripts and
15841 # restored at relink time.
15842 variables_saved_for_relink="$variables_saved_for_relink"
15844 # Whether libtool must link a program against all its dependency libraries.
15845 link_all_deplibs=$link_all_deplibs_F77
15847 # Compile-time system search path for libraries
15848 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15850 # Run-time system search path for libraries
15851 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15853 # Fix the shell variable \$srcfile for the compiler.
15854 fix_srcfile_path="$fix_srcfile_path_F77"
15856 # Set to yes if exported symbols are required.
15857 always_export_symbols=$always_export_symbols_F77
15859 # The commands to list exported symbols.
15860 export_symbols_cmds=$lt_export_symbols_cmds_F77
15862 # The commands to extract the exported symbol list from a shared archive.
15863 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15865 # Symbols that should not be listed in the preloaded symbols.
15866 exclude_expsyms=$lt_exclude_expsyms_F77
15868 # Symbols that must always be exported.
15869 include_expsyms=$lt_include_expsyms_F77
15871 # ### END LIBTOOL TAG CONFIG: $tagname
15877 # If there is no Makefile yet, we rely on a make rule to execute
15878 # `config.status --recheck' to rerun these tests and create the
15879 # libtool script then.
15880 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15881 if test -f "$ltmain_in"; then
15882 test -f Makefile
&& make "$ltmain"
15888 ac_cpp
='$CPP $CPPFLAGS'
15889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15901 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15905 # Source file extension for Java test sources.
15908 # Object file extension for compiled Java test sources.
15912 # Code to be used in simple compile tests
15913 lt_simple_compile_test_code
="class foo {}\n"
15915 # Code to be used in simple link tests
15916 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15918 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15920 # If no C compiler was specified, use CC.
15923 # Allow CC to be a program name with arguments.
15927 # Allow CC to be a program name with arguments.
15933 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15934 archive_cmds_need_lc_GCJ
=no
15937 ## There is no encapsulation within the following macros, do not change
15938 ## the running order or otherwise move them around unless you know exactly
15939 ## what you are doing...
15941 lt_prog_compiler_no_builtin_flag_GCJ
=
15943 if test "$GCC" = yes; then
15944 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15947 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15948 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15949 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 lt_cv_prog_compiler_rtti_exceptions
=no
15953 ac_outfile
=conftest.
$ac_objext
15954 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15955 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15956 # Insert the option either (1) after the last *FLAGS variable, or
15957 # (2) before a word containing "conftest.", or (3) at the end.
15958 # Note that $ac_compile itself does not contain backslashes and begins
15959 # with a dollar sign (not a hyphen), so the echo should work correctly.
15960 # The option is referenced via a variable to avoid confusing sed.
15961 lt_compile
=`echo "$ac_compile" | $SED \
15962 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15964 -e 's:$: $lt_compiler_flag:'`
15965 (eval echo "\"\$as_me:15965: $lt_compile\"" >&5)
15966 (eval "$lt_compile" 2>conftest.err
)
15968 cat conftest.err
>&5
15969 echo "$as_me:15969: \$? = $ac_status" >&5
15970 if (exit $ac_status) && test -s "$ac_outfile"; then
15971 # The compiler can only warn and ignore the option if not recognized
15972 # So say no if there are warnings
15973 if test ! -s conftest.err
; then
15974 lt_cv_prog_compiler_rtti_exceptions
=yes
15980 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15981 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15983 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15984 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15991 lt_prog_compiler_wl_GCJ
=
15992 lt_prog_compiler_pic_GCJ
=
15993 lt_prog_compiler_static_GCJ
=
15995 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15996 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15998 if test "$GCC" = yes; then
15999 lt_prog_compiler_wl_GCJ
='-Wl,'
16000 lt_prog_compiler_static_GCJ
='-static'
16004 # All AIX code is PIC.
16005 if test "$host_cpu" = ia64
; then
16006 # AIX 5 now supports IA64 processor
16007 lt_prog_compiler_static_GCJ
='-Bstatic'
16012 # FIXME: we need at least 68020 code to build shared libraries, but
16013 # adding the `-m68020' flag to GCC prevents building anything better,
16015 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16018 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16019 # PIC is the default for these OSes.
16022 mingw
* | pw32
* | os2
*)
16023 # This hack is so that the source file can tell whether it is being
16024 # built for inclusion in a dll (and should export symbols for example).
16025 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16028 darwin
* | rhapsody
*)
16029 # PIC is the default on this platform
16030 # Common symbols not allowed in MH_DYLIB files
16031 lt_prog_compiler_pic_GCJ
='-fno-common'
16035 # Just because we use GCC doesn't mean we suddenly get shared libraries
16036 # on systems that don't support them.
16037 lt_prog_compiler_can_build_shared_GCJ
=no
16042 if test -d /usr
/nec
; then
16043 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16048 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16049 # not for PA HP-UX.
16050 case "$host_cpu" in
16055 lt_prog_compiler_pic_GCJ
='-fPIC'
16061 lt_prog_compiler_pic_GCJ
='-fPIC'
16065 # PORTME Check for flag to pass linker flags through the system compiler.
16068 lt_prog_compiler_wl_GCJ
='-Wl,'
16069 if test "$host_cpu" = ia64
; then
16070 # AIX 5 now supports IA64 processor
16071 lt_prog_compiler_static_GCJ
='-Bstatic'
16073 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16077 # PIC is the default on this platform
16078 # Common symbols not allowed in MH_DYLIB files
16079 case "$cc_basename" in
16081 lt_prog_compiler_pic_GCJ
='-qnocommon'
16082 lt_prog_compiler_wl_GCJ
='-Wl,'
16087 mingw
* | pw32
* | os2
*)
16088 # This hack is so that the source file can tell whether it is being
16089 # built for inclusion in a dll (and should export symbols for example).
16090 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16093 hpux9
* | hpux10
* | hpux11
*)
16094 lt_prog_compiler_wl_GCJ
='-Wl,'
16095 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16096 # not for PA HP-UX.
16097 case "$host_cpu" in
16102 lt_prog_compiler_pic_GCJ
='+Z'
16105 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16106 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16109 irix5
* | irix6
* | nonstopux
*)
16110 lt_prog_compiler_wl_GCJ
='-Wl,'
16111 # PIC (with -KPIC) is the default.
16112 lt_prog_compiler_static_GCJ
='-non_shared'
16116 lt_prog_compiler_pic_GCJ
='-KPIC'
16117 lt_prog_compiler_static_GCJ
='-Bstatic'
16121 case $cc_basename in
16123 lt_prog_compiler_wl_GCJ
='-Wl,'
16124 lt_prog_compiler_pic_GCJ
='-KPIC'
16125 lt_prog_compiler_static_GCJ
='-static'
16127 pgcc | pgf77 | pgf90
)
16128 # Portland Group compilers (*not* the Pentium gcc compiler,
16129 # which looks to be a dead project)
16130 lt_prog_compiler_wl_GCJ
='-Wl,'
16131 lt_prog_compiler_pic_GCJ
='-fpic'
16132 lt_prog_compiler_static_GCJ
='-static'
16135 lt_prog_compiler_wl_GCJ
='-Wl,'
16136 # All Alpha code is PIC.
16137 lt_prog_compiler_static_GCJ
='-non_shared'
16140 lt_prog_compiler_wl_GCJ
='-lopt='
16145 osf3
* | osf4
* | osf5
*)
16146 lt_prog_compiler_wl_GCJ
='-Wl,'
16147 # All OSF/1 code is PIC.
16148 lt_prog_compiler_static_GCJ
='-non_shared'
16152 lt_prog_compiler_pic_GCJ
='-Kpic'
16153 lt_prog_compiler_static_GCJ
='-dn'
16157 lt_prog_compiler_wl_GCJ
='-Wl,'
16158 lt_prog_compiler_pic_GCJ
='-KPIC'
16159 lt_prog_compiler_static_GCJ
='-Bstatic'
16163 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16164 lt_prog_compiler_pic_GCJ
='-PIC'
16165 lt_prog_compiler_static_GCJ
='-Bstatic'
16168 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16169 lt_prog_compiler_wl_GCJ
='-Wl,'
16170 lt_prog_compiler_pic_GCJ
='-KPIC'
16171 lt_prog_compiler_static_GCJ
='-Bstatic'
16175 if test -d /usr
/nec
;then
16176 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16177 lt_prog_compiler_static_GCJ
='-Bstatic'
16182 lt_prog_compiler_wl_GCJ
='-Wl,'
16183 lt_prog_compiler_can_build_shared_GCJ
=no
16187 lt_prog_compiler_pic_GCJ
='-pic'
16188 lt_prog_compiler_static_GCJ
='-Bstatic'
16192 lt_prog_compiler_can_build_shared_GCJ
=no
16197 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16198 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16201 # Check to make sure the PIC flag actually works.
16203 if test -n "$lt_prog_compiler_pic_GCJ"; then
16205 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16206 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16207 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16208 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 lt_prog_compiler_pic_works_GCJ
=no
16211 ac_outfile
=conftest.
$ac_objext
16212 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16213 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16214 # Insert the option either (1) after the last *FLAGS variable, or
16215 # (2) before a word containing "conftest.", or (3) at the end.
16216 # Note that $ac_compile itself does not contain backslashes and begins
16217 # with a dollar sign (not a hyphen), so the echo should work correctly.
16218 # The option is referenced via a variable to avoid confusing sed.
16219 lt_compile
=`echo "$ac_compile" | $SED \
16220 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16221 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16222 -e 's:$: $lt_compiler_flag:'`
16223 (eval echo "\"\$as_me:16223: $lt_compile\"" >&5)
16224 (eval "$lt_compile" 2>conftest.err
)
16226 cat conftest.err
>&5
16227 echo "$as_me:16227: \$? = $ac_status" >&5
16228 if (exit $ac_status) && test -s "$ac_outfile"; then
16229 # The compiler can only warn and ignore the option if not recognized
16230 # So say no if there are warnings
16231 if test ! -s conftest.err
; then
16232 lt_prog_compiler_pic_works_GCJ
=yes
16238 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16239 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16241 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16242 case $lt_prog_compiler_pic_GCJ in
16244 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16247 lt_prog_compiler_pic_GCJ
=
16248 lt_prog_compiler_can_build_shared_GCJ
=no
16253 # For platforms which do not support PIC, -DPIC is meaningless:
16255 lt_prog_compiler_pic_GCJ
=
16258 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16262 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16263 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16264 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16265 echo $ECHO_N "(cached) $ECHO_C" >&6
16267 lt_cv_prog_compiler_c_o_GCJ
=no
16268 $rm -r conftest
2>/dev
/null
16272 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16274 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16275 # Insert the option either (1) after the last *FLAGS variable, or
16276 # (2) before a word containing "conftest.", or (3) at the end.
16277 # Note that $ac_compile itself does not contain backslashes and begins
16278 # with a dollar sign (not a hyphen), so the echo should work correctly.
16279 lt_compile
=`echo "$ac_compile" | $SED \
16280 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16281 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16282 -e 's:$: $lt_compiler_flag:'`
16283 (eval echo "\"\$as_me:16283: $lt_compile\"" >&5)
16284 (eval "$lt_compile" 2>out
/conftest.err
)
16286 cat out
/conftest.err
>&5
16287 echo "$as_me:16287: \$? = $ac_status" >&5
16288 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16290 # The compiler can only warn and ignore the option if not recognized
16291 # So say no if there are warnings
16292 if test ! -s out
/conftest.err
; then
16293 lt_cv_prog_compiler_c_o_GCJ
=yes
16298 # SGI C++ compiler will create directory out/ii_files/ for
16299 # template instantiation
16300 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16301 $rm out
/* && rmdir out
16307 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16308 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16311 hard_links
="nottested"
16312 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16313 # do not overwrite the value of need_locks provided by the user
16314 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16315 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16318 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16320 ln conftest.a conftest.b
2>&5 || hard_links
=no
16321 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16322 echo "$as_me:$LINENO: result: $hard_links" >&5
16323 echo "${ECHO_T}$hard_links" >&6
16324 if test "$hard_links" = no
; then
16325 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16326 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16333 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16334 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16337 allow_undefined_flag_GCJ
=
16338 enable_shared_with_static_runtimes_GCJ
=no
16340 archive_expsym_cmds_GCJ
=
16341 old_archive_From_new_cmds_GCJ
=
16342 old_archive_from_expsyms_cmds_GCJ
=
16343 export_dynamic_flag_spec_GCJ
=
16344 whole_archive_flag_spec_GCJ
=
16345 thread_safe_flag_spec_GCJ
=
16346 hardcode_libdir_flag_spec_GCJ
=
16347 hardcode_libdir_flag_spec_ld_GCJ
=
16348 hardcode_libdir_separator_GCJ
=
16349 hardcode_direct_GCJ
=no
16350 hardcode_minus_L_GCJ
=no
16351 hardcode_shlibpath_var_GCJ
=unsupported
16352 link_all_deplibs_GCJ
=unknown
16353 hardcode_automatic_GCJ
=no
16355 module_expsym_cmds_GCJ
=
16356 always_export_symbols_GCJ
=no
16357 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16358 # include_expsyms should be a list of space-separated symbols to be *always*
16359 # included in the symbol list
16360 include_expsyms_GCJ
=
16361 # exclude_expsyms can be an extended regexp of symbols to exclude
16362 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16363 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16364 # as well as any symbol that contains `d'.
16365 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16366 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16367 # platforms (ab)use it in PIC code, but their linkers get confused if
16368 # the symbol is explicitly referenced. Since portable code cannot
16369 # rely on this symbol name, it's probably fine to never include it in
16370 # preloaded symbol tables.
16371 extract_expsyms_cmds
=
16374 cygwin
* | mingw
* | pw32
*)
16375 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16376 # When not using gcc, we currently assume that we are using
16377 # Microsoft Visual C++.
16378 if test "$GCC" != yes; then
16388 if test "$with_gnu_ld" = yes; then
16389 # If archive_cmds runs LD, not CC, wlarc should be empty
16392 # See if GNU ld supports shared libraries.
16394 aix3
* | aix4
* | aix5
*)
16395 # On AIX/PPC, the GNU linker is very broken
16396 if test "$host_cpu" != ia64
; then
16400 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16401 *** to be unable to reliably create shared libraries on AIX.
16402 *** Therefore, libtool is disabling shared libraries support. If you
16403 *** really care for shared libraries, you may want to modify your PATH
16404 *** so that a non-GNU linker is found, and then restart.
16411 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)'
16412 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16413 hardcode_minus_L_GCJ
=yes
16415 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16416 # that the semantics of dynamic libraries on AmigaOS, at least up
16417 # to version 4, is to share data among multiple programs linked
16418 # with the same dynamic library. Since this doesn't match the
16419 # behavior of shared libraries on other platforms, we can't use
16425 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16426 allow_undefined_flag_GCJ
=unsupported
16427 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16428 # support --undefined. This deserves some investigation. FIXME
16429 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16435 cygwin
* | mingw
* | pw32
*)
16436 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16437 # as there is no search path for DLLs.
16438 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16439 allow_undefined_flag_GCJ
=unsupported
16440 always_export_symbols_GCJ
=no
16441 enable_shared_with_static_runtimes_GCJ
=yes
16442 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16444 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16445 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16446 # If the export-symbols file already is a .def file (1st line
16447 # is EXPORTS), use it as is; otherwise, prepend...
16448 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16449 cp $export_symbols $output_objdir/$soname.def;
16451 echo EXPORTS > $output_objdir/$soname.def;
16452 cat $export_symbols >> $output_objdir/$soname.def;
16454 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16461 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16462 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16465 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16466 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16471 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16475 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16476 *** create shared libraries on Solaris systems. Therefore, libtool
16477 *** is disabling shared libraries support. We urge you to upgrade GNU
16478 *** binutils to release 2.9.1 or newer. Another option is to modify
16479 *** your PATH or compiler configuration so that the native linker is
16480 *** used, and then restart.
16483 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16484 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16485 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16492 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16494 hardcode_direct_GCJ
=yes
16495 hardcode_shlibpath_var_GCJ
=no
16499 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16501 case $CC,$host_cpu in
16502 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
16503 tmp_addflag
=' -fpic' ;;
16504 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16505 tmp_addflag
=' -i_dynamic' ;;
16506 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16507 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16508 ifc
* | ifort
*) # Intel Fortran compiler
16509 tmp_addflag
=' -nofor_main' ;;
16511 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16512 supports_anon_versioning
=no
16513 case `$LD -v 2>/dev/null` in
16514 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16515 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16516 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16517 *\
2.11.
*) ;; # other 2.11 versions
16518 *) supports_anon_versioning
=yes ;;
16520 if test $supports_anon_versioning = yes; then
16521 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16522 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16523 $echo "local: *; };" >> $output_objdir/$libname.ver~
16524 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16526 archive_expsym_cmds_GCJ
=$archive_cmds_GCJ
16534 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16535 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16536 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16543 if test "$ld_shlibs_GCJ" = yes; then
16544 runpath_var
=LD_RUN_PATH
16545 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16546 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16547 # ancient GNU ld didn't support --whole-archive et. al.
16548 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16549 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16551 whole_archive_flag_spec_GCJ
=
16555 # PORTME fill in a description of your system's linker (not GNU ld)
16558 allow_undefined_flag_GCJ
=unsupported
16559 always_export_symbols_GCJ
=yes
16560 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'
16561 # Note: this linker hardcodes the directories in LIBPATH if there
16562 # are no directories specified by -L.
16563 hardcode_minus_L_GCJ
=yes
16564 if test "$GCC" = yes && test -z "$link_static_flag"; then
16565 # Neither direct hardcoding nor static linking is supported with a
16567 hardcode_direct_GCJ
=unsupported
16572 if test "$host_cpu" = ia64
; then
16573 # On IA64, the linker does run time linking by default, so we don't
16574 # have to do anything special.
16575 aix_use_runtimelinking
=no
16576 exp_sym_flag
='-Bexport'
16579 # If we're using GNU nm, then we don't want the "-C" option.
16580 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16581 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16582 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'
16584 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'
16586 aix_use_runtimelinking
=no
16588 # Test if we are trying to use run time linking or normal
16589 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16590 # need to do runtime linking.
16591 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16592 for ld_flag
in $LDFLAGS; do
16593 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16594 aix_use_runtimelinking
=yes
16600 exp_sym_flag
='-bexport'
16601 no_entry_flag
='-bnoentry'
16604 # When large executables or shared objects are built, AIX ld can
16605 # have problems creating the table of contents. If linking a library
16606 # or program results in "error TOC overflow" add -mminimal-toc to
16607 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16608 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16610 archive_cmds_GCJ
=''
16611 hardcode_direct_GCJ
=yes
16612 hardcode_libdir_separator_GCJ
=':'
16613 link_all_deplibs_GCJ
=yes
16615 if test "$GCC" = yes; then
16616 case $host_os in aix4.
[012]|aix4.
[012].
*)
16617 # We only want to do this on AIX 4.2 and lower, the check
16618 # below for broken collect2 doesn't work under 4.3+
16619 collect2name
=`${CC} -print-prog-name=collect2`
16620 if test -f "$collect2name" && \
16621 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16623 # We have reworked collect2
16624 hardcode_direct_GCJ
=yes
16626 # We have old collect2
16627 hardcode_direct_GCJ
=unsupported
16628 # It fails to find uninstalled libraries when the uninstalled
16629 # path is not listed in the libpath. Setting hardcode_minus_L
16630 # to unsupported forces relinking
16631 hardcode_minus_L_GCJ
=yes
16632 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16633 hardcode_libdir_separator_GCJ
=
16636 shared_flag
='-shared'
16637 if test "$aix_use_runtimelinking" = yes; then
16638 shared_flag
="$shared_flag "'${wl}-G'
16642 if test "$host_cpu" = ia64
; then
16643 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16644 # chokes on -Wl,-G. The following line is correct:
16647 if test "$aix_use_runtimelinking" = yes; then
16648 shared_flag
='${wl}-G'
16650 shared_flag
='${wl}-bM:SRE'
16655 # It seems that -bexpall does not export symbols beginning with
16656 # underscore (_), so it is better to generate a list of symbols to export.
16657 always_export_symbols_GCJ
=yes
16658 if test "$aix_use_runtimelinking" = yes; then
16659 # Warning - without using the other runtime loading flags (-brtl),
16660 # -berok will link without error, but may produce a broken library.
16661 allow_undefined_flag_GCJ
='-berok'
16662 # Determine the default libpath from the value encoded in an empty executable.
16663 cat >conftest.
$ac_ext <<_ACEOF
16666 cat confdefs.h
>>conftest.
$ac_ext
16667 cat >>conftest.
$ac_ext <<_ACEOF
16668 /* end confdefs.h. */
16678 rm -f conftest.
$ac_objext conftest
$ac_exeext
16679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16680 (eval $ac_link) 2>conftest.er1
16682 grep -v '^ *+' conftest.er1
>conftest.err
16684 cat conftest.err
>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } &&
16687 { ac_try
='test -z "$ac_c_werror_flag"
16688 || test ! -s conftest.err'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; } &&
16694 { ac_try
='test -s conftest$ac_exeext'
16695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16696 (eval $ac_try) 2>&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); }; }; then
16701 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16703 # Check for a 64-bit object if we didn't find anything.
16704 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; }
16707 echo "$as_me: failed program was:" >&5
16708 sed 's/^/| /' conftest.
$ac_ext >&5
16711 rm -f conftest.err conftest.
$ac_objext \
16712 conftest
$ac_exeext conftest.
$ac_ext
16713 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16715 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16716 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16718 if test "$host_cpu" = ia64; then
16719 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
16720 allow_undefined_flag_GCJ="-z nodefs"
16721 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
16723 # Determine the default libpath from the value encoded in an empty executable.
16724 cat >conftest.$ac_ext <<_ACEOF
16727 cat confdefs.h >>conftest.$ac_ext
16728 cat >>conftest.$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16739 rm -f conftest.$ac_objext conftest$ac_exeext
16740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16741 (eval $ac_link) 2>conftest.er1
16743 grep -v '^ *+' conftest.er1 >conftest.err
16745 cat conftest.err >&5
16746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16747 (exit $ac_status); } &&
16748 { ac_try='test -z "$ac_c_werror_flag"
16749 || test ! -s conftest.err'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16754 (exit $ac_status); }; } &&
16755 { ac_try='test -s conftest$ac_exeext'
16756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16757 (eval $ac_try) 2>&5
16759 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16760 (exit $ac_status); }; }; then
16762 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16764 # Check for a 64-bit object if we didn't find anything.
16765 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; }
16768 echo "$as_me: failed program was
:" >&5
16769 sed 's/^/| /' conftest.$ac_ext >&5
16772 rm -f conftest.err conftest.$ac_objext \
16773 conftest$ac_exeext conftest.$ac_ext
16774 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16776 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16777 # Warning - without using the other run time loading flags,
16778 # -berok will link without error, but may produce a broken library.
16779 no_undefined_flag_GCJ=' ${wl}-bernotok'
16780 allow_undefined_flag_GCJ=' ${wl}-berok'
16781 # -bexpall does not export symbols beginning with underscore (_)
16782 always_export_symbols_GCJ=yes
16783 # Exported symbols can be pulled into shared objects from archives
16784 whole_archive_flag_spec_GCJ=' '
16785 archive_cmds_need_lc_GCJ=yes
16786 # This is similar to how AIX traditionally builds it's shared libraries.
16787 archive_expsym_cmds_GCJ="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16793 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)'
16794 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16795 hardcode_minus_L_GCJ
=yes
16796 # see comment about different semantics on the GNU ld section
16801 export_dynamic_flag_spec_GCJ
=-rdynamic
16804 cygwin
* | mingw
* | pw32
*)
16805 # When not using gcc, we currently assume that we are using
16806 # Microsoft Visual C++.
16807 # hardcode_libdir_flag_spec is actually meaningless, as there is
16808 # no search path for DLLs.
16809 hardcode_libdir_flag_spec_GCJ
=' '
16810 allow_undefined_flag_GCJ
=unsupported
16811 # Tell ltmain to make .lib files, not .a files.
16813 # Tell ltmain to make .dll files, not .so files.
16815 # FIXME: Setting linknames here is a bad hack.
16816 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16817 # The linker will automatically build a .lib file if we build a DLL.
16818 old_archive_From_new_cmds_GCJ
='true'
16819 # FIXME: Should let the user specify the lib program.
16820 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16821 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16822 enable_shared_with_static_runtimes_GCJ
=yes
16825 darwin
* | rhapsody
*)
16827 rhapsody
* | darwin1.
[012])
16828 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16831 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16832 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16834 case ${MACOSX_DEPLOYMENT_TARGET} in
16836 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16839 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16845 archive_cmds_need_lc_GCJ
=no
16846 hardcode_direct_GCJ
=no
16847 hardcode_automatic_GCJ
=yes
16848 hardcode_shlibpath_var_GCJ
=unsupported
16849 whole_archive_flag_spec_GCJ
=''
16850 link_all_deplibs_GCJ
=yes
16851 if test "$GCC" = yes ; then
16852 output_verbose_link_cmd
='echo'
16853 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16854 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16855 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16856 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}'
16857 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}'
16859 case "$cc_basename" in
16861 output_verbose_link_cmd
='echo'
16862 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16863 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16864 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16865 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}'
16866 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}'
16876 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16877 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16878 hardcode_shlibpath_var_GCJ
=no
16885 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16886 # support. Future versions do this automatically, but an explicit c++rt0.o
16887 # does not break anything, and helps significantly (at the cost of a little
16890 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16891 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16892 hardcode_direct_GCJ
=yes
16893 hardcode_shlibpath_var_GCJ
=no
16896 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16898 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16899 hardcode_direct_GCJ
=yes
16900 hardcode_minus_L_GCJ
=yes
16901 hardcode_shlibpath_var_GCJ
=no
16904 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16905 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16906 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16907 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16908 hardcode_direct_GCJ
=yes
16909 hardcode_shlibpath_var_GCJ
=no
16913 if test "$GCC" = yes; then
16914 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'
16916 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'
16918 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16919 hardcode_libdir_separator_GCJ
=:
16920 hardcode_direct_GCJ
=yes
16922 # hardcode_minus_L: Not really in the search PATH,
16923 # but as the default location of the library.
16924 hardcode_minus_L_GCJ
=yes
16925 export_dynamic_flag_spec_GCJ
='${wl}-E'
16929 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16930 case "$host_cpu" in
16932 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16935 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16939 case "$host_cpu" in
16941 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16944 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16948 if test "$with_gnu_ld" = no
; then
16949 case "$host_cpu" in
16951 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16952 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16953 hardcode_libdir_separator_GCJ
=:
16954 hardcode_direct_GCJ
=no
16955 hardcode_shlibpath_var_GCJ
=no
16958 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16959 hardcode_direct_GCJ
=no
16960 hardcode_shlibpath_var_GCJ
=no
16962 # hardcode_minus_L: Not really in the search PATH,
16963 # but as the default location of the library.
16964 hardcode_minus_L_GCJ
=yes
16967 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16968 hardcode_libdir_separator_GCJ
=:
16969 hardcode_direct_GCJ
=yes
16970 export_dynamic_flag_spec_GCJ
='${wl}-E'
16972 # hardcode_minus_L: Not really in the search PATH,
16973 # but as the default location of the library.
16974 hardcode_minus_L_GCJ
=yes
16980 irix5
* | irix6
* | nonstopux
*)
16981 if test "$GCC" = yes; then
16982 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'
16984 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'
16985 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16987 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16988 hardcode_libdir_separator_GCJ
=:
16989 link_all_deplibs_GCJ
=yes
16993 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16994 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16996 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16998 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16999 hardcode_direct_GCJ
=yes
17000 hardcode_shlibpath_var_GCJ
=no
17004 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17005 hardcode_direct_GCJ
=yes
17006 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17007 hardcode_libdir_separator_GCJ
=:
17008 hardcode_shlibpath_var_GCJ
=no
17012 hardcode_direct_GCJ
=yes
17013 hardcode_shlibpath_var_GCJ
=no
17014 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17015 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17016 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17017 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17018 export_dynamic_flag_spec_GCJ
='${wl}-E'
17021 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17022 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17023 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17026 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17027 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17034 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17035 hardcode_minus_L_GCJ
=yes
17036 allow_undefined_flag_GCJ
=unsupported
17037 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'
17038 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17042 if test "$GCC" = yes; then
17043 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17044 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'
17046 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17047 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'
17049 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17050 hardcode_libdir_separator_GCJ
=:
17053 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17054 if test "$GCC" = yes; then
17055 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17056 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'
17057 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17059 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17060 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'
17061 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~
17062 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
17064 # Both c and cxx compiler support -rpath directly
17065 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17067 hardcode_libdir_separator_GCJ
=:
17071 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17072 hardcode_shlibpath_var_GCJ
=no
17073 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17074 runpath_var
=LD_RUN_PATH
17075 hardcode_runpath_var
=yes
17079 no_undefined_flag_GCJ
=' -z text'
17080 if test "$GCC" = yes; then
17081 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17082 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17083 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17085 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17086 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17087 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17089 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17090 hardcode_shlibpath_var_GCJ
=no
17092 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17093 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17094 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
17096 link_all_deplibs_GCJ
=yes
17100 if test "x$host_vendor" = xsequent
; then
17101 # Use $CC to link under sequent, because it throws in some extra .o
17102 # files that make .init and .fini sections work.
17103 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17105 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17107 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17108 hardcode_direct_GCJ
=yes
17109 hardcode_minus_L_GCJ
=yes
17110 hardcode_shlibpath_var_GCJ
=no
17114 case $host_vendor in
17116 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17117 hardcode_direct_GCJ
=yes # is this really true???
17120 ## LD is ld it makes a PLAMLIB
17121 ## CC just makes a GrossModule.
17122 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17123 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17124 hardcode_direct_GCJ
=no
17127 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17128 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17131 runpath_var
='LD_RUN_PATH'
17132 hardcode_shlibpath_var_GCJ
=no
17136 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17137 hardcode_shlibpath_var_GCJ
=no
17138 export_dynamic_flag_spec_GCJ
='-Bexport'
17142 if test -d /usr
/nec
; then
17143 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17144 hardcode_shlibpath_var_GCJ
=no
17145 runpath_var
=LD_RUN_PATH
17146 hardcode_runpath_var
=yes
17152 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17153 hardcode_direct_GCJ
=yes
17154 hardcode_minus_L_GCJ
=no
17155 hardcode_shlibpath_var_GCJ
=no
17156 hardcode_runpath_var
=yes
17157 runpath_var
=LD_RUN_PATH
17160 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17161 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
17162 if test "$GCC" = yes; then
17163 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17165 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17167 runpath_var
='LD_RUN_PATH'
17168 hardcode_shlibpath_var_GCJ
=no
17172 no_undefined_flag_GCJ
=' -z text'
17173 # $CC -shared without GNU ld will not create a library from C++
17174 # object files and a static libstdc++, better avoid it by now
17175 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17176 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17177 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17178 hardcode_libdir_flag_spec_GCJ
=
17179 hardcode_shlibpath_var_GCJ
=no
17180 runpath_var
='LD_RUN_PATH'
17184 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17185 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17186 hardcode_shlibpath_var_GCJ
=no
17195 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17196 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17197 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17199 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17200 if test "$GCC" = yes; then
17201 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17205 # Do we need to explicitly link libc?
17207 case "x$archive_cmds_need_lc_GCJ" in
17209 # Assume -lc should be added
17210 archive_cmds_need_lc_GCJ
=yes
17212 if test "$enable_shared" = yes && test "$GCC" = yes; then
17213 case $archive_cmds_GCJ in
17215 # FIXME: we may have to deal with multi-command sequences.
17218 # Test whether the compiler implicitly links with -lc since on some
17219 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17220 # to ld, don't add -lc before -lgcc.
17221 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17222 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17224 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17227 (eval $ac_compile) 2>&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } 2>conftest.err
; then
17233 libobjs
=conftest.
$ac_objext
17235 wl
=$lt_prog_compiler_wl_GCJ
17241 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17242 allow_undefined_flag_GCJ
=
17243 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17244 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); }
17249 archive_cmds_need_lc_GCJ
=no
17251 archive_cmds_need_lc_GCJ
=yes
17253 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17255 cat conftest.err
1>&5
17258 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17259 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17266 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17267 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17268 library_names_spec
=
17269 libname_spec
='lib$name'
17273 postuninstall_cmds
=
17277 shlibpath_overrides_runpath
=unknown
17279 dynamic_linker
="$host_os ld.so"
17280 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17281 if test "$GCC" = yes; then
17282 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17283 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17284 # if the path contains ";" then we assume it to be the separator
17285 # otherwise default to the standard path separator (i.e. ":") - it is
17286 # assumed that no part of a normal pathname contains ";" but that should
17287 # okay in the real world where ";" in dirpaths is itself problematic.
17288 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17290 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17293 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17295 need_lib_prefix
=unknown
17296 hardcode_into_libs
=no
17298 # when you set need_version to no, make sure it does not cause -set_version
17299 # flags to be left without arguments
17300 need_version
=unknown
17305 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17306 shlibpath_var
=LIBPATH
17308 # AIX 3 has no versioning support, so we append a major version to the name.
17309 soname_spec
='${libname}${release}${shared_ext}$major'
17316 hardcode_into_libs
=yes
17317 if test "$host_cpu" = ia64
; then
17318 # AIX 5 supports IA64
17319 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17320 shlibpath_var
=LD_LIBRARY_PATH
17322 # With GCC up to 2.95.x, collect2 would create an import file
17323 # for dependence libraries. The import file would start with
17324 # the line `#! .'. This would cause the generated library to
17325 # depend on `.', always an invalid library. This was fixed in
17326 # development snapshots of GCC prior to 3.0.
17328 aix4 | aix4.
[01] | aix4.
[01].
*)
17329 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17331 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17334 can_build_shared
=no
17338 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17339 # soname into executable. Probably we can add versioning support to
17340 # collect2, so additional links can be useful in future.
17341 if test "$aix_use_runtimelinking" = yes; then
17342 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17343 # instead of lib<name>.a to let people know that these are not
17344 # typical AIX shared libraries.
17345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17347 # We preserve .a as extension for shared libraries through AIX4.2
17348 # and later when we are not doing run time linking.
17349 library_names_spec
='${libname}${release}.a $libname.a'
17350 soname_spec
='${libname}${release}${shared_ext}$major'
17352 shlibpath_var
=LIBPATH
17357 library_names_spec
='$libname.ixlibrary $libname.a'
17358 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17359 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'
17363 library_names_spec
='${libname}${shared_ext}'
17364 dynamic_linker
="$host_os ld.so"
17365 shlibpath_var
=LIBRARY_PATH
17371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17372 soname_spec
='${libname}${release}${shared_ext}$major'
17373 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17374 shlibpath_var
=LD_LIBRARY_PATH
17375 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17376 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17377 # the default ld.so.conf also contains /usr/contrib/lib and
17378 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17379 # libtool to hard-code these into programs
17382 cygwin
* | mingw
* | pw32
*)
17383 version_type
=windows
17388 case $GCC,$host_os in
17389 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17390 library_names_spec
='$libname.dll.a'
17391 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17392 postinstall_cmds
='base_file=`basename \${file}`~
17393 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17394 dldir=$destdir/`dirname \$dlpath`~
17395 test -d \$dldir || mkdir -p \$dldir~
17396 $install_prog $dir/$dlname \$dldir/$dlname'
17397 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17398 dlpath=$dir/\$dldll~
17400 shlibpath_overrides_runpath
=yes
17404 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17405 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17406 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17409 # MinGW DLLs use traditional 'lib' prefix
17410 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17411 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17412 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17413 # It is most probably a Windows format PATH printed by
17414 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17415 # path with ; separators, and with drive letters. We can handle the
17416 # drive letters (cygwin fileutils understands them), so leave them,
17417 # especially as we might pass files found there to a mingw objdump,
17418 # which wouldn't understand a cygwinified path. Ahh.
17419 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17421 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17425 # pw32 DLLs use 'pw' prefix rather than 'lib'
17426 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17432 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17435 dynamic_linker
='Win32 ld.exe'
17436 # FIXME: first we should search . and the directory the executable is in
17440 darwin
* | rhapsody
*)
17441 dynamic_linker
="$host_os dyld"
17442 version_type
=darwin
17445 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17446 soname_spec
='${libname}${release}${major}$shared_ext'
17447 shlibpath_overrides_runpath
=yes
17448 shlibpath_var
=DYLD_LIBRARY_PATH
17449 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
17450 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17451 if test "$GCC" = yes; then
17452 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"`
17454 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17456 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17464 soname_spec
='${libname}${release}${shared_ext}$major'
17465 shlibpath_var
=LD_LIBRARY_PATH
17476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17477 soname_spec
='${libname}${release}${shared_ext}$major'
17478 shlibpath_var
=LD_LIBRARY_PATH
17479 shlibpath_overrides_runpath
=no
17480 hardcode_into_libs
=yes
17481 dynamic_linker
='GNU ld.so'
17484 freebsd
* | dragonfly
*)
17485 # DragonFly does not have aout. When/if they implement a new
17486 # versioning mechanism, adjust this.
17487 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17488 version_type
=freebsd-
$objformat
17489 case $version_type in
17491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17496 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17500 shlibpath_var
=LD_LIBRARY_PATH
17503 shlibpath_overrides_runpath
=yes
17505 freebsd3.
[01]* | freebsdelf3.
[01]*)
17506 shlibpath_overrides_runpath
=yes
17507 hardcode_into_libs
=yes
17510 shlibpath_overrides_runpath
=no
17511 hardcode_into_libs
=yes
17520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17521 soname_spec
='${libname}${release}${shared_ext}$major'
17522 shlibpath_var
=LD_LIBRARY_PATH
17523 hardcode_into_libs
=yes
17526 hpux9
* | hpux10
* | hpux11
*)
17527 # Give a soname corresponding to the major version so that dld.sl refuses to
17528 # link against other versions.
17532 case "$host_cpu" in
17535 hardcode_into_libs
=yes
17536 dynamic_linker
="$host_os dld.so"
17537 shlibpath_var
=LD_LIBRARY_PATH
17538 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17540 soname_spec
='${libname}${release}${shared_ext}$major'
17541 if test "X$HPUX_IA64_MODE" = X32
; then
17542 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17544 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17546 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17550 hardcode_into_libs
=yes
17551 dynamic_linker
="$host_os dld.sl"
17552 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17553 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17555 soname_spec
='${libname}${release}${shared_ext}$major'
17556 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17557 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17561 dynamic_linker
="$host_os dld.sl"
17562 shlibpath_var
=SHLIB_PATH
17563 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17565 soname_spec
='${libname}${release}${shared_ext}$major'
17568 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17569 postinstall_cmds
='chmod 555 $lib'
17572 irix5
* | irix6
* | nonstopux
*)
17574 nonstopux
*) version_type
=nonstopux
;;
17576 if test "$lt_cv_prog_gnu_ld" = yes; then
17584 soname_spec
='${libname}${release}${shared_ext}$major'
17585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17587 irix5
* | nonstopux
*)
17588 libsuff
= shlibsuff
=
17591 case $LD in # libtool.m4 will add one of these switches to LD
17592 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17593 libsuff
= shlibsuff
= libmagic
=32-bit;;
17594 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17595 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17596 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17597 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17598 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17602 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17603 shlibpath_overrides_runpath
=no
17604 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17605 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17606 hardcode_into_libs
=yes
17609 # No shared lib support for Linux oldld, aout, or coff.
17610 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17614 # This must be Linux ELF.
17619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17620 soname_spec
='${libname}${release}${shared_ext}$major'
17621 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17622 shlibpath_var
=LD_LIBRARY_PATH
17623 shlibpath_overrides_runpath
=no
17624 # This implies no fast_install, which is unacceptable.
17625 # Some rework will be needed to allow for fast_install
17626 # before this can be enabled.
17627 hardcode_into_libs
=yes
17629 # Append ld.so.conf contents to the search path
17630 if test -f /etc
/ld.so.conf
; then
17631 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17632 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17635 # We used to test for /lib/ld.so.1 and disable shared libraries on
17636 # powerpc, because MkLinux only supported shared libraries with the
17637 # GNU dynamic linker. Since this was broken with cross compilers,
17638 # most powerpc-linux boxes support dynamic linking these days and
17639 # people can always --disable-shared, the test was removed, and we
17640 # assume the GNU/Linux dynamic linker is in use.
17641 dynamic_linker
='GNU/Linux ld.so'
17648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17649 soname_spec
='${libname}${release}${shared_ext}$major'
17650 shlibpath_var
=LD_LIBRARY_PATH
17651 shlibpath_overrides_runpath
=no
17652 hardcode_into_libs
=yes
17653 dynamic_linker
='GNU ld.so'
17660 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17662 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17663 dynamic_linker
='NetBSD (a.out) ld.so'
17665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17666 soname_spec
='${libname}${release}${shared_ext}$major'
17667 dynamic_linker
='NetBSD ld.elf_so'
17669 shlibpath_var
=LD_LIBRARY_PATH
17670 shlibpath_overrides_runpath
=yes
17671 hardcode_into_libs
=yes
17676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17677 shlibpath_var
=LD_LIBRARY_PATH
17678 shlibpath_overrides_runpath
=yes
17685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17686 soname_spec
='${libname}${release}${shared_ext}$major'
17687 shlibpath_var
=LD_LIBRARY_PATH
17688 shlibpath_overrides_runpath
=yes
17695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17696 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17697 shlibpath_var
=LD_LIBRARY_PATH
17698 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17700 openbsd2.
[89] | openbsd2.
[89].
*)
17701 shlibpath_overrides_runpath
=no
17704 shlibpath_overrides_runpath
=yes
17708 shlibpath_overrides_runpath
=yes
17713 libname_spec
='$name'
17716 library_names_spec
='$libname${shared_ext} $libname.a'
17717 dynamic_linker
='OS/2 ld.exe'
17718 shlibpath_var
=LIBPATH
17721 osf3
* | osf4
* | osf5
*)
17725 soname_spec
='${libname}${release}${shared_ext}$major'
17726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17727 shlibpath_var
=LD_LIBRARY_PATH
17728 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17729 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17734 soname_spec
='${libname}${release}${shared_ext}$major'
17735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17736 shlibpath_var
=LD_LIBRARY_PATH
17743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17744 soname_spec
='${libname}${release}${shared_ext}$major'
17745 shlibpath_var
=LD_LIBRARY_PATH
17746 shlibpath_overrides_runpath
=yes
17747 hardcode_into_libs
=yes
17748 # ldd complains unless libraries are executable
17749 postinstall_cmds
='chmod +x $lib'
17754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17755 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17756 shlibpath_var
=LD_LIBRARY_PATH
17757 shlibpath_overrides_runpath
=yes
17758 if test "$with_gnu_ld" = yes; then
17764 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17767 soname_spec
='${libname}${release}${shared_ext}$major'
17768 shlibpath_var
=LD_LIBRARY_PATH
17769 case $host_vendor in
17771 shlibpath_overrides_runpath
=no
17773 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17774 runpath_var
=LD_RUN_PATH
17782 shlibpath_overrides_runpath
=no
17783 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17789 if test -d /usr
/nec
;then
17791 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17792 soname_spec
='$libname${shared_ext}.$major'
17793 shlibpath_var
=LD_LIBRARY_PATH
17799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17800 soname_spec
='${libname}${release}${shared_ext}$major'
17801 shlibpath_var
=LD_LIBRARY_PATH
17808 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17809 echo "${ECHO_T}$dynamic_linker" >&6
17810 test "$dynamic_linker" = no
&& can_build_shared
=no
17812 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17813 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17814 hardcode_action_GCJ
=
17815 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17816 test -n "$runpath_var_GCJ" || \
17817 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17819 # We can hardcode non-existant directories.
17820 if test "$hardcode_direct_GCJ" != no
&&
17821 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17822 # have to relink, otherwise we might link with an installed library
17823 # when we should be linking with a yet-to-be-installed one
17824 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17825 test "$hardcode_minus_L_GCJ" != no
; then
17826 # Linking always hardcodes the temporary library directory.
17827 hardcode_action_GCJ
=relink
17829 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17830 hardcode_action_GCJ
=immediate
17833 # We cannot hardcode anything, or else we can only hardcode existing
17835 hardcode_action_GCJ
=unsupported
17837 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17838 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17840 if test "$hardcode_action_GCJ" = relink
; then
17841 # Fast installation is not supported
17842 enable_fast_install
=no
17843 elif test "$shlibpath_overrides_runpath" = yes ||
17844 test "$enable_shared" = no
; then
17845 # Fast installation is not necessary
17846 enable_fast_install
=needless
17851 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17852 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17853 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17854 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17855 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17856 echo "$as_me:$LINENO: result: yes" >&5
17857 echo "${ECHO_T}yes" >&6
17859 # FIXME - insert some real tests, host_os isn't really good enough
17862 if test -n "$STRIP" ; then
17863 striplib
="$STRIP -x"
17864 echo "$as_me:$LINENO: result: yes" >&5
17865 echo "${ECHO_T}yes" >&6
17867 echo "$as_me:$LINENO: result: no" >&5
17868 echo "${ECHO_T}no" >&6
17872 echo "$as_me:$LINENO: result: no" >&5
17873 echo "${ECHO_T}no" >&6
17878 if test "x$enable_dlopen" != xyes
; then
17879 enable_dlopen
=unknown
17880 enable_dlopen_self
=unknown
17881 enable_dlopen_self_static
=unknown
17888 lt_cv_dlopen
="load_add_on"
17890 lt_cv_dlopen_self
=yes
17894 lt_cv_dlopen
="LoadLibrary"
17899 lt_cv_dlopen
="dlopen"
17904 # if libdl is installed we need to link against it
17905 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17906 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17907 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17910 ac_check_lib_save_LIBS
=$LIBS
17912 cat >conftest.
$ac_ext <<_ACEOF
17915 cat confdefs.h
>>conftest.
$ac_ext
17916 cat >>conftest.
$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17919 /* Override any gcc2 internal prototype to avoid an error. */
17923 /* We use char because int might match the return type of a gcc2
17924 builtin and then its argument prototype would still apply. */
17934 rm -f conftest.
$ac_objext conftest
$ac_exeext
17935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17936 (eval $ac_link) 2>conftest.er1
17938 grep -v '^ *+' conftest.er1
>conftest.err
17940 cat conftest.err
>&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); } &&
17943 { ac_try
='test -z "$ac_c_werror_flag"
17944 || test ! -s conftest.err'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; } &&
17950 { ac_try
='test -s conftest$ac_exeext'
17951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17952 (eval $ac_try) 2>&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); }; }; then
17956 ac_cv_lib_dl_dlopen
=yes
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 ac_cv_lib_dl_dlopen
=no
17963 rm -f conftest.err conftest.
$ac_objext \
17964 conftest
$ac_exeext conftest.
$ac_ext
17965 LIBS
=$ac_check_lib_save_LIBS
17967 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17968 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17969 if test $ac_cv_lib_dl_dlopen = yes; then
17970 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17973 lt_cv_dlopen
="dyld"
17975 lt_cv_dlopen_self
=yes
17982 echo "$as_me:$LINENO: checking for shl_load" >&5
17983 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17984 if test "${ac_cv_func_shl_load+set}" = set; then
17985 echo $ECHO_N "(cached) $ECHO_C" >&6
17987 cat >conftest.
$ac_ext <<_ACEOF
17990 cat confdefs.h
>>conftest.
$ac_ext
17991 cat >>conftest.
$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17995 #define shl_load innocuous_shl_load
17997 /* System header to define __stub macros and hopefully few prototypes,
17998 which can conflict with char shl_load (); below.
17999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18000 <limits.h> exists even on freestanding compilers. */
18003 # include <limits.h>
18005 # include <assert.h>
18010 /* Override any gcc2 internal prototype to avoid an error. */
18015 /* We use char because int might match the return type of a gcc2
18016 builtin and then its argument prototype would still apply. */
18018 /* The GNU C library defines this for functions which it implements
18019 to always fail with ENOSYS. Some functions are actually named
18020 something starting with __ and the normal name is an alias. */
18021 #if defined (__stub_shl_load) || defined (__stub___shl_load)
18024 char (*f) () = shl_load;
18033 return f != shl_load;
18038 rm -f conftest.
$ac_objext conftest
$ac_exeext
18039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18040 (eval $ac_link) 2>conftest.er1
18042 grep -v '^ *+' conftest.er1
>conftest.err
18044 cat conftest.err
>&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } &&
18047 { ac_try
='test -z "$ac_c_werror_flag"
18048 || test ! -s conftest.err'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; } &&
18054 { ac_try
='test -s conftest$ac_exeext'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; }; then
18060 ac_cv_func_shl_load
=yes
18062 echo "$as_me: failed program was:" >&5
18063 sed 's/^/| /' conftest.
$ac_ext >&5
18065 ac_cv_func_shl_load
=no
18067 rm -f conftest.err conftest.
$ac_objext \
18068 conftest
$ac_exeext conftest.
$ac_ext
18070 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18071 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18072 if test $ac_cv_func_shl_load = yes; then
18073 lt_cv_dlopen
="shl_load"
18075 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18076 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18077 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18078 echo $ECHO_N "(cached) $ECHO_C" >&6
18080 ac_check_lib_save_LIBS
=$LIBS
18082 cat >conftest.
$ac_ext <<_ACEOF
18085 cat confdefs.h
>>conftest.
$ac_ext
18086 cat >>conftest.
$ac_ext <<_ACEOF
18087 /* end confdefs.h. */
18089 /* Override any gcc2 internal prototype to avoid an error. */
18093 /* We use char because int might match the return type of a gcc2
18094 builtin and then its argument prototype would still apply. */
18104 rm -f conftest.
$ac_objext conftest
$ac_exeext
18105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18106 (eval $ac_link) 2>conftest.er1
18108 grep -v '^ *+' conftest.er1
>conftest.err
18110 cat conftest.err
>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); } &&
18113 { ac_try
='test -z "$ac_c_werror_flag"
18114 || test ! -s conftest.err'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; } &&
18120 { ac_try
='test -s conftest$ac_exeext'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; }; then
18126 ac_cv_lib_dld_shl_load
=yes
18128 echo "$as_me: failed program was:" >&5
18129 sed 's/^/| /' conftest.
$ac_ext >&5
18131 ac_cv_lib_dld_shl_load
=no
18133 rm -f conftest.err conftest.
$ac_objext \
18134 conftest
$ac_exeext conftest.
$ac_ext
18135 LIBS
=$ac_check_lib_save_LIBS
18137 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18138 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18139 if test $ac_cv_lib_dld_shl_load = yes; then
18140 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
18142 echo "$as_me:$LINENO: checking for dlopen" >&5
18143 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18144 if test "${ac_cv_func_dlopen+set}" = set; then
18145 echo $ECHO_N "(cached) $ECHO_C" >&6
18147 cat >conftest.
$ac_ext <<_ACEOF
18150 cat confdefs.h
>>conftest.
$ac_ext
18151 cat >>conftest.
$ac_ext <<_ACEOF
18152 /* end confdefs.h. */
18153 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18155 #define dlopen innocuous_dlopen
18157 /* System header to define __stub macros and hopefully few prototypes,
18158 which can conflict with char dlopen (); below.
18159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18160 <limits.h> exists even on freestanding compilers. */
18163 # include <limits.h>
18165 # include <assert.h>
18170 /* Override any gcc2 internal prototype to avoid an error. */
18175 /* We use char because int might match the return type of a gcc2
18176 builtin and then its argument prototype would still apply. */
18178 /* The GNU C library defines this for functions which it implements
18179 to always fail with ENOSYS. Some functions are actually named
18180 something starting with __ and the normal name is an alias. */
18181 #if defined (__stub_dlopen) || defined (__stub___dlopen)
18184 char (*f) () = dlopen;
18193 return f != dlopen;
18198 rm -f conftest.
$ac_objext conftest
$ac_exeext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18200 (eval $ac_link) 2>conftest.er1
18202 grep -v '^ *+' conftest.er1
>conftest.err
18204 cat conftest.err
>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } &&
18207 { ac_try
='test -z "$ac_c_werror_flag"
18208 || test ! -s conftest.err'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; } &&
18214 { ac_try
='test -s conftest$ac_exeext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 ac_cv_func_dlopen
=yes
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.
$ac_ext >&5
18225 ac_cv_func_dlopen
=no
18227 rm -f conftest.err conftest.
$ac_objext \
18228 conftest
$ac_exeext conftest.
$ac_ext
18230 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18231 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18232 if test $ac_cv_func_dlopen = yes; then
18233 lt_cv_dlopen
="dlopen"
18235 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18236 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18237 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18238 echo $ECHO_N "(cached) $ECHO_C" >&6
18240 ac_check_lib_save_LIBS
=$LIBS
18242 cat >conftest.
$ac_ext <<_ACEOF
18245 cat confdefs.h
>>conftest.
$ac_ext
18246 cat >>conftest.
$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18249 /* Override any gcc2 internal prototype to avoid an error. */
18253 /* We use char because int might match the return type of a gcc2
18254 builtin and then its argument prototype would still apply. */
18264 rm -f conftest.
$ac_objext conftest
$ac_exeext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18266 (eval $ac_link) 2>conftest.er1
18268 grep -v '^ *+' conftest.er1
>conftest.err
18270 cat conftest.err
>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); } &&
18273 { ac_try
='test -z "$ac_c_werror_flag"
18274 || test ! -s conftest.err'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; } &&
18280 { ac_try
='test -s conftest$ac_exeext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18286 ac_cv_lib_dl_dlopen
=yes
18288 echo "$as_me: failed program was:" >&5
18289 sed 's/^/| /' conftest.
$ac_ext >&5
18291 ac_cv_lib_dl_dlopen
=no
18293 rm -f conftest.err conftest.
$ac_objext \
18294 conftest
$ac_exeext conftest.
$ac_ext
18295 LIBS
=$ac_check_lib_save_LIBS
18297 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18298 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18299 if test $ac_cv_lib_dl_dlopen = yes; then
18300 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18302 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18303 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18304 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18305 echo $ECHO_N "(cached) $ECHO_C" >&6
18307 ac_check_lib_save_LIBS
=$LIBS
18308 LIBS
="-lsvld $LIBS"
18309 cat >conftest.
$ac_ext <<_ACEOF
18312 cat confdefs.h
>>conftest.
$ac_ext
18313 cat >>conftest.
$ac_ext <<_ACEOF
18314 /* end confdefs.h. */
18316 /* Override any gcc2 internal prototype to avoid an error. */
18320 /* We use char because int might match the return type of a gcc2
18321 builtin and then its argument prototype would still apply. */
18331 rm -f conftest.
$ac_objext conftest
$ac_exeext
18332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18333 (eval $ac_link) 2>conftest.er1
18335 grep -v '^ *+' conftest.er1
>conftest.err
18337 cat conftest.err
>&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); } &&
18340 { ac_try
='test -z "$ac_c_werror_flag"
18341 || test ! -s conftest.err'
18342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18343 (eval $ac_try) 2>&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); }; } &&
18347 { ac_try
='test -s conftest$ac_exeext'
18348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349 (eval $ac_try) 2>&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); }; }; then
18353 ac_cv_lib_svld_dlopen
=yes
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.
$ac_ext >&5
18358 ac_cv_lib_svld_dlopen
=no
18360 rm -f conftest.err conftest.
$ac_objext \
18361 conftest
$ac_exeext conftest.
$ac_ext
18362 LIBS
=$ac_check_lib_save_LIBS
18364 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18365 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18366 if test $ac_cv_lib_svld_dlopen = yes; then
18367 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18369 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18370 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18371 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18372 echo $ECHO_N "(cached) $ECHO_C" >&6
18374 ac_check_lib_save_LIBS
=$LIBS
18376 cat >conftest.
$ac_ext <<_ACEOF
18379 cat confdefs.h
>>conftest.
$ac_ext
18380 cat >>conftest.
$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18383 /* Override any gcc2 internal prototype to avoid an error. */
18387 /* We use char because int might match the return type of a gcc2
18388 builtin and then its argument prototype would still apply. */
18398 rm -f conftest.
$ac_objext conftest
$ac_exeext
18399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18400 (eval $ac_link) 2>conftest.er1
18402 grep -v '^ *+' conftest.er1
>conftest.err
18404 cat conftest.err
>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } &&
18407 { ac_try
='test -z "$ac_c_werror_flag"
18408 || test ! -s conftest.err'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; } &&
18414 { ac_try
='test -s conftest$ac_exeext'
18415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416 (eval $ac_try) 2>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); }; }; then
18420 ac_cv_lib_dld_dld_link
=yes
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.
$ac_ext >&5
18425 ac_cv_lib_dld_dld_link
=no
18427 rm -f conftest.err conftest.
$ac_objext \
18428 conftest
$ac_exeext conftest.
$ac_ext
18429 LIBS
=$ac_check_lib_save_LIBS
18431 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18432 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18433 if test $ac_cv_lib_dld_dld_link = yes; then
18434 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
18455 if test "x$lt_cv_dlopen" != xno
; then
18461 case $lt_cv_dlopen in
18463 save_CPPFLAGS
="$CPPFLAGS"
18464 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
18466 save_LDFLAGS
="$LDFLAGS"
18467 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
18470 LIBS
="$lt_cv_dlopen_libs $LIBS"
18472 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18473 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18474 if test "${lt_cv_dlopen_self+set}" = set; then
18475 echo $ECHO_N "(cached) $ECHO_C" >&6
18477 if test "$cross_compiling" = yes; then :
18478 lt_cv_dlopen_self
=cross
18480 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18481 lt_status
=$lt_dlunknown
18482 cat > conftest.
$ac_ext <<EOF
18483 #line 18483 "configure"
18484 #include "confdefs.h"
18493 # define LT_DLGLOBAL RTLD_GLOBAL
18496 # define LT_DLGLOBAL DL_GLOBAL
18498 # define LT_DLGLOBAL 0
18502 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18503 find out it does not work in some platform. */
18504 #ifndef LT_DLLAZY_OR_NOW
18506 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18509 # define LT_DLLAZY_OR_NOW DL_LAZY
18512 # define LT_DLLAZY_OR_NOW RTLD_NOW
18515 # define LT_DLLAZY_OR_NOW DL_NOW
18517 # define LT_DLLAZY_OR_NOW 0
18525 extern "C" void exit (int);
18528 void fnord() { int i=42;}
18531 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18532 int status = $lt_dlunknown;
18536 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18537 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18538 /* dlclose (self); */
18544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18545 (eval $ac_link) 2>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18549 (.
/conftest
; exit; ) 2>/dev
/null
18551 case x
$lt_status in
18552 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18553 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18554 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18557 # compilation failed
18558 lt_cv_dlopen_self
=no
18565 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18566 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18568 if test "x$lt_cv_dlopen_self" = xyes
; then
18569 LDFLAGS
="$LDFLAGS $link_static_flag"
18570 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18571 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18572 if test "${lt_cv_dlopen_self_static+set}" = set; then
18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 if test "$cross_compiling" = yes; then :
18576 lt_cv_dlopen_self_static
=cross
18578 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18579 lt_status
=$lt_dlunknown
18580 cat > conftest.
$ac_ext <<EOF
18581 #line 18581 "configure"
18582 #include "confdefs.h"
18591 # define LT_DLGLOBAL RTLD_GLOBAL
18594 # define LT_DLGLOBAL DL_GLOBAL
18596 # define LT_DLGLOBAL 0
18600 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18601 find out it does not work in some platform. */
18602 #ifndef LT_DLLAZY_OR_NOW
18604 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18607 # define LT_DLLAZY_OR_NOW DL_LAZY
18610 # define LT_DLLAZY_OR_NOW RTLD_NOW
18613 # define LT_DLLAZY_OR_NOW DL_NOW
18615 # define LT_DLLAZY_OR_NOW 0
18623 extern "C" void exit (int);
18626 void fnord() { int i=42;}
18629 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18630 int status = $lt_dlunknown;
18634 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18635 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18636 /* dlclose (self); */
18642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18643 (eval $ac_link) 2>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18647 (.
/conftest
; exit; ) 2>/dev
/null
18649 case x
$lt_status in
18650 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18651 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18652 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18655 # compilation failed
18656 lt_cv_dlopen_self_static
=no
18663 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18664 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18667 CPPFLAGS
="$save_CPPFLAGS"
18668 LDFLAGS
="$save_LDFLAGS"
18673 case $lt_cv_dlopen_self in
18674 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18675 *) enable_dlopen_self
=unknown
;;
18678 case $lt_cv_dlopen_self_static in
18679 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18680 *) enable_dlopen_self_static
=unknown
;;
18685 # The else clause should only fire when bootstrapping the
18686 # libtool distribution, otherwise you forgot to ship ltmain.sh
18687 # with your package, and you will get complaints that there are
18688 # no rules to generate ltmain.sh.
18689 if test -f "$ltmain"; then
18690 # See if we are running on zsh, and set the options which allow our commands through
18691 # without removal of \ escapes.
18692 if test -n "${ZSH_VERSION+set}" ; then
18693 setopt NO_GLOB_SUBST
18695 # Now quote all the things that may contain metacharacters while being
18696 # careful not to overquote the AC_SUBSTed values. We take copies of the
18697 # variables and quote the copies for generation of the libtool script.
18698 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18700 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18701 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18702 deplibs_check_method reload_flag reload_cmds need_locks \
18703 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18704 lt_cv_sys_global_symbol_to_c_name_address \
18705 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18706 old_postinstall_cmds old_postuninstall_cmds \
18710 lt_prog_compiler_wl_GCJ \
18711 lt_prog_compiler_pic_GCJ \
18712 lt_prog_compiler_static_GCJ \
18713 lt_prog_compiler_no_builtin_flag_GCJ \
18714 export_dynamic_flag_spec_GCJ \
18715 thread_safe_flag_spec_GCJ \
18716 whole_archive_flag_spec_GCJ \
18717 enable_shared_with_static_runtimes_GCJ \
18718 old_archive_cmds_GCJ \
18719 old_archive_from_new_cmds_GCJ \
18720 predep_objects_GCJ \
18721 postdep_objects_GCJ \
18724 compiler_lib_search_path_GCJ \
18726 archive_expsym_cmds_GCJ \
18727 postinstall_cmds_GCJ \
18728 postuninstall_cmds_GCJ \
18729 old_archive_from_expsyms_cmds_GCJ \
18730 allow_undefined_flag_GCJ \
18731 no_undefined_flag_GCJ \
18732 export_symbols_cmds_GCJ \
18733 hardcode_libdir_flag_spec_GCJ \
18734 hardcode_libdir_flag_spec_ld_GCJ \
18735 hardcode_libdir_separator_GCJ \
18736 hardcode_automatic_GCJ \
18738 module_expsym_cmds_GCJ \
18739 lt_cv_prog_compiler_c_o_GCJ \
18740 exclude_expsyms_GCJ \
18741 include_expsyms_GCJ
; do
18744 old_archive_cmds_GCJ | \
18745 old_archive_from_new_cmds_GCJ | \
18746 archive_cmds_GCJ | \
18747 archive_expsym_cmds_GCJ | \
18748 module_cmds_GCJ | \
18749 module_expsym_cmds_GCJ | \
18750 old_archive_from_expsyms_cmds_GCJ | \
18751 export_symbols_cmds_GCJ | \
18752 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18753 postinstall_cmds | postuninstall_cmds | \
18754 old_postinstall_cmds | old_postuninstall_cmds | \
18755 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18756 # Double-quote double-evaled strings.
18757 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18760 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18766 *'\$0 --fallback-echo"')
18767 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18773 cat <<__EOF__ >> "$cfgfile"
18774 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18776 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18778 # Shell to use when invoking shell scripts.
18781 # Whether or not to build shared libraries.
18782 build_libtool_libs=$enable_shared
18784 # Whether or not to build static libraries.
18785 build_old_libs=$enable_static
18787 # Whether or not to add -lc for building shared libraries.
18788 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18790 # Whether or not to disallow shared libs when runtime libs are static
18791 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18793 # Whether or not to optimize for fast installation.
18794 fast_install=$enable_fast_install
18797 host_alias=$host_alias
18801 # The build system.
18802 build_alias=$build_alias
18806 # An echo program that does not interpret backslashes.
18811 AR_FLAGS=$lt_AR_FLAGS
18816 # A language-specific compiler.
18817 CC=$lt_compiler_GCJ
18819 # Is the compiler the GNU C compiler?
18825 # The linker used to build libraries.
18828 # Whether we need hard or soft links.
18831 # A BSD-compatible nm program.
18834 # A symbol stripping program
18837 # Used to examine libraries when file_magic_cmd begins "file"
18838 MAGIC_CMD=$MAGIC_CMD
18840 # Used on cygwin: DLL creation program.
18843 # Used on cygwin: object dumper.
18846 # Used on cygwin: assembler.
18849 # The name of the directory that contains temporary libtool files.
18852 # How to create reloadable object files.
18853 reload_flag=$lt_reload_flag
18854 reload_cmds=$lt_reload_cmds
18856 # How to pass a linker flag through the compiler.
18857 wl=$lt_lt_prog_compiler_wl_GCJ
18859 # Object file suffix (normally "o").
18860 objext="$ac_objext"
18862 # Old archive suffix (normally "a").
18865 # Shared library suffix (normally ".so").
18866 shrext_cmds='$shrext_cmds'
18868 # Executable file suffix (normally "").
18871 # Additional compiler flags for building library objects.
18872 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18875 # What is the maximum length of a command?
18876 max_cmd_len=$lt_cv_sys_max_cmd_len
18878 # Does compiler simultaneously support -c and -o options?
18879 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18881 # Must we lock files when doing compilation ?
18882 need_locks=$lt_need_locks
18884 # Do we need the lib prefix for modules?
18885 need_lib_prefix=$need_lib_prefix
18887 # Do we need a version for libraries?
18888 need_version=$need_version
18890 # Whether dlopen is supported.
18891 dlopen_support=$enable_dlopen
18893 # Whether dlopen of programs is supported.
18894 dlopen_self=$enable_dlopen_self
18896 # Whether dlopen of statically linked programs is supported.
18897 dlopen_self_static=$enable_dlopen_self_static
18899 # Compiler flag to prevent dynamic linking.
18900 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18902 # Compiler flag to turn off builtin functions.
18903 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18905 # Compiler flag to allow reflexive dlopens.
18906 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18908 # Compiler flag to generate shared objects directly from archives.
18909 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18911 # Compiler flag to generate thread-safe objects.
18912 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18914 # Library versioning type.
18915 version_type=$version_type
18917 # Format of library name prefix.
18918 libname_spec=$lt_libname_spec
18920 # List of archive names. First name is the real one, the rest are links.
18921 # The last name is the one that the linker finds with -lNAME.
18922 library_names_spec=$lt_library_names_spec
18924 # The coded name of the library, if different from the real name.
18925 soname_spec=$lt_soname_spec
18927 # Commands used to build and install an old-style archive.
18929 old_archive_cmds=$lt_old_archive_cmds_GCJ
18930 old_postinstall_cmds=$lt_old_postinstall_cmds
18931 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18933 # Create an old-style archive from a shared archive.
18934 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18936 # Create a temporary old-style archive to link instead of a shared archive.
18937 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18939 # Commands used to build and install a shared archive.
18940 archive_cmds=$lt_archive_cmds_GCJ
18941 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18942 postinstall_cmds=$lt_postinstall_cmds
18943 postuninstall_cmds=$lt_postuninstall_cmds
18945 # Commands used to build a loadable module (assumed same as above if empty)
18946 module_cmds=$lt_module_cmds_GCJ
18947 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18949 # Commands to strip libraries.
18950 old_striplib=$lt_old_striplib
18951 striplib=$lt_striplib
18953 # Dependencies to place before the objects being linked to create a
18955 predep_objects=$lt_predep_objects_GCJ
18957 # Dependencies to place after the objects being linked to create a
18959 postdep_objects=$lt_postdep_objects_GCJ
18961 # Dependencies to place before the objects being linked to create a
18963 predeps=$lt_predeps_GCJ
18965 # Dependencies to place after the objects being linked to create a
18967 postdeps=$lt_postdeps_GCJ
18969 # The library search path used internally by the compiler when linking
18970 # a shared library.
18971 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18973 # Method to check whether dependent libraries are shared objects.
18974 deplibs_check_method=$lt_deplibs_check_method
18976 # Command to use when deplibs_check_method == file_magic.
18977 file_magic_cmd=$lt_file_magic_cmd
18979 # Flag that allows shared libraries with undefined symbols to be built.
18980 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18982 # Flag that forces no undefined symbols.
18983 no_undefined_flag=$lt_no_undefined_flag_GCJ
18985 # Commands used to finish a libtool library installation in a directory.
18986 finish_cmds=$lt_finish_cmds
18988 # Same as above, but a single script fragment to be evaled but not shown.
18989 finish_eval=$lt_finish_eval
18991 # Take the output of nm and produce a listing of raw symbols and C names.
18992 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18994 # Transform the output of nm in a proper C declaration
18995 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18997 # Transform the output of nm in a C name address pair
18998 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19000 # This is the shared library runtime path variable.
19001 runpath_var=$runpath_var
19003 # This is the shared library path variable.
19004 shlibpath_var=$shlibpath_var
19006 # Is shlibpath searched before the hard-coded library search path?
19007 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19009 # How to hardcode a shared library path into an executable.
19010 hardcode_action=$hardcode_action_GCJ
19012 # Whether we should hardcode library paths into libraries.
19013 hardcode_into_libs=$hardcode_into_libs
19015 # Flag to hardcode \$libdir into a binary during linking.
19016 # This must work even if \$libdir does not exist.
19017 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19019 # If ld is used when linking, flag to hardcode \$libdir into
19020 # a binary during linking. This must work even if \$libdir does
19022 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19024 # Whether we need a single -rpath flag with a separated argument.
19025 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19027 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19028 # resulting binary.
19029 hardcode_direct=$hardcode_direct_GCJ
19031 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19032 # resulting binary.
19033 hardcode_minus_L=$hardcode_minus_L_GCJ
19035 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19036 # the resulting binary.
19037 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19039 # Set to yes if building a shared library automatically hardcodes DIR into the library
19040 # and all subsequent libraries and executables linked against it.
19041 hardcode_automatic=$hardcode_automatic_GCJ
19043 # Variables whose values should be saved in libtool wrapper scripts and
19044 # restored at relink time.
19045 variables_saved_for_relink="$variables_saved_for_relink"
19047 # Whether libtool must link a program against all its dependency libraries.
19048 link_all_deplibs=$link_all_deplibs_GCJ
19050 # Compile-time system search path for libraries
19051 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19053 # Run-time system search path for libraries
19054 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19056 # Fix the shell variable \$srcfile for the compiler.
19057 fix_srcfile_path="$fix_srcfile_path_GCJ"
19059 # Set to yes if exported symbols are required.
19060 always_export_symbols=$always_export_symbols_GCJ
19062 # The commands to list exported symbols.
19063 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19065 # The commands to extract the exported symbol list from a shared archive.
19066 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19068 # Symbols that should not be listed in the preloaded symbols.
19069 exclude_expsyms=$lt_exclude_expsyms_GCJ
19071 # Symbols that must always be exported.
19072 include_expsyms=$lt_include_expsyms_GCJ
19074 # ### END LIBTOOL TAG CONFIG: $tagname
19080 # If there is no Makefile yet, we rely on a make rule to execute
19081 # `config.status --recheck' to rerun these tests and create the
19082 # libtool script then.
19083 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19084 if test -f "$ltmain_in"; then
19085 test -f Makefile
&& make "$ltmain"
19091 ac_cpp
='$CPP $CPPFLAGS'
19092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19107 # Source file extension for RC test sources.
19110 # Object file extension for compiled RC test sources.
19114 # Code to be used in simple compile tests
19115 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19117 # Code to be used in simple link tests
19118 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19120 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19122 # If no C compiler was specified, use CC.
19125 # Allow CC to be a program name with arguments.
19129 # Allow CC to be a program name with arguments.
19134 lt_cv_prog_compiler_c_o_RC
=yes
19136 # The else clause should only fire when bootstrapping the
19137 # libtool distribution, otherwise you forgot to ship ltmain.sh
19138 # with your package, and you will get complaints that there are
19139 # no rules to generate ltmain.sh.
19140 if test -f "$ltmain"; then
19141 # See if we are running on zsh, and set the options which allow our commands through
19142 # without removal of \ escapes.
19143 if test -n "${ZSH_VERSION+set}" ; then
19144 setopt NO_GLOB_SUBST
19146 # Now quote all the things that may contain metacharacters while being
19147 # careful not to overquote the AC_SUBSTed values. We take copies of the
19148 # variables and quote the copies for generation of the libtool script.
19149 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19151 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19152 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19153 deplibs_check_method reload_flag reload_cmds need_locks \
19154 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19155 lt_cv_sys_global_symbol_to_c_name_address \
19156 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19157 old_postinstall_cmds old_postuninstall_cmds \
19161 lt_prog_compiler_wl_RC \
19162 lt_prog_compiler_pic_RC \
19163 lt_prog_compiler_static_RC \
19164 lt_prog_compiler_no_builtin_flag_RC \
19165 export_dynamic_flag_spec_RC \
19166 thread_safe_flag_spec_RC \
19167 whole_archive_flag_spec_RC \
19168 enable_shared_with_static_runtimes_RC \
19169 old_archive_cmds_RC \
19170 old_archive_from_new_cmds_RC \
19171 predep_objects_RC \
19172 postdep_objects_RC \
19175 compiler_lib_search_path_RC \
19177 archive_expsym_cmds_RC \
19178 postinstall_cmds_RC \
19179 postuninstall_cmds_RC \
19180 old_archive_from_expsyms_cmds_RC \
19181 allow_undefined_flag_RC \
19182 no_undefined_flag_RC \
19183 export_symbols_cmds_RC \
19184 hardcode_libdir_flag_spec_RC \
19185 hardcode_libdir_flag_spec_ld_RC \
19186 hardcode_libdir_separator_RC \
19187 hardcode_automatic_RC \
19189 module_expsym_cmds_RC \
19190 lt_cv_prog_compiler_c_o_RC \
19191 exclude_expsyms_RC \
19192 include_expsyms_RC
; do
19195 old_archive_cmds_RC | \
19196 old_archive_from_new_cmds_RC | \
19197 archive_cmds_RC | \
19198 archive_expsym_cmds_RC | \
19200 module_expsym_cmds_RC | \
19201 old_archive_from_expsyms_cmds_RC | \
19202 export_symbols_cmds_RC | \
19203 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19204 postinstall_cmds | postuninstall_cmds | \
19205 old_postinstall_cmds | old_postuninstall_cmds | \
19206 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19207 # Double-quote double-evaled strings.
19208 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19211 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19217 *'\$0 --fallback-echo"')
19218 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19224 cat <<__EOF__ >> "$cfgfile"
19225 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19227 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19229 # Shell to use when invoking shell scripts.
19232 # Whether or not to build shared libraries.
19233 build_libtool_libs=$enable_shared
19235 # Whether or not to build static libraries.
19236 build_old_libs=$enable_static
19238 # Whether or not to add -lc for building shared libraries.
19239 build_libtool_need_lc=$archive_cmds_need_lc_RC
19241 # Whether or not to disallow shared libs when runtime libs are static
19242 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19244 # Whether or not to optimize for fast installation.
19245 fast_install=$enable_fast_install
19248 host_alias=$host_alias
19252 # The build system.
19253 build_alias=$build_alias
19257 # An echo program that does not interpret backslashes.
19262 AR_FLAGS=$lt_AR_FLAGS
19267 # A language-specific compiler.
19270 # Is the compiler the GNU C compiler?
19276 # The linker used to build libraries.
19279 # Whether we need hard or soft links.
19282 # A BSD-compatible nm program.
19285 # A symbol stripping program
19288 # Used to examine libraries when file_magic_cmd begins "file"
19289 MAGIC_CMD=$MAGIC_CMD
19291 # Used on cygwin: DLL creation program.
19294 # Used on cygwin: object dumper.
19297 # Used on cygwin: assembler.
19300 # The name of the directory that contains temporary libtool files.
19303 # How to create reloadable object files.
19304 reload_flag=$lt_reload_flag
19305 reload_cmds=$lt_reload_cmds
19307 # How to pass a linker flag through the compiler.
19308 wl=$lt_lt_prog_compiler_wl_RC
19310 # Object file suffix (normally "o").
19311 objext="$ac_objext"
19313 # Old archive suffix (normally "a").
19316 # Shared library suffix (normally ".so").
19317 shrext_cmds='$shrext_cmds'
19319 # Executable file suffix (normally "").
19322 # Additional compiler flags for building library objects.
19323 pic_flag=$lt_lt_prog_compiler_pic_RC
19326 # What is the maximum length of a command?
19327 max_cmd_len=$lt_cv_sys_max_cmd_len
19329 # Does compiler simultaneously support -c and -o options?
19330 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19332 # Must we lock files when doing compilation ?
19333 need_locks=$lt_need_locks
19335 # Do we need the lib prefix for modules?
19336 need_lib_prefix=$need_lib_prefix
19338 # Do we need a version for libraries?
19339 need_version=$need_version
19341 # Whether dlopen is supported.
19342 dlopen_support=$enable_dlopen
19344 # Whether dlopen of programs is supported.
19345 dlopen_self=$enable_dlopen_self
19347 # Whether dlopen of statically linked programs is supported.
19348 dlopen_self_static=$enable_dlopen_self_static
19350 # Compiler flag to prevent dynamic linking.
19351 link_static_flag=$lt_lt_prog_compiler_static_RC
19353 # Compiler flag to turn off builtin functions.
19354 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19356 # Compiler flag to allow reflexive dlopens.
19357 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19359 # Compiler flag to generate shared objects directly from archives.
19360 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19362 # Compiler flag to generate thread-safe objects.
19363 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19365 # Library versioning type.
19366 version_type=$version_type
19368 # Format of library name prefix.
19369 libname_spec=$lt_libname_spec
19371 # List of archive names. First name is the real one, the rest are links.
19372 # The last name is the one that the linker finds with -lNAME.
19373 library_names_spec=$lt_library_names_spec
19375 # The coded name of the library, if different from the real name.
19376 soname_spec=$lt_soname_spec
19378 # Commands used to build and install an old-style archive.
19380 old_archive_cmds=$lt_old_archive_cmds_RC
19381 old_postinstall_cmds=$lt_old_postinstall_cmds
19382 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19384 # Create an old-style archive from a shared archive.
19385 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19387 # Create a temporary old-style archive to link instead of a shared archive.
19388 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19390 # Commands used to build and install a shared archive.
19391 archive_cmds=$lt_archive_cmds_RC
19392 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19393 postinstall_cmds=$lt_postinstall_cmds
19394 postuninstall_cmds=$lt_postuninstall_cmds
19396 # Commands used to build a loadable module (assumed same as above if empty)
19397 module_cmds=$lt_module_cmds_RC
19398 module_expsym_cmds=$lt_module_expsym_cmds_RC
19400 # Commands to strip libraries.
19401 old_striplib=$lt_old_striplib
19402 striplib=$lt_striplib
19404 # Dependencies to place before the objects being linked to create a
19406 predep_objects=$lt_predep_objects_RC
19408 # Dependencies to place after the objects being linked to create a
19410 postdep_objects=$lt_postdep_objects_RC
19412 # Dependencies to place before the objects being linked to create a
19414 predeps=$lt_predeps_RC
19416 # Dependencies to place after the objects being linked to create a
19418 postdeps=$lt_postdeps_RC
19420 # The library search path used internally by the compiler when linking
19421 # a shared library.
19422 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19424 # Method to check whether dependent libraries are shared objects.
19425 deplibs_check_method=$lt_deplibs_check_method
19427 # Command to use when deplibs_check_method == file_magic.
19428 file_magic_cmd=$lt_file_magic_cmd
19430 # Flag that allows shared libraries with undefined symbols to be built.
19431 allow_undefined_flag=$lt_allow_undefined_flag_RC
19433 # Flag that forces no undefined symbols.
19434 no_undefined_flag=$lt_no_undefined_flag_RC
19436 # Commands used to finish a libtool library installation in a directory.
19437 finish_cmds=$lt_finish_cmds
19439 # Same as above, but a single script fragment to be evaled but not shown.
19440 finish_eval=$lt_finish_eval
19442 # Take the output of nm and produce a listing of raw symbols and C names.
19443 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19445 # Transform the output of nm in a proper C declaration
19446 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19448 # Transform the output of nm in a C name address pair
19449 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19451 # This is the shared library runtime path variable.
19452 runpath_var=$runpath_var
19454 # This is the shared library path variable.
19455 shlibpath_var=$shlibpath_var
19457 # Is shlibpath searched before the hard-coded library search path?
19458 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19460 # How to hardcode a shared library path into an executable.
19461 hardcode_action=$hardcode_action_RC
19463 # Whether we should hardcode library paths into libraries.
19464 hardcode_into_libs=$hardcode_into_libs
19466 # Flag to hardcode \$libdir into a binary during linking.
19467 # This must work even if \$libdir does not exist.
19468 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19470 # If ld is used when linking, flag to hardcode \$libdir into
19471 # a binary during linking. This must work even if \$libdir does
19473 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19475 # Whether we need a single -rpath flag with a separated argument.
19476 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19478 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19479 # resulting binary.
19480 hardcode_direct=$hardcode_direct_RC
19482 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19483 # resulting binary.
19484 hardcode_minus_L=$hardcode_minus_L_RC
19486 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19487 # the resulting binary.
19488 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19490 # Set to yes if building a shared library automatically hardcodes DIR into the library
19491 # and all subsequent libraries and executables linked against it.
19492 hardcode_automatic=$hardcode_automatic_RC
19494 # Variables whose values should be saved in libtool wrapper scripts and
19495 # restored at relink time.
19496 variables_saved_for_relink="$variables_saved_for_relink"
19498 # Whether libtool must link a program against all its dependency libraries.
19499 link_all_deplibs=$link_all_deplibs_RC
19501 # Compile-time system search path for libraries
19502 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19504 # Run-time system search path for libraries
19505 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19507 # Fix the shell variable \$srcfile for the compiler.
19508 fix_srcfile_path="$fix_srcfile_path_RC"
19510 # Set to yes if exported symbols are required.
19511 always_export_symbols=$always_export_symbols_RC
19513 # The commands to list exported symbols.
19514 export_symbols_cmds=$lt_export_symbols_cmds_RC
19516 # The commands to extract the exported symbol list from a shared archive.
19517 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19519 # Symbols that should not be listed in the preloaded symbols.
19520 exclude_expsyms=$lt_exclude_expsyms_RC
19522 # Symbols that must always be exported.
19523 include_expsyms=$lt_include_expsyms_RC
19525 # ### END LIBTOOL TAG CONFIG: $tagname
19531 # If there is no Makefile yet, we rely on a make rule to execute
19532 # `config.status --recheck' to rerun these tests and create the
19533 # libtool script then.
19534 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19535 if test -f "$ltmain_in"; then
19536 test -f Makefile
&& make "$ltmain"
19542 ac_cpp
='$CPP $CPPFLAGS'
19543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19552 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19553 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19554 { (exit 1); exit 1; }; }
19558 # Append the new tag name to the list of available tags.
19559 if test -n "$tagname" ; then
19560 available_tags
="$available_tags $tagname"
19566 # Now substitute the updated list of available tags.
19567 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19568 mv "${ofile}T" "$ofile"
19572 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19573 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19574 { (exit 1); exit 1; }; }
19580 # This can be used to rebuild libtool when needed
19581 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19583 # Always use our own libtool.
19584 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19586 # Prevent multiple expansion
19616 aclocaldir
='${datadir}/aclocal'
19619 ac_config_files
="$ac_config_files Makefile"
19622 ac_config_files
="$ac_config_files m4/Makefile"
19625 ac_config_files
="$ac_config_files tests/Makefile"
19628 cat >confcache
<<\_ACEOF
19629 # This file is a shell script that caches the results of configure
19630 # tests run on this system so they can be shared between configure
19631 # scripts and configure runs, see configure's option --config-cache.
19632 # It is not useful on other systems. If it contains results you don't
19633 # want to keep, you may remove or edit it.
19635 # config.status only pays attention to the cache file if you give it
19636 # the --recheck option to rerun configure.
19638 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19639 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19640 # following values.
19644 # The following way of writing the cache mishandles newlines in values,
19645 # but we know of no workaround that is simple, portable, and efficient.
19646 # So, don't put newlines in cache variables' values.
19647 # Ultrix sh set writes to stderr and can't be redirected directly,
19648 # and sets the high bit in the cache file unless we assign to the vars.
19651 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19653 # `set' does not quote correctly, so add quotes (double-quote
19654 # substitution turns \\\\ into \\, and sed turns \\ into \).
19657 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19660 # `set' quotes correctly as required by POSIX, so do not add quotes.
19662 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19669 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19671 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19673 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19674 if test -w $cache_file; then
19675 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19676 cat confcache
>$cache_file
19678 echo "not updating unwritable cache $cache_file"
19683 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19684 # Let make expand exec_prefix.
19685 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19687 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19688 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19689 # trailing colons and then remove the whole line if VPATH becomes empty
19690 # (actually we leave an empty line to preserve line numbers).
19691 if test "x$srcdir" = x.
; then
19692 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19693 s/:*\$(srcdir):*/:/;
19694 s/:*\${srcdir}:*/:/;
19696 s/^\([^=]*=[ ]*\):*/\1/;
19702 # Transform confdefs.h into DEFS.
19703 # Protect against shell expansion while executing Makefile rules.
19704 # Protect against Makefile macro expansion.
19706 # If the first sed substitution is executed (which looks for macros that
19707 # take arguments), then we branch to the quote section. Otherwise,
19708 # look for a macro that doesn't take arguments.
19709 cat >confdef2opt.
sed <<\_ACEOF
19712 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
19714 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
19718 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
19724 # We use echo to avoid assuming a particular line-breaking character.
19725 # The extra dot is to prevent the shell from consuming trailing
19726 # line-breaks from the sub-command output. A line-break within
19727 # single-quotes doesn't work because, if this script is created in a
19728 # platform that uses two characters for line-breaks (e.g., DOS), tr
19730 ac_LF_and_DOT=`echo; echo .
`
19731 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
19732 rm -f confdef2opt.sed
19737 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19738 # 1. Remove the extension, and $U if already installed.
19739 ac_i=`echo "$ac_i" |
19740 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19742 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19743 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
19745 LIBOBJS=$ac_libobjs
19747 LTLIBOBJS=$ac_ltlibobjs
19750 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19751 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19752 Usually this means the macro was only invoked conditionally." >&5
19753 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19754 Usually this means the macro was only invoked conditionally." >&2;}
19755 { (exit 1); exit 1; }; }
19757 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19758 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19759 Usually this means the macro was only invoked conditionally." >&5
19760 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19761 Usually this means the macro was only invoked conditionally." >&2;}
19762 { (exit 1); exit 1; }; }
19764 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19765 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19766 Usually this means the macro was only invoked conditionally." >&5
19767 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19768 Usually this means the macro was only invoked conditionally." >&2;}
19769 { (exit 1); exit 1; }; }
19772 : ${CONFIG_STATUS=./config.status}
19773 ac_clean_files_save=$ac_clean_files
19774 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19775 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19776 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19777 cat >$CONFIG_STATUS <<_ACEOF
19779 # Generated by $as_me.
19780 # Run this file to recreate the current configuration.
19781 # Compiler output produced by configure, useful for debugging
19782 # configure, is in config.log if it exists.
19785 ac_cs_recheck=false
19787 SHELL=\${CONFIG_SHELL-$SHELL}
19790 cat >>$CONFIG_STATUS <<\_ACEOF
19791 ## --------------------- ##
19792 ## M4sh Initialization. ##
19793 ## --------------------- ##
19795 # Be Bourne compatible
19796 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19799 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19800 # is contrary to our usage. Disable this feature.
19801 alias -g '${1+"$@"}'='"$@"'
19802 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19805 DUALCASE=1; export DUALCASE # for MKS sh
19807 # Support unset when possible.
19808 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19815 # Work around bugs in pre-3.0 UWIN ksh.
19816 $as_unset ENV MAIL MAILPATH
19823 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19824 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19825 LC_TELEPHONE LC_TIME
19827 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
19828 eval $as_var=C; export $as_var
19834 # Required to use basename.
19835 if expr a : '\(a\)' >/dev/null 2>&1; then
19841 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
19842 as_basename=basename
19848 # Name of the executable.
19849 as_me=`$as_basename "$0" ||
19850 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19851 X
"$0" : 'X\(//\)$' \| \
19852 X
"$0" : 'X\(/\)$' \| \
19853 .
: '\(.\)' 2>/dev
/null ||
19855 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19856 /^X\/\(\/\/\)$/{ s//\1/; q; }
19857 /^X\/\(\/\).*/{ s//\1/; q; }
19861 # PATH needs CR, and LINENO needs CR and PATH.
19862 # Avoid depending upon Character Ranges.
19863 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19864 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19865 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19866 as_cr_digits='0123456789'
19867 as_cr_alnum=$as_cr_Letters$as_cr_digits
19869 # The user is always right.
19870 if test "${PATH_SEPARATOR+set}" != set; then
19871 echo "#! /bin/sh" >conf$$.sh
19872 echo "exit 0" >>conf$$.sh
19874 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
19883 as_lineno_1=$LINENO
19884 as_lineno_2=$LINENO
19885 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
19886 test "x$as_lineno_1" != "x$as_lineno_2" &&
19887 test "x$as_lineno_3" = "x$as_lineno_2" || {
19888 # Find who we are. Look in the path if we contain no path at all
19891 *[\\/]* ) as_myself=$0 ;;
19892 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19893 for as_dir in $PATH
19896 test -z "$as_dir" && as_dir=.
19897 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19902 # We did not find ourselves, most probably we were run as `sh COMMAND
'
19903 # in which case we are not to be found in the path.
19904 if test "x$as_myself" = x; then
19907 if test ! -f "$as_myself"; then
19908 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19909 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19910 { (exit 1); exit 1; }; }
19912 case $CONFIG_SHELL in
19914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19915 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
19918 test -z "$as_dir" && as_dir=.
19919 for as_base in sh bash ksh sh5; do
19922 if ("$as_dir/$as_base" -c '
19923 as_lineno_1
=$LINENO
19924 as_lineno_2
=$LINENO
19925 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19926 test "x$as_lineno_1" != "x$as_lineno_2" &&
19927 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
19928 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
19929 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
19930 CONFIG_SHELL=$as_dir/$as_base
19931 export CONFIG_SHELL
19932 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19940 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19941 # uniformly replaced by the line number. The first 'sed' inserts a
19942 # line-number line before each line; the second 'sed' does the real
19943 # work. The second script uses 'N
' to pair each line-number line
19944 # with the numbered line, and appends trailing '-' during
19945 # substitution so that $LINENO is not a special case at line end.
19946 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19947 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
19948 sed '=' <$as_myself |
19953 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19956 s,^['$as_cr_digits']*\n,,
19957 ' >$as_me.lineno
&&
19958 chmod +x
$as_me.lineno ||
19959 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19960 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19961 { (exit 1); exit 1; }; }
19963 # Don't try to exec as it changes $[0], causing all sort of problems
19964 # (the dirname of $[0] is not the place where we might find the
19965 # original and so on. Autoconf is especially sensible to this).
19967 # Exit status is that of the last command.
19972 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19973 *c
*,-n*) ECHO_N
= ECHO_C
='
19975 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19976 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19979 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19985 rm -f conf$$ conf$$.exe conf$$.
file
19987 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19988 # We could just check for DJGPP; but this test a) works b) is more generic
19989 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19990 if test -f conf$$.exe
; then
19991 # Don't use ln at all; we don't have any links
19996 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20001 rm -f conf$$ conf$$.exe conf$$.
file
20003 if mkdir
-p .
2>/dev
/null
; then
20006 test -d .
/-p && rmdir .
/-p
20010 as_executable_p
="test -f"
20012 # Sed expression to map a string onto a valid CPP name.
20013 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20015 # Sed expression to map a string onto a valid variable name.
20016 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20020 # We need space, tab and new line, in precisely that order.
20030 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20031 # report actual input values of CONFIG_FILES etc. instead of their
20032 # values after options handling. Logging --version etc. is OK.
20036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20037 ## Running $as_me. ##
20042 This file was extended by $as_me, which was
20043 generated by GNU Autoconf 2.59. Invocation command line was
20045 CONFIG_FILES = $CONFIG_FILES
20046 CONFIG_HEADERS = $CONFIG_HEADERS
20047 CONFIG_LINKS = $CONFIG_LINKS
20048 CONFIG_COMMANDS = $CONFIG_COMMANDS
20052 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20056 # Files that config.status was made for.
20057 if test -n "$ac_config_files"; then
20058 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20061 if test -n "$ac_config_headers"; then
20062 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20065 if test -n "$ac_config_links"; then
20066 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20069 if test -n "$ac_config_commands"; then
20070 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20073 cat >>$CONFIG_STATUS <<\_ACEOF
20076 \`$as_me' instantiates files from templates according to the
20077 current configuration.
20079 Usage: $0 [OPTIONS] [FILE]...
20081 -h, --help print this help, then exit
20082 -V, --version print version number, then exit
20083 -q, --quiet do not print progress messages
20084 -d, --debug don't remove temporary files
20085 --recheck update $as_me by reconfiguring in the same conditions
20086 --file=FILE[:TEMPLATE]
20087 instantiate the configuration file FILE
20089 Configuration files:
20092 Configuration commands:
20095 Report bugs to <bug-autoconf@gnu.org>."
20098 cat >>$CONFIG_STATUS <<_ACEOF
20101 configured by $0, generated by GNU Autoconf 2.59,
20102 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20104 Copyright (C) 2003 Free Software Foundation, Inc.
20105 This config.status script is free software; the Free Software Foundation
20106 gives unlimited permission to copy, distribute and modify it."
20111 cat >>$CONFIG_STATUS <<\_ACEOF
20112 # If no file are specified by the user, then we need to provide default
20113 # value. By we need to know if files were specified by the user.
20119 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20120 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20128 *) # This is not an option, so the user has probably given explicit
20131 ac_need_defaults
=false
;;
20135 # Handling of the options.
20137 cat >>$CONFIG_STATUS <<\_ACEOF
20138 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20140 --version |
--vers* |
-V )
20141 echo "$ac_cs_version"; exit 0 ;;
20143 # Conflict between --help and --header
20144 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20145 Try \`$0 --help' for more information." >&5
20146 echo "$as_me: error: ambiguous option: $1
20147 Try \`$0 --help' for more information." >&2;}
20148 { (exit 1); exit 1; }; };;
20149 --help |
--hel |
-h )
20150 echo "$ac_cs_usage"; exit 0 ;;
20151 --debug |
--d* |
-d )
20153 --file |
--fil |
--fi |
--f )
20155 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20156 ac_need_defaults
=false
;;
20157 --header |
--heade |
--head |
--hea )
20159 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20160 ac_need_defaults
=false
;;
20161 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20162 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20165 # This is an error.
20166 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20167 Try \`$0 --help' for more information." >&5
20168 echo "$as_me: error: unrecognized option: $1
20169 Try \`$0 --help' for more information." >&2;}
20170 { (exit 1); exit 1; }; } ;;
20172 *) ac_config_targets
="$ac_config_targets $1" ;;
20178 ac_configure_extra_args
=
20180 if $ac_cs_silent; then
20182 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20186 cat >>$CONFIG_STATUS <<_ACEOF
20187 if \$ac_cs_recheck; then
20188 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20189 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20194 cat >>$CONFIG_STATUS <<_ACEOF
20196 # INIT-COMMANDS section.
20199 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20205 cat >>$CONFIG_STATUS <<\_ACEOF
20206 for ac_config_target
in $ac_config_targets
20208 case "$ac_config_target" in
20209 # Handling of arguments.
20210 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20211 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
20212 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
20213 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20214 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20215 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20216 { (exit 1); exit 1; }; };;
20220 # If the user did not use the arguments to specify the items to instantiate,
20221 # then the envvar interface is used. Set only those that are not.
20222 # We use the long form for the default assignment because of an extremely
20223 # bizarre bug on SunOS 4.1.3.
20224 if $ac_need_defaults; then
20225 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20226 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20229 # Have a temporary directory for convenience. Make it in the build tree
20230 # simply because there is no reason to put it here, and in addition,
20231 # creating and moving files from /tmp can sometimes cause problems.
20232 # Create a temporary directory, and hook for its removal unless debugging.
20235 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20236 trap '{ (exit 1); exit 1; }' 1 2 13 15
20239 # Create a (secure) tmp directory for tmp files.
20242 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20243 test -n "$tmp" && test -d "$tmp"
20246 tmp
=.
/confstat$$
-$RANDOM
20247 (umask 077 && mkdir
$tmp)
20250 echo "$me: cannot create a temporary directory in ." >&2
20251 { (exit 1); exit 1; }
20256 cat >>$CONFIG_STATUS <<_ACEOF
20259 # CONFIG_FILES section.
20262 # No need to generate the scripts if there are no CONFIG_FILES.
20263 # This happens for instance when ./config.status config.h
20264 if test -n "\$CONFIG_FILES"; then
20265 # Protect against being on the right side of a sed subst in config.status.
20266 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20267 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20268 s,@SHELL@,$SHELL,;t t
20269 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20270 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20271 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20272 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20273 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20274 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20275 s,@exec_prefix@,$exec_prefix,;t t
20276 s,@prefix@,$prefix,;t t
20277 s,@program_transform_name@,$program_transform_name,;t t
20278 s,@bindir@,$bindir,;t t
20279 s,@sbindir@,$sbindir,;t t
20280 s,@libexecdir@,$libexecdir,;t t
20281 s,@datadir@,$datadir,;t t
20282 s,@sysconfdir@,$sysconfdir,;t t
20283 s,@sharedstatedir@,$sharedstatedir,;t t
20284 s,@localstatedir@,$localstatedir,;t t
20285 s,@libdir@,$libdir,;t t
20286 s,@includedir@,$includedir,;t t
20287 s,@oldincludedir@,$oldincludedir,;t t
20288 s,@infodir@,$infodir,;t t
20289 s,@mandir@,$mandir,;t t
20290 s,@build_alias@,$build_alias,;t t
20291 s,@host_alias@,$host_alias,;t t
20292 s,@target_alias@,$target_alias,;t t
20293 s,@DEFS@,$DEFS,;t t
20294 s,@ECHO_C@,$ECHO_C,;t t
20295 s,@ECHO_N@,$ECHO_N,;t t
20296 s,@ECHO_T@,$ECHO_T,;t t
20297 s,@LIBS@,$LIBS,;t t
20298 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20299 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20300 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20301 s,@CYGPATH_W@,$CYGPATH_W,;t t
20302 s,@PACKAGE@,$PACKAGE,;t t
20303 s,@VERSION@,$VERSION,;t t
20304 s,@ACLOCAL@,$ACLOCAL,;t t
20305 s,@AUTOCONF@,$AUTOCONF,;t t
20306 s,@AUTOMAKE@,$AUTOMAKE,;t t
20307 s,@AUTOHEADER@,$AUTOHEADER,;t t
20308 s,@MAKEINFO@,$MAKEINFO,;t t
20309 s,@install_sh@,$install_sh,;t t
20310 s,@STRIP@,$STRIP,;t t
20311 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20312 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20313 s,@mkdir_p@,$mkdir_p,;t t
20315 s,@SET_MAKE@,$SET_MAKE,;t t
20316 s,@am__leading_dot@,$am__leading_dot,;t t
20317 s,@AMTAR@,$AMTAR,;t t
20318 s,@am__tar@,$am__tar,;t t
20319 s,@am__untar@,$am__untar,;t t
20321 s,@CFLAGS@,$CFLAGS,;t t
20322 s,@LDFLAGS@,$LDFLAGS,;t t
20323 s,@CPPFLAGS@,$CPPFLAGS,;t t
20324 s,@ac_ct_CC@,$ac_ct_CC,;t t
20325 s,@EXEEXT@,$EXEEXT,;t t
20326 s,@OBJEXT@,$OBJEXT,;t t
20327 s,@DEPDIR@,$DEPDIR,;t t
20328 s,@am__include@,$am__include,;t t
20329 s,@am__quote@,$am__quote,;t t
20330 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20331 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20332 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20333 s,@CCDEPMODE@,$CCDEPMODE,;t t
20334 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20335 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20336 s,@build@,$build,;t t
20337 s,@build_cpu@,$build_cpu,;t t
20338 s,@build_vendor@,$build_vendor,;t t
20339 s,@build_os@,$build_os,;t t
20340 s,@host@,$host,;t t
20341 s,@host_cpu@,$host_cpu,;t t
20342 s,@host_vendor@,$host_vendor,;t t
20343 s,@host_os@,$host_os,;t t
20344 s,@EGREP@,$EGREP,;t t
20345 s,@LN_S@,$LN_S,;t t
20346 s,@ECHO@,$ECHO,;t t
20348 s,@ac_ct_AR@,$ac_ct_AR,;t t
20349 s,@RANLIB@,$RANLIB,;t t
20350 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20351 s,@DLLTOOL@,$DLLTOOL,;t t
20352 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20354 s,@ac_ct_AS@,$ac_ct_AS,;t t
20355 s,@OBJDUMP@,$OBJDUMP,;t t
20356 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
20359 s,@CXXFLAGS@,$CXXFLAGS,;t t
20360 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20361 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20362 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20363 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20364 s,@CXXCPP@,$CXXCPP,;t t
20366 s,@FFLAGS@,$FFLAGS,;t t
20367 s,@ac_ct_F77@,$ac_ct_F77,;t t
20368 s,@LIBTOOL@,$LIBTOOL,;t t
20371 s,@with_gnu_ld@,$with_gnu_ld,;t t
20372 s,@aclocaldir@,$aclocaldir,;t t
20373 s,@LIBOBJS@,$LIBOBJS,;t t
20374 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20379 cat >>$CONFIG_STATUS <<\_ACEOF
20380 # Split the substitutions into bite-sized pieces for seds with
20381 # small command number limits, like on Digital OSF/1 and HP-UX.
20382 ac_max_sed_lines
=48
20383 ac_sed_frag
=1 # Number of current file.
20384 ac_beg
=1 # First line for current file.
20385 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20388 while $ac_more_lines; do
20389 if test $ac_beg -gt 1; then
20390 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20392 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20394 if test ! -s $tmp/subs.frag
; then
20395 ac_more_lines
=false
20397 # The purpose of the label and of the branching condition is to
20398 # speed up the sed processing (if there are no `@' at all, there
20399 # is no need to browse any of the substitutions).
20400 # These are the two extra sed commands mentioned above.
20402 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20403 if test -z "$ac_sed_cmds"; then
20404 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20406 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20408 ac_sed_frag
=`expr $ac_sed_frag + 1`
20410 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20413 if test -z "$ac_sed_cmds"; then
20416 fi # test -n "$CONFIG_FILES"
20419 cat >>$CONFIG_STATUS <<\_ACEOF
20420 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20421 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20423 - |
*:- |
*:-:* ) # input from stdin
20425 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20426 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20427 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20428 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20429 * ) ac_file_in
=$ac_file.
in ;;
20432 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20433 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20434 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20435 X"$ac_file" : 'X\(//\)[^/]' \| \
20436 X"$ac_file" : 'X\(//\)$' \| \
20437 X"$ac_file" : 'X\(/\)' \| \
20438 . : '\(.\)' 2>/dev/null ||
20440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20441 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20442 /^X\(\/\/\)$/{ s//\1/; q; }
20443 /^X\(\/\).*/{ s//\1/; q; }
20445 { if $as_mkdir_p; then
20450 while test ! -d "$as_dir"; do
20451 as_dirs
="$as_dir $as_dirs"
20452 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20453 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20454 X"$as_dir" : 'X\(//\)[^/]' \| \
20455 X"$as_dir" : 'X\(//\)$' \| \
20456 X"$as_dir" : 'X\(/\)' \| \
20457 . : '\(.\)' 2>/dev/null ||
20459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20460 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20461 /^X\(\/\/\)$/{ s//\1/; q; }
20462 /^X\(\/\).*/{ s//\1/; q; }
20465 test ! -n "$as_dirs" || mkdir
$as_dirs
20466 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20467 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20468 { (exit 1); exit 1; }; }; }
20472 if test "$ac_dir" != .
; then
20473 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20474 # A "../" for each directory in $ac_dir_suffix.
20475 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20477 ac_dir_suffix
= ac_top_builddir
=
20481 .
) # No --srcdir option. We are building in place.
20483 if test -z "$ac_top_builddir"; then
20486 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20488 [\\/]* | ?
:[\\/]* ) # Absolute path.
20489 ac_srcdir
=$srcdir$ac_dir_suffix;
20490 ac_top_srcdir
=$srcdir ;;
20491 *) # Relative path.
20492 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20493 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20496 # Do not use `cd foo && pwd` to compute absolute paths, because
20497 # the directories may not exist.
20499 .
) ac_abs_builddir
="$ac_dir";;
20502 .
) ac_abs_builddir
=`pwd`;;
20503 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20504 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20507 case $ac_abs_builddir in
20508 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20510 case ${ac_top_builddir}.
in
20511 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20512 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20513 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20516 case $ac_abs_builddir in
20517 .
) ac_abs_srcdir
=$ac_srcdir;;
20520 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20521 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20522 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20525 case $ac_abs_builddir in
20526 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20528 case $ac_top_srcdir in
20529 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20530 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20531 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20537 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20538 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20541 if test x
"$ac_file" != x-
; then
20542 { echo "$as_me:$LINENO: creating $ac_file" >&5
20543 echo "$as_me: creating $ac_file" >&6;}
20546 # Let's still pretend it is `configure' which instantiates (i.e., don't
20547 # use $as_me), people would be surprised to read:
20548 # /* config.h. Generated by config.status. */
20549 if test x
"$ac_file" = x-
; then
20552 configure_input
="$ac_file. "
20554 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20555 sed 's,.*/,,'` by configure."
20557 # First look for the input files in the build tree, otherwise in the
20559 ac_file_inputs
=`IFS=:
20560 for f in $ac_file_in; do
20562 -) echo $tmp/stdin ;;
20564 # Absolute (can't be DOS-style, as IFS=:)
20565 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20566 echo "$as_me: error: cannot find input file: $f" >&2;}
20567 { (exit 1); exit 1; }; }
20570 if test -f "$f"; then
20573 elif test -f "$srcdir/$f"; then
20578 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20579 echo "$as_me: error: cannot find input file: $f" >&2;}
20580 { (exit 1); exit 1; }; }
20583 done` ||
{ (exit 1); exit 1; }
20585 cat >>$CONFIG_STATUS <<_ACEOF
20589 cat >>$CONFIG_STATUS <<\_ACEOF
20591 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20592 s
,@configure_input@
,$configure_input,;t t
20593 s
,@srcdir@
,$ac_srcdir,;t t
20594 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20595 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20596 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20597 s
,@builddir@
,$ac_builddir,;t t
20598 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20599 s
,@top_builddir@
,$ac_top_builddir,;t t
20600 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20601 s
,@INSTALL@
,$ac_INSTALL,;t t
20602 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20604 if test x"$ac_file" != x-; then
20605 mv $tmp/out $ac_file
20611 # Run the commands associated with the file.
20614 sed -e 's,^#distdir:,distdir:,' < $ac_file > $ac_file.tmp
20615 mv $ac_file.tmp $ac_file
20620 cat >>$CONFIG_STATUS <<\_ACEOF
20623 # CONFIG_COMMANDS section.
20625 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
20626 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
20627 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20628 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20629 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20630 X"$ac_dest" : 'X\(//\)[^/]' \| \
20631 X"$ac_dest" : 'X\(//\)$' \| \
20632 X"$ac_dest" : 'X\(/\)' \| \
20633 . : '\(.\)' 2>/dev/null ||
20635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20636 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20637 /^X\(\/\/\)$/{ s//\1/; q; }
20638 /^X\(\/\).*/{ s//\1/; q; }
20640 { if $as_mkdir_p; then
20645 while test ! -d "$as_dir"; do
20646 as_dirs="$as_dir $as_dirs"
20647 as_dir=`(dirname "$as_dir") 2>/dev/null ||
20648 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20649 X"$as_dir" : 'X\(//\)[^/]' \| \
20650 X"$as_dir" : 'X\(//\)$' \| \
20651 X"$as_dir" : 'X\(/\)' \| \
20652 . : '\(.\)' 2>/dev/null ||
20654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20655 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20656 /^X\(\/\/\)$/{ s//\1/; q; }
20657 /^X\(\/\).*/{ s//\1/; q; }
20660 test ! -n "$as_dirs" || mkdir $as_dirs
20661 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
20662 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
20663 { (exit 1); exit 1; }; }; }
20667 if test "$ac_dir" != .; then
20668 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20669 # A "..
/" for each directory in $ac_dir_suffix.
20670 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20672 ac_dir_suffix= ac_top_builddir=
20676 .) # No --srcdir option. We are building in place.
20678 if test -z "$ac_top_builddir"; then
20681 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20683 [\\/]* | ?:[\\/]* ) # Absolute path.
20684 ac_srcdir=$srcdir$ac_dir_suffix;
20685 ac_top_srcdir=$srcdir ;;
20686 *) # Relative path.
20687 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20688 ac_top_srcdir=$ac_top_builddir$srcdir ;;
20691 # Do not use `cd foo && pwd` to compute absolute paths, because
20692 # the directories may not exist.
20694 .) ac_abs_builddir="$ac_dir";;
20697 .) ac_abs_builddir=`pwd`;;
20698 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20699 *) ac_abs_builddir=`pwd`/"$ac_dir";;
20702 case $ac_abs_builddir in
20703 .) ac_abs_top_builddir=${ac_top_builddir}.;;
20705 case ${ac_top_builddir}. in
20706 .) ac_abs_top_builddir=$ac_abs_builddir;;
20707 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20708 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20711 case $ac_abs_builddir in
20712 .) ac_abs_srcdir=$ac_srcdir;;
20715 .) ac_abs_srcdir=$ac_abs_builddir;;
20716 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20717 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20720 case $ac_abs_builddir in
20721 .) ac_abs_top_srcdir=$ac_top_srcdir;;
20723 case $ac_top_srcdir in
20724 .) ac_abs_top_srcdir=$ac_abs_builddir;;
20725 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20726 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20731 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
20732 echo "$as_me: executing
$ac_dest commands
" >&6;}
20734 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20735 # Strip MF so we end up with the name of the file.
20736 mf=`echo "$mf" | sed -e 's/:.*$//'`
20737 # Check whether this is an Automake generated Makefile or not.
20738 # We used to match only the files named `Makefile.in', but
20739 # some people rename them; so instead we look at the file content.
20740 # Grep'ing the first line is not enough: some people post-process
20741 # each Makefile.in and add a new line on top of each file to say so.
20742 # So let's grep whole file.
20743 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
20744 dirpart=`(dirname "$mf") 2>/dev/null ||
20745 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20746 X"$mf" : 'X\(//\)[^/]' \| \
20747 X"$mf" : 'X\(//\)$' \| \
20748 X"$mf" : 'X\(/\)' \| \
20749 . : '\(.\)' 2>/dev/null ||
20751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20752 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20753 /^X\(\/\/\)$/{ s//\1/; q; }
20754 /^X\(\/\).*/{ s//\1/; q; }
20759 # Extract the definition of DEPDIR, am__include, and am__quote
20760 # from the Makefile without running `make'.
20761 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20762 test -z "$DEPDIR" && continue
20763 am__include=`sed -n 's/^am__include = //p' < "$mf"`
20764 test -z "am__include
" && continue
20765 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20766 # When using ansi2knr, U may be empty or an underscore; expand it
20767 U=`sed -n 's/^U = //p' < "$mf"`
20768 # Find all dependency output files, they are included files with
20769 # $(DEPDIR) in their names. We invoke sed twice because it is the
20770 # simplest approach to changing $(DEPDIR) to its actual value in the
20772 for file in `sed -n "
20773 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
20774 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20775 # Make sure the directory exists.
20776 test -f "$dirpart/$file" && continue
20777 fdir=`(dirname "$file") 2>/dev/null ||
20778 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20779 X"$file" : 'X\(//\)[^/]' \| \
20780 X"$file" : 'X\(//\)$' \| \
20781 X"$file" : 'X\(/\)' \| \
20782 . : '\(.\)' 2>/dev/null ||
20784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20785 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20786 /^X\(\/\/\)$/{ s//\1/; q; }
20787 /^X\(\/\).*/{ s//\1/; q; }
20789 { if $as_mkdir_p; then
20790 mkdir -p $dirpart/$fdir
20792 as_dir=$dirpart/$fdir
20794 while test ! -d "$as_dir"; do
20795 as_dirs="$as_dir $as_dirs"
20796 as_dir=`(dirname "$as_dir") 2>/dev/null ||
20797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20798 X"$as_dir" : 'X\(//\)[^/]' \| \
20799 X"$as_dir" : 'X\(//\)$' \| \
20800 X"$as_dir" : 'X\(/\)' \| \
20801 . : '\(.\)' 2>/dev/null ||
20803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20804 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20805 /^X\(\/\/\)$/{ s//\1/; q; }
20806 /^X\(\/\).*/{ s//\1/; q; }
20809 test ! -n "$as_dirs" || mkdir $as_dirs
20810 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
20811 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
20812 { (exit 1); exit 1; }; }; }
20814 # echo "creating
$dirpart/$file"
20815 echo '# dummy' > "$dirpart/$file"
20823 cat >>$CONFIG_STATUS <<\_ACEOF
20825 { (exit 0); exit 0; }
20827 chmod +x $CONFIG_STATUS
20828 ac_clean_files=$ac_clean_files_save
20831 # configure is writing to config.log, and then calls config.status.
20832 # config.status does its own redirection, appending to config.log.
20833 # Unfortunately, on DOS this fails, as config.log is still kept open
20834 # by configure, so config.status won't be able to write to it; its
20835 # output is simply discarded. So we exec the FD to /dev/null,
20836 # effectively closing config.log, so it can be properly (re)opened and
20837 # appended to by config.status. When coming back to configure, we
20838 # need to make the FD available again.
20839 if test "$no_create" != yes; then
20841 ac_config_status_args=
20842 test "$silent" = yes &&
20843 ac_config_status_args="$ac_config_status_args --quiet"
20845 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20848 # would make configure fail if this is the last instruction.
20849 $ac_cs_success || { (exit 1); exit 1; }