2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libhmac 1.00.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL
=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec
; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo
; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo
; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset
; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
291 echo_test_string
=`eval $cmd` &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
311 for dir
in $PATH /usr
/ucb
; do
313 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho
; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL
=/bin
/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
352 SHELL
="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string
=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames
=${tagnames+${tagnames},}CXX
398 tagnames
=${tagnames+${tagnames},}F77
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix
=/usr
/local
411 ac_config_libobj_dir
=.
416 SHELL
=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME
='libhmac'
425 PACKAGE_TARNAME
='libhmac'
426 PACKAGE_VERSION
='1.00'
427 PACKAGE_STRING
='libhmac 1.00'
428 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
430 ac_unique_file
="hmac.h"
431 # Factoring default headers for most tests.
432 ac_includes_default
="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar LN_S CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os SED EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL hashlibs TESTPROGS LIBOBJS LTLIBOBJS'
471 # Initialize some variables set by options.
473 ac_init_version
=false
474 # The variables have the same names as the options, with
475 # dashes changed to underlines.
483 program_transform_name
=s
,x
,x
,
491 # Installation directory options.
492 # These are left unexpanded so users can "make install exec_prefix=/foo"
493 # and all the variables that are supposed to be based on exec_prefix
494 # by default will actually change.
495 # Use braces instead of parens because sh, perl, etc. also accept them.
496 bindir
='${exec_prefix}/bin'
497 sbindir
='${exec_prefix}/sbin'
498 libexecdir
='${exec_prefix}/libexec'
499 datadir
='${prefix}/share'
500 sysconfdir
='${prefix}/etc'
501 sharedstatedir
='${prefix}/com'
502 localstatedir
='${prefix}/var'
503 libdir
='${exec_prefix}/lib'
504 includedir
='${prefix}/include'
505 oldincludedir
='/usr/include'
506 infodir
='${prefix}/info'
507 mandir
='${prefix}/man'
512 # If the previous option needs an argument, assign it.
513 if test -n "$ac_prev"; then
514 eval "$ac_prev=\$ac_option"
519 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
527 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
530 -build |
--build |
--buil |
--bui |
--bu)
531 ac_prev
=build_alias
;;
532 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
533 build_alias
=$ac_optarg ;;
535 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
536 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
537 ac_prev
=cache_file
;;
538 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
539 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
540 cache_file
=$ac_optarg ;;
543 cache_file
=config.cache
;;
545 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
547 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
549 datadir
=$ac_optarg ;;
551 -disable-* |
--disable-*)
552 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
555 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556 { (exit 1); exit 1; }; }
557 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
558 eval "enable_$ac_feature=no" ;;
560 -enable-* |
--enable-*)
561 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
564 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565 { (exit 1); exit 1; }; }
566 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
568 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571 eval "enable_$ac_feature='$ac_optarg'" ;;
573 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
574 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
575 |
--exec |
--exe |
--ex)
576 ac_prev
=exec_prefix
;;
577 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
578 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
579 |
--exec=* |
--exe=* |
--ex=*)
580 exec_prefix
=$ac_optarg ;;
582 -gas |
--gas |
--ga |
--g)
583 # Obsolete; use --with-gas.
586 -help |
--help |
--hel |
--he |
-h)
588 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
589 ac_init_help
=recursive
;;
590 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
591 ac_init_help
=short
;;
593 -host |
--host |
--hos |
--ho)
594 ac_prev
=host_alias
;;
595 -host=* |
--host=* |
--hos=* |
--ho=*)
596 host_alias
=$ac_optarg ;;
598 -includedir |
--includedir |
--includedi |
--included |
--include \
599 |
--includ |
--inclu |
--incl |
--inc)
600 ac_prev
=includedir
;;
601 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
602 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
603 includedir
=$ac_optarg ;;
605 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
607 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
608 infodir
=$ac_optarg ;;
610 -libdir |
--libdir |
--libdi |
--libd)
612 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
615 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
616 |
--libexe |
--libex |
--libe)
617 ac_prev
=libexecdir
;;
618 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
619 |
--libexe=* |
--libex=* |
--libe=*)
620 libexecdir
=$ac_optarg ;;
622 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
623 |
--localstate |
--localstat |
--localsta |
--localst \
624 |
--locals |
--local |
--loca |
--loc |
--lo)
625 ac_prev
=localstatedir
;;
626 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
627 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
628 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
629 localstatedir
=$ac_optarg ;;
631 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
633 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
637 # Obsolete; use --without-fp.
640 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
641 |
--no-cr |
--no-c |
-n)
644 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
645 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
648 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
649 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
650 |
--oldin |
--oldi |
--old |
--ol |
--o)
651 ac_prev
=oldincludedir
;;
652 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
653 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
654 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
655 oldincludedir
=$ac_optarg ;;
657 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
659 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
662 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
663 |
--program-pre |
--program-pr |
--program-p)
664 ac_prev
=program_prefix
;;
665 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
666 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
667 program_prefix
=$ac_optarg ;;
669 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
670 |
--program-suf |
--program-su |
--program-s)
671 ac_prev
=program_suffix
;;
672 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
673 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
674 program_suffix
=$ac_optarg ;;
676 -program-transform-name |
--program-transform-name \
677 |
--program-transform-nam |
--program-transform-na \
678 |
--program-transform-n |
--program-transform- \
679 |
--program-transform |
--program-transfor \
680 |
--program-transfo |
--program-transf \
681 |
--program-trans |
--program-tran \
682 |
--progr-tra |
--program-tr |
--program-t)
683 ac_prev
=program_transform_name
;;
684 -program-transform-name=* |
--program-transform-name=* \
685 |
--program-transform-nam=* |
--program-transform-na=* \
686 |
--program-transform-n=* |
--program-transform-=* \
687 |
--program-transform=* |
--program-transfor=* \
688 |
--program-transfo=* |
--program-transf=* \
689 |
--program-trans=* |
--program-tran=* \
690 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
691 program_transform_name
=$ac_optarg ;;
693 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
694 |
-silent |
--silent |
--silen |
--sile |
--sil)
697 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
699 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
701 sbindir
=$ac_optarg ;;
703 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
704 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
705 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
707 ac_prev
=sharedstatedir
;;
708 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
709 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
710 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
712 sharedstatedir
=$ac_optarg ;;
714 -site |
--site |
--sit)
716 -site=* |
--site=* |
--sit=*)
719 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
721 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
724 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
725 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
726 ac_prev
=sysconfdir
;;
727 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
728 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
729 sysconfdir
=$ac_optarg ;;
731 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
732 ac_prev
=target_alias
;;
733 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
734 target_alias
=$ac_optarg ;;
736 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
739 -version |
--version |
--versio |
--versi |
--vers |
-V)
743 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
746 { echo "$as_me: error: invalid package name: $ac_package" >&2
747 { (exit 1); exit 1; }; }
748 ac_package
=`echo $ac_package| sed 's/-/_/g'`
750 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753 eval "with_$ac_package='$ac_optarg'" ;;
755 -without-* |
--without-*)
756 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
759 { echo "$as_me: error: invalid package name: $ac_package" >&2
760 { (exit 1); exit 1; }; }
761 ac_package
=`echo $ac_package | sed 's/-/_/g'`
762 eval "with_$ac_package=no" ;;
765 # Obsolete; use --with-x.
768 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
769 |
--x-incl |
--x-inc |
--x-in |
--x-i)
770 ac_prev
=x_includes
;;
771 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
772 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
773 x_includes
=$ac_optarg ;;
775 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
776 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
777 ac_prev
=x_libraries
;;
778 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
779 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
780 x_libraries
=$ac_optarg ;;
782 -*) { echo "$as_me: error: unrecognized option: $ac_option
783 Try \`$0 --help' for more information." >&2
784 { (exit 1); exit 1; }; }
788 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
791 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792 { (exit 1); exit 1; }; }
793 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794 eval "$ac_envvar='$ac_optarg'"
798 # FIXME: should be removed in autoconf 3.0.
799 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
801 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
808 if test -n "$ac_prev"; then
809 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
810 { echo "$as_me: error: missing argument to $ac_option" >&2
811 { (exit 1); exit 1; }; }
814 # Be sure to have absolute paths.
815 for ac_var
in exec_prefix prefix
817 eval ac_val
=$
`echo $ac_var`
819 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
820 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821 { (exit 1); exit 1; }; };;
825 # Be sure to have absolute paths.
826 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827 localstatedir libdir includedir oldincludedir infodir mandir
829 eval ac_val
=$
`echo $ac_var`
831 [\\/$
]* | ?
:[\\/]* ) ;;
832 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833 { (exit 1); exit 1; }; };;
837 # There might be people who depend on the old broken behavior: `$host'
838 # used to hold the argument of --host etc.
839 # FIXME: To remove some day.
844 # FIXME: To remove some day.
845 if test "x$host_alias" != x
; then
846 if test "x$build_alias" = x
; then
847 cross_compiling
=maybe
848 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849 If a cross compiler is detected then cross compile mode will be used." >&2
850 elif test "x$build_alias" != "x$host_alias"; then
856 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
858 test "$silent" = yes && exec 6>/dev
/null
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted
=yes
864 # Try the directory containing this script, then its parent.
865 ac_confdir
=`(dirname "$0") 2>/dev/null ||
866 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867 X"$0" : 'X\(//\)[^/]' \| \
868 X"$0" : 'X\(//\)$' \| \
869 X"$0" : 'X\(/\)' \| \
870 . : '\(.\)' 2>/dev/null ||
872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874 /^X\(\/\/\)$/{ s//\1/; q; }
875 /^X\(\/\).*/{ s//\1/; q; }
878 if test ! -r $srcdir/$ac_unique_file; then
882 ac_srcdir_defaulted
=no
884 if test ! -r $srcdir/$ac_unique_file; then
885 if test "$ac_srcdir_defaulted" = yes; then
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887 { (exit 1); exit 1; }; }
889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890 { (exit 1); exit 1; }; }
893 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
894 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895 { (exit 1); exit 1; }; }
896 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897 ac_env_build_alias_set
=${build_alias+set}
898 ac_env_build_alias_value
=$build_alias
899 ac_cv_env_build_alias_set
=${build_alias+set}
900 ac_cv_env_build_alias_value
=$build_alias
901 ac_env_host_alias_set
=${host_alias+set}
902 ac_env_host_alias_value
=$host_alias
903 ac_cv_env_host_alias_set
=${host_alias+set}
904 ac_cv_env_host_alias_value
=$host_alias
905 ac_env_target_alias_set
=${target_alias+set}
906 ac_env_target_alias_value
=$target_alias
907 ac_cv_env_target_alias_set
=${target_alias+set}
908 ac_cv_env_target_alias_value
=$target_alias
909 ac_env_CC_set
=${CC+set}
911 ac_cv_env_CC_set
=${CC+set}
912 ac_cv_env_CC_value
=$CC
913 ac_env_CFLAGS_set
=${CFLAGS+set}
914 ac_env_CFLAGS_value
=$CFLAGS
915 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
916 ac_cv_env_CFLAGS_value
=$CFLAGS
917 ac_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_env_LDFLAGS_value
=$LDFLAGS
919 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value
=$LDFLAGS
921 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
924 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
925 ac_env_CPP_set
=${CPP+set}
926 ac_env_CPP_value
=$CPP
927 ac_cv_env_CPP_set
=${CPP+set}
928 ac_cv_env_CPP_value
=$CPP
929 ac_env_CXX_set
=${CXX+set}
930 ac_env_CXX_value
=$CXX
931 ac_cv_env_CXX_set
=${CXX+set}
932 ac_cv_env_CXX_value
=$CXX
933 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
934 ac_env_CXXFLAGS_value
=$CXXFLAGS
935 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
936 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
937 ac_env_CXXCPP_set
=${CXXCPP+set}
938 ac_env_CXXCPP_value
=$CXXCPP
939 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
940 ac_cv_env_CXXCPP_value
=$CXXCPP
941 ac_env_F77_set
=${F77+set}
942 ac_env_F77_value
=$F77
943 ac_cv_env_F77_set
=${F77+set}
944 ac_cv_env_F77_value
=$F77
945 ac_env_FFLAGS_set
=${FFLAGS+set}
946 ac_env_FFLAGS_value
=$FFLAGS
947 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
948 ac_cv_env_FFLAGS_value
=$FFLAGS
951 # Report the --help message.
953 if test "$ac_init_help" = "long"; then
954 # Omit some internal or obsolete options to make the list less imposing.
955 # This message is too long to be a string in the A/UX 3.1 sh.
957 \`configure' configures libhmac 1.00 to adapt to many kinds of systems.
959 Usage: $0 [OPTION]... [VAR=VALUE]...
961 To assign environment variables (e.g., CC, CFLAGS...), specify them as
962 VAR=VALUE. See below for descriptions of some of the useful variables.
964 Defaults for the options are specified in brackets.
967 -h, --help display this help and exit
968 --help=short display options specific to this package
969 --help=recursive display the short help of all the included packages
970 -V, --version display version information and exit
971 -q, --quiet, --silent do not print \`checking...' messages
972 --cache-file=FILE cache test results in FILE [disabled]
973 -C, --config-cache alias for \`--cache-file=config.cache'
974 -n, --no-create do not create output files
975 --srcdir=DIR find the sources in DIR [configure dir or \`..']
980 Installation directories:
981 --prefix=PREFIX install architecture-independent files in PREFIX
983 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
986 By default, \`make install' will install all the files in
987 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
988 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
989 for instance \`--prefix=\$HOME'.
991 For better control, use the options below.
993 Fine tuning of the installation directories:
994 --bindir=DIR user executables [EPREFIX/bin]
995 --sbindir=DIR system admin executables [EPREFIX/sbin]
996 --libexecdir=DIR program executables [EPREFIX/libexec]
997 --datadir=DIR read-only architecture-independent data [PREFIX/share]
998 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
999 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1000 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1001 --libdir=DIR object code libraries [EPREFIX/lib]
1002 --includedir=DIR C header files [PREFIX/include]
1003 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1004 --infodir=DIR info documentation [PREFIX/info]
1005 --mandir=DIR man documentation [PREFIX/man]
1011 --program-prefix=PREFIX prepend PREFIX to installed program names
1012 --program-suffix=SUFFIX append SUFFIX to installed program names
1013 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1016 --build=BUILD configure
for building on BUILD
[guessed
]
1017 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1021 if test -n "$ac_init_help"; then
1022 case $ac_init_help in
1023 short | recursive
) echo "Configuration of libhmac 1.00:";;
1028 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1029 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1030 --disable-dependency-tracking speeds up one-time build
1031 --enable-dependency-tracking do not reject slow dependency extractors
1032 --enable-shared[=PKGS
]
1033 build shared libraries
[default
=yes]
1034 --enable-static[=PKGS
]
1035 build static libraries
[default
=yes]
1036 --enable-fast-install[=PKGS
]
1037 optimize
for fast installation
[default
=yes]
1038 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1041 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1042 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1043 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1044 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1047 include additional configurations
[automatic
]
1049 Some influential environment variables
:
1050 CC C compiler
command
1051 CFLAGS C compiler flags
1052 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1053 nonstandard directory
<lib dir
>
1054 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1055 headers
in a nonstandard directory
<include dir
>
1057 CXX C
++ compiler
command
1058 CXXFLAGS C
++ compiler flags
1059 CXXCPP C
++ preprocessor
1060 F77 Fortran
77 compiler
command
1061 FFLAGS Fortran
77 compiler flags
1063 Use these variables to override the choices made by
`configure' or to help
1064 it to find libraries and programs with nonstandard names/locations.
1066 Report bugs to <courier-users@lists.sourceforge.net>.
1070 if test "$ac_init_help" = "recursive"; then
1071 # If there are subdirs, report their specific --help.
1073 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1074 test -d $ac_dir || continue
1077 if test "$ac_dir" != .; then
1078 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1079 # A "../" for each directory in $ac_dir_suffix.
1080 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1082 ac_dir_suffix= ac_top_builddir=
1086 .) # No --srcdir option. We are building in place.
1088 if test -z "$ac_top_builddir"; then
1091 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1093 [\\/]* | ?:[\\/]* ) # Absolute path.
1094 ac_srcdir=$srcdir$ac_dir_suffix;
1095 ac_top_srcdir=$srcdir ;;
1097 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1098 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1101 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1102 # the directories may not exist.
1104 .) ac_abs_builddir="$ac_dir";;
1107 .) ac_abs_builddir=`pwd`;;
1108 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1109 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1112 case $ac_abs_builddir in
1113 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1115 case ${ac_top_builddir}. in
1116 .) ac_abs_top_builddir=$ac_abs_builddir;;
1117 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1118 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1121 case $ac_abs_builddir in
1122 .) ac_abs_srcdir=$ac_srcdir;;
1125 .) ac_abs_srcdir=$ac_abs_builddir;;
1126 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1127 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1130 case $ac_abs_builddir in
1131 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1133 case $ac_top_srcdir in
1134 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1135 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1136 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1141 # Check for guested configure; otherwise get Cygnus style configure.
1142 if test -f $ac_srcdir/configure.gnu; then
1144 $SHELL $ac_srcdir/configure.gnu --help=recursive
1145 elif test -f $ac_srcdir/configure; then
1147 $SHELL $ac_srcdir/configure --help=recursive
1148 elif test -f $ac_srcdir/configure.ac ||
1149 test -f $ac_srcdir/configure.in; then
1151 $ac_configure --help
1153 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1159 test -n "$ac_init_help" && exit 0
1160 if $ac_init_version; then
1162 libhmac configure 1.00
1163 generated by GNU Autoconf 2.59
1165 Copyright (C) 2003 Free Software Foundation, Inc.
1166 This configure script is free software; the Free Software Foundation
1167 gives unlimited permission to copy, distribute and modify it.
1173 This file contains any messages produced by compilers while
1174 running configure, to aid debugging if configure makes a mistake.
1176 It was created by libhmac $as_me 1.00, which was
1177 generated by GNU Autoconf 2.59. Invocation command line was
1188 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1189 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1190 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1191 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1192 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1194 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1195 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1197 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1198 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1199 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1200 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1201 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1202 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1203 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1211 test -z "$as_dir" && as_dir=.
1212 echo "PATH: $as_dir"
1227 # Keep a trace of the command line.
1228 # Strip out --no-create and --no-recursion so they do not pile up.
1229 # Strip out --silent because we don't want to record it for future runs.
1230 # Also quote any args containing shell meta-characters.
1231 # Make two passes to allow for proper duplicate-argument suppression.
1236 ac_must_keep_next=false
1242 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1244 | -silent | --silent | --silen | --sile | --sil)
1246 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1247 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1250 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1252 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1253 if test $ac_must_keep_next = true; then
1254 ac_must_keep_next=false # Got value, back to normal.
1257 *=* | --config-cache | -C | -disable-* | --disable-* \
1258 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1259 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1260 | -with-* | --with-* | -without-* | --without-* | --x)
1261 case "$ac_configure_args0 " in
1262 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1265 -* ) ac_must_keep_next=true ;;
1268 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1269 # Get rid of the leading space.
1275 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1276 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1278 # When interrupted or exit'd, cleanup temporary files, and complete
1279 # config.log. We remove comments because anyway the quotes in there
1280 # would cause problems or look ugly.
1281 # WARNING: Be sure not to use single quotes in there, as some shells,
1282 # such as our DU 5.0 friend, will then `close
' the trap.
1283 trap 'exit_status
=$?
1284 # Save into config.log some information that might help in debugging.
1289 ## ---------------- ##
1290 ## Cache variables. ##
1291 ## ---------------- ##
1294 # The following way of writing the cache mishandles newlines in values,
1297 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1300 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1305 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1312 ## ----------------- ##
1313 ## Output variables. ##
1314 ## ----------------- ##
1317 for ac_var
in $ac_subst_vars
1319 eval ac_val
=$
`echo $ac_var`
1320 echo "$ac_var='"'"'$ac_val'"'"'"
1324 if test -n "$ac_subst_files"; then
1331 for ac_var
in $ac_subst_files
1333 eval ac_val
=$
`echo $ac_var`
1334 echo "$ac_var='"'"'$ac_val'"'"'"
1339 if test -s confdefs.h
; then
1346 sed "/^$/d" confdefs.h |
sort
1349 test "$ac_signal" != 0 &&
1350 echo "$as_me: caught signal $ac_signal"
1351 echo "$as_me: exit $exit_status"
1353 rm -f core
*.core
&&
1354 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1357 for ac_signal in 1 2 13 15; do
1358 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1362 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1363 rm -rf conftest* confdefs.h
1364 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1367 # Predefined preprocessor variables.
1369 cat >>confdefs.h <<_ACEOF
1370 #define PACKAGE_NAME "$PACKAGE_NAME"
1374 cat >>confdefs.h <<_ACEOF
1375 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1379 cat >>confdefs.h <<_ACEOF
1380 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1384 cat >>confdefs.h <<_ACEOF
1385 #define PACKAGE_STRING "$PACKAGE_STRING"
1389 cat >>confdefs.h <<_ACEOF
1390 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1394 # Let the site file select an alternate cache file if it wants to.
1395 # Prefer explicitly selected file to automatically selected ones.
1396 if test -z "$CONFIG_SITE"; then
1397 if test "x$prefix" != xNONE; then
1398 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1400 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1403 for ac_site_file in $CONFIG_SITE; do
1404 if test -r "$ac_site_file"; then
1405 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1406 echo "$as_me: loading site script $ac_site_file" >&6;}
1407 sed 's
/^
/|
/' "$ac_site_file" >&5
1412 if test -r "$cache_file"; then
1413 # Some versions of bash will fail to source /dev/null (special
1414 # files actually), so we avoid doing that.
1415 if test -f "$cache_file"; then
1416 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1417 echo "$as_me: loading cache $cache_file" >&6;}
1419 [\\/]* | ?:[\\/]* ) . $cache_file;;
1420 *) . ./$cache_file;;
1424 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1425 echo "$as_me: creating cache $cache_file" >&6;}
1429 # Check that the precious variables saved in the cache have kept the same
1431 ac_cache_corrupted=false
1432 for ac_var in `(set) 2>&1 |
1433 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1434 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1435 eval ac_new_set=\$ac_env_${ac_var}_set
1436 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1437 eval ac_new_val="\$ac_env_${ac_var}_value"
1438 case $ac_old_set,$ac_new_set in
1440 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1441 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1442 ac_cache_corrupted=: ;;
1444 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1445 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1446 ac_cache_corrupted=: ;;
1449 if test "x$ac_old_val" != "x$ac_new_val"; then
1450 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1451 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1452 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1453 echo "$as_me: former value: $ac_old_val" >&2;}
1454 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1455 echo "$as_me: current value: $ac_new_val" >&2;}
1456 ac_cache_corrupted=:
1459 # Pass precious variables to config.status.
1460 if test "$ac_new_set" = set; then
1462 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1463 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1464 *) ac_arg=$ac_var=$ac_new_val ;;
1466 case " $ac_configure_args " in
1467 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1468 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1472 if $ac_cache_corrupted; then
1473 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1474 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1475 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1476 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1477 { (exit 1); exit 1; }; }
1481 ac_cpp='$CPP $CPPFLAGS'
1482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1483 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1513 >confdefs.h # Kill PACKAGE_ macros
1516 am__api_version="1.9"
1518 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1519 if test -f $ac_dir/install-sh; then
1521 ac_install_sh="$ac_aux_dir/install-sh -c"
1523 elif test -f $ac_dir/install.sh; then
1525 ac_install_sh="$ac_aux_dir/install.sh -c"
1527 elif test -f $ac_dir/shtool; then
1529 ac_install_sh="$ac_aux_dir/shtool install -c"
1533 if test -z "$ac_aux_dir"; then
1534 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1535 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1536 { (exit 1); exit 1; }; }
1538 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1539 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1540 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1542 # Find a good install program. We prefer a C program (faster),
1543 # so one script is as good as another. But avoid the broken or
1544 # incompatible versions:
1545 # SysV /etc/install, /usr/sbin/install
1546 # SunOS /usr/etc/install
1547 # IRIX /sbin/install
1549 # AmigaOS /C/install, which installs bootblocks on floppy discs
1550 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1551 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1552 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1553 # OS/2's system install, which has a completely different semantic
1554 # ./install, which can be erroneously created by make from ./install.sh.
1555 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1556 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1557 if test -z "$INSTALL"; then
1558 if test "${ac_cv_path_install+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1565 test -z "$as_dir" && as_dir
=.
1566 # Account for people who put trailing slashes in PATH elements.
1568 .
/ | .
// |
/cC
/* | \
1569 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1570 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1573 # OSF1 and SCO ODT 3.0 have their own names for install.
1574 # Don't use installbsd from OSF since it installs stuff as root
1576 for ac_prog
in ginstall scoinst
install; do
1577 for ac_exec_ext
in '' $ac_executable_extensions; do
1578 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1579 if test $ac_prog = install &&
1580 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1581 # AIX install. It has an incompatible calling convention.
1583 elif test $ac_prog = install &&
1584 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1585 # program-specific install script used by HP pwplus--don't use.
1588 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1600 if test "${ac_cv_path_install+set}" = set; then
1601 INSTALL
=$ac_cv_path_install
1603 # As a last resort, use the slow shell script. We don't cache a
1604 # path for INSTALL within a source directory, because that will
1605 # break other packages using the cache if that directory is
1606 # removed, or if the path is relative.
1607 INSTALL
=$ac_install_sh
1610 echo "$as_me:$LINENO: result: $INSTALL" >&5
1611 echo "${ECHO_T}$INSTALL" >&6
1613 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1614 # It thinks the first close brace ends the variable substitution.
1615 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1617 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1619 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1621 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1622 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1625 echo timestamp
> conftest.
file
1626 # Do `set' in a subshell so we don't clobber the current shell's
1627 # arguments. Must try -L first in case configure is actually a
1628 # symlink; some systems play weird games with the mod time of symlinks
1629 # (eg FreeBSD returns the mod time of the symlink's containing
1632 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1633 if test "$*" = "X"; then
1635 set X
`ls -t $srcdir/configure conftest.file`
1638 if test "$*" != "X $srcdir/configure conftest.file" \
1639 && test "$*" != "X conftest.file $srcdir/configure"; then
1641 # If neither matched, then we have a broken ls. This can happen
1642 # if, for instance, CONFIG_SHELL is bash and it inherits a
1643 # broken ls alias from the environment. This has actually
1644 # happened. Such a system could not be considered "sane".
1645 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1646 alias in your environment" >&5
1647 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1648 alias in your environment" >&2;}
1649 { (exit 1); exit 1; }; }
1652 test "$2" = conftest.
file
1658 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1659 Check your system clock" >&5
1660 echo "$as_me: error: newly created file is older than distributed files!
1661 Check your system clock" >&2;}
1662 { (exit 1); exit 1; }; }
1664 echo "$as_me:$LINENO: result: yes" >&5
1665 echo "${ECHO_T}yes" >&6
1666 test "$program_prefix" != NONE
&&
1667 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1668 # Use a double $ so make ignores it.
1669 test "$program_suffix" != NONE
&&
1670 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1671 # Double any \ or $. echo might interpret backslashes.
1672 # By default was `s,x,x', remove it if useless.
1673 cat <<\_ACEOF
>conftest.
sed
1674 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1676 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1679 # expand $ac_aux_dir to an absolute path
1680 am_aux_dir
=`cd $ac_aux_dir && pwd`
1682 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1683 # Use eval to expand $SHELL
1684 if eval "$MISSING --run true"; then
1685 am_missing_run
="$MISSING --run "
1688 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1689 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1692 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1693 # We used to keeping the `.' as first argument, in order to
1694 # allow $(mkdir_p) to be used without argument. As in
1695 # $(mkdir_p) $(somedir)
1696 # where $(somedir) is conditionally defined. However this is wrong
1698 # 1. if the package is installed by a user who cannot write `.'
1699 # make install will fail,
1700 # 2. the above comment should most certainly read
1701 # $(mkdir_p) $(DESTDIR)$(somedir)
1702 # so it does not work when $(somedir) is undefined and
1703 # $(DESTDIR) is not.
1704 # To support the latter case, we have to write
1705 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1706 # so the `.' trick is pointless.
1707 mkdir_p
='mkdir -p --'
1709 # On NextStep and OpenStep, the `mkdir' command does not
1710 # recognize any option. It will interpret all options as
1711 # directories to create, and then abort because `.' already
1713 for d
in .
/-p .
/--version;
1715 test -d $d && rmdir $d
1717 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1718 if test -f "$ac_aux_dir/mkinstalldirs"; then
1719 mkdir_p
='$(mkinstalldirs)'
1721 mkdir_p
='$(install_sh) -d'
1725 for ac_prog
in gawk mawk nawk
awk
1727 # Extract the first word of "$ac_prog", so it can be a program name with args.
1728 set dummy
$ac_prog; ac_word
=$2
1729 echo "$as_me:$LINENO: checking for $ac_word" >&5
1730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1731 if test "${ac_cv_prog_AWK+set}" = set; then
1732 echo $ECHO_N "(cached) $ECHO_C" >&6
1734 if test -n "$AWK"; then
1735 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1741 test -z "$as_dir" && as_dir
=.
1742 for ac_exec_ext
in '' $ac_executable_extensions; do
1743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1744 ac_cv_prog_AWK
="$ac_prog"
1745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1754 if test -n "$AWK"; then
1755 echo "$as_me:$LINENO: result: $AWK" >&5
1756 echo "${ECHO_T}$AWK" >&6
1758 echo "$as_me:$LINENO: result: no" >&5
1759 echo "${ECHO_T}no" >&6
1762 test -n "$AWK" && break
1765 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1766 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1767 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1768 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 cat >conftest.
make <<\_ACEOF
1773 @
echo 'ac_maketemp="$(MAKE)"'
1775 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1776 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1777 if test -n "$ac_maketemp"; then
1778 eval ac_cv_prog_make_
${ac_make}_set
=yes
1780 eval ac_cv_prog_make_
${ac_make}_set
=no
1784 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1785 echo "$as_me:$LINENO: result: yes" >&5
1786 echo "${ECHO_T}yes" >&6
1789 echo "$as_me:$LINENO: result: no" >&5
1790 echo "${ECHO_T}no" >&6
1791 SET_MAKE
="MAKE=${MAKE-make}"
1794 rm -rf .tst
2>/dev
/null
1795 mkdir .tst
2>/dev
/null
1796 if test -d .tst
; then
1801 rmdir .tst
2>/dev
/null
1803 # test to see if srcdir already configured
1804 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1805 test -f $srcdir/config.status
; then
1806 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1807 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1808 { (exit 1); exit 1; }; }
1811 # test whether we have cygpath
1812 if test -z "$CYGPATH_W"; then
1813 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1814 CYGPATH_W
='cygpath -w'
1821 # Define the identity of the package.
1826 # Some tools Automake needs.
1828 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1831 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1834 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1837 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1840 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1842 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1844 # Installed binaries are usually stripped using `strip' when the user
1845 # run `make install-strip'. However `strip' might not be the right
1846 # tool to use in cross-compilation environments, therefore Automake
1847 # will honor the `STRIP' environment variable to overrule this program.
1848 if test "$cross_compiling" != no
; then
1849 if test -n "$ac_tool_prefix"; then
1850 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1851 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1852 echo "$as_me:$LINENO: checking for $ac_word" >&5
1853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1854 if test "${ac_cv_prog_STRIP+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1857 if test -n "$STRIP"; then
1858 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir
=.
1865 for ac_exec_ext
in '' $ac_executable_extensions; do
1866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1876 STRIP
=$ac_cv_prog_STRIP
1877 if test -n "$STRIP"; then
1878 echo "$as_me:$LINENO: result: $STRIP" >&5
1879 echo "${ECHO_T}$STRIP" >&6
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1886 if test -z "$ac_cv_prog_STRIP"; then
1888 # Extract the first word of "strip", so it can be a program name with args.
1889 set dummy strip
; ac_word
=$2
1890 echo "$as_me:$LINENO: checking for $ac_word" >&5
1891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1892 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 if test -n "$ac_ct_STRIP"; then
1896 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir
=.
1903 for ac_exec_ext
in '' $ac_executable_extensions; do
1904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1905 ac_cv_prog_ac_ct_STRIP
="strip"
1906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1912 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1915 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1916 if test -n "$ac_ct_STRIP"; then
1917 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1918 echo "${ECHO_T}$ac_ct_STRIP" >&6
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1926 STRIP
="$ac_cv_prog_STRIP"
1930 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1932 # We need awk for the "check" target. The system "awk" is bad on
1934 # Always define AMTAR for backward compatibility.
1936 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1938 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1946 ac_config_headers
="$ac_config_headers config.h"
1949 for ac_prog
in gawk mawk nawk
awk
1951 # Extract the first word of "$ac_prog", so it can be a program name with args.
1952 set dummy
$ac_prog; ac_word
=$2
1953 echo "$as_me:$LINENO: checking for $ac_word" >&5
1954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1955 if test "${ac_cv_prog_AWK+set}" = set; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1958 if test -n "$AWK"; then
1959 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1965 test -z "$as_dir" && as_dir
=.
1966 for ac_exec_ext
in '' $ac_executable_extensions; do
1967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1968 ac_cv_prog_AWK
="$ac_prog"
1969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 if test -n "$AWK"; then
1979 echo "$as_me:$LINENO: result: $AWK" >&5
1980 echo "${ECHO_T}$AWK" >&6
1982 echo "$as_me:$LINENO: result: no" >&5
1983 echo "${ECHO_T}no" >&6
1986 test -n "$AWK" && break
1989 # Find a good install program. We prefer a C program (faster),
1990 # so one script is as good as another. But avoid the broken or
1991 # incompatible versions:
1992 # SysV /etc/install, /usr/sbin/install
1993 # SunOS /usr/etc/install
1994 # IRIX /sbin/install
1996 # AmigaOS /C/install, which installs bootblocks on floppy discs
1997 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1998 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1999 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2000 # OS/2's system install, which has a completely different semantic
2001 # ./install, which can be erroneously created by make from ./install.sh.
2002 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2003 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2004 if test -z "$INSTALL"; then
2005 if test "${ac_cv_path_install+set}" = set; then
2006 echo $ECHO_N "(cached) $ECHO_C" >&6
2008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir
=.
2013 # Account for people who put trailing slashes in PATH elements.
2015 .
/ | .
// |
/cC
/* | \
2016 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2017 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2020 # OSF1 and SCO ODT 3.0 have their own names for install.
2021 # Don't use installbsd from OSF since it installs stuff as root
2023 for ac_prog
in ginstall scoinst
install; do
2024 for ac_exec_ext
in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2026 if test $ac_prog = install &&
2027 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2028 # AIX install. It has an incompatible calling convention.
2030 elif test $ac_prog = install &&
2031 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2032 # program-specific install script used by HP pwplus--don't use.
2035 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2047 if test "${ac_cv_path_install+set}" = set; then
2048 INSTALL
=$ac_cv_path_install
2050 # As a last resort, use the slow shell script. We don't cache a
2051 # path for INSTALL within a source directory, because that will
2052 # break other packages using the cache if that directory is
2053 # removed, or if the path is relative.
2054 INSTALL
=$ac_install_sh
2057 echo "$as_me:$LINENO: result: $INSTALL" >&5
2058 echo "${ECHO_T}$INSTALL" >&6
2060 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2061 # It thinks the first close brace ends the variable substitution.
2062 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2064 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2066 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2068 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2069 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2071 if test "$LN_S" = "ln -s"; then
2072 echo "$as_me:$LINENO: result: yes" >&5
2073 echo "${ECHO_T}yes" >&6
2075 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2076 echo "${ECHO_T}no, using $LN_S" >&6
2080 ac_cpp
='$CPP $CPPFLAGS'
2081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2084 if test -n "$ac_tool_prefix"; then
2085 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2086 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2087 echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2089 if test "${ac_cv_prog_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 if test -n "$CC"; then
2093 ac_cv_prog_CC
="$CC" # Let the user override the test.
2095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2099 test -z "$as_dir" && as_dir
=.
2100 for ac_exec_ext
in '' $ac_executable_extensions; do
2101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2102 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112 if test -n "$CC"; then
2113 echo "$as_me:$LINENO: result: $CC" >&5
2114 echo "${ECHO_T}$CC" >&6
2116 echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6
2121 if test -z "$ac_cv_prog_CC"; then
2123 # Extract the first word of "gcc", so it can be a program name with args.
2124 set dummy gcc
; ac_word
=$2
2125 echo "$as_me:$LINENO: checking for $ac_word" >&5
2126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2127 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 if test -n "$ac_ct_CC"; then
2131 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2137 test -z "$as_dir" && as_dir
=.
2138 for ac_exec_ext
in '' $ac_executable_extensions; do
2139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2140 ac_cv_prog_ac_ct_CC
="gcc"
2141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2149 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2150 if test -n "$ac_ct_CC"; then
2151 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2152 echo "${ECHO_T}$ac_ct_CC" >&6
2154 echo "$as_me:$LINENO: result: no" >&5
2155 echo "${ECHO_T}no" >&6
2163 if test -z "$CC"; then
2164 if test -n "$ac_tool_prefix"; then
2165 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2166 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2167 echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2169 if test "${ac_cv_prog_CC+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC
="$CC" # Let the user override the test.
2175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir
=.
2180 for ac_exec_ext
in '' $ac_executable_extensions; do
2181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2182 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 if test -n "$CC"; then
2193 echo "$as_me:$LINENO: result: $CC" >&5
2194 echo "${ECHO_T}$CC" >&6
2196 echo "$as_me:$LINENO: result: no" >&5
2197 echo "${ECHO_T}no" >&6
2201 if test -z "$ac_cv_prog_CC"; then
2203 # Extract the first word of "cc", so it can be a program name with args.
2204 set dummy cc
; ac_word
=$2
2205 echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2207 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 if test -n "$ac_ct_CC"; then
2211 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2217 test -z "$as_dir" && as_dir
=.
2218 for ac_exec_ext
in '' $ac_executable_extensions; do
2219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2220 ac_cv_prog_ac_ct_CC
="cc"
2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2230 if test -n "$ac_ct_CC"; then
2231 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2232 echo "${ECHO_T}$ac_ct_CC" >&6
2234 echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6
2244 if test -z "$CC"; then
2245 # Extract the first word of "cc", so it can be a program name with args.
2246 set dummy cc
; ac_word
=$2
2247 echo "$as_me:$LINENO: checking for $ac_word" >&5
2248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2249 if test "${ac_cv_prog_CC+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 if test -n "$CC"; then
2253 ac_cv_prog_CC
="$CC" # Let the user override the test.
2256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2260 test -z "$as_dir" && as_dir
=.
2261 for ac_exec_ext
in '' $ac_executable_extensions; do
2262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2263 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2264 ac_prog_rejected
=yes
2268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 if test $ac_prog_rejected = yes; then
2275 # We found a bogon in the path, so make sure we never use it.
2276 set dummy
$ac_cv_prog_CC
2278 if test $# != 0; then
2279 # We chose a different compiler from the bogus one.
2280 # However, it has the same basename, so the bogon will be chosen
2281 # first if we set CC to just the basename; use the full file name.
2283 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2289 if test -n "$CC"; then
2290 echo "$as_me:$LINENO: result: $CC" >&5
2291 echo "${ECHO_T}$CC" >&6
2293 echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6
2298 if test -z "$CC"; then
2299 if test -n "$ac_tool_prefix"; then
2302 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2303 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2304 echo "$as_me:$LINENO: checking for $ac_word" >&5
2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2306 if test "${ac_cv_prog_CC+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 if test -n "$CC"; then
2310 ac_cv_prog_CC
="$CC" # Let the user override the test.
2312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir
=.
2317 for ac_exec_ext
in '' $ac_executable_extensions; do
2318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2319 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 if test -n "$CC"; then
2330 echo "$as_me:$LINENO: result: $CC" >&5
2331 echo "${ECHO_T}$CC" >&6
2333 echo "$as_me:$LINENO: result: no" >&5
2334 echo "${ECHO_T}no" >&6
2337 test -n "$CC" && break
2340 if test -z "$CC"; then
2344 # Extract the first word of "$ac_prog", so it can be a program name with args.
2345 set dummy
$ac_prog; ac_word
=$2
2346 echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2348 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 if test -n "$ac_ct_CC"; then
2352 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir
=.
2359 for ac_exec_ext
in '' $ac_executable_extensions; do
2360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2361 ac_cv_prog_ac_ct_CC
="$ac_prog"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2371 if test -n "$ac_ct_CC"; then
2372 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2373 echo "${ECHO_T}$ac_ct_CC" >&6
2375 echo "$as_me:$LINENO: result: no" >&5
2376 echo "${ECHO_T}no" >&6
2379 test -n "$ac_ct_CC" && break
2388 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2389 See \`config.log' for more details." >&5
2390 echo "$as_me: error: no acceptable C compiler found in \$PATH
2391 See \`config.log' for more details." >&2;}
2392 { (exit 1); exit 1; }; }
2394 # Provide some information about the compiler.
2395 echo "$as_me:$LINENO:" \
2396 "checking for C compiler version" >&5
2397 ac_compiler
=`set X $ac_compile; echo $2`
2398 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2399 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }
2403 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2404 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); }
2408 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2409 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }
2414 cat >conftest.
$ac_ext <<_ACEOF
2417 cat confdefs.h
>>conftest.
$ac_ext
2418 cat >>conftest.
$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2429 ac_clean_files_save
=$ac_clean_files
2430 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2431 # Try to create an executable without -o first, disregard a.out.
2432 # It will help us diagnose broken compilers, and finding out an intuition
2434 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2435 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2436 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2437 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2438 (eval $ac_link_default) 2>&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; then
2442 # Find the output, starting from the most likely. This scheme is
2443 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2446 # Be careful to initialize this variable, since it used to be cached.
2447 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2449 # b.out is created by i960 compilers.
2450 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2452 test -f "$ac_file" ||
continue
2454 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2457 # This is the source file.
2460 # We found the default executable, but exeext='' is most
2464 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2465 # FIXME: I believe we export ac_cv_exeext for Libtool,
2466 # but it would be cool to find out if it's true. Does anybody
2467 # maintain Libtool? --akim.
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.
$ac_ext >&5
2478 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&2;}
2482 { (exit 77); exit 77; }; }
2485 ac_exeext
=$ac_cv_exeext
2486 echo "$as_me:$LINENO: result: $ac_file" >&5
2487 echo "${ECHO_T}$ac_file" >&6
2489 # Check the compiler produces executables we can run. If not, either
2490 # the compiler is broken, or we cross compile.
2491 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2492 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2493 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2494 # If not cross compiling, check that we can run a simple program.
2495 if test "$cross_compiling" != yes; then
2496 if { ac_try
='./$ac_file'
2497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); }; }; then
2504 if test "$cross_compiling" = maybe
; then
2507 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2508 If you meant to cross compile, use \`--host'.
2509 See \`config.log' for more details." >&5
2510 echo "$as_me: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details." >&2;}
2513 { (exit 1); exit 1; }; }
2517 echo "$as_me:$LINENO: result: yes" >&5
2518 echo "${ECHO_T}yes" >&6
2520 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2521 ac_clean_files
=$ac_clean_files_save
2522 # Check the compiler produces executables we can run. If not, either
2523 # the compiler is broken, or we cross compile.
2524 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2525 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2526 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2527 echo "${ECHO_T}$cross_compiling" >&6
2529 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2530 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2532 (eval $ac_link) 2>&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; then
2536 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2537 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2538 # work properly (i.e., refer to `conftest.exe'), while it won't with
2540 for ac_file
in conftest.exe conftest conftest.
*; do
2541 test -f "$ac_file" ||
continue
2543 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2544 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2551 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2552 See \`config.log' for more details." >&5
2553 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2554 See \`config.log' for more details." >&2;}
2555 { (exit 1); exit 1; }; }
2558 rm -f conftest
$ac_cv_exeext
2559 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2560 echo "${ECHO_T}$ac_cv_exeext" >&6
2562 rm -f conftest.
$ac_ext
2563 EXEEXT
=$ac_cv_exeext
2565 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2566 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2567 if test "${ac_cv_objext+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 cat >conftest.
$ac_ext <<_ACEOF
2573 cat confdefs.h
>>conftest.
$ac_ext
2574 cat >>conftest.
$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2585 rm -f conftest.o conftest.obj
2586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2587 (eval $ac_compile) 2>&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; then
2591 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2593 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2594 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2599 echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.
$ac_ext >&5
2602 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2603 See \`config.log' for more details." >&5
2604 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2605 See \`config.log' for more details." >&2;}
2606 { (exit 1); exit 1; }; }
2609 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2611 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2612 echo "${ECHO_T}$ac_cv_objext" >&6
2613 OBJEXT
=$ac_cv_objext
2615 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2616 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2617 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2618 echo $ECHO_N "(cached) $ECHO_C" >&6
2620 cat >conftest.
$ac_ext <<_ACEOF
2623 cat confdefs.h
>>conftest.
$ac_ext
2624 cat >>conftest.
$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2638 rm -f conftest.
$ac_objext
2639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2640 (eval $ac_compile) 2>conftest.er1
2642 grep -v '^ *+' conftest.er1
>conftest.err
2644 cat conftest.err
>&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); } &&
2647 { ac_try
='test -z "$ac_c_werror_flag"
2648 || test ! -s conftest.err'
2649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; } &&
2654 { ac_try
='test -s conftest.$ac_objext'
2655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; }; then
2662 echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.
$ac_ext >&5
2667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2668 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2671 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2672 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2673 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2674 ac_test_CFLAGS
=${CFLAGS+set}
2675 ac_save_CFLAGS
=$CFLAGS
2677 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2678 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2679 if test "${ac_cv_prog_cc_g+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 cat >conftest.
$ac_ext <<_ACEOF
2685 cat confdefs.h
>>conftest.
$ac_ext
2686 cat >>conftest.
$ac_ext <<_ACEOF
2687 /* end confdefs.h. */
2697 rm -f conftest.
$ac_objext
2698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2699 (eval $ac_compile) 2>conftest.er1
2701 grep -v '^ *+' conftest.er1
>conftest.err
2703 cat conftest.err
>&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); } &&
2706 { ac_try
='test -z "$ac_c_werror_flag"
2707 || test ! -s conftest.err'
2708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }; } &&
2713 { ac_try
='test -s conftest.$ac_objext'
2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; }; then
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.
$ac_ext >&5
2726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2728 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2729 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2730 if test "$ac_test_CFLAGS" = set; then
2731 CFLAGS
=$ac_save_CFLAGS
2732 elif test $ac_cv_prog_cc_g = yes; then
2733 if test "$GCC" = yes; then
2739 if test "$GCC" = yes; then
2745 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2746 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2747 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 ac_cv_prog_cc_stdc
=no
2752 cat >conftest.
$ac_ext <<_ACEOF
2755 cat confdefs.h
>>conftest.
$ac_ext
2756 cat >>conftest.
$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2760 #include <sys/types.h>
2761 #include <sys/stat.h>
2762 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2763 struct buf { int x; };
2764 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2765 static char *e (p, i)
2771 static char *f (char * (*g) (char **, int), char **p, ...)
2776 s = g (p, va_arg (v,int));
2781 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2782 function prototypes and stuff, but not '\xHH' hex character constants.
2783 These don't provoke an error unfortunately, instead are silently treated
2784 as 'x'. The following induces an error, until -std1 is added to get
2785 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2786 array size at least. It's necessary to write '\x00'==0 to get something
2787 that's true only with -std1. */
2788 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2790 int test (int i, double x);
2791 struct s1 {int (*f) (int a);};
2792 struct s2 {int (*f) (double a);};
2793 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2799 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2804 # Don't try gcc -ansi; that turns off useful extensions and
2805 # breaks some systems' header files.
2806 # AIX -qlanglvl=ansi
2807 # Ultrix and OSF/1 -std1
2808 # HP-UX 10.20 and later -Ae
2809 # HP-UX older versions -Aa -D_HPUX_SOURCE
2810 # SVR4 -Xc -D__EXTENSIONS__
2811 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2813 CC
="$ac_save_CC $ac_arg"
2814 rm -f conftest.
$ac_objext
2815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2816 (eval $ac_compile) 2>conftest.er1
2818 grep -v '^ *+' conftest.er1
>conftest.err
2820 cat conftest.err
>&5
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); } &&
2823 { ac_try
='test -z "$ac_c_werror_flag"
2824 || test ! -s conftest.err'
2825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }; } &&
2830 { ac_try
='test -s conftest.$ac_objext'
2831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; }; then
2836 ac_cv_prog_cc_stdc
=$ac_arg
2839 echo "$as_me: failed program was:" >&5
2840 sed 's/^/| /' conftest.
$ac_ext >&5
2843 rm -f conftest.err conftest.
$ac_objext
2845 rm -f conftest.
$ac_ext conftest.
$ac_objext
2850 case "x$ac_cv_prog_cc_stdc" in
2852 echo "$as_me:$LINENO: result: none needed" >&5
2853 echo "${ECHO_T}none needed" >&6 ;;
2855 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2856 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2857 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2860 # Some people use a C++ compiler to compile C. Since we use `exit',
2861 # in C++ we need to declare it. In case someone uses the same compiler
2862 # for both compiling C and C++ we need to have the C++ compiler decide
2863 # the declaration of exit, since it's the most demanding environment.
2864 cat >conftest.
$ac_ext <<_ACEOF
2869 rm -f conftest.
$ac_objext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>conftest.er1
2873 grep -v '^ *+' conftest.er1
>conftest.err
2875 cat conftest.err
>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try
='test -z "$ac_c_werror_flag"
2879 || test ! -s conftest.err'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; } &&
2885 { ac_try
='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2891 for ac_declaration
in \
2893 'extern "C" void std::exit (int) throw (); using std::exit;' \
2894 'extern "C" void std::exit (int); using std::exit;' \
2895 'extern "C" void exit (int) throw ();' \
2896 'extern "C" void exit (int);' \
2899 cat >conftest.
$ac_ext <<_ACEOF
2902 cat confdefs.h
>>conftest.
$ac_ext
2903 cat >>conftest.
$ac_ext <<_ACEOF
2904 /* end confdefs.h. */
2915 rm -f conftest.
$ac_objext
2916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2917 (eval $ac_compile) 2>conftest.er1
2919 grep -v '^ *+' conftest.er1
>conftest.err
2921 cat conftest.err
>&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); } &&
2924 { ac_try
='test -z "$ac_c_werror_flag"
2925 || test ! -s conftest.err'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; } &&
2931 { ac_try
='test -s conftest.$ac_objext'
2932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; }; then
2939 echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.
$ac_ext >&5
2944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2945 cat >conftest.
$ac_ext <<_ACEOF
2948 cat confdefs.h
>>conftest.
$ac_ext
2949 cat >>conftest.
$ac_ext <<_ACEOF
2950 /* end confdefs.h. */
2960 rm -f conftest.
$ac_objext
2961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2962 (eval $ac_compile) 2>conftest.er1
2964 grep -v '^ *+' conftest.er1
>conftest.err
2966 cat conftest.err
>&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); } &&
2969 { ac_try
='test -z "$ac_c_werror_flag"
2970 || test ! -s conftest.err'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; } &&
2976 { ac_try
='test -s conftest.$ac_objext'
2977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; }; then
2984 echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.
$ac_ext >&5
2988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2991 if test -n "$ac_declaration"; then
2992 echo '#ifdef __cplusplus' >>confdefs.h
2993 echo $ac_declaration >>confdefs.h
2994 echo '#endif' >>confdefs.h
2998 echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.
$ac_ext >&5
3002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3004 ac_cpp
='$CPP $CPPFLAGS'
3005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3008 DEPDIR
="${am__leading_dot}deps"
3010 ac_config_commands
="$ac_config_commands depfiles"
3013 am_make
=${MAKE-make}
3014 cat > confinc
<< 'END'
3019 # If we don't find an include directive, just comment out the code.
3020 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3021 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3025 # First try GNU make style include.
3026 echo "include confinc" > confmf
3027 # We grep out `Entering directory' and `Leaving directory'
3028 # messages which can occur if `w' ends up in MAKEFLAGS.
3029 # In particular we don't look at `^make:' because GNU make might
3030 # be invoked under some other name (usually "gmake"), in which
3031 # case it prints its new name instead of `make'.
3032 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3037 # Now try BSD make style include.
3038 if test "$am__include" = "#"; then
3039 echo '.include "confinc"' > confmf
3040 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3041 am__include
=.include
3048 echo "$as_me:$LINENO: result: $_am_result" >&5
3049 echo "${ECHO_T}$_am_result" >&6
3050 rm -f confinc confmf
3052 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3053 if test "${enable_dependency_tracking+set}" = set; then
3054 enableval
="$enable_dependency_tracking"
3057 if test "x$enable_dependency_tracking" != xno
; then
3058 am_depcomp
="$ac_aux_dir/depcomp"
3063 if test "x$enable_dependency_tracking" != xno; then
3074 depcc
="$CC" am_compiler_list
=
3076 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3077 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3078 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3082 # We make a subdir and do the tests there. Otherwise we can end up
3083 # making bogus files that we don't know about and never remove. For
3084 # instance it was reported that on HP-UX the gcc test will end up
3085 # making a dummy file named `D' -- because `-MD' means `put the output
3088 # Copy depcomp to subdir because otherwise we won't find it if we're
3089 # using a relative directory.
3090 cp "$am_depcomp" conftest.dir
3092 # We will build objects and dependencies in a subdirectory because
3093 # it helps to detect inapplicable dependency modes. For instance
3094 # both Tru64's cc and ICC support -MD to output dependencies as a
3095 # side effect of compilation, but ICC will put the dependencies in
3096 # the current directory while Tru64 will put them in the object
3100 am_cv_CC_dependencies_compiler_type
=none
3101 if test "$am_compiler_list" = ""; then
3102 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3104 for depmode
in $am_compiler_list; do
3105 # Setup a source with many dependencies, because some compilers
3106 # like to wrap large dependency lists on column 80 (with \), and
3107 # we should not choose a depcomp mode which is confused by this.
3109 # We need to recreate these files for each test, as the compiler may
3110 # overwrite some of them when testing with obscure command lines.
3111 # This happens at least with the AIX C compiler.
3113 for i
in 1 2 3 4 5 6; do
3114 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3115 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3116 # Solaris 8's {/usr,}/bin/sh.
3117 touch sub
/conftst
$i.h
3119 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3123 # after this tag, mechanisms are not by side-effect, so they'll
3124 # only be used when explicitly requested
3125 if test "x$enable_dependency_tracking" = xyes
; then
3133 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3134 # mode. It turns out that the SunPro C++ compiler does not properly
3135 # handle `-M -o', and we need to detect this.
3136 if depmode
=$depmode \
3137 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3138 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3139 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3140 >/dev
/null
2>conftest.err
&&
3141 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3142 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3143 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3144 # icc doesn't choke on unknown options, it will just issue warnings
3145 # or remarks (even with -Werror). So we grep stderr for any message
3146 # that says an option was ignored or not supported.
3147 # When given -MP, icc 7.0 and 7.1 complain thusly:
3148 # icc: Command line warning: ignoring option '-M'; no argument required
3149 # The diagnosis changed in icc 8.0:
3150 # icc: Command line remark: option '-MP' not supported
3151 if (grep 'ignoring option' conftest.err ||
3152 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3153 am_cv_CC_dependencies_compiler_type
=$depmode
3162 am_cv_CC_dependencies_compiler_type
=none
3166 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3167 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3168 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3173 test "x$enable_dependency_tracking" != xno \
3174 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3176 am__fastdepCC_FALSE
='#'
3178 am__fastdepCC_TRUE
='#'
3179 am__fastdepCC_FALSE
=
3183 # Check whether --enable-shared or --disable-shared was given.
3184 if test "${enable_shared+set}" = set; then
3185 enableval
="$enable_shared"
3186 p
=${PACKAGE-default}
3188 yes) enable_shared
=yes ;;
3189 no
) enable_shared
=no
;;
3192 # Look at the argument we got. We use all the common list separators.
3193 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3194 for pkg
in $enableval; do
3196 if test "X$pkg" = "X$p"; then
3207 # Check whether --enable-static or --disable-static was given.
3208 if test "${enable_static+set}" = set; then
3209 enableval
="$enable_static"
3210 p
=${PACKAGE-default}
3212 yes) enable_static
=yes ;;
3213 no
) enable_static
=no
;;
3216 # Look at the argument we got. We use all the common list separators.
3217 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3218 for pkg
in $enableval; do
3220 if test "X$pkg" = "X$p"; then
3231 # Check whether --enable-fast-install or --disable-fast-install was given.
3232 if test "${enable_fast_install+set}" = set; then
3233 enableval
="$enable_fast_install"
3234 p
=${PACKAGE-default}
3236 yes) enable_fast_install
=yes ;;
3237 no
) enable_fast_install
=no
;;
3239 enable_fast_install
=no
3240 # Look at the argument we got. We use all the common list separators.
3241 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3242 for pkg
in $enableval; do
3244 if test "X$pkg" = "X$p"; then
3245 enable_fast_install
=yes
3252 enable_fast_install
=yes
3255 # Make sure we can run config.sub.
3256 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3257 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3258 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3259 { (exit 1); exit 1; }; }
3261 echo "$as_me:$LINENO: checking build system type" >&5
3262 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3263 if test "${ac_cv_build+set}" = set; then
3264 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 ac_cv_build_alias
=$build_alias
3267 test -z "$ac_cv_build_alias" &&
3268 ac_cv_build_alias
=`$ac_config_guess`
3269 test -z "$ac_cv_build_alias" &&
3270 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3271 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3272 { (exit 1); exit 1; }; }
3273 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3274 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3275 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3276 { (exit 1); exit 1; }; }
3279 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3280 echo "${ECHO_T}$ac_cv_build" >&6
3282 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3283 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3284 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3287 echo "$as_me:$LINENO: checking host system type" >&5
3288 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3289 if test "${ac_cv_host+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 ac_cv_host_alias
=$host_alias
3293 test -z "$ac_cv_host_alias" &&
3294 ac_cv_host_alias
=$ac_cv_build_alias
3295 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3296 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3297 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3298 { (exit 1); exit 1; }; }
3301 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3302 echo "${ECHO_T}$ac_cv_host" >&6
3304 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3305 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3306 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3309 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3310 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3311 if test "${lt_cv_path_SED+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3314 # Loop through the user's path and test for sed and gsed.
3315 # Then use that list of sed's as ones to test for truncation.
3316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3320 test -z "$as_dir" && as_dir
=.
3321 for lt_ac_prog
in sed gsed
; do
3322 for ac_exec_ext
in '' $ac_executable_extensions; do
3323 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3324 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3332 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3333 # along with /bin/sed that truncates output.
3334 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3335 test ! -f $lt_ac_sed && continue
3336 cat /dev
/null
> conftest.
in
3338 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3339 # Check for GNU sed and select it if it is found.
3340 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3341 lt_cv_path_SED
=$lt_ac_sed
3345 cat conftest.
in conftest.
in >conftest.tmp
3346 mv conftest.tmp conftest.
in
3347 cp conftest.
in conftest.
nl
3349 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3350 cmp -s conftest.out conftest.
nl ||
break
3351 # 10000 chars as input seems more than enough
3352 test $lt_ac_count -gt 10 && break
3353 lt_ac_count
=`expr $lt_ac_count + 1`
3354 if test $lt_ac_count -gt $lt_ac_max; then
3355 lt_ac_max
=$lt_ac_count
3356 lt_cv_path_SED
=$lt_ac_sed
3365 echo "$as_me:$LINENO: result: $SED" >&5
3366 echo "${ECHO_T}$SED" >&6
3368 echo "$as_me:$LINENO: checking for egrep" >&5
3369 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3370 if test "${ac_cv_prog_egrep+set}" = set; then
3371 echo $ECHO_N "(cached) $ECHO_C" >&6
3373 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3374 then ac_cv_prog_egrep
='grep -E'
3375 else ac_cv_prog_egrep
='egrep'
3378 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3379 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3380 EGREP
=$ac_cv_prog_egrep
3384 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3385 if test "${with_gnu_ld+set}" = set; then
3386 withval
="$with_gnu_ld"
3387 test "$withval" = no || with_gnu_ld
=yes
3392 if test "$GCC" = yes; then
3393 # Check if gcc -print-prog-name=ld gives a path.
3394 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3395 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3398 # gcc leaves a trailing carriage return which upsets mingw
3399 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3401 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3404 # Accept absolute paths.
3406 re_direlt
='/[^/][^/]*/\.\./'
3407 # Canonicalize the pathname of ld
3408 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3409 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3410 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3412 test -z "$LD" && LD
="$ac_prog"
3415 # If it fails, then pretend we aren't using GCC.
3419 # If it is relative, then search for the first ld in PATH.
3423 elif test "$with_gnu_ld" = yes; then
3424 echo "$as_me:$LINENO: checking for GNU ld" >&5
3425 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3427 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3428 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3430 if test "${lt_cv_path_LD+set}" = set; then
3431 echo $ECHO_N "(cached) $ECHO_C" >&6
3433 if test -z "$LD"; then
3434 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3435 for ac_dir
in $PATH; do
3437 test -z "$ac_dir" && ac_dir
=.
3438 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3439 lt_cv_path_LD
="$ac_dir/$ac_prog"
3440 # Check to see if the program is GNU ld. I'd rather use --version,
3441 # but apparently some variants of GNU ld only accept -v.
3442 # Break only if it was the GNU/non-GNU ld that we prefer.
3443 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3444 *GNU
* |
*'with BFD'*)
3445 test "$with_gnu_ld" != no
&& break
3448 test "$with_gnu_ld" != yes && break
3455 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3460 if test -n "$LD"; then
3461 echo "$as_me:$LINENO: result: $LD" >&5
3462 echo "${ECHO_T}$LD" >&6
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3467 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3468 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3469 { (exit 1); exit 1; }; }
3470 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3471 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3472 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3475 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3476 case `$LD -v 2>&1 </dev/null` in
3477 *GNU
* |
*'with BFD'*)
3478 lt_cv_prog_gnu_ld
=yes
3481 lt_cv_prog_gnu_ld
=no
3485 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3486 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3487 with_gnu_ld
=$lt_cv_prog_gnu_ld
3490 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3491 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3492 if test "${lt_cv_ld_reload_flag+set}" = set; then
3493 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 lt_cv_ld_reload_flag
='-r'
3497 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3498 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3499 reload_flag
=$lt_cv_ld_reload_flag
3500 case $reload_flag in
3502 *) reload_flag
=" $reload_flag" ;;
3504 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3507 if test "$GCC" = yes; then
3508 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3510 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3515 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3516 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3517 if test "${lt_cv_path_NM+set}" = set; then
3518 echo $ECHO_N "(cached) $ECHO_C" >&6
3520 if test -n "$NM"; then
3521 # Let the user override the test.
3524 lt_nm_to_check
="${ac_tool_prefix}nm"
3525 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3526 lt_nm_to_check
="$lt_nm_to_check nm"
3528 for lt_tmp_nm
in $lt_nm_to_check; do
3529 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3530 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3532 test -z "$ac_dir" && ac_dir
=.
3533 tmp_nm
="$ac_dir/$lt_tmp_nm"
3534 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3535 # Check to see if the nm accepts a BSD-compat flag.
3536 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3537 # nm: unknown option "B" ignored
3538 # Tru64's nm complains that /dev/null is an invalid object file
3539 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3540 */dev
/null
* |
*'Invalid file or object type'*)
3541 lt_cv_path_NM
="$tmp_nm -B"
3545 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3547 lt_cv_path_NM
="$tmp_nm -p"
3551 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3552 continue # so that we can try to find one that supports BSD flags
3561 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3564 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3565 echo "${ECHO_T}$lt_cv_path_NM" >&6
3568 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3569 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3570 if test "${lt_cv_deplibs_check_method+set}" = set; then
3571 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3574 lt_cv_file_magic_test_file
=
3575 lt_cv_deplibs_check_method
='unknown'
3576 # Need to set the preceding variable on all platforms that support
3577 # interlibrary dependencies.
3578 # 'none' -- dependencies not supported.
3579 # `unknown' -- same as none, but documents that we really don't know.
3580 # 'pass_all' -- all dependencies passed with no checks.
3581 # 'test_compile' -- check by making test program.
3582 # 'file_magic [[regex]]' -- check by looking for files in library path
3583 # which responds to the $file_magic_cmd with a given extended regex.
3584 # If you have `file' or equivalent on your system and you're not sure
3585 # whether `pass_all' will *always* work, you probably want this one.
3589 lt_cv_deplibs_check_method
=pass_all
3593 lt_cv_deplibs_check_method
=pass_all
3597 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3598 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3599 lt_cv_file_magic_test_file
=/shlib
/libc.so
3603 # func_win32_libid is a shell function defined in ltmain.sh
3604 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3605 lt_cv_file_magic_cmd
='func_win32_libid'
3609 # Base MSYS/MinGW do not provide the 'file' command needed by
3610 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3611 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3612 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3615 darwin
* | rhapsody
*)
3616 lt_cv_deplibs_check_method
=pass_all
3619 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3620 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3623 # Not sure whether the presence of OpenBSD here was a mistake.
3624 # Let's accept both of them until this is cleared up.
3625 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3626 lt_cv_file_magic_cmd
=/usr
/bin
/file
3627 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3631 lt_cv_deplibs_check_method
=pass_all
3636 lt_cv_deplibs_check_method
=pass_all
3639 hpux10.20
* | hpux11
*)
3640 lt_cv_file_magic_cmd
=/usr
/bin
/file
3643 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3644 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3647 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]'
3648 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3651 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3652 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3658 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3659 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3662 irix5
* | irix6
* | nonstopux
*)
3664 *-32|
*"-32 ") libmagic
=32-bit;;
3665 *-n32|
*"-n32 ") libmagic
=N32
;;
3666 *-64|
*"-64 ") libmagic
=64-bit;;
3667 *) libmagic
=never-match
;;
3669 lt_cv_deplibs_check_method
=pass_all
3672 # This must be Linux ELF.
3674 lt_cv_deplibs_check_method
=pass_all
3678 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3679 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3681 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3686 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3687 lt_cv_file_magic_cmd
=/usr
/bin
/file
3688 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3692 lt_cv_deplibs_check_method
=unknown
3696 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3697 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3699 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3703 osf3
* | osf4
* | osf5
*)
3704 lt_cv_deplibs_check_method
=pass_all
3708 lt_cv_deplibs_check_method
=pass_all
3712 case $host_vendor in
3714 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]'
3715 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3718 lt_cv_deplibs_check_method
=pass_all
3721 lt_cv_file_magic_cmd
='/bin/file'
3722 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3725 lt_cv_file_magic_cmd
='/bin/file'
3726 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3727 lt_cv_file_magic_test_file
=/lib
/libc.so
3730 lt_cv_deplibs_check_method
=pass_all
3733 lt_cv_deplibs_check_method
=pass_all
3738 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3739 lt_cv_deplibs_check_method
=pass_all
3744 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3745 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3746 file_magic_cmd
=$lt_cv_file_magic_cmd
3747 deplibs_check_method
=$lt_cv_deplibs_check_method
3748 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3753 # If no C compiler was specified, use CC.
3756 # If no C compiler flags were specified, use CFLAGS.
3757 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3759 # Allow CC to be a program name with arguments.
3763 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3764 if test "${enable_libtool_lock+set}" = set; then
3765 enableval
="$enable_libtool_lock"
3768 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3770 # Some flags need to be propagated to the compiler or linker for good
3774 # Find out which ABI we are using.
3775 echo 'int i;' > conftest.
$ac_ext
3776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3777 (eval $ac_compile) 2>&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }; then
3781 case `/usr/bin/file conftest.$ac_objext` in
3793 # Find out which ABI we are using.
3794 echo '#line 3794 "configure"' > conftest.
$ac_ext
3795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3796 (eval $ac_compile) 2>&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; then
3800 if test "$lt_cv_prog_gnu_ld" = yes; then
3801 case `/usr/bin/file conftest.$ac_objext` in
3803 LD
="${LD-ld} -melf32bsmip"
3806 LD
="${LD-ld} -melf32bmipn32"
3809 LD
="${LD-ld} -melf64bmip"
3813 case `/usr/bin/file conftest.$ac_objext` in
3829 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3830 # Find out which ABI we are using.
3831 echo 'int i;' > conftest.
$ac_ext
3832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3833 (eval $ac_compile) 2>&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); }; then
3837 case `/usr/bin/file conftest.o` in
3841 LD
="${LD-ld} -m elf_i386"
3843 ppc64-
*linux
*|powerpc64-
*linux
*)
3844 LD
="${LD-ld} -m elf32ppclinux"
3847 LD
="${LD-ld} -m elf_s390"
3850 LD
="${LD-ld} -m elf32_sparc"
3857 LD
="${LD-ld} -m elf_x86_64"
3859 ppc
*-*linux
*|powerpc
*-*linux
*)
3860 LD
="${LD-ld} -m elf64ppc"
3863 LD
="${LD-ld} -m elf64_s390"
3866 LD
="${LD-ld} -m elf64_sparc"
3876 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3877 SAVE_CFLAGS
="$CFLAGS"
3878 CFLAGS
="$CFLAGS -belf"
3879 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3880 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3881 if test "${lt_cv_cc_needs_belf+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3885 ac_cpp
='$CPP $CPPFLAGS'
3886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3890 cat >conftest.
$ac_ext <<_ACEOF
3893 cat confdefs.h
>>conftest.
$ac_ext
3894 cat >>conftest.
$ac_ext <<_ACEOF
3895 /* end confdefs.h. */
3905 rm -f conftest.
$ac_objext conftest
$ac_exeext
3906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3907 (eval $ac_link) 2>conftest.er1
3909 grep -v '^ *+' conftest.er1
>conftest.err
3911 cat conftest.err
>&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } &&
3914 { ac_try
='test -z "$ac_c_werror_flag"
3915 || test ! -s conftest.err'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; } &&
3921 { ac_try
='test -s conftest$ac_exeext'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; }; then
3927 lt_cv_cc_needs_belf
=yes
3929 echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.
$ac_ext >&5
3932 lt_cv_cc_needs_belf
=no
3934 rm -f conftest.err conftest.
$ac_objext \
3935 conftest
$ac_exeext conftest.
$ac_ext
3937 ac_cpp
='$CPP $CPPFLAGS'
3938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3943 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3944 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3945 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3946 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3947 CFLAGS
="$SAVE_CFLAGS"
3951 # Find out which ABI we are using.
3952 echo 'int i;' > conftest.
$ac_ext
3953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3954 (eval $ac_compile) 2>&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; then
3958 case `/usr/bin/file conftest.o` in
3960 case $lt_cv_prog_gnu_ld in
3961 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
3962 *) LD
="${LD-ld} -64" ;;
3973 need_locks
="$enable_libtool_lock"
3977 ac_cpp
='$CPP $CPPFLAGS'
3978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3981 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3982 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3983 # On Suns, sometimes $CPP names a directory.
3984 if test -n "$CPP" && test -d "$CPP"; then
3987 if test -z "$CPP"; then
3988 if test "${ac_cv_prog_CPP+set}" = set; then
3989 echo $ECHO_N "(cached) $ECHO_C" >&6
3991 # Double quotes because CPP needs to be expanded
3992 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3995 for ac_c_preproc_warn_flag
in '' yes
3997 # Use a header file that comes with gcc, so configuring glibc
3998 # with a fresh cross-compiler works.
3999 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4000 # <limits.h> exists even on freestanding compilers.
4001 # On the NeXT, cc -E runs the code through the compiler's parser,
4002 # not just through cpp. "Syntax error" is here to catch this case.
4003 cat >conftest.
$ac_ext <<_ACEOF
4006 cat confdefs.h
>>conftest.
$ac_ext
4007 cat >>conftest.
$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4010 # include <limits.h>
4012 # include <assert.h>
4016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4017 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4019 grep -v '^ *+' conftest.er1
>conftest.err
4021 cat conftest.err
>&5
4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); } >/dev
/null
; then
4024 if test -s conftest.err
; then
4025 ac_cpp_err
=$ac_c_preproc_warn_flag
4026 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4033 if test -z "$ac_cpp_err"; then
4036 echo "$as_me: failed program was:" >&5
4037 sed 's/^/| /' conftest.
$ac_ext >&5
4039 # Broken: fails on valid input.
4042 rm -f conftest.err conftest.
$ac_ext
4044 # OK, works on sane cases. Now check whether non-existent headers
4045 # can be detected and how.
4046 cat >conftest.
$ac_ext <<_ACEOF
4049 cat confdefs.h
>>conftest.
$ac_ext
4050 cat >>conftest.
$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4052 #include <ac_nonexistent.h>
4054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4055 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4057 grep -v '^ *+' conftest.er1
>conftest.err
4059 cat conftest.err
>&5
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); } >/dev
/null
; then
4062 if test -s conftest.err
; then
4063 ac_cpp_err
=$ac_c_preproc_warn_flag
4064 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4071 if test -z "$ac_cpp_err"; then
4072 # Broken: success on invalid input.
4075 echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.
$ac_ext >&5
4078 # Passes both tests.
4082 rm -f conftest.err conftest.
$ac_ext
4085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4086 rm -f conftest.err conftest.
$ac_ext
4087 if $ac_preproc_ok; then
4099 echo "$as_me:$LINENO: result: $CPP" >&5
4100 echo "${ECHO_T}$CPP" >&6
4102 for ac_c_preproc_warn_flag
in '' yes
4104 # Use a header file that comes with gcc, so configuring glibc
4105 # with a fresh cross-compiler works.
4106 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4107 # <limits.h> exists even on freestanding compilers.
4108 # On the NeXT, cc -E runs the code through the compiler's parser,
4109 # not just through cpp. "Syntax error" is here to catch this case.
4110 cat >conftest.
$ac_ext <<_ACEOF
4113 cat confdefs.h
>>conftest.
$ac_ext
4114 cat >>conftest.
$ac_ext <<_ACEOF
4115 /* end confdefs.h. */
4117 # include <limits.h>
4119 # include <assert.h>
4123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4124 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4126 grep -v '^ *+' conftest.er1
>conftest.err
4128 cat conftest.err
>&5
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); } >/dev
/null
; then
4131 if test -s conftest.err
; then
4132 ac_cpp_err
=$ac_c_preproc_warn_flag
4133 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4140 if test -z "$ac_cpp_err"; then
4143 echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.
$ac_ext >&5
4146 # Broken: fails on valid input.
4149 rm -f conftest.err conftest.
$ac_ext
4151 # OK, works on sane cases. Now check whether non-existent headers
4152 # can be detected and how.
4153 cat >conftest.
$ac_ext <<_ACEOF
4156 cat confdefs.h
>>conftest.
$ac_ext
4157 cat >>conftest.
$ac_ext <<_ACEOF
4158 /* end confdefs.h. */
4159 #include <ac_nonexistent.h>
4161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4162 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4164 grep -v '^ *+' conftest.er1
>conftest.err
4166 cat conftest.err
>&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); } >/dev
/null
; then
4169 if test -s conftest.err
; then
4170 ac_cpp_err
=$ac_c_preproc_warn_flag
4171 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4178 if test -z "$ac_cpp_err"; then
4179 # Broken: success on invalid input.
4182 echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.
$ac_ext >&5
4185 # Passes both tests.
4189 rm -f conftest.err conftest.
$ac_ext
4192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4193 rm -f conftest.err conftest.
$ac_ext
4194 if $ac_preproc_ok; then
4197 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4198 See \`config.log' for more details." >&5
4199 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4200 See \`config.log' for more details." >&2;}
4201 { (exit 1); exit 1; }; }
4205 ac_cpp
='$CPP $CPPFLAGS'
4206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4211 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4212 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4213 if test "${ac_cv_header_stdc+set}" = set; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 cat >conftest.
$ac_ext <<_ACEOF
4219 cat confdefs.h
>>conftest.
$ac_ext
4220 cat >>conftest.
$ac_ext <<_ACEOF
4221 /* end confdefs.h. */
4235 rm -f conftest.
$ac_objext
4236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4237 (eval $ac_compile) 2>conftest.er1
4239 grep -v '^ *+' conftest.er1
>conftest.err
4241 cat conftest.err
>&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); } &&
4244 { ac_try
='test -z "$ac_c_werror_flag"
4245 || test ! -s conftest.err'
4246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); }; } &&
4251 { ac_try
='test -s conftest.$ac_objext'
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; }; then
4257 ac_cv_header_stdc
=yes
4259 echo "$as_me: failed program was:" >&5
4260 sed 's/^/| /' conftest.
$ac_ext >&5
4262 ac_cv_header_stdc
=no
4264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4266 if test $ac_cv_header_stdc = yes; then
4267 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4268 cat >conftest.
$ac_ext <<_ACEOF
4271 cat confdefs.h
>>conftest.
$ac_ext
4272 cat >>conftest.
$ac_ext <<_ACEOF
4273 /* end confdefs.h. */
4277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4278 $EGREP "memchr" >/dev
/null
2>&1; then
4281 ac_cv_header_stdc
=no
4287 if test $ac_cv_header_stdc = yes; then
4288 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4289 cat >conftest.
$ac_ext <<_ACEOF
4292 cat confdefs.h
>>conftest.
$ac_ext
4293 cat >>conftest.
$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4299 $EGREP "free" >/dev
/null
2>&1; then
4302 ac_cv_header_stdc
=no
4308 if test $ac_cv_header_stdc = yes; then
4309 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4310 if test "$cross_compiling" = yes; then
4313 cat >conftest.
$ac_ext <<_ACEOF
4316 cat confdefs.h
>>conftest.
$ac_ext
4317 cat >>conftest.
$ac_ext <<_ACEOF
4318 /* end confdefs.h. */
4320 #if ((' ' & 0x0FF) == 0x020)
4321 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4322 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4324 # define ISLOWER(c) \
4325 (('a' <= (c) && (c) <= 'i') \
4326 || ('j' <= (c) && (c) <= 'r') \
4327 || ('s' <= (c) && (c) <= 'z'))
4328 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4331 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4336 for (i = 0; i < 256; i++)
4337 if (XOR (islower (i), ISLOWER (i))
4338 || toupper (i) != TOUPPER (i))
4343 rm -f conftest
$ac_exeext
4344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4345 (eval $ac_link) 2>&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; }; then
4356 echo "$as_me: program exited with status $ac_status" >&5
4357 echo "$as_me: failed program was:" >&5
4358 sed 's/^/| /' conftest.
$ac_ext >&5
4361 ac_cv_header_stdc
=no
4363 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4367 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4368 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4369 if test $ac_cv_header_stdc = yes; then
4371 cat >>confdefs.h
<<\_ACEOF
4372 #define STDC_HEADERS 1
4377 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4387 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4388 inttypes.h stdint.h unistd.h
4390 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4391 echo "$as_me:$LINENO: checking for $ac_header" >&5
4392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4394 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 cat >conftest.
$ac_ext <<_ACEOF
4399 cat confdefs.h
>>conftest.
$ac_ext
4400 cat >>conftest.
$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4402 $ac_includes_default
4404 #include <$ac_header>
4406 rm -f conftest.
$ac_objext
4407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4408 (eval $ac_compile) 2>conftest.er1
4410 grep -v '^ *+' conftest.er1
>conftest.err
4412 cat conftest.err
>&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); } &&
4415 { ac_try
='test -z "$ac_c_werror_flag"
4416 || test ! -s conftest.err'
4417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); }; } &&
4422 { ac_try
='test -s conftest.$ac_objext'
4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; }; then
4428 eval "$as_ac_Header=yes"
4430 echo "$as_me: failed program was:" >&5
4431 sed 's/^/| /' conftest.
$ac_ext >&5
4433 eval "$as_ac_Header=no"
4435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4440 cat >>confdefs.h
<<_ACEOF
4441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4450 for ac_header
in dlfcn.h
4452 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4454 echo "$as_me:$LINENO: checking for $ac_header" >&5
4455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4462 # Is the header compilable?
4463 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4464 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4465 cat >conftest.
$ac_ext <<_ACEOF
4468 cat confdefs.h
>>conftest.
$ac_ext
4469 cat >>conftest.
$ac_ext <<_ACEOF
4470 /* end confdefs.h. */
4471 $ac_includes_default
4472 #include <$ac_header>
4474 rm -f conftest.
$ac_objext
4475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4476 (eval $ac_compile) 2>conftest.er1
4478 grep -v '^ *+' conftest.er1
>conftest.err
4480 cat conftest.err
>&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); } &&
4483 { ac_try
='test -z "$ac_c_werror_flag"
4484 || test ! -s conftest.err'
4485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; } &&
4490 { ac_try
='test -s conftest.$ac_objext'
4491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); }; }; then
4496 ac_header_compiler
=yes
4498 echo "$as_me: failed program was:" >&5
4499 sed 's/^/| /' conftest.
$ac_ext >&5
4501 ac_header_compiler
=no
4503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4505 echo "${ECHO_T}$ac_header_compiler" >&6
4507 # Is the header present?
4508 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4509 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4510 cat >conftest.
$ac_ext <<_ACEOF
4513 cat confdefs.h
>>conftest.
$ac_ext
4514 cat >>conftest.
$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4516 #include <$ac_header>
4518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4521 grep -v '^ *+' conftest.er1
>conftest.err
4523 cat conftest.err
>&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } >/dev
/null
; then
4526 if test -s conftest.err
; then
4527 ac_cpp_err
=$ac_c_preproc_warn_flag
4528 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4535 if test -z "$ac_cpp_err"; then
4536 ac_header_preproc
=yes
4538 echo "$as_me: failed program was:" >&5
4539 sed 's/^/| /' conftest.
$ac_ext >&5
4541 ac_header_preproc
=no
4543 rm -f conftest.err conftest.
$ac_ext
4544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4545 echo "${ECHO_T}$ac_header_preproc" >&6
4547 # So? What about this header?
4548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4550 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4551 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4553 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4554 ac_header_preproc
=yes
4557 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4558 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4559 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4560 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4561 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4562 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4563 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4564 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4567 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4568 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4571 ## -------------------------------------------------- ##
4572 ## Report this to courier-users@lists.sourceforge.net ##
4573 ## -------------------------------------------------- ##
4576 sed "s/^/$as_me: WARNING: /" >&2
4579 echo "$as_me:$LINENO: checking for $ac_header" >&5
4580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4582 echo $ECHO_N "(cached) $ECHO_C" >&6
4584 eval "$as_ac_Header=\$ac_header_preproc"
4586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4591 cat >>confdefs.h
<<_ACEOF
4592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4600 ac_cpp
='$CXXCPP $CPPFLAGS'
4601 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4602 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4603 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4604 if test -n "$ac_tool_prefix"; then
4605 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4608 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4609 echo "$as_me:$LINENO: checking for $ac_word" >&5
4610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4611 if test "${ac_cv_prog_CXX+set}" = set; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 if test -n "$CXX"; then
4615 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir
=.
4622 for ac_exec_ext
in '' $ac_executable_extensions; do
4623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 if test -n "$CXX"; then
4635 echo "$as_me:$LINENO: result: $CXX" >&5
4636 echo "${ECHO_T}$CXX" >&6
4638 echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6
4642 test -n "$CXX" && break
4645 if test -z "$CXX"; then
4647 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4649 # Extract the first word of "$ac_prog", so it can be a program name with args.
4650 set dummy
$ac_prog; ac_word
=$2
4651 echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4653 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 if test -n "$ac_ct_CXX"; then
4657 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4676 if test -n "$ac_ct_CXX"; then
4677 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4678 echo "${ECHO_T}$ac_ct_CXX" >&6
4680 echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6
4684 test -n "$ac_ct_CXX" && break
4686 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4692 # Provide some information about the compiler.
4693 echo "$as_me:$LINENO:" \
4694 "checking for C++ compiler version" >&5
4695 ac_compiler
=`set X $ac_compile; echo $2`
4696 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4697 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); }
4701 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4702 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }
4706 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4707 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); }
4712 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4713 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4714 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4715 echo $ECHO_N "(cached) $ECHO_C" >&6
4717 cat >conftest.
$ac_ext <<_ACEOF
4720 cat confdefs.h
>>conftest.
$ac_ext
4721 cat >>conftest.
$ac_ext <<_ACEOF
4722 /* end confdefs.h. */
4735 rm -f conftest.
$ac_objext
4736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4737 (eval $ac_compile) 2>conftest.er1
4739 grep -v '^ *+' conftest.er1
>conftest.err
4741 cat conftest.err
>&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); } &&
4744 { ac_try
='test -z "$ac_cxx_werror_flag"
4745 || test ! -s conftest.err'
4746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; } &&
4751 { ac_try
='test -s conftest.$ac_objext'
4752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }; }; then
4759 echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.
$ac_ext >&5
4764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4765 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4768 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4769 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4770 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4771 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4772 ac_save_CXXFLAGS
=$CXXFLAGS
4774 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4775 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4776 if test "${ac_cv_prog_cxx_g+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4779 cat >conftest.
$ac_ext <<_ACEOF
4782 cat confdefs.h
>>conftest.
$ac_ext
4783 cat >>conftest.
$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4794 rm -f conftest.
$ac_objext
4795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4796 (eval $ac_compile) 2>conftest.er1
4798 grep -v '^ *+' conftest.er1
>conftest.err
4800 cat conftest.err
>&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); } &&
4803 { ac_try
='test -z "$ac_cxx_werror_flag"
4804 || test ! -s conftest.err'
4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; } &&
4810 { ac_try
='test -s conftest.$ac_objext'
4811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); }; }; then
4816 ac_cv_prog_cxx_g
=yes
4818 echo "$as_me: failed program was:" >&5
4819 sed 's/^/| /' conftest.
$ac_ext >&5
4823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4825 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4826 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4827 if test "$ac_test_CXXFLAGS" = set; then
4828 CXXFLAGS
=$ac_save_CXXFLAGS
4829 elif test $ac_cv_prog_cxx_g = yes; then
4830 if test "$GXX" = yes; then
4836 if test "$GXX" = yes; then
4842 for ac_declaration
in \
4844 'extern "C" void std::exit (int) throw (); using std::exit;' \
4845 'extern "C" void std::exit (int); using std::exit;' \
4846 'extern "C" void exit (int) throw ();' \
4847 'extern "C" void exit (int);' \
4850 cat >conftest.
$ac_ext <<_ACEOF
4853 cat confdefs.h
>>conftest.
$ac_ext
4854 cat >>conftest.
$ac_ext <<_ACEOF
4855 /* end confdefs.h. */
4866 rm -f conftest.
$ac_objext
4867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4868 (eval $ac_compile) 2>conftest.er1
4870 grep -v '^ *+' conftest.er1
>conftest.err
4872 cat conftest.err
>&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } &&
4875 { ac_try
='test -z "$ac_cxx_werror_flag"
4876 || test ! -s conftest.err'
4877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); }; } &&
4882 { ac_try
='test -s conftest.$ac_objext'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; }; then
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.
$ac_ext >&5
4895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4896 cat >conftest.
$ac_ext <<_ACEOF
4899 cat confdefs.h
>>conftest.
$ac_ext
4900 cat >>conftest.
$ac_ext <<_ACEOF
4901 /* end confdefs.h. */
4911 rm -f conftest.
$ac_objext
4912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4913 (eval $ac_compile) 2>conftest.er1
4915 grep -v '^ *+' conftest.er1
>conftest.err
4917 cat conftest.err
>&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); } &&
4920 { ac_try
='test -z "$ac_cxx_werror_flag"
4921 || test ! -s conftest.err'
4922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); }; } &&
4927 { ac_try
='test -s conftest.$ac_objext'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; }; then
4935 echo "$as_me: failed program was:" >&5
4936 sed 's/^/| /' conftest.
$ac_ext >&5
4939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4942 if test -n "$ac_declaration"; then
4943 echo '#ifdef __cplusplus' >>confdefs.h
4944 echo $ac_declaration >>confdefs.h
4945 echo '#endif' >>confdefs.h
4949 ac_cpp
='$CXXCPP $CPPFLAGS'
4950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4954 depcc
="$CXX" am_compiler_list
=
4956 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4957 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4958 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4959 echo $ECHO_N "(cached) $ECHO_C" >&6
4961 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4962 # We make a subdir and do the tests there. Otherwise we can end up
4963 # making bogus files that we don't know about and never remove. For
4964 # instance it was reported that on HP-UX the gcc test will end up
4965 # making a dummy file named `D' -- because `-MD' means `put the output
4968 # Copy depcomp to subdir because otherwise we won't find it if we're
4969 # using a relative directory.
4970 cp "$am_depcomp" conftest.dir
4972 # We will build objects and dependencies in a subdirectory because
4973 # it helps to detect inapplicable dependency modes. For instance
4974 # both Tru64's cc and ICC support -MD to output dependencies as a
4975 # side effect of compilation, but ICC will put the dependencies in
4976 # the current directory while Tru64 will put them in the object
4980 am_cv_CXX_dependencies_compiler_type
=none
4981 if test "$am_compiler_list" = ""; then
4982 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4984 for depmode
in $am_compiler_list; do
4985 # Setup a source with many dependencies, because some compilers
4986 # like to wrap large dependency lists on column 80 (with \), and
4987 # we should not choose a depcomp mode which is confused by this.
4989 # We need to recreate these files for each test, as the compiler may
4990 # overwrite some of them when testing with obscure command lines.
4991 # This happens at least with the AIX C compiler.
4993 for i
in 1 2 3 4 5 6; do
4994 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4995 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4996 # Solaris 8's {/usr,}/bin/sh.
4997 touch sub
/conftst
$i.h
4999 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5003 # after this tag, mechanisms are not by side-effect, so they'll
5004 # only be used when explicitly requested
5005 if test "x$enable_dependency_tracking" = xyes
; then
5013 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5014 # mode. It turns out that the SunPro C++ compiler does not properly
5015 # handle `-M -o', and we need to detect this.
5016 if depmode
=$depmode \
5017 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5018 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5019 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5020 >/dev
/null
2>conftest.err
&&
5021 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5022 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5023 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5024 # icc doesn't choke on unknown options, it will just issue warnings
5025 # or remarks (even with -Werror). So we grep stderr for any message
5026 # that says an option was ignored or not supported.
5027 # When given -MP, icc 7.0 and 7.1 complain thusly:
5028 # icc: Command line warning: ignoring option '-M'; no argument required
5029 # The diagnosis changed in icc 8.0:
5030 # icc: Command line remark: option '-MP' not supported
5031 if (grep 'ignoring option' conftest.err ||
5032 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5033 am_cv_CXX_dependencies_compiler_type
=$depmode
5042 am_cv_CXX_dependencies_compiler_type
=none
5046 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5047 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5048 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5053 test "x$enable_dependency_tracking" != xno \
5054 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5055 am__fastdepCXX_TRUE
=
5056 am__fastdepCXX_FALSE
='#'
5058 am__fastdepCXX_TRUE
='#'
5059 am__fastdepCXX_FALSE
=
5065 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5066 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5067 (test "X$CXX" != "Xg++"))) ; then
5069 ac_cpp
='$CXXCPP $CPPFLAGS'
5070 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5071 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5072 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5073 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5074 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5075 if test -z "$CXXCPP"; then
5076 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 # Double quotes because CXXCPP needs to be expanded
5080 for CXXCPP
in "$CXX -E" "/lib/cpp"
5083 for ac_cxx_preproc_warn_flag
in '' yes
5085 # Use a header file that comes with gcc, so configuring glibc
5086 # with a fresh cross-compiler works.
5087 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5088 # <limits.h> exists even on freestanding compilers.
5089 # On the NeXT, cc -E runs the code through the compiler's parser,
5090 # not just through cpp. "Syntax error" is here to catch this case.
5091 cat >conftest.
$ac_ext <<_ACEOF
5094 cat confdefs.h
>>conftest.
$ac_ext
5095 cat >>conftest.
$ac_ext <<_ACEOF
5096 /* end confdefs.h. */
5098 # include <limits.h>
5100 # include <assert.h>
5104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5107 grep -v '^ *+' conftest.er1
>conftest.err
5109 cat conftest.err
>&5
5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111 (exit $ac_status); } >/dev
/null
; then
5112 if test -s conftest.err
; then
5113 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5114 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5121 if test -z "$ac_cpp_err"; then
5124 echo "$as_me: failed program was:" >&5
5125 sed 's/^/| /' conftest.
$ac_ext >&5
5127 # Broken: fails on valid input.
5130 rm -f conftest.err conftest.
$ac_ext
5132 # OK, works on sane cases. Now check whether non-existent headers
5133 # can be detected and how.
5134 cat >conftest.
$ac_ext <<_ACEOF
5137 cat confdefs.h
>>conftest.
$ac_ext
5138 cat >>conftest.
$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5140 #include <ac_nonexistent.h>
5142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5143 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5145 grep -v '^ *+' conftest.er1
>conftest.err
5147 cat conftest.err
>&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); } >/dev
/null
; then
5150 if test -s conftest.err
; then
5151 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5152 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5159 if test -z "$ac_cpp_err"; then
5160 # Broken: success on invalid input.
5163 echo "$as_me: failed program was:" >&5
5164 sed 's/^/| /' conftest.
$ac_ext >&5
5166 # Passes both tests.
5170 rm -f conftest.err conftest.
$ac_ext
5173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5174 rm -f conftest.err conftest.
$ac_ext
5175 if $ac_preproc_ok; then
5180 ac_cv_prog_CXXCPP
=$CXXCPP
5183 CXXCPP
=$ac_cv_prog_CXXCPP
5185 ac_cv_prog_CXXCPP
=$CXXCPP
5187 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5188 echo "${ECHO_T}$CXXCPP" >&6
5190 for ac_cxx_preproc_warn_flag
in '' yes
5192 # Use a header file that comes with gcc, so configuring glibc
5193 # with a fresh cross-compiler works.
5194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5195 # <limits.h> exists even on freestanding compilers.
5196 # On the NeXT, cc -E runs the code through the compiler's parser,
5197 # not just through cpp. "Syntax error" is here to catch this case.
5198 cat >conftest.
$ac_ext <<_ACEOF
5201 cat confdefs.h
>>conftest.
$ac_ext
5202 cat >>conftest.
$ac_ext <<_ACEOF
5203 /* end confdefs.h. */
5205 # include <limits.h>
5207 # include <assert.h>
5211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5212 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5214 grep -v '^ *+' conftest.er1
>conftest.err
5216 cat conftest.err
>&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); } >/dev
/null
; then
5219 if test -s conftest.err
; then
5220 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5221 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5228 if test -z "$ac_cpp_err"; then
5231 echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.
$ac_ext >&5
5234 # Broken: fails on valid input.
5237 rm -f conftest.err conftest.
$ac_ext
5239 # OK, works on sane cases. Now check whether non-existent headers
5240 # can be detected and how.
5241 cat >conftest.
$ac_ext <<_ACEOF
5244 cat confdefs.h
>>conftest.
$ac_ext
5245 cat >>conftest.
$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5247 #include <ac_nonexistent.h>
5249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5250 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5252 grep -v '^ *+' conftest.er1
>conftest.err
5254 cat conftest.err
>&5
5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256 (exit $ac_status); } >/dev
/null
; then
5257 if test -s conftest.err
; then
5258 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5259 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5266 if test -z "$ac_cpp_err"; then
5267 # Broken: success on invalid input.
5270 echo "$as_me: failed program was:" >&5
5271 sed 's/^/| /' conftest.
$ac_ext >&5
5273 # Passes both tests.
5277 rm -f conftest.err conftest.
$ac_ext
5280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5281 rm -f conftest.err conftest.
$ac_ext
5282 if $ac_preproc_ok; then
5285 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5286 See \`config.log' for more details." >&5
5287 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5288 See \`config.log' for more details." >&2;}
5289 { (exit 1); exit 1; }; }
5293 ac_cpp
='$CXXCPP $CPPFLAGS'
5294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5302 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5303 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5304 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5305 if test -n "$ac_tool_prefix"; then
5306 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5309 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5310 echo "$as_me:$LINENO: checking for $ac_word" >&5
5311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5312 if test "${ac_cv_prog_F77+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 if test -n "$F77"; then
5316 ac_cv_prog_F77
="$F77" # Let the user override the test.
5318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir
=.
5323 for ac_exec_ext
in '' $ac_executable_extensions; do
5324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 if test -n "$F77"; then
5336 echo "$as_me:$LINENO: result: $F77" >&5
5337 echo "${ECHO_T}$F77" >&6
5339 echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5343 test -n "$F77" && break
5346 if test -z "$F77"; then
5348 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5350 # Extract the first word of "$ac_prog", so it can be a program name with args.
5351 set dummy
$ac_prog; ac_word
=$2
5352 echo "$as_me:$LINENO: checking for $ac_word" >&5
5353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5354 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5355 echo $ECHO_N "(cached) $ECHO_C" >&6
5357 if test -n "$ac_ct_F77"; then
5358 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5364 test -z "$as_dir" && as_dir
=.
5365 for ac_exec_ext
in '' $ac_executable_extensions; do
5366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5367 ac_cv_prog_ac_ct_F77
="$ac_prog"
5368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5377 if test -n "$ac_ct_F77"; then
5378 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5379 echo "${ECHO_T}$ac_ct_F77" >&6
5381 echo "$as_me:$LINENO: result: no" >&5
5382 echo "${ECHO_T}no" >&6
5385 test -n "$ac_ct_F77" && break
5392 # Provide some information about the compiler.
5393 echo "$as_me:5393:" \
5394 "checking for Fortran 77 compiler version" >&5
5395 ac_compiler
=`set X $ac_compile; echo $2`
5396 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5397 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }
5401 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5402 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); }
5406 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5407 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); }
5413 # If we don't use `.F' as extension, the preprocessor is not run on the
5414 # input file. (Note that this only needs to work for GNU compilers.)
5417 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5418 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5419 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5420 echo $ECHO_N "(cached) $ECHO_C" >&6
5422 cat >conftest.
$ac_ext <<_ACEOF
5430 rm -f conftest.
$ac_objext
5431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5432 (eval $ac_compile) 2>conftest.er1
5434 grep -v '^ *+' conftest.er1
>conftest.err
5436 cat conftest.err
>&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } &&
5439 { ac_try
='test -z "$ac_f77_werror_flag"
5440 || test ! -s conftest.err'
5441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); }; } &&
5446 { ac_try
='test -s conftest.$ac_objext'
5447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); }; }; then
5454 echo "$as_me: failed program was:" >&5
5455 sed 's/^/| /' conftest.
$ac_ext >&5
5459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5460 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5463 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5464 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5466 ac_test_FFLAGS
=${FFLAGS+set}
5467 ac_save_FFLAGS
=$FFLAGS
5469 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5470 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5471 if test "${ac_cv_prog_f77_g+set}" = set; then
5472 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 cat >conftest.
$ac_ext <<_ACEOF
5480 rm -f conftest.
$ac_objext
5481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5482 (eval $ac_compile) 2>conftest.er1
5484 grep -v '^ *+' conftest.er1
>conftest.err
5486 cat conftest.err
>&5
5487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488 (exit $ac_status); } &&
5489 { ac_try
='test -z "$ac_f77_werror_flag"
5490 || test ! -s conftest.err'
5491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); }; } &&
5496 { ac_try
='test -s conftest.$ac_objext'
5497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); }; }; then
5502 ac_cv_prog_f77_g
=yes
5504 echo "$as_me: failed program was:" >&5
5505 sed 's/^/| /' conftest.
$ac_ext >&5
5509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5512 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5513 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5514 if test "$ac_test_FFLAGS" = set; then
5515 FFLAGS
=$ac_save_FFLAGS
5516 elif test $ac_cv_prog_f77_g = yes; then
5517 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5523 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5530 G77
=`test $ac_compiler_gnu = yes && echo yes`
5532 ac_cpp
='$CPP $CPPFLAGS'
5533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5539 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5541 # find the maximum length of command line arguments
5542 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5543 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5544 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5552 # On DJGPP, this test can blow up pretty badly due to problems in libc
5553 # (any single argument exceeding 2000 bytes causes a buffer overrun
5554 # during glob expansion). Even if it were fixed, the result of this
5555 # check would be larger than it should be.
5556 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5560 # Under GNU Hurd, this test is not required because there is
5561 # no limit to the length of command line arguments.
5562 # Libtool will interpret -1 as no limit whatsoever
5563 lt_cv_sys_max_cmd_len
=-1;
5567 # On Win9x/ME, this test blows up -- it succeeds, but takes
5568 # about 5 minutes as the teststring grows exponentially.
5569 # Worse, since 9x/ME are not pre-emptively multitasking,
5570 # you end up with a "frozen" computer, even though with patience
5571 # the test eventually succeeds (with a max line length of 256k).
5572 # Instead, let's just punt: use the minimum linelength reported by
5573 # all of the supported platforms: 8192 (on NT/2K/XP).
5574 lt_cv_sys_max_cmd_len
=8192;
5578 # On AmigaOS with pdksh, this test takes hours, literally.
5579 # So we just punt and use a minimum line length of 8192.
5580 lt_cv_sys_max_cmd_len
=8192;
5583 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5584 # This has been around since 386BSD, at least. Likely further.
5585 if test -x /sbin
/sysctl
; then
5586 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5587 elif test -x /usr
/sbin
/sysctl
; then
5588 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5590 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5592 # And add a safety zone
5593 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5594 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5598 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5599 lt_cv_sys_max_cmd_len
=196608
5603 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5604 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5605 # nice to cause kernel panics so lets avoid the loop below.
5606 # First set a reasonable default.
5607 lt_cv_sys_max_cmd_len
=16384
5609 if test -x /sbin
/sysconfig
; then
5610 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5611 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5616 lt_cv_sys_max_cmd_len
=102400
5618 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5619 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5620 if test -n "$kargmax"; then
5621 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5623 lt_cv_sys_max_cmd_len
=32768
5627 # If test is not a shell built-in, we'll probably end up computing a
5628 # maximum length that is only half of the actual maximum length, but
5630 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5631 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5632 = "XX$teststring") >/dev
/null
2>&1 &&
5633 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5634 lt_cv_sys_max_cmd_len
=$new_result &&
5635 test $i != 17 # 1/2 MB should be enough
5638 teststring
=$teststring$teststring
5641 # Add a significant safety factor because C++ compilers can tack on massive
5642 # amounts of additional arguments before passing them to the linker.
5643 # It appears as though 1/2 is a usable value.
5644 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5650 if test -n $lt_cv_sys_max_cmd_len ; then
5651 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5652 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5654 echo "$as_me:$LINENO: result: none" >&5
5655 echo "${ECHO_T}none" >&6
5661 # Check for command to grab the raw symbol name followed by C symbol from nm.
5662 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5663 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5664 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5668 # These are sane defaults that work on at least a few old systems.
5669 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5671 # Character class describing NM global symbol codes.
5672 symcode
='[BCDEGRST]'
5674 # Regexp to match symbols that can be accessed directly from C.
5675 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5677 # Transform an extracted symbol line into a proper C declaration
5678 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5680 # Transform an extracted symbol line into symbol name and symbol address
5681 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'"
5683 # Define system-specific variables.
5688 cygwin
* | mingw
* | pw32
*)
5689 symcode
='[ABCDGISTW]'
5691 hpux
*) # Its linker distinguishes data from code symbols
5692 if test "$host_cpu" = ia64
; then
5693 symcode
='[ABCDEGRST]'
5695 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5696 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'"
5699 if test "$host_cpu" = ia64
; then
5700 symcode
='[ABCDGIRSTW]'
5701 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5702 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'"
5706 symcode
='[BCDEGRST]'
5709 symcode
='[BCDEGQRST]'
5720 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5728 # Handle CRLF in mingw tool chain
5732 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5736 # If we're using GNU nm, then use its standard symbol codes.
5737 case `$NM -V 2>&1` in
5738 *GNU
* |
*'with BFD'*)
5739 symcode
='[ABCDGIRSTW]' ;;
5742 # Try without a prefix undercore, then with it.
5743 for ac_symprfx
in "" "_"; do
5745 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5746 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5748 # Write the raw and C identifiers.
5749 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5751 # Check to see that the pipe works correctly.
5755 cat > conftest.
$ac_ext <<EOF
5760 void nm_test_func(){}
5764 int main(){nm_test_var='a';nm_test_func();return(0);}
5767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5768 (eval $ac_compile) 2>&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); }; then
5772 # Now try to grab the symbols.
5774 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5775 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); } && test -s "$nlist"; then
5779 # Try sorting and uniquifying the output.
5780 if sort "$nlist" |
uniq > "$nlist"T
; then
5781 mv -f "$nlist"T
"$nlist"
5786 # Make sure that we snagged all the symbols we need.
5787 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5788 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5789 cat <<EOF > conftest.$ac_ext
5795 # Now generate the symbol file.
5796 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5798 cat <<EOF >> conftest.$ac_ext
5799 #if defined (__STDC__) && __STDC__
5800 # define lt_ptr_t void *
5802 # define lt_ptr_t char *
5806 /* The mapping between symbol names and symbols. */
5811 lt_preloaded_symbols[] =
5814 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5815 cat <<\EOF
>> conftest.
$ac_ext
5823 # Now try linking the two files.
5824 mv conftest.
$ac_objext conftstm.
$ac_objext
5825 lt_save_LIBS
="$LIBS"
5826 lt_save_CFLAGS
="$CFLAGS"
5827 LIBS
="conftstm.$ac_objext"
5828 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5830 (eval $ac_link) 2>&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5836 LIBS
="$lt_save_LIBS"
5837 CFLAGS
="$lt_save_CFLAGS"
5839 echo "cannot find nm_test_func in $nlist" >&5
5842 echo "cannot find nm_test_var in $nlist" >&5
5845 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5848 echo "$progname: failed program was:" >&5
5849 cat conftest.
$ac_ext >&5
5851 rm -f conftest
* conftst
*
5853 # Do not use the global_symbol_pipe unless it works.
5854 if test "$pipe_works" = yes; then
5857 lt_cv_sys_global_symbol_pipe
=
5863 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5864 lt_cv_sys_global_symbol_to_cdecl
=
5866 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5867 echo "$as_me:$LINENO: result: failed" >&5
5868 echo "${ECHO_T}failed" >&6
5870 echo "$as_me:$LINENO: result: ok" >&5
5871 echo "${ECHO_T}ok" >&6
5874 echo "$as_me:$LINENO: checking for objdir" >&5
5875 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5876 if test "${lt_cv_objdir+set}" = set; then
5877 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 rm -f .libs
2>/dev
/null
5880 mkdir .libs
2>/dev
/null
5881 if test -d .libs
; then
5884 # MS-DOS does not allow filenames that begin with a dot.
5887 rmdir .libs
2>/dev
/null
5889 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5890 echo "${ECHO_T}$lt_cv_objdir" >&6
5891 objdir
=$lt_cv_objdir
5899 # AIX sometimes has problems with the GCC collect2 program. For some
5900 # reason, if we set the COLLECT_NAMES environment variable, the problems
5901 # vanish in a puff of smoke.
5902 if test "X${COLLECT_NAMES+set}" != Xset
; then
5904 export COLLECT_NAMES
5909 # Sed substitution that helps us do robust quoting. It backslashifies
5910 # metacharacters that are still active within double-quoted strings.
5911 Xsed
='sed -e 1s/^X//'
5912 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5914 # Same as above, but do not quote variable references.
5915 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5917 # Sed substitution to delay expansion of an escaped shell variable in a
5918 # double_quote_subst'ed string.
5919 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5921 # Sed substitution to avoid accidental globbing in evaled expressions
5922 no_glob_subst
='s/\*/\\\*/g'
5928 default_ofile
=libtool
5929 can_build_shared
=yes
5931 # All known linkers require a `.a' archive for static linking (except MSVC,
5932 # which needs '.lib').
5934 ltmain
="$ac_aux_dir/ltmain.sh"
5935 ofile
="$default_ofile"
5936 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5938 if test -n "$ac_tool_prefix"; then
5939 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5940 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5941 echo "$as_me:$LINENO: checking for $ac_word" >&5
5942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5943 if test "${ac_cv_prog_AR+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 if test -n "$AR"; then
5947 ac_cv_prog_AR
="$AR" # Let the user override the test.
5949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5953 test -z "$as_dir" && as_dir
=.
5954 for ac_exec_ext
in '' $ac_executable_extensions; do
5955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5956 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5966 if test -n "$AR"; then
5967 echo "$as_me:$LINENO: result: $AR" >&5
5968 echo "${ECHO_T}$AR" >&6
5970 echo "$as_me:$LINENO: result: no" >&5
5971 echo "${ECHO_T}no" >&6
5975 if test -z "$ac_cv_prog_AR"; then
5977 # Extract the first word of "ar", so it can be a program name with args.
5978 set dummy
ar; ac_word
=$2
5979 echo "$as_me:$LINENO: checking for $ac_word" >&5
5980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5981 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 if test -n "$ac_ct_AR"; then
5985 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir
=.
5992 for ac_exec_ext
in '' $ac_executable_extensions; do
5993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994 ac_cv_prog_ac_ct_AR
="ar"
5995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6004 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6005 if test -n "$ac_ct_AR"; then
6006 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6007 echo "${ECHO_T}$ac_ct_AR" >&6
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6018 if test -n "$ac_tool_prefix"; then
6019 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6020 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6021 echo "$as_me:$LINENO: checking for $ac_word" >&5
6022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6023 if test "${ac_cv_prog_RANLIB+set}" = set; then
6024 echo $ECHO_N "(cached) $ECHO_C" >&6
6026 if test -n "$RANLIB"; then
6027 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6033 test -z "$as_dir" && as_dir
=.
6034 for ac_exec_ext
in '' $ac_executable_extensions; do
6035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 RANLIB
=$ac_cv_prog_RANLIB
6046 if test -n "$RANLIB"; then
6047 echo "$as_me:$LINENO: result: $RANLIB" >&5
6048 echo "${ECHO_T}$RANLIB" >&6
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6055 if test -z "$ac_cv_prog_RANLIB"; then
6056 ac_ct_RANLIB
=$RANLIB
6057 # Extract the first word of "ranlib", so it can be a program name with args.
6058 set dummy ranlib
; ac_word
=$2
6059 echo "$as_me:$LINENO: checking for $ac_word" >&5
6060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6061 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6062 echo $ECHO_N "(cached) $ECHO_C" >&6
6064 if test -n "$ac_ct_RANLIB"; then
6065 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir
=.
6072 for ac_exec_ext
in '' $ac_executable_extensions; do
6073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6084 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6085 if test -n "$ac_ct_RANLIB"; then
6086 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6087 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6089 echo "$as_me:$LINENO: result: no" >&5
6090 echo "${ECHO_T}no" >&6
6093 RANLIB
=$ac_ct_RANLIB
6095 RANLIB
="$ac_cv_prog_RANLIB"
6098 if test -n "$ac_tool_prefix"; then
6099 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6100 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6101 echo "$as_me:$LINENO: checking for $ac_word" >&5
6102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6103 if test "${ac_cv_prog_STRIP+set}" = set; then
6104 echo $ECHO_N "(cached) $ECHO_C" >&6
6106 if test -n "$STRIP"; then
6107 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir
=.
6114 for ac_exec_ext
in '' $ac_executable_extensions; do
6115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 STRIP
=$ac_cv_prog_STRIP
6126 if test -n "$STRIP"; then
6127 echo "$as_me:$LINENO: result: $STRIP" >&5
6128 echo "${ECHO_T}$STRIP" >&6
6130 echo "$as_me:$LINENO: result: no" >&5
6131 echo "${ECHO_T}no" >&6
6135 if test -z "$ac_cv_prog_STRIP"; then
6137 # Extract the first word of "strip", so it can be a program name with args.
6138 set dummy strip
; ac_word
=$2
6139 echo "$as_me:$LINENO: checking for $ac_word" >&5
6140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6141 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6142 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 if test -n "$ac_ct_STRIP"; then
6145 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6151 test -z "$as_dir" && as_dir
=.
6152 for ac_exec_ext
in '' $ac_executable_extensions; do
6153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154 ac_cv_prog_ac_ct_STRIP
="strip"
6155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6164 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6165 if test -n "$ac_ct_STRIP"; then
6166 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6167 echo "${ECHO_T}$ac_ct_STRIP" >&6
6169 echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6
6175 STRIP
="$ac_cv_prog_STRIP"
6180 old_CFLAGS
="$CFLAGS"
6182 # Set sane defaults for various variables
6183 test -z "$AR" && AR
=ar
6184 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6185 test -z "$AS" && AS
=as
6186 test -z "$CC" && CC
=cc
6187 test -z "$LTCC" && LTCC
=$CC
6188 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6189 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6190 test -z "$LD" && LD
=ld
6191 test -z "$LN_S" && LN_S
="ln -s"
6192 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6193 test -z "$NM" && NM
=nm
6194 test -z "$SED" && SED
=sed
6195 test -z "$OBJDUMP" && OBJDUMP
=objdump
6196 test -z "$RANLIB" && RANLIB
=:
6197 test -z "$STRIP" && STRIP
=:
6198 test -z "$ac_objext" && ac_objext
=o
6200 # Determine commands to create old-style static archives.
6201 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6202 old_postinstall_cmds
='chmod 644 $oldlib'
6203 old_postuninstall_cmds
=
6205 if test -n "$RANLIB"; then
6208 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6211 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6214 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6217 for cc_temp
in $compiler""; do
6219 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6220 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6225 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6228 # Only perform the check for file, if the check method requires it
6229 case $deplibs_check_method in
6231 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6232 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6233 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6234 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6235 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6242 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6243 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6244 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6245 for ac_dir
in $ac_dummy; do
6247 test -z "$ac_dir" && ac_dir
=.
6248 if test -f $ac_dir/${ac_tool_prefix}file; then
6249 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6250 if test -n "$file_magic_test_file"; then
6251 case $deplibs_check_method in
6253 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6254 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6255 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6256 $EGREP "$file_magic_regex" > /dev
/null
; then
6261 *** Warning: the command libtool uses to detect shared libraries,
6262 *** $file_magic_cmd, produces output that libtool cannot recognize.
6263 *** The result is that libtool may fail to recognize shared libraries
6264 *** as such. This will affect the creation of libtool libraries that
6265 *** depend on shared libraries, but programs linked with such libtool
6266 *** libraries will work regardless of this problem. Nevertheless, you
6267 *** may want to report the problem to your system manager and/or to
6268 *** bug-libtool@gnu.org
6278 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6283 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6284 if test -n "$MAGIC_CMD"; then
6285 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6286 echo "${ECHO_T}$MAGIC_CMD" >&6
6288 echo "$as_me:$LINENO: result: no" >&5
6289 echo "${ECHO_T}no" >&6
6292 if test -z "$lt_cv_path_MAGIC_CMD"; then
6293 if test -n "$ac_tool_prefix"; then
6294 echo "$as_me:$LINENO: checking for file" >&5
6295 echo $ECHO_N "checking for file... $ECHO_C" >&6
6296 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6297 echo $ECHO_N "(cached) $ECHO_C" >&6
6301 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6304 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6305 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6306 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6307 for ac_dir
in $ac_dummy; do
6309 test -z "$ac_dir" && ac_dir
=.
6310 if test -f $ac_dir/file; then
6311 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6312 if test -n "$file_magic_test_file"; then
6313 case $deplibs_check_method in
6315 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6316 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6317 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6318 $EGREP "$file_magic_regex" > /dev
/null
; then
6323 *** Warning: the command libtool uses to detect shared libraries,
6324 *** $file_magic_cmd, produces output that libtool cannot recognize.
6325 *** The result is that libtool may fail to recognize shared libraries
6326 *** as such. This will affect the creation of libtool libraries that
6327 *** depend on shared libraries, but programs linked with such libtool
6328 *** libraries will work regardless of this problem. Nevertheless, you
6329 *** may want to report the problem to your system manager and/or to
6330 *** bug-libtool@gnu.org
6340 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6345 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6346 if test -n "$MAGIC_CMD"; then
6347 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6348 echo "${ECHO_T}$MAGIC_CMD" >&6
6350 echo "$as_me:$LINENO: result: no" >&5
6351 echo "${ECHO_T}no" >&6
6366 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6367 if test "${enable_libtool_lock+set}" = set; then
6368 enableval
="$enable_libtool_lock"
6371 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6374 # Check whether --with-pic or --without-pic was given.
6375 if test "${with_pic+set}" = set; then
6381 test -z "$pic_mode" && pic_mode
=default
6383 # Use C for the default configuration in the libtool script
6387 ac_cpp
='$CPP $CPPFLAGS'
6388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6393 # Source file extension for C test sources.
6396 # Object file extension for compiled C test sources.
6400 # Code to be used in simple compile tests
6401 lt_simple_compile_test_code
="int some_variable = 0;\n"
6403 # Code to be used in simple link tests
6404 lt_simple_link_test_code
='int main(){return(0);}\n'
6407 # If no C compiler was specified, use CC.
6410 # If no C compiler flags were specified, use CFLAGS.
6411 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6413 # Allow CC to be a program name with arguments.
6417 # save warnings/boilerplate of simple test code
6418 ac_outfile
=conftest.
$ac_objext
6419 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6420 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6421 _lt_compiler_boilerplate
=`cat conftest.err`
6424 ac_outfile
=conftest.
$ac_objext
6425 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6426 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6427 _lt_linker_boilerplate
=`cat conftest.err`
6432 lt_prog_compiler_no_builtin_flag
=
6434 if test "$GCC" = yes; then
6435 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6438 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6439 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6440 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6441 echo $ECHO_N "(cached) $ECHO_C" >&6
6443 lt_cv_prog_compiler_rtti_exceptions
=no
6444 ac_outfile
=conftest.
$ac_objext
6445 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6446 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6447 # Insert the option either (1) after the last *FLAGS variable, or
6448 # (2) before a word containing "conftest.", or (3) at the end.
6449 # Note that $ac_compile itself does not contain backslashes and begins
6450 # with a dollar sign (not a hyphen), so the echo should work correctly.
6451 # The option is referenced via a variable to avoid confusing sed.
6452 lt_compile
=`echo "$ac_compile" | $SED \
6453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6455 -e 's:$: $lt_compiler_flag:'`
6456 (eval echo "\"\$as_me:6456: $lt_compile\"" >&5)
6457 (eval "$lt_compile" 2>conftest.err
)
6459 cat conftest.err
>&5
6460 echo "$as_me:6460: \$? = $ac_status" >&5
6461 if (exit $ac_status) && test -s "$ac_outfile"; then
6462 # The compiler can only warn and ignore the option if not recognized
6463 # So say no if there are warnings other than the usual output.
6464 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6465 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6466 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6467 lt_cv_prog_compiler_rtti_exceptions
=yes
6473 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6474 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6476 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6477 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6484 lt_prog_compiler_wl
=
6485 lt_prog_compiler_pic
=
6486 lt_prog_compiler_static
=
6488 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6489 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6491 if test "$GCC" = yes; then
6492 lt_prog_compiler_wl
='-Wl,'
6493 lt_prog_compiler_static
='-static'
6497 # All AIX code is PIC.
6498 if test "$host_cpu" = ia64
; then
6499 # AIX 5 now supports IA64 processor
6500 lt_prog_compiler_static
='-Bstatic'
6505 # FIXME: we need at least 68020 code to build shared libraries, but
6506 # adding the `-m68020' flag to GCC prevents building anything better,
6508 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6511 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6512 # PIC is the default for these OSes.
6515 mingw
* | pw32
* | os2
*)
6516 # This hack is so that the source file can tell whether it is being
6517 # built for inclusion in a dll (and should export symbols for example).
6518 lt_prog_compiler_pic
='-DDLL_EXPORT'
6521 darwin
* | rhapsody
*)
6522 # PIC is the default on this platform
6523 # Common symbols not allowed in MH_DYLIB files
6524 lt_prog_compiler_pic
='-fno-common'
6528 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6529 # Instead, we relocate shared libraries at runtime.
6533 # Just because we use GCC doesn't mean we suddenly get shared libraries
6534 # on systems that don't support them.
6535 lt_prog_compiler_can_build_shared
=no
6540 if test -d /usr
/nec
; then
6541 lt_prog_compiler_pic
=-Kconform_pic
6546 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6553 lt_prog_compiler_pic
='-fPIC'
6559 lt_prog_compiler_pic
='-fPIC'
6563 # PORTME Check for flag to pass linker flags through the system compiler.
6566 lt_prog_compiler_wl
='-Wl,'
6567 if test "$host_cpu" = ia64
; then
6568 # AIX 5 now supports IA64 processor
6569 lt_prog_compiler_static
='-Bstatic'
6571 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6575 # PIC is the default on this platform
6576 # Common symbols not allowed in MH_DYLIB files
6577 case $cc_basename in
6579 lt_prog_compiler_pic
='-qnocommon'
6580 lt_prog_compiler_wl
='-Wl,'
6585 mingw
* | pw32
* | os2
*)
6586 # This hack is so that the source file can tell whether it is being
6587 # built for inclusion in a dll (and should export symbols for example).
6588 lt_prog_compiler_pic
='-DDLL_EXPORT'
6591 hpux9
* | hpux10
* | hpux11
*)
6592 lt_prog_compiler_wl
='-Wl,'
6593 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6600 lt_prog_compiler_pic
='+Z'
6603 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6604 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6607 irix5
* | irix6
* | nonstopux
*)
6608 lt_prog_compiler_wl
='-Wl,'
6609 # PIC (with -KPIC) is the default.
6610 lt_prog_compiler_static
='-non_shared'
6614 lt_prog_compiler_pic
='-KPIC'
6615 lt_prog_compiler_static
='-Bstatic'
6619 case $cc_basename in
6621 lt_prog_compiler_wl
='-Wl,'
6622 lt_prog_compiler_pic
='-KPIC'
6623 lt_prog_compiler_static
='-static'
6625 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6626 # Portland Group compilers (*not* the Pentium gcc compiler,
6627 # which looks to be a dead project)
6628 lt_prog_compiler_wl
='-Wl,'
6629 lt_prog_compiler_pic
='-fpic'
6630 lt_prog_compiler_static
='-Bstatic'
6633 lt_prog_compiler_wl
='-Wl,'
6634 # All Alpha code is PIC.
6635 lt_prog_compiler_static
='-non_shared'
6640 osf3
* | osf4
* | osf5
*)
6641 lt_prog_compiler_wl
='-Wl,'
6642 # All OSF/1 code is PIC.
6643 lt_prog_compiler_static
='-non_shared'
6647 lt_prog_compiler_pic
='-KPIC'
6648 lt_prog_compiler_static
='-Bstatic'
6649 case $cc_basename in
6651 lt_prog_compiler_wl
='-Qoption ld ';;
6653 lt_prog_compiler_wl
='-Wl,';;
6658 lt_prog_compiler_wl
='-Qoption ld '
6659 lt_prog_compiler_pic
='-PIC'
6660 lt_prog_compiler_static
='-Bstatic'
6663 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6664 lt_prog_compiler_wl
='-Wl,'
6665 lt_prog_compiler_pic
='-KPIC'
6666 lt_prog_compiler_static
='-Bstatic'
6670 if test -d /usr
/nec
;then
6671 lt_prog_compiler_pic
='-Kconform_pic'
6672 lt_prog_compiler_static
='-Bstatic'
6676 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6677 lt_prog_compiler_wl
='-Wl,'
6678 lt_prog_compiler_pic
='-KPIC'
6679 lt_prog_compiler_static
='-Bstatic'
6683 lt_prog_compiler_wl
='-Wl,'
6684 lt_prog_compiler_can_build_shared
=no
6688 lt_prog_compiler_pic
='-pic'
6689 lt_prog_compiler_static
='-Bstatic'
6693 lt_prog_compiler_can_build_shared
=no
6698 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6699 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6702 # Check to make sure the PIC flag actually works.
6704 if test -n "$lt_prog_compiler_pic"; then
6706 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6707 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6708 if test "${lt_prog_compiler_pic_works+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 lt_prog_compiler_pic_works
=no
6712 ac_outfile
=conftest.
$ac_objext
6713 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6714 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6715 # Insert the option either (1) after the last *FLAGS variable, or
6716 # (2) before a word containing "conftest.", or (3) at the end.
6717 # Note that $ac_compile itself does not contain backslashes and begins
6718 # with a dollar sign (not a hyphen), so the echo should work correctly.
6719 # The option is referenced via a variable to avoid confusing sed.
6720 lt_compile
=`echo "$ac_compile" | $SED \
6721 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6723 -e 's:$: $lt_compiler_flag:'`
6724 (eval echo "\"\$as_me:6724: $lt_compile\"" >&5)
6725 (eval "$lt_compile" 2>conftest.err
)
6727 cat conftest.err
>&5
6728 echo "$as_me:6728: \$? = $ac_status" >&5
6729 if (exit $ac_status) && test -s "$ac_outfile"; then
6730 # The compiler can only warn and ignore the option if not recognized
6731 # So say no if there are warnings other than the usual output.
6732 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6733 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6734 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6735 lt_prog_compiler_pic_works
=yes
6741 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6742 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6744 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6745 case $lt_prog_compiler_pic in
6747 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6750 lt_prog_compiler_pic
=
6751 lt_prog_compiler_can_build_shared
=no
6756 # For platforms which do not support PIC, -DPIC is meaningless:
6758 lt_prog_compiler_pic
=
6761 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6766 # Check to make sure the static flag actually works.
6768 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6769 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6770 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6771 if test "${lt_prog_compiler_static_works+set}" = set; then
6772 echo $ECHO_N "(cached) $ECHO_C" >&6
6774 lt_prog_compiler_static_works
=no
6775 save_LDFLAGS
="$LDFLAGS"
6776 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6777 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6778 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6779 # The linker can only warn and ignore the option if not recognized
6780 # So say no if there are warnings
6781 if test -s conftest.err
; then
6782 # Append any errors to the config.log.
6783 cat conftest.err
1>&5
6784 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6785 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6786 if diff conftest.exp conftest.er2
>/dev
/null
; then
6787 lt_prog_compiler_static_works
=yes
6790 lt_prog_compiler_static_works
=yes
6794 LDFLAGS
="$save_LDFLAGS"
6797 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6798 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6800 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6803 lt_prog_compiler_static
=
6807 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6808 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6809 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6810 echo $ECHO_N "(cached) $ECHO_C" >&6
6812 lt_cv_prog_compiler_c_o
=no
6813 $rm -r conftest
2>/dev
/null
6817 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6819 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6820 # Insert the option either (1) after the last *FLAGS variable, or
6821 # (2) before a word containing "conftest.", or (3) at the end.
6822 # Note that $ac_compile itself does not contain backslashes and begins
6823 # with a dollar sign (not a hyphen), so the echo should work correctly.
6824 lt_compile
=`echo "$ac_compile" | $SED \
6825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6827 -e 's:$: $lt_compiler_flag:'`
6828 (eval echo "\"\$as_me:6828: $lt_compile\"" >&5)
6829 (eval "$lt_compile" 2>out
/conftest.err
)
6831 cat out
/conftest.err
>&5
6832 echo "$as_me:6832: \$? = $ac_status" >&5
6833 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6835 # The compiler can only warn and ignore the option if not recognized
6836 # So say no if there are warnings
6837 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6838 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6839 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6840 lt_cv_prog_compiler_c_o
=yes
6845 # SGI C++ compiler will create directory out/ii_files/ for
6846 # template instantiation
6847 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6848 $rm out
/* && rmdir out
6854 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6855 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6858 hard_links
="nottested"
6859 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6860 # do not overwrite the value of need_locks provided by the user
6861 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6862 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6865 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6867 ln conftest.a conftest.b
2>&5 || hard_links
=no
6868 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6869 echo "$as_me:$LINENO: result: $hard_links" >&5
6870 echo "${ECHO_T}$hard_links" >&6
6871 if test "$hard_links" = no
; then
6872 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6873 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6880 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6881 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6884 allow_undefined_flag
=
6885 enable_shared_with_static_runtimes
=no
6887 archive_expsym_cmds
=
6888 old_archive_From_new_cmds
=
6889 old_archive_from_expsyms_cmds
=
6890 export_dynamic_flag_spec
=
6891 whole_archive_flag_spec
=
6892 thread_safe_flag_spec
=
6893 hardcode_libdir_flag_spec
=
6894 hardcode_libdir_flag_spec_ld
=
6895 hardcode_libdir_separator
=
6898 hardcode_shlibpath_var
=unsupported
6899 link_all_deplibs
=unknown
6900 hardcode_automatic
=no
6903 always_export_symbols
=no
6904 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6905 # include_expsyms should be a list of space-separated symbols to be *always*
6906 # included in the symbol list
6908 # exclude_expsyms can be an extended regexp of symbols to exclude
6909 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6910 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6911 # as well as any symbol that contains `d'.
6912 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6913 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6914 # platforms (ab)use it in PIC code, but their linkers get confused if
6915 # the symbol is explicitly referenced. Since portable code cannot
6916 # rely on this symbol name, it's probably fine to never include it in
6917 # preloaded symbol tables.
6918 extract_expsyms_cmds
=
6919 # Just being paranoid about ensuring that cc_basename is set.
6920 for cc_temp
in $compiler""; do
6922 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6923 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6928 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6931 cygwin
* | mingw
* | pw32
*)
6932 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6933 # When not using gcc, we currently assume that we are using
6934 # Microsoft Visual C++.
6935 if test "$GCC" != yes; then
6940 # we just hope/assume this is gcc and not c89 (= MSVC++)
6949 if test "$with_gnu_ld" = yes; then
6950 # If archive_cmds runs LD, not CC, wlarc should be empty
6953 # Set some defaults for GNU ld with shared library support. These
6954 # are reset later if shared libraries are not supported. Putting them
6955 # here allows them to be overridden if necessary.
6956 runpath_var
=LD_RUN_PATH
6957 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6958 export_dynamic_flag_spec
='${wl}--export-dynamic'
6959 # ancient GNU ld didn't support --whole-archive et. al.
6960 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6961 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6963 whole_archive_flag_spec
=
6965 supports_anon_versioning
=no
6966 case `$LD -v 2>/dev/null` in
6967 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6968 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6969 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6970 *\
2.11.
*) ;; # other 2.11 versions
6971 *) supports_anon_versioning
=yes ;;
6974 # See if GNU ld supports shared libraries.
6976 aix3
* | aix4
* | aix5
*)
6977 # On AIX/PPC, the GNU linker is very broken
6978 if test "$host_cpu" != ia64
; then
6982 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6983 *** to be unable to reliably create shared libraries on AIX.
6984 *** Therefore, libtool is disabling shared libraries support. If you
6985 *** really care for shared libraries, you may want to modify your PATH
6986 *** so that a non-GNU linker is found, and then restart.
6993 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)'
6994 hardcode_libdir_flag_spec
='-L$libdir'
6995 hardcode_minus_L
=yes
6997 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6998 # that the semantics of dynamic libraries on AmigaOS, at least up
6999 # to version 4, is to share data among multiple programs linked
7000 # with the same dynamic library. Since this doesn't match the
7001 # behavior of shared libraries on other platforms, we can't use
7007 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7008 allow_undefined_flag
=unsupported
7009 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7010 # support --undefined. This deserves some investigation. FIXME
7011 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7017 cygwin
* | mingw
* | pw32
*)
7018 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7019 # as there is no search path for DLLs.
7020 hardcode_libdir_flag_spec
='-L$libdir'
7021 allow_undefined_flag
=unsupported
7022 always_export_symbols
=no
7023 enable_shared_with_static_runtimes
=yes
7024 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7026 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7027 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7028 # If the export-symbols file already is a .def file (1st line
7029 # is EXPORTS), use it as is; otherwise, prepend...
7030 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7031 cp $export_symbols $output_objdir/$soname.def;
7033 echo EXPORTS > $output_objdir/$soname.def;
7034 cat $export_symbols >> $output_objdir/$soname.def;
7036 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7044 hardcode_shlibpath_var
=no
7045 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7046 export_dynamic_flag_spec
='${wl}-E'
7047 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7048 # Instead, shared libraries are loaded at an image base (0x10000000 by
7049 # default) and relocated if they conflict, which is a slow very memory
7050 # consuming and fragmenting process. To avoid this, we pick a random,
7051 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7052 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7053 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7054 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7058 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7060 case $cc_basename,$host_cpu in
7061 pgcc
*) # Portland Group C compiler
7062 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7063 tmp_addflag
=' $pic_flag'
7065 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7066 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7067 tmp_addflag
=' $pic_flag -Mnomain' ;;
7068 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7069 tmp_addflag
=' -i_dynamic' ;;
7070 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7071 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7072 ifc
* | ifort
*) # Intel Fortran compiler
7073 tmp_addflag
=' -nofor_main' ;;
7075 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7077 if test $supports_anon_versioning = yes; then
7078 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7079 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7080 $echo "local: *; };" >> $output_objdir/$libname.ver~
7081 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7089 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7090 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7093 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7094 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7099 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7103 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7104 *** create shared libraries on Solaris systems. Therefore, libtool
7105 *** is disabling shared libraries support. We urge you to upgrade GNU
7106 *** binutils to release 2.9.1 or newer. Another option is to modify
7107 *** your PATH or compiler configuration so that the native linker is
7108 *** used, and then restart.
7111 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7112 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7113 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7119 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7120 case `$LD -v 2>&1` in
7121 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7125 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7126 *** reliably create shared libraries on SCO systems. Therefore, libtool
7127 *** is disabling shared libraries support. We urge you to upgrade GNU
7128 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7129 *** your PATH or compiler configuration so that the native linker is
7130 *** used, and then restart.
7135 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7136 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7137 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7138 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7147 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7150 hardcode_shlibpath_var
=no
7154 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7155 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7156 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7163 if test "$ld_shlibs" = no
; then
7165 hardcode_libdir_flag_spec
=
7166 export_dynamic_flag_spec
=
7167 whole_archive_flag_spec
=
7170 # PORTME fill in a description of your system's linker (not GNU ld)
7173 allow_undefined_flag
=unsupported
7174 always_export_symbols
=yes
7175 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'
7176 # Note: this linker hardcodes the directories in LIBPATH if there
7177 # are no directories specified by -L.
7178 hardcode_minus_L
=yes
7179 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7180 # Neither direct hardcoding nor static linking is supported with a
7182 hardcode_direct
=unsupported
7187 if test "$host_cpu" = ia64
; then
7188 # On IA64, the linker does run time linking by default, so we don't
7189 # have to do anything special.
7190 aix_use_runtimelinking
=no
7191 exp_sym_flag
='-Bexport'
7194 # If we're using GNU nm, then we don't want the "-C" option.
7195 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7196 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7197 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'
7199 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'
7201 aix_use_runtimelinking
=no
7203 # Test if we are trying to use run time linking or normal
7204 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7205 # need to do runtime linking.
7206 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7207 for ld_flag
in $LDFLAGS; do
7208 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7209 aix_use_runtimelinking
=yes
7216 exp_sym_flag
='-bexport'
7217 no_entry_flag
='-bnoentry'
7220 # When large executables or shared objects are built, AIX ld can
7221 # have problems creating the table of contents. If linking a library
7222 # or program results in "error TOC overflow" add -mminimal-toc to
7223 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7224 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7228 hardcode_libdir_separator
=':'
7229 link_all_deplibs
=yes
7231 if test "$GCC" = yes; then
7232 case $host_os in aix4.
[012]|aix4.
[012].
*)
7233 # We only want to do this on AIX 4.2 and lower, the check
7234 # below for broken collect2 doesn't work under 4.3+
7235 collect2name
=`${CC} -print-prog-name=collect2`
7236 if test -f "$collect2name" && \
7237 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7239 # We have reworked collect2
7242 # We have old collect2
7243 hardcode_direct
=unsupported
7244 # It fails to find uninstalled libraries when the uninstalled
7245 # path is not listed in the libpath. Setting hardcode_minus_L
7246 # to unsupported forces relinking
7247 hardcode_minus_L
=yes
7248 hardcode_libdir_flag_spec
='-L$libdir'
7249 hardcode_libdir_separator
=
7253 shared_flag
='-shared'
7254 if test "$aix_use_runtimelinking" = yes; then
7255 shared_flag
="$shared_flag "'${wl}-G'
7259 if test "$host_cpu" = ia64
; then
7260 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7261 # chokes on -Wl,-G. The following line is correct:
7264 if test "$aix_use_runtimelinking" = yes; then
7265 shared_flag
='${wl}-G'
7267 shared_flag
='${wl}-bM:SRE'
7272 # It seems that -bexpall does not export symbols beginning with
7273 # underscore (_), so it is better to generate a list of symbols to export.
7274 always_export_symbols
=yes
7275 if test "$aix_use_runtimelinking" = yes; then
7276 # Warning - without using the other runtime loading flags (-brtl),
7277 # -berok will link without error, but may produce a broken library.
7278 allow_undefined_flag
='-berok'
7279 # Determine the default libpath from the value encoded in an empty executable.
7280 cat >conftest.
$ac_ext <<_ACEOF
7283 cat confdefs.h
>>conftest.
$ac_ext
7284 cat >>conftest.
$ac_ext <<_ACEOF
7285 /* end confdefs.h. */
7295 rm -f conftest.
$ac_objext conftest
$ac_exeext
7296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7297 (eval $ac_link) 2>conftest.er1
7299 grep -v '^ *+' conftest.er1
>conftest.err
7301 cat conftest.err
>&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); } &&
7304 { ac_try
='test -z "$ac_c_werror_flag"
7305 || test ! -s conftest.err'
7306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); }; } &&
7311 { ac_try
='test -s conftest$ac_exeext'
7312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); }; }; then
7318 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7320 # Check for a 64-bit object if we didn't find anything.
7321 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; }
7324 echo "$as_me: failed program was:" >&5
7325 sed 's/^/| /' conftest.
$ac_ext >&5
7328 rm -f conftest.err conftest.
$ac_objext \
7329 conftest
$ac_exeext conftest.
$ac_ext
7330 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7332 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7333 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7335 if test "$host_cpu" = ia64
; then
7336 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7337 allow_undefined_flag
="-z nodefs"
7338 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7340 # Determine the default libpath from the value encoded in an empty executable.
7341 cat >conftest.
$ac_ext <<_ACEOF
7344 cat confdefs.h
>>conftest.
$ac_ext
7345 cat >>conftest.
$ac_ext <<_ACEOF
7346 /* end confdefs.h. */
7356 rm -f conftest.
$ac_objext conftest
$ac_exeext
7357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7358 (eval $ac_link) 2>conftest.er1
7360 grep -v '^ *+' conftest.er1
>conftest.err
7362 cat conftest.err
>&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } &&
7365 { ac_try
='test -z "$ac_c_werror_flag"
7366 || test ! -s conftest.err'
7367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); }; } &&
7372 { ac_try
='test -s conftest$ac_exeext'
7373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); }; }; then
7379 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7381 # Check for a 64-bit object if we didn't find anything.
7382 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; }
7385 echo "$as_me: failed program was:" >&5
7386 sed 's/^/| /' conftest.
$ac_ext >&5
7389 rm -f conftest.err conftest.
$ac_objext \
7390 conftest
$ac_exeext conftest.
$ac_ext
7391 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7393 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7394 # Warning - without using the other run time loading flags,
7395 # -berok will link without error, but may produce a broken library.
7396 no_undefined_flag
=' ${wl}-bernotok'
7397 allow_undefined_flag
=' ${wl}-berok'
7398 # Exported symbols can be pulled into shared objects from archives
7399 whole_archive_flag_spec
='$convenience'
7400 archive_cmds_need_lc
=yes
7401 # This is similar to how AIX traditionally builds its shared libraries.
7402 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7408 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)'
7409 hardcode_libdir_flag_spec
='-L$libdir'
7410 hardcode_minus_L
=yes
7411 # see comment about different semantics on the GNU ld section
7416 export_dynamic_flag_spec
=-rdynamic
7419 cygwin
* | mingw
* | pw32
*)
7420 # When not using gcc, we currently assume that we are using
7421 # Microsoft Visual C++.
7422 # hardcode_libdir_flag_spec is actually meaningless, as there is
7423 # no search path for DLLs.
7424 hardcode_libdir_flag_spec
=' '
7425 allow_undefined_flag
=unsupported
7426 # Tell ltmain to make .lib files, not .a files.
7428 # Tell ltmain to make .dll files, not .so files.
7430 # FIXME: Setting linknames here is a bad hack.
7431 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7432 # The linker will automatically build a .lib file if we build a DLL.
7433 old_archive_From_new_cmds
='true'
7434 # FIXME: Should let the user specify the lib program.
7435 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7436 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7437 enable_shared_with_static_runtimes
=yes
7440 darwin
* | rhapsody
*)
7442 rhapsody
* | darwin1.
[012])
7443 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7446 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7447 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7449 case ${MACOSX_DEPLOYMENT_TARGET} in
7451 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7454 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7460 archive_cmds_need_lc
=no
7462 hardcode_automatic
=yes
7463 hardcode_shlibpath_var
=unsupported
7464 whole_archive_flag_spec
=''
7465 link_all_deplibs
=yes
7466 if test "$GCC" = yes ; then
7467 output_verbose_link_cmd
='echo'
7468 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7469 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7470 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7471 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}'
7472 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}'
7474 case $cc_basename in
7476 output_verbose_link_cmd
='echo'
7477 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7478 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7479 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7480 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}'
7481 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}'
7491 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7492 hardcode_libdir_flag_spec
='-L$libdir'
7493 hardcode_shlibpath_var
=no
7500 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7501 # support. Future versions do this automatically, but an explicit c++rt0.o
7502 # does not break anything, and helps significantly (at the cost of a little
7505 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7506 hardcode_libdir_flag_spec
='-R$libdir'
7508 hardcode_shlibpath_var
=no
7511 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7513 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7515 hardcode_minus_L
=yes
7516 hardcode_shlibpath_var
=no
7519 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7520 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7521 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7522 hardcode_libdir_flag_spec
='-R$libdir'
7524 hardcode_shlibpath_var
=no
7528 if test "$GCC" = yes; then
7529 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'
7531 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'
7533 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7534 hardcode_libdir_separator
=:
7537 # hardcode_minus_L: Not really in the search PATH,
7538 # but as the default location of the library.
7539 hardcode_minus_L
=yes
7540 export_dynamic_flag_spec
='${wl}-E'
7544 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7545 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7547 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7549 if test "$with_gnu_ld" = no
; then
7550 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7551 hardcode_libdir_separator
=:
7554 export_dynamic_flag_spec
='${wl}-E'
7556 # hardcode_minus_L: Not really in the search PATH,
7557 # but as the default location of the library.
7558 hardcode_minus_L
=yes
7563 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7566 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7569 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7572 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7578 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7581 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7584 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7588 if test "$with_gnu_ld" = no
; then
7589 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7590 hardcode_libdir_separator
=:
7594 hardcode_libdir_flag_spec_ld
='+b $libdir'
7596 hardcode_shlibpath_var
=no
7600 export_dynamic_flag_spec
='${wl}-E'
7602 # hardcode_minus_L: Not really in the search PATH,
7603 # but as the default location of the library.
7604 hardcode_minus_L
=yes
7610 irix5
* | irix6
* | nonstopux
*)
7611 if test "$GCC" = yes; then
7612 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'
7614 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'
7615 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7617 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7618 hardcode_libdir_separator
=:
7619 link_all_deplibs
=yes
7623 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7624 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7626 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7628 hardcode_libdir_flag_spec
='-R$libdir'
7630 hardcode_shlibpath_var
=no
7634 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7636 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7637 hardcode_libdir_separator
=:
7638 hardcode_shlibpath_var
=no
7643 hardcode_shlibpath_var
=no
7644 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7645 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7646 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7647 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7648 export_dynamic_flag_spec
='${wl}-E'
7651 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7652 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7653 hardcode_libdir_flag_spec
='-R$libdir'
7656 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7657 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7664 hardcode_libdir_flag_spec
='-L$libdir'
7665 hardcode_minus_L
=yes
7666 allow_undefined_flag
=unsupported
7667 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'
7668 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7672 if test "$GCC" = yes; then
7673 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7674 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'
7676 allow_undefined_flag
=' -expect_unresolved \*'
7677 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'
7679 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7680 hardcode_libdir_separator
=:
7683 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7684 if test "$GCC" = yes; then
7685 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7686 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'
7687 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7689 allow_undefined_flag
=' -expect_unresolved \*'
7690 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'
7691 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7692 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7694 # Both c and cxx compiler support -rpath directly
7695 hardcode_libdir_flag_spec
='-rpath $libdir'
7697 hardcode_libdir_separator
=:
7701 no_undefined_flag
=' -z text'
7702 if test "$GCC" = yes; then
7704 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7705 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7706 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7709 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7710 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7711 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7713 hardcode_libdir_flag_spec
='-R$libdir'
7714 hardcode_shlibpath_var
=no
7716 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7718 # The compiler driver will combine linker options so we
7719 # cannot just pass the convience library names through
7720 # without $wl, iff we do not link with $LD.
7721 # Luckily, gcc supports the same syntax we need for Sun Studio.
7722 # Supported since Solaris 2.6 (maybe 2.5.1?)
7725 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7727 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7730 link_all_deplibs
=yes
7734 if test "x$host_vendor" = xsequent
; then
7735 # Use $CC to link under sequent, because it throws in some extra .o
7736 # files that make .init and .fini sections work.
7737 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7739 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7741 hardcode_libdir_flag_spec
='-L$libdir'
7743 hardcode_minus_L
=yes
7744 hardcode_shlibpath_var
=no
7748 case $host_vendor in
7750 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7751 hardcode_direct
=yes # is this really true???
7754 ## LD is ld it makes a PLAMLIB
7755 ## CC just makes a GrossModule.
7756 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7757 reload_cmds
='$CC -r -o $output$reload_objs'
7761 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7762 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7765 runpath_var
='LD_RUN_PATH'
7766 hardcode_shlibpath_var
=no
7770 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7771 hardcode_shlibpath_var
=no
7772 export_dynamic_flag_spec
='-Bexport'
7776 if test -d /usr
/nec
; then
7777 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7778 hardcode_shlibpath_var
=no
7779 runpath_var
=LD_RUN_PATH
7780 hardcode_runpath_var
=yes
7785 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
7786 no_undefined_flag
='${wl}-z,text'
7787 archive_cmds_need_lc
=no
7788 hardcode_shlibpath_var
=no
7789 runpath_var
='LD_RUN_PATH'
7791 if test "$GCC" = yes; then
7792 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7793 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7795 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7796 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7800 sysv5
* | sco3.2v5
* | sco5v6
*)
7801 # Note: We can NOT use -z defs as we might desire, because we do not
7802 # link with -lc, and that would cause any symbols used from libc to
7803 # always be unresolved, which means just about no library would
7804 # ever link correctly. If we're not using GNU ld we use -z text
7805 # though, which does catch some bad symbols but isn't as heavy-handed
7807 no_undefined_flag
='${wl}-z,text'
7808 allow_undefined_flag
='${wl}-z,nodefs'
7809 archive_cmds_need_lc
=no
7810 hardcode_shlibpath_var
=no
7811 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7812 hardcode_libdir_separator
=':'
7813 link_all_deplibs
=yes
7814 export_dynamic_flag_spec
='${wl}-Bexport'
7815 runpath_var
='LD_RUN_PATH'
7817 if test "$GCC" = yes; then
7818 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7819 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7821 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7822 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7827 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7828 hardcode_libdir_flag_spec
='-L$libdir'
7829 hardcode_shlibpath_var
=no
7838 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7839 echo "${ECHO_T}$ld_shlibs" >&6
7840 test "$ld_shlibs" = no
&& can_build_shared
=no
7843 # Do we need to explicitly link libc?
7845 case "x$archive_cmds_need_lc" in
7847 # Assume -lc should be added
7848 archive_cmds_need_lc
=yes
7850 if test "$enable_shared" = yes && test "$GCC" = yes; then
7851 case $archive_cmds in
7853 # FIXME: we may have to deal with multi-command sequences.
7856 # Test whether the compiler implicitly links with -lc since on some
7857 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7858 # to ld, don't add -lc before -lgcc.
7859 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7860 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7862 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7865 (eval $ac_compile) 2>&5
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); } 2>conftest.err
; then
7871 libobjs
=conftest.
$ac_objext
7873 wl
=$lt_prog_compiler_wl
7874 pic_flag
=$lt_prog_compiler_pic
7880 lt_save_allow_undefined_flag
=$allow_undefined_flag
7881 allow_undefined_flag
=
7882 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7883 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); }
7888 archive_cmds_need_lc
=no
7890 archive_cmds_need_lc
=yes
7892 allow_undefined_flag
=$lt_save_allow_undefined_flag
7894 cat conftest.err
1>&5
7897 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7898 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7905 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7906 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7908 libname_spec
='lib$name'
7916 shlibpath_overrides_runpath
=unknown
7918 dynamic_linker
="$host_os ld.so"
7919 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7920 if test "$GCC" = yes; then
7921 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7922 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7923 # if the path contains ";" then we assume it to be the separator
7924 # otherwise default to the standard path separator (i.e. ":") - it is
7925 # assumed that no part of a normal pathname contains ";" but that should
7926 # okay in the real world where ";" in dirpaths is itself problematic.
7927 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7929 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7932 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7934 need_lib_prefix
=unknown
7935 hardcode_into_libs
=no
7937 # when you set need_version to no, make sure it does not cause -set_version
7938 # flags to be left without arguments
7939 need_version
=unknown
7944 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7945 shlibpath_var
=LIBPATH
7947 # AIX 3 has no versioning support, so we append a major version to the name.
7948 soname_spec
='${libname}${release}${shared_ext}$major'
7955 hardcode_into_libs
=yes
7956 if test "$host_cpu" = ia64
; then
7957 # AIX 5 supports IA64
7958 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7959 shlibpath_var
=LD_LIBRARY_PATH
7961 # With GCC up to 2.95.x, collect2 would create an import file
7962 # for dependence libraries. The import file would start with
7963 # the line `#! .'. This would cause the generated library to
7964 # depend on `.', always an invalid library. This was fixed in
7965 # development snapshots of GCC prior to 3.0.
7967 aix4 | aix4.
[01] | aix4.
[01].
*)
7968 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7970 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7977 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7978 # soname into executable. Probably we can add versioning support to
7979 # collect2, so additional links can be useful in future.
7980 if test "$aix_use_runtimelinking" = yes; then
7981 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7982 # instead of lib<name>.a to let people know that these are not
7983 # typical AIX shared libraries.
7984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7986 # We preserve .a as extension for shared libraries through AIX4.2
7987 # and later when we are not doing run time linking.
7988 library_names_spec
='${libname}${release}.a $libname.a'
7989 soname_spec
='${libname}${release}${shared_ext}$major'
7991 shlibpath_var
=LIBPATH
7996 library_names_spec
='$libname.ixlibrary $libname.a'
7997 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7998 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'
8002 library_names_spec
='${libname}${shared_ext}'
8003 dynamic_linker
="$host_os ld.so"
8004 shlibpath_var
=LIBRARY_PATH
8010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8011 soname_spec
='${libname}${release}${shared_ext}$major'
8012 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8013 shlibpath_var
=LD_LIBRARY_PATH
8014 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8015 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8016 # the default ld.so.conf also contains /usr/contrib/lib and
8017 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8018 # libtool to hard-code these into programs
8021 cygwin
* | mingw
* | pw32
*)
8022 version_type
=windows
8027 case $GCC,$host_os in
8028 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8029 library_names_spec
='$libname.dll.a'
8030 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8031 postinstall_cmds
='base_file=`basename \${file}`~
8032 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8033 dldir=$destdir/`dirname \$dlpath`~
8034 test -d \$dldir || mkdir -p \$dldir~
8035 $install_prog $dir/$dlname \$dldir/$dlname~
8036 chmod a+x \$dldir/$dlname'
8037 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8038 dlpath=$dir/\$dldll~
8040 shlibpath_overrides_runpath
=yes
8044 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8045 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8046 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8049 # MinGW DLLs use traditional 'lib' prefix
8050 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8051 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8052 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8053 # It is most probably a Windows format PATH printed by
8054 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8055 # path with ; separators, and with drive letters. We can handle the
8056 # drive letters (cygwin fileutils understands them), so leave them,
8057 # especially as we might pass files found there to a mingw objdump,
8058 # which wouldn't understand a cygwinified path. Ahh.
8059 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8061 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8065 # pw32 DLLs use 'pw' prefix rather than 'lib'
8066 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8072 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8075 dynamic_linker
='Win32 ld.exe'
8076 # FIXME: first we should search . and the directory the executable is in
8080 darwin
* | rhapsody
*)
8081 dynamic_linker
="$host_os dyld"
8085 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8086 soname_spec
='${libname}${release}${major}$shared_ext'
8087 shlibpath_overrides_runpath
=yes
8088 shlibpath_var
=DYLD_LIBRARY_PATH
8089 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8090 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8091 if test "$GCC" = yes; then
8092 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"`
8094 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8096 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8104 soname_spec
='${libname}${release}${shared_ext}$major'
8105 shlibpath_var
=LD_LIBRARY_PATH
8116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8117 soname_spec
='${libname}${release}${shared_ext}$major'
8118 shlibpath_var
=LD_LIBRARY_PATH
8119 shlibpath_overrides_runpath
=no
8120 hardcode_into_libs
=yes
8121 dynamic_linker
='GNU ld.so'
8124 freebsd
* | dragonfly
*)
8125 # DragonFly does not have aout. When/if they implement a new
8126 # versioning mechanism, adjust this.
8127 if test -x /usr
/bin
/objformat
; then
8128 objformat
=`/usr/bin/objformat`
8131 freebsd
[123]*) objformat
=aout
;;
8135 version_type
=freebsd-
$objformat
8136 case $version_type in
8138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8143 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8147 shlibpath_var
=LD_LIBRARY_PATH
8150 shlibpath_overrides_runpath
=yes
8152 freebsd3.
[01]* | freebsdelf3.
[01]*)
8153 shlibpath_overrides_runpath
=yes
8154 hardcode_into_libs
=yes
8156 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8157 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8158 shlibpath_overrides_runpath
=no
8159 hardcode_into_libs
=yes
8161 freebsd
*) # from 4.6 on
8162 shlibpath_overrides_runpath
=yes
8163 hardcode_into_libs
=yes
8172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8173 soname_spec
='${libname}${release}${shared_ext}$major'
8174 shlibpath_var
=LD_LIBRARY_PATH
8175 hardcode_into_libs
=yes
8178 hpux9
* | hpux10
* | hpux11
*)
8179 # Give a soname corresponding to the major version so that dld.sl refuses to
8180 # link against other versions.
8187 hardcode_into_libs
=yes
8188 dynamic_linker
="$host_os dld.so"
8189 shlibpath_var
=LD_LIBRARY_PATH
8190 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8192 soname_spec
='${libname}${release}${shared_ext}$major'
8193 if test "X$HPUX_IA64_MODE" = X32
; then
8194 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8196 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8198 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8202 hardcode_into_libs
=yes
8203 dynamic_linker
="$host_os dld.sl"
8204 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8205 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8207 soname_spec
='${libname}${release}${shared_ext}$major'
8208 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8209 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8213 dynamic_linker
="$host_os dld.sl"
8214 shlibpath_var
=SHLIB_PATH
8215 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8217 soname_spec
='${libname}${release}${shared_ext}$major'
8220 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8221 postinstall_cmds
='chmod 555 $lib'
8228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8229 soname_spec
='${libname}${release}${shared_ext}$major'
8230 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8231 shlibpath_var
=LD_LIBRARY_PATH
8232 shlibpath_overrides_runpath
=no
8233 hardcode_into_libs
=yes
8236 irix5
* | irix6
* | nonstopux
*)
8238 nonstopux
*) version_type
=nonstopux
;;
8240 if test "$lt_cv_prog_gnu_ld" = yes; then
8248 soname_spec
='${libname}${release}${shared_ext}$major'
8249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8251 irix5
* | nonstopux
*)
8255 case $LD in # libtool.m4 will add one of these switches to LD
8256 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8257 libsuff
= shlibsuff
= libmagic
=32-bit;;
8258 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8259 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8260 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8261 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8262 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8266 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8267 shlibpath_overrides_runpath
=no
8268 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8269 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8270 hardcode_into_libs
=yes
8273 # No shared lib support for Linux oldld, aout, or coff.
8274 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8278 # This must be Linux ELF.
8283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8284 soname_spec
='${libname}${release}${shared_ext}$major'
8285 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8286 shlibpath_var
=LD_LIBRARY_PATH
8287 shlibpath_overrides_runpath
=no
8288 # This implies no fast_install, which is unacceptable.
8289 # Some rework will be needed to allow for fast_install
8290 # before this can be enabled.
8291 hardcode_into_libs
=yes
8293 # find out which ABI we are using
8296 x86_64
*|s390x
*|powerpc64
*)
8297 echo '#line 8297 "configure"' > conftest.
$ac_ext
8298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8299 (eval $ac_compile) 2>&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; then
8303 case `/usr/bin/file conftest.$ac_objext` in
8306 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8314 # Append ld.so.conf contents to the search path
8315 if test -f /etc
/ld.so.conf
; then
8316 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8317 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8320 # We used to test for /lib/ld.so.1 and disable shared libraries on
8321 # powerpc, because MkLinux only supported shared libraries with the
8322 # GNU dynamic linker. Since this was broken with cross compilers,
8323 # most powerpc-linux boxes support dynamic linking these days and
8324 # people can always --disable-shared, the test was removed, and we
8325 # assume the GNU/Linux dynamic linker is in use.
8326 dynamic_linker
='GNU/Linux ld.so'
8333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8334 soname_spec
='${libname}${release}${shared_ext}$major'
8335 shlibpath_var
=LD_LIBRARY_PATH
8336 shlibpath_overrides_runpath
=no
8337 hardcode_into_libs
=yes
8338 dynamic_linker
='GNU ld.so'
8345 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8347 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8348 dynamic_linker
='NetBSD (a.out) ld.so'
8350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8351 soname_spec
='${libname}${release}${shared_ext}$major'
8352 dynamic_linker
='NetBSD ld.elf_so'
8354 shlibpath_var
=LD_LIBRARY_PATH
8355 shlibpath_overrides_runpath
=yes
8356 hardcode_into_libs
=yes
8361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8362 shlibpath_var
=LD_LIBRARY_PATH
8363 shlibpath_overrides_runpath
=yes
8370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8371 soname_spec
='${libname}${release}${shared_ext}$major'
8372 shlibpath_var
=LD_LIBRARY_PATH
8373 shlibpath_overrides_runpath
=yes
8378 sys_lib_dlsearch_path_spec
="/usr/lib"
8380 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8382 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8383 *) need_version
=no
;;
8385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8386 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8387 shlibpath_var
=LD_LIBRARY_PATH
8388 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8390 openbsd2.
[89] | openbsd2.
[89].
*)
8391 shlibpath_overrides_runpath
=no
8394 shlibpath_overrides_runpath
=yes
8398 shlibpath_overrides_runpath
=yes
8403 libname_spec
='$name'
8406 library_names_spec
='$libname${shared_ext} $libname.a'
8407 dynamic_linker
='OS/2 ld.exe'
8408 shlibpath_var
=LIBPATH
8411 osf3
* | osf4
* | osf5
*)
8415 soname_spec
='${libname}${release}${shared_ext}$major'
8416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8417 shlibpath_var
=LD_LIBRARY_PATH
8418 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8419 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8427 soname_spec
='${libname}${release}${shared_ext}$major'
8428 shlibpath_var
=LD_LIBRARY_PATH
8429 shlibpath_overrides_runpath
=yes
8430 hardcode_into_libs
=yes
8431 # ldd complains unless libraries are executable
8432 postinstall_cmds
='chmod +x $lib'
8437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8438 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8439 shlibpath_var
=LD_LIBRARY_PATH
8440 shlibpath_overrides_runpath
=yes
8441 if test "$with_gnu_ld" = yes; then
8449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8450 soname_spec
='${libname}${release}${shared_ext}$major'
8451 shlibpath_var
=LD_LIBRARY_PATH
8452 case $host_vendor in
8454 shlibpath_overrides_runpath
=no
8456 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8457 runpath_var
=LD_RUN_PATH
8465 shlibpath_overrides_runpath
=no
8466 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8472 if test -d /usr
/nec
;then
8474 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8475 soname_spec
='$libname${shared_ext}.$major'
8476 shlibpath_var
=LD_LIBRARY_PATH
8480 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8481 version_type
=freebsd-elf
8484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8485 soname_spec
='${libname}${release}${shared_ext}$major'
8486 shlibpath_var
=LD_LIBRARY_PATH
8487 hardcode_into_libs
=yes
8488 if test "$with_gnu_ld" = yes; then
8489 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8490 shlibpath_overrides_runpath
=no
8492 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8493 shlibpath_overrides_runpath
=yes
8496 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8500 sys_lib_dlsearch_path_spec
='/usr/lib'
8505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8506 soname_spec
='${libname}${release}${shared_ext}$major'
8507 shlibpath_var
=LD_LIBRARY_PATH
8514 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8515 echo "${ECHO_T}$dynamic_linker" >&6
8516 test "$dynamic_linker" = no
&& can_build_shared
=no
8518 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8519 if test "$GCC" = yes; then
8520 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8523 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8524 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8526 if test -n "$hardcode_libdir_flag_spec" || \
8527 test -n "$runpath_var" || \
8528 test "X$hardcode_automatic" = "Xyes" ; then
8530 # We can hardcode non-existant directories.
8531 if test "$hardcode_direct" != no
&&
8532 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8533 # have to relink, otherwise we might link with an installed library
8534 # when we should be linking with a yet-to-be-installed one
8535 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8536 test "$hardcode_minus_L" != no
; then
8537 # Linking always hardcodes the temporary library directory.
8538 hardcode_action
=relink
8540 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8541 hardcode_action
=immediate
8544 # We cannot hardcode anything, or else we can only hardcode existing
8546 hardcode_action
=unsupported
8548 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8549 echo "${ECHO_T}$hardcode_action" >&6
8551 if test "$hardcode_action" = relink
; then
8552 # Fast installation is not supported
8553 enable_fast_install
=no
8554 elif test "$shlibpath_overrides_runpath" = yes ||
8555 test "$enable_shared" = no
; then
8556 # Fast installation is not necessary
8557 enable_fast_install
=needless
8562 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8563 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8564 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8565 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8566 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8567 echo "$as_me:$LINENO: result: yes" >&5
8568 echo "${ECHO_T}yes" >&6
8570 # FIXME - insert some real tests, host_os isn't really good enough
8573 if test -n "$STRIP" ; then
8574 striplib
="$STRIP -x"
8575 echo "$as_me:$LINENO: result: yes" >&5
8576 echo "${ECHO_T}yes" >&6
8578 echo "$as_me:$LINENO: result: no" >&5
8579 echo "${ECHO_T}no" >&6
8583 echo "$as_me:$LINENO: result: no" >&5
8584 echo "${ECHO_T}no" >&6
8589 if test "x$enable_dlopen" != xyes
; then
8590 enable_dlopen
=unknown
8591 enable_dlopen_self
=unknown
8592 enable_dlopen_self_static
=unknown
8599 lt_cv_dlopen
="load_add_on"
8601 lt_cv_dlopen_self
=yes
8605 lt_cv_dlopen
="LoadLibrary"
8610 lt_cv_dlopen
="dlopen"
8615 # if libdl is installed we need to link against it
8616 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8617 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8618 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8619 echo $ECHO_N "(cached) $ECHO_C" >&6
8621 ac_check_lib_save_LIBS
=$LIBS
8623 cat >conftest.
$ac_ext <<_ACEOF
8626 cat confdefs.h
>>conftest.
$ac_ext
8627 cat >>conftest.
$ac_ext <<_ACEOF
8628 /* end confdefs.h. */
8630 /* Override any gcc2 internal prototype to avoid an error. */
8634 /* We use char because int might match the return type of a gcc2
8635 builtin and then its argument prototype would still apply. */
8645 rm -f conftest.
$ac_objext conftest
$ac_exeext
8646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8647 (eval $ac_link) 2>conftest.er1
8649 grep -v '^ *+' conftest.er1
>conftest.err
8651 cat conftest.err
>&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); } &&
8654 { ac_try
='test -z "$ac_c_werror_flag"
8655 || test ! -s conftest.err'
8656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660 (exit $ac_status); }; } &&
8661 { ac_try
='test -s conftest$ac_exeext'
8662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 (exit $ac_status); }; }; then
8667 ac_cv_lib_dl_dlopen
=yes
8669 echo "$as_me: failed program was:" >&5
8670 sed 's/^/| /' conftest.
$ac_ext >&5
8672 ac_cv_lib_dl_dlopen
=no
8674 rm -f conftest.err conftest.
$ac_objext \
8675 conftest
$ac_exeext conftest.
$ac_ext
8676 LIBS
=$ac_check_lib_save_LIBS
8678 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8679 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8680 if test $ac_cv_lib_dl_dlopen = yes; then
8681 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8686 lt_cv_dlopen_self
=yes
8693 echo "$as_me:$LINENO: checking for shl_load" >&5
8694 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8695 if test "${ac_cv_func_shl_load+set}" = set; then
8696 echo $ECHO_N "(cached) $ECHO_C" >&6
8698 cat >conftest.
$ac_ext <<_ACEOF
8701 cat confdefs.h
>>conftest.
$ac_ext
8702 cat >>conftest.
$ac_ext <<_ACEOF
8703 /* end confdefs.h. */
8704 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8706 #define shl_load innocuous_shl_load
8708 /* System header to define __stub macros and hopefully few prototypes,
8709 which can conflict with char shl_load (); below.
8710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8711 <limits.h> exists even on freestanding compilers. */
8714 # include <limits.h>
8716 # include <assert.h>
8721 /* Override any gcc2 internal prototype to avoid an error. */
8726 /* We use char because int might match the return type of a gcc2
8727 builtin and then its argument prototype would still apply. */
8729 /* The GNU C library defines this for functions which it implements
8730 to always fail with ENOSYS. Some functions are actually named
8731 something starting with __ and the normal name is an alias. */
8732 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8735 char (*f) () = shl_load;
8744 return f != shl_load;
8749 rm -f conftest.
$ac_objext conftest
$ac_exeext
8750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8751 (eval $ac_link) 2>conftest.er1
8753 grep -v '^ *+' conftest.er1
>conftest.err
8755 cat conftest.err
>&5
8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 (exit $ac_status); } &&
8758 { ac_try
='test -z "$ac_c_werror_flag"
8759 || test ! -s conftest.err'
8760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); }; } &&
8765 { ac_try
='test -s conftest$ac_exeext'
8766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); }; }; then
8771 ac_cv_func_shl_load
=yes
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.
$ac_ext >&5
8776 ac_cv_func_shl_load
=no
8778 rm -f conftest.err conftest.
$ac_objext \
8779 conftest
$ac_exeext conftest.
$ac_ext
8781 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8782 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8783 if test $ac_cv_func_shl_load = yes; then
8784 lt_cv_dlopen
="shl_load"
8786 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8787 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8788 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 ac_check_lib_save_LIBS
=$LIBS
8793 cat >conftest.
$ac_ext <<_ACEOF
8796 cat confdefs.h
>>conftest.
$ac_ext
8797 cat >>conftest.
$ac_ext <<_ACEOF
8798 /* end confdefs.h. */
8800 /* Override any gcc2 internal prototype to avoid an error. */
8804 /* We use char because int might match the return type of a gcc2
8805 builtin and then its argument prototype would still apply. */
8815 rm -f conftest.
$ac_objext conftest
$ac_exeext
8816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8817 (eval $ac_link) 2>conftest.er1
8819 grep -v '^ *+' conftest.er1
>conftest.err
8821 cat conftest.err
>&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); } &&
8824 { ac_try
='test -z "$ac_c_werror_flag"
8825 || test ! -s conftest.err'
8826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); }; } &&
8831 { ac_try
='test -s conftest$ac_exeext'
8832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 (exit $ac_status); }; }; then
8837 ac_cv_lib_dld_shl_load
=yes
8839 echo "$as_me: failed program was:" >&5
8840 sed 's/^/| /' conftest.
$ac_ext >&5
8842 ac_cv_lib_dld_shl_load
=no
8844 rm -f conftest.err conftest.
$ac_objext \
8845 conftest
$ac_exeext conftest.
$ac_ext
8846 LIBS
=$ac_check_lib_save_LIBS
8848 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8849 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8850 if test $ac_cv_lib_dld_shl_load = yes; then
8851 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8853 echo "$as_me:$LINENO: checking for dlopen" >&5
8854 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8855 if test "${ac_cv_func_dlopen+set}" = set; then
8856 echo $ECHO_N "(cached) $ECHO_C" >&6
8858 cat >conftest.
$ac_ext <<_ACEOF
8861 cat confdefs.h
>>conftest.
$ac_ext
8862 cat >>conftest.
$ac_ext <<_ACEOF
8863 /* end confdefs.h. */
8864 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8866 #define dlopen innocuous_dlopen
8868 /* System header to define __stub macros and hopefully few prototypes,
8869 which can conflict with char dlopen (); below.
8870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8871 <limits.h> exists even on freestanding compilers. */
8874 # include <limits.h>
8876 # include <assert.h>
8881 /* Override any gcc2 internal prototype to avoid an error. */
8886 /* We use char because int might match the return type of a gcc2
8887 builtin and then its argument prototype would still apply. */
8889 /* The GNU C library defines this for functions which it implements
8890 to always fail with ENOSYS. Some functions are actually named
8891 something starting with __ and the normal name is an alias. */
8892 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8895 char (*f) () = dlopen;
8909 rm -f conftest.
$ac_objext conftest
$ac_exeext
8910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8911 (eval $ac_link) 2>conftest.er1
8913 grep -v '^ *+' conftest.er1
>conftest.err
8915 cat conftest.err
>&5
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); } &&
8918 { ac_try
='test -z "$ac_c_werror_flag"
8919 || test ! -s conftest.err'
8920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 (exit $ac_status); }; } &&
8925 { ac_try
='test -s conftest$ac_exeext'
8926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 (exit $ac_status); }; }; then
8931 ac_cv_func_dlopen
=yes
8933 echo "$as_me: failed program was:" >&5
8934 sed 's/^/| /' conftest.
$ac_ext >&5
8936 ac_cv_func_dlopen
=no
8938 rm -f conftest.err conftest.
$ac_objext \
8939 conftest
$ac_exeext conftest.
$ac_ext
8941 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8942 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8943 if test $ac_cv_func_dlopen = yes; then
8944 lt_cv_dlopen
="dlopen"
8946 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8947 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8948 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8949 echo $ECHO_N "(cached) $ECHO_C" >&6
8951 ac_check_lib_save_LIBS
=$LIBS
8953 cat >conftest.
$ac_ext <<_ACEOF
8956 cat confdefs.h
>>conftest.
$ac_ext
8957 cat >>conftest.
$ac_ext <<_ACEOF
8958 /* end confdefs.h. */
8960 /* Override any gcc2 internal prototype to avoid an error. */
8964 /* We use char because int might match the return type of a gcc2
8965 builtin and then its argument prototype would still apply. */
8975 rm -f conftest.
$ac_objext conftest
$ac_exeext
8976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8977 (eval $ac_link) 2>conftest.er1
8979 grep -v '^ *+' conftest.er1
>conftest.err
8981 cat conftest.err
>&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); } &&
8984 { ac_try
='test -z "$ac_c_werror_flag"
8985 || test ! -s conftest.err'
8986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); }; } &&
8991 { ac_try
='test -s conftest$ac_exeext'
8992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8996 (exit $ac_status); }; }; then
8997 ac_cv_lib_dl_dlopen
=yes
8999 echo "$as_me: failed program was:" >&5
9000 sed 's/^/| /' conftest.
$ac_ext >&5
9002 ac_cv_lib_dl_dlopen
=no
9004 rm -f conftest.err conftest.
$ac_objext \
9005 conftest
$ac_exeext conftest.
$ac_ext
9006 LIBS
=$ac_check_lib_save_LIBS
9008 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9009 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9010 if test $ac_cv_lib_dl_dlopen = yes; then
9011 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9013 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9014 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9015 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9016 echo $ECHO_N "(cached) $ECHO_C" >&6
9018 ac_check_lib_save_LIBS
=$LIBS
9020 cat >conftest.
$ac_ext <<_ACEOF
9023 cat confdefs.h
>>conftest.
$ac_ext
9024 cat >>conftest.
$ac_ext <<_ACEOF
9025 /* end confdefs.h. */
9027 /* Override any gcc2 internal prototype to avoid an error. */
9031 /* We use char because int might match the return type of a gcc2
9032 builtin and then its argument prototype would still apply. */
9042 rm -f conftest.
$ac_objext conftest
$ac_exeext
9043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9044 (eval $ac_link) 2>conftest.er1
9046 grep -v '^ *+' conftest.er1
>conftest.err
9048 cat conftest.err
>&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); } &&
9051 { ac_try
='test -z "$ac_c_werror_flag"
9052 || test ! -s conftest.err'
9053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); }; } &&
9058 { ac_try
='test -s conftest$ac_exeext'
9059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); }; }; then
9064 ac_cv_lib_svld_dlopen
=yes
9066 echo "$as_me: failed program was:" >&5
9067 sed 's/^/| /' conftest.
$ac_ext >&5
9069 ac_cv_lib_svld_dlopen
=no
9071 rm -f conftest.err conftest.
$ac_objext \
9072 conftest
$ac_exeext conftest.
$ac_ext
9073 LIBS
=$ac_check_lib_save_LIBS
9075 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9076 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9077 if test $ac_cv_lib_svld_dlopen = yes; then
9078 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9080 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9081 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9082 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9083 echo $ECHO_N "(cached) $ECHO_C" >&6
9085 ac_check_lib_save_LIBS
=$LIBS
9087 cat >conftest.
$ac_ext <<_ACEOF
9090 cat confdefs.h
>>conftest.
$ac_ext
9091 cat >>conftest.
$ac_ext <<_ACEOF
9092 /* end confdefs.h. */
9094 /* Override any gcc2 internal prototype to avoid an error. */
9098 /* We use char because int might match the return type of a gcc2
9099 builtin and then its argument prototype would still apply. */
9109 rm -f conftest.
$ac_objext conftest
$ac_exeext
9110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9111 (eval $ac_link) 2>conftest.er1
9113 grep -v '^ *+' conftest.er1
>conftest.err
9115 cat conftest.err
>&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); } &&
9118 { ac_try
='test -z "$ac_c_werror_flag"
9119 || test ! -s conftest.err'
9120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); }; } &&
9125 { ac_try
='test -s conftest$ac_exeext'
9126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); }; }; then
9131 ac_cv_lib_dld_dld_link
=yes
9133 echo "$as_me: failed program was:" >&5
9134 sed 's/^/| /' conftest.
$ac_ext >&5
9136 ac_cv_lib_dld_dld_link
=no
9138 rm -f conftest.err conftest.
$ac_objext \
9139 conftest
$ac_exeext conftest.
$ac_ext
9140 LIBS
=$ac_check_lib_save_LIBS
9142 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9143 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9144 if test $ac_cv_lib_dld_dld_link = yes; then
9145 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9166 if test "x$lt_cv_dlopen" != xno
; then
9172 case $lt_cv_dlopen in
9174 save_CPPFLAGS
="$CPPFLAGS"
9175 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9177 save_LDFLAGS
="$LDFLAGS"
9178 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9181 LIBS
="$lt_cv_dlopen_libs $LIBS"
9183 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9184 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9185 if test "${lt_cv_dlopen_self+set}" = set; then
9186 echo $ECHO_N "(cached) $ECHO_C" >&6
9188 if test "$cross_compiling" = yes; then :
9189 lt_cv_dlopen_self
=cross
9191 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9192 lt_status
=$lt_dlunknown
9193 cat > conftest.
$ac_ext <<EOF
9194 #line 9194 "configure"
9195 #include "confdefs.h"
9204 # define LT_DLGLOBAL RTLD_GLOBAL
9207 # define LT_DLGLOBAL DL_GLOBAL
9209 # define LT_DLGLOBAL 0
9213 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9214 find out it does not work in some platform. */
9215 #ifndef LT_DLLAZY_OR_NOW
9217 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9220 # define LT_DLLAZY_OR_NOW DL_LAZY
9223 # define LT_DLLAZY_OR_NOW RTLD_NOW
9226 # define LT_DLLAZY_OR_NOW DL_NOW
9228 # define LT_DLLAZY_OR_NOW 0
9236 extern "C" void exit (int);
9239 void fnord() { int i=42;}
9242 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9243 int status = $lt_dlunknown;
9247 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9248 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9249 /* dlclose (self); */
9257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9258 (eval $ac_link) 2>&5
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9262 (.
/conftest
; exit; ) >&5 2>/dev
/null
9265 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9266 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9267 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9270 # compilation failed
9271 lt_cv_dlopen_self
=no
9278 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9279 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9281 if test "x$lt_cv_dlopen_self" = xyes
; then
9282 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9283 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9284 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9285 if test "${lt_cv_dlopen_self_static+set}" = set; then
9286 echo $ECHO_N "(cached) $ECHO_C" >&6
9288 if test "$cross_compiling" = yes; then :
9289 lt_cv_dlopen_self_static
=cross
9291 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9292 lt_status
=$lt_dlunknown
9293 cat > conftest.
$ac_ext <<EOF
9294 #line 9294 "configure"
9295 #include "confdefs.h"
9304 # define LT_DLGLOBAL RTLD_GLOBAL
9307 # define LT_DLGLOBAL DL_GLOBAL
9309 # define LT_DLGLOBAL 0
9313 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9314 find out it does not work in some platform. */
9315 #ifndef LT_DLLAZY_OR_NOW
9317 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9320 # define LT_DLLAZY_OR_NOW DL_LAZY
9323 # define LT_DLLAZY_OR_NOW RTLD_NOW
9326 # define LT_DLLAZY_OR_NOW DL_NOW
9328 # define LT_DLLAZY_OR_NOW 0
9336 extern "C" void exit (int);
9339 void fnord() { int i=42;}
9342 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9343 int status = $lt_dlunknown;
9347 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9348 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9349 /* dlclose (self); */
9357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9358 (eval $ac_link) 2>&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9362 (.
/conftest
; exit; ) >&5 2>/dev
/null
9365 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9366 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9367 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9370 # compilation failed
9371 lt_cv_dlopen_self_static
=no
9378 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9379 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9382 CPPFLAGS
="$save_CPPFLAGS"
9383 LDFLAGS
="$save_LDFLAGS"
9388 case $lt_cv_dlopen_self in
9389 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9390 *) enable_dlopen_self
=unknown
;;
9393 case $lt_cv_dlopen_self_static in
9394 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9395 *) enable_dlopen_self_static
=unknown
;;
9400 # Report which library types will actually be built
9401 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9402 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9403 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9404 echo "${ECHO_T}$can_build_shared" >&6
9406 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9407 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9408 test "$can_build_shared" = "no" && enable_shared
=no
9410 # On AIX, shared libraries and static libraries use the same namespace, and
9411 # are all built from PIC.
9414 test "$enable_shared" = yes && enable_static
=no
9415 if test -n "$RANLIB"; then
9416 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9417 postinstall_cmds
='$RANLIB $lib'
9422 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9423 test "$enable_shared" = yes && enable_static
=no
9427 echo "$as_me:$LINENO: result: $enable_shared" >&5
9428 echo "${ECHO_T}$enable_shared" >&6
9430 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9431 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9432 # Make sure either enable_shared or enable_static is yes.
9433 test "$enable_shared" = yes || enable_static
=yes
9434 echo "$as_me:$LINENO: result: $enable_static" >&5
9435 echo "${ECHO_T}$enable_static" >&6
9437 # The else clause should only fire when bootstrapping the
9438 # libtool distribution, otherwise you forgot to ship ltmain.sh
9439 # with your package, and you will get complaints that there are
9440 # no rules to generate ltmain.sh.
9441 if test -f "$ltmain"; then
9442 # See if we are running on zsh, and set the options which allow our commands through
9443 # without removal of \ escapes.
9444 if test -n "${ZSH_VERSION+set}" ; then
9445 setopt NO_GLOB_SUBST
9447 # Now quote all the things that may contain metacharacters while being
9448 # careful not to overquote the AC_SUBSTed values. We take copies of the
9449 # variables and quote the copies for generation of the libtool script.
9450 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9452 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9453 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9454 deplibs_check_method reload_flag reload_cmds need_locks \
9455 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9456 lt_cv_sys_global_symbol_to_c_name_address \
9457 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9458 old_postinstall_cmds old_postuninstall_cmds \
9462 lt_prog_compiler_wl \
9463 lt_prog_compiler_pic \
9464 lt_prog_compiler_static \
9465 lt_prog_compiler_no_builtin_flag \
9466 export_dynamic_flag_spec \
9467 thread_safe_flag_spec \
9468 whole_archive_flag_spec \
9469 enable_shared_with_static_runtimes \
9471 old_archive_from_new_cmds \
9476 compiler_lib_search_path \
9478 archive_expsym_cmds \
9480 postuninstall_cmds \
9481 old_archive_from_expsyms_cmds \
9482 allow_undefined_flag \
9484 export_symbols_cmds \
9485 hardcode_libdir_flag_spec \
9486 hardcode_libdir_flag_spec_ld \
9487 hardcode_libdir_separator \
9488 hardcode_automatic \
9490 module_expsym_cmds \
9491 lt_cv_prog_compiler_c_o \
9496 old_archive_cmds | \
9497 old_archive_from_new_cmds | \
9499 archive_expsym_cmds | \
9501 module_expsym_cmds | \
9502 old_archive_from_expsyms_cmds | \
9503 export_symbols_cmds | \
9504 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9505 postinstall_cmds | postuninstall_cmds | \
9506 old_postinstall_cmds | old_postuninstall_cmds | \
9507 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9508 # Double-quote double-evaled strings.
9509 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9512 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9518 *'\$0 --fallback-echo"')
9519 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9524 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9526 { echo "$as_me:$LINENO: creating $ofile" >&5
9527 echo "$as_me: creating $ofile" >&6;}
9529 cat <<__EOF__ >> "$cfgfile"
9532 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9533 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9534 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9536 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9537 # Free Software Foundation, Inc.
9539 # This file is part of GNU Libtool:
9540 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9542 # This program is free software; you can redistribute it and/or modify
9543 # it under the terms of the GNU General Public License as published by
9544 # the Free Software Foundation; either version 2 of the License, or
9545 # (at your option) any later version.
9547 # This program is distributed in the hope that it will be useful, but
9548 # WITHOUT ANY WARRANTY; without even the implied warranty of
9549 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9550 # General Public License for more details.
9552 # You should have received a copy of the GNU General Public License
9553 # along with this program; if not, write to the Free Software
9554 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9556 # As a special exception to the GNU General Public License, if you
9557 # distribute this file as part of a program that contains a
9558 # configuration script generated by Autoconf, you may include it under
9559 # the same distribution terms that you use for the rest of that program.
9561 # A sed program that does not truncate output.
9564 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9565 Xsed="$SED -e 1s/^X//"
9567 # The HP-UX ksh and POSIX shell print the target directory to stdout
9569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9571 # The names of the tagged configurations supported by this script.
9574 # ### BEGIN LIBTOOL CONFIG
9576 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9578 # Shell to use when invoking shell scripts.
9581 # Whether or not to build shared libraries.
9582 build_libtool_libs=$enable_shared
9584 # Whether or not to build static libraries.
9585 build_old_libs=$enable_static
9587 # Whether or not to add -lc for building shared libraries.
9588 build_libtool_need_lc=$archive_cmds_need_lc
9590 # Whether or not to disallow shared libs when runtime libs are static
9591 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9593 # Whether or not to optimize for fast installation.
9594 fast_install=$enable_fast_install
9597 host_alias=$host_alias
9602 build_alias=$build_alias
9606 # An echo program that does not interpret backslashes.
9611 AR_FLAGS=$lt_AR_FLAGS
9616 # LTCC compiler flags.
9617 LTCFLAGS=$lt_LTCFLAGS
9619 # A language-specific compiler.
9622 # Is the compiler the GNU C compiler?
9625 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9626 gcc_ver=\`gcc -dumpversion\`
9631 # The linker used to build libraries.
9634 # Whether we need hard or soft links.
9637 # A BSD-compatible nm program.
9640 # A symbol stripping program
9643 # Used to examine libraries when file_magic_cmd begins "file"
9644 MAGIC_CMD=$MAGIC_CMD
9646 # Used on cygwin: DLL creation program.
9649 # Used on cygwin: object dumper.
9652 # Used on cygwin: assembler.
9655 # The name of the directory that contains temporary libtool files.
9658 # How to create reloadable object files.
9659 reload_flag=$lt_reload_flag
9660 reload_cmds=$lt_reload_cmds
9662 # How to pass a linker flag through the compiler.
9663 wl=$lt_lt_prog_compiler_wl
9665 # Object file suffix (normally "o").
9668 # Old archive suffix (normally "a").
9671 # Shared library suffix (normally ".so").
9672 shrext_cmds='$shrext_cmds'
9674 # Executable file suffix (normally "").
9677 # Additional compiler flags for building library objects.
9678 pic_flag=$lt_lt_prog_compiler_pic
9681 # What is the maximum length of a command?
9682 max_cmd_len=$lt_cv_sys_max_cmd_len
9684 # Does compiler simultaneously support -c and -o options?
9685 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9687 # Must we lock files when doing compilation?
9688 need_locks=$lt_need_locks
9690 # Do we need the lib prefix for modules?
9691 need_lib_prefix=$need_lib_prefix
9693 # Do we need a version for libraries?
9694 need_version=$need_version
9696 # Whether dlopen is supported.
9697 dlopen_support=$enable_dlopen
9699 # Whether dlopen of programs is supported.
9700 dlopen_self=$enable_dlopen_self
9702 # Whether dlopen of statically linked programs is supported.
9703 dlopen_self_static=$enable_dlopen_self_static
9705 # Compiler flag to prevent dynamic linking.
9706 link_static_flag=$lt_lt_prog_compiler_static
9708 # Compiler flag to turn off builtin functions.
9709 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9711 # Compiler flag to allow reflexive dlopens.
9712 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9714 # Compiler flag to generate shared objects directly from archives.
9715 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9717 # Compiler flag to generate thread-safe objects.
9718 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9720 # Library versioning type.
9721 version_type=$version_type
9723 # Format of library name prefix.
9724 libname_spec=$lt_libname_spec
9726 # List of archive names. First name is the real one, the rest are links.
9727 # The last name is the one that the linker finds with -lNAME.
9728 library_names_spec=$lt_library_names_spec
9730 # The coded name of the library, if different from the real name.
9731 soname_spec=$lt_soname_spec
9733 # Commands used to build and install an old-style archive.
9735 old_archive_cmds=$lt_old_archive_cmds
9736 old_postinstall_cmds=$lt_old_postinstall_cmds
9737 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9739 # Create an old-style archive from a shared archive.
9740 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9742 # Create a temporary old-style archive to link instead of a shared archive.
9743 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9745 # Commands used to build and install a shared archive.
9746 archive_cmds=$lt_archive_cmds
9747 archive_expsym_cmds=$lt_archive_expsym_cmds
9748 postinstall_cmds=$lt_postinstall_cmds
9749 postuninstall_cmds=$lt_postuninstall_cmds
9751 # Commands used to build a loadable module (assumed same as above if empty)
9752 module_cmds=$lt_module_cmds
9753 module_expsym_cmds=$lt_module_expsym_cmds
9755 # Commands to strip libraries.
9756 old_striplib=$lt_old_striplib
9757 striplib=$lt_striplib
9759 # Dependencies to place before the objects being linked to create a
9761 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9763 # Dependencies to place after the objects being linked to create a
9765 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9767 # Dependencies to place before the objects being linked to create a
9771 # Dependencies to place after the objects being linked to create a
9773 postdeps=$lt_postdeps
9775 # The library search path used internally by the compiler when linking
9777 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9779 # Method to check whether dependent libraries are shared objects.
9780 deplibs_check_method=$lt_deplibs_check_method
9782 # Command to use when deplibs_check_method == file_magic.
9783 file_magic_cmd=$lt_file_magic_cmd
9785 # Flag that allows shared libraries with undefined symbols to be built.
9786 allow_undefined_flag=$lt_allow_undefined_flag
9788 # Flag that forces no undefined symbols.
9789 no_undefined_flag=$lt_no_undefined_flag
9791 # Commands used to finish a libtool library installation in a directory.
9792 finish_cmds=$lt_finish_cmds
9794 # Same as above, but a single script fragment to be evaled but not shown.
9795 finish_eval=$lt_finish_eval
9797 # Take the output of nm and produce a listing of raw symbols and C names.
9798 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9800 # Transform the output of nm in a proper C declaration
9801 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9803 # Transform the output of nm in a C name address pair
9804 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9806 # This is the shared library runtime path variable.
9807 runpath_var=$runpath_var
9809 # This is the shared library path variable.
9810 shlibpath_var=$shlibpath_var
9812 # Is shlibpath searched before the hard-coded library search path?
9813 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9815 # How to hardcode a shared library path into an executable.
9816 hardcode_action=$hardcode_action
9818 # Whether we should hardcode library paths into libraries.
9819 hardcode_into_libs=$hardcode_into_libs
9821 # Flag to hardcode \$libdir into a binary during linking.
9822 # This must work even if \$libdir does not exist.
9823 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9825 # If ld is used when linking, flag to hardcode \$libdir into
9826 # a binary during linking. This must work even if \$libdir does
9828 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9830 # Whether we need a single -rpath flag with a separated argument.
9831 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9833 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9835 hardcode_direct=$hardcode_direct
9837 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9839 hardcode_minus_L=$hardcode_minus_L
9841 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9842 # the resulting binary.
9843 hardcode_shlibpath_var=$hardcode_shlibpath_var
9845 # Set to yes if building a shared library automatically hardcodes DIR into the library
9846 # and all subsequent libraries and executables linked against it.
9847 hardcode_automatic=$hardcode_automatic
9849 # Variables whose values should be saved in libtool wrapper scripts and
9850 # restored at relink time.
9851 variables_saved_for_relink="$variables_saved_for_relink"
9853 # Whether libtool must link a program against all its dependency libraries.
9854 link_all_deplibs=$link_all_deplibs
9856 # Compile-time system search path for libraries
9857 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9859 # Run-time system search path for libraries
9860 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9862 # Fix the shell variable \$srcfile for the compiler.
9863 fix_srcfile_path="$fix_srcfile_path"
9865 # Set to yes if exported symbols are required.
9866 always_export_symbols=$always_export_symbols
9868 # The commands to list exported symbols.
9869 export_symbols_cmds=$lt_export_symbols_cmds
9871 # The commands to extract the exported symbol list from a shared archive.
9872 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9874 # Symbols that should not be listed in the preloaded symbols.
9875 exclude_expsyms=$lt_exclude_expsyms
9877 # Symbols that must always be exported.
9878 include_expsyms=$lt_include_expsyms
9880 # ### END LIBTOOL CONFIG
9887 cat <<\EOF
>> "$cfgfile"
9889 # AIX sometimes has problems with the GCC collect2 program. For some
9890 # reason, if we set the COLLECT_NAMES environment variable, the problems
9891 # vanish in a puff of smoke.
9892 if test "X${COLLECT_NAMES+set}" != Xset
; then
9894 export COLLECT_NAMES
9900 # We use sed instead of cat because bash on DJGPP gets confused if
9901 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9902 # text mode, it properly converts lines to CR/LF. This bash problem
9903 # is reportedly fixed, but why not run on old versions too?
9904 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9906 mv -f "$cfgfile" "$ofile" || \
9907 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9911 # If there is no Makefile yet, we rely on a make rule to execute
9912 # `config.status --recheck' to rerun these tests and create the
9913 # libtool script then.
9914 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9915 if test -f "$ltmain_in"; then
9916 test -f Makefile
&& make "$ltmain"
9922 ac_cpp
='$CPP $CPPFLAGS'
9923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9930 # Check whether --with-tags or --without-tags was given.
9931 if test "${with_tags+set}" = set; then
9932 withval
="$with_tags"
9936 if test -f "$ltmain" && test -n "$tagnames"; then
9937 if test ! -f "${ofile}"; then
9938 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9939 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9942 if test -z "$LTCC"; then
9943 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9944 if test -z "$LTCC"; then
9945 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9946 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9948 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9949 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9952 if test -z "$LTCFLAGS"; then
9953 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9956 # Extract list of available tagged configurations in $ofile.
9957 # Note that this assumes the entire list is on one line.
9958 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9960 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9961 for tagname
in $tagnames; do
9963 # Check whether tagname contains only valid characters
9964 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9966 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9967 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9968 { (exit 1); exit 1; }; }
9972 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9974 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9975 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9976 { (exit 1); exit 1; }; }
9979 # Update the list of available tags.
9980 if test -n "$tagname"; then
9981 echo appending configuration tag
\"$tagname\" to
$ofile
9985 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9986 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9987 (test "X$CXX" != "Xg++"))) ; then
9989 ac_cpp
='$CXXCPP $CPPFLAGS'
9990 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9991 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9992 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9997 archive_cmds_need_lc_CXX
=no
9998 allow_undefined_flag_CXX
=
9999 always_export_symbols_CXX
=no
10000 archive_expsym_cmds_CXX
=
10001 export_dynamic_flag_spec_CXX
=
10002 hardcode_direct_CXX
=no
10003 hardcode_libdir_flag_spec_CXX
=
10004 hardcode_libdir_flag_spec_ld_CXX
=
10005 hardcode_libdir_separator_CXX
=
10006 hardcode_minus_L_CXX
=no
10007 hardcode_shlibpath_var_CXX
=unsupported
10008 hardcode_automatic_CXX
=no
10010 module_expsym_cmds_CXX
=
10011 link_all_deplibs_CXX
=unknown
10012 old_archive_cmds_CXX
=$old_archive_cmds
10013 no_undefined_flag_CXX
=
10014 whole_archive_flag_spec_CXX
=
10015 enable_shared_with_static_runtimes_CXX
=no
10017 # Dependencies to place before and after the object being linked:
10018 predep_objects_CXX
=
10019 postdep_objects_CXX
=
10022 compiler_lib_search_path_CXX
=
10024 # Source file extension for C++ test sources.
10027 # Object file extension for compiled C++ test sources.
10031 # Code to be used in simple compile tests
10032 lt_simple_compile_test_code
="int some_variable = 0;\n"
10034 # Code to be used in simple link tests
10035 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
10037 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10039 # If no C compiler was specified, use CC.
10042 # If no C compiler flags were specified, use CFLAGS.
10043 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10045 # Allow CC to be a program name with arguments.
10049 # save warnings/boilerplate of simple test code
10050 ac_outfile
=conftest.
$ac_objext
10051 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10052 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10053 _lt_compiler_boilerplate
=`cat conftest.err`
10056 ac_outfile
=conftest.
$ac_objext
10057 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10058 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10059 _lt_linker_boilerplate
=`cat conftest.err`
10063 # Allow CC to be a program name with arguments.
10068 lt_save_with_gnu_ld
=$with_gnu_ld
10069 lt_save_path_LD
=$lt_cv_path_LD
10070 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10071 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10073 $as_unset lt_cv_prog_gnu_ld
10075 if test -n "${lt_cv_path_LDCXX+set}"; then
10076 lt_cv_path_LD
=$lt_cv_path_LDCXX
10078 $as_unset lt_cv_path_LD
10080 test -z "${LDCXX+set}" || LD
=$LDCXX
10084 for cc_temp
in $compiler""; do
10086 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10087 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10092 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10095 # We don't want -fno-exception wen compiling C++ code, so set the
10096 # no_builtin_flag separately
10097 if test "$GXX" = yes; then
10098 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10100 lt_prog_compiler_no_builtin_flag_CXX
=
10103 if test "$GXX" = yes; then
10104 # Set up default GNU C++ configuration
10107 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10108 if test "${with_gnu_ld+set}" = set; then
10109 withval
="$with_gnu_ld"
10110 test "$withval" = no || with_gnu_ld
=yes
10115 if test "$GCC" = yes; then
10116 # Check if gcc -print-prog-name=ld gives a path.
10117 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10118 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10121 # gcc leaves a trailing carriage return which upsets mingw
10122 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10124 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10127 # Accept absolute paths.
10129 re_direlt
='/[^/][^/]*/\.\./'
10130 # Canonicalize the pathname of ld
10131 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10132 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10133 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10135 test -z "$LD" && LD
="$ac_prog"
10138 # If it fails, then pretend we aren't using GCC.
10142 # If it is relative, then search for the first ld in PATH.
10143 with_gnu_ld
=unknown
10146 elif test "$with_gnu_ld" = yes; then
10147 echo "$as_me:$LINENO: checking for GNU ld" >&5
10148 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10150 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10151 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10153 if test "${lt_cv_path_LD+set}" = set; then
10154 echo $ECHO_N "(cached) $ECHO_C" >&6
10156 if test -z "$LD"; then
10157 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10158 for ac_dir
in $PATH; do
10160 test -z "$ac_dir" && ac_dir
=.
10161 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10162 lt_cv_path_LD
="$ac_dir/$ac_prog"
10163 # Check to see if the program is GNU ld. I'd rather use --version,
10164 # but apparently some variants of GNU ld only accept -v.
10165 # Break only if it was the GNU/non-GNU ld that we prefer.
10166 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10167 *GNU
* |
*'with BFD'*)
10168 test "$with_gnu_ld" != no
&& break
10171 test "$with_gnu_ld" != yes && break
10178 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10182 LD
="$lt_cv_path_LD"
10183 if test -n "$LD"; then
10184 echo "$as_me:$LINENO: result: $LD" >&5
10185 echo "${ECHO_T}$LD" >&6
10187 echo "$as_me:$LINENO: result: no" >&5
10188 echo "${ECHO_T}no" >&6
10190 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10191 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10192 { (exit 1); exit 1; }; }
10193 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10194 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10195 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10196 echo $ECHO_N "(cached) $ECHO_C" >&6
10198 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10199 case `$LD -v 2>&1 </dev/null` in
10200 *GNU
* |
*'with BFD'*)
10201 lt_cv_prog_gnu_ld
=yes
10204 lt_cv_prog_gnu_ld
=no
10208 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10209 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10210 with_gnu_ld
=$lt_cv_prog_gnu_ld
10214 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10215 # archiving commands below assume that GNU ld is being used.
10216 if test "$with_gnu_ld" = yes; then
10217 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10218 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'
10220 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10221 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10223 # If archive_cmds runs LD, not CC, wlarc should be empty
10224 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10225 # investigate it a little bit more. (MM)
10228 # ancient GNU ld didn't support --whole-archive et. al.
10229 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10230 grep 'no-whole-archive' > /dev
/null
; then
10231 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10233 whole_archive_flag_spec_CXX
=
10239 # A generic and very simple default shared library creation
10240 # command for GNU C++ for the case where it uses the native
10241 # linker, instead of GNU ld. If possible, this setting should
10242 # overridden to take advantage of the native linker features on
10243 # the platform it is being used on.
10244 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10247 # Commands to make compiler produce verbose output that lists
10248 # what "hidden" libraries, object files and flags are used when
10249 # linking a shared library.
10250 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10258 # PORTME: fill in a description of your system's C++ link characteristics
10259 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10260 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10264 # FIXME: insert proper C++ library support
10268 if test "$host_cpu" = ia64
; then
10269 # On IA64, the linker does run time linking by default, so we don't
10270 # have to do anything special.
10271 aix_use_runtimelinking
=no
10272 exp_sym_flag
='-Bexport'
10275 aix_use_runtimelinking
=no
10277 # Test if we are trying to use run time linking or normal
10278 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10279 # need to do runtime linking.
10280 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10281 for ld_flag
in $LDFLAGS; do
10284 aix_use_runtimelinking
=yes
10292 exp_sym_flag
='-bexport'
10293 no_entry_flag
='-bnoentry'
10296 # When large executables or shared objects are built, AIX ld can
10297 # have problems creating the table of contents. If linking a library
10298 # or program results in "error TOC overflow" add -mminimal-toc to
10299 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10300 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10302 archive_cmds_CXX
=''
10303 hardcode_direct_CXX
=yes
10304 hardcode_libdir_separator_CXX
=':'
10305 link_all_deplibs_CXX
=yes
10307 if test "$GXX" = yes; then
10308 case $host_os in aix4.
[012]|aix4.
[012].
*)
10309 # We only want to do this on AIX 4.2 and lower, the check
10310 # below for broken collect2 doesn't work under 4.3+
10311 collect2name
=`${CC} -print-prog-name=collect2`
10312 if test -f "$collect2name" && \
10313 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10315 # We have reworked collect2
10316 hardcode_direct_CXX
=yes
10318 # We have old collect2
10319 hardcode_direct_CXX
=unsupported
10320 # It fails to find uninstalled libraries when the uninstalled
10321 # path is not listed in the libpath. Setting hardcode_minus_L
10322 # to unsupported forces relinking
10323 hardcode_minus_L_CXX
=yes
10324 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10325 hardcode_libdir_separator_CXX
=
10329 shared_flag
='-shared'
10330 if test "$aix_use_runtimelinking" = yes; then
10331 shared_flag
="$shared_flag "'${wl}-G'
10335 if test "$host_cpu" = ia64
; then
10336 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10337 # chokes on -Wl,-G. The following line is correct:
10340 if test "$aix_use_runtimelinking" = yes; then
10341 shared_flag
='${wl}-G'
10343 shared_flag
='${wl}-bM:SRE'
10348 # It seems that -bexpall does not export symbols beginning with
10349 # underscore (_), so it is better to generate a list of symbols to export.
10350 always_export_symbols_CXX
=yes
10351 if test "$aix_use_runtimelinking" = yes; then
10352 # Warning - without using the other runtime loading flags (-brtl),
10353 # -berok will link without error, but may produce a broken library.
10354 allow_undefined_flag_CXX
='-berok'
10355 # Determine the default libpath from the value encoded in an empty executable.
10356 cat >conftest.
$ac_ext <<_ACEOF
10359 cat confdefs.h
>>conftest.
$ac_ext
10360 cat >>conftest.
$ac_ext <<_ACEOF
10361 /* end confdefs.h. */
10371 rm -f conftest.
$ac_objext conftest
$ac_exeext
10372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10373 (eval $ac_link) 2>conftest.er1
10375 grep -v '^ *+' conftest.er1
>conftest.err
10377 cat conftest.err
>&5
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); } &&
10380 { ac_try
='test -z "$ac_cxx_werror_flag"
10381 || test ! -s conftest.err'
10382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10383 (eval $ac_try) 2>&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); }; } &&
10387 { ac_try
='test -s conftest$ac_exeext'
10388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10389 (eval $ac_try) 2>&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); }; }; then
10394 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10396 # Check for a 64-bit object if we didn't find anything.
10397 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; }
10400 echo "$as_me: failed program was:" >&5
10401 sed 's/^/| /' conftest.
$ac_ext >&5
10404 rm -f conftest.err conftest.
$ac_objext \
10405 conftest
$ac_exeext conftest.
$ac_ext
10406 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10408 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10410 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10412 if test "$host_cpu" = ia64
; then
10413 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10414 allow_undefined_flag_CXX
="-z nodefs"
10415 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10417 # Determine the default libpath from the value encoded in an empty executable.
10418 cat >conftest.
$ac_ext <<_ACEOF
10421 cat confdefs.h
>>conftest.
$ac_ext
10422 cat >>conftest.
$ac_ext <<_ACEOF
10423 /* end confdefs.h. */
10433 rm -f conftest.
$ac_objext conftest
$ac_exeext
10434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10435 (eval $ac_link) 2>conftest.er1
10437 grep -v '^ *+' conftest.er1
>conftest.err
10439 cat conftest.err
>&5
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); } &&
10442 { ac_try
='test -z "$ac_cxx_werror_flag"
10443 || test ! -s conftest.err'
10444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10445 (eval $ac_try) 2>&5
10447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448 (exit $ac_status); }; } &&
10449 { ac_try
='test -s conftest$ac_exeext'
10450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10451 (eval $ac_try) 2>&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); }; }; then
10456 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10458 # Check for a 64-bit object if we didn't find anything.
10459 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; }
10462 echo "$as_me: failed program was:" >&5
10463 sed 's/^/| /' conftest.
$ac_ext >&5
10466 rm -f conftest.err conftest.
$ac_objext \
10467 conftest
$ac_exeext conftest.
$ac_ext
10468 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10470 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10471 # Warning - without using the other run time loading flags,
10472 # -berok will link without error, but may produce a broken library.
10473 no_undefined_flag_CXX
=' ${wl}-bernotok'
10474 allow_undefined_flag_CXX
=' ${wl}-berok'
10475 # Exported symbols can be pulled into shared objects from archives
10476 whole_archive_flag_spec_CXX
='$convenience'
10477 archive_cmds_need_lc_CXX
=yes
10478 # This is similar to how AIX traditionally builds its shared libraries.
10479 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10485 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10486 allow_undefined_flag_CXX
=unsupported
10487 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10488 # support --undefined. This deserves some investigation. FIXME
10489 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10496 case $cc_basename in
10498 # FIXME: insert proper C++ library support
10504 cygwin
* | mingw
* | pw32
*)
10505 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10506 # as there is no search path for DLLs.
10507 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10508 allow_undefined_flag_CXX
=unsupported
10509 always_export_symbols_CXX
=no
10510 enable_shared_with_static_runtimes_CXX
=yes
10512 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10513 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10514 # If the export-symbols file already is a .def file (1st line
10515 # is EXPORTS), use it as is; otherwise, prepend...
10516 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10517 cp $export_symbols $output_objdir/$soname.def;
10519 echo EXPORTS > $output_objdir/$soname.def;
10520 cat $export_symbols >> $output_objdir/$soname.def;
10522 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10527 darwin
* | rhapsody
*)
10529 rhapsody
* | darwin1.
[012])
10530 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10533 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10534 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10536 case ${MACOSX_DEPLOYMENT_TARGET} in
10538 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10541 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10547 archive_cmds_need_lc_CXX
=no
10548 hardcode_direct_CXX
=no
10549 hardcode_automatic_CXX
=yes
10550 hardcode_shlibpath_var_CXX
=unsupported
10551 whole_archive_flag_spec_CXX
=''
10552 link_all_deplibs_CXX
=yes
10554 if test "$GXX" = yes ; then
10555 lt_int_apple_cc_single_mod
=no
10556 output_verbose_link_cmd
='echo'
10557 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10558 lt_int_apple_cc_single_mod
=yes
10560 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10561 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10563 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'
10565 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10566 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10567 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10568 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}'
10570 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}'
10572 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}'
10574 case $cc_basename in
10576 output_verbose_link_cmd
='echo'
10577 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'
10578 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10579 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10580 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}'
10581 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}'
10591 case $cc_basename in
10593 # FIXME: insert proper C++ library support
10597 # Green Hills C++ Compiler
10598 # FIXME: insert proper C++ library support
10602 # FIXME: insert proper C++ library support
10608 # C++ shared libraries reported to be fairly broken before switch to ELF
10612 archive_cmds_need_lc_CXX
=no
10614 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10615 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10622 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10623 hardcode_libdir_separator_CXX
=:
10624 export_dynamic_flag_spec_CXX
='${wl}-E'
10625 hardcode_direct_CXX
=yes
10626 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10627 # but as the default
10628 # location of the library.
10630 case $cc_basename in
10632 # FIXME: insert proper C++ library support
10636 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'
10637 # Commands to make compiler produce verbose output that lists
10638 # what "hidden" libraries, object files and flags are used when
10639 # linking a shared library.
10641 # There doesn't appear to be a way to prevent this compiler from
10642 # explicitly linking system object files so we need to strip them
10643 # from the output so that they don't get included in the library
10645 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'
10648 if test "$GXX" = yes; then
10649 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'
10651 # FIXME: insert proper C++ library support
10658 if test $with_gnu_ld = no
; then
10659 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10660 hardcode_libdir_separator_CXX
=:
10664 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10667 export_dynamic_flag_spec_CXX
='${wl}-E'
10673 hardcode_direct_CXX
=no
10674 hardcode_shlibpath_var_CXX
=no
10677 hardcode_direct_CXX
=yes
10678 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10679 # but as the default
10680 # location of the library.
10684 case $cc_basename in
10686 # FIXME: insert proper C++ library support
10692 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10695 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10698 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10701 # Commands to make compiler produce verbose output that lists
10702 # what "hidden" libraries, object files and flags are used when
10703 # linking a shared library.
10705 # There doesn't appear to be a way to prevent this compiler from
10706 # explicitly linking system object files so we need to strip them
10707 # from the output so that they don't get included in the library
10709 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'
10712 if test "$GXX" = yes; then
10713 if test $with_gnu_ld = no
; then
10716 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10719 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10722 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'
10727 # FIXME: insert proper C++ library support
10734 hardcode_direct_CXX
=no
10735 hardcode_shlibpath_var_CXX
=no
10736 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10737 export_dynamic_flag_spec_CXX
='${wl}-E'
10738 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10739 # Instead, shared libraries are loaded at an image base (0x10000000 by
10740 # default) and relocated if they conflict, which is a slow very memory
10741 # consuming and fragmenting process. To avoid this, we pick a random,
10742 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10743 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10744 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10745 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10748 case $cc_basename in
10751 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10753 # Archives containing C++ object files must be created using
10754 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10755 # necessary to make sure instantiated templates are included
10757 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10760 if test "$GXX" = yes; then
10761 if test "$with_gnu_ld" = no
; then
10762 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10764 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'
10767 link_all_deplibs_CXX
=yes
10770 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10771 hardcode_libdir_separator_CXX
=:
10774 case $cc_basename in
10776 # Kuck and Associates, Inc. (KAI) C++ Compiler
10778 # KCC will only create a shared library if the output file
10779 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10780 # to its proper name (with version) after linking.
10781 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'
10782 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'
10783 # Commands to make compiler produce verbose output that lists
10784 # what "hidden" libraries, object files and flags are used when
10785 # linking a shared library.
10787 # There doesn't appear to be a way to prevent this compiler from
10788 # explicitly linking system object files so we need to strip them
10789 # from the output so that they don't get included in the library
10791 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'
10793 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10794 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10796 # Archives containing C++ object files must be created using
10797 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10798 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10803 # version 8.0 and above of icpc choke on multiply defined symbols
10804 # if we add $predep_objects and $postdep_objects, however 7.1 and
10805 # earlier do not add the objects themselves.
10806 case `$CC -V 2>&1` in
10808 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10809 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'
10811 *) # Version 8.0 or newer
10814 ia64
*) tmp_idyn
=' -i_dynamic';;
10816 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10817 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'
10820 archive_cmds_need_lc_CXX
=no
10821 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10822 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10823 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10826 # Portland Group C++ compiler
10827 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10828 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
10830 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10831 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10832 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10836 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10837 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'
10839 runpath_var
=LD_RUN_PATH
10840 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10841 hardcode_libdir_separator_CXX
=:
10843 # Commands to make compiler produce verbose output that lists
10844 # what "hidden" libraries, object files and flags are used when
10845 # linking a shared library.
10847 # There doesn't appear to be a way to prevent this compiler from
10848 # explicitly linking system object files so we need to strip them
10849 # from the output so that they don't get included in the library
10851 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'
10856 # FIXME: insert proper C++ library support
10860 # FIXME: insert proper C++ library support
10864 case $cc_basename in
10866 # FIXME: insert proper C++ library support
10870 # FIXME: insert proper C++ library support
10876 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10877 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10879 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10880 hardcode_direct_CXX
=yes
10881 hardcode_shlibpath_var_CXX
=no
10883 # Workaround some broken pre-1.5 toolchains
10884 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10887 # C++ shared libraries are fairly broken
10891 hardcode_direct_CXX
=yes
10892 hardcode_shlibpath_var_CXX
=no
10893 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10894 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10895 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10896 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10897 export_dynamic_flag_spec_CXX
='${wl}-E'
10898 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10900 output_verbose_link_cmd
='echo'
10903 case $cc_basename in
10905 # Kuck and Associates, Inc. (KAI) C++ Compiler
10907 # KCC will only create a shared library if the output file
10908 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10909 # to its proper name (with version) after linking.
10910 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'
10912 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10913 hardcode_libdir_separator_CXX
=:
10915 # Archives containing C++ object files must be created using
10916 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10917 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10921 # Rational C++ 2.4.1
10922 # FIXME: insert proper C++ library support
10926 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10927 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10929 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10930 hardcode_libdir_separator_CXX
=:
10932 # Commands to make compiler produce verbose output that lists
10933 # what "hidden" libraries, object files and flags are used when
10934 # linking a shared library.
10936 # There doesn't appear to be a way to prevent this compiler from
10937 # explicitly linking system object files so we need to strip them
10938 # from the output so that they don't get included in the library
10940 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'
10943 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10944 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10945 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10947 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10948 hardcode_libdir_separator_CXX
=:
10950 # Commands to make compiler produce verbose output that lists
10951 # what "hidden" libraries, object files and flags are used when
10952 # linking a shared library.
10953 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10956 # FIXME: insert proper C++ library support
10963 case $cc_basename in
10965 # Kuck and Associates, Inc. (KAI) C++ Compiler
10967 # KCC will only create a shared library if the output file
10968 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10969 # to its proper name (with version) after linking.
10970 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'
10972 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10973 hardcode_libdir_separator_CXX
=:
10975 # Archives containing C++ object files must be created using
10976 # the KAI C++ compiler.
10977 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10980 # Rational C++ 2.4.1
10981 # FIXME: insert proper C++ library support
10985 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10986 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10987 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10988 echo "-hidden">> $lib.exp~
10989 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
10992 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10993 hardcode_libdir_separator_CXX
=:
10995 # Commands to make compiler produce verbose output that lists
10996 # what "hidden" libraries, object files and flags are used when
10997 # linking a shared library.
10999 # There doesn't appear to be a way to prevent this compiler from
11000 # explicitly linking system object files so we need to strip them
11001 # from the output so that they don't get included in the library
11003 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'
11006 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11007 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11008 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11010 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11011 hardcode_libdir_separator_CXX
=:
11013 # Commands to make compiler produce verbose output that lists
11014 # what "hidden" libraries, object files and flags are used when
11015 # linking a shared library.
11016 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11019 # FIXME: insert proper C++ library support
11026 # FIXME: insert proper C++ library support
11030 case $cc_basename in
11033 # FIXME: insert proper C++ library support
11038 # FIXME: insert proper C++ library support
11042 # FIXME: insert proper C++ library support
11048 case $cc_basename in
11050 # Sun C++ 4.2, 5.x and Centerline C++
11051 archive_cmds_need_lc_CXX
=yes
11052 no_undefined_flag_CXX
=' -zdefs'
11053 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11054 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11055 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11057 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11058 hardcode_shlibpath_var_CXX
=no
11060 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11062 # The C++ compiler is used as linker so we must use $wl
11063 # flag to pass the commands to the underlying system
11064 # linker. We must also pass each convience library through
11065 # to the system linker between allextract/defaultextract.
11066 # The C++ compiler will combine linker options so we
11067 # cannot just pass the convience library names through
11069 # Supported since Solaris 2.6 (maybe 2.5.1?)
11070 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11073 link_all_deplibs_CXX
=yes
11075 output_verbose_link_cmd
='echo'
11077 # Archives containing C++ object files must be created using
11078 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11079 # necessary to make sure instantiated templates are included
11081 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11084 # Green Hills C++ Compiler
11085 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11087 # The C++ compiler must be used to create the archive.
11088 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11091 # GNU C++ compiler with Solaris linker
11092 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11093 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11094 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11095 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11096 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11097 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11099 # Commands to make compiler produce verbose output that lists
11100 # what "hidden" libraries, object files and flags are used when
11101 # linking a shared library.
11102 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11104 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11106 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11107 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11108 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11110 # Commands to make compiler produce verbose output that lists
11111 # what "hidden" libraries, object files and flags are used when
11112 # linking a shared library.
11113 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11116 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11121 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11122 no_undefined_flag_CXX
='${wl}-z,text'
11123 archive_cmds_need_lc_CXX
=no
11124 hardcode_shlibpath_var_CXX
=no
11125 runpath_var
='LD_RUN_PATH'
11127 case $cc_basename in
11129 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11130 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11133 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11134 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11138 sysv5
* | sco3.2v5
* | sco5v6
*)
11139 # Note: We can NOT use -z defs as we might desire, because we do not
11140 # link with -lc, and that would cause any symbols used from libc to
11141 # always be unresolved, which means just about no library would
11142 # ever link correctly. If we're not using GNU ld we use -z text
11143 # though, which does catch some bad symbols but isn't as heavy-handed
11145 # For security reasons, it is highly recommended that you always
11146 # use absolute paths for naming shared libraries, and exclude the
11147 # DT_RUNPATH tag from executables and libraries. But doing so
11148 # requires that you compile everything twice, which is a pain.
11149 # So that behaviour is only enabled if SCOABSPATH is set to a
11150 # non-empty value in the environment. Most likely only useful for
11151 # creating official distributions of packages.
11152 # This is a hack until libtool officially supports absolute path
11153 # names for shared libraries.
11154 no_undefined_flag_CXX
='${wl}-z,text'
11155 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11156 archive_cmds_need_lc_CXX
=no
11157 hardcode_shlibpath_var_CXX
=no
11158 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11159 hardcode_libdir_separator_CXX
=':'
11160 link_all_deplibs_CXX
=yes
11161 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11162 runpath_var
='LD_RUN_PATH'
11164 case $cc_basename in
11166 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11167 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11170 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11171 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11176 case $cc_basename in
11178 # NonStop-UX NCC 3.20
11179 # FIXME: insert proper C++ library support
11183 # FIXME: insert proper C++ library support
11189 # FIXME: insert proper C++ library support
11193 # FIXME: insert proper C++ library support
11197 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11198 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11199 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11205 cat > conftest.
$ac_ext <<EOF
11209 Foo (void) { a = 0; }
11215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11216 (eval $ac_compile) 2>&5
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); }; then
11220 # Parse the compiler output and extract the necessary
11221 # objects, libraries and library flags.
11223 # Sentinel used to keep track of whether or not we are before
11224 # the conftest object file.
11225 pre_test_object_deps_done
=no
11227 # The `*' in the case matches for architectures that use `case' in
11228 # $output_verbose_cmd can trigger glob expansion during the loop
11229 # eval without this substitution.
11230 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11232 for p
in `eval $output_verbose_link_cmd`; do
11236 # Some compilers place space between "-{L,R}" and the path.
11237 # Remove the space.
11238 if test $p = "-L" \
11239 ||
test $p = "-R"; then
11246 if test "$pre_test_object_deps_done" = no
; then
11249 # Internal compiler library paths should come after those
11250 # provided the user. The postdeps already come after the
11251 # user supplied libs so there is no need to process them.
11252 if test -z "$compiler_lib_search_path_CXX"; then
11253 compiler_lib_search_path_CXX
="${prev}${p}"
11255 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11258 # The "-l" case would never come before the object being
11259 # linked, so don't bother handling this case.
11262 if test -z "$postdeps_CXX"; then
11263 postdeps_CXX
="${prev}${p}"
11265 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11271 # This assumes that the test object file only shows up
11272 # once in the compiler output.
11273 if test "$p" = "conftest.$objext"; then
11274 pre_test_object_deps_done
=yes
11278 if test "$pre_test_object_deps_done" = no
; then
11279 if test -z "$predep_objects_CXX"; then
11280 predep_objects_CXX
="$p"
11282 predep_objects_CXX
="$predep_objects_CXX $p"
11285 if test -z "$postdep_objects_CXX"; then
11286 postdep_objects_CXX
="$p"
11288 postdep_objects_CXX
="$postdep_objects_CXX $p"
11293 *) ;; # Ignore the rest.
11301 echo "libtool.m4: error: problem compiling CXX test program"
11304 $rm -f confest.
$objext
11306 # PORTME: override above test on systems where it is broken
11309 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11310 # hack all around it, let's just trust "g++" to DTRT.
11311 predep_objects_CXX
=
11312 postdep_objects_CXX
=
11317 case $cc_basename in
11319 # Adding this requires a known-good setup of shared libraries for
11320 # Sun compiler versions before 5.6, else PIC objects from an old
11321 # archive will be linked into the output, leading to subtle bugs.
11322 postdeps_CXX
='-lCstd -lCrun'
11329 case " $postdeps_CXX " in
11330 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11333 lt_prog_compiler_wl_CXX
=
11334 lt_prog_compiler_pic_CXX
=
11335 lt_prog_compiler_static_CXX
=
11337 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11338 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11340 # C++ specific cases for pic, static, wl, etc.
11341 if test "$GXX" = yes; then
11342 lt_prog_compiler_wl_CXX
='-Wl,'
11343 lt_prog_compiler_static_CXX
='-static'
11347 # All AIX code is PIC.
11348 if test "$host_cpu" = ia64
; then
11349 # AIX 5 now supports IA64 processor
11350 lt_prog_compiler_static_CXX
='-Bstatic'
11354 # FIXME: we need at least 68020 code to build shared libraries, but
11355 # adding the `-m68020' flag to GCC prevents building anything better,
11357 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11359 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11360 # PIC is the default for these OSes.
11362 mingw
* | os2
* | pw32
*)
11363 # This hack is so that the source file can tell whether it is being
11364 # built for inclusion in a dll (and should export symbols for example).
11365 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11367 darwin
* | rhapsody
*)
11368 # PIC is the default on this platform
11369 # Common symbols not allowed in MH_DYLIB files
11370 lt_prog_compiler_pic_CXX
='-fno-common'
11373 # DJGPP does not support shared libraries at all
11374 lt_prog_compiler_pic_CXX
=
11377 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11378 # Instead, we relocate shared libraries at runtime.
11381 if test -d /usr
/nec
; then
11382 lt_prog_compiler_pic_CXX
=-Kconform_pic
11386 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11387 # not for PA HP-UX.
11392 lt_prog_compiler_pic_CXX
='-fPIC'
11397 lt_prog_compiler_pic_CXX
='-fPIC'
11403 # All AIX code is PIC.
11404 if test "$host_cpu" = ia64
; then
11405 # AIX 5 now supports IA64 processor
11406 lt_prog_compiler_static_CXX
='-Bstatic'
11408 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11412 case $cc_basename in
11414 # Green Hills C++ Compiler
11415 # _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"
11420 # PIC is the default on this platform
11421 # Common symbols not allowed in MH_DYLIB files
11422 case $cc_basename in
11424 lt_prog_compiler_pic_CXX
='-qnocommon'
11425 lt_prog_compiler_wl_CXX
='-Wl,'
11430 case $cc_basename in
11432 lt_prog_compiler_pic_CXX
='-KPIC'
11435 # Green Hills C++ Compiler
11436 lt_prog_compiler_pic_CXX
='-pic'
11442 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11443 # FreeBSD uses GNU C++
11445 hpux9
* | hpux10
* | hpux11
*)
11446 case $cc_basename in
11448 lt_prog_compiler_wl_CXX
='-Wl,'
11449 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11450 if test "$host_cpu" != ia64
; then
11451 lt_prog_compiler_pic_CXX
='+Z'
11455 lt_prog_compiler_wl_CXX
='-Wl,'
11456 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11462 lt_prog_compiler_pic_CXX
='+Z'
11471 # This is c89, which is MS Visual C++ (no shared libs)
11472 # Anyone wants to do a port?
11474 irix5
* | irix6
* | nonstopux
*)
11475 case $cc_basename in
11477 lt_prog_compiler_wl_CXX
='-Wl,'
11478 lt_prog_compiler_static_CXX
='-non_shared'
11479 # CC pic flag -KPIC is the default.
11486 case $cc_basename in
11489 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11490 lt_prog_compiler_pic_CXX
='-fPIC'
11494 lt_prog_compiler_wl_CXX
='-Wl,'
11495 lt_prog_compiler_pic_CXX
='-KPIC'
11496 lt_prog_compiler_static_CXX
='-static'
11499 # Portland Group C++ compiler.
11500 lt_prog_compiler_wl_CXX
='-Wl,'
11501 lt_prog_compiler_pic_CXX
='-fpic'
11502 lt_prog_compiler_static_CXX
='-Bstatic'
11506 # Make sure the PIC flag is empty. It appears that all Alpha
11507 # Linux and Compaq Tru64 Unix objects are PIC.
11508 lt_prog_compiler_pic_CXX
=
11509 lt_prog_compiler_static_CXX
='-non_shared'
11520 case $cc_basename in
11522 lt_prog_compiler_pic_CXX
='-W c,exportall'
11530 osf3
* | osf4
* | osf5
*)
11531 case $cc_basename in
11533 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11536 # Rational C++ 2.4.1
11537 lt_prog_compiler_pic_CXX
='-pic'
11540 # Digital/Compaq C++
11541 lt_prog_compiler_wl_CXX
='-Wl,'
11542 # Make sure the PIC flag is empty. It appears that all Alpha
11543 # Linux and Compaq Tru64 Unix objects are PIC.
11544 lt_prog_compiler_pic_CXX
=
11545 lt_prog_compiler_static_CXX
='-non_shared'
11554 case $cc_basename in
11556 # Sun C++ 4.2, 5.x and Centerline C++
11557 lt_prog_compiler_pic_CXX
='-KPIC'
11558 lt_prog_compiler_static_CXX
='-Bstatic'
11559 lt_prog_compiler_wl_CXX
='-Qoption ld '
11562 # Green Hills C++ Compiler
11563 lt_prog_compiler_pic_CXX
='-PIC'
11570 case $cc_basename in
11573 lt_prog_compiler_pic_CXX
='-pic'
11574 lt_prog_compiler_static_CXX
='-Bstatic'
11578 lt_prog_compiler_pic_CXX
='-pic'
11585 case $cc_basename in
11587 # NonStop-UX NCC 3.20
11588 lt_prog_compiler_pic_CXX
='-KPIC'
11594 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11595 case $cc_basename in
11597 lt_prog_compiler_wl_CXX
='-Wl,'
11598 lt_prog_compiler_pic_CXX
='-KPIC'
11599 lt_prog_compiler_static_CXX
='-Bstatic'
11606 lt_prog_compiler_can_build_shared_CXX
=no
11611 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11612 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11615 # Check to make sure the PIC flag actually works.
11617 if test -n "$lt_prog_compiler_pic_CXX"; then
11619 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11620 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11621 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11624 lt_prog_compiler_pic_works_CXX
=no
11625 ac_outfile
=conftest.
$ac_objext
11626 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11627 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11628 # Insert the option either (1) after the last *FLAGS variable, or
11629 # (2) before a word containing "conftest.", or (3) at the end.
11630 # Note that $ac_compile itself does not contain backslashes and begins
11631 # with a dollar sign (not a hyphen), so the echo should work correctly.
11632 # The option is referenced via a variable to avoid confusing sed.
11633 lt_compile
=`echo "$ac_compile" | $SED \
11634 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11635 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11636 -e 's:$: $lt_compiler_flag:'`
11637 (eval echo "\"\$as_me:11637: $lt_compile\"" >&5)
11638 (eval "$lt_compile" 2>conftest.err
)
11640 cat conftest.err
>&5
11641 echo "$as_me:11641: \$? = $ac_status" >&5
11642 if (exit $ac_status) && test -s "$ac_outfile"; then
11643 # The compiler can only warn and ignore the option if not recognized
11644 # So say no if there are warnings other than the usual output.
11645 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11646 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11647 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11648 lt_prog_compiler_pic_works_CXX
=yes
11654 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11655 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11657 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11658 case $lt_prog_compiler_pic_CXX in
11660 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11663 lt_prog_compiler_pic_CXX
=
11664 lt_prog_compiler_can_build_shared_CXX
=no
11669 # For platforms which do not support PIC, -DPIC is meaningless:
11671 lt_prog_compiler_pic_CXX
=
11674 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11679 # Check to make sure the static flag actually works.
11681 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11682 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11683 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11684 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11687 lt_prog_compiler_static_works_CXX
=no
11688 save_LDFLAGS
="$LDFLAGS"
11689 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11690 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11691 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11692 # The linker can only warn and ignore the option if not recognized
11693 # So say no if there are warnings
11694 if test -s conftest.err
; then
11695 # Append any errors to the config.log.
11696 cat conftest.err
1>&5
11697 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11698 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11699 if diff conftest.exp conftest.er2
>/dev
/null
; then
11700 lt_prog_compiler_static_works_CXX
=yes
11703 lt_prog_compiler_static_works_CXX
=yes
11707 LDFLAGS
="$save_LDFLAGS"
11710 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11711 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11713 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11716 lt_prog_compiler_static_CXX
=
11720 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11721 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11722 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11723 echo $ECHO_N "(cached) $ECHO_C" >&6
11725 lt_cv_prog_compiler_c_o_CXX
=no
11726 $rm -r conftest
2>/dev
/null
11730 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11732 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11733 # Insert the option either (1) after the last *FLAGS variable, or
11734 # (2) before a word containing "conftest.", or (3) at the end.
11735 # Note that $ac_compile itself does not contain backslashes and begins
11736 # with a dollar sign (not a hyphen), so the echo should work correctly.
11737 lt_compile
=`echo "$ac_compile" | $SED \
11738 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11739 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11740 -e 's:$: $lt_compiler_flag:'`
11741 (eval echo "\"\$as_me:11741: $lt_compile\"" >&5)
11742 (eval "$lt_compile" 2>out
/conftest.err
)
11744 cat out
/conftest.err
>&5
11745 echo "$as_me:11745: \$? = $ac_status" >&5
11746 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11748 # The compiler can only warn and ignore the option if not recognized
11749 # So say no if there are warnings
11750 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11751 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11752 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11753 lt_cv_prog_compiler_c_o_CXX
=yes
11758 # SGI C++ compiler will create directory out/ii_files/ for
11759 # template instantiation
11760 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11761 $rm out
/* && rmdir out
11767 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11768 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11771 hard_links
="nottested"
11772 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11773 # do not overwrite the value of need_locks provided by the user
11774 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11775 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11778 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11780 ln conftest.a conftest.b
2>&5 || hard_links
=no
11781 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11782 echo "$as_me:$LINENO: result: $hard_links" >&5
11783 echo "${ECHO_T}$hard_links" >&6
11784 if test "$hard_links" = no
; then
11785 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11786 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11793 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11794 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11796 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11799 # If we're using GNU nm, then we don't want the "-C" option.
11800 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11801 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11802 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'
11804 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'
11808 export_symbols_cmds_CXX
="$ltdll_cmds"
11811 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'
11814 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11818 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11819 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11820 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11823 # Do we need to explicitly link libc?
11825 case "x$archive_cmds_need_lc_CXX" in
11827 # Assume -lc should be added
11828 archive_cmds_need_lc_CXX
=yes
11830 if test "$enable_shared" = yes && test "$GCC" = yes; then
11831 case $archive_cmds_CXX in
11833 # FIXME: we may have to deal with multi-command sequences.
11836 # Test whether the compiler implicitly links with -lc since on some
11837 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11838 # to ld, don't add -lc before -lgcc.
11839 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11840 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11842 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11845 (eval $ac_compile) 2>&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); } 2>conftest.err
; then
11851 libobjs
=conftest.
$ac_objext
11853 wl
=$lt_prog_compiler_wl_CXX
11854 pic_flag
=$lt_prog_compiler_pic_CXX
11860 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11861 allow_undefined_flag_CXX
=
11862 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11863 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); }
11868 archive_cmds_need_lc_CXX
=no
11870 archive_cmds_need_lc_CXX
=yes
11872 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11874 cat conftest.err
1>&5
11877 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11878 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11885 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11886 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11887 library_names_spec
=
11888 libname_spec
='lib$name'
11892 postuninstall_cmds
=
11896 shlibpath_overrides_runpath
=unknown
11898 dynamic_linker
="$host_os ld.so"
11899 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11900 if test "$GCC" = yes; then
11901 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11902 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11903 # if the path contains ";" then we assume it to be the separator
11904 # otherwise default to the standard path separator (i.e. ":") - it is
11905 # assumed that no part of a normal pathname contains ";" but that should
11906 # okay in the real world where ";" in dirpaths is itself problematic.
11907 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11909 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11912 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11914 need_lib_prefix
=unknown
11915 hardcode_into_libs
=no
11917 # when you set need_version to no, make sure it does not cause -set_version
11918 # flags to be left without arguments
11919 need_version
=unknown
11924 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11925 shlibpath_var
=LIBPATH
11927 # AIX 3 has no versioning support, so we append a major version to the name.
11928 soname_spec
='${libname}${release}${shared_ext}$major'
11935 hardcode_into_libs
=yes
11936 if test "$host_cpu" = ia64
; then
11937 # AIX 5 supports IA64
11938 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11939 shlibpath_var
=LD_LIBRARY_PATH
11941 # With GCC up to 2.95.x, collect2 would create an import file
11942 # for dependence libraries. The import file would start with
11943 # the line `#! .'. This would cause the generated library to
11944 # depend on `.', always an invalid library. This was fixed in
11945 # development snapshots of GCC prior to 3.0.
11947 aix4 | aix4.
[01] | aix4.
[01].
*)
11948 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11950 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11953 can_build_shared
=no
11957 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11958 # soname into executable. Probably we can add versioning support to
11959 # collect2, so additional links can be useful in future.
11960 if test "$aix_use_runtimelinking" = yes; then
11961 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11962 # instead of lib<name>.a to let people know that these are not
11963 # typical AIX shared libraries.
11964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11966 # We preserve .a as extension for shared libraries through AIX4.2
11967 # and later when we are not doing run time linking.
11968 library_names_spec
='${libname}${release}.a $libname.a'
11969 soname_spec
='${libname}${release}${shared_ext}$major'
11971 shlibpath_var
=LIBPATH
11976 library_names_spec
='$libname.ixlibrary $libname.a'
11977 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11978 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'
11982 library_names_spec
='${libname}${shared_ext}'
11983 dynamic_linker
="$host_os ld.so"
11984 shlibpath_var
=LIBRARY_PATH
11990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11991 soname_spec
='${libname}${release}${shared_ext}$major'
11992 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11993 shlibpath_var
=LD_LIBRARY_PATH
11994 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11995 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11996 # the default ld.so.conf also contains /usr/contrib/lib and
11997 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11998 # libtool to hard-code these into programs
12001 cygwin
* | mingw
* | pw32
*)
12002 version_type
=windows
12007 case $GCC,$host_os in
12008 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12009 library_names_spec
='$libname.dll.a'
12010 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12011 postinstall_cmds
='base_file=`basename \${file}`~
12012 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12013 dldir=$destdir/`dirname \$dlpath`~
12014 test -d \$dldir || mkdir -p \$dldir~
12015 $install_prog $dir/$dlname \$dldir/$dlname~
12016 chmod a+x \$dldir/$dlname'
12017 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12018 dlpath=$dir/\$dldll~
12020 shlibpath_overrides_runpath
=yes
12024 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12025 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12026 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12029 # MinGW DLLs use traditional 'lib' prefix
12030 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12031 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12032 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12033 # It is most probably a Windows format PATH printed by
12034 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12035 # path with ; separators, and with drive letters. We can handle the
12036 # drive letters (cygwin fileutils understands them), so leave them,
12037 # especially as we might pass files found there to a mingw objdump,
12038 # which wouldn't understand a cygwinified path. Ahh.
12039 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12041 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12045 # pw32 DLLs use 'pw' prefix rather than 'lib'
12046 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12052 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12055 dynamic_linker
='Win32 ld.exe'
12056 # FIXME: first we should search . and the directory the executable is in
12060 darwin
* | rhapsody
*)
12061 dynamic_linker
="$host_os dyld"
12062 version_type
=darwin
12065 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12066 soname_spec
='${libname}${release}${major}$shared_ext'
12067 shlibpath_overrides_runpath
=yes
12068 shlibpath_var
=DYLD_LIBRARY_PATH
12069 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12070 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12071 if test "$GCC" = yes; then
12072 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"`
12074 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12076 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12084 soname_spec
='${libname}${release}${shared_ext}$major'
12085 shlibpath_var
=LD_LIBRARY_PATH
12096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12097 soname_spec
='${libname}${release}${shared_ext}$major'
12098 shlibpath_var
=LD_LIBRARY_PATH
12099 shlibpath_overrides_runpath
=no
12100 hardcode_into_libs
=yes
12101 dynamic_linker
='GNU ld.so'
12104 freebsd
* | dragonfly
*)
12105 # DragonFly does not have aout. When/if they implement a new
12106 # versioning mechanism, adjust this.
12107 if test -x /usr
/bin
/objformat
; then
12108 objformat
=`/usr/bin/objformat`
12111 freebsd
[123]*) objformat
=aout
;;
12112 *) objformat
=elf
;;
12115 version_type
=freebsd-
$objformat
12116 case $version_type in
12118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12123 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12127 shlibpath_var
=LD_LIBRARY_PATH
12130 shlibpath_overrides_runpath
=yes
12132 freebsd3.
[01]* | freebsdelf3.
[01]*)
12133 shlibpath_overrides_runpath
=yes
12134 hardcode_into_libs
=yes
12136 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12137 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12138 shlibpath_overrides_runpath
=no
12139 hardcode_into_libs
=yes
12141 freebsd
*) # from 4.6 on
12142 shlibpath_overrides_runpath
=yes
12143 hardcode_into_libs
=yes
12152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12153 soname_spec
='${libname}${release}${shared_ext}$major'
12154 shlibpath_var
=LD_LIBRARY_PATH
12155 hardcode_into_libs
=yes
12158 hpux9
* | hpux10
* | hpux11
*)
12159 # Give a soname corresponding to the major version so that dld.sl refuses to
12160 # link against other versions.
12167 hardcode_into_libs
=yes
12168 dynamic_linker
="$host_os dld.so"
12169 shlibpath_var
=LD_LIBRARY_PATH
12170 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12172 soname_spec
='${libname}${release}${shared_ext}$major'
12173 if test "X$HPUX_IA64_MODE" = X32
; then
12174 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12176 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12178 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12182 hardcode_into_libs
=yes
12183 dynamic_linker
="$host_os dld.sl"
12184 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12185 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12187 soname_spec
='${libname}${release}${shared_ext}$major'
12188 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12189 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12193 dynamic_linker
="$host_os dld.sl"
12194 shlibpath_var
=SHLIB_PATH
12195 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12197 soname_spec
='${libname}${release}${shared_ext}$major'
12200 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12201 postinstall_cmds
='chmod 555 $lib'
12208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12209 soname_spec
='${libname}${release}${shared_ext}$major'
12210 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12211 shlibpath_var
=LD_LIBRARY_PATH
12212 shlibpath_overrides_runpath
=no
12213 hardcode_into_libs
=yes
12216 irix5
* | irix6
* | nonstopux
*)
12218 nonstopux
*) version_type
=nonstopux
;;
12220 if test "$lt_cv_prog_gnu_ld" = yes; then
12228 soname_spec
='${libname}${release}${shared_ext}$major'
12229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12231 irix5
* | nonstopux
*)
12232 libsuff
= shlibsuff
=
12235 case $LD in # libtool.m4 will add one of these switches to LD
12236 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12237 libsuff
= shlibsuff
= libmagic
=32-bit;;
12238 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12239 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12240 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12241 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12242 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12246 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12247 shlibpath_overrides_runpath
=no
12248 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12249 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12250 hardcode_into_libs
=yes
12253 # No shared lib support for Linux oldld, aout, or coff.
12254 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12258 # This must be Linux ELF.
12263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12264 soname_spec
='${libname}${release}${shared_ext}$major'
12265 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12266 shlibpath_var
=LD_LIBRARY_PATH
12267 shlibpath_overrides_runpath
=no
12268 # This implies no fast_install, which is unacceptable.
12269 # Some rework will be needed to allow for fast_install
12270 # before this can be enabled.
12271 hardcode_into_libs
=yes
12273 # find out which ABI we are using
12275 case "$host_cpu" in
12276 x86_64
*|s390x
*|powerpc64
*)
12277 echo '#line 12277 "configure"' > conftest.
$ac_ext
12278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12279 (eval $ac_compile) 2>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); }; then
12283 case `/usr/bin/file conftest.$ac_objext` in
12286 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12294 # Append ld.so.conf contents to the search path
12295 if test -f /etc
/ld.so.conf
; then
12296 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12297 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12300 # We used to test for /lib/ld.so.1 and disable shared libraries on
12301 # powerpc, because MkLinux only supported shared libraries with the
12302 # GNU dynamic linker. Since this was broken with cross compilers,
12303 # most powerpc-linux boxes support dynamic linking these days and
12304 # people can always --disable-shared, the test was removed, and we
12305 # assume the GNU/Linux dynamic linker is in use.
12306 dynamic_linker
='GNU/Linux ld.so'
12313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12314 soname_spec
='${libname}${release}${shared_ext}$major'
12315 shlibpath_var
=LD_LIBRARY_PATH
12316 shlibpath_overrides_runpath
=no
12317 hardcode_into_libs
=yes
12318 dynamic_linker
='GNU ld.so'
12325 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12327 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12328 dynamic_linker
='NetBSD (a.out) ld.so'
12330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12331 soname_spec
='${libname}${release}${shared_ext}$major'
12332 dynamic_linker
='NetBSD ld.elf_so'
12334 shlibpath_var
=LD_LIBRARY_PATH
12335 shlibpath_overrides_runpath
=yes
12336 hardcode_into_libs
=yes
12341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12342 shlibpath_var
=LD_LIBRARY_PATH
12343 shlibpath_overrides_runpath
=yes
12350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12351 soname_spec
='${libname}${release}${shared_ext}$major'
12352 shlibpath_var
=LD_LIBRARY_PATH
12353 shlibpath_overrides_runpath
=yes
12358 sys_lib_dlsearch_path_spec
="/usr/lib"
12360 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12362 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12363 *) need_version
=no
;;
12365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12366 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12367 shlibpath_var
=LD_LIBRARY_PATH
12368 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12370 openbsd2.
[89] | openbsd2.
[89].
*)
12371 shlibpath_overrides_runpath
=no
12374 shlibpath_overrides_runpath
=yes
12378 shlibpath_overrides_runpath
=yes
12383 libname_spec
='$name'
12386 library_names_spec
='$libname${shared_ext} $libname.a'
12387 dynamic_linker
='OS/2 ld.exe'
12388 shlibpath_var
=LIBPATH
12391 osf3
* | osf4
* | osf5
*)
12395 soname_spec
='${libname}${release}${shared_ext}$major'
12396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12397 shlibpath_var
=LD_LIBRARY_PATH
12398 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12399 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12407 soname_spec
='${libname}${release}${shared_ext}$major'
12408 shlibpath_var
=LD_LIBRARY_PATH
12409 shlibpath_overrides_runpath
=yes
12410 hardcode_into_libs
=yes
12411 # ldd complains unless libraries are executable
12412 postinstall_cmds
='chmod +x $lib'
12417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12418 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12419 shlibpath_var
=LD_LIBRARY_PATH
12420 shlibpath_overrides_runpath
=yes
12421 if test "$with_gnu_ld" = yes; then
12429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12430 soname_spec
='${libname}${release}${shared_ext}$major'
12431 shlibpath_var
=LD_LIBRARY_PATH
12432 case $host_vendor in
12434 shlibpath_overrides_runpath
=no
12436 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12437 runpath_var
=LD_RUN_PATH
12445 shlibpath_overrides_runpath
=no
12446 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12452 if test -d /usr
/nec
;then
12454 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12455 soname_spec
='$libname${shared_ext}.$major'
12456 shlibpath_var
=LD_LIBRARY_PATH
12460 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12461 version_type
=freebsd-elf
12464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12465 soname_spec
='${libname}${release}${shared_ext}$major'
12466 shlibpath_var
=LD_LIBRARY_PATH
12467 hardcode_into_libs
=yes
12468 if test "$with_gnu_ld" = yes; then
12469 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12470 shlibpath_overrides_runpath
=no
12472 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12473 shlibpath_overrides_runpath
=yes
12476 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12480 sys_lib_dlsearch_path_spec
='/usr/lib'
12485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12486 soname_spec
='${libname}${release}${shared_ext}$major'
12487 shlibpath_var
=LD_LIBRARY_PATH
12494 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12495 echo "${ECHO_T}$dynamic_linker" >&6
12496 test "$dynamic_linker" = no
&& can_build_shared
=no
12498 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12499 if test "$GCC" = yes; then
12500 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12503 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12504 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12505 hardcode_action_CXX
=
12506 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12507 test -n "$runpath_var_CXX" || \
12508 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12510 # We can hardcode non-existant directories.
12511 if test "$hardcode_direct_CXX" != no
&&
12512 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12513 # have to relink, otherwise we might link with an installed library
12514 # when we should be linking with a yet-to-be-installed one
12515 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12516 test "$hardcode_minus_L_CXX" != no
; then
12517 # Linking always hardcodes the temporary library directory.
12518 hardcode_action_CXX
=relink
12520 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12521 hardcode_action_CXX
=immediate
12524 # We cannot hardcode anything, or else we can only hardcode existing
12526 hardcode_action_CXX
=unsupported
12528 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12529 echo "${ECHO_T}$hardcode_action_CXX" >&6
12531 if test "$hardcode_action_CXX" = relink
; then
12532 # Fast installation is not supported
12533 enable_fast_install
=no
12534 elif test "$shlibpath_overrides_runpath" = yes ||
12535 test "$enable_shared" = no
; then
12536 # Fast installation is not necessary
12537 enable_fast_install
=needless
12541 # The else clause should only fire when bootstrapping the
12542 # libtool distribution, otherwise you forgot to ship ltmain.sh
12543 # with your package, and you will get complaints that there are
12544 # no rules to generate ltmain.sh.
12545 if test -f "$ltmain"; then
12546 # See if we are running on zsh, and set the options which allow our commands through
12547 # without removal of \ escapes.
12548 if test -n "${ZSH_VERSION+set}" ; then
12549 setopt NO_GLOB_SUBST
12551 # Now quote all the things that may contain metacharacters while being
12552 # careful not to overquote the AC_SUBSTed values. We take copies of the
12553 # variables and quote the copies for generation of the libtool script.
12554 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12556 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12557 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12558 deplibs_check_method reload_flag reload_cmds need_locks \
12559 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12560 lt_cv_sys_global_symbol_to_c_name_address \
12561 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12562 old_postinstall_cmds old_postuninstall_cmds \
12566 lt_prog_compiler_wl_CXX \
12567 lt_prog_compiler_pic_CXX \
12568 lt_prog_compiler_static_CXX \
12569 lt_prog_compiler_no_builtin_flag_CXX \
12570 export_dynamic_flag_spec_CXX \
12571 thread_safe_flag_spec_CXX \
12572 whole_archive_flag_spec_CXX \
12573 enable_shared_with_static_runtimes_CXX \
12574 old_archive_cmds_CXX \
12575 old_archive_from_new_cmds_CXX \
12576 predep_objects_CXX \
12577 postdep_objects_CXX \
12580 compiler_lib_search_path_CXX \
12582 archive_expsym_cmds_CXX \
12583 postinstall_cmds_CXX \
12584 postuninstall_cmds_CXX \
12585 old_archive_from_expsyms_cmds_CXX \
12586 allow_undefined_flag_CXX \
12587 no_undefined_flag_CXX \
12588 export_symbols_cmds_CXX \
12589 hardcode_libdir_flag_spec_CXX \
12590 hardcode_libdir_flag_spec_ld_CXX \
12591 hardcode_libdir_separator_CXX \
12592 hardcode_automatic_CXX \
12594 module_expsym_cmds_CXX \
12595 lt_cv_prog_compiler_c_o_CXX \
12596 exclude_expsyms_CXX \
12597 include_expsyms_CXX
; do
12600 old_archive_cmds_CXX | \
12601 old_archive_from_new_cmds_CXX | \
12602 archive_cmds_CXX | \
12603 archive_expsym_cmds_CXX | \
12604 module_cmds_CXX | \
12605 module_expsym_cmds_CXX | \
12606 old_archive_from_expsyms_cmds_CXX | \
12607 export_symbols_cmds_CXX | \
12608 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12609 postinstall_cmds | postuninstall_cmds | \
12610 old_postinstall_cmds | old_postuninstall_cmds | \
12611 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12612 # Double-quote double-evaled strings.
12613 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12616 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12622 *'\$0 --fallback-echo"')
12623 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12629 cat <<__EOF__ >> "$cfgfile"
12630 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12632 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12634 # Shell to use when invoking shell scripts.
12637 # Whether or not to build shared libraries.
12638 build_libtool_libs=$enable_shared
12640 # Whether or not to build static libraries.
12641 build_old_libs=$enable_static
12643 # Whether or not to add -lc for building shared libraries.
12644 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12646 # Whether or not to disallow shared libs when runtime libs are static
12647 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12649 # Whether or not to optimize for fast installation.
12650 fast_install=$enable_fast_install
12653 host_alias=$host_alias
12657 # The build system.
12658 build_alias=$build_alias
12662 # An echo program that does not interpret backslashes.
12667 AR_FLAGS=$lt_AR_FLAGS
12672 # LTCC compiler flags.
12673 LTCFLAGS=$lt_LTCFLAGS
12675 # A language-specific compiler.
12676 CC=$lt_compiler_CXX
12678 # Is the compiler the GNU C compiler?
12681 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12682 gcc_ver=\`gcc -dumpversion\`
12687 # The linker used to build libraries.
12690 # Whether we need hard or soft links.
12693 # A BSD-compatible nm program.
12696 # A symbol stripping program
12699 # Used to examine libraries when file_magic_cmd begins "file"
12700 MAGIC_CMD=$MAGIC_CMD
12702 # Used on cygwin: DLL creation program.
12705 # Used on cygwin: object dumper.
12708 # Used on cygwin: assembler.
12711 # The name of the directory that contains temporary libtool files.
12714 # How to create reloadable object files.
12715 reload_flag=$lt_reload_flag
12716 reload_cmds=$lt_reload_cmds
12718 # How to pass a linker flag through the compiler.
12719 wl=$lt_lt_prog_compiler_wl_CXX
12721 # Object file suffix (normally "o").
12722 objext="$ac_objext"
12724 # Old archive suffix (normally "a").
12727 # Shared library suffix (normally ".so").
12728 shrext_cmds='$shrext_cmds'
12730 # Executable file suffix (normally "").
12733 # Additional compiler flags for building library objects.
12734 pic_flag=$lt_lt_prog_compiler_pic_CXX
12737 # What is the maximum length of a command?
12738 max_cmd_len=$lt_cv_sys_max_cmd_len
12740 # Does compiler simultaneously support -c and -o options?
12741 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12743 # Must we lock files when doing compilation?
12744 need_locks=$lt_need_locks
12746 # Do we need the lib prefix for modules?
12747 need_lib_prefix=$need_lib_prefix
12749 # Do we need a version for libraries?
12750 need_version=$need_version
12752 # Whether dlopen is supported.
12753 dlopen_support=$enable_dlopen
12755 # Whether dlopen of programs is supported.
12756 dlopen_self=$enable_dlopen_self
12758 # Whether dlopen of statically linked programs is supported.
12759 dlopen_self_static=$enable_dlopen_self_static
12761 # Compiler flag to prevent dynamic linking.
12762 link_static_flag=$lt_lt_prog_compiler_static_CXX
12764 # Compiler flag to turn off builtin functions.
12765 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12767 # Compiler flag to allow reflexive dlopens.
12768 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12770 # Compiler flag to generate shared objects directly from archives.
12771 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12773 # Compiler flag to generate thread-safe objects.
12774 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12776 # Library versioning type.
12777 version_type=$version_type
12779 # Format of library name prefix.
12780 libname_spec=$lt_libname_spec
12782 # List of archive names. First name is the real one, the rest are links.
12783 # The last name is the one that the linker finds with -lNAME.
12784 library_names_spec=$lt_library_names_spec
12786 # The coded name of the library, if different from the real name.
12787 soname_spec=$lt_soname_spec
12789 # Commands used to build and install an old-style archive.
12791 old_archive_cmds=$lt_old_archive_cmds_CXX
12792 old_postinstall_cmds=$lt_old_postinstall_cmds
12793 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12795 # Create an old-style archive from a shared archive.
12796 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12798 # Create a temporary old-style archive to link instead of a shared archive.
12799 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12801 # Commands used to build and install a shared archive.
12802 archive_cmds=$lt_archive_cmds_CXX
12803 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12804 postinstall_cmds=$lt_postinstall_cmds
12805 postuninstall_cmds=$lt_postuninstall_cmds
12807 # Commands used to build a loadable module (assumed same as above if empty)
12808 module_cmds=$lt_module_cmds_CXX
12809 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12811 # Commands to strip libraries.
12812 old_striplib=$lt_old_striplib
12813 striplib=$lt_striplib
12815 # Dependencies to place before the objects being linked to create a
12817 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12819 # Dependencies to place after the objects being linked to create a
12821 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12823 # Dependencies to place before the objects being linked to create a
12825 predeps=$lt_predeps_CXX
12827 # Dependencies to place after the objects being linked to create a
12829 postdeps=$lt_postdeps_CXX
12831 # The library search path used internally by the compiler when linking
12832 # a shared library.
12833 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12835 # Method to check whether dependent libraries are shared objects.
12836 deplibs_check_method=$lt_deplibs_check_method
12838 # Command to use when deplibs_check_method == file_magic.
12839 file_magic_cmd=$lt_file_magic_cmd
12841 # Flag that allows shared libraries with undefined symbols to be built.
12842 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12844 # Flag that forces no undefined symbols.
12845 no_undefined_flag=$lt_no_undefined_flag_CXX
12847 # Commands used to finish a libtool library installation in a directory.
12848 finish_cmds=$lt_finish_cmds
12850 # Same as above, but a single script fragment to be evaled but not shown.
12851 finish_eval=$lt_finish_eval
12853 # Take the output of nm and produce a listing of raw symbols and C names.
12854 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12856 # Transform the output of nm in a proper C declaration
12857 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12859 # Transform the output of nm in a C name address pair
12860 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12862 # This is the shared library runtime path variable.
12863 runpath_var=$runpath_var
12865 # This is the shared library path variable.
12866 shlibpath_var=$shlibpath_var
12868 # Is shlibpath searched before the hard-coded library search path?
12869 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12871 # How to hardcode a shared library path into an executable.
12872 hardcode_action=$hardcode_action_CXX
12874 # Whether we should hardcode library paths into libraries.
12875 hardcode_into_libs=$hardcode_into_libs
12877 # Flag to hardcode \$libdir into a binary during linking.
12878 # This must work even if \$libdir does not exist.
12879 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12881 # If ld is used when linking, flag to hardcode \$libdir into
12882 # a binary during linking. This must work even if \$libdir does
12884 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12886 # Whether we need a single -rpath flag with a separated argument.
12887 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12889 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12890 # resulting binary.
12891 hardcode_direct=$hardcode_direct_CXX
12893 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12894 # resulting binary.
12895 hardcode_minus_L=$hardcode_minus_L_CXX
12897 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12898 # the resulting binary.
12899 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12901 # Set to yes if building a shared library automatically hardcodes DIR into the library
12902 # and all subsequent libraries and executables linked against it.
12903 hardcode_automatic=$hardcode_automatic_CXX
12905 # Variables whose values should be saved in libtool wrapper scripts and
12906 # restored at relink time.
12907 variables_saved_for_relink="$variables_saved_for_relink"
12909 # Whether libtool must link a program against all its dependency libraries.
12910 link_all_deplibs=$link_all_deplibs_CXX
12912 # Compile-time system search path for libraries
12913 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12915 # Run-time system search path for libraries
12916 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12918 # Fix the shell variable \$srcfile for the compiler.
12919 fix_srcfile_path="$fix_srcfile_path_CXX"
12921 # Set to yes if exported symbols are required.
12922 always_export_symbols=$always_export_symbols_CXX
12924 # The commands to list exported symbols.
12925 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12927 # The commands to extract the exported symbol list from a shared archive.
12928 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12930 # Symbols that should not be listed in the preloaded symbols.
12931 exclude_expsyms=$lt_exclude_expsyms_CXX
12933 # Symbols that must always be exported.
12934 include_expsyms=$lt_include_expsyms_CXX
12936 # ### END LIBTOOL TAG CONFIG: $tagname
12942 # If there is no Makefile yet, we rely on a make rule to execute
12943 # `config.status --recheck' to rerun these tests and create the
12944 # libtool script then.
12945 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12946 if test -f "$ltmain_in"; then
12947 test -f Makefile
&& make "$ltmain"
12953 ac_cpp
='$CPP $CPPFLAGS'
12954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12962 with_gnu_ldcxx
=$with_gnu_ld
12963 with_gnu_ld
=$lt_save_with_gnu_ld
12964 lt_cv_path_LDCXX
=$lt_cv_path_LD
12965 lt_cv_path_LD
=$lt_save_path_LD
12966 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12967 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
12975 if test -n "$F77" && test "X$F77" != "Xno"; then
12978 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12979 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12980 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
12983 archive_cmds_need_lc_F77
=no
12984 allow_undefined_flag_F77
=
12985 always_export_symbols_F77
=no
12986 archive_expsym_cmds_F77
=
12987 export_dynamic_flag_spec_F77
=
12988 hardcode_direct_F77
=no
12989 hardcode_libdir_flag_spec_F77
=
12990 hardcode_libdir_flag_spec_ld_F77
=
12991 hardcode_libdir_separator_F77
=
12992 hardcode_minus_L_F77
=no
12993 hardcode_automatic_F77
=no
12995 module_expsym_cmds_F77
=
12996 link_all_deplibs_F77
=unknown
12997 old_archive_cmds_F77
=$old_archive_cmds
12998 no_undefined_flag_F77
=
12999 whole_archive_flag_spec_F77
=
13000 enable_shared_with_static_runtimes_F77
=no
13002 # Source file extension for f77 test sources.
13005 # Object file extension for compiled f77 test sources.
13009 # Code to be used in simple compile tests
13010 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13012 # Code to be used in simple link tests
13013 lt_simple_link_test_code
=" program t\n end\n"
13015 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13017 # If no C compiler was specified, use CC.
13020 # If no C compiler flags were specified, use CFLAGS.
13021 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13023 # Allow CC to be a program name with arguments.
13027 # save warnings/boilerplate of simple test code
13028 ac_outfile
=conftest.
$ac_objext
13029 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13030 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13031 _lt_compiler_boilerplate
=`cat conftest.err`
13034 ac_outfile
=conftest.
$ac_objext
13035 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13036 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13037 _lt_linker_boilerplate
=`cat conftest.err`
13041 # Allow CC to be a program name with arguments.
13046 for cc_temp
in $compiler""; do
13048 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13049 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13054 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13057 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13058 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13059 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13060 echo "${ECHO_T}$can_build_shared" >&6
13062 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13063 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13064 test "$can_build_shared" = "no" && enable_shared
=no
13066 # On AIX, shared libraries and static libraries use the same namespace, and
13067 # are all built from PIC.
13070 test "$enable_shared" = yes && enable_static
=no
13071 if test -n "$RANLIB"; then
13072 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13073 postinstall_cmds
='$RANLIB $lib'
13077 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13078 test "$enable_shared" = yes && enable_static
=no
13082 echo "$as_me:$LINENO: result: $enable_shared" >&5
13083 echo "${ECHO_T}$enable_shared" >&6
13085 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13086 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13087 # Make sure either enable_shared or enable_static is yes.
13088 test "$enable_shared" = yes || enable_static
=yes
13089 echo "$as_me:$LINENO: result: $enable_static" >&5
13090 echo "${ECHO_T}$enable_static" >&6
13095 lt_prog_compiler_wl_F77
=
13096 lt_prog_compiler_pic_F77
=
13097 lt_prog_compiler_static_F77
=
13099 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13100 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13102 if test "$GCC" = yes; then
13103 lt_prog_compiler_wl_F77
='-Wl,'
13104 lt_prog_compiler_static_F77
='-static'
13108 # All AIX code is PIC.
13109 if test "$host_cpu" = ia64
; then
13110 # AIX 5 now supports IA64 processor
13111 lt_prog_compiler_static_F77
='-Bstatic'
13116 # FIXME: we need at least 68020 code to build shared libraries, but
13117 # adding the `-m68020' flag to GCC prevents building anything better,
13119 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13122 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13123 # PIC is the default for these OSes.
13126 mingw
* | pw32
* | os2
*)
13127 # This hack is so that the source file can tell whether it is being
13128 # built for inclusion in a dll (and should export symbols for example).
13129 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13132 darwin
* | rhapsody
*)
13133 # PIC is the default on this platform
13134 # Common symbols not allowed in MH_DYLIB files
13135 lt_prog_compiler_pic_F77
='-fno-common'
13139 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13140 # Instead, we relocate shared libraries at runtime.
13144 # Just because we use GCC doesn't mean we suddenly get shared libraries
13145 # on systems that don't support them.
13146 lt_prog_compiler_can_build_shared_F77
=no
13151 if test -d /usr
/nec
; then
13152 lt_prog_compiler_pic_F77
=-Kconform_pic
13157 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13158 # not for PA HP-UX.
13164 lt_prog_compiler_pic_F77
='-fPIC'
13170 lt_prog_compiler_pic_F77
='-fPIC'
13174 # PORTME Check for flag to pass linker flags through the system compiler.
13177 lt_prog_compiler_wl_F77
='-Wl,'
13178 if test "$host_cpu" = ia64
; then
13179 # AIX 5 now supports IA64 processor
13180 lt_prog_compiler_static_F77
='-Bstatic'
13182 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13186 # PIC is the default on this platform
13187 # Common symbols not allowed in MH_DYLIB files
13188 case $cc_basename in
13190 lt_prog_compiler_pic_F77
='-qnocommon'
13191 lt_prog_compiler_wl_F77
='-Wl,'
13196 mingw
* | pw32
* | os2
*)
13197 # This hack is so that the source file can tell whether it is being
13198 # built for inclusion in a dll (and should export symbols for example).
13199 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13202 hpux9
* | hpux10
* | hpux11
*)
13203 lt_prog_compiler_wl_F77
='-Wl,'
13204 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13205 # not for PA HP-UX.
13211 lt_prog_compiler_pic_F77
='+Z'
13214 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13215 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13218 irix5
* | irix6
* | nonstopux
*)
13219 lt_prog_compiler_wl_F77
='-Wl,'
13220 # PIC (with -KPIC) is the default.
13221 lt_prog_compiler_static_F77
='-non_shared'
13225 lt_prog_compiler_pic_F77
='-KPIC'
13226 lt_prog_compiler_static_F77
='-Bstatic'
13230 case $cc_basename in
13232 lt_prog_compiler_wl_F77
='-Wl,'
13233 lt_prog_compiler_pic_F77
='-KPIC'
13234 lt_prog_compiler_static_F77
='-static'
13236 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13237 # Portland Group compilers (*not* the Pentium gcc compiler,
13238 # which looks to be a dead project)
13239 lt_prog_compiler_wl_F77
='-Wl,'
13240 lt_prog_compiler_pic_F77
='-fpic'
13241 lt_prog_compiler_static_F77
='-Bstatic'
13244 lt_prog_compiler_wl_F77
='-Wl,'
13245 # All Alpha code is PIC.
13246 lt_prog_compiler_static_F77
='-non_shared'
13251 osf3
* | osf4
* | osf5
*)
13252 lt_prog_compiler_wl_F77
='-Wl,'
13253 # All OSF/1 code is PIC.
13254 lt_prog_compiler_static_F77
='-non_shared'
13258 lt_prog_compiler_pic_F77
='-KPIC'
13259 lt_prog_compiler_static_F77
='-Bstatic'
13260 case $cc_basename in
13261 f77
* | f90
* | f95
*)
13262 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13264 lt_prog_compiler_wl_F77
='-Wl,';;
13269 lt_prog_compiler_wl_F77
='-Qoption ld '
13270 lt_prog_compiler_pic_F77
='-PIC'
13271 lt_prog_compiler_static_F77
='-Bstatic'
13274 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13275 lt_prog_compiler_wl_F77
='-Wl,'
13276 lt_prog_compiler_pic_F77
='-KPIC'
13277 lt_prog_compiler_static_F77
='-Bstatic'
13281 if test -d /usr
/nec
;then
13282 lt_prog_compiler_pic_F77
='-Kconform_pic'
13283 lt_prog_compiler_static_F77
='-Bstatic'
13287 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13288 lt_prog_compiler_wl_F77
='-Wl,'
13289 lt_prog_compiler_pic_F77
='-KPIC'
13290 lt_prog_compiler_static_F77
='-Bstatic'
13294 lt_prog_compiler_wl_F77
='-Wl,'
13295 lt_prog_compiler_can_build_shared_F77
=no
13299 lt_prog_compiler_pic_F77
='-pic'
13300 lt_prog_compiler_static_F77
='-Bstatic'
13304 lt_prog_compiler_can_build_shared_F77
=no
13309 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13310 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13313 # Check to make sure the PIC flag actually works.
13315 if test -n "$lt_prog_compiler_pic_F77"; then
13317 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13318 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13319 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13320 echo $ECHO_N "(cached) $ECHO_C" >&6
13322 lt_prog_compiler_pic_works_F77
=no
13323 ac_outfile
=conftest.
$ac_objext
13324 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13325 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13326 # Insert the option either (1) after the last *FLAGS variable, or
13327 # (2) before a word containing "conftest.", or (3) at the end.
13328 # Note that $ac_compile itself does not contain backslashes and begins
13329 # with a dollar sign (not a hyphen), so the echo should work correctly.
13330 # The option is referenced via a variable to avoid confusing sed.
13331 lt_compile
=`echo "$ac_compile" | $SED \
13332 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13333 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13334 -e 's:$: $lt_compiler_flag:'`
13335 (eval echo "\"\$as_me:13335: $lt_compile\"" >&5)
13336 (eval "$lt_compile" 2>conftest.err
)
13338 cat conftest.err
>&5
13339 echo "$as_me:13339: \$? = $ac_status" >&5
13340 if (exit $ac_status) && test -s "$ac_outfile"; then
13341 # The compiler can only warn and ignore the option if not recognized
13342 # So say no if there are warnings other than the usual output.
13343 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13344 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13345 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13346 lt_prog_compiler_pic_works_F77
=yes
13352 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13353 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13355 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13356 case $lt_prog_compiler_pic_F77 in
13358 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13361 lt_prog_compiler_pic_F77
=
13362 lt_prog_compiler_can_build_shared_F77
=no
13367 # For platforms which do not support PIC, -DPIC is meaningless:
13369 lt_prog_compiler_pic_F77
=
13372 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13377 # Check to make sure the static flag actually works.
13379 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13380 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13381 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13382 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13383 echo $ECHO_N "(cached) $ECHO_C" >&6
13385 lt_prog_compiler_static_works_F77
=no
13386 save_LDFLAGS
="$LDFLAGS"
13387 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13388 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13389 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13390 # The linker can only warn and ignore the option if not recognized
13391 # So say no if there are warnings
13392 if test -s conftest.err
; then
13393 # Append any errors to the config.log.
13394 cat conftest.err
1>&5
13395 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13396 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13397 if diff conftest.exp conftest.er2
>/dev
/null
; then
13398 lt_prog_compiler_static_works_F77
=yes
13401 lt_prog_compiler_static_works_F77
=yes
13405 LDFLAGS
="$save_LDFLAGS"
13408 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13409 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13411 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13414 lt_prog_compiler_static_F77
=
13418 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13419 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13420 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13421 echo $ECHO_N "(cached) $ECHO_C" >&6
13423 lt_cv_prog_compiler_c_o_F77
=no
13424 $rm -r conftest
2>/dev
/null
13428 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13430 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13431 # Insert the option either (1) after the last *FLAGS variable, or
13432 # (2) before a word containing "conftest.", or (3) at the end.
13433 # Note that $ac_compile itself does not contain backslashes and begins
13434 # with a dollar sign (not a hyphen), so the echo should work correctly.
13435 lt_compile
=`echo "$ac_compile" | $SED \
13436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13438 -e 's:$: $lt_compiler_flag:'`
13439 (eval echo "\"\$as_me:13439: $lt_compile\"" >&5)
13440 (eval "$lt_compile" 2>out
/conftest.err
)
13442 cat out
/conftest.err
>&5
13443 echo "$as_me:13443: \$? = $ac_status" >&5
13444 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13446 # The compiler can only warn and ignore the option if not recognized
13447 # So say no if there are warnings
13448 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13449 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13450 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13451 lt_cv_prog_compiler_c_o_F77
=yes
13456 # SGI C++ compiler will create directory out/ii_files/ for
13457 # template instantiation
13458 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13459 $rm out
/* && rmdir out
13465 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13466 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13469 hard_links
="nottested"
13470 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13471 # do not overwrite the value of need_locks provided by the user
13472 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13473 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13476 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13478 ln conftest.a conftest.b
2>&5 || hard_links
=no
13479 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13480 echo "$as_me:$LINENO: result: $hard_links" >&5
13481 echo "${ECHO_T}$hard_links" >&6
13482 if test "$hard_links" = no
; then
13483 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13484 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13491 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13492 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13495 allow_undefined_flag_F77
=
13496 enable_shared_with_static_runtimes_F77
=no
13498 archive_expsym_cmds_F77
=
13499 old_archive_From_new_cmds_F77
=
13500 old_archive_from_expsyms_cmds_F77
=
13501 export_dynamic_flag_spec_F77
=
13502 whole_archive_flag_spec_F77
=
13503 thread_safe_flag_spec_F77
=
13504 hardcode_libdir_flag_spec_F77
=
13505 hardcode_libdir_flag_spec_ld_F77
=
13506 hardcode_libdir_separator_F77
=
13507 hardcode_direct_F77
=no
13508 hardcode_minus_L_F77
=no
13509 hardcode_shlibpath_var_F77
=unsupported
13510 link_all_deplibs_F77
=unknown
13511 hardcode_automatic_F77
=no
13513 module_expsym_cmds_F77
=
13514 always_export_symbols_F77
=no
13515 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13516 # include_expsyms should be a list of space-separated symbols to be *always*
13517 # included in the symbol list
13518 include_expsyms_F77
=
13519 # exclude_expsyms can be an extended regexp of symbols to exclude
13520 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13521 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13522 # as well as any symbol that contains `d'.
13523 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13524 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13525 # platforms (ab)use it in PIC code, but their linkers get confused if
13526 # the symbol is explicitly referenced. Since portable code cannot
13527 # rely on this symbol name, it's probably fine to never include it in
13528 # preloaded symbol tables.
13529 extract_expsyms_cmds
=
13530 # Just being paranoid about ensuring that cc_basename is set.
13531 for cc_temp
in $compiler""; do
13533 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13534 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13539 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13542 cygwin
* | mingw
* | pw32
*)
13543 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13544 # When not using gcc, we currently assume that we are using
13545 # Microsoft Visual C++.
13546 if test "$GCC" != yes; then
13551 # we just hope/assume this is gcc and not c89 (= MSVC++)
13560 if test "$with_gnu_ld" = yes; then
13561 # If archive_cmds runs LD, not CC, wlarc should be empty
13564 # Set some defaults for GNU ld with shared library support. These
13565 # are reset later if shared libraries are not supported. Putting them
13566 # here allows them to be overridden if necessary.
13567 runpath_var
=LD_RUN_PATH
13568 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13569 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13570 # ancient GNU ld didn't support --whole-archive et. al.
13571 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13572 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13574 whole_archive_flag_spec_F77
=
13576 supports_anon_versioning
=no
13577 case `$LD -v 2>/dev/null` in
13578 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13579 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13580 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13581 *\
2.11.
*) ;; # other 2.11 versions
13582 *) supports_anon_versioning
=yes ;;
13585 # See if GNU ld supports shared libraries.
13587 aix3
* | aix4
* | aix5
*)
13588 # On AIX/PPC, the GNU linker is very broken
13589 if test "$host_cpu" != ia64
; then
13593 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13594 *** to be unable to reliably create shared libraries on AIX.
13595 *** Therefore, libtool is disabling shared libraries support. If you
13596 *** really care for shared libraries, you may want to modify your PATH
13597 *** so that a non-GNU linker is found, and then restart.
13604 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)'
13605 hardcode_libdir_flag_spec_F77
='-L$libdir'
13606 hardcode_minus_L_F77
=yes
13608 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13609 # that the semantics of dynamic libraries on AmigaOS, at least up
13610 # to version 4, is to share data among multiple programs linked
13611 # with the same dynamic library. Since this doesn't match the
13612 # behavior of shared libraries on other platforms, we can't use
13618 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13619 allow_undefined_flag_F77
=unsupported
13620 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13621 # support --undefined. This deserves some investigation. FIXME
13622 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13628 cygwin
* | mingw
* | pw32
*)
13629 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13630 # as there is no search path for DLLs.
13631 hardcode_libdir_flag_spec_F77
='-L$libdir'
13632 allow_undefined_flag_F77
=unsupported
13633 always_export_symbols_F77
=no
13634 enable_shared_with_static_runtimes_F77
=yes
13635 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13637 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13638 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13639 # If the export-symbols file already is a .def file (1st line
13640 # is EXPORTS), use it as is; otherwise, prepend...
13641 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13642 cp $export_symbols $output_objdir/$soname.def;
13644 echo EXPORTS > $output_objdir/$soname.def;
13645 cat $export_symbols >> $output_objdir/$soname.def;
13647 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13654 hardcode_direct_F77
=no
13655 hardcode_shlibpath_var_F77
=no
13656 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13657 export_dynamic_flag_spec_F77
='${wl}-E'
13658 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13659 # Instead, shared libraries are loaded at an image base (0x10000000 by
13660 # default) and relocated if they conflict, which is a slow very memory
13661 # consuming and fragmenting process. To avoid this, we pick a random,
13662 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13663 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13664 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13665 archive_expsym_cmds_F77
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13669 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13671 case $cc_basename,$host_cpu in
13672 pgcc
*) # Portland Group C compiler
13673 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13674 tmp_addflag
=' $pic_flag'
13676 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13677 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13678 tmp_addflag
=' $pic_flag -Mnomain' ;;
13679 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13680 tmp_addflag
=' -i_dynamic' ;;
13681 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13682 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13683 ifc
* | ifort
*) # Intel Fortran compiler
13684 tmp_addflag
=' -nofor_main' ;;
13686 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13688 if test $supports_anon_versioning = yes; then
13689 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13690 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13691 $echo "local: *; };" >> $output_objdir/$libname.ver~
13692 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13700 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13701 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13704 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13705 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13710 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13714 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13715 *** create shared libraries on Solaris systems. Therefore, libtool
13716 *** is disabling shared libraries support. We urge you to upgrade GNU
13717 *** binutils to release 2.9.1 or newer. Another option is to modify
13718 *** your PATH or compiler configuration so that the native linker is
13719 *** used, and then restart.
13722 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13723 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13724 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13730 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13731 case `$LD -v 2>&1` in
13732 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13736 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13737 *** reliably create shared libraries on SCO systems. Therefore, libtool
13738 *** is disabling shared libraries support. We urge you to upgrade GNU
13739 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13740 *** your PATH or compiler configuration so that the native linker is
13741 *** used, and then restart.
13746 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13747 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13748 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13749 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13758 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13760 hardcode_direct_F77
=yes
13761 hardcode_shlibpath_var_F77
=no
13765 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13766 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13767 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13774 if test "$ld_shlibs_F77" = no
; then
13776 hardcode_libdir_flag_spec_F77
=
13777 export_dynamic_flag_spec_F77
=
13778 whole_archive_flag_spec_F77
=
13781 # PORTME fill in a description of your system's linker (not GNU ld)
13784 allow_undefined_flag_F77
=unsupported
13785 always_export_symbols_F77
=yes
13786 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'
13787 # Note: this linker hardcodes the directories in LIBPATH if there
13788 # are no directories specified by -L.
13789 hardcode_minus_L_F77
=yes
13790 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13791 # Neither direct hardcoding nor static linking is supported with a
13793 hardcode_direct_F77
=unsupported
13798 if test "$host_cpu" = ia64
; then
13799 # On IA64, the linker does run time linking by default, so we don't
13800 # have to do anything special.
13801 aix_use_runtimelinking
=no
13802 exp_sym_flag
='-Bexport'
13805 # If we're using GNU nm, then we don't want the "-C" option.
13806 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13807 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13808 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'
13810 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'
13812 aix_use_runtimelinking
=no
13814 # Test if we are trying to use run time linking or normal
13815 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13816 # need to do runtime linking.
13817 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13818 for ld_flag
in $LDFLAGS; do
13819 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13820 aix_use_runtimelinking
=yes
13827 exp_sym_flag
='-bexport'
13828 no_entry_flag
='-bnoentry'
13831 # When large executables or shared objects are built, AIX ld can
13832 # have problems creating the table of contents. If linking a library
13833 # or program results in "error TOC overflow" add -mminimal-toc to
13834 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13835 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13837 archive_cmds_F77
=''
13838 hardcode_direct_F77
=yes
13839 hardcode_libdir_separator_F77
=':'
13840 link_all_deplibs_F77
=yes
13842 if test "$GCC" = yes; then
13843 case $host_os in aix4.
[012]|aix4.
[012].
*)
13844 # We only want to do this on AIX 4.2 and lower, the check
13845 # below for broken collect2 doesn't work under 4.3+
13846 collect2name
=`${CC} -print-prog-name=collect2`
13847 if test -f "$collect2name" && \
13848 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13850 # We have reworked collect2
13851 hardcode_direct_F77
=yes
13853 # We have old collect2
13854 hardcode_direct_F77
=unsupported
13855 # It fails to find uninstalled libraries when the uninstalled
13856 # path is not listed in the libpath. Setting hardcode_minus_L
13857 # to unsupported forces relinking
13858 hardcode_minus_L_F77
=yes
13859 hardcode_libdir_flag_spec_F77
='-L$libdir'
13860 hardcode_libdir_separator_F77
=
13864 shared_flag
='-shared'
13865 if test "$aix_use_runtimelinking" = yes; then
13866 shared_flag
="$shared_flag "'${wl}-G'
13870 if test "$host_cpu" = ia64
; then
13871 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13872 # chokes on -Wl,-G. The following line is correct:
13875 if test "$aix_use_runtimelinking" = yes; then
13876 shared_flag
='${wl}-G'
13878 shared_flag
='${wl}-bM:SRE'
13883 # It seems that -bexpall does not export symbols beginning with
13884 # underscore (_), so it is better to generate a list of symbols to export.
13885 always_export_symbols_F77
=yes
13886 if test "$aix_use_runtimelinking" = yes; then
13887 # Warning - without using the other runtime loading flags (-brtl),
13888 # -berok will link without error, but may produce a broken library.
13889 allow_undefined_flag_F77
='-berok'
13890 # Determine the default libpath from the value encoded in an empty executable.
13891 cat >conftest.
$ac_ext <<_ACEOF
13896 rm -f conftest.
$ac_objext conftest
$ac_exeext
13897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13898 (eval $ac_link) 2>conftest.er1
13900 grep -v '^ *+' conftest.er1
>conftest.err
13902 cat conftest.err
>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); } &&
13905 { ac_try
='test -z "$ac_f77_werror_flag"
13906 || test ! -s conftest.err'
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908 (eval $ac_try) 2>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; } &&
13912 { ac_try
='test -s conftest$ac_exeext'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; }; then
13919 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13921 # Check for a 64-bit object if we didn't find anything.
13922 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; }
13925 echo "$as_me: failed program was:" >&5
13926 sed 's/^/| /' conftest.
$ac_ext >&5
13929 rm -f conftest.err conftest.
$ac_objext \
13930 conftest
$ac_exeext conftest.
$ac_ext
13931 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13933 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13934 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13936 if test "$host_cpu" = ia64
; then
13937 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
13938 allow_undefined_flag_F77
="-z nodefs"
13939 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13941 # Determine the default libpath from the value encoded in an empty executable.
13942 cat >conftest.
$ac_ext <<_ACEOF
13947 rm -f conftest.
$ac_objext conftest
$ac_exeext
13948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13949 (eval $ac_link) 2>conftest.er1
13951 grep -v '^ *+' conftest.er1
>conftest.err
13953 cat conftest.err
>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } &&
13956 { ac_try
='test -z "$ac_f77_werror_flag"
13957 || test ! -s conftest.err'
13958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13959 (eval $ac_try) 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; } &&
13963 { ac_try
='test -s conftest$ac_exeext'
13964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13965 (eval $ac_try) 2>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); }; }; then
13970 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13972 # Check for a 64-bit object if we didn't find anything.
13973 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; }
13976 echo "$as_me: failed program was:" >&5
13977 sed 's/^/| /' conftest.
$ac_ext >&5
13980 rm -f conftest.err conftest.
$ac_objext \
13981 conftest
$ac_exeext conftest.
$ac_ext
13982 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13984 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13985 # Warning - without using the other run time loading flags,
13986 # -berok will link without error, but may produce a broken library.
13987 no_undefined_flag_F77
=' ${wl}-bernotok'
13988 allow_undefined_flag_F77
=' ${wl}-berok'
13989 # Exported symbols can be pulled into shared objects from archives
13990 whole_archive_flag_spec_F77
='$convenience'
13991 archive_cmds_need_lc_F77
=yes
13992 # This is similar to how AIX traditionally builds its shared libraries.
13993 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13999 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)'
14000 hardcode_libdir_flag_spec_F77
='-L$libdir'
14001 hardcode_minus_L_F77
=yes
14002 # see comment about different semantics on the GNU ld section
14007 export_dynamic_flag_spec_F77
=-rdynamic
14010 cygwin
* | mingw
* | pw32
*)
14011 # When not using gcc, we currently assume that we are using
14012 # Microsoft Visual C++.
14013 # hardcode_libdir_flag_spec is actually meaningless, as there is
14014 # no search path for DLLs.
14015 hardcode_libdir_flag_spec_F77
=' '
14016 allow_undefined_flag_F77
=unsupported
14017 # Tell ltmain to make .lib files, not .a files.
14019 # Tell ltmain to make .dll files, not .so files.
14021 # FIXME: Setting linknames here is a bad hack.
14022 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14023 # The linker will automatically build a .lib file if we build a DLL.
14024 old_archive_From_new_cmds_F77
='true'
14025 # FIXME: Should let the user specify the lib program.
14026 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14027 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14028 enable_shared_with_static_runtimes_F77
=yes
14031 darwin
* | rhapsody
*)
14033 rhapsody
* | darwin1.
[012])
14034 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14037 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14038 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14040 case ${MACOSX_DEPLOYMENT_TARGET} in
14042 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14045 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14051 archive_cmds_need_lc_F77
=no
14052 hardcode_direct_F77
=no
14053 hardcode_automatic_F77
=yes
14054 hardcode_shlibpath_var_F77
=unsupported
14055 whole_archive_flag_spec_F77
=''
14056 link_all_deplibs_F77
=yes
14057 if test "$GCC" = yes ; then
14058 output_verbose_link_cmd
='echo'
14059 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14060 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14061 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14062 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}'
14063 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}'
14065 case $cc_basename in
14067 output_verbose_link_cmd
='echo'
14068 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14069 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14070 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14071 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}'
14072 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}'
14082 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14083 hardcode_libdir_flag_spec_F77
='-L$libdir'
14084 hardcode_shlibpath_var_F77
=no
14091 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14092 # support. Future versions do this automatically, but an explicit c++rt0.o
14093 # does not break anything, and helps significantly (at the cost of a little
14096 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14097 hardcode_libdir_flag_spec_F77
='-R$libdir'
14098 hardcode_direct_F77
=yes
14099 hardcode_shlibpath_var_F77
=no
14102 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14104 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14105 hardcode_direct_F77
=yes
14106 hardcode_minus_L_F77
=yes
14107 hardcode_shlibpath_var_F77
=no
14110 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14111 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14112 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14113 hardcode_libdir_flag_spec_F77
='-R$libdir'
14114 hardcode_direct_F77
=yes
14115 hardcode_shlibpath_var_F77
=no
14119 if test "$GCC" = yes; then
14120 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'
14122 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'
14124 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14125 hardcode_libdir_separator_F77
=:
14126 hardcode_direct_F77
=yes
14128 # hardcode_minus_L: Not really in the search PATH,
14129 # but as the default location of the library.
14130 hardcode_minus_L_F77
=yes
14131 export_dynamic_flag_spec_F77
='${wl}-E'
14135 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14136 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14138 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14140 if test "$with_gnu_ld" = no
; then
14141 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14142 hardcode_libdir_separator_F77
=:
14144 hardcode_direct_F77
=yes
14145 export_dynamic_flag_spec_F77
='${wl}-E'
14147 # hardcode_minus_L: Not really in the search PATH,
14148 # but as the default location of the library.
14149 hardcode_minus_L_F77
=yes
14154 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14157 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14160 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14163 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14169 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14172 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14175 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14179 if test "$with_gnu_ld" = no
; then
14180 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14181 hardcode_libdir_separator_F77
=:
14185 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14186 hardcode_direct_F77
=no
14187 hardcode_shlibpath_var_F77
=no
14190 hardcode_direct_F77
=yes
14191 export_dynamic_flag_spec_F77
='${wl}-E'
14193 # hardcode_minus_L: Not really in the search PATH,
14194 # but as the default location of the library.
14195 hardcode_minus_L_F77
=yes
14201 irix5
* | irix6
* | nonstopux
*)
14202 if test "$GCC" = yes; then
14203 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'
14205 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'
14206 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14208 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14209 hardcode_libdir_separator_F77
=:
14210 link_all_deplibs_F77
=yes
14214 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14215 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14217 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14219 hardcode_libdir_flag_spec_F77
='-R$libdir'
14220 hardcode_direct_F77
=yes
14221 hardcode_shlibpath_var_F77
=no
14225 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14226 hardcode_direct_F77
=yes
14227 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14228 hardcode_libdir_separator_F77
=:
14229 hardcode_shlibpath_var_F77
=no
14233 hardcode_direct_F77
=yes
14234 hardcode_shlibpath_var_F77
=no
14235 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14236 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14237 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14238 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14239 export_dynamic_flag_spec_F77
='${wl}-E'
14242 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14243 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14244 hardcode_libdir_flag_spec_F77
='-R$libdir'
14247 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14248 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14255 hardcode_libdir_flag_spec_F77
='-L$libdir'
14256 hardcode_minus_L_F77
=yes
14257 allow_undefined_flag_F77
=unsupported
14258 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'
14259 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14263 if test "$GCC" = yes; then
14264 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14265 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'
14267 allow_undefined_flag_F77
=' -expect_unresolved \*'
14268 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'
14270 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14271 hardcode_libdir_separator_F77
=:
14274 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14275 if test "$GCC" = yes; then
14276 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14277 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'
14278 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14280 allow_undefined_flag_F77
=' -expect_unresolved \*'
14281 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'
14282 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~
14283 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14285 # Both c and cxx compiler support -rpath directly
14286 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14288 hardcode_libdir_separator_F77
=:
14292 no_undefined_flag_F77
=' -z text'
14293 if test "$GCC" = yes; then
14295 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14296 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14297 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14300 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14301 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14302 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14304 hardcode_libdir_flag_spec_F77
='-R$libdir'
14305 hardcode_shlibpath_var_F77
=no
14307 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14309 # The compiler driver will combine linker options so we
14310 # cannot just pass the convience library names through
14311 # without $wl, iff we do not link with $LD.
14312 # Luckily, gcc supports the same syntax we need for Sun Studio.
14313 # Supported since Solaris 2.6 (maybe 2.5.1?)
14316 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14318 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14321 link_all_deplibs_F77
=yes
14325 if test "x$host_vendor" = xsequent
; then
14326 # Use $CC to link under sequent, because it throws in some extra .o
14327 # files that make .init and .fini sections work.
14328 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14330 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14332 hardcode_libdir_flag_spec_F77
='-L$libdir'
14333 hardcode_direct_F77
=yes
14334 hardcode_minus_L_F77
=yes
14335 hardcode_shlibpath_var_F77
=no
14339 case $host_vendor in
14341 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14342 hardcode_direct_F77
=yes # is this really true???
14345 ## LD is ld it makes a PLAMLIB
14346 ## CC just makes a GrossModule.
14347 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14348 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14349 hardcode_direct_F77
=no
14352 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14353 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14356 runpath_var
='LD_RUN_PATH'
14357 hardcode_shlibpath_var_F77
=no
14361 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14362 hardcode_shlibpath_var_F77
=no
14363 export_dynamic_flag_spec_F77
='-Bexport'
14367 if test -d /usr
/nec
; then
14368 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14369 hardcode_shlibpath_var_F77
=no
14370 runpath_var
=LD_RUN_PATH
14371 hardcode_runpath_var
=yes
14376 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14377 no_undefined_flag_F77
='${wl}-z,text'
14378 archive_cmds_need_lc_F77
=no
14379 hardcode_shlibpath_var_F77
=no
14380 runpath_var
='LD_RUN_PATH'
14382 if test "$GCC" = yes; then
14383 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14384 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14386 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14387 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14391 sysv5
* | sco3.2v5
* | sco5v6
*)
14392 # Note: We can NOT use -z defs as we might desire, because we do not
14393 # link with -lc, and that would cause any symbols used from libc to
14394 # always be unresolved, which means just about no library would
14395 # ever link correctly. If we're not using GNU ld we use -z text
14396 # though, which does catch some bad symbols but isn't as heavy-handed
14398 no_undefined_flag_F77
='${wl}-z,text'
14399 allow_undefined_flag_F77
='${wl}-z,nodefs'
14400 archive_cmds_need_lc_F77
=no
14401 hardcode_shlibpath_var_F77
=no
14402 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14403 hardcode_libdir_separator_F77
=':'
14404 link_all_deplibs_F77
=yes
14405 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14406 runpath_var
='LD_RUN_PATH'
14408 if test "$GCC" = yes; then
14409 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14410 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14412 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14413 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14418 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14419 hardcode_libdir_flag_spec_F77
='-L$libdir'
14420 hardcode_shlibpath_var_F77
=no
14429 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14430 echo "${ECHO_T}$ld_shlibs_F77" >&6
14431 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14434 # Do we need to explicitly link libc?
14436 case "x$archive_cmds_need_lc_F77" in
14438 # Assume -lc should be added
14439 archive_cmds_need_lc_F77
=yes
14441 if test "$enable_shared" = yes && test "$GCC" = yes; then
14442 case $archive_cmds_F77 in
14444 # FIXME: we may have to deal with multi-command sequences.
14447 # Test whether the compiler implicitly links with -lc since on some
14448 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14449 # to ld, don't add -lc before -lgcc.
14450 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14451 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14453 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14456 (eval $ac_compile) 2>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } 2>conftest.err
; then
14462 libobjs
=conftest.
$ac_objext
14464 wl
=$lt_prog_compiler_wl_F77
14465 pic_flag
=$lt_prog_compiler_pic_F77
14471 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14472 allow_undefined_flag_F77
=
14473 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14474 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }
14479 archive_cmds_need_lc_F77
=no
14481 archive_cmds_need_lc_F77
=yes
14483 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14485 cat conftest.err
1>&5
14488 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14489 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14496 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14497 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14498 library_names_spec
=
14499 libname_spec
='lib$name'
14503 postuninstall_cmds
=
14507 shlibpath_overrides_runpath
=unknown
14509 dynamic_linker
="$host_os ld.so"
14510 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14511 if test "$GCC" = yes; then
14512 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14513 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14514 # if the path contains ";" then we assume it to be the separator
14515 # otherwise default to the standard path separator (i.e. ":") - it is
14516 # assumed that no part of a normal pathname contains ";" but that should
14517 # okay in the real world where ";" in dirpaths is itself problematic.
14518 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14520 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14523 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14525 need_lib_prefix
=unknown
14526 hardcode_into_libs
=no
14528 # when you set need_version to no, make sure it does not cause -set_version
14529 # flags to be left without arguments
14530 need_version
=unknown
14535 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14536 shlibpath_var
=LIBPATH
14538 # AIX 3 has no versioning support, so we append a major version to the name.
14539 soname_spec
='${libname}${release}${shared_ext}$major'
14546 hardcode_into_libs
=yes
14547 if test "$host_cpu" = ia64
; then
14548 # AIX 5 supports IA64
14549 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14550 shlibpath_var
=LD_LIBRARY_PATH
14552 # With GCC up to 2.95.x, collect2 would create an import file
14553 # for dependence libraries. The import file would start with
14554 # the line `#! .'. This would cause the generated library to
14555 # depend on `.', always an invalid library. This was fixed in
14556 # development snapshots of GCC prior to 3.0.
14558 aix4 | aix4.
[01] | aix4.
[01].
*)
14559 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14561 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14564 can_build_shared
=no
14568 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14569 # soname into executable. Probably we can add versioning support to
14570 # collect2, so additional links can be useful in future.
14571 if test "$aix_use_runtimelinking" = yes; then
14572 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14573 # instead of lib<name>.a to let people know that these are not
14574 # typical AIX shared libraries.
14575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14577 # We preserve .a as extension for shared libraries through AIX4.2
14578 # and later when we are not doing run time linking.
14579 library_names_spec
='${libname}${release}.a $libname.a'
14580 soname_spec
='${libname}${release}${shared_ext}$major'
14582 shlibpath_var
=LIBPATH
14587 library_names_spec
='$libname.ixlibrary $libname.a'
14588 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14589 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'
14593 library_names_spec
='${libname}${shared_ext}'
14594 dynamic_linker
="$host_os ld.so"
14595 shlibpath_var
=LIBRARY_PATH
14601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14602 soname_spec
='${libname}${release}${shared_ext}$major'
14603 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14604 shlibpath_var
=LD_LIBRARY_PATH
14605 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14606 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14607 # the default ld.so.conf also contains /usr/contrib/lib and
14608 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14609 # libtool to hard-code these into programs
14612 cygwin
* | mingw
* | pw32
*)
14613 version_type
=windows
14618 case $GCC,$host_os in
14619 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14620 library_names_spec
='$libname.dll.a'
14621 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14622 postinstall_cmds
='base_file=`basename \${file}`~
14623 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14624 dldir=$destdir/`dirname \$dlpath`~
14625 test -d \$dldir || mkdir -p \$dldir~
14626 $install_prog $dir/$dlname \$dldir/$dlname~
14627 chmod a+x \$dldir/$dlname'
14628 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14629 dlpath=$dir/\$dldll~
14631 shlibpath_overrides_runpath
=yes
14635 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14636 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14637 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14640 # MinGW DLLs use traditional 'lib' prefix
14641 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14642 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14643 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14644 # It is most probably a Windows format PATH printed by
14645 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14646 # path with ; separators, and with drive letters. We can handle the
14647 # drive letters (cygwin fileutils understands them), so leave them,
14648 # especially as we might pass files found there to a mingw objdump,
14649 # which wouldn't understand a cygwinified path. Ahh.
14650 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14652 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14656 # pw32 DLLs use 'pw' prefix rather than 'lib'
14657 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14663 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14666 dynamic_linker
='Win32 ld.exe'
14667 # FIXME: first we should search . and the directory the executable is in
14671 darwin
* | rhapsody
*)
14672 dynamic_linker
="$host_os dyld"
14673 version_type
=darwin
14676 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14677 soname_spec
='${libname}${release}${major}$shared_ext'
14678 shlibpath_overrides_runpath
=yes
14679 shlibpath_var
=DYLD_LIBRARY_PATH
14680 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14681 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14682 if test "$GCC" = yes; then
14683 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"`
14685 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14687 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14695 soname_spec
='${libname}${release}${shared_ext}$major'
14696 shlibpath_var
=LD_LIBRARY_PATH
14707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14708 soname_spec
='${libname}${release}${shared_ext}$major'
14709 shlibpath_var
=LD_LIBRARY_PATH
14710 shlibpath_overrides_runpath
=no
14711 hardcode_into_libs
=yes
14712 dynamic_linker
='GNU ld.so'
14715 freebsd
* | dragonfly
*)
14716 # DragonFly does not have aout. When/if they implement a new
14717 # versioning mechanism, adjust this.
14718 if test -x /usr
/bin
/objformat
; then
14719 objformat
=`/usr/bin/objformat`
14722 freebsd
[123]*) objformat
=aout
;;
14723 *) objformat
=elf
;;
14726 version_type
=freebsd-
$objformat
14727 case $version_type in
14729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14734 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14738 shlibpath_var
=LD_LIBRARY_PATH
14741 shlibpath_overrides_runpath
=yes
14743 freebsd3.
[01]* | freebsdelf3.
[01]*)
14744 shlibpath_overrides_runpath
=yes
14745 hardcode_into_libs
=yes
14747 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14748 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14749 shlibpath_overrides_runpath
=no
14750 hardcode_into_libs
=yes
14752 freebsd
*) # from 4.6 on
14753 shlibpath_overrides_runpath
=yes
14754 hardcode_into_libs
=yes
14763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14764 soname_spec
='${libname}${release}${shared_ext}$major'
14765 shlibpath_var
=LD_LIBRARY_PATH
14766 hardcode_into_libs
=yes
14769 hpux9
* | hpux10
* | hpux11
*)
14770 # Give a soname corresponding to the major version so that dld.sl refuses to
14771 # link against other versions.
14778 hardcode_into_libs
=yes
14779 dynamic_linker
="$host_os dld.so"
14780 shlibpath_var
=LD_LIBRARY_PATH
14781 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14783 soname_spec
='${libname}${release}${shared_ext}$major'
14784 if test "X$HPUX_IA64_MODE" = X32
; then
14785 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14787 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14789 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14793 hardcode_into_libs
=yes
14794 dynamic_linker
="$host_os dld.sl"
14795 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14796 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14798 soname_spec
='${libname}${release}${shared_ext}$major'
14799 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14800 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14804 dynamic_linker
="$host_os dld.sl"
14805 shlibpath_var
=SHLIB_PATH
14806 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14808 soname_spec
='${libname}${release}${shared_ext}$major'
14811 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14812 postinstall_cmds
='chmod 555 $lib'
14819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14820 soname_spec
='${libname}${release}${shared_ext}$major'
14821 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14822 shlibpath_var
=LD_LIBRARY_PATH
14823 shlibpath_overrides_runpath
=no
14824 hardcode_into_libs
=yes
14827 irix5
* | irix6
* | nonstopux
*)
14829 nonstopux
*) version_type
=nonstopux
;;
14831 if test "$lt_cv_prog_gnu_ld" = yes; then
14839 soname_spec
='${libname}${release}${shared_ext}$major'
14840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14842 irix5
* | nonstopux
*)
14843 libsuff
= shlibsuff
=
14846 case $LD in # libtool.m4 will add one of these switches to LD
14847 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14848 libsuff
= shlibsuff
= libmagic
=32-bit;;
14849 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14850 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14851 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14852 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14853 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14857 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14858 shlibpath_overrides_runpath
=no
14859 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14860 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14861 hardcode_into_libs
=yes
14864 # No shared lib support for Linux oldld, aout, or coff.
14865 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14869 # This must be Linux ELF.
14874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14875 soname_spec
='${libname}${release}${shared_ext}$major'
14876 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14877 shlibpath_var
=LD_LIBRARY_PATH
14878 shlibpath_overrides_runpath
=no
14879 # This implies no fast_install, which is unacceptable.
14880 # Some rework will be needed to allow for fast_install
14881 # before this can be enabled.
14882 hardcode_into_libs
=yes
14884 # find out which ABI we are using
14886 case "$host_cpu" in
14887 x86_64
*|s390x
*|powerpc64
*)
14888 echo '#line 14888 "configure"' > conftest.
$ac_ext
14889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14890 (eval $ac_compile) 2>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; then
14894 case `/usr/bin/file conftest.$ac_objext` in
14897 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14905 # Append ld.so.conf contents to the search path
14906 if test -f /etc
/ld.so.conf
; then
14907 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14908 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14911 # We used to test for /lib/ld.so.1 and disable shared libraries on
14912 # powerpc, because MkLinux only supported shared libraries with the
14913 # GNU dynamic linker. Since this was broken with cross compilers,
14914 # most powerpc-linux boxes support dynamic linking these days and
14915 # people can always --disable-shared, the test was removed, and we
14916 # assume the GNU/Linux dynamic linker is in use.
14917 dynamic_linker
='GNU/Linux ld.so'
14924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14925 soname_spec
='${libname}${release}${shared_ext}$major'
14926 shlibpath_var
=LD_LIBRARY_PATH
14927 shlibpath_overrides_runpath
=no
14928 hardcode_into_libs
=yes
14929 dynamic_linker
='GNU ld.so'
14936 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14938 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14939 dynamic_linker
='NetBSD (a.out) ld.so'
14941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14942 soname_spec
='${libname}${release}${shared_ext}$major'
14943 dynamic_linker
='NetBSD ld.elf_so'
14945 shlibpath_var
=LD_LIBRARY_PATH
14946 shlibpath_overrides_runpath
=yes
14947 hardcode_into_libs
=yes
14952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14953 shlibpath_var
=LD_LIBRARY_PATH
14954 shlibpath_overrides_runpath
=yes
14961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14962 soname_spec
='${libname}${release}${shared_ext}$major'
14963 shlibpath_var
=LD_LIBRARY_PATH
14964 shlibpath_overrides_runpath
=yes
14969 sys_lib_dlsearch_path_spec
="/usr/lib"
14971 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14973 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14974 *) need_version
=no
;;
14976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14977 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14978 shlibpath_var
=LD_LIBRARY_PATH
14979 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14981 openbsd2.
[89] | openbsd2.
[89].
*)
14982 shlibpath_overrides_runpath
=no
14985 shlibpath_overrides_runpath
=yes
14989 shlibpath_overrides_runpath
=yes
14994 libname_spec
='$name'
14997 library_names_spec
='$libname${shared_ext} $libname.a'
14998 dynamic_linker
='OS/2 ld.exe'
14999 shlibpath_var
=LIBPATH
15002 osf3
* | osf4
* | osf5
*)
15006 soname_spec
='${libname}${release}${shared_ext}$major'
15007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15008 shlibpath_var
=LD_LIBRARY_PATH
15009 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15010 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15018 soname_spec
='${libname}${release}${shared_ext}$major'
15019 shlibpath_var
=LD_LIBRARY_PATH
15020 shlibpath_overrides_runpath
=yes
15021 hardcode_into_libs
=yes
15022 # ldd complains unless libraries are executable
15023 postinstall_cmds
='chmod +x $lib'
15028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15029 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15030 shlibpath_var
=LD_LIBRARY_PATH
15031 shlibpath_overrides_runpath
=yes
15032 if test "$with_gnu_ld" = yes; then
15040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15041 soname_spec
='${libname}${release}${shared_ext}$major'
15042 shlibpath_var
=LD_LIBRARY_PATH
15043 case $host_vendor in
15045 shlibpath_overrides_runpath
=no
15047 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15048 runpath_var
=LD_RUN_PATH
15056 shlibpath_overrides_runpath
=no
15057 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15063 if test -d /usr
/nec
;then
15065 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15066 soname_spec
='$libname${shared_ext}.$major'
15067 shlibpath_var
=LD_LIBRARY_PATH
15071 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15072 version_type
=freebsd-elf
15075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15076 soname_spec
='${libname}${release}${shared_ext}$major'
15077 shlibpath_var
=LD_LIBRARY_PATH
15078 hardcode_into_libs
=yes
15079 if test "$with_gnu_ld" = yes; then
15080 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15081 shlibpath_overrides_runpath
=no
15083 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15084 shlibpath_overrides_runpath
=yes
15087 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15091 sys_lib_dlsearch_path_spec
='/usr/lib'
15096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15097 soname_spec
='${libname}${release}${shared_ext}$major'
15098 shlibpath_var
=LD_LIBRARY_PATH
15105 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15106 echo "${ECHO_T}$dynamic_linker" >&6
15107 test "$dynamic_linker" = no
&& can_build_shared
=no
15109 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15110 if test "$GCC" = yes; then
15111 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15114 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15115 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15116 hardcode_action_F77
=
15117 if test -n "$hardcode_libdir_flag_spec_F77" || \
15118 test -n "$runpath_var_F77" || \
15119 test "X$hardcode_automatic_F77" = "Xyes" ; then
15121 # We can hardcode non-existant directories.
15122 if test "$hardcode_direct_F77" != no
&&
15123 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15124 # have to relink, otherwise we might link with an installed library
15125 # when we should be linking with a yet-to-be-installed one
15126 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15127 test "$hardcode_minus_L_F77" != no
; then
15128 # Linking always hardcodes the temporary library directory.
15129 hardcode_action_F77
=relink
15131 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15132 hardcode_action_F77
=immediate
15135 # We cannot hardcode anything, or else we can only hardcode existing
15137 hardcode_action_F77
=unsupported
15139 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15140 echo "${ECHO_T}$hardcode_action_F77" >&6
15142 if test "$hardcode_action_F77" = relink
; then
15143 # Fast installation is not supported
15144 enable_fast_install
=no
15145 elif test "$shlibpath_overrides_runpath" = yes ||
15146 test "$enable_shared" = no
; then
15147 # Fast installation is not necessary
15148 enable_fast_install
=needless
15152 # The else clause should only fire when bootstrapping the
15153 # libtool distribution, otherwise you forgot to ship ltmain.sh
15154 # with your package, and you will get complaints that there are
15155 # no rules to generate ltmain.sh.
15156 if test -f "$ltmain"; then
15157 # See if we are running on zsh, and set the options which allow our commands through
15158 # without removal of \ escapes.
15159 if test -n "${ZSH_VERSION+set}" ; then
15160 setopt NO_GLOB_SUBST
15162 # Now quote all the things that may contain metacharacters while being
15163 # careful not to overquote the AC_SUBSTed values. We take copies of the
15164 # variables and quote the copies for generation of the libtool script.
15165 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15167 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15168 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15169 deplibs_check_method reload_flag reload_cmds need_locks \
15170 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15171 lt_cv_sys_global_symbol_to_c_name_address \
15172 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15173 old_postinstall_cmds old_postuninstall_cmds \
15177 lt_prog_compiler_wl_F77 \
15178 lt_prog_compiler_pic_F77 \
15179 lt_prog_compiler_static_F77 \
15180 lt_prog_compiler_no_builtin_flag_F77 \
15181 export_dynamic_flag_spec_F77 \
15182 thread_safe_flag_spec_F77 \
15183 whole_archive_flag_spec_F77 \
15184 enable_shared_with_static_runtimes_F77 \
15185 old_archive_cmds_F77 \
15186 old_archive_from_new_cmds_F77 \
15187 predep_objects_F77 \
15188 postdep_objects_F77 \
15191 compiler_lib_search_path_F77 \
15193 archive_expsym_cmds_F77 \
15194 postinstall_cmds_F77 \
15195 postuninstall_cmds_F77 \
15196 old_archive_from_expsyms_cmds_F77 \
15197 allow_undefined_flag_F77 \
15198 no_undefined_flag_F77 \
15199 export_symbols_cmds_F77 \
15200 hardcode_libdir_flag_spec_F77 \
15201 hardcode_libdir_flag_spec_ld_F77 \
15202 hardcode_libdir_separator_F77 \
15203 hardcode_automatic_F77 \
15205 module_expsym_cmds_F77 \
15206 lt_cv_prog_compiler_c_o_F77 \
15207 exclude_expsyms_F77 \
15208 include_expsyms_F77
; do
15211 old_archive_cmds_F77 | \
15212 old_archive_from_new_cmds_F77 | \
15213 archive_cmds_F77 | \
15214 archive_expsym_cmds_F77 | \
15215 module_cmds_F77 | \
15216 module_expsym_cmds_F77 | \
15217 old_archive_from_expsyms_cmds_F77 | \
15218 export_symbols_cmds_F77 | \
15219 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15220 postinstall_cmds | postuninstall_cmds | \
15221 old_postinstall_cmds | old_postuninstall_cmds | \
15222 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15223 # Double-quote double-evaled strings.
15224 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15227 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15233 *'\$0 --fallback-echo"')
15234 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15240 cat <<__EOF__ >> "$cfgfile"
15241 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15243 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15245 # Shell to use when invoking shell scripts.
15248 # Whether or not to build shared libraries.
15249 build_libtool_libs=$enable_shared
15251 # Whether or not to build static libraries.
15252 build_old_libs=$enable_static
15254 # Whether or not to add -lc for building shared libraries.
15255 build_libtool_need_lc=$archive_cmds_need_lc_F77
15257 # Whether or not to disallow shared libs when runtime libs are static
15258 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15260 # Whether or not to optimize for fast installation.
15261 fast_install=$enable_fast_install
15264 host_alias=$host_alias
15268 # The build system.
15269 build_alias=$build_alias
15273 # An echo program that does not interpret backslashes.
15278 AR_FLAGS=$lt_AR_FLAGS
15283 # LTCC compiler flags.
15284 LTCFLAGS=$lt_LTCFLAGS
15286 # A language-specific compiler.
15287 CC=$lt_compiler_F77
15289 # Is the compiler the GNU C compiler?
15292 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15293 gcc_ver=\`gcc -dumpversion\`
15298 # The linker used to build libraries.
15301 # Whether we need hard or soft links.
15304 # A BSD-compatible nm program.
15307 # A symbol stripping program
15310 # Used to examine libraries when file_magic_cmd begins "file"
15311 MAGIC_CMD=$MAGIC_CMD
15313 # Used on cygwin: DLL creation program.
15316 # Used on cygwin: object dumper.
15319 # Used on cygwin: assembler.
15322 # The name of the directory that contains temporary libtool files.
15325 # How to create reloadable object files.
15326 reload_flag=$lt_reload_flag
15327 reload_cmds=$lt_reload_cmds
15329 # How to pass a linker flag through the compiler.
15330 wl=$lt_lt_prog_compiler_wl_F77
15332 # Object file suffix (normally "o").
15333 objext="$ac_objext"
15335 # Old archive suffix (normally "a").
15338 # Shared library suffix (normally ".so").
15339 shrext_cmds='$shrext_cmds'
15341 # Executable file suffix (normally "").
15344 # Additional compiler flags for building library objects.
15345 pic_flag=$lt_lt_prog_compiler_pic_F77
15348 # What is the maximum length of a command?
15349 max_cmd_len=$lt_cv_sys_max_cmd_len
15351 # Does compiler simultaneously support -c and -o options?
15352 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15354 # Must we lock files when doing compilation?
15355 need_locks=$lt_need_locks
15357 # Do we need the lib prefix for modules?
15358 need_lib_prefix=$need_lib_prefix
15360 # Do we need a version for libraries?
15361 need_version=$need_version
15363 # Whether dlopen is supported.
15364 dlopen_support=$enable_dlopen
15366 # Whether dlopen of programs is supported.
15367 dlopen_self=$enable_dlopen_self
15369 # Whether dlopen of statically linked programs is supported.
15370 dlopen_self_static=$enable_dlopen_self_static
15372 # Compiler flag to prevent dynamic linking.
15373 link_static_flag=$lt_lt_prog_compiler_static_F77
15375 # Compiler flag to turn off builtin functions.
15376 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15378 # Compiler flag to allow reflexive dlopens.
15379 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15381 # Compiler flag to generate shared objects directly from archives.
15382 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15384 # Compiler flag to generate thread-safe objects.
15385 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15387 # Library versioning type.
15388 version_type=$version_type
15390 # Format of library name prefix.
15391 libname_spec=$lt_libname_spec
15393 # List of archive names. First name is the real one, the rest are links.
15394 # The last name is the one that the linker finds with -lNAME.
15395 library_names_spec=$lt_library_names_spec
15397 # The coded name of the library, if different from the real name.
15398 soname_spec=$lt_soname_spec
15400 # Commands used to build and install an old-style archive.
15402 old_archive_cmds=$lt_old_archive_cmds_F77
15403 old_postinstall_cmds=$lt_old_postinstall_cmds
15404 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15406 # Create an old-style archive from a shared archive.
15407 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15409 # Create a temporary old-style archive to link instead of a shared archive.
15410 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15412 # Commands used to build and install a shared archive.
15413 archive_cmds=$lt_archive_cmds_F77
15414 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15415 postinstall_cmds=$lt_postinstall_cmds
15416 postuninstall_cmds=$lt_postuninstall_cmds
15418 # Commands used to build a loadable module (assumed same as above if empty)
15419 module_cmds=$lt_module_cmds_F77
15420 module_expsym_cmds=$lt_module_expsym_cmds_F77
15422 # Commands to strip libraries.
15423 old_striplib=$lt_old_striplib
15424 striplib=$lt_striplib
15426 # Dependencies to place before the objects being linked to create a
15428 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15430 # Dependencies to place after the objects being linked to create a
15432 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15434 # Dependencies to place before the objects being linked to create a
15436 predeps=$lt_predeps_F77
15438 # Dependencies to place after the objects being linked to create a
15440 postdeps=$lt_postdeps_F77
15442 # The library search path used internally by the compiler when linking
15443 # a shared library.
15444 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15446 # Method to check whether dependent libraries are shared objects.
15447 deplibs_check_method=$lt_deplibs_check_method
15449 # Command to use when deplibs_check_method == file_magic.
15450 file_magic_cmd=$lt_file_magic_cmd
15452 # Flag that allows shared libraries with undefined symbols to be built.
15453 allow_undefined_flag=$lt_allow_undefined_flag_F77
15455 # Flag that forces no undefined symbols.
15456 no_undefined_flag=$lt_no_undefined_flag_F77
15458 # Commands used to finish a libtool library installation in a directory.
15459 finish_cmds=$lt_finish_cmds
15461 # Same as above, but a single script fragment to be evaled but not shown.
15462 finish_eval=$lt_finish_eval
15464 # Take the output of nm and produce a listing of raw symbols and C names.
15465 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15467 # Transform the output of nm in a proper C declaration
15468 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15470 # Transform the output of nm in a C name address pair
15471 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15473 # This is the shared library runtime path variable.
15474 runpath_var=$runpath_var
15476 # This is the shared library path variable.
15477 shlibpath_var=$shlibpath_var
15479 # Is shlibpath searched before the hard-coded library search path?
15480 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15482 # How to hardcode a shared library path into an executable.
15483 hardcode_action=$hardcode_action_F77
15485 # Whether we should hardcode library paths into libraries.
15486 hardcode_into_libs=$hardcode_into_libs
15488 # Flag to hardcode \$libdir into a binary during linking.
15489 # This must work even if \$libdir does not exist.
15490 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15492 # If ld is used when linking, flag to hardcode \$libdir into
15493 # a binary during linking. This must work even if \$libdir does
15495 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15497 # Whether we need a single -rpath flag with a separated argument.
15498 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15500 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15501 # resulting binary.
15502 hardcode_direct=$hardcode_direct_F77
15504 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15505 # resulting binary.
15506 hardcode_minus_L=$hardcode_minus_L_F77
15508 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15509 # the resulting binary.
15510 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15512 # Set to yes if building a shared library automatically hardcodes DIR into the library
15513 # and all subsequent libraries and executables linked against it.
15514 hardcode_automatic=$hardcode_automatic_F77
15516 # Variables whose values should be saved in libtool wrapper scripts and
15517 # restored at relink time.
15518 variables_saved_for_relink="$variables_saved_for_relink"
15520 # Whether libtool must link a program against all its dependency libraries.
15521 link_all_deplibs=$link_all_deplibs_F77
15523 # Compile-time system search path for libraries
15524 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15526 # Run-time system search path for libraries
15527 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15529 # Fix the shell variable \$srcfile for the compiler.
15530 fix_srcfile_path="$fix_srcfile_path_F77"
15532 # Set to yes if exported symbols are required.
15533 always_export_symbols=$always_export_symbols_F77
15535 # The commands to list exported symbols.
15536 export_symbols_cmds=$lt_export_symbols_cmds_F77
15538 # The commands to extract the exported symbol list from a shared archive.
15539 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15541 # Symbols that should not be listed in the preloaded symbols.
15542 exclude_expsyms=$lt_exclude_expsyms_F77
15544 # Symbols that must always be exported.
15545 include_expsyms=$lt_include_expsyms_F77
15547 # ### END LIBTOOL TAG CONFIG: $tagname
15553 # If there is no Makefile yet, we rely on a make rule to execute
15554 # `config.status --recheck' to rerun these tests and create the
15555 # libtool script then.
15556 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15557 if test -f "$ltmain_in"; then
15558 test -f Makefile
&& make "$ltmain"
15564 ac_cpp
='$CPP $CPPFLAGS'
15565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15577 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15581 # Source file extension for Java test sources.
15584 # Object file extension for compiled Java test sources.
15588 # Code to be used in simple compile tests
15589 lt_simple_compile_test_code
="class foo {}\n"
15591 # Code to be used in simple link tests
15592 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15594 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15596 # If no C compiler was specified, use CC.
15599 # If no C compiler flags were specified, use CFLAGS.
15600 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15602 # Allow CC to be a program name with arguments.
15606 # save warnings/boilerplate of simple test code
15607 ac_outfile
=conftest.
$ac_objext
15608 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15609 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15610 _lt_compiler_boilerplate
=`cat conftest.err`
15613 ac_outfile
=conftest.
$ac_objext
15614 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15615 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15616 _lt_linker_boilerplate
=`cat conftest.err`
15620 # Allow CC to be a program name with arguments.
15625 for cc_temp
in $compiler""; do
15627 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15628 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15633 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15636 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15637 archive_cmds_need_lc_GCJ
=no
15639 old_archive_cmds_GCJ
=$old_archive_cmds
15642 lt_prog_compiler_no_builtin_flag_GCJ
=
15644 if test "$GCC" = yes; then
15645 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15648 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15649 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15650 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15651 echo $ECHO_N "(cached) $ECHO_C" >&6
15653 lt_cv_prog_compiler_rtti_exceptions
=no
15654 ac_outfile
=conftest.
$ac_objext
15655 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15656 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15657 # Insert the option either (1) after the last *FLAGS variable, or
15658 # (2) before a word containing "conftest.", or (3) at the end.
15659 # Note that $ac_compile itself does not contain backslashes and begins
15660 # with a dollar sign (not a hyphen), so the echo should work correctly.
15661 # The option is referenced via a variable to avoid confusing sed.
15662 lt_compile
=`echo "$ac_compile" | $SED \
15663 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15664 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15665 -e 's:$: $lt_compiler_flag:'`
15666 (eval echo "\"\$as_me:15666: $lt_compile\"" >&5)
15667 (eval "$lt_compile" 2>conftest.err
)
15669 cat conftest.err
>&5
15670 echo "$as_me:15670: \$? = $ac_status" >&5
15671 if (exit $ac_status) && test -s "$ac_outfile"; then
15672 # The compiler can only warn and ignore the option if not recognized
15673 # So say no if there are warnings other than the usual output.
15674 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15675 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15676 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15677 lt_cv_prog_compiler_rtti_exceptions
=yes
15683 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15684 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15686 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15687 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15694 lt_prog_compiler_wl_GCJ
=
15695 lt_prog_compiler_pic_GCJ
=
15696 lt_prog_compiler_static_GCJ
=
15698 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15699 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15701 if test "$GCC" = yes; then
15702 lt_prog_compiler_wl_GCJ
='-Wl,'
15703 lt_prog_compiler_static_GCJ
='-static'
15707 # All AIX code is PIC.
15708 if test "$host_cpu" = ia64
; then
15709 # AIX 5 now supports IA64 processor
15710 lt_prog_compiler_static_GCJ
='-Bstatic'
15715 # FIXME: we need at least 68020 code to build shared libraries, but
15716 # adding the `-m68020' flag to GCC prevents building anything better,
15718 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15721 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15722 # PIC is the default for these OSes.
15725 mingw
* | pw32
* | os2
*)
15726 # This hack is so that the source file can tell whether it is being
15727 # built for inclusion in a dll (and should export symbols for example).
15728 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15731 darwin
* | rhapsody
*)
15732 # PIC is the default on this platform
15733 # Common symbols not allowed in MH_DYLIB files
15734 lt_prog_compiler_pic_GCJ
='-fno-common'
15738 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15739 # Instead, we relocate shared libraries at runtime.
15743 # Just because we use GCC doesn't mean we suddenly get shared libraries
15744 # on systems that don't support them.
15745 lt_prog_compiler_can_build_shared_GCJ
=no
15750 if test -d /usr
/nec
; then
15751 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15756 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15757 # not for PA HP-UX.
15763 lt_prog_compiler_pic_GCJ
='-fPIC'
15769 lt_prog_compiler_pic_GCJ
='-fPIC'
15773 # PORTME Check for flag to pass linker flags through the system compiler.
15776 lt_prog_compiler_wl_GCJ
='-Wl,'
15777 if test "$host_cpu" = ia64
; then
15778 # AIX 5 now supports IA64 processor
15779 lt_prog_compiler_static_GCJ
='-Bstatic'
15781 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15785 # PIC is the default on this platform
15786 # Common symbols not allowed in MH_DYLIB files
15787 case $cc_basename in
15789 lt_prog_compiler_pic_GCJ
='-qnocommon'
15790 lt_prog_compiler_wl_GCJ
='-Wl,'
15795 mingw
* | pw32
* | os2
*)
15796 # This hack is so that the source file can tell whether it is being
15797 # built for inclusion in a dll (and should export symbols for example).
15798 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15801 hpux9
* | hpux10
* | hpux11
*)
15802 lt_prog_compiler_wl_GCJ
='-Wl,'
15803 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15804 # not for PA HP-UX.
15810 lt_prog_compiler_pic_GCJ
='+Z'
15813 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15814 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15817 irix5
* | irix6
* | nonstopux
*)
15818 lt_prog_compiler_wl_GCJ
='-Wl,'
15819 # PIC (with -KPIC) is the default.
15820 lt_prog_compiler_static_GCJ
='-non_shared'
15824 lt_prog_compiler_pic_GCJ
='-KPIC'
15825 lt_prog_compiler_static_GCJ
='-Bstatic'
15829 case $cc_basename in
15831 lt_prog_compiler_wl_GCJ
='-Wl,'
15832 lt_prog_compiler_pic_GCJ
='-KPIC'
15833 lt_prog_compiler_static_GCJ
='-static'
15835 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15836 # Portland Group compilers (*not* the Pentium gcc compiler,
15837 # which looks to be a dead project)
15838 lt_prog_compiler_wl_GCJ
='-Wl,'
15839 lt_prog_compiler_pic_GCJ
='-fpic'
15840 lt_prog_compiler_static_GCJ
='-Bstatic'
15843 lt_prog_compiler_wl_GCJ
='-Wl,'
15844 # All Alpha code is PIC.
15845 lt_prog_compiler_static_GCJ
='-non_shared'
15850 osf3
* | osf4
* | osf5
*)
15851 lt_prog_compiler_wl_GCJ
='-Wl,'
15852 # All OSF/1 code is PIC.
15853 lt_prog_compiler_static_GCJ
='-non_shared'
15857 lt_prog_compiler_pic_GCJ
='-KPIC'
15858 lt_prog_compiler_static_GCJ
='-Bstatic'
15859 case $cc_basename in
15860 f77
* | f90
* | f95
*)
15861 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15863 lt_prog_compiler_wl_GCJ
='-Wl,';;
15868 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15869 lt_prog_compiler_pic_GCJ
='-PIC'
15870 lt_prog_compiler_static_GCJ
='-Bstatic'
15873 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15874 lt_prog_compiler_wl_GCJ
='-Wl,'
15875 lt_prog_compiler_pic_GCJ
='-KPIC'
15876 lt_prog_compiler_static_GCJ
='-Bstatic'
15880 if test -d /usr
/nec
;then
15881 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15882 lt_prog_compiler_static_GCJ
='-Bstatic'
15886 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15887 lt_prog_compiler_wl_GCJ
='-Wl,'
15888 lt_prog_compiler_pic_GCJ
='-KPIC'
15889 lt_prog_compiler_static_GCJ
='-Bstatic'
15893 lt_prog_compiler_wl_GCJ
='-Wl,'
15894 lt_prog_compiler_can_build_shared_GCJ
=no
15898 lt_prog_compiler_pic_GCJ
='-pic'
15899 lt_prog_compiler_static_GCJ
='-Bstatic'
15903 lt_prog_compiler_can_build_shared_GCJ
=no
15908 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15909 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15912 # Check to make sure the PIC flag actually works.
15914 if test -n "$lt_prog_compiler_pic_GCJ"; then
15916 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15917 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15918 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15921 lt_prog_compiler_pic_works_GCJ
=no
15922 ac_outfile
=conftest.
$ac_objext
15923 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15924 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15925 # Insert the option either (1) after the last *FLAGS variable, or
15926 # (2) before a word containing "conftest.", or (3) at the end.
15927 # Note that $ac_compile itself does not contain backslashes and begins
15928 # with a dollar sign (not a hyphen), so the echo should work correctly.
15929 # The option is referenced via a variable to avoid confusing sed.
15930 lt_compile
=`echo "$ac_compile" | $SED \
15931 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15932 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15933 -e 's:$: $lt_compiler_flag:'`
15934 (eval echo "\"\$as_me:15934: $lt_compile\"" >&5)
15935 (eval "$lt_compile" 2>conftest.err
)
15937 cat conftest.err
>&5
15938 echo "$as_me:15938: \$? = $ac_status" >&5
15939 if (exit $ac_status) && test -s "$ac_outfile"; then
15940 # The compiler can only warn and ignore the option if not recognized
15941 # So say no if there are warnings other than the usual output.
15942 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15943 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15944 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15945 lt_prog_compiler_pic_works_GCJ
=yes
15951 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15952 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15954 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15955 case $lt_prog_compiler_pic_GCJ in
15957 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15960 lt_prog_compiler_pic_GCJ
=
15961 lt_prog_compiler_can_build_shared_GCJ
=no
15966 # For platforms which do not support PIC, -DPIC is meaningless:
15968 lt_prog_compiler_pic_GCJ
=
15971 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15976 # Check to make sure the static flag actually works.
15978 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
15979 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15980 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15981 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15982 echo $ECHO_N "(cached) $ECHO_C" >&6
15984 lt_prog_compiler_static_works_GCJ
=no
15985 save_LDFLAGS
="$LDFLAGS"
15986 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15987 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15988 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15989 # The linker can only warn and ignore the option if not recognized
15990 # So say no if there are warnings
15991 if test -s conftest.err
; then
15992 # Append any errors to the config.log.
15993 cat conftest.err
1>&5
15994 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15995 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15996 if diff conftest.exp conftest.er2
>/dev
/null
; then
15997 lt_prog_compiler_static_works_GCJ
=yes
16000 lt_prog_compiler_static_works_GCJ
=yes
16004 LDFLAGS
="$save_LDFLAGS"
16007 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16008 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16010 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16013 lt_prog_compiler_static_GCJ
=
16017 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16018 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16019 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16020 echo $ECHO_N "(cached) $ECHO_C" >&6
16022 lt_cv_prog_compiler_c_o_GCJ
=no
16023 $rm -r conftest
2>/dev
/null
16027 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16029 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16030 # Insert the option either (1) after the last *FLAGS variable, or
16031 # (2) before a word containing "conftest.", or (3) at the end.
16032 # Note that $ac_compile itself does not contain backslashes and begins
16033 # with a dollar sign (not a hyphen), so the echo should work correctly.
16034 lt_compile
=`echo "$ac_compile" | $SED \
16035 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16036 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16037 -e 's:$: $lt_compiler_flag:'`
16038 (eval echo "\"\$as_me:16038: $lt_compile\"" >&5)
16039 (eval "$lt_compile" 2>out
/conftest.err
)
16041 cat out
/conftest.err
>&5
16042 echo "$as_me:16042: \$? = $ac_status" >&5
16043 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16045 # The compiler can only warn and ignore the option if not recognized
16046 # So say no if there are warnings
16047 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16048 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16049 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16050 lt_cv_prog_compiler_c_o_GCJ
=yes
16055 # SGI C++ compiler will create directory out/ii_files/ for
16056 # template instantiation
16057 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16058 $rm out
/* && rmdir out
16064 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16065 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16068 hard_links
="nottested"
16069 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16070 # do not overwrite the value of need_locks provided by the user
16071 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16072 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16075 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16077 ln conftest.a conftest.b
2>&5 || hard_links
=no
16078 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16079 echo "$as_me:$LINENO: result: $hard_links" >&5
16080 echo "${ECHO_T}$hard_links" >&6
16081 if test "$hard_links" = no
; then
16082 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16083 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16090 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16091 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16094 allow_undefined_flag_GCJ
=
16095 enable_shared_with_static_runtimes_GCJ
=no
16097 archive_expsym_cmds_GCJ
=
16098 old_archive_From_new_cmds_GCJ
=
16099 old_archive_from_expsyms_cmds_GCJ
=
16100 export_dynamic_flag_spec_GCJ
=
16101 whole_archive_flag_spec_GCJ
=
16102 thread_safe_flag_spec_GCJ
=
16103 hardcode_libdir_flag_spec_GCJ
=
16104 hardcode_libdir_flag_spec_ld_GCJ
=
16105 hardcode_libdir_separator_GCJ
=
16106 hardcode_direct_GCJ
=no
16107 hardcode_minus_L_GCJ
=no
16108 hardcode_shlibpath_var_GCJ
=unsupported
16109 link_all_deplibs_GCJ
=unknown
16110 hardcode_automatic_GCJ
=no
16112 module_expsym_cmds_GCJ
=
16113 always_export_symbols_GCJ
=no
16114 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16115 # include_expsyms should be a list of space-separated symbols to be *always*
16116 # included in the symbol list
16117 include_expsyms_GCJ
=
16118 # exclude_expsyms can be an extended regexp of symbols to exclude
16119 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16120 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16121 # as well as any symbol that contains `d'.
16122 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16123 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16124 # platforms (ab)use it in PIC code, but their linkers get confused if
16125 # the symbol is explicitly referenced. Since portable code cannot
16126 # rely on this symbol name, it's probably fine to never include it in
16127 # preloaded symbol tables.
16128 extract_expsyms_cmds
=
16129 # Just being paranoid about ensuring that cc_basename is set.
16130 for cc_temp
in $compiler""; do
16132 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16133 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16138 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16141 cygwin
* | mingw
* | pw32
*)
16142 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16143 # When not using gcc, we currently assume that we are using
16144 # Microsoft Visual C++.
16145 if test "$GCC" != yes; then
16150 # we just hope/assume this is gcc and not c89 (= MSVC++)
16159 if test "$with_gnu_ld" = yes; then
16160 # If archive_cmds runs LD, not CC, wlarc should be empty
16163 # Set some defaults for GNU ld with shared library support. These
16164 # are reset later if shared libraries are not supported. Putting them
16165 # here allows them to be overridden if necessary.
16166 runpath_var
=LD_RUN_PATH
16167 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16168 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16169 # ancient GNU ld didn't support --whole-archive et. al.
16170 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16171 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16173 whole_archive_flag_spec_GCJ
=
16175 supports_anon_versioning
=no
16176 case `$LD -v 2>/dev/null` in
16177 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16178 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16179 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16180 *\
2.11.
*) ;; # other 2.11 versions
16181 *) supports_anon_versioning
=yes ;;
16184 # See if GNU ld supports shared libraries.
16186 aix3
* | aix4
* | aix5
*)
16187 # On AIX/PPC, the GNU linker is very broken
16188 if test "$host_cpu" != ia64
; then
16192 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16193 *** to be unable to reliably create shared libraries on AIX.
16194 *** Therefore, libtool is disabling shared libraries support. If you
16195 *** really care for shared libraries, you may want to modify your PATH
16196 *** so that a non-GNU linker is found, and then restart.
16203 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)'
16204 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16205 hardcode_minus_L_GCJ
=yes
16207 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16208 # that the semantics of dynamic libraries on AmigaOS, at least up
16209 # to version 4, is to share data among multiple programs linked
16210 # with the same dynamic library. Since this doesn't match the
16211 # behavior of shared libraries on other platforms, we can't use
16217 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16218 allow_undefined_flag_GCJ
=unsupported
16219 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16220 # support --undefined. This deserves some investigation. FIXME
16221 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16227 cygwin
* | mingw
* | pw32
*)
16228 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16229 # as there is no search path for DLLs.
16230 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16231 allow_undefined_flag_GCJ
=unsupported
16232 always_export_symbols_GCJ
=no
16233 enable_shared_with_static_runtimes_GCJ
=yes
16234 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16236 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16237 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16238 # If the export-symbols file already is a .def file (1st line
16239 # is EXPORTS), use it as is; otherwise, prepend...
16240 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16241 cp $export_symbols $output_objdir/$soname.def;
16243 echo EXPORTS > $output_objdir/$soname.def;
16244 cat $export_symbols >> $output_objdir/$soname.def;
16246 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16253 hardcode_direct_GCJ
=no
16254 hardcode_shlibpath_var_GCJ
=no
16255 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16256 export_dynamic_flag_spec_GCJ
='${wl}-E'
16257 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16258 # Instead, shared libraries are loaded at an image base (0x10000000 by
16259 # default) and relocated if they conflict, which is a slow very memory
16260 # consuming and fragmenting process. To avoid this, we pick a random,
16261 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16262 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16263 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16264 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16268 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16270 case $cc_basename,$host_cpu in
16271 pgcc
*) # Portland Group C compiler
16272 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16273 tmp_addflag
=' $pic_flag'
16275 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16276 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16277 tmp_addflag
=' $pic_flag -Mnomain' ;;
16278 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16279 tmp_addflag
=' -i_dynamic' ;;
16280 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16281 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16282 ifc
* | ifort
*) # Intel Fortran compiler
16283 tmp_addflag
=' -nofor_main' ;;
16285 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16287 if test $supports_anon_versioning = yes; then
16288 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16289 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16290 $echo "local: *; };" >> $output_objdir/$libname.ver~
16291 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16299 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16300 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16303 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16304 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16309 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16313 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16314 *** create shared libraries on Solaris systems. Therefore, libtool
16315 *** is disabling shared libraries support. We urge you to upgrade GNU
16316 *** binutils to release 2.9.1 or newer. Another option is to modify
16317 *** your PATH or compiler configuration so that the native linker is
16318 *** used, and then restart.
16321 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16322 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16323 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16329 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16330 case `$LD -v 2>&1` in
16331 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16335 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16336 *** reliably create shared libraries on SCO systems. Therefore, libtool
16337 *** is disabling shared libraries support. We urge you to upgrade GNU
16338 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16339 *** your PATH or compiler configuration so that the native linker is
16340 *** used, and then restart.
16345 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16346 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16347 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16348 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16357 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16359 hardcode_direct_GCJ
=yes
16360 hardcode_shlibpath_var_GCJ
=no
16364 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16365 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16366 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16373 if test "$ld_shlibs_GCJ" = no
; then
16375 hardcode_libdir_flag_spec_GCJ
=
16376 export_dynamic_flag_spec_GCJ
=
16377 whole_archive_flag_spec_GCJ
=
16380 # PORTME fill in a description of your system's linker (not GNU ld)
16383 allow_undefined_flag_GCJ
=unsupported
16384 always_export_symbols_GCJ
=yes
16385 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'
16386 # Note: this linker hardcodes the directories in LIBPATH if there
16387 # are no directories specified by -L.
16388 hardcode_minus_L_GCJ
=yes
16389 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16390 # Neither direct hardcoding nor static linking is supported with a
16392 hardcode_direct_GCJ
=unsupported
16397 if test "$host_cpu" = ia64
; then
16398 # On IA64, the linker does run time linking by default, so we don't
16399 # have to do anything special.
16400 aix_use_runtimelinking
=no
16401 exp_sym_flag
='-Bexport'
16404 # If we're using GNU nm, then we don't want the "-C" option.
16405 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16406 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16407 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'
16409 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'
16411 aix_use_runtimelinking
=no
16413 # Test if we are trying to use run time linking or normal
16414 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16415 # need to do runtime linking.
16416 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16417 for ld_flag
in $LDFLAGS; do
16418 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16419 aix_use_runtimelinking
=yes
16426 exp_sym_flag
='-bexport'
16427 no_entry_flag
='-bnoentry'
16430 # When large executables or shared objects are built, AIX ld can
16431 # have problems creating the table of contents. If linking a library
16432 # or program results in "error TOC overflow" add -mminimal-toc to
16433 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16434 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16436 archive_cmds_GCJ
=''
16437 hardcode_direct_GCJ
=yes
16438 hardcode_libdir_separator_GCJ
=':'
16439 link_all_deplibs_GCJ
=yes
16441 if test "$GCC" = yes; then
16442 case $host_os in aix4.
[012]|aix4.
[012].
*)
16443 # We only want to do this on AIX 4.2 and lower, the check
16444 # below for broken collect2 doesn't work under 4.3+
16445 collect2name
=`${CC} -print-prog-name=collect2`
16446 if test -f "$collect2name" && \
16447 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16449 # We have reworked collect2
16450 hardcode_direct_GCJ
=yes
16452 # We have old collect2
16453 hardcode_direct_GCJ
=unsupported
16454 # It fails to find uninstalled libraries when the uninstalled
16455 # path is not listed in the libpath. Setting hardcode_minus_L
16456 # to unsupported forces relinking
16457 hardcode_minus_L_GCJ
=yes
16458 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16459 hardcode_libdir_separator_GCJ
=
16463 shared_flag
='-shared'
16464 if test "$aix_use_runtimelinking" = yes; then
16465 shared_flag
="$shared_flag "'${wl}-G'
16469 if test "$host_cpu" = ia64
; then
16470 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16471 # chokes on -Wl,-G. The following line is correct:
16474 if test "$aix_use_runtimelinking" = yes; then
16475 shared_flag
='${wl}-G'
16477 shared_flag
='${wl}-bM:SRE'
16482 # It seems that -bexpall does not export symbols beginning with
16483 # underscore (_), so it is better to generate a list of symbols to export.
16484 always_export_symbols_GCJ
=yes
16485 if test "$aix_use_runtimelinking" = yes; then
16486 # Warning - without using the other runtime loading flags (-brtl),
16487 # -berok will link without error, but may produce a broken library.
16488 allow_undefined_flag_GCJ
='-berok'
16489 # Determine the default libpath from the value encoded in an empty executable.
16490 cat >conftest.
$ac_ext <<_ACEOF
16493 cat confdefs.h
>>conftest.
$ac_ext
16494 cat >>conftest.
$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16505 rm -f conftest.
$ac_objext conftest
$ac_exeext
16506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16507 (eval $ac_link) 2>conftest.er1
16509 grep -v '^ *+' conftest.er1
>conftest.err
16511 cat conftest.err
>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); } &&
16514 { ac_try
='test -z "$ac_c_werror_flag"
16515 || test ! -s conftest.err'
16516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16517 (eval $ac_try) 2>&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); }; } &&
16521 { ac_try
='test -s conftest$ac_exeext'
16522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16523 (eval $ac_try) 2>&5
16525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16526 (exit $ac_status); }; }; then
16528 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16530 # Check for a 64-bit object if we didn't find anything.
16531 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; }
16534 echo "$as_me: failed program was:" >&5
16535 sed 's/^/| /' conftest.
$ac_ext >&5
16538 rm -f conftest.err conftest.
$ac_objext \
16539 conftest
$ac_exeext conftest.
$ac_ext
16540 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16542 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16543 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16545 if test "$host_cpu" = ia64
; then
16546 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16547 allow_undefined_flag_GCJ
="-z nodefs"
16548 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16550 # Determine the default libpath from the value encoded in an empty executable.
16551 cat >conftest.
$ac_ext <<_ACEOF
16554 cat confdefs.h
>>conftest.
$ac_ext
16555 cat >>conftest.
$ac_ext <<_ACEOF
16556 /* end confdefs.h. */
16566 rm -f conftest.
$ac_objext conftest
$ac_exeext
16567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16568 (eval $ac_link) 2>conftest.er1
16570 grep -v '^ *+' conftest.er1
>conftest.err
16572 cat conftest.err
>&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } &&
16575 { ac_try
='test -z "$ac_c_werror_flag"
16576 || test ! -s conftest.err'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; } &&
16582 { ac_try
='test -s conftest$ac_exeext'
16583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16584 (eval $ac_try) 2>&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16589 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16591 # Check for a 64-bit object if we didn't find anything.
16592 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; }
16595 echo "$as_me: failed program was:" >&5
16596 sed 's/^/| /' conftest.
$ac_ext >&5
16599 rm -f conftest.err conftest.
$ac_objext \
16600 conftest
$ac_exeext conftest.
$ac_ext
16601 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16603 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16604 # Warning - without using the other run time loading flags,
16605 # -berok will link without error, but may produce a broken library.
16606 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16607 allow_undefined_flag_GCJ
=' ${wl}-berok'
16608 # Exported symbols can be pulled into shared objects from archives
16609 whole_archive_flag_spec_GCJ
='$convenience'
16610 archive_cmds_need_lc_GCJ
=yes
16611 # This is similar to how AIX traditionally builds its shared libraries.
16612 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16618 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)'
16619 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16620 hardcode_minus_L_GCJ
=yes
16621 # see comment about different semantics on the GNU ld section
16626 export_dynamic_flag_spec_GCJ
=-rdynamic
16629 cygwin
* | mingw
* | pw32
*)
16630 # When not using gcc, we currently assume that we are using
16631 # Microsoft Visual C++.
16632 # hardcode_libdir_flag_spec is actually meaningless, as there is
16633 # no search path for DLLs.
16634 hardcode_libdir_flag_spec_GCJ
=' '
16635 allow_undefined_flag_GCJ
=unsupported
16636 # Tell ltmain to make .lib files, not .a files.
16638 # Tell ltmain to make .dll files, not .so files.
16640 # FIXME: Setting linknames here is a bad hack.
16641 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16642 # The linker will automatically build a .lib file if we build a DLL.
16643 old_archive_From_new_cmds_GCJ
='true'
16644 # FIXME: Should let the user specify the lib program.
16645 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16646 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16647 enable_shared_with_static_runtimes_GCJ
=yes
16650 darwin
* | rhapsody
*)
16652 rhapsody
* | darwin1.
[012])
16653 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16656 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16657 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16659 case ${MACOSX_DEPLOYMENT_TARGET} in
16661 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16664 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16670 archive_cmds_need_lc_GCJ
=no
16671 hardcode_direct_GCJ
=no
16672 hardcode_automatic_GCJ
=yes
16673 hardcode_shlibpath_var_GCJ
=unsupported
16674 whole_archive_flag_spec_GCJ
=''
16675 link_all_deplibs_GCJ
=yes
16676 if test "$GCC" = yes ; then
16677 output_verbose_link_cmd
='echo'
16678 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16679 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16680 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16681 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}'
16682 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}'
16684 case $cc_basename in
16686 output_verbose_link_cmd
='echo'
16687 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16688 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16689 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16690 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}'
16691 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}'
16701 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16702 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16703 hardcode_shlibpath_var_GCJ
=no
16710 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16711 # support. Future versions do this automatically, but an explicit c++rt0.o
16712 # does not break anything, and helps significantly (at the cost of a little
16715 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16716 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16717 hardcode_direct_GCJ
=yes
16718 hardcode_shlibpath_var_GCJ
=no
16721 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16723 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16724 hardcode_direct_GCJ
=yes
16725 hardcode_minus_L_GCJ
=yes
16726 hardcode_shlibpath_var_GCJ
=no
16729 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16730 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16731 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16732 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16733 hardcode_direct_GCJ
=yes
16734 hardcode_shlibpath_var_GCJ
=no
16738 if test "$GCC" = yes; then
16739 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'
16741 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'
16743 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16744 hardcode_libdir_separator_GCJ
=:
16745 hardcode_direct_GCJ
=yes
16747 # hardcode_minus_L: Not really in the search PATH,
16748 # but as the default location of the library.
16749 hardcode_minus_L_GCJ
=yes
16750 export_dynamic_flag_spec_GCJ
='${wl}-E'
16754 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16755 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16757 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16759 if test "$with_gnu_ld" = no
; then
16760 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16761 hardcode_libdir_separator_GCJ
=:
16763 hardcode_direct_GCJ
=yes
16764 export_dynamic_flag_spec_GCJ
='${wl}-E'
16766 # hardcode_minus_L: Not really in the search PATH,
16767 # but as the default location of the library.
16768 hardcode_minus_L_GCJ
=yes
16773 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16776 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16779 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16782 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16788 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16791 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16794 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16798 if test "$with_gnu_ld" = no
; then
16799 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16800 hardcode_libdir_separator_GCJ
=:
16804 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16805 hardcode_direct_GCJ
=no
16806 hardcode_shlibpath_var_GCJ
=no
16809 hardcode_direct_GCJ
=yes
16810 export_dynamic_flag_spec_GCJ
='${wl}-E'
16812 # hardcode_minus_L: Not really in the search PATH,
16813 # but as the default location of the library.
16814 hardcode_minus_L_GCJ
=yes
16820 irix5
* | irix6
* | nonstopux
*)
16821 if test "$GCC" = yes; then
16822 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'
16824 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'
16825 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16827 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16828 hardcode_libdir_separator_GCJ
=:
16829 link_all_deplibs_GCJ
=yes
16833 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16834 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16836 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16838 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16839 hardcode_direct_GCJ
=yes
16840 hardcode_shlibpath_var_GCJ
=no
16844 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16845 hardcode_direct_GCJ
=yes
16846 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16847 hardcode_libdir_separator_GCJ
=:
16848 hardcode_shlibpath_var_GCJ
=no
16852 hardcode_direct_GCJ
=yes
16853 hardcode_shlibpath_var_GCJ
=no
16854 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16855 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16856 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16857 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16858 export_dynamic_flag_spec_GCJ
='${wl}-E'
16861 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16862 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16863 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16866 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16867 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16874 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16875 hardcode_minus_L_GCJ
=yes
16876 allow_undefined_flag_GCJ
=unsupported
16877 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'
16878 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16882 if test "$GCC" = yes; then
16883 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16884 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'
16886 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16887 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'
16889 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16890 hardcode_libdir_separator_GCJ
=:
16893 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16894 if test "$GCC" = yes; then
16895 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16896 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'
16897 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16899 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16900 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'
16901 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~
16902 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16904 # Both c and cxx compiler support -rpath directly
16905 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16907 hardcode_libdir_separator_GCJ
=:
16911 no_undefined_flag_GCJ
=' -z text'
16912 if test "$GCC" = yes; then
16914 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16915 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16916 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16919 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16920 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16921 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16923 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16924 hardcode_shlibpath_var_GCJ
=no
16926 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16928 # The compiler driver will combine linker options so we
16929 # cannot just pass the convience library names through
16930 # without $wl, iff we do not link with $LD.
16931 # Luckily, gcc supports the same syntax we need for Sun Studio.
16932 # Supported since Solaris 2.6 (maybe 2.5.1?)
16935 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16937 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16940 link_all_deplibs_GCJ
=yes
16944 if test "x$host_vendor" = xsequent
; then
16945 # Use $CC to link under sequent, because it throws in some extra .o
16946 # files that make .init and .fini sections work.
16947 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16949 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16951 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16952 hardcode_direct_GCJ
=yes
16953 hardcode_minus_L_GCJ
=yes
16954 hardcode_shlibpath_var_GCJ
=no
16958 case $host_vendor in
16960 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16961 hardcode_direct_GCJ
=yes # is this really true???
16964 ## LD is ld it makes a PLAMLIB
16965 ## CC just makes a GrossModule.
16966 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16967 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16968 hardcode_direct_GCJ
=no
16971 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16972 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16975 runpath_var
='LD_RUN_PATH'
16976 hardcode_shlibpath_var_GCJ
=no
16980 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16981 hardcode_shlibpath_var_GCJ
=no
16982 export_dynamic_flag_spec_GCJ
='-Bexport'
16986 if test -d /usr
/nec
; then
16987 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16988 hardcode_shlibpath_var_GCJ
=no
16989 runpath_var
=LD_RUN_PATH
16990 hardcode_runpath_var
=yes
16995 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16996 no_undefined_flag_GCJ
='${wl}-z,text'
16997 archive_cmds_need_lc_GCJ
=no
16998 hardcode_shlibpath_var_GCJ
=no
16999 runpath_var
='LD_RUN_PATH'
17001 if test "$GCC" = yes; then
17002 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17003 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17005 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17006 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17010 sysv5
* | sco3.2v5
* | sco5v6
*)
17011 # Note: We can NOT use -z defs as we might desire, because we do not
17012 # link with -lc, and that would cause any symbols used from libc to
17013 # always be unresolved, which means just about no library would
17014 # ever link correctly. If we're not using GNU ld we use -z text
17015 # though, which does catch some bad symbols but isn't as heavy-handed
17017 no_undefined_flag_GCJ
='${wl}-z,text'
17018 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17019 archive_cmds_need_lc_GCJ
=no
17020 hardcode_shlibpath_var_GCJ
=no
17021 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17022 hardcode_libdir_separator_GCJ
=':'
17023 link_all_deplibs_GCJ
=yes
17024 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17025 runpath_var
='LD_RUN_PATH'
17027 if test "$GCC" = yes; then
17028 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17029 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17031 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17032 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17037 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17038 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17039 hardcode_shlibpath_var_GCJ
=no
17048 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17049 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17050 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17053 # Do we need to explicitly link libc?
17055 case "x$archive_cmds_need_lc_GCJ" in
17057 # Assume -lc should be added
17058 archive_cmds_need_lc_GCJ
=yes
17060 if test "$enable_shared" = yes && test "$GCC" = yes; then
17061 case $archive_cmds_GCJ in
17063 # FIXME: we may have to deal with multi-command sequences.
17066 # Test whether the compiler implicitly links with -lc since on some
17067 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17068 # to ld, don't add -lc before -lgcc.
17069 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17070 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17072 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17075 (eval $ac_compile) 2>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } 2>conftest.err
; then
17081 libobjs
=conftest.
$ac_objext
17083 wl
=$lt_prog_compiler_wl_GCJ
17084 pic_flag
=$lt_prog_compiler_pic_GCJ
17090 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17091 allow_undefined_flag_GCJ
=
17092 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17093 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); }
17098 archive_cmds_need_lc_GCJ
=no
17100 archive_cmds_need_lc_GCJ
=yes
17102 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17104 cat conftest.err
1>&5
17107 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17108 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17115 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17116 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17117 library_names_spec
=
17118 libname_spec
='lib$name'
17122 postuninstall_cmds
=
17126 shlibpath_overrides_runpath
=unknown
17128 dynamic_linker
="$host_os ld.so"
17129 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17130 if test "$GCC" = yes; then
17131 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17132 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17133 # if the path contains ";" then we assume it to be the separator
17134 # otherwise default to the standard path separator (i.e. ":") - it is
17135 # assumed that no part of a normal pathname contains ";" but that should
17136 # okay in the real world where ";" in dirpaths is itself problematic.
17137 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17139 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17142 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17144 need_lib_prefix
=unknown
17145 hardcode_into_libs
=no
17147 # when you set need_version to no, make sure it does not cause -set_version
17148 # flags to be left without arguments
17149 need_version
=unknown
17154 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17155 shlibpath_var
=LIBPATH
17157 # AIX 3 has no versioning support, so we append a major version to the name.
17158 soname_spec
='${libname}${release}${shared_ext}$major'
17165 hardcode_into_libs
=yes
17166 if test "$host_cpu" = ia64
; then
17167 # AIX 5 supports IA64
17168 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17169 shlibpath_var
=LD_LIBRARY_PATH
17171 # With GCC up to 2.95.x, collect2 would create an import file
17172 # for dependence libraries. The import file would start with
17173 # the line `#! .'. This would cause the generated library to
17174 # depend on `.', always an invalid library. This was fixed in
17175 # development snapshots of GCC prior to 3.0.
17177 aix4 | aix4.
[01] | aix4.
[01].
*)
17178 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17180 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17183 can_build_shared
=no
17187 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17188 # soname into executable. Probably we can add versioning support to
17189 # collect2, so additional links can be useful in future.
17190 if test "$aix_use_runtimelinking" = yes; then
17191 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17192 # instead of lib<name>.a to let people know that these are not
17193 # typical AIX shared libraries.
17194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17196 # We preserve .a as extension for shared libraries through AIX4.2
17197 # and later when we are not doing run time linking.
17198 library_names_spec
='${libname}${release}.a $libname.a'
17199 soname_spec
='${libname}${release}${shared_ext}$major'
17201 shlibpath_var
=LIBPATH
17206 library_names_spec
='$libname.ixlibrary $libname.a'
17207 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17208 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'
17212 library_names_spec
='${libname}${shared_ext}'
17213 dynamic_linker
="$host_os ld.so"
17214 shlibpath_var
=LIBRARY_PATH
17220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17221 soname_spec
='${libname}${release}${shared_ext}$major'
17222 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17223 shlibpath_var
=LD_LIBRARY_PATH
17224 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17225 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17226 # the default ld.so.conf also contains /usr/contrib/lib and
17227 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17228 # libtool to hard-code these into programs
17231 cygwin
* | mingw
* | pw32
*)
17232 version_type
=windows
17237 case $GCC,$host_os in
17238 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17239 library_names_spec
='$libname.dll.a'
17240 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17241 postinstall_cmds
='base_file=`basename \${file}`~
17242 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17243 dldir=$destdir/`dirname \$dlpath`~
17244 test -d \$dldir || mkdir -p \$dldir~
17245 $install_prog $dir/$dlname \$dldir/$dlname~
17246 chmod a+x \$dldir/$dlname'
17247 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17248 dlpath=$dir/\$dldll~
17250 shlibpath_overrides_runpath
=yes
17254 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17255 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17256 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17259 # MinGW DLLs use traditional 'lib' prefix
17260 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17261 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17262 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17263 # It is most probably a Windows format PATH printed by
17264 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17265 # path with ; separators, and with drive letters. We can handle the
17266 # drive letters (cygwin fileutils understands them), so leave them,
17267 # especially as we might pass files found there to a mingw objdump,
17268 # which wouldn't understand a cygwinified path. Ahh.
17269 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17271 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17275 # pw32 DLLs use 'pw' prefix rather than 'lib'
17276 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17282 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17285 dynamic_linker
='Win32 ld.exe'
17286 # FIXME: first we should search . and the directory the executable is in
17290 darwin
* | rhapsody
*)
17291 dynamic_linker
="$host_os dyld"
17292 version_type
=darwin
17295 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17296 soname_spec
='${libname}${release}${major}$shared_ext'
17297 shlibpath_overrides_runpath
=yes
17298 shlibpath_var
=DYLD_LIBRARY_PATH
17299 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17300 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17301 if test "$GCC" = yes; then
17302 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"`
17304 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17306 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17314 soname_spec
='${libname}${release}${shared_ext}$major'
17315 shlibpath_var
=LD_LIBRARY_PATH
17326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17327 soname_spec
='${libname}${release}${shared_ext}$major'
17328 shlibpath_var
=LD_LIBRARY_PATH
17329 shlibpath_overrides_runpath
=no
17330 hardcode_into_libs
=yes
17331 dynamic_linker
='GNU ld.so'
17334 freebsd
* | dragonfly
*)
17335 # DragonFly does not have aout. When/if they implement a new
17336 # versioning mechanism, adjust this.
17337 if test -x /usr
/bin
/objformat
; then
17338 objformat
=`/usr/bin/objformat`
17341 freebsd
[123]*) objformat
=aout
;;
17342 *) objformat
=elf
;;
17345 version_type
=freebsd-
$objformat
17346 case $version_type in
17348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17353 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17357 shlibpath_var
=LD_LIBRARY_PATH
17360 shlibpath_overrides_runpath
=yes
17362 freebsd3.
[01]* | freebsdelf3.
[01]*)
17363 shlibpath_overrides_runpath
=yes
17364 hardcode_into_libs
=yes
17366 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17367 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17368 shlibpath_overrides_runpath
=no
17369 hardcode_into_libs
=yes
17371 freebsd
*) # from 4.6 on
17372 shlibpath_overrides_runpath
=yes
17373 hardcode_into_libs
=yes
17382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17383 soname_spec
='${libname}${release}${shared_ext}$major'
17384 shlibpath_var
=LD_LIBRARY_PATH
17385 hardcode_into_libs
=yes
17388 hpux9
* | hpux10
* | hpux11
*)
17389 # Give a soname corresponding to the major version so that dld.sl refuses to
17390 # link against other versions.
17397 hardcode_into_libs
=yes
17398 dynamic_linker
="$host_os dld.so"
17399 shlibpath_var
=LD_LIBRARY_PATH
17400 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17402 soname_spec
='${libname}${release}${shared_ext}$major'
17403 if test "X$HPUX_IA64_MODE" = X32
; then
17404 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17406 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17408 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17412 hardcode_into_libs
=yes
17413 dynamic_linker
="$host_os dld.sl"
17414 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17415 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17417 soname_spec
='${libname}${release}${shared_ext}$major'
17418 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17419 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17423 dynamic_linker
="$host_os dld.sl"
17424 shlibpath_var
=SHLIB_PATH
17425 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17427 soname_spec
='${libname}${release}${shared_ext}$major'
17430 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17431 postinstall_cmds
='chmod 555 $lib'
17438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17439 soname_spec
='${libname}${release}${shared_ext}$major'
17440 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17441 shlibpath_var
=LD_LIBRARY_PATH
17442 shlibpath_overrides_runpath
=no
17443 hardcode_into_libs
=yes
17446 irix5
* | irix6
* | nonstopux
*)
17448 nonstopux
*) version_type
=nonstopux
;;
17450 if test "$lt_cv_prog_gnu_ld" = yes; then
17458 soname_spec
='${libname}${release}${shared_ext}$major'
17459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17461 irix5
* | nonstopux
*)
17462 libsuff
= shlibsuff
=
17465 case $LD in # libtool.m4 will add one of these switches to LD
17466 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17467 libsuff
= shlibsuff
= libmagic
=32-bit;;
17468 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17469 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17470 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17471 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17472 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17476 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17477 shlibpath_overrides_runpath
=no
17478 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17479 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17480 hardcode_into_libs
=yes
17483 # No shared lib support for Linux oldld, aout, or coff.
17484 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17488 # This must be Linux ELF.
17493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17494 soname_spec
='${libname}${release}${shared_ext}$major'
17495 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17496 shlibpath_var
=LD_LIBRARY_PATH
17497 shlibpath_overrides_runpath
=no
17498 # This implies no fast_install, which is unacceptable.
17499 # Some rework will be needed to allow for fast_install
17500 # before this can be enabled.
17501 hardcode_into_libs
=yes
17503 # find out which ABI we are using
17505 case "$host_cpu" in
17506 x86_64
*|s390x
*|powerpc64
*)
17507 echo '#line 17507 "configure"' > conftest.
$ac_ext
17508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17509 (eval $ac_compile) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; then
17513 case `/usr/bin/file conftest.$ac_objext` in
17516 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17524 # Append ld.so.conf contents to the search path
17525 if test -f /etc
/ld.so.conf
; then
17526 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17527 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17530 # We used to test for /lib/ld.so.1 and disable shared libraries on
17531 # powerpc, because MkLinux only supported shared libraries with the
17532 # GNU dynamic linker. Since this was broken with cross compilers,
17533 # most powerpc-linux boxes support dynamic linking these days and
17534 # people can always --disable-shared, the test was removed, and we
17535 # assume the GNU/Linux dynamic linker is in use.
17536 dynamic_linker
='GNU/Linux ld.so'
17543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17544 soname_spec
='${libname}${release}${shared_ext}$major'
17545 shlibpath_var
=LD_LIBRARY_PATH
17546 shlibpath_overrides_runpath
=no
17547 hardcode_into_libs
=yes
17548 dynamic_linker
='GNU ld.so'
17555 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17557 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17558 dynamic_linker
='NetBSD (a.out) ld.so'
17560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17561 soname_spec
='${libname}${release}${shared_ext}$major'
17562 dynamic_linker
='NetBSD ld.elf_so'
17564 shlibpath_var
=LD_LIBRARY_PATH
17565 shlibpath_overrides_runpath
=yes
17566 hardcode_into_libs
=yes
17571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17572 shlibpath_var
=LD_LIBRARY_PATH
17573 shlibpath_overrides_runpath
=yes
17580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17581 soname_spec
='${libname}${release}${shared_ext}$major'
17582 shlibpath_var
=LD_LIBRARY_PATH
17583 shlibpath_overrides_runpath
=yes
17588 sys_lib_dlsearch_path_spec
="/usr/lib"
17590 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17592 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17593 *) need_version
=no
;;
17595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17596 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17597 shlibpath_var
=LD_LIBRARY_PATH
17598 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17600 openbsd2.
[89] | openbsd2.
[89].
*)
17601 shlibpath_overrides_runpath
=no
17604 shlibpath_overrides_runpath
=yes
17608 shlibpath_overrides_runpath
=yes
17613 libname_spec
='$name'
17616 library_names_spec
='$libname${shared_ext} $libname.a'
17617 dynamic_linker
='OS/2 ld.exe'
17618 shlibpath_var
=LIBPATH
17621 osf3
* | osf4
* | osf5
*)
17625 soname_spec
='${libname}${release}${shared_ext}$major'
17626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17627 shlibpath_var
=LD_LIBRARY_PATH
17628 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17629 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17637 soname_spec
='${libname}${release}${shared_ext}$major'
17638 shlibpath_var
=LD_LIBRARY_PATH
17639 shlibpath_overrides_runpath
=yes
17640 hardcode_into_libs
=yes
17641 # ldd complains unless libraries are executable
17642 postinstall_cmds
='chmod +x $lib'
17647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17648 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17649 shlibpath_var
=LD_LIBRARY_PATH
17650 shlibpath_overrides_runpath
=yes
17651 if test "$with_gnu_ld" = yes; then
17659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17660 soname_spec
='${libname}${release}${shared_ext}$major'
17661 shlibpath_var
=LD_LIBRARY_PATH
17662 case $host_vendor in
17664 shlibpath_overrides_runpath
=no
17666 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17667 runpath_var
=LD_RUN_PATH
17675 shlibpath_overrides_runpath
=no
17676 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17682 if test -d /usr
/nec
;then
17684 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17685 soname_spec
='$libname${shared_ext}.$major'
17686 shlibpath_var
=LD_LIBRARY_PATH
17690 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17691 version_type
=freebsd-elf
17694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17695 soname_spec
='${libname}${release}${shared_ext}$major'
17696 shlibpath_var
=LD_LIBRARY_PATH
17697 hardcode_into_libs
=yes
17698 if test "$with_gnu_ld" = yes; then
17699 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17700 shlibpath_overrides_runpath
=no
17702 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17703 shlibpath_overrides_runpath
=yes
17706 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17710 sys_lib_dlsearch_path_spec
='/usr/lib'
17715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17716 soname_spec
='${libname}${release}${shared_ext}$major'
17717 shlibpath_var
=LD_LIBRARY_PATH
17724 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17725 echo "${ECHO_T}$dynamic_linker" >&6
17726 test "$dynamic_linker" = no
&& can_build_shared
=no
17728 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17729 if test "$GCC" = yes; then
17730 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17733 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17734 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17735 hardcode_action_GCJ
=
17736 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17737 test -n "$runpath_var_GCJ" || \
17738 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17740 # We can hardcode non-existant directories.
17741 if test "$hardcode_direct_GCJ" != no
&&
17742 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17743 # have to relink, otherwise we might link with an installed library
17744 # when we should be linking with a yet-to-be-installed one
17745 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17746 test "$hardcode_minus_L_GCJ" != no
; then
17747 # Linking always hardcodes the temporary library directory.
17748 hardcode_action_GCJ
=relink
17750 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17751 hardcode_action_GCJ
=immediate
17754 # We cannot hardcode anything, or else we can only hardcode existing
17756 hardcode_action_GCJ
=unsupported
17758 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17759 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17761 if test "$hardcode_action_GCJ" = relink
; then
17762 # Fast installation is not supported
17763 enable_fast_install
=no
17764 elif test "$shlibpath_overrides_runpath" = yes ||
17765 test "$enable_shared" = no
; then
17766 # Fast installation is not necessary
17767 enable_fast_install
=needless
17771 # The else clause should only fire when bootstrapping the
17772 # libtool distribution, otherwise you forgot to ship ltmain.sh
17773 # with your package, and you will get complaints that there are
17774 # no rules to generate ltmain.sh.
17775 if test -f "$ltmain"; then
17776 # See if we are running on zsh, and set the options which allow our commands through
17777 # without removal of \ escapes.
17778 if test -n "${ZSH_VERSION+set}" ; then
17779 setopt NO_GLOB_SUBST
17781 # Now quote all the things that may contain metacharacters while being
17782 # careful not to overquote the AC_SUBSTed values. We take copies of the
17783 # variables and quote the copies for generation of the libtool script.
17784 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17786 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17787 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17788 deplibs_check_method reload_flag reload_cmds need_locks \
17789 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17790 lt_cv_sys_global_symbol_to_c_name_address \
17791 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17792 old_postinstall_cmds old_postuninstall_cmds \
17796 lt_prog_compiler_wl_GCJ \
17797 lt_prog_compiler_pic_GCJ \
17798 lt_prog_compiler_static_GCJ \
17799 lt_prog_compiler_no_builtin_flag_GCJ \
17800 export_dynamic_flag_spec_GCJ \
17801 thread_safe_flag_spec_GCJ \
17802 whole_archive_flag_spec_GCJ \
17803 enable_shared_with_static_runtimes_GCJ \
17804 old_archive_cmds_GCJ \
17805 old_archive_from_new_cmds_GCJ \
17806 predep_objects_GCJ \
17807 postdep_objects_GCJ \
17810 compiler_lib_search_path_GCJ \
17812 archive_expsym_cmds_GCJ \
17813 postinstall_cmds_GCJ \
17814 postuninstall_cmds_GCJ \
17815 old_archive_from_expsyms_cmds_GCJ \
17816 allow_undefined_flag_GCJ \
17817 no_undefined_flag_GCJ \
17818 export_symbols_cmds_GCJ \
17819 hardcode_libdir_flag_spec_GCJ \
17820 hardcode_libdir_flag_spec_ld_GCJ \
17821 hardcode_libdir_separator_GCJ \
17822 hardcode_automatic_GCJ \
17824 module_expsym_cmds_GCJ \
17825 lt_cv_prog_compiler_c_o_GCJ \
17826 exclude_expsyms_GCJ \
17827 include_expsyms_GCJ
; do
17830 old_archive_cmds_GCJ | \
17831 old_archive_from_new_cmds_GCJ | \
17832 archive_cmds_GCJ | \
17833 archive_expsym_cmds_GCJ | \
17834 module_cmds_GCJ | \
17835 module_expsym_cmds_GCJ | \
17836 old_archive_from_expsyms_cmds_GCJ | \
17837 export_symbols_cmds_GCJ | \
17838 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17839 postinstall_cmds | postuninstall_cmds | \
17840 old_postinstall_cmds | old_postuninstall_cmds | \
17841 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17842 # Double-quote double-evaled strings.
17843 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17846 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17852 *'\$0 --fallback-echo"')
17853 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17859 cat <<__EOF__ >> "$cfgfile"
17860 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17862 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17864 # Shell to use when invoking shell scripts.
17867 # Whether or not to build shared libraries.
17868 build_libtool_libs=$enable_shared
17870 # Whether or not to build static libraries.
17871 build_old_libs=$enable_static
17873 # Whether or not to add -lc for building shared libraries.
17874 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17876 # Whether or not to disallow shared libs when runtime libs are static
17877 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17879 # Whether or not to optimize for fast installation.
17880 fast_install=$enable_fast_install
17883 host_alias=$host_alias
17887 # The build system.
17888 build_alias=$build_alias
17892 # An echo program that does not interpret backslashes.
17897 AR_FLAGS=$lt_AR_FLAGS
17902 # LTCC compiler flags.
17903 LTCFLAGS=$lt_LTCFLAGS
17905 # A language-specific compiler.
17906 CC=$lt_compiler_GCJ
17908 # Is the compiler the GNU C compiler?
17911 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
17912 gcc_ver=\`gcc -dumpversion\`
17917 # The linker used to build libraries.
17920 # Whether we need hard or soft links.
17923 # A BSD-compatible nm program.
17926 # A symbol stripping program
17929 # Used to examine libraries when file_magic_cmd begins "file"
17930 MAGIC_CMD=$MAGIC_CMD
17932 # Used on cygwin: DLL creation program.
17935 # Used on cygwin: object dumper.
17938 # Used on cygwin: assembler.
17941 # The name of the directory that contains temporary libtool files.
17944 # How to create reloadable object files.
17945 reload_flag=$lt_reload_flag
17946 reload_cmds=$lt_reload_cmds
17948 # How to pass a linker flag through the compiler.
17949 wl=$lt_lt_prog_compiler_wl_GCJ
17951 # Object file suffix (normally "o").
17952 objext="$ac_objext"
17954 # Old archive suffix (normally "a").
17957 # Shared library suffix (normally ".so").
17958 shrext_cmds='$shrext_cmds'
17960 # Executable file suffix (normally "").
17963 # Additional compiler flags for building library objects.
17964 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17967 # What is the maximum length of a command?
17968 max_cmd_len=$lt_cv_sys_max_cmd_len
17970 # Does compiler simultaneously support -c and -o options?
17971 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17973 # Must we lock files when doing compilation?
17974 need_locks=$lt_need_locks
17976 # Do we need the lib prefix for modules?
17977 need_lib_prefix=$need_lib_prefix
17979 # Do we need a version for libraries?
17980 need_version=$need_version
17982 # Whether dlopen is supported.
17983 dlopen_support=$enable_dlopen
17985 # Whether dlopen of programs is supported.
17986 dlopen_self=$enable_dlopen_self
17988 # Whether dlopen of statically linked programs is supported.
17989 dlopen_self_static=$enable_dlopen_self_static
17991 # Compiler flag to prevent dynamic linking.
17992 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17994 # Compiler flag to turn off builtin functions.
17995 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17997 # Compiler flag to allow reflexive dlopens.
17998 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18000 # Compiler flag to generate shared objects directly from archives.
18001 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18003 # Compiler flag to generate thread-safe objects.
18004 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18006 # Library versioning type.
18007 version_type=$version_type
18009 # Format of library name prefix.
18010 libname_spec=$lt_libname_spec
18012 # List of archive names. First name is the real one, the rest are links.
18013 # The last name is the one that the linker finds with -lNAME.
18014 library_names_spec=$lt_library_names_spec
18016 # The coded name of the library, if different from the real name.
18017 soname_spec=$lt_soname_spec
18019 # Commands used to build and install an old-style archive.
18021 old_archive_cmds=$lt_old_archive_cmds_GCJ
18022 old_postinstall_cmds=$lt_old_postinstall_cmds
18023 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18025 # Create an old-style archive from a shared archive.
18026 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18028 # Create a temporary old-style archive to link instead of a shared archive.
18029 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18031 # Commands used to build and install a shared archive.
18032 archive_cmds=$lt_archive_cmds_GCJ
18033 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18034 postinstall_cmds=$lt_postinstall_cmds
18035 postuninstall_cmds=$lt_postuninstall_cmds
18037 # Commands used to build a loadable module (assumed same as above if empty)
18038 module_cmds=$lt_module_cmds_GCJ
18039 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18041 # Commands to strip libraries.
18042 old_striplib=$lt_old_striplib
18043 striplib=$lt_striplib
18045 # Dependencies to place before the objects being linked to create a
18047 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18049 # Dependencies to place after the objects being linked to create a
18051 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18053 # Dependencies to place before the objects being linked to create a
18055 predeps=$lt_predeps_GCJ
18057 # Dependencies to place after the objects being linked to create a
18059 postdeps=$lt_postdeps_GCJ
18061 # The library search path used internally by the compiler when linking
18062 # a shared library.
18063 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18065 # Method to check whether dependent libraries are shared objects.
18066 deplibs_check_method=$lt_deplibs_check_method
18068 # Command to use when deplibs_check_method == file_magic.
18069 file_magic_cmd=$lt_file_magic_cmd
18071 # Flag that allows shared libraries with undefined symbols to be built.
18072 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18074 # Flag that forces no undefined symbols.
18075 no_undefined_flag=$lt_no_undefined_flag_GCJ
18077 # Commands used to finish a libtool library installation in a directory.
18078 finish_cmds=$lt_finish_cmds
18080 # Same as above, but a single script fragment to be evaled but not shown.
18081 finish_eval=$lt_finish_eval
18083 # Take the output of nm and produce a listing of raw symbols and C names.
18084 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18086 # Transform the output of nm in a proper C declaration
18087 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18089 # Transform the output of nm in a C name address pair
18090 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18092 # This is the shared library runtime path variable.
18093 runpath_var=$runpath_var
18095 # This is the shared library path variable.
18096 shlibpath_var=$shlibpath_var
18098 # Is shlibpath searched before the hard-coded library search path?
18099 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18101 # How to hardcode a shared library path into an executable.
18102 hardcode_action=$hardcode_action_GCJ
18104 # Whether we should hardcode library paths into libraries.
18105 hardcode_into_libs=$hardcode_into_libs
18107 # Flag to hardcode \$libdir into a binary during linking.
18108 # This must work even if \$libdir does not exist.
18109 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18111 # If ld is used when linking, flag to hardcode \$libdir into
18112 # a binary during linking. This must work even if \$libdir does
18114 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18116 # Whether we need a single -rpath flag with a separated argument.
18117 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18119 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18120 # resulting binary.
18121 hardcode_direct=$hardcode_direct_GCJ
18123 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18124 # resulting binary.
18125 hardcode_minus_L=$hardcode_minus_L_GCJ
18127 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18128 # the resulting binary.
18129 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18131 # Set to yes if building a shared library automatically hardcodes DIR into the library
18132 # and all subsequent libraries and executables linked against it.
18133 hardcode_automatic=$hardcode_automatic_GCJ
18135 # Variables whose values should be saved in libtool wrapper scripts and
18136 # restored at relink time.
18137 variables_saved_for_relink="$variables_saved_for_relink"
18139 # Whether libtool must link a program against all its dependency libraries.
18140 link_all_deplibs=$link_all_deplibs_GCJ
18142 # Compile-time system search path for libraries
18143 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18145 # Run-time system search path for libraries
18146 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18148 # Fix the shell variable \$srcfile for the compiler.
18149 fix_srcfile_path="$fix_srcfile_path_GCJ"
18151 # Set to yes if exported symbols are required.
18152 always_export_symbols=$always_export_symbols_GCJ
18154 # The commands to list exported symbols.
18155 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18157 # The commands to extract the exported symbol list from a shared archive.
18158 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18160 # Symbols that should not be listed in the preloaded symbols.
18161 exclude_expsyms=$lt_exclude_expsyms_GCJ
18163 # Symbols that must always be exported.
18164 include_expsyms=$lt_include_expsyms_GCJ
18166 # ### END LIBTOOL TAG CONFIG: $tagname
18172 # If there is no Makefile yet, we rely on a make rule to execute
18173 # `config.status --recheck' to rerun these tests and create the
18174 # libtool script then.
18175 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18176 if test -f "$ltmain_in"; then
18177 test -f Makefile
&& make "$ltmain"
18183 ac_cpp
='$CPP $CPPFLAGS'
18184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18199 # Source file extension for RC test sources.
18202 # Object file extension for compiled RC test sources.
18206 # Code to be used in simple compile tests
18207 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18209 # Code to be used in simple link tests
18210 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18212 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18214 # If no C compiler was specified, use CC.
18217 # If no C compiler flags were specified, use CFLAGS.
18218 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18220 # Allow CC to be a program name with arguments.
18224 # save warnings/boilerplate of simple test code
18225 ac_outfile
=conftest.
$ac_objext
18226 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18227 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18228 _lt_compiler_boilerplate
=`cat conftest.err`
18231 ac_outfile
=conftest.
$ac_objext
18232 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18233 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18234 _lt_linker_boilerplate
=`cat conftest.err`
18238 # Allow CC to be a program name with arguments.
18243 for cc_temp
in $compiler""; do
18245 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18246 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18251 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18253 lt_cv_prog_compiler_c_o_RC
=yes
18255 # The else clause should only fire when bootstrapping the
18256 # libtool distribution, otherwise you forgot to ship ltmain.sh
18257 # with your package, and you will get complaints that there are
18258 # no rules to generate ltmain.sh.
18259 if test -f "$ltmain"; then
18260 # See if we are running on zsh, and set the options which allow our commands through
18261 # without removal of \ escapes.
18262 if test -n "${ZSH_VERSION+set}" ; then
18263 setopt NO_GLOB_SUBST
18265 # Now quote all the things that may contain metacharacters while being
18266 # careful not to overquote the AC_SUBSTed values. We take copies of the
18267 # variables and quote the copies for generation of the libtool script.
18268 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18270 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18271 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18272 deplibs_check_method reload_flag reload_cmds need_locks \
18273 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18274 lt_cv_sys_global_symbol_to_c_name_address \
18275 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18276 old_postinstall_cmds old_postuninstall_cmds \
18280 lt_prog_compiler_wl_RC \
18281 lt_prog_compiler_pic_RC \
18282 lt_prog_compiler_static_RC \
18283 lt_prog_compiler_no_builtin_flag_RC \
18284 export_dynamic_flag_spec_RC \
18285 thread_safe_flag_spec_RC \
18286 whole_archive_flag_spec_RC \
18287 enable_shared_with_static_runtimes_RC \
18288 old_archive_cmds_RC \
18289 old_archive_from_new_cmds_RC \
18290 predep_objects_RC \
18291 postdep_objects_RC \
18294 compiler_lib_search_path_RC \
18296 archive_expsym_cmds_RC \
18297 postinstall_cmds_RC \
18298 postuninstall_cmds_RC \
18299 old_archive_from_expsyms_cmds_RC \
18300 allow_undefined_flag_RC \
18301 no_undefined_flag_RC \
18302 export_symbols_cmds_RC \
18303 hardcode_libdir_flag_spec_RC \
18304 hardcode_libdir_flag_spec_ld_RC \
18305 hardcode_libdir_separator_RC \
18306 hardcode_automatic_RC \
18308 module_expsym_cmds_RC \
18309 lt_cv_prog_compiler_c_o_RC \
18310 exclude_expsyms_RC \
18311 include_expsyms_RC
; do
18314 old_archive_cmds_RC | \
18315 old_archive_from_new_cmds_RC | \
18316 archive_cmds_RC | \
18317 archive_expsym_cmds_RC | \
18319 module_expsym_cmds_RC | \
18320 old_archive_from_expsyms_cmds_RC | \
18321 export_symbols_cmds_RC | \
18322 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18323 postinstall_cmds | postuninstall_cmds | \
18324 old_postinstall_cmds | old_postuninstall_cmds | \
18325 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18326 # Double-quote double-evaled strings.
18327 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18330 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18336 *'\$0 --fallback-echo"')
18337 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18343 cat <<__EOF__ >> "$cfgfile"
18344 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18346 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18348 # Shell to use when invoking shell scripts.
18351 # Whether or not to build shared libraries.
18352 build_libtool_libs=$enable_shared
18354 # Whether or not to build static libraries.
18355 build_old_libs=$enable_static
18357 # Whether or not to add -lc for building shared libraries.
18358 build_libtool_need_lc=$archive_cmds_need_lc_RC
18360 # Whether or not to disallow shared libs when runtime libs are static
18361 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18363 # Whether or not to optimize for fast installation.
18364 fast_install=$enable_fast_install
18367 host_alias=$host_alias
18371 # The build system.
18372 build_alias=$build_alias
18376 # An echo program that does not interpret backslashes.
18381 AR_FLAGS=$lt_AR_FLAGS
18386 # LTCC compiler flags.
18387 LTCFLAGS=$lt_LTCFLAGS
18389 # A language-specific compiler.
18392 # Is the compiler the GNU C compiler?
18395 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18396 gcc_ver=\`gcc -dumpversion\`
18401 # The linker used to build libraries.
18404 # Whether we need hard or soft links.
18407 # A BSD-compatible nm program.
18410 # A symbol stripping program
18413 # Used to examine libraries when file_magic_cmd begins "file"
18414 MAGIC_CMD=$MAGIC_CMD
18416 # Used on cygwin: DLL creation program.
18419 # Used on cygwin: object dumper.
18422 # Used on cygwin: assembler.
18425 # The name of the directory that contains temporary libtool files.
18428 # How to create reloadable object files.
18429 reload_flag=$lt_reload_flag
18430 reload_cmds=$lt_reload_cmds
18432 # How to pass a linker flag through the compiler.
18433 wl=$lt_lt_prog_compiler_wl_RC
18435 # Object file suffix (normally "o").
18436 objext="$ac_objext"
18438 # Old archive suffix (normally "a").
18441 # Shared library suffix (normally ".so").
18442 shrext_cmds='$shrext_cmds'
18444 # Executable file suffix (normally "").
18447 # Additional compiler flags for building library objects.
18448 pic_flag=$lt_lt_prog_compiler_pic_RC
18451 # What is the maximum length of a command?
18452 max_cmd_len=$lt_cv_sys_max_cmd_len
18454 # Does compiler simultaneously support -c and -o options?
18455 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18457 # Must we lock files when doing compilation?
18458 need_locks=$lt_need_locks
18460 # Do we need the lib prefix for modules?
18461 need_lib_prefix=$need_lib_prefix
18463 # Do we need a version for libraries?
18464 need_version=$need_version
18466 # Whether dlopen is supported.
18467 dlopen_support=$enable_dlopen
18469 # Whether dlopen of programs is supported.
18470 dlopen_self=$enable_dlopen_self
18472 # Whether dlopen of statically linked programs is supported.
18473 dlopen_self_static=$enable_dlopen_self_static
18475 # Compiler flag to prevent dynamic linking.
18476 link_static_flag=$lt_lt_prog_compiler_static_RC
18478 # Compiler flag to turn off builtin functions.
18479 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18481 # Compiler flag to allow reflexive dlopens.
18482 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18484 # Compiler flag to generate shared objects directly from archives.
18485 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18487 # Compiler flag to generate thread-safe objects.
18488 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18490 # Library versioning type.
18491 version_type=$version_type
18493 # Format of library name prefix.
18494 libname_spec=$lt_libname_spec
18496 # List of archive names. First name is the real one, the rest are links.
18497 # The last name is the one that the linker finds with -lNAME.
18498 library_names_spec=$lt_library_names_spec
18500 # The coded name of the library, if different from the real name.
18501 soname_spec=$lt_soname_spec
18503 # Commands used to build and install an old-style archive.
18505 old_archive_cmds=$lt_old_archive_cmds_RC
18506 old_postinstall_cmds=$lt_old_postinstall_cmds
18507 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18509 # Create an old-style archive from a shared archive.
18510 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18512 # Create a temporary old-style archive to link instead of a shared archive.
18513 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18515 # Commands used to build and install a shared archive.
18516 archive_cmds=$lt_archive_cmds_RC
18517 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18518 postinstall_cmds=$lt_postinstall_cmds
18519 postuninstall_cmds=$lt_postuninstall_cmds
18521 # Commands used to build a loadable module (assumed same as above if empty)
18522 module_cmds=$lt_module_cmds_RC
18523 module_expsym_cmds=$lt_module_expsym_cmds_RC
18525 # Commands to strip libraries.
18526 old_striplib=$lt_old_striplib
18527 striplib=$lt_striplib
18529 # Dependencies to place before the objects being linked to create a
18531 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18533 # Dependencies to place after the objects being linked to create a
18535 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18537 # Dependencies to place before the objects being linked to create a
18539 predeps=$lt_predeps_RC
18541 # Dependencies to place after the objects being linked to create a
18543 postdeps=$lt_postdeps_RC
18545 # The library search path used internally by the compiler when linking
18546 # a shared library.
18547 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18549 # Method to check whether dependent libraries are shared objects.
18550 deplibs_check_method=$lt_deplibs_check_method
18552 # Command to use when deplibs_check_method == file_magic.
18553 file_magic_cmd=$lt_file_magic_cmd
18555 # Flag that allows shared libraries with undefined symbols to be built.
18556 allow_undefined_flag=$lt_allow_undefined_flag_RC
18558 # Flag that forces no undefined symbols.
18559 no_undefined_flag=$lt_no_undefined_flag_RC
18561 # Commands used to finish a libtool library installation in a directory.
18562 finish_cmds=$lt_finish_cmds
18564 # Same as above, but a single script fragment to be evaled but not shown.
18565 finish_eval=$lt_finish_eval
18567 # Take the output of nm and produce a listing of raw symbols and C names.
18568 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18570 # Transform the output of nm in a proper C declaration
18571 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18573 # Transform the output of nm in a C name address pair
18574 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18576 # This is the shared library runtime path variable.
18577 runpath_var=$runpath_var
18579 # This is the shared library path variable.
18580 shlibpath_var=$shlibpath_var
18582 # Is shlibpath searched before the hard-coded library search path?
18583 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18585 # How to hardcode a shared library path into an executable.
18586 hardcode_action=$hardcode_action_RC
18588 # Whether we should hardcode library paths into libraries.
18589 hardcode_into_libs=$hardcode_into_libs
18591 # Flag to hardcode \$libdir into a binary during linking.
18592 # This must work even if \$libdir does not exist.
18593 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18595 # If ld is used when linking, flag to hardcode \$libdir into
18596 # a binary during linking. This must work even if \$libdir does
18598 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18600 # Whether we need a single -rpath flag with a separated argument.
18601 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18603 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18604 # resulting binary.
18605 hardcode_direct=$hardcode_direct_RC
18607 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18608 # resulting binary.
18609 hardcode_minus_L=$hardcode_minus_L_RC
18611 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18612 # the resulting binary.
18613 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18615 # Set to yes if building a shared library automatically hardcodes DIR into the library
18616 # and all subsequent libraries and executables linked against it.
18617 hardcode_automatic=$hardcode_automatic_RC
18619 # Variables whose values should be saved in libtool wrapper scripts and
18620 # restored at relink time.
18621 variables_saved_for_relink="$variables_saved_for_relink"
18623 # Whether libtool must link a program against all its dependency libraries.
18624 link_all_deplibs=$link_all_deplibs_RC
18626 # Compile-time system search path for libraries
18627 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18629 # Run-time system search path for libraries
18630 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18632 # Fix the shell variable \$srcfile for the compiler.
18633 fix_srcfile_path="$fix_srcfile_path_RC"
18635 # Set to yes if exported symbols are required.
18636 always_export_symbols=$always_export_symbols_RC
18638 # The commands to list exported symbols.
18639 export_symbols_cmds=$lt_export_symbols_cmds_RC
18641 # The commands to extract the exported symbol list from a shared archive.
18642 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18644 # Symbols that should not be listed in the preloaded symbols.
18645 exclude_expsyms=$lt_exclude_expsyms_RC
18647 # Symbols that must always be exported.
18648 include_expsyms=$lt_include_expsyms_RC
18650 # ### END LIBTOOL TAG CONFIG: $tagname
18656 # If there is no Makefile yet, we rely on a make rule to execute
18657 # `config.status --recheck' to rerun these tests and create the
18658 # libtool script then.
18659 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18660 if test -f "$ltmain_in"; then
18661 test -f Makefile
&& make "$ltmain"
18667 ac_cpp
='$CPP $CPPFLAGS'
18668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18677 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18678 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18679 { (exit 1); exit 1; }; }
18683 # Append the new tag name to the list of available tags.
18684 if test -n "$tagname" ; then
18685 available_tags
="$available_tags $tagname"
18691 # Now substitute the updated list of available tags.
18692 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18693 mv "${ofile}T" "$ofile"
18697 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18698 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18699 { (exit 1); exit 1; }; }
18705 # This can be used to rebuild libtool when needed
18706 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18708 # Always use our own libtool.
18709 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18711 # Prevent multiple expansion
18733 if test "$GCC" = yes
18735 CFLAGS
="-Wall $CFLAGS"
18738 CPPFLAGS
="$CPPFLAGS -I$srcdir/.. -I.."
18741 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18742 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
18743 if test "${ac_cv_header_stdc+set}" = set; then
18744 echo $ECHO_N "(cached) $ECHO_C" >&6
18746 cat >conftest.
$ac_ext <<_ACEOF
18749 cat confdefs.h
>>conftest.
$ac_ext
18750 cat >>conftest.
$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 #include <stdlib.h>
18753 #include <stdarg.h>
18754 #include <string.h>
18765 rm -f conftest.
$ac_objext
18766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18767 (eval $ac_compile) 2>conftest.er1
18769 grep -v '^ *+' conftest.er1
>conftest.err
18771 cat conftest.err
>&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); } &&
18774 { ac_try
='test -z "$ac_c_werror_flag"
18775 || test ! -s conftest.err'
18776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18777 (eval $ac_try) 2>&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); }; } &&
18781 { ac_try
='test -s conftest.$ac_objext'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 ac_cv_header_stdc
=yes
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.
$ac_ext >&5
18792 ac_cv_header_stdc
=no
18794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18796 if test $ac_cv_header_stdc = yes; then
18797 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18798 cat >conftest.
$ac_ext <<_ACEOF
18801 cat confdefs.h
>>conftest.
$ac_ext
18802 cat >>conftest.
$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 #include <string.h>
18807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18808 $EGREP "memchr" >/dev
/null
2>&1; then
18811 ac_cv_header_stdc
=no
18817 if test $ac_cv_header_stdc = yes; then
18818 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18819 cat >conftest.
$ac_ext <<_ACEOF
18822 cat confdefs.h
>>conftest.
$ac_ext
18823 cat >>conftest.
$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825 #include <stdlib.h>
18828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18829 $EGREP "free" >/dev
/null
2>&1; then
18832 ac_cv_header_stdc
=no
18838 if test $ac_cv_header_stdc = yes; then
18839 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18840 if test "$cross_compiling" = yes; then
18843 cat >conftest.
$ac_ext <<_ACEOF
18846 cat confdefs.h
>>conftest.
$ac_ext
18847 cat >>conftest.
$ac_ext <<_ACEOF
18848 /* end confdefs.h. */
18850 #if ((' ' & 0x0FF) == 0x020)
18851 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18852 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18854 # define ISLOWER(c) \
18855 (('a' <= (c) && (c) <= 'i') \
18856 || ('j' <= (c) && (c) <= 'r') \
18857 || ('s' <= (c) && (c) <= 'z'))
18858 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18861 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18866 for (i = 0; i < 256; i++)
18867 if (XOR (islower (i), ISLOWER (i))
18868 || toupper (i) != TOUPPER (i))
18873 rm -f conftest
$ac_exeext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18875 (eval $ac_link) 2>&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880 (eval $ac_try) 2>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; }; then
18886 echo "$as_me: program exited with status $ac_status" >&5
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.
$ac_ext >&5
18890 ( exit $ac_status )
18891 ac_cv_header_stdc
=no
18893 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18897 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18898 echo "${ECHO_T}$ac_cv_header_stdc" >&6
18899 if test $ac_cv_header_stdc = yes; then
18901 cat >>confdefs.h
<<\_ACEOF
18902 #define STDC_HEADERS 1
18908 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18909 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18910 if test "${ac_cv_c_const+set}" = set; then
18911 echo $ECHO_N "(cached) $ECHO_C" >&6
18913 cat >conftest.
$ac_ext <<_ACEOF
18916 cat confdefs.h
>>conftest.
$ac_ext
18917 cat >>conftest.
$ac_ext <<_ACEOF
18918 /* end confdefs.h. */
18923 /* FIXME: Include the comments suggested by Paul. */
18924 #ifndef __cplusplus
18925 /* Ultrix mips cc rejects this. */
18926 typedef int charset[2];
18928 /* SunOS 4.1.1 cc rejects this. */
18929 char const *const *ccp;
18931 /* NEC SVR4.0.2 mips cc rejects this. */
18932 struct point {int x, y;};
18933 static struct point const zero = {0,0};
18934 /* AIX XL C 1.02.0.0 rejects this.
18935 It does not let you subtract one const X* pointer from another in
18936 an arm of an if-expression whose if-part is not a constant
18938 const char *g = "string";
18939 ccp = &g + (g ? g-g : 0);
18940 /* HPUX 7.0 cc rejects these. */
18943 ccp = (char const *const *) p;
18944 { /* SCO 3.2v4 cc rejects this. */
18946 char const *s = 0 ? (char *) 0 : (char const *) 0;
18950 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18951 int x[] = {25, 17};
18952 const int *foo = &x[0];
18955 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18956 typedef const int *iptr;
18960 { /* AIX XL C 1.02.0.0 rejects this saying
18961 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18962 struct s { int j; const int *ap[3]; };
18963 struct s *b; b->j = 5;
18965 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18966 const int foo = 10;
18974 rm -f conftest.
$ac_objext
18975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18976 (eval $ac_compile) 2>conftest.er1
18978 grep -v '^ *+' conftest.er1
>conftest.err
18980 cat conftest.err
>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); } &&
18983 { ac_try
='test -z "$ac_c_werror_flag"
18984 || test ! -s conftest.err'
18985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18986 (eval $ac_try) 2>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); }; } &&
18990 { ac_try
='test -s conftest.$ac_objext'
18991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992 (eval $ac_try) 2>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; }; then
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.
$ac_ext >&5
19003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19005 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19006 echo "${ECHO_T}$ac_cv_c_const" >&6
19007 if test $ac_cv_c_const = no
; then
19009 cat >>confdefs.h
<<\_ACEOF
19015 echo "$as_me:$LINENO: checking for size_t" >&5
19016 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19017 if test "${ac_cv_type_size_t+set}" = set; then
19018 echo $ECHO_N "(cached) $ECHO_C" >&6
19020 cat >conftest.
$ac_ext <<_ACEOF
19023 cat confdefs.h
>>conftest.
$ac_ext
19024 cat >>conftest.
$ac_ext <<_ACEOF
19025 /* end confdefs.h. */
19026 $ac_includes_default
19032 if (sizeof (size_t))
19038 rm -f conftest.
$ac_objext
19039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19040 (eval $ac_compile) 2>conftest.er1
19042 grep -v '^ *+' conftest.er1
>conftest.err
19044 cat conftest.err
>&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); } &&
19047 { ac_try
='test -z "$ac_c_werror_flag"
19048 || test ! -s conftest.err'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; } &&
19054 { ac_try
='test -s conftest.$ac_objext'
19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056 (eval $ac_try) 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }; }; then
19060 ac_cv_type_size_t
=yes
19062 echo "$as_me: failed program was:" >&5
19063 sed 's/^/| /' conftest.
$ac_ext >&5
19065 ac_cv_type_size_t
=no
19067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19069 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19070 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19071 if test $ac_cv_type_size_t = yes; then
19075 cat >>confdefs.h
<<_ACEOF
19076 #define size_t unsigned
19089 if test -d ${srcdir}/..
/md5
19091 TESTPROGS
="$TESTPROGS md5hmactest${EXEEXT}"
19092 hmac_list
="$hmac_list &hmac_md5,"
19093 hashlibs
="$hashlibs ../md5/libmd5.la"
19096 if test -d ${srcdir}/..
/sha1
19098 TESTPROGS
="$TESTPROGS sha1hmactest${EXEEXT}"
19099 hmac_list
="$hmac_list &hmac_sha1, &hmac_sha256, "
19100 hashlibs
="$hashlibs ../sha1/libsha1.la"
19104 hmac_list
="$hmac_list 0"
19108 cat >>confdefs.h
<<_ACEOF
19109 #define HMAC_LIST $hmac_list
19113 ac_config_files
="$ac_config_files Makefile"
19114 cat >confcache
<<\_ACEOF
19115 # This file is a shell script that caches the results of configure
19116 # tests run on this system so they can be shared between configure
19117 # scripts and configure runs, see configure's option --config-cache.
19118 # It is not useful on other systems. If it contains results you don't
19119 # want to keep, you may remove or edit it.
19121 # config.status only pays attention to the cache file if you give it
19122 # the --recheck option to rerun configure.
19124 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19125 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19126 # following values.
19130 # The following way of writing the cache mishandles newlines in values,
19131 # but we know of no workaround that is simple, portable, and efficient.
19132 # So, don't put newlines in cache variables' values.
19133 # Ultrix sh set writes to stderr and can't be redirected directly,
19134 # and sets the high bit in the cache file unless we assign to the vars.
19137 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19139 # `set' does not quote correctly, so add quotes (double-quote
19140 # substitution turns \\\\ into \\, and sed turns \\ into \).
19143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19146 # `set' quotes correctly as required by POSIX, so do not add quotes.
19148 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19155 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19157 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19159 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19160 if test -w $cache_file; then
19161 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19162 cat confcache
>$cache_file
19164 echo "not updating unwritable cache $cache_file"
19169 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19170 # Let make expand exec_prefix.
19171 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19173 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19174 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19175 # trailing colons and then remove the whole line if VPATH becomes empty
19176 # (actually we leave an empty line to preserve line numbers).
19177 if test "x$srcdir" = x.
; then
19178 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19179 s/:*\$(srcdir):*/:/;
19180 s/:*\${srcdir}:*/:/;
19182 s/^\([^=]*=[ ]*\):*/\1/;
19188 DEFS
=-DHAVE_CONFIG_H
19192 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19193 # 1. Remove the extension, and $U if already installed.
19194 ac_i
=`echo "$ac_i" |
19195 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19197 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19198 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19200 LIBOBJS
=$ac_libobjs
19202 LTLIBOBJS
=$ac_ltlibobjs
19205 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19206 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19207 Usually this means the macro was only invoked conditionally." >&5
19208 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19209 Usually this means the macro was only invoked conditionally." >&2;}
19210 { (exit 1); exit 1; }; }
19212 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19213 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19214 Usually this means the macro was only invoked conditionally." >&5
19215 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19216 Usually this means the macro was only invoked conditionally." >&2;}
19217 { (exit 1); exit 1; }; }
19219 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19220 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19221 Usually this means the macro was only invoked conditionally." >&5
19222 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19223 Usually this means the macro was only invoked conditionally." >&2;}
19224 { (exit 1); exit 1; }; }
19227 : ${CONFIG_STATUS=./config.status}
19228 ac_clean_files_save
=$ac_clean_files
19229 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19230 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19231 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19232 cat >$CONFIG_STATUS <<_ACEOF
19234 # Generated by $as_me.
19235 # Run this file to recreate the current configuration.
19236 # Compiler output produced by configure, useful for debugging
19237 # configure, is in config.log if it exists.
19240 ac_cs_recheck=false
19242 SHELL=\${CONFIG_SHELL-$SHELL}
19245 cat >>$CONFIG_STATUS <<\_ACEOF
19246 ## --------------------- ##
19247 ## M4sh Initialization. ##
19248 ## --------------------- ##
19250 # Be Bourne compatible
19251 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19254 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19255 # is contrary to our usage. Disable this feature.
19256 alias -g '${1+"$@"}'='"$@"'
19257 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19260 DUALCASE
=1; export DUALCASE
# for MKS sh
19262 # Support unset when possible.
19263 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19270 # Work around bugs in pre-3.0 UWIN ksh.
19271 $as_unset ENV MAIL MAILPATH
19278 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19279 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19280 LC_TELEPHONE LC_TIME
19282 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19283 eval $as_var=C
; export $as_var
19289 # Required to use basename.
19290 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19296 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19297 as_basename
=basename
19303 # Name of the executable.
19304 as_me
=`$as_basename "$0" ||
19305 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19306 X"$0" : 'X\(//\)$' \| \
19307 X"$0" : 'X\(/\)$' \| \
19308 . : '\(.\)' 2>/dev/null ||
19310 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19311 /^X\/\(\/\/\)$/{ s//\1/; q; }
19312 /^X\/\(\/\).*/{ s//\1/; q; }
19316 # PATH needs CR, and LINENO needs CR and PATH.
19317 # Avoid depending upon Character Ranges.
19318 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19319 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19320 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19321 as_cr_digits
='0123456789'
19322 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19324 # The user is always right.
19325 if test "${PATH_SEPARATOR+set}" != set; then
19326 echo "#! /bin/sh" >conf$$.sh
19327 echo "exit 0" >>conf$$.sh
19329 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19338 as_lineno_1
=$LINENO
19339 as_lineno_2
=$LINENO
19340 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19341 test "x$as_lineno_1" != "x$as_lineno_2" &&
19342 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19343 # Find who we are. Look in the path if we contain no path at all
19346 *[\\/]* ) as_myself
=$0 ;;
19347 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19348 for as_dir
in $PATH
19351 test -z "$as_dir" && as_dir
=.
19352 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19357 # We did not find ourselves, most probably we were run as `sh COMMAND'
19358 # in which case we are not to be found in the path.
19359 if test "x$as_myself" = x
; then
19362 if test ! -f "$as_myself"; then
19363 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19364 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19365 { (exit 1); exit 1; }; }
19367 case $CONFIG_SHELL in
19369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19370 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19373 test -z "$as_dir" && as_dir
=.
19374 for as_base
in sh bash ksh sh5
; do
19377 if ("$as_dir/$as_base" -c '
19378 as_lineno_1=$LINENO
19379 as_lineno_2=$LINENO
19380 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19381 test "x$as_lineno_1" != "x$as_lineno_2" &&
19382 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19383 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19384 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19385 CONFIG_SHELL
=$as_dir/$as_base
19386 export CONFIG_SHELL
19387 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19395 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19396 # uniformly replaced by the line number. The first 'sed' inserts a
19397 # line-number line before each line; the second 'sed' does the real
19398 # work. The second script uses 'N' to pair each line-number line
19399 # with the numbered line, and appends trailing '-' during
19400 # substitution so that $LINENO is not a special case at line end.
19401 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19402 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19403 sed '=' <$as_myself |
19408 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19411 s,^['$as_cr_digits']*\n,,
19412 ' >$as_me.lineno
&&
19413 chmod +x
$as_me.lineno ||
19414 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19415 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19416 { (exit 1); exit 1; }; }
19418 # Don't try to exec as it changes $[0], causing all sort of problems
19419 # (the dirname of $[0] is not the place where we might find the
19420 # original and so on. Autoconf is especially sensible to this).
19422 # Exit status is that of the last command.
19427 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19428 *c
*,-n*) ECHO_N
= ECHO_C
='
19430 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19431 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19434 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19440 rm -f conf$$ conf$$.exe conf$$.
file
19442 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19443 # We could just check for DJGPP; but this test a) works b) is more generic
19444 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19445 if test -f conf$$.exe
; then
19446 # Don't use ln at all; we don't have any links
19451 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19456 rm -f conf$$ conf$$.exe conf$$.
file
19458 if mkdir
-p .
2>/dev
/null
; then
19461 test -d .
/-p && rmdir .
/-p
19465 as_executable_p
="test -f"
19467 # Sed expression to map a string onto a valid CPP name.
19468 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19470 # Sed expression to map a string onto a valid variable name.
19471 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19475 # We need space, tab and new line, in precisely that order.
19485 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19486 # report actual input values of CONFIG_FILES etc. instead of their
19487 # values after options handling. Logging --version etc. is OK.
19491 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19492 ## Running $as_me. ##
19497 This file was extended by libhmac $as_me 1.00, which was
19498 generated by GNU Autoconf 2.59. Invocation command line was
19500 CONFIG_FILES = $CONFIG_FILES
19501 CONFIG_HEADERS = $CONFIG_HEADERS
19502 CONFIG_LINKS = $CONFIG_LINKS
19503 CONFIG_COMMANDS = $CONFIG_COMMANDS
19507 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19511 # Files that config.status was made for.
19512 if test -n "$ac_config_files"; then
19513 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19516 if test -n "$ac_config_headers"; then
19517 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19520 if test -n "$ac_config_links"; then
19521 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19524 if test -n "$ac_config_commands"; then
19525 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19528 cat >>$CONFIG_STATUS <<\_ACEOF
19531 \`$as_me' instantiates files from templates according to the
19532 current configuration.
19534 Usage: $0 [OPTIONS] [FILE]...
19536 -h, --help print this help, then exit
19537 -V, --version print version number, then exit
19538 -q, --quiet do not print progress messages
19539 -d, --debug don't remove temporary files
19540 --recheck update $as_me by reconfiguring in the same conditions
19541 --file=FILE[:TEMPLATE]
19542 instantiate the configuration file FILE
19543 --header=FILE[:TEMPLATE]
19544 instantiate the configuration header FILE
19546 Configuration files:
19549 Configuration headers:
19552 Configuration commands:
19555 Report bugs to <bug-autoconf@gnu.org>."
19558 cat >>$CONFIG_STATUS <<_ACEOF
19560 libhmac config.status 1.00
19561 configured by $0, generated by GNU Autoconf 2.59,
19562 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19564 Copyright (C) 2003 Free Software Foundation, Inc.
19565 This config.status script is free software; the Free Software Foundation
19566 gives unlimited permission to copy, distribute and modify it."
19571 cat >>$CONFIG_STATUS <<\_ACEOF
19572 # If no file are specified by the user, then we need to provide default
19573 # value. By we need to know if files were specified by the user.
19579 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19580 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19588 *) # This is not an option, so the user has probably given explicit
19591 ac_need_defaults
=false
;;
19595 # Handling of the options.
19597 cat >>$CONFIG_STATUS <<\_ACEOF
19598 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19600 --version |
--vers* |
-V )
19601 echo "$ac_cs_version"; exit 0 ;;
19603 # Conflict between --help and --header
19604 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19605 Try \`$0 --help' for more information." >&5
19606 echo "$as_me: error: ambiguous option: $1
19607 Try \`$0 --help' for more information." >&2;}
19608 { (exit 1); exit 1; }; };;
19609 --help |
--hel |
-h )
19610 echo "$ac_cs_usage"; exit 0 ;;
19611 --debug |
--d* |
-d )
19613 --file |
--fil |
--fi |
--f )
19615 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19616 ac_need_defaults
=false
;;
19617 --header |
--heade |
--head |
--hea )
19619 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19620 ac_need_defaults
=false
;;
19621 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19622 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19625 # This is an error.
19626 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19627 Try \`$0 --help' for more information." >&5
19628 echo "$as_me: error: unrecognized option: $1
19629 Try \`$0 --help' for more information." >&2;}
19630 { (exit 1); exit 1; }; } ;;
19632 *) ac_config_targets
="$ac_config_targets $1" ;;
19638 ac_configure_extra_args
=
19640 if $ac_cs_silent; then
19642 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19646 cat >>$CONFIG_STATUS <<_ACEOF
19647 if \$ac_cs_recheck; then
19648 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19649 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19654 cat >>$CONFIG_STATUS <<_ACEOF
19656 # INIT-COMMANDS section.
19659 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19665 cat >>$CONFIG_STATUS <<\_ACEOF
19666 for ac_config_target
in $ac_config_targets
19668 case "$ac_config_target" in
19669 # Handling of arguments.
19670 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19671 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19672 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19673 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19674 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19675 { (exit 1); exit 1; }; };;
19679 # If the user did not use the arguments to specify the items to instantiate,
19680 # then the envvar interface is used. Set only those that are not.
19681 # We use the long form for the default assignment because of an extremely
19682 # bizarre bug on SunOS 4.1.3.
19683 if $ac_need_defaults; then
19684 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19685 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19686 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19689 # Have a temporary directory for convenience. Make it in the build tree
19690 # simply because there is no reason to put it here, and in addition,
19691 # creating and moving files from /tmp can sometimes cause problems.
19692 # Create a temporary directory, and hook for its removal unless debugging.
19695 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19696 trap '{ (exit 1); exit 1; }' 1 2 13 15
19699 # Create a (secure) tmp directory for tmp files.
19702 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19703 test -n "$tmp" && test -d "$tmp"
19706 tmp
=.
/confstat$$
-$RANDOM
19707 (umask 077 && mkdir
$tmp)
19710 echo "$me: cannot create a temporary directory in ." >&2
19711 { (exit 1); exit 1; }
19716 cat >>$CONFIG_STATUS <<_ACEOF
19719 # CONFIG_FILES section.
19722 # No need to generate the scripts if there are no CONFIG_FILES.
19723 # This happens for instance when ./config.status config.h
19724 if test -n "\$CONFIG_FILES"; then
19725 # Protect against being on the right side of a sed subst in config.status.
19726 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19727 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19728 s,@SHELL@,$SHELL,;t t
19729 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19730 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19731 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19732 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19733 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19734 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19735 s,@exec_prefix@,$exec_prefix,;t t
19736 s,@prefix@,$prefix,;t t
19737 s,@program_transform_name@,$program_transform_name,;t t
19738 s,@bindir@,$bindir,;t t
19739 s,@sbindir@,$sbindir,;t t
19740 s,@libexecdir@,$libexecdir,;t t
19741 s,@datadir@,$datadir,;t t
19742 s,@sysconfdir@,$sysconfdir,;t t
19743 s,@sharedstatedir@,$sharedstatedir,;t t
19744 s,@localstatedir@,$localstatedir,;t t
19745 s,@libdir@,$libdir,;t t
19746 s,@includedir@,$includedir,;t t
19747 s,@oldincludedir@,$oldincludedir,;t t
19748 s,@infodir@,$infodir,;t t
19749 s,@mandir@,$mandir,;t t
19750 s,@build_alias@,$build_alias,;t t
19751 s,@host_alias@,$host_alias,;t t
19752 s,@target_alias@,$target_alias,;t t
19753 s,@DEFS@,$DEFS,;t t
19754 s,@ECHO_C@,$ECHO_C,;t t
19755 s,@ECHO_N@,$ECHO_N,;t t
19756 s,@ECHO_T@,$ECHO_T,;t t
19757 s,@LIBS@,$LIBS,;t t
19758 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19759 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19760 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19761 s,@CYGPATH_W@,$CYGPATH_W,;t t
19762 s,@PACKAGE@,$PACKAGE,;t t
19763 s,@VERSION@,$VERSION,;t t
19764 s,@ACLOCAL@,$ACLOCAL,;t t
19765 s,@AUTOCONF@,$AUTOCONF,;t t
19766 s,@AUTOMAKE@,$AUTOMAKE,;t t
19767 s,@AUTOHEADER@,$AUTOHEADER,;t t
19768 s,@MAKEINFO@,$MAKEINFO,;t t
19769 s,@install_sh@,$install_sh,;t t
19770 s,@STRIP@,$STRIP,;t t
19771 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19772 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
19773 s,@mkdir_p@,$mkdir_p,;t t
19775 s,@SET_MAKE@,$SET_MAKE,;t t
19776 s,@am__leading_dot@,$am__leading_dot,;t t
19777 s,@AMTAR@,$AMTAR,;t t
19778 s,@am__tar@,$am__tar,;t t
19779 s,@am__untar@,$am__untar,;t t
19780 s,@LN_S@,$LN_S,;t t
19782 s,@CFLAGS@,$CFLAGS,;t t
19783 s,@LDFLAGS@,$LDFLAGS,;t t
19784 s,@CPPFLAGS@,$CPPFLAGS,;t t
19785 s,@ac_ct_CC@,$ac_ct_CC,;t t
19786 s,@EXEEXT@,$EXEEXT,;t t
19787 s,@OBJEXT@,$OBJEXT,;t t
19788 s,@DEPDIR@,$DEPDIR,;t t
19789 s,@am__include@,$am__include,;t t
19790 s,@am__quote@,$am__quote,;t t
19791 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
19792 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
19793 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
19794 s,@CCDEPMODE@,$CCDEPMODE,;t t
19795 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
19796 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
19797 s,@build@,$build,;t t
19798 s,@build_cpu@,$build_cpu,;t t
19799 s,@build_vendor@,$build_vendor,;t t
19800 s,@build_os@,$build_os,;t t
19801 s,@host@,$host,;t t
19802 s,@host_cpu@,$host_cpu,;t t
19803 s,@host_vendor@,$host_vendor,;t t
19804 s,@host_os@,$host_os,;t t
19806 s,@EGREP@,$EGREP,;t t
19807 s,@ECHO@,$ECHO,;t t
19809 s,@ac_ct_AR@,$ac_ct_AR,;t t
19810 s,@RANLIB@,$RANLIB,;t t
19811 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19814 s,@CXXFLAGS@,$CXXFLAGS,;t t
19815 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19816 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
19817 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
19818 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
19819 s,@CXXCPP@,$CXXCPP,;t t
19821 s,@FFLAGS@,$FFLAGS,;t t
19822 s,@ac_ct_F77@,$ac_ct_F77,;t t
19823 s,@LIBTOOL@,$LIBTOOL,;t t
19824 s,@hashlibs@,$hashlibs,;t t
19825 s,@TESTPROGS@,$TESTPROGS,;t t
19826 s,@LIBOBJS@,$LIBOBJS,;t t
19827 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
19832 cat >>$CONFIG_STATUS <<\_ACEOF
19833 # Split the substitutions into bite-sized pieces for seds with
19834 # small command number limits, like on Digital OSF/1 and HP-UX.
19835 ac_max_sed_lines
=48
19836 ac_sed_frag
=1 # Number of current file.
19837 ac_beg
=1 # First line for current file.
19838 ac_end
=$ac_max_sed_lines # Line after last line for current file.
19841 while $ac_more_lines; do
19842 if test $ac_beg -gt 1; then
19843 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19845 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19847 if test ! -s $tmp/subs.frag
; then
19848 ac_more_lines
=false
19850 # The purpose of the label and of the branching condition is to
19851 # speed up the sed processing (if there are no `@' at all, there
19852 # is no need to browse any of the substitutions).
19853 # These are the two extra sed commands mentioned above.
19855 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
19856 if test -z "$ac_sed_cmds"; then
19857 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
19859 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
19861 ac_sed_frag
=`expr $ac_sed_frag + 1`
19863 ac_end
=`expr $ac_end + $ac_max_sed_lines`
19866 if test -z "$ac_sed_cmds"; then
19869 fi # test -n "$CONFIG_FILES"
19872 cat >>$CONFIG_STATUS <<\_ACEOF
19873 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
19874 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19876 - |
*:- |
*:-:* ) # input from stdin
19878 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19879 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19880 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19881 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19882 * ) ac_file_in
=$ac_file.
in ;;
19885 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19886 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
19887 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19888 X"$ac_file" : 'X\(//\)[^/]' \| \
19889 X"$ac_file" : 'X\(//\)$' \| \
19890 X"$ac_file" : 'X\(/\)' \| \
19891 . : '\(.\)' 2>/dev/null ||
19893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19894 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19895 /^X\(\/\/\)$/{ s//\1/; q; }
19896 /^X\(\/\).*/{ s//\1/; q; }
19898 { if $as_mkdir_p; then
19903 while test ! -d "$as_dir"; do
19904 as_dirs
="$as_dir $as_dirs"
19905 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19906 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19907 X"$as_dir" : 'X\(//\)[^/]' \| \
19908 X"$as_dir" : 'X\(//\)$' \| \
19909 X"$as_dir" : 'X\(/\)' \| \
19910 . : '\(.\)' 2>/dev/null ||
19912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19913 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19914 /^X\(\/\/\)$/{ s//\1/; q; }
19915 /^X\(\/\).*/{ s//\1/; q; }
19918 test ! -n "$as_dirs" || mkdir
$as_dirs
19919 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19920 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19921 { (exit 1); exit 1; }; }; }
19925 if test "$ac_dir" != .
; then
19926 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19927 # A "../" for each directory in $ac_dir_suffix.
19928 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19930 ac_dir_suffix
= ac_top_builddir
=
19934 .
) # No --srcdir option. We are building in place.
19936 if test -z "$ac_top_builddir"; then
19939 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19941 [\\/]* | ?
:[\\/]* ) # Absolute path.
19942 ac_srcdir
=$srcdir$ac_dir_suffix;
19943 ac_top_srcdir
=$srcdir ;;
19944 *) # Relative path.
19945 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19946 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19949 # Do not use `cd foo && pwd` to compute absolute paths, because
19950 # the directories may not exist.
19952 .
) ac_abs_builddir
="$ac_dir";;
19955 .
) ac_abs_builddir
=`pwd`;;
19956 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
19957 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
19960 case $ac_abs_builddir in
19961 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19963 case ${ac_top_builddir}.
in
19964 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19965 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19966 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19969 case $ac_abs_builddir in
19970 .
) ac_abs_srcdir
=$ac_srcdir;;
19973 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19974 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19975 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19978 case $ac_abs_builddir in
19979 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19981 case $ac_top_srcdir in
19982 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19983 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19984 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19990 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19991 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
19994 if test x
"$ac_file" != x-
; then
19995 { echo "$as_me:$LINENO: creating $ac_file" >&5
19996 echo "$as_me: creating $ac_file" >&6;}
19999 # Let's still pretend it is `configure' which instantiates (i.e., don't
20000 # use $as_me), people would be surprised to read:
20001 # /* config.h. Generated by config.status. */
20002 if test x
"$ac_file" = x-
; then
20005 configure_input
="$ac_file. "
20007 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20008 sed 's,.*/,,'` by configure."
20010 # First look for the input files in the build tree, otherwise in the
20012 ac_file_inputs
=`IFS=:
20013 for f in $ac_file_in; do
20015 -) echo $tmp/stdin ;;
20017 # Absolute (can't be DOS-style, as IFS=:)
20018 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20019 echo "$as_me: error: cannot find input file: $f" >&2;}
20020 { (exit 1); exit 1; }; }
20023 if test -f "$f"; then
20026 elif test -f "$srcdir/$f"; then
20031 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20032 echo "$as_me: error: cannot find input file: $f" >&2;}
20033 { (exit 1); exit 1; }; }
20036 done` ||
{ (exit 1); exit 1; }
20038 cat >>$CONFIG_STATUS <<_ACEOF
20042 cat >>$CONFIG_STATUS <<\_ACEOF
20044 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20045 s
,@configure_input@
,$configure_input,;t t
20046 s
,@srcdir@
,$ac_srcdir,;t t
20047 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20048 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20049 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20050 s
,@builddir@
,$ac_builddir,;t t
20051 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20052 s
,@top_builddir@
,$ac_top_builddir,;t t
20053 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20054 s
,@INSTALL@
,$ac_INSTALL,;t t
20055 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20057 if test x"$ac_file" != x-; then
20058 mv $tmp/out $ac_file
20066 cat >>$CONFIG_STATUS <<\_ACEOF
20069 # CONFIG_HEADER section.
20072 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20073 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20075 # ac_d sets the value in "#define NAME VALUE" lines.
20076 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20077 ac_dB
='[ ].*$,\1#\2'
20080 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20081 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20082 ac_uB
='$,\1#\2define\3'
20086 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20087 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20089 - |
*:- |
*:-:* ) # input from stdin
20091 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20092 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20093 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20094 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20095 * ) ac_file_in
=$ac_file.
in ;;
20098 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20099 echo "$as_me: creating $ac_file" >&6;}
20101 # First look for the input files in the build tree, otherwise in the
20103 ac_file_inputs
=`IFS=:
20104 for f in $ac_file_in; do
20106 -) echo $tmp/stdin ;;
20108 # Absolute (can't be DOS-style, as IFS=:)
20109 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20110 echo "$as_me: error: cannot find input file: $f" >&2;}
20111 { (exit 1); exit 1; }; }
20112 # Do quote $f, to prevent DOS paths from being IFS'd.
20115 if test -f "$f"; then
20118 elif test -f "$srcdir/$f"; then
20123 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20124 echo "$as_me: error: cannot find input file: $f" >&2;}
20125 { (exit 1); exit 1; }; }
20128 done` ||
{ (exit 1); exit 1; }
20129 # Remove the trailing spaces.
20130 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20134 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20135 # `conftest.undefs', that substitutes the proper values into
20136 # config.h.in to produce config.h. The first handles `#define'
20137 # templates, and the second `#undef' templates.
20138 # And first: Protect against being on the right side of a sed subst in
20139 # config.status. Protect against being in an unquoted here document
20140 # in config.status.
20141 rm -f conftest.defines conftest.undefs
20142 # Using a here document instead of a string reduces the quoting nightmare.
20143 # Putting comments in sed scripts is not portable.
20145 # `end' is used to avoid that the second main sed command (meant for
20146 # 0-ary CPP macros) applies to n-ary macro definitions.
20147 # See the Autoconf documentation for `clear'.
20148 cat >confdef2sed.
sed <<\_ACEOF
20153 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20155 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20158 # If some macros were called several times there might be several times
20159 # the same #defines, which is useless. Nevertheless, we may not want to
20160 # sort them, since we want the *last* AC-DEFINE to be honored.
20161 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20162 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20163 rm -f confdef2sed.sed
20165 # This sed command replaces #undef with comments. This is necessary, for
20166 # example, in the case of _POSIX_SOURCE, which is predefined and required
20167 # on some systems where configure will not decide to define it.
20168 cat >>conftest.undefs <<\_ACEOF
20169 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20172 # Break up conftest.defines because some shells have a limit on the size
20173 # of here documents, and old seds have small limits too (100 cmds).
20174 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20175 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20176 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20177 echo ' :' >>$CONFIG_STATUS
20178 rm -f conftest.tail
20179 while grep . conftest.defines >/dev/null
20181 # Write a limited-size here document to $tmp/defines.sed.
20182 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20183 # Speed up: don't consider the non `#define' lines.
20184 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20185 # Work around the forget-to-reset-the-flag bug.
20186 echo 't clr' >>$CONFIG_STATUS
20187 echo ': clr' >>$CONFIG_STATUS
20188 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20190 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20192 mv $tmp/out $tmp/in
20194 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20195 rm -f conftest.defines
20196 mv conftest.
tail conftest.defines
20198 rm -f conftest.defines
20199 echo ' fi # grep' >>$CONFIG_STATUS
20200 echo >>$CONFIG_STATUS
20202 # Break up conftest.undefs because some shells have a limit on the size
20203 # of here documents, and old seds have small limits too (100 cmds).
20204 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20205 rm -f conftest.
tail
20206 while grep . conftest.undefs
>/dev
/null
20208 # Write a limited-size here document to $tmp/undefs.sed.
20209 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20210 # Speed up: don't consider the non
`#undef'
20211 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20212 # Work around the forget-to-reset-the-flag bug.
20213 echo 't clr' >>$CONFIG_STATUS
20214 echo ': clr' >>$CONFIG_STATUS
20215 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20217 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20219 mv $tmp/out $tmp/in
20221 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20222 rm -f conftest.undefs
20223 mv conftest.tail conftest.undefs
20225 rm -f conftest.undefs
20227 cat >>$CONFIG_STATUS <<\_ACEOF
20228 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20229 # use $as_me), people would be surprised to read:
20230 # /* config.h. Generated by config.status. */
20231 if test x
"$ac_file" = x-
; then
20232 echo "/* Generated by configure. */" >$tmp/config.h
20234 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20236 cat $tmp/in >>$tmp/config.h
20238 if test x
"$ac_file" != x-
; then
20239 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20240 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20241 echo "$as_me: $ac_file is unchanged" >&6;}
20243 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20244 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20245 X"$ac_file" : 'X\(//\)[^/]' \| \
20246 X"$ac_file" : 'X\(//\)$' \| \
20247 X"$ac_file" : 'X\(/\)' \| \
20248 . : '\(.\)' 2>/dev/null ||
20250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20252 /^X\(\/\/\)$/{ s//\1/; q; }
20253 /^X\(\/\).*/{ s//\1/; q; }
20255 { if $as_mkdir_p; then
20260 while test ! -d "$as_dir"; do
20261 as_dirs
="$as_dir $as_dirs"
20262 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20263 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20264 X"$as_dir" : 'X\(//\)[^/]' \| \
20265 X"$as_dir" : 'X\(//\)$' \| \
20266 X"$as_dir" : 'X\(/\)' \| \
20267 . : '\(.\)' 2>/dev/null ||
20269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20271 /^X\(\/\/\)$/{ s//\1/; q; }
20272 /^X\(\/\).*/{ s//\1/; q; }
20275 test ! -n "$as_dirs" || mkdir
$as_dirs
20276 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20277 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20278 { (exit 1); exit 1; }; }; }
20281 mv $tmp/config.h
$ac_file
20285 rm -f $tmp/config.h
20287 # Compute $ac_file's index in $config_headers.
20289 for _am_header
in $config_headers :; do
20290 case $_am_header in
20291 $ac_file |
$ac_file:* )
20294 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20297 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20298 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20299 X$ac_file : 'X\(//\)[^/]' \| \
20300 X$ac_file : 'X\(//\)$' \| \
20301 X$ac_file : 'X\(/\)' \| \
20302 . : '\(.\)' 2>/dev/null ||
20304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20306 /^X\(\/\/\)$/{ s//\1/; q; }
20307 /^X\(\/\).*/{ s//\1/; q; }
20308 s/.*/./; q'`/stamp-h
$_am_stamp_count
20311 cat >>$CONFIG_STATUS <<\_ACEOF
20314 # CONFIG_COMMANDS section.
20316 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20317 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20318 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20319 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20320 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20321 X"$ac_dest" : 'X\(//\)[^/]' \| \
20322 X"$ac_dest" : 'X\(//\)$' \| \
20323 X"$ac_dest" : 'X\(/\)' \| \
20324 . : '\(.\)' 2>/dev/null ||
20326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20327 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20328 /^X\(\/\/\)$/{ s//\1/; q; }
20329 /^X\(\/\).*/{ s//\1/; q; }
20331 { if $as_mkdir_p; then
20336 while test ! -d "$as_dir"; do
20337 as_dirs
="$as_dir $as_dirs"
20338 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20340 X"$as_dir" : 'X\(//\)[^/]' \| \
20341 X"$as_dir" : 'X\(//\)$' \| \
20342 X"$as_dir" : 'X\(/\)' \| \
20343 . : '\(.\)' 2>/dev/null ||
20345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20346 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20347 /^X\(\/\/\)$/{ s//\1/; q; }
20348 /^X\(\/\).*/{ s//\1/; q; }
20351 test ! -n "$as_dirs" || mkdir
$as_dirs
20352 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20353 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20354 { (exit 1); exit 1; }; }; }
20358 if test "$ac_dir" != .
; then
20359 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20360 # A "../" for each directory in $ac_dir_suffix.
20361 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20363 ac_dir_suffix
= ac_top_builddir
=
20367 .
) # No --srcdir option. We are building in place.
20369 if test -z "$ac_top_builddir"; then
20372 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20374 [\\/]* | ?
:[\\/]* ) # Absolute path.
20375 ac_srcdir
=$srcdir$ac_dir_suffix;
20376 ac_top_srcdir
=$srcdir ;;
20377 *) # Relative path.
20378 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20379 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20382 # Do not use `cd foo && pwd` to compute absolute paths, because
20383 # the directories may not exist.
20385 .
) ac_abs_builddir
="$ac_dir";;
20388 .
) ac_abs_builddir
=`pwd`;;
20389 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20390 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20393 case $ac_abs_builddir in
20394 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20396 case ${ac_top_builddir}.
in
20397 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20398 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20399 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20402 case $ac_abs_builddir in
20403 .
) ac_abs_srcdir
=$ac_srcdir;;
20406 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20407 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20408 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20411 case $ac_abs_builddir in
20412 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20414 case $ac_top_srcdir in
20415 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20416 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20417 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20422 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20423 echo "$as_me: executing $ac_dest commands" >&6;}
20425 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20426 # Strip MF so we end up with the name of the file.
20427 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20428 # Check whether this is an Automake generated Makefile or not.
20429 # We used to match only the files named `Makefile.in', but
20430 # some people rename them; so instead we look at the file content.
20431 # Grep'ing the first line is not enough: some people post-process
20432 # each Makefile.in and add a new line on top of each file to say so.
20433 # So let's grep whole file.
20434 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
20435 dirpart
=`(dirname "$mf") 2>/dev/null ||
20436 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20437 X"$mf" : 'X\(//\)[^/]' \| \
20438 X"$mf" : 'X\(//\)$' \| \
20439 X"$mf" : 'X\(/\)' \| \
20440 . : '\(.\)' 2>/dev/null ||
20442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20443 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20444 /^X\(\/\/\)$/{ s//\1/; q; }
20445 /^X\(\/\).*/{ s//\1/; q; }
20450 # Extract the definition of DEPDIR, am__include, and am__quote
20451 # from the Makefile without running `make'.
20452 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20453 test -z "$DEPDIR" && continue
20454 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20455 test -z "am__include" && continue
20456 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20457 # When using ansi2knr, U may be empty or an underscore; expand it
20458 U
=`sed -n 's/^U = //p' < "$mf"`
20459 # Find all dependency output files, they are included files with
20460 # $(DEPDIR) in their names. We invoke sed twice because it is the
20461 # simplest approach to changing $(DEPDIR) to its actual value in the
20463 for file in `sed -n "
20464 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20465 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20466 # Make sure the directory exists.
20467 test -f "$dirpart/$file" && continue
20468 fdir
=`(dirname "$file") 2>/dev/null ||
20469 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20470 X"$file" : 'X\(//\)[^/]' \| \
20471 X"$file" : 'X\(//\)$' \| \
20472 X"$file" : 'X\(/\)' \| \
20473 . : '\(.\)' 2>/dev/null ||
20475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20477 /^X\(\/\/\)$/{ s//\1/; q; }
20478 /^X\(\/\).*/{ s//\1/; q; }
20480 { if $as_mkdir_p; then
20481 mkdir
-p $dirpart/$fdir
20483 as_dir
=$dirpart/$fdir
20485 while test ! -d "$as_dir"; do
20486 as_dirs
="$as_dir $as_dirs"
20487 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20488 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20489 X"$as_dir" : 'X\(//\)[^/]' \| \
20490 X"$as_dir" : 'X\(//\)$' \| \
20491 X"$as_dir" : 'X\(/\)' \| \
20492 . : '\(.\)' 2>/dev/null ||
20494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20495 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20496 /^X\(\/\/\)$/{ s//\1/; q; }
20497 /^X\(\/\).*/{ s//\1/; q; }
20500 test ! -n "$as_dirs" || mkdir
$as_dirs
20501 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20502 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
20503 { (exit 1); exit 1; }; }; }
20505 # echo "creating $dirpart/$file"
20506 echo '# dummy' > "$dirpart/$file"
20514 cat >>$CONFIG_STATUS <<\_ACEOF
20516 { (exit 0); exit 0; }
20518 chmod +x
$CONFIG_STATUS
20519 ac_clean_files
=$ac_clean_files_save
20522 # configure is writing to config.log, and then calls config.status.
20523 # config.status does its own redirection, appending to config.log.
20524 # Unfortunately, on DOS this fails, as config.log is still kept open
20525 # by configure, so config.status won't be able to write to it; its
20526 # output is simply discarded. So we exec the FD to /dev/null,
20527 # effectively closing config.log, so it can be properly (re)opened and
20528 # appended to by config.status. When coming back to configure, we
20529 # need to make the FD available again.
20530 if test "$no_create" != yes; then
20532 ac_config_status_args
=
20533 test "$silent" = yes &&
20534 ac_config_status_args
="$ac_config_status_args --quiet"
20536 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20538 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20539 # would make configure fail if this is the last instruction.
20540 $ac_cs_success ||
{ (exit 1); exit 1; }