2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for numlib 0.10.
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
='numlib'
425 PACKAGE_TARNAME
='numlib'
426 PACKAGE_VERSION
='0.10'
427 PACKAGE_STRING
='numlib 0.10'
428 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
430 ac_unique_file
="atotimet.c"
431 # Factoring default headers for most tests.
432 ac_includes_default
="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S 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 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 numlib 0.10 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 numlib 0.10:";;
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 numlib configure 0.10
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 numlib $as_me 0.10, 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 ac_config_headers="$ac_config_headers config.h"
1518 am__api_version="1.9"
1520 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1521 if test -f $ac_dir/install-sh; then
1523 ac_install_sh="$ac_aux_dir/install-sh -c"
1525 elif test -f $ac_dir/install.sh; then
1527 ac_install_sh="$ac_aux_dir/install.sh -c"
1529 elif test -f $ac_dir/shtool; then
1531 ac_install_sh="$ac_aux_dir/shtool install -c"
1535 if test -z "$ac_aux_dir"; then
1536 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1537 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1538 { (exit 1); exit 1; }; }
1540 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1541 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1542 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1544 # Find a good install program. We prefer a C program (faster),
1545 # so one script is as good as another. But avoid the broken or
1546 # incompatible versions:
1547 # SysV /etc/install, /usr/sbin/install
1548 # SunOS /usr/etc/install
1549 # IRIX /sbin/install
1551 # AmigaOS /C/install, which installs bootblocks on floppy discs
1552 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1553 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1554 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1555 # OS/2's system install, which has a completely different semantic
1556 # ./install, which can be erroneously created by make from ./install.sh.
1557 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1558 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1559 if test -z "$INSTALL"; then
1560 if test "${ac_cv_path_install+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1567 test -z "$as_dir" && as_dir
=.
1568 # Account for people who put trailing slashes in PATH elements.
1570 .
/ | .
// |
/cC
/* | \
1571 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1572 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1575 # OSF1 and SCO ODT 3.0 have their own names for install.
1576 # Don't use installbsd from OSF since it installs stuff as root
1578 for ac_prog
in ginstall scoinst
install; do
1579 for ac_exec_ext
in '' $ac_executable_extensions; do
1580 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1581 if test $ac_prog = install &&
1582 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1583 # AIX install. It has an incompatible calling convention.
1585 elif test $ac_prog = install &&
1586 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1587 # program-specific install script used by HP pwplus--don't use.
1590 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1602 if test "${ac_cv_path_install+set}" = set; then
1603 INSTALL
=$ac_cv_path_install
1605 # As a last resort, use the slow shell script. We don't cache a
1606 # path for INSTALL within a source directory, because that will
1607 # break other packages using the cache if that directory is
1608 # removed, or if the path is relative.
1609 INSTALL
=$ac_install_sh
1612 echo "$as_me:$LINENO: result: $INSTALL" >&5
1613 echo "${ECHO_T}$INSTALL" >&6
1615 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1616 # It thinks the first close brace ends the variable substitution.
1617 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1619 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1621 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1623 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1624 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1627 echo timestamp
> conftest.
file
1628 # Do `set' in a subshell so we don't clobber the current shell's
1629 # arguments. Must try -L first in case configure is actually a
1630 # symlink; some systems play weird games with the mod time of symlinks
1631 # (eg FreeBSD returns the mod time of the symlink's containing
1634 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1635 if test "$*" = "X"; then
1637 set X
`ls -t $srcdir/configure conftest.file`
1640 if test "$*" != "X $srcdir/configure conftest.file" \
1641 && test "$*" != "X conftest.file $srcdir/configure"; then
1643 # If neither matched, then we have a broken ls. This can happen
1644 # if, for instance, CONFIG_SHELL is bash and it inherits a
1645 # broken ls alias from the environment. This has actually
1646 # happened. Such a system could not be considered "sane".
1647 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1648 alias in your environment" >&5
1649 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1650 alias in your environment" >&2;}
1651 { (exit 1); exit 1; }; }
1654 test "$2" = conftest.
file
1660 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1661 Check your system clock" >&5
1662 echo "$as_me: error: newly created file is older than distributed files!
1663 Check your system clock" >&2;}
1664 { (exit 1); exit 1; }; }
1666 echo "$as_me:$LINENO: result: yes" >&5
1667 echo "${ECHO_T}yes" >&6
1668 test "$program_prefix" != NONE
&&
1669 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1670 # Use a double $ so make ignores it.
1671 test "$program_suffix" != NONE
&&
1672 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1673 # Double any \ or $. echo might interpret backslashes.
1674 # By default was `s,x,x', remove it if useless.
1675 cat <<\_ACEOF
>conftest.
sed
1676 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1678 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1681 # expand $ac_aux_dir to an absolute path
1682 am_aux_dir
=`cd $ac_aux_dir && pwd`
1684 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1685 # Use eval to expand $SHELL
1686 if eval "$MISSING --run true"; then
1687 am_missing_run
="$MISSING --run "
1690 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1691 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1694 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1695 # We used to keeping the `.' as first argument, in order to
1696 # allow $(mkdir_p) to be used without argument. As in
1697 # $(mkdir_p) $(somedir)
1698 # where $(somedir) is conditionally defined. However this is wrong
1700 # 1. if the package is installed by a user who cannot write `.'
1701 # make install will fail,
1702 # 2. the above comment should most certainly read
1703 # $(mkdir_p) $(DESTDIR)$(somedir)
1704 # so it does not work when $(somedir) is undefined and
1705 # $(DESTDIR) is not.
1706 # To support the latter case, we have to write
1707 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1708 # so the `.' trick is pointless.
1709 mkdir_p
='mkdir -p --'
1711 # On NextStep and OpenStep, the `mkdir' command does not
1712 # recognize any option. It will interpret all options as
1713 # directories to create, and then abort because `.' already
1715 for d
in .
/-p .
/--version;
1717 test -d $d && rmdir $d
1719 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1720 if test -f "$ac_aux_dir/mkinstalldirs"; then
1721 mkdir_p
='$(mkinstalldirs)'
1723 mkdir_p
='$(install_sh) -d'
1727 for ac_prog
in gawk mawk nawk
awk
1729 # Extract the first word of "$ac_prog", so it can be a program name with args.
1730 set dummy
$ac_prog; ac_word
=$2
1731 echo "$as_me:$LINENO: checking for $ac_word" >&5
1732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1733 if test "${ac_cv_prog_AWK+set}" = set; then
1734 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 if test -n "$AWK"; then
1737 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir
=.
1744 for ac_exec_ext
in '' $ac_executable_extensions; do
1745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1746 ac_cv_prog_AWK
="$ac_prog"
1747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1756 if test -n "$AWK"; then
1757 echo "$as_me:$LINENO: result: $AWK" >&5
1758 echo "${ECHO_T}$AWK" >&6
1760 echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6
1764 test -n "$AWK" && break
1767 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1768 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1769 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1770 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 cat >conftest.
make <<\_ACEOF
1775 @
echo 'ac_maketemp="$(MAKE)"'
1777 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1778 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1779 if test -n "$ac_maketemp"; then
1780 eval ac_cv_prog_make_
${ac_make}_set
=yes
1782 eval ac_cv_prog_make_
${ac_make}_set
=no
1786 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1787 echo "$as_me:$LINENO: result: yes" >&5
1788 echo "${ECHO_T}yes" >&6
1791 echo "$as_me:$LINENO: result: no" >&5
1792 echo "${ECHO_T}no" >&6
1793 SET_MAKE
="MAKE=${MAKE-make}"
1796 rm -rf .tst
2>/dev
/null
1797 mkdir .tst
2>/dev
/null
1798 if test -d .tst
; then
1803 rmdir .tst
2>/dev
/null
1805 # test to see if srcdir already configured
1806 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1807 test -f $srcdir/config.status
; then
1808 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1809 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1810 { (exit 1); exit 1; }; }
1813 # test whether we have cygpath
1814 if test -z "$CYGPATH_W"; then
1815 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1816 CYGPATH_W
='cygpath -w'
1823 # Define the identity of the package.
1828 # Some tools Automake needs.
1830 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1833 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1836 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1839 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1842 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1844 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1846 # Installed binaries are usually stripped using `strip' when the user
1847 # run `make install-strip'. However `strip' might not be the right
1848 # tool to use in cross-compilation environments, therefore Automake
1849 # will honor the `STRIP' environment variable to overrule this program.
1850 if test "$cross_compiling" != no
; then
1851 if test -n "$ac_tool_prefix"; then
1852 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1853 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1854 echo "$as_me:$LINENO: checking for $ac_word" >&5
1855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1856 if test "${ac_cv_prog_STRIP+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 if test -n "$STRIP"; then
1860 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1866 test -z "$as_dir" && as_dir
=.
1867 for ac_exec_ext
in '' $ac_executable_extensions; do
1868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1869 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1878 STRIP
=$ac_cv_prog_STRIP
1879 if test -n "$STRIP"; then
1880 echo "$as_me:$LINENO: result: $STRIP" >&5
1881 echo "${ECHO_T}$STRIP" >&6
1883 echo "$as_me:$LINENO: result: no" >&5
1884 echo "${ECHO_T}no" >&6
1888 if test -z "$ac_cv_prog_STRIP"; then
1890 # Extract the first word of "strip", so it can be a program name with args.
1891 set dummy strip
; ac_word
=$2
1892 echo "$as_me:$LINENO: checking for $ac_word" >&5
1893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1894 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1897 if test -n "$ac_ct_STRIP"; then
1898 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1904 test -z "$as_dir" && as_dir
=.
1905 for ac_exec_ext
in '' $ac_executable_extensions; do
1906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1907 ac_cv_prog_ac_ct_STRIP
="strip"
1908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1917 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1918 if test -n "$ac_ct_STRIP"; then
1919 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1920 echo "${ECHO_T}$ac_ct_STRIP" >&6
1922 echo "$as_me:$LINENO: result: no" >&5
1923 echo "${ECHO_T}no" >&6
1928 STRIP
="$ac_cv_prog_STRIP"
1932 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1934 # We need awk for the "check" target. The system "awk" is bad on
1936 # Always define AMTAR for backward compatibility.
1938 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1940 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1947 for ac_prog
in gawk mawk nawk
awk
1949 # Extract the first word of "$ac_prog", so it can be a program name with args.
1950 set dummy
$ac_prog; ac_word
=$2
1951 echo "$as_me:$LINENO: checking for $ac_word" >&5
1952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1953 if test "${ac_cv_prog_AWK+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 if test -n "$AWK"; then
1957 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1963 test -z "$as_dir" && as_dir
=.
1964 for ac_exec_ext
in '' $ac_executable_extensions; do
1965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1966 ac_cv_prog_AWK
="$ac_prog"
1967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1976 if test -n "$AWK"; then
1977 echo "$as_me:$LINENO: result: $AWK" >&5
1978 echo "${ECHO_T}$AWK" >&6
1980 echo "$as_me:$LINENO: result: no" >&5
1981 echo "${ECHO_T}no" >&6
1984 test -n "$AWK" && break
1988 ac_cpp
='$CPP $CPPFLAGS'
1989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1992 if test -n "$ac_tool_prefix"; then
1993 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1994 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1995 echo "$as_me:$LINENO: checking for $ac_word" >&5
1996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1997 if test "${ac_cv_prog_CC+set}" = set; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 if test -n "$CC"; then
2001 ac_cv_prog_CC
="$CC" # Let the user override the test.
2003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2007 test -z "$as_dir" && as_dir
=.
2008 for ac_exec_ext
in '' $ac_executable_extensions; do
2009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2010 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2020 if test -n "$CC"; then
2021 echo "$as_me:$LINENO: result: $CC" >&5
2022 echo "${ECHO_T}$CC" >&6
2024 echo "$as_me:$LINENO: result: no" >&5
2025 echo "${ECHO_T}no" >&6
2029 if test -z "$ac_cv_prog_CC"; then
2031 # Extract the first word of "gcc", so it can be a program name with args.
2032 set dummy gcc
; ac_word
=$2
2033 echo "$as_me:$LINENO: checking for $ac_word" >&5
2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2035 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 if test -n "$ac_ct_CC"; then
2039 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2045 test -z "$as_dir" && as_dir
=.
2046 for ac_exec_ext
in '' $ac_executable_extensions; do
2047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2048 ac_cv_prog_ac_ct_CC
="gcc"
2049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2058 if test -n "$ac_ct_CC"; then
2059 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2060 echo "${ECHO_T}$ac_ct_CC" >&6
2062 echo "$as_me:$LINENO: result: no" >&5
2063 echo "${ECHO_T}no" >&6
2071 if test -z "$CC"; then
2072 if test -n "$ac_tool_prefix"; then
2073 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2074 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 if test -n "$CC"; then
2081 ac_cv_prog_CC
="$CC" # Let the user override the test.
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 for ac_exec_ext
in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 if test -n "$CC"; then
2101 echo "$as_me:$LINENO: result: $CC" >&5
2102 echo "${ECHO_T}$CC" >&6
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2109 if test -z "$ac_cv_prog_CC"; then
2111 # Extract the first word of "cc", so it can be a program name with args.
2112 set dummy cc
; ac_word
=$2
2113 echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2115 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2116 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 if test -n "$ac_ct_CC"; then
2119 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir
=.
2126 for ac_exec_ext
in '' $ac_executable_extensions; do
2127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2128 ac_cv_prog_ac_ct_CC
="cc"
2129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2138 if test -n "$ac_ct_CC"; then
2139 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2140 echo "${ECHO_T}$ac_ct_CC" >&6
2142 echo "$as_me:$LINENO: result: no" >&5
2143 echo "${ECHO_T}no" >&6
2152 if test -z "$CC"; then
2153 # Extract the first word of "cc", so it can be a program name with args.
2154 set dummy cc
; ac_word
=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$CC"; then
2161 ac_cv_prog_CC
="$CC" # Let the user override the test.
2164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2168 test -z "$as_dir" && as_dir
=.
2169 for ac_exec_ext
in '' $ac_executable_extensions; do
2170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2171 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2172 ac_prog_rejected
=yes
2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 if test $ac_prog_rejected = yes; then
2183 # We found a bogon in the path, so make sure we never use it.
2184 set dummy
$ac_cv_prog_CC
2186 if test $# != 0; then
2187 # We chose a different compiler from the bogus one.
2188 # However, it has the same basename, so the bogon will be chosen
2189 # first if we set CC to just the basename; use the full file name.
2191 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2197 if test -n "$CC"; then
2198 echo "$as_me:$LINENO: result: $CC" >&5
2199 echo "${ECHO_T}$CC" >&6
2201 echo "$as_me:$LINENO: result: no" >&5
2202 echo "${ECHO_T}no" >&6
2206 if test -z "$CC"; then
2207 if test -n "$ac_tool_prefix"; then
2210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2211 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2212 echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2214 if test "${ac_cv_prog_CC+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 if test -n "$CC"; then
2218 ac_cv_prog_CC
="$CC" # Let the user override the test.
2220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2224 test -z "$as_dir" && as_dir
=.
2225 for ac_exec_ext
in '' $ac_executable_extensions; do
2226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2227 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 if test -n "$CC"; then
2238 echo "$as_me:$LINENO: result: $CC" >&5
2239 echo "${ECHO_T}$CC" >&6
2241 echo "$as_me:$LINENO: result: no" >&5
2242 echo "${ECHO_T}no" >&6
2245 test -n "$CC" && break
2248 if test -z "$CC"; then
2252 # Extract the first word of "$ac_prog", so it can be a program name with args.
2253 set dummy
$ac_prog; ac_word
=$2
2254 echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 if test -n "$ac_ct_CC"; then
2260 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir
=.
2267 for ac_exec_ext
in '' $ac_executable_extensions; do
2268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_ac_ct_CC
="$ac_prog"
2270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2279 if test -n "$ac_ct_CC"; then
2280 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2281 echo "${ECHO_T}$ac_ct_CC" >&6
2283 echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2287 test -n "$ac_ct_CC" && break
2296 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2297 See \`config.log' for more details." >&5
2298 echo "$as_me: error: no acceptable C compiler found in \$PATH
2299 See \`config.log' for more details." >&2;}
2300 { (exit 1); exit 1; }; }
2302 # Provide some information about the compiler.
2303 echo "$as_me:$LINENO:" \
2304 "checking for C compiler version" >&5
2305 ac_compiler
=`set X $ac_compile; echo $2`
2306 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2307 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }
2311 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2312 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }
2316 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2317 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }
2322 cat >conftest.
$ac_ext <<_ACEOF
2325 cat confdefs.h
>>conftest.
$ac_ext
2326 cat >>conftest.
$ac_ext <<_ACEOF
2327 /* end confdefs.h. */
2337 ac_clean_files_save
=$ac_clean_files
2338 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2339 # Try to create an executable without -o first, disregard a.out.
2340 # It will help us diagnose broken compilers, and finding out an intuition
2342 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2343 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2344 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2345 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2346 (eval $ac_link_default) 2>&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }; then
2350 # Find the output, starting from the most likely. This scheme is
2351 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2354 # Be careful to initialize this variable, since it used to be cached.
2355 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2357 # b.out is created by i960 compilers.
2358 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2360 test -f "$ac_file" ||
continue
2362 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2365 # This is the source file.
2368 # We found the default executable, but exeext='' is most
2372 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2373 # FIXME: I believe we export ac_cv_exeext for Libtool,
2374 # but it would be cool to find out if it's true. Does anybody
2375 # maintain Libtool? --akim.
2383 echo "$as_me: failed program was:" >&5
2384 sed 's/^/| /' conftest.
$ac_ext >&5
2386 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2387 See \`config.log' for more details." >&5
2388 echo "$as_me: error: C compiler cannot create executables
2389 See \`config.log' for more details." >&2;}
2390 { (exit 77); exit 77; }; }
2393 ac_exeext
=$ac_cv_exeext
2394 echo "$as_me:$LINENO: result: $ac_file" >&5
2395 echo "${ECHO_T}$ac_file" >&6
2397 # Check the compiler produces executables we can run. If not, either
2398 # the compiler is broken, or we cross compile.
2399 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2400 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2401 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2402 # If not cross compiling, check that we can run a simple program.
2403 if test "$cross_compiling" != yes; then
2404 if { ac_try
='./$ac_file'
2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); }; }; then
2412 if test "$cross_compiling" = maybe
; then
2415 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2416 If you meant to cross compile, use \`--host'.
2417 See \`config.log' for more details." >&5
2418 echo "$as_me: error: cannot run C compiled programs.
2419 If you meant to cross compile, use \`--host'.
2420 See \`config.log' for more details." >&2;}
2421 { (exit 1); exit 1; }; }
2425 echo "$as_me:$LINENO: result: yes" >&5
2426 echo "${ECHO_T}yes" >&6
2428 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2429 ac_clean_files
=$ac_clean_files_save
2430 # Check the compiler produces executables we can run. If not, either
2431 # the compiler is broken, or we cross compile.
2432 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2433 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2434 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2435 echo "${ECHO_T}$cross_compiling" >&6
2437 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2438 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2440 (eval $ac_link) 2>&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }; then
2444 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2445 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2446 # work properly (i.e., refer to `conftest.exe'), while it won't with
2448 for ac_file
in conftest.exe conftest conftest.
*; do
2449 test -f "$ac_file" ||
continue
2451 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2452 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2459 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2460 See \`config.log' for more details." >&5
2461 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2462 See \`config.log' for more details." >&2;}
2463 { (exit 1); exit 1; }; }
2466 rm -f conftest
$ac_cv_exeext
2467 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2468 echo "${ECHO_T}$ac_cv_exeext" >&6
2470 rm -f conftest.
$ac_ext
2471 EXEEXT
=$ac_cv_exeext
2473 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2474 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2475 if test "${ac_cv_objext+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 cat >conftest.
$ac_ext <<_ACEOF
2481 cat confdefs.h
>>conftest.
$ac_ext
2482 cat >>conftest.
$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2493 rm -f conftest.o conftest.obj
2494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2495 (eval $ac_compile) 2>&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; then
2499 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2501 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2502 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2507 echo "$as_me: failed program was:" >&5
2508 sed 's/^/| /' conftest.
$ac_ext >&5
2510 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2513 See \`config.log' for more details." >&2;}
2514 { (exit 1); exit 1; }; }
2517 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2519 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2520 echo "${ECHO_T}$ac_cv_objext" >&6
2521 OBJEXT
=$ac_cv_objext
2523 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2524 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2525 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 cat >conftest.
$ac_ext <<_ACEOF
2531 cat confdefs.h
>>conftest.
$ac_ext
2532 cat >>conftest.
$ac_ext <<_ACEOF
2533 /* end confdefs.h. */
2546 rm -f conftest.
$ac_objext
2547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2548 (eval $ac_compile) 2>conftest.er1
2550 grep -v '^ *+' conftest.er1
>conftest.err
2552 cat conftest.err
>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); } &&
2555 { ac_try
='test -z "$ac_c_werror_flag"
2556 || test ! -s conftest.err'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; } &&
2562 { ac_try
='test -s conftest.$ac_objext'
2563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); }; }; then
2570 echo "$as_me: failed program was:" >&5
2571 sed 's/^/| /' conftest.
$ac_ext >&5
2575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2576 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2579 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2580 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2581 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2582 ac_test_CFLAGS
=${CFLAGS+set}
2583 ac_save_CFLAGS
=$CFLAGS
2585 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2586 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2587 if test "${ac_cv_prog_cc_g+set}" = set; then
2588 echo $ECHO_N "(cached) $ECHO_C" >&6
2590 cat >conftest.
$ac_ext <<_ACEOF
2593 cat confdefs.h
>>conftest.
$ac_ext
2594 cat >>conftest.
$ac_ext <<_ACEOF
2595 /* end confdefs.h. */
2605 rm -f conftest.
$ac_objext
2606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2607 (eval $ac_compile) 2>conftest.er1
2609 grep -v '^ *+' conftest.er1
>conftest.err
2611 cat conftest.err
>&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); } &&
2614 { ac_try
='test -z "$ac_c_werror_flag"
2615 || test ! -s conftest.err'
2616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }; } &&
2621 { ac_try
='test -s conftest.$ac_objext'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; }; then
2629 echo "$as_me: failed program was:" >&5
2630 sed 's/^/| /' conftest.
$ac_ext >&5
2634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2636 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2637 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2638 if test "$ac_test_CFLAGS" = set; then
2639 CFLAGS
=$ac_save_CFLAGS
2640 elif test $ac_cv_prog_cc_g = yes; then
2641 if test "$GCC" = yes; then
2647 if test "$GCC" = yes; then
2653 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2654 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2655 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 ac_cv_prog_cc_stdc
=no
2660 cat >conftest.
$ac_ext <<_ACEOF
2663 cat confdefs.h
>>conftest.
$ac_ext
2664 cat >>conftest.
$ac_ext <<_ACEOF
2665 /* end confdefs.h. */
2668 #include <sys/types.h>
2669 #include <sys/stat.h>
2670 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2671 struct buf { int x; };
2672 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2673 static char *e (p, i)
2679 static char *f (char * (*g) (char **, int), char **p, ...)
2684 s = g (p, va_arg (v,int));
2689 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2690 function prototypes and stuff, but not '\xHH' hex character constants.
2691 These don't provoke an error unfortunately, instead are silently treated
2692 as 'x'. The following induces an error, until -std1 is added to get
2693 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2694 array size at least. It's necessary to write '\x00'==0 to get something
2695 that's true only with -std1. */
2696 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2698 int test (int i, double x);
2699 struct s1 {int (*f) (int a);};
2700 struct s2 {int (*f) (double a);};
2701 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2707 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2712 # Don't try gcc -ansi; that turns off useful extensions and
2713 # breaks some systems' header files.
2714 # AIX -qlanglvl=ansi
2715 # Ultrix and OSF/1 -std1
2716 # HP-UX 10.20 and later -Ae
2717 # HP-UX older versions -Aa -D_HPUX_SOURCE
2718 # SVR4 -Xc -D__EXTENSIONS__
2719 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2721 CC
="$ac_save_CC $ac_arg"
2722 rm -f conftest.
$ac_objext
2723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2724 (eval $ac_compile) 2>conftest.er1
2726 grep -v '^ *+' conftest.er1
>conftest.err
2728 cat conftest.err
>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } &&
2731 { ac_try
='test -z "$ac_c_werror_flag"
2732 || test ! -s conftest.err'
2733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; } &&
2738 { ac_try
='test -s conftest.$ac_objext'
2739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }; }; then
2744 ac_cv_prog_cc_stdc
=$ac_arg
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.
$ac_ext >&5
2751 rm -f conftest.err conftest.
$ac_objext
2753 rm -f conftest.
$ac_ext conftest.
$ac_objext
2758 case "x$ac_cv_prog_cc_stdc" in
2760 echo "$as_me:$LINENO: result: none needed" >&5
2761 echo "${ECHO_T}none needed" >&6 ;;
2763 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2764 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2765 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2768 # Some people use a C++ compiler to compile C. Since we use `exit',
2769 # in C++ we need to declare it. In case someone uses the same compiler
2770 # for both compiling C and C++ we need to have the C++ compiler decide
2771 # the declaration of exit, since it's the most demanding environment.
2772 cat >conftest.
$ac_ext <<_ACEOF
2777 rm -f conftest.
$ac_objext
2778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2779 (eval $ac_compile) 2>conftest.er1
2781 grep -v '^ *+' conftest.er1
>conftest.err
2783 cat conftest.err
>&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); } &&
2786 { ac_try
='test -z "$ac_c_werror_flag"
2787 || test ! -s conftest.err'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; } &&
2793 { ac_try
='test -s conftest.$ac_objext'
2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; }; then
2799 for ac_declaration
in \
2801 'extern "C" void std::exit (int) throw (); using std::exit;' \
2802 'extern "C" void std::exit (int); using std::exit;' \
2803 'extern "C" void exit (int) throw ();' \
2804 'extern "C" void exit (int);' \
2807 cat >conftest.
$ac_ext <<_ACEOF
2810 cat confdefs.h
>>conftest.
$ac_ext
2811 cat >>conftest.
$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2823 rm -f conftest.
$ac_objext
2824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2825 (eval $ac_compile) 2>conftest.er1
2827 grep -v '^ *+' conftest.er1
>conftest.err
2829 cat conftest.err
>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); } &&
2832 { ac_try
='test -z "$ac_c_werror_flag"
2833 || test ! -s conftest.err'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; } &&
2839 { ac_try
='test -s conftest.$ac_objext'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; }; then
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.
$ac_ext >&5
2852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2853 cat >conftest.
$ac_ext <<_ACEOF
2856 cat confdefs.h
>>conftest.
$ac_ext
2857 cat >>conftest.
$ac_ext <<_ACEOF
2858 /* end confdefs.h. */
2868 rm -f conftest.
$ac_objext
2869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2870 (eval $ac_compile) 2>conftest.er1
2872 grep -v '^ *+' conftest.er1
>conftest.err
2874 cat conftest.err
>&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); } &&
2877 { ac_try
='test -z "$ac_c_werror_flag"
2878 || test ! -s conftest.err'
2879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }; } &&
2884 { ac_try
='test -s conftest.$ac_objext'
2885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }; }; then
2892 echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.
$ac_ext >&5
2896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2899 if test -n "$ac_declaration"; then
2900 echo '#ifdef __cplusplus' >>confdefs.h
2901 echo $ac_declaration >>confdefs.h
2902 echo '#endif' >>confdefs.h
2906 echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.
$ac_ext >&5
2910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2912 ac_cpp
='$CPP $CPPFLAGS'
2913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2916 DEPDIR
="${am__leading_dot}deps"
2918 ac_config_commands
="$ac_config_commands depfiles"
2921 am_make
=${MAKE-make}
2922 cat > confinc
<< 'END'
2927 # If we don't find an include directive, just comment out the code.
2928 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2929 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2933 # First try GNU make style include.
2934 echo "include confinc" > confmf
2935 # We grep out `Entering directory' and `Leaving directory'
2936 # messages which can occur if `w' ends up in MAKEFLAGS.
2937 # In particular we don't look at `^make:' because GNU make might
2938 # be invoked under some other name (usually "gmake"), in which
2939 # case it prints its new name instead of `make'.
2940 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2945 # Now try BSD make style include.
2946 if test "$am__include" = "#"; then
2947 echo '.include "confinc"' > confmf
2948 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2949 am__include
=.include
2956 echo "$as_me:$LINENO: result: $_am_result" >&5
2957 echo "${ECHO_T}$_am_result" >&6
2958 rm -f confinc confmf
2960 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2961 if test "${enable_dependency_tracking+set}" = set; then
2962 enableval
="$enable_dependency_tracking"
2965 if test "x$enable_dependency_tracking" != xno
; then
2966 am_depcomp
="$ac_aux_dir/depcomp"
2971 if test "x$enable_dependency_tracking" != xno; then
2982 depcc
="$CC" am_compiler_list
=
2984 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2985 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2986 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2990 # We make a subdir and do the tests there. Otherwise we can end up
2991 # making bogus files that we don't know about and never remove. For
2992 # instance it was reported that on HP-UX the gcc test will end up
2993 # making a dummy file named `D' -- because `-MD' means `put the output
2996 # Copy depcomp to subdir because otherwise we won't find it if we're
2997 # using a relative directory.
2998 cp "$am_depcomp" conftest.dir
3000 # We will build objects and dependencies in a subdirectory because
3001 # it helps to detect inapplicable dependency modes. For instance
3002 # both Tru64's cc and ICC support -MD to output dependencies as a
3003 # side effect of compilation, but ICC will put the dependencies in
3004 # the current directory while Tru64 will put them in the object
3008 am_cv_CC_dependencies_compiler_type
=none
3009 if test "$am_compiler_list" = ""; then
3010 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3012 for depmode
in $am_compiler_list; do
3013 # Setup a source with many dependencies, because some compilers
3014 # like to wrap large dependency lists on column 80 (with \), and
3015 # we should not choose a depcomp mode which is confused by this.
3017 # We need to recreate these files for each test, as the compiler may
3018 # overwrite some of them when testing with obscure command lines.
3019 # This happens at least with the AIX C compiler.
3021 for i
in 1 2 3 4 5 6; do
3022 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3023 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3024 # Solaris 8's {/usr,}/bin/sh.
3025 touch sub
/conftst
$i.h
3027 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3031 # after this tag, mechanisms are not by side-effect, so they'll
3032 # only be used when explicitly requested
3033 if test "x$enable_dependency_tracking" = xyes
; then
3041 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3042 # mode. It turns out that the SunPro C++ compiler does not properly
3043 # handle `-M -o', and we need to detect this.
3044 if depmode
=$depmode \
3045 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3046 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3047 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3048 >/dev
/null
2>conftest.err
&&
3049 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3050 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3051 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3052 # icc doesn't choke on unknown options, it will just issue warnings
3053 # or remarks (even with -Werror). So we grep stderr for any message
3054 # that says an option was ignored or not supported.
3055 # When given -MP, icc 7.0 and 7.1 complain thusly:
3056 # icc: Command line warning: ignoring option '-M'; no argument required
3057 # The diagnosis changed in icc 8.0:
3058 # icc: Command line remark: option '-MP' not supported
3059 if (grep 'ignoring option' conftest.err ||
3060 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3061 am_cv_CC_dependencies_compiler_type
=$depmode
3070 am_cv_CC_dependencies_compiler_type
=none
3074 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3075 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3076 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3081 test "x$enable_dependency_tracking" != xno \
3082 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3084 am__fastdepCC_FALSE
='#'
3086 am__fastdepCC_TRUE
='#'
3087 am__fastdepCC_FALSE
=
3091 # Find a good install program. We prefer a C program (faster),
3092 # so one script is as good as another. But avoid the broken or
3093 # incompatible versions:
3094 # SysV /etc/install, /usr/sbin/install
3095 # SunOS /usr/etc/install
3096 # IRIX /sbin/install
3098 # AmigaOS /C/install, which installs bootblocks on floppy discs
3099 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3100 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3101 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3102 # OS/2's system install, which has a completely different semantic
3103 # ./install, which can be erroneously created by make from ./install.sh.
3104 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3105 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3106 if test -z "$INSTALL"; then
3107 if test "${ac_cv_path_install+set}" = set; then
3108 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir
=.
3115 # Account for people who put trailing slashes in PATH elements.
3117 .
/ | .
// |
/cC
/* | \
3118 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3119 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3122 # OSF1 and SCO ODT 3.0 have their own names for install.
3123 # Don't use installbsd from OSF since it installs stuff as root
3125 for ac_prog
in ginstall scoinst
install; do
3126 for ac_exec_ext
in '' $ac_executable_extensions; do
3127 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3128 if test $ac_prog = install &&
3129 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3130 # AIX install. It has an incompatible calling convention.
3132 elif test $ac_prog = install &&
3133 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3134 # program-specific install script used by HP pwplus--don't use.
3137 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3149 if test "${ac_cv_path_install+set}" = set; then
3150 INSTALL
=$ac_cv_path_install
3152 # As a last resort, use the slow shell script. We don't cache a
3153 # path for INSTALL within a source directory, because that will
3154 # break other packages using the cache if that directory is
3155 # removed, or if the path is relative.
3156 INSTALL
=$ac_install_sh
3159 echo "$as_me:$LINENO: result: $INSTALL" >&5
3160 echo "${ECHO_T}$INSTALL" >&6
3162 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3163 # It thinks the first close brace ends the variable substitution.
3164 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3166 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3168 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3170 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3171 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3173 if test "$LN_S" = "ln -s"; then
3174 echo "$as_me:$LINENO: result: yes" >&5
3175 echo "${ECHO_T}yes" >&6
3177 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3178 echo "${ECHO_T}no, using $LN_S" >&6
3181 # Check whether --enable-shared or --disable-shared was given.
3182 if test "${enable_shared+set}" = set; then
3183 enableval
="$enable_shared"
3184 p
=${PACKAGE-default}
3186 yes) enable_shared
=yes ;;
3187 no
) enable_shared
=no
;;
3190 # Look at the argument we got. We use all the common list separators.
3191 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3192 for pkg
in $enableval; do
3194 if test "X$pkg" = "X$p"; then
3205 # Check whether --enable-static or --disable-static was given.
3206 if test "${enable_static+set}" = set; then
3207 enableval
="$enable_static"
3208 p
=${PACKAGE-default}
3210 yes) enable_static
=yes ;;
3211 no
) enable_static
=no
;;
3214 # Look at the argument we got. We use all the common list separators.
3215 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3216 for pkg
in $enableval; do
3218 if test "X$pkg" = "X$p"; then
3229 # Check whether --enable-fast-install or --disable-fast-install was given.
3230 if test "${enable_fast_install+set}" = set; then
3231 enableval
="$enable_fast_install"
3232 p
=${PACKAGE-default}
3234 yes) enable_fast_install
=yes ;;
3235 no
) enable_fast_install
=no
;;
3237 enable_fast_install
=no
3238 # Look at the argument we got. We use all the common list separators.
3239 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3240 for pkg
in $enableval; do
3242 if test "X$pkg" = "X$p"; then
3243 enable_fast_install
=yes
3250 enable_fast_install
=yes
3253 # Make sure we can run config.sub.
3254 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3255 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3256 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3257 { (exit 1); exit 1; }; }
3259 echo "$as_me:$LINENO: checking build system type" >&5
3260 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3261 if test "${ac_cv_build+set}" = set; then
3262 echo $ECHO_N "(cached) $ECHO_C" >&6
3264 ac_cv_build_alias
=$build_alias
3265 test -z "$ac_cv_build_alias" &&
3266 ac_cv_build_alias
=`$ac_config_guess`
3267 test -z "$ac_cv_build_alias" &&
3268 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3269 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3270 { (exit 1); exit 1; }; }
3271 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3272 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3273 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3274 { (exit 1); exit 1; }; }
3277 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3278 echo "${ECHO_T}$ac_cv_build" >&6
3280 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3281 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3282 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3285 echo "$as_me:$LINENO: checking host system type" >&5
3286 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3287 if test "${ac_cv_host+set}" = set; then
3288 echo $ECHO_N "(cached) $ECHO_C" >&6
3290 ac_cv_host_alias
=$host_alias
3291 test -z "$ac_cv_host_alias" &&
3292 ac_cv_host_alias
=$ac_cv_build_alias
3293 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3294 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3295 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3296 { (exit 1); exit 1; }; }
3299 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3300 echo "${ECHO_T}$ac_cv_host" >&6
3302 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3303 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3304 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3307 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3308 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3309 if test "${lt_cv_path_SED+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 # Loop through the user's path and test for sed and gsed.
3313 # Then use that list of sed's as ones to test for truncation.
3314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir
=.
3319 for lt_ac_prog
in sed gsed
; do
3320 for ac_exec_ext
in '' $ac_executable_extensions; do
3321 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3322 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3330 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3331 # along with /bin/sed that truncates output.
3332 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3333 test ! -f $lt_ac_sed && continue
3334 cat /dev
/null
> conftest.
in
3336 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3337 # Check for GNU sed and select it if it is found.
3338 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3339 lt_cv_path_SED
=$lt_ac_sed
3343 cat conftest.
in conftest.
in >conftest.tmp
3344 mv conftest.tmp conftest.
in
3345 cp conftest.
in conftest.
nl
3347 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3348 cmp -s conftest.out conftest.
nl ||
break
3349 # 10000 chars as input seems more than enough
3350 test $lt_ac_count -gt 10 && break
3351 lt_ac_count
=`expr $lt_ac_count + 1`
3352 if test $lt_ac_count -gt $lt_ac_max; then
3353 lt_ac_max
=$lt_ac_count
3354 lt_cv_path_SED
=$lt_ac_sed
3363 echo "$as_me:$LINENO: result: $SED" >&5
3364 echo "${ECHO_T}$SED" >&6
3366 echo "$as_me:$LINENO: checking for egrep" >&5
3367 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3368 if test "${ac_cv_prog_egrep+set}" = set; then
3369 echo $ECHO_N "(cached) $ECHO_C" >&6
3371 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3372 then ac_cv_prog_egrep
='grep -E'
3373 else ac_cv_prog_egrep
='egrep'
3376 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3377 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3378 EGREP
=$ac_cv_prog_egrep
3382 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3383 if test "${with_gnu_ld+set}" = set; then
3384 withval
="$with_gnu_ld"
3385 test "$withval" = no || with_gnu_ld
=yes
3390 if test "$GCC" = yes; then
3391 # Check if gcc -print-prog-name=ld gives a path.
3392 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3393 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3396 # gcc leaves a trailing carriage return which upsets mingw
3397 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3399 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3402 # Accept absolute paths.
3404 re_direlt
='/[^/][^/]*/\.\./'
3405 # Canonicalize the pathname of ld
3406 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3407 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3408 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3410 test -z "$LD" && LD
="$ac_prog"
3413 # If it fails, then pretend we aren't using GCC.
3417 # If it is relative, then search for the first ld in PATH.
3421 elif test "$with_gnu_ld" = yes; then
3422 echo "$as_me:$LINENO: checking for GNU ld" >&5
3423 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3425 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3426 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3428 if test "${lt_cv_path_LD+set}" = set; then
3429 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 if test -z "$LD"; then
3432 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3433 for ac_dir
in $PATH; do
3435 test -z "$ac_dir" && ac_dir
=.
3436 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3437 lt_cv_path_LD
="$ac_dir/$ac_prog"
3438 # Check to see if the program is GNU ld. I'd rather use --version,
3439 # but apparently some variants of GNU ld only accept -v.
3440 # Break only if it was the GNU/non-GNU ld that we prefer.
3441 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3442 *GNU
* |
*'with BFD'*)
3443 test "$with_gnu_ld" != no
&& break
3446 test "$with_gnu_ld" != yes && break
3453 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3458 if test -n "$LD"; then
3459 echo "$as_me:$LINENO: result: $LD" >&5
3460 echo "${ECHO_T}$LD" >&6
3462 echo "$as_me:$LINENO: result: no" >&5
3463 echo "${ECHO_T}no" >&6
3465 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3466 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3467 { (exit 1); exit 1; }; }
3468 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3469 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3470 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3471 echo $ECHO_N "(cached) $ECHO_C" >&6
3473 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3474 case `$LD -v 2>&1 </dev/null` in
3475 *GNU
* |
*'with BFD'*)
3476 lt_cv_prog_gnu_ld
=yes
3479 lt_cv_prog_gnu_ld
=no
3483 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3484 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3485 with_gnu_ld
=$lt_cv_prog_gnu_ld
3488 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3489 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3490 if test "${lt_cv_ld_reload_flag+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 lt_cv_ld_reload_flag
='-r'
3495 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3496 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3497 reload_flag
=$lt_cv_ld_reload_flag
3498 case $reload_flag in
3500 *) reload_flag
=" $reload_flag" ;;
3502 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3505 if test "$GCC" = yes; then
3506 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3508 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3513 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3514 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3515 if test "${lt_cv_path_NM+set}" = set; then
3516 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 if test -n "$NM"; then
3519 # Let the user override the test.
3522 lt_nm_to_check
="${ac_tool_prefix}nm"
3523 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3524 lt_nm_to_check
="$lt_nm_to_check nm"
3526 for lt_tmp_nm
in $lt_nm_to_check; do
3527 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3528 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3530 test -z "$ac_dir" && ac_dir
=.
3531 tmp_nm
="$ac_dir/$lt_tmp_nm"
3532 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3533 # Check to see if the nm accepts a BSD-compat flag.
3534 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3535 # nm: unknown option "B" ignored
3536 # Tru64's nm complains that /dev/null is an invalid object file
3537 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3538 */dev
/null
* |
*'Invalid file or object type'*)
3539 lt_cv_path_NM
="$tmp_nm -B"
3543 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3545 lt_cv_path_NM
="$tmp_nm -p"
3549 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3550 continue # so that we can try to find one that supports BSD flags
3559 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3562 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3563 echo "${ECHO_T}$lt_cv_path_NM" >&6
3566 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3567 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3568 if test "${lt_cv_deplibs_check_method+set}" = set; then
3569 echo $ECHO_N "(cached) $ECHO_C" >&6
3571 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3572 lt_cv_file_magic_test_file
=
3573 lt_cv_deplibs_check_method
='unknown'
3574 # Need to set the preceding variable on all platforms that support
3575 # interlibrary dependencies.
3576 # 'none' -- dependencies not supported.
3577 # `unknown' -- same as none, but documents that we really don't know.
3578 # 'pass_all' -- all dependencies passed with no checks.
3579 # 'test_compile' -- check by making test program.
3580 # 'file_magic [[regex]]' -- check by looking for files in library path
3581 # which responds to the $file_magic_cmd with a given extended regex.
3582 # If you have `file' or equivalent on your system and you're not sure
3583 # whether `pass_all' will *always* work, you probably want this one.
3587 lt_cv_deplibs_check_method
=pass_all
3591 lt_cv_deplibs_check_method
=pass_all
3595 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3596 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3597 lt_cv_file_magic_test_file
=/shlib
/libc.so
3601 # func_win32_libid is a shell function defined in ltmain.sh
3602 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3603 lt_cv_file_magic_cmd
='func_win32_libid'
3607 # Base MSYS/MinGW do not provide the 'file' command needed by
3608 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3609 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3610 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3613 darwin
* | rhapsody
*)
3614 lt_cv_deplibs_check_method
=pass_all
3617 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3618 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3621 # Not sure whether the presence of OpenBSD here was a mistake.
3622 # Let's accept both of them until this is cleared up.
3623 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3624 lt_cv_file_magic_cmd
=/usr
/bin
/file
3625 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3629 lt_cv_deplibs_check_method
=pass_all
3634 lt_cv_deplibs_check_method
=pass_all
3637 hpux10.20
* | hpux11
*)
3638 lt_cv_file_magic_cmd
=/usr
/bin
/file
3641 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3642 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3645 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]'
3646 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3649 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3650 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3656 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3657 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3660 irix5
* | irix6
* | nonstopux
*)
3662 *-32|
*"-32 ") libmagic
=32-bit;;
3663 *-n32|
*"-n32 ") libmagic
=N32
;;
3664 *-64|
*"-64 ") libmagic
=64-bit;;
3665 *) libmagic
=never-match
;;
3667 lt_cv_deplibs_check_method
=pass_all
3670 # This must be Linux ELF.
3672 lt_cv_deplibs_check_method
=pass_all
3676 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3677 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3679 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3684 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3685 lt_cv_file_magic_cmd
=/usr
/bin
/file
3686 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3690 lt_cv_deplibs_check_method
=unknown
3694 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3695 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3697 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3701 osf3
* | osf4
* | osf5
*)
3702 lt_cv_deplibs_check_method
=pass_all
3706 lt_cv_deplibs_check_method
=pass_all
3710 case $host_vendor in
3712 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]'
3713 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3716 lt_cv_deplibs_check_method
=pass_all
3719 lt_cv_file_magic_cmd
='/bin/file'
3720 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3723 lt_cv_file_magic_cmd
='/bin/file'
3724 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3725 lt_cv_file_magic_test_file
=/lib
/libc.so
3728 lt_cv_deplibs_check_method
=pass_all
3731 lt_cv_deplibs_check_method
=pass_all
3736 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3737 lt_cv_deplibs_check_method
=pass_all
3742 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3743 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3744 file_magic_cmd
=$lt_cv_file_magic_cmd
3745 deplibs_check_method
=$lt_cv_deplibs_check_method
3746 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3751 # If no C compiler was specified, use CC.
3754 # If no C compiler flags were specified, use CFLAGS.
3755 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3757 # Allow CC to be a program name with arguments.
3761 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3762 if test "${enable_libtool_lock+set}" = set; then
3763 enableval
="$enable_libtool_lock"
3766 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3768 # Some flags need to be propagated to the compiler or linker for good
3772 # Find out which ABI we are using.
3773 echo 'int i;' > conftest.
$ac_ext
3774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3775 (eval $ac_compile) 2>&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; then
3779 case `/usr/bin/file conftest.$ac_objext` in
3791 # Find out which ABI we are using.
3792 echo '#line 3792 "configure"' > conftest.
$ac_ext
3793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3794 (eval $ac_compile) 2>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }; then
3798 if test "$lt_cv_prog_gnu_ld" = yes; then
3799 case `/usr/bin/file conftest.$ac_objext` in
3801 LD
="${LD-ld} -melf32bsmip"
3804 LD
="${LD-ld} -melf32bmipn32"
3807 LD
="${LD-ld} -melf64bmip"
3811 case `/usr/bin/file conftest.$ac_objext` in
3827 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3828 # Find out which ABI we are using.
3829 echo 'int i;' > conftest.
$ac_ext
3830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3831 (eval $ac_compile) 2>&5
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); }; then
3835 case `/usr/bin/file conftest.o` in
3839 LD
="${LD-ld} -m elf_i386"
3841 ppc64-
*linux
*|powerpc64-
*linux
*)
3842 LD
="${LD-ld} -m elf32ppclinux"
3845 LD
="${LD-ld} -m elf_s390"
3848 LD
="${LD-ld} -m elf32_sparc"
3855 LD
="${LD-ld} -m elf_x86_64"
3857 ppc
*-*linux
*|powerpc
*-*linux
*)
3858 LD
="${LD-ld} -m elf64ppc"
3861 LD
="${LD-ld} -m elf64_s390"
3864 LD
="${LD-ld} -m elf64_sparc"
3874 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3875 SAVE_CFLAGS
="$CFLAGS"
3876 CFLAGS
="$CFLAGS -belf"
3877 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3878 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3879 if test "${lt_cv_cc_needs_belf+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3883 ac_cpp
='$CPP $CPPFLAGS'
3884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3888 cat >conftest.
$ac_ext <<_ACEOF
3891 cat confdefs.h
>>conftest.
$ac_ext
3892 cat >>conftest.
$ac_ext <<_ACEOF
3893 /* end confdefs.h. */
3903 rm -f conftest.
$ac_objext conftest
$ac_exeext
3904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3905 (eval $ac_link) 2>conftest.er1
3907 grep -v '^ *+' conftest.er1
>conftest.err
3909 cat conftest.err
>&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); } &&
3912 { ac_try
='test -z "$ac_c_werror_flag"
3913 || test ! -s conftest.err'
3914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); }; } &&
3919 { ac_try
='test -s conftest$ac_exeext'
3920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); }; }; then
3925 lt_cv_cc_needs_belf
=yes
3927 echo "$as_me: failed program was:" >&5
3928 sed 's/^/| /' conftest.
$ac_ext >&5
3930 lt_cv_cc_needs_belf
=no
3932 rm -f conftest.err conftest.
$ac_objext \
3933 conftest
$ac_exeext conftest.
$ac_ext
3935 ac_cpp
='$CPP $CPPFLAGS'
3936 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3937 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3941 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3942 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3943 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3944 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3945 CFLAGS
="$SAVE_CFLAGS"
3949 # Find out which ABI we are using.
3950 echo 'int i;' > conftest.
$ac_ext
3951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3952 (eval $ac_compile) 2>&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; then
3956 case `/usr/bin/file conftest.o` in
3958 case $lt_cv_prog_gnu_ld in
3959 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
3960 *) LD
="${LD-ld} -64" ;;
3971 need_locks
="$enable_libtool_lock"
3975 ac_cpp
='$CPP $CPPFLAGS'
3976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3979 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3980 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3981 # On Suns, sometimes $CPP names a directory.
3982 if test -n "$CPP" && test -d "$CPP"; then
3985 if test -z "$CPP"; then
3986 if test "${ac_cv_prog_CPP+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 # Double quotes because CPP needs to be expanded
3990 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3993 for ac_c_preproc_warn_flag
in '' yes
3995 # Use a header file that comes with gcc, so configuring glibc
3996 # with a fresh cross-compiler works.
3997 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3998 # <limits.h> exists even on freestanding compilers.
3999 # On the NeXT, cc -E runs the code through the compiler's parser,
4000 # not just through cpp. "Syntax error" is here to catch this case.
4001 cat >conftest.
$ac_ext <<_ACEOF
4004 cat confdefs.h
>>conftest.
$ac_ext
4005 cat >>conftest.
$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4008 # include <limits.h>
4010 # include <assert.h>
4014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4015 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4017 grep -v '^ *+' conftest.er1
>conftest.err
4019 cat conftest.err
>&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); } >/dev
/null
; then
4022 if test -s conftest.err
; then
4023 ac_cpp_err
=$ac_c_preproc_warn_flag
4024 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4031 if test -z "$ac_cpp_err"; then
4034 echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.
$ac_ext >&5
4037 # Broken: fails on valid input.
4040 rm -f conftest.err conftest.
$ac_ext
4042 # OK, works on sane cases. Now check whether non-existent headers
4043 # can be detected and how.
4044 cat >conftest.
$ac_ext <<_ACEOF
4047 cat confdefs.h
>>conftest.
$ac_ext
4048 cat >>conftest.
$ac_ext <<_ACEOF
4049 /* end confdefs.h. */
4050 #include <ac_nonexistent.h>
4052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4053 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4055 grep -v '^ *+' conftest.er1
>conftest.err
4057 cat conftest.err
>&5
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); } >/dev
/null
; then
4060 if test -s conftest.err
; then
4061 ac_cpp_err
=$ac_c_preproc_warn_flag
4062 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4069 if test -z "$ac_cpp_err"; then
4070 # Broken: success on invalid input.
4073 echo "$as_me: failed program was:" >&5
4074 sed 's/^/| /' conftest.
$ac_ext >&5
4076 # Passes both tests.
4080 rm -f conftest.err conftest.
$ac_ext
4083 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4084 rm -f conftest.err conftest.
$ac_ext
4085 if $ac_preproc_ok; then
4097 echo "$as_me:$LINENO: result: $CPP" >&5
4098 echo "${ECHO_T}$CPP" >&6
4100 for ac_c_preproc_warn_flag
in '' yes
4102 # Use a header file that comes with gcc, so configuring glibc
4103 # with a fresh cross-compiler works.
4104 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4105 # <limits.h> exists even on freestanding compilers.
4106 # On the NeXT, cc -E runs the code through the compiler's parser,
4107 # not just through cpp. "Syntax error" is here to catch this case.
4108 cat >conftest.
$ac_ext <<_ACEOF
4111 cat confdefs.h
>>conftest.
$ac_ext
4112 cat >>conftest.
$ac_ext <<_ACEOF
4113 /* end confdefs.h. */
4115 # include <limits.h>
4117 # include <assert.h>
4121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4122 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4124 grep -v '^ *+' conftest.er1
>conftest.err
4126 cat conftest.err
>&5
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); } >/dev
/null
; then
4129 if test -s conftest.err
; then
4130 ac_cpp_err
=$ac_c_preproc_warn_flag
4131 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4138 if test -z "$ac_cpp_err"; then
4141 echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.
$ac_ext >&5
4144 # Broken: fails on valid input.
4147 rm -f conftest.err conftest.
$ac_ext
4149 # OK, works on sane cases. Now check whether non-existent headers
4150 # can be detected and how.
4151 cat >conftest.
$ac_ext <<_ACEOF
4154 cat confdefs.h
>>conftest.
$ac_ext
4155 cat >>conftest.
$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4157 #include <ac_nonexistent.h>
4159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4160 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4162 grep -v '^ *+' conftest.er1
>conftest.err
4164 cat conftest.err
>&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); } >/dev
/null
; then
4167 if test -s conftest.err
; then
4168 ac_cpp_err
=$ac_c_preproc_warn_flag
4169 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4176 if test -z "$ac_cpp_err"; then
4177 # Broken: success on invalid input.
4180 echo "$as_me: failed program was:" >&5
4181 sed 's/^/| /' conftest.
$ac_ext >&5
4183 # Passes both tests.
4187 rm -f conftest.err conftest.
$ac_ext
4190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4191 rm -f conftest.err conftest.
$ac_ext
4192 if $ac_preproc_ok; then
4195 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4196 See \`config.log' for more details." >&5
4197 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4198 See \`config.log' for more details." >&2;}
4199 { (exit 1); exit 1; }; }
4203 ac_cpp
='$CPP $CPPFLAGS'
4204 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4205 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4206 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4209 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4210 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4211 if test "${ac_cv_header_stdc+set}" = set; then
4212 echo $ECHO_N "(cached) $ECHO_C" >&6
4214 cat >conftest.
$ac_ext <<_ACEOF
4217 cat confdefs.h
>>conftest.
$ac_ext
4218 cat >>conftest.
$ac_ext <<_ACEOF
4219 /* end confdefs.h. */
4233 rm -f conftest.
$ac_objext
4234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4235 (eval $ac_compile) 2>conftest.er1
4237 grep -v '^ *+' conftest.er1
>conftest.err
4239 cat conftest.err
>&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); } &&
4242 { ac_try
='test -z "$ac_c_werror_flag"
4243 || test ! -s conftest.err'
4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); }; } &&
4249 { ac_try
='test -s conftest.$ac_objext'
4250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); }; }; then
4255 ac_cv_header_stdc
=yes
4257 echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.
$ac_ext >&5
4260 ac_cv_header_stdc
=no
4262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4264 if test $ac_cv_header_stdc = yes; then
4265 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4266 cat >conftest.
$ac_ext <<_ACEOF
4269 cat confdefs.h
>>conftest.
$ac_ext
4270 cat >>conftest.
$ac_ext <<_ACEOF
4271 /* end confdefs.h. */
4275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4276 $EGREP "memchr" >/dev
/null
2>&1; then
4279 ac_cv_header_stdc
=no
4285 if test $ac_cv_header_stdc = yes; then
4286 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4287 cat >conftest.
$ac_ext <<_ACEOF
4290 cat confdefs.h
>>conftest.
$ac_ext
4291 cat >>conftest.
$ac_ext <<_ACEOF
4292 /* end confdefs.h. */
4296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4297 $EGREP "free" >/dev
/null
2>&1; then
4300 ac_cv_header_stdc
=no
4306 if test $ac_cv_header_stdc = yes; then
4307 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4308 if test "$cross_compiling" = yes; then
4311 cat >conftest.
$ac_ext <<_ACEOF
4314 cat confdefs.h
>>conftest.
$ac_ext
4315 cat >>conftest.
$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4318 #if ((' ' & 0x0FF) == 0x020)
4319 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4320 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4322 # define ISLOWER(c) \
4323 (('a' <= (c) && (c) <= 'i') \
4324 || ('j' <= (c) && (c) <= 'r') \
4325 || ('s' <= (c) && (c) <= 'z'))
4326 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4329 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4334 for (i = 0; i < 256; i++)
4335 if (XOR (islower (i), ISLOWER (i))
4336 || toupper (i) != TOUPPER (i))
4341 rm -f conftest
$ac_exeext
4342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4343 (eval $ac_link) 2>&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); }; }; then
4354 echo "$as_me: program exited with status $ac_status" >&5
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.
$ac_ext >&5
4359 ac_cv_header_stdc
=no
4361 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4365 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4366 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4367 if test $ac_cv_header_stdc = yes; then
4369 cat >>confdefs.h
<<\_ACEOF
4370 #define STDC_HEADERS 1
4375 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4385 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4386 inttypes.h stdint.h unistd.h
4388 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4389 echo "$as_me:$LINENO: checking for $ac_header" >&5
4390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 cat >conftest.
$ac_ext <<_ACEOF
4397 cat confdefs.h
>>conftest.
$ac_ext
4398 cat >>conftest.
$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4400 $ac_includes_default
4402 #include <$ac_header>
4404 rm -f conftest.
$ac_objext
4405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406 (eval $ac_compile) 2>conftest.er1
4408 grep -v '^ *+' conftest.er1
>conftest.err
4410 cat conftest.err
>&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); } &&
4413 { ac_try
='test -z "$ac_c_werror_flag"
4414 || test ! -s conftest.err'
4415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; } &&
4420 { ac_try
='test -s conftest.$ac_objext'
4421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); }; }; then
4426 eval "$as_ac_Header=yes"
4428 echo "$as_me: failed program was:" >&5
4429 sed 's/^/| /' conftest.
$ac_ext >&5
4431 eval "$as_ac_Header=no"
4433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4438 cat >>confdefs.h
<<_ACEOF
4439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4448 for ac_header
in dlfcn.h
4450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4452 echo "$as_me:$LINENO: checking for $ac_header" >&5
4453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4460 # Is the header compilable?
4461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4463 cat >conftest.
$ac_ext <<_ACEOF
4466 cat confdefs.h
>>conftest.
$ac_ext
4467 cat >>conftest.
$ac_ext <<_ACEOF
4468 /* end confdefs.h. */
4469 $ac_includes_default
4470 #include <$ac_header>
4472 rm -f conftest.
$ac_objext
4473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4474 (eval $ac_compile) 2>conftest.er1
4476 grep -v '^ *+' conftest.er1
>conftest.err
4478 cat conftest.err
>&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); } &&
4481 { ac_try
='test -z "$ac_c_werror_flag"
4482 || test ! -s conftest.err'
4483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); }; } &&
4488 { ac_try
='test -s conftest.$ac_objext'
4489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); }; }; then
4494 ac_header_compiler
=yes
4496 echo "$as_me: failed program was:" >&5
4497 sed 's/^/| /' conftest.
$ac_ext >&5
4499 ac_header_compiler
=no
4501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4503 echo "${ECHO_T}$ac_header_compiler" >&6
4505 # Is the header present?
4506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4508 cat >conftest.
$ac_ext <<_ACEOF
4511 cat confdefs.h
>>conftest.
$ac_ext
4512 cat >>conftest.
$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4514 #include <$ac_header>
4516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4519 grep -v '^ *+' conftest.er1
>conftest.err
4521 cat conftest.err
>&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } >/dev
/null
; then
4524 if test -s conftest.err
; then
4525 ac_cpp_err
=$ac_c_preproc_warn_flag
4526 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4533 if test -z "$ac_cpp_err"; then
4534 ac_header_preproc
=yes
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.
$ac_ext >&5
4539 ac_header_preproc
=no
4541 rm -f conftest.err conftest.
$ac_ext
4542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4543 echo "${ECHO_T}$ac_header_preproc" >&6
4545 # So? What about this header?
4546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4552 ac_header_preproc
=yes
4555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4569 ## -------------------------------------------------- ##
4570 ## Report this to courier-users@lists.sourceforge.net ##
4571 ## -------------------------------------------------- ##
4574 sed "s/^/$as_me: WARNING: /" >&2
4577 echo "$as_me:$LINENO: checking for $ac_header" >&5
4578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4580 echo $ECHO_N "(cached) $ECHO_C" >&6
4582 eval "$as_ac_Header=\$ac_header_preproc"
4584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4589 cat >>confdefs.h
<<_ACEOF
4590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4598 ac_cpp
='$CXXCPP $CPPFLAGS'
4599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4602 if test -n "$ac_tool_prefix"; then
4603 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4606 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4607 echo "$as_me:$LINENO: checking for $ac_word" >&5
4608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4609 if test "${ac_cv_prog_CXX+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 if test -n "$CXX"; then
4613 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir
=.
4620 for ac_exec_ext
in '' $ac_executable_extensions; do
4621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4622 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 if test -n "$CXX"; then
4633 echo "$as_me:$LINENO: result: $CXX" >&5
4634 echo "${ECHO_T}$CXX" >&6
4636 echo "$as_me:$LINENO: result: no" >&5
4637 echo "${ECHO_T}no" >&6
4640 test -n "$CXX" && break
4643 if test -z "$CXX"; then
4645 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4647 # Extract the first word of "$ac_prog", so it can be a program name with args.
4648 set dummy
$ac_prog; ac_word
=$2
4649 echo "$as_me:$LINENO: checking for $ac_word" >&5
4650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4651 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 if test -n "$ac_ct_CXX"; then
4655 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4661 test -z "$as_dir" && as_dir
=.
4662 for ac_exec_ext
in '' $ac_executable_extensions; do
4663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4664 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4674 if test -n "$ac_ct_CXX"; then
4675 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4676 echo "${ECHO_T}$ac_ct_CXX" >&6
4678 echo "$as_me:$LINENO: result: no" >&5
4679 echo "${ECHO_T}no" >&6
4682 test -n "$ac_ct_CXX" && break
4684 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4690 # Provide some information about the compiler.
4691 echo "$as_me:$LINENO:" \
4692 "checking for C++ compiler version" >&5
4693 ac_compiler
=`set X $ac_compile; echo $2`
4694 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4695 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); }
4699 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4700 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }
4704 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4705 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); }
4710 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4711 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4712 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4715 cat >conftest.
$ac_ext <<_ACEOF
4718 cat confdefs.h
>>conftest.
$ac_ext
4719 cat >>conftest.
$ac_ext <<_ACEOF
4720 /* end confdefs.h. */
4733 rm -f conftest.
$ac_objext
4734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4735 (eval $ac_compile) 2>conftest.er1
4737 grep -v '^ *+' conftest.er1
>conftest.err
4739 cat conftest.err
>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } &&
4742 { ac_try
='test -z "$ac_cxx_werror_flag"
4743 || test ! -s conftest.err'
4744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; } &&
4749 { ac_try
='test -s conftest.$ac_objext'
4750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }; }; then
4757 echo "$as_me: failed program was:" >&5
4758 sed 's/^/| /' conftest.
$ac_ext >&5
4762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4763 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4766 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4767 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4768 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4769 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4770 ac_save_CXXFLAGS
=$CXXFLAGS
4772 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4773 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4774 if test "${ac_cv_prog_cxx_g+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 cat >conftest.
$ac_ext <<_ACEOF
4780 cat confdefs.h
>>conftest.
$ac_ext
4781 cat >>conftest.
$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4792 rm -f conftest.
$ac_objext
4793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4794 (eval $ac_compile) 2>conftest.er1
4796 grep -v '^ *+' conftest.er1
>conftest.err
4798 cat conftest.err
>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } &&
4801 { ac_try
='test -z "$ac_cxx_werror_flag"
4802 || test ! -s conftest.err'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; } &&
4808 { ac_try
='test -s conftest.$ac_objext'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4814 ac_cv_prog_cxx_g
=yes
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4823 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4824 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4825 if test "$ac_test_CXXFLAGS" = set; then
4826 CXXFLAGS
=$ac_save_CXXFLAGS
4827 elif test $ac_cv_prog_cxx_g = yes; then
4828 if test "$GXX" = yes; then
4834 if test "$GXX" = yes; then
4840 for ac_declaration
in \
4842 'extern "C" void std::exit (int) throw (); using std::exit;' \
4843 'extern "C" void std::exit (int); using std::exit;' \
4844 'extern "C" void exit (int) throw ();' \
4845 'extern "C" void exit (int);' \
4848 cat >conftest.
$ac_ext <<_ACEOF
4851 cat confdefs.h
>>conftest.
$ac_ext
4852 cat >>conftest.
$ac_ext <<_ACEOF
4853 /* end confdefs.h. */
4864 rm -f conftest.
$ac_objext
4865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4866 (eval $ac_compile) 2>conftest.er1
4868 grep -v '^ *+' conftest.er1
>conftest.err
4870 cat conftest.err
>&5
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); } &&
4873 { ac_try
='test -z "$ac_cxx_werror_flag"
4874 || test ! -s conftest.err'
4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; } &&
4880 { ac_try
='test -s conftest.$ac_objext'
4881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); }; }; then
4888 echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.
$ac_ext >&5
4893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4894 cat >conftest.
$ac_ext <<_ACEOF
4897 cat confdefs.h
>>conftest.
$ac_ext
4898 cat >>conftest.
$ac_ext <<_ACEOF
4899 /* end confdefs.h. */
4909 rm -f conftest.
$ac_objext
4910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4911 (eval $ac_compile) 2>conftest.er1
4913 grep -v '^ *+' conftest.er1
>conftest.err
4915 cat conftest.err
>&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); } &&
4918 { ac_try
='test -z "$ac_cxx_werror_flag"
4919 || test ! -s conftest.err'
4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }; } &&
4925 { ac_try
='test -s conftest.$ac_objext'
4926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); }; }; then
4933 echo "$as_me: failed program was:" >&5
4934 sed 's/^/| /' conftest.
$ac_ext >&5
4937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4940 if test -n "$ac_declaration"; then
4941 echo '#ifdef __cplusplus' >>confdefs.h
4942 echo $ac_declaration >>confdefs.h
4943 echo '#endif' >>confdefs.h
4947 ac_cpp
='$CXXCPP $CPPFLAGS'
4948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4952 depcc
="$CXX" am_compiler_list
=
4954 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4955 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4956 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4959 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4960 # We make a subdir and do the tests there. Otherwise we can end up
4961 # making bogus files that we don't know about and never remove. For
4962 # instance it was reported that on HP-UX the gcc test will end up
4963 # making a dummy file named `D' -- because `-MD' means `put the output
4966 # Copy depcomp to subdir because otherwise we won't find it if we're
4967 # using a relative directory.
4968 cp "$am_depcomp" conftest.dir
4970 # We will build objects and dependencies in a subdirectory because
4971 # it helps to detect inapplicable dependency modes. For instance
4972 # both Tru64's cc and ICC support -MD to output dependencies as a
4973 # side effect of compilation, but ICC will put the dependencies in
4974 # the current directory while Tru64 will put them in the object
4978 am_cv_CXX_dependencies_compiler_type
=none
4979 if test "$am_compiler_list" = ""; then
4980 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4982 for depmode
in $am_compiler_list; do
4983 # Setup a source with many dependencies, because some compilers
4984 # like to wrap large dependency lists on column 80 (with \), and
4985 # we should not choose a depcomp mode which is confused by this.
4987 # We need to recreate these files for each test, as the compiler may
4988 # overwrite some of them when testing with obscure command lines.
4989 # This happens at least with the AIX C compiler.
4991 for i
in 1 2 3 4 5 6; do
4992 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4993 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4994 # Solaris 8's {/usr,}/bin/sh.
4995 touch sub
/conftst
$i.h
4997 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5001 # after this tag, mechanisms are not by side-effect, so they'll
5002 # only be used when explicitly requested
5003 if test "x$enable_dependency_tracking" = xyes
; then
5011 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5012 # mode. It turns out that the SunPro C++ compiler does not properly
5013 # handle `-M -o', and we need to detect this.
5014 if depmode
=$depmode \
5015 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5016 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5017 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5018 >/dev
/null
2>conftest.err
&&
5019 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5020 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5021 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5022 # icc doesn't choke on unknown options, it will just issue warnings
5023 # or remarks (even with -Werror). So we grep stderr for any message
5024 # that says an option was ignored or not supported.
5025 # When given -MP, icc 7.0 and 7.1 complain thusly:
5026 # icc: Command line warning: ignoring option '-M'; no argument required
5027 # The diagnosis changed in icc 8.0:
5028 # icc: Command line remark: option '-MP' not supported
5029 if (grep 'ignoring option' conftest.err ||
5030 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5031 am_cv_CXX_dependencies_compiler_type
=$depmode
5040 am_cv_CXX_dependencies_compiler_type
=none
5044 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5045 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5046 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5051 test "x$enable_dependency_tracking" != xno \
5052 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5053 am__fastdepCXX_TRUE
=
5054 am__fastdepCXX_FALSE
='#'
5056 am__fastdepCXX_TRUE
='#'
5057 am__fastdepCXX_FALSE
=
5063 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5064 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5065 (test "X$CXX" != "Xg++"))) ; then
5067 ac_cpp
='$CXXCPP $CPPFLAGS'
5068 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5069 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5070 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5071 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5072 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5073 if test -z "$CXXCPP"; then
5074 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 # Double quotes because CXXCPP needs to be expanded
5078 for CXXCPP
in "$CXX -E" "/lib/cpp"
5081 for ac_cxx_preproc_warn_flag
in '' yes
5083 # Use a header file that comes with gcc, so configuring glibc
5084 # with a fresh cross-compiler works.
5085 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5086 # <limits.h> exists even on freestanding compilers.
5087 # On the NeXT, cc -E runs the code through the compiler's parser,
5088 # not just through cpp. "Syntax error" is here to catch this case.
5089 cat >conftest.
$ac_ext <<_ACEOF
5092 cat confdefs.h
>>conftest.
$ac_ext
5093 cat >>conftest.
$ac_ext <<_ACEOF
5094 /* end confdefs.h. */
5096 # include <limits.h>
5098 # include <assert.h>
5102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5103 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5105 grep -v '^ *+' conftest.er1
>conftest.err
5107 cat conftest.err
>&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } >/dev
/null
; then
5110 if test -s conftest.err
; then
5111 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5112 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5119 if test -z "$ac_cpp_err"; then
5122 echo "$as_me: failed program was:" >&5
5123 sed 's/^/| /' conftest.
$ac_ext >&5
5125 # Broken: fails on valid input.
5128 rm -f conftest.err conftest.
$ac_ext
5130 # OK, works on sane cases. Now check whether non-existent headers
5131 # can be detected and how.
5132 cat >conftest.
$ac_ext <<_ACEOF
5135 cat confdefs.h
>>conftest.
$ac_ext
5136 cat >>conftest.
$ac_ext <<_ACEOF
5137 /* end confdefs.h. */
5138 #include <ac_nonexistent.h>
5140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5141 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5143 grep -v '^ *+' conftest.er1
>conftest.err
5145 cat conftest.err
>&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); } >/dev
/null
; then
5148 if test -s conftest.err
; then
5149 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5150 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5157 if test -z "$ac_cpp_err"; then
5158 # Broken: success on invalid input.
5161 echo "$as_me: failed program was:" >&5
5162 sed 's/^/| /' conftest.
$ac_ext >&5
5164 # Passes both tests.
5168 rm -f conftest.err conftest.
$ac_ext
5171 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5172 rm -f conftest.err conftest.
$ac_ext
5173 if $ac_preproc_ok; then
5178 ac_cv_prog_CXXCPP
=$CXXCPP
5181 CXXCPP
=$ac_cv_prog_CXXCPP
5183 ac_cv_prog_CXXCPP
=$CXXCPP
5185 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5186 echo "${ECHO_T}$CXXCPP" >&6
5188 for ac_cxx_preproc_warn_flag
in '' yes
5190 # Use a header file that comes with gcc, so configuring glibc
5191 # with a fresh cross-compiler works.
5192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5193 # <limits.h> exists even on freestanding compilers.
5194 # On the NeXT, cc -E runs the code through the compiler's parser,
5195 # not just through cpp. "Syntax error" is here to catch this case.
5196 cat >conftest.
$ac_ext <<_ACEOF
5199 cat confdefs.h
>>conftest.
$ac_ext
5200 cat >>conftest.
$ac_ext <<_ACEOF
5201 /* end confdefs.h. */
5203 # include <limits.h>
5205 # include <assert.h>
5209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5210 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5212 grep -v '^ *+' conftest.er1
>conftest.err
5214 cat conftest.err
>&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); } >/dev
/null
; then
5217 if test -s conftest.err
; then
5218 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5219 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5226 if test -z "$ac_cpp_err"; then
5229 echo "$as_me: failed program was:" >&5
5230 sed 's/^/| /' conftest.
$ac_ext >&5
5232 # Broken: fails on valid input.
5235 rm -f conftest.err conftest.
$ac_ext
5237 # OK, works on sane cases. Now check whether non-existent headers
5238 # can be detected and how.
5239 cat >conftest.
$ac_ext <<_ACEOF
5242 cat confdefs.h
>>conftest.
$ac_ext
5243 cat >>conftest.
$ac_ext <<_ACEOF
5244 /* end confdefs.h. */
5245 #include <ac_nonexistent.h>
5247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5250 grep -v '^ *+' conftest.er1
>conftest.err
5252 cat conftest.err
>&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); } >/dev
/null
; then
5255 if test -s conftest.err
; then
5256 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5257 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5264 if test -z "$ac_cpp_err"; then
5265 # Broken: success on invalid input.
5268 echo "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.
$ac_ext >&5
5271 # Passes both tests.
5275 rm -f conftest.err conftest.
$ac_ext
5278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5279 rm -f conftest.err conftest.
$ac_ext
5280 if $ac_preproc_ok; then
5283 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5284 See \`config.log' for more details." >&5
5285 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5286 See \`config.log' for more details." >&2;}
5287 { (exit 1); exit 1; }; }
5291 ac_cpp
='$CXXCPP $CPPFLAGS'
5292 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5293 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5294 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5300 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5301 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5302 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5303 if test -n "$ac_tool_prefix"; then
5304 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5307 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5308 echo "$as_me:$LINENO: checking for $ac_word" >&5
5309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5310 if test "${ac_cv_prog_F77+set}" = set; then
5311 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 if test -n "$F77"; then
5314 ac_cv_prog_F77
="$F77" # Let the user override the test.
5316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5320 test -z "$as_dir" && as_dir
=.
5321 for ac_exec_ext
in '' $ac_executable_extensions; do
5322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5323 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 if test -n "$F77"; then
5334 echo "$as_me:$LINENO: result: $F77" >&5
5335 echo "${ECHO_T}$F77" >&6
5337 echo "$as_me:$LINENO: result: no" >&5
5338 echo "${ECHO_T}no" >&6
5341 test -n "$F77" && break
5344 if test -z "$F77"; then
5346 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5348 # Extract the first word of "$ac_prog", so it can be a program name with args.
5349 set dummy
$ac_prog; ac_word
=$2
5350 echo "$as_me:$LINENO: checking for $ac_word" >&5
5351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5352 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5355 if test -n "$ac_ct_F77"; then
5356 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir
=.
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_ac_ct_F77
="$ac_prog"
5366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5375 if test -n "$ac_ct_F77"; then
5376 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5377 echo "${ECHO_T}$ac_ct_F77" >&6
5379 echo "$as_me:$LINENO: result: no" >&5
5380 echo "${ECHO_T}no" >&6
5383 test -n "$ac_ct_F77" && break
5390 # Provide some information about the compiler.
5391 echo "$as_me:5391:" \
5392 "checking for Fortran 77 compiler version" >&5
5393 ac_compiler
=`set X $ac_compile; echo $2`
5394 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5395 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }
5399 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5400 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403 (exit $ac_status); }
5404 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5405 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); }
5411 # If we don't use `.F' as extension, the preprocessor is not run on the
5412 # input file. (Note that this only needs to work for GNU compilers.)
5415 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5416 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5417 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 cat >conftest.
$ac_ext <<_ACEOF
5428 rm -f conftest.
$ac_objext
5429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5430 (eval $ac_compile) 2>conftest.er1
5432 grep -v '^ *+' conftest.er1
>conftest.err
5434 cat conftest.err
>&5
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); } &&
5437 { ac_try
='test -z "$ac_f77_werror_flag"
5438 || test ! -s conftest.err'
5439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); }; } &&
5444 { ac_try
='test -s conftest.$ac_objext'
5445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); }; }; then
5452 echo "$as_me: failed program was:" >&5
5453 sed 's/^/| /' conftest.
$ac_ext >&5
5457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5458 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5461 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5462 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5464 ac_test_FFLAGS
=${FFLAGS+set}
5465 ac_save_FFLAGS
=$FFLAGS
5467 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5468 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5469 if test "${ac_cv_prog_f77_g+set}" = set; then
5470 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 cat >conftest.
$ac_ext <<_ACEOF
5478 rm -f conftest.
$ac_objext
5479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5480 (eval $ac_compile) 2>conftest.er1
5482 grep -v '^ *+' conftest.er1
>conftest.err
5484 cat conftest.err
>&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); } &&
5487 { ac_try
='test -z "$ac_f77_werror_flag"
5488 || test ! -s conftest.err'
5489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); }; } &&
5494 { ac_try
='test -s conftest.$ac_objext'
5495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); }; }; then
5500 ac_cv_prog_f77_g
=yes
5502 echo "$as_me: failed program was:" >&5
5503 sed 's/^/| /' conftest.
$ac_ext >&5
5507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5510 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5511 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5512 if test "$ac_test_FFLAGS" = set; then
5513 FFLAGS
=$ac_save_FFLAGS
5514 elif test $ac_cv_prog_f77_g = yes; then
5515 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5521 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5528 G77
=`test $ac_compiler_gnu = yes && echo yes`
5530 ac_cpp
='$CPP $CPPFLAGS'
5531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5537 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5539 # find the maximum length of command line arguments
5540 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5541 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5542 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5543 echo $ECHO_N "(cached) $ECHO_C" >&6
5550 # On DJGPP, this test can blow up pretty badly due to problems in libc
5551 # (any single argument exceeding 2000 bytes causes a buffer overrun
5552 # during glob expansion). Even if it were fixed, the result of this
5553 # check would be larger than it should be.
5554 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5558 # Under GNU Hurd, this test is not required because there is
5559 # no limit to the length of command line arguments.
5560 # Libtool will interpret -1 as no limit whatsoever
5561 lt_cv_sys_max_cmd_len
=-1;
5565 # On Win9x/ME, this test blows up -- it succeeds, but takes
5566 # about 5 minutes as the teststring grows exponentially.
5567 # Worse, since 9x/ME are not pre-emptively multitasking,
5568 # you end up with a "frozen" computer, even though with patience
5569 # the test eventually succeeds (with a max line length of 256k).
5570 # Instead, let's just punt: use the minimum linelength reported by
5571 # all of the supported platforms: 8192 (on NT/2K/XP).
5572 lt_cv_sys_max_cmd_len
=8192;
5576 # On AmigaOS with pdksh, this test takes hours, literally.
5577 # So we just punt and use a minimum line length of 8192.
5578 lt_cv_sys_max_cmd_len
=8192;
5581 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5582 # This has been around since 386BSD, at least. Likely further.
5583 if test -x /sbin
/sysctl
; then
5584 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5585 elif test -x /usr
/sbin
/sysctl
; then
5586 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5588 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5590 # And add a safety zone
5591 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5592 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5596 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5597 lt_cv_sys_max_cmd_len
=196608
5601 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5602 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5603 # nice to cause kernel panics so lets avoid the loop below.
5604 # First set a reasonable default.
5605 lt_cv_sys_max_cmd_len
=16384
5607 if test -x /sbin
/sysconfig
; then
5608 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5609 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5614 lt_cv_sys_max_cmd_len
=102400
5616 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5617 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5618 if test -n "$kargmax"; then
5619 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5621 lt_cv_sys_max_cmd_len
=32768
5625 # If test is not a shell built-in, we'll probably end up computing a
5626 # maximum length that is only half of the actual maximum length, but
5628 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5629 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5630 = "XX$teststring") >/dev
/null
2>&1 &&
5631 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5632 lt_cv_sys_max_cmd_len
=$new_result &&
5633 test $i != 17 # 1/2 MB should be enough
5636 teststring
=$teststring$teststring
5639 # Add a significant safety factor because C++ compilers can tack on massive
5640 # amounts of additional arguments before passing them to the linker.
5641 # It appears as though 1/2 is a usable value.
5642 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5648 if test -n $lt_cv_sys_max_cmd_len ; then
5649 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5650 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5652 echo "$as_me:$LINENO: result: none" >&5
5653 echo "${ECHO_T}none" >&6
5659 # Check for command to grab the raw symbol name followed by C symbol from nm.
5660 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5661 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5662 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5663 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 # These are sane defaults that work on at least a few old systems.
5667 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5669 # Character class describing NM global symbol codes.
5670 symcode
='[BCDEGRST]'
5672 # Regexp to match symbols that can be accessed directly from C.
5673 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5675 # Transform an extracted symbol line into a proper C declaration
5676 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5678 # Transform an extracted symbol line into symbol name and symbol address
5679 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'"
5681 # Define system-specific variables.
5686 cygwin
* | mingw
* | pw32
*)
5687 symcode
='[ABCDGISTW]'
5689 hpux
*) # Its linker distinguishes data from code symbols
5690 if test "$host_cpu" = ia64
; then
5691 symcode
='[ABCDEGRST]'
5693 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5694 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'"
5697 if test "$host_cpu" = ia64
; then
5698 symcode
='[ABCDGIRSTW]'
5699 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5700 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'"
5704 symcode
='[BCDEGRST]'
5707 symcode
='[BCDEGQRST]'
5718 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5726 # Handle CRLF in mingw tool chain
5730 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5734 # If we're using GNU nm, then use its standard symbol codes.
5735 case `$NM -V 2>&1` in
5736 *GNU
* |
*'with BFD'*)
5737 symcode
='[ABCDGIRSTW]' ;;
5740 # Try without a prefix undercore, then with it.
5741 for ac_symprfx
in "" "_"; do
5743 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5744 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5746 # Write the raw and C identifiers.
5747 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5749 # Check to see that the pipe works correctly.
5753 cat > conftest.
$ac_ext <<EOF
5758 void nm_test_func(){}
5762 int main(){nm_test_var='a';nm_test_func();return(0);}
5765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5766 (eval $ac_compile) 2>&5
5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 (exit $ac_status); }; then
5770 # Now try to grab the symbols.
5772 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5773 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); } && test -s "$nlist"; then
5777 # Try sorting and uniquifying the output.
5778 if sort "$nlist" |
uniq > "$nlist"T
; then
5779 mv -f "$nlist"T
"$nlist"
5784 # Make sure that we snagged all the symbols we need.
5785 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5786 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5787 cat <<EOF > conftest.$ac_ext
5793 # Now generate the symbol file.
5794 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5796 cat <<EOF >> conftest.$ac_ext
5797 #if defined (__STDC__) && __STDC__
5798 # define lt_ptr_t void *
5800 # define lt_ptr_t char *
5804 /* The mapping between symbol names and symbols. */
5809 lt_preloaded_symbols[] =
5812 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5813 cat <<\EOF
>> conftest.
$ac_ext
5821 # Now try linking the two files.
5822 mv conftest.
$ac_objext conftstm.
$ac_objext
5823 lt_save_LIBS
="$LIBS"
5824 lt_save_CFLAGS
="$CFLAGS"
5825 LIBS
="conftstm.$ac_objext"
5826 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5828 (eval $ac_link) 2>&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5834 LIBS
="$lt_save_LIBS"
5835 CFLAGS
="$lt_save_CFLAGS"
5837 echo "cannot find nm_test_func in $nlist" >&5
5840 echo "cannot find nm_test_var in $nlist" >&5
5843 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5846 echo "$progname: failed program was:" >&5
5847 cat conftest.
$ac_ext >&5
5849 rm -f conftest
* conftst
*
5851 # Do not use the global_symbol_pipe unless it works.
5852 if test "$pipe_works" = yes; then
5855 lt_cv_sys_global_symbol_pipe
=
5861 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5862 lt_cv_sys_global_symbol_to_cdecl
=
5864 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5865 echo "$as_me:$LINENO: result: failed" >&5
5866 echo "${ECHO_T}failed" >&6
5868 echo "$as_me:$LINENO: result: ok" >&5
5869 echo "${ECHO_T}ok" >&6
5872 echo "$as_me:$LINENO: checking for objdir" >&5
5873 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5874 if test "${lt_cv_objdir+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 rm -f .libs
2>/dev
/null
5878 mkdir .libs
2>/dev
/null
5879 if test -d .libs
; then
5882 # MS-DOS does not allow filenames that begin with a dot.
5885 rmdir .libs
2>/dev
/null
5887 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5888 echo "${ECHO_T}$lt_cv_objdir" >&6
5889 objdir
=$lt_cv_objdir
5897 # AIX sometimes has problems with the GCC collect2 program. For some
5898 # reason, if we set the COLLECT_NAMES environment variable, the problems
5899 # vanish in a puff of smoke.
5900 if test "X${COLLECT_NAMES+set}" != Xset
; then
5902 export COLLECT_NAMES
5907 # Sed substitution that helps us do robust quoting. It backslashifies
5908 # metacharacters that are still active within double-quoted strings.
5909 Xsed
='sed -e 1s/^X//'
5910 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5912 # Same as above, but do not quote variable references.
5913 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5915 # Sed substitution to delay expansion of an escaped shell variable in a
5916 # double_quote_subst'ed string.
5917 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5919 # Sed substitution to avoid accidental globbing in evaled expressions
5920 no_glob_subst
='s/\*/\\\*/g'
5926 default_ofile
=libtool
5927 can_build_shared
=yes
5929 # All known linkers require a `.a' archive for static linking (except MSVC,
5930 # which needs '.lib').
5932 ltmain
="$ac_aux_dir/ltmain.sh"
5933 ofile
="$default_ofile"
5934 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5936 if test -n "$ac_tool_prefix"; then
5937 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5938 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5939 echo "$as_me:$LINENO: checking for $ac_word" >&5
5940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5941 if test "${ac_cv_prog_AR+set}" = set; then
5942 echo $ECHO_N "(cached) $ECHO_C" >&6
5944 if test -n "$AR"; then
5945 ac_cv_prog_AR
="$AR" # Let the user override the test.
5947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5951 test -z "$as_dir" && as_dir
=.
5952 for ac_exec_ext
in '' $ac_executable_extensions; do
5953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5954 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5964 if test -n "$AR"; then
5965 echo "$as_me:$LINENO: result: $AR" >&5
5966 echo "${ECHO_T}$AR" >&6
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5973 if test -z "$ac_cv_prog_AR"; then
5975 # Extract the first word of "ar", so it can be a program name with args.
5976 set dummy
ar; ac_word
=$2
5977 echo "$as_me:$LINENO: checking for $ac_word" >&5
5978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5979 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5980 echo $ECHO_N "(cached) $ECHO_C" >&6
5982 if test -n "$ac_ct_AR"; then
5983 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5989 test -z "$as_dir" && as_dir
=.
5990 for ac_exec_ext
in '' $ac_executable_extensions; do
5991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 ac_cv_prog_ac_ct_AR
="ar"
5993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6002 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6003 if test -n "$ac_ct_AR"; then
6004 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6005 echo "${ECHO_T}$ac_ct_AR" >&6
6007 echo "$as_me:$LINENO: result: no" >&5
6008 echo "${ECHO_T}no" >&6
6016 if test -n "$ac_tool_prefix"; then
6017 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6018 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6019 echo "$as_me:$LINENO: checking for $ac_word" >&5
6020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6021 if test "${ac_cv_prog_RANLIB+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6024 if test -n "$RANLIB"; then
6025 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir
=.
6032 for ac_exec_ext
in '' $ac_executable_extensions; do
6033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 RANLIB
=$ac_cv_prog_RANLIB
6044 if test -n "$RANLIB"; then
6045 echo "$as_me:$LINENO: result: $RANLIB" >&5
6046 echo "${ECHO_T}$RANLIB" >&6
6048 echo "$as_me:$LINENO: result: no" >&5
6049 echo "${ECHO_T}no" >&6
6053 if test -z "$ac_cv_prog_RANLIB"; then
6054 ac_ct_RANLIB
=$RANLIB
6055 # Extract the first word of "ranlib", so it can be a program name with args.
6056 set dummy ranlib
; ac_word
=$2
6057 echo "$as_me:$LINENO: checking for $ac_word" >&5
6058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6059 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 if test -n "$ac_ct_RANLIB"; then
6063 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6069 test -z "$as_dir" && as_dir
=.
6070 for ac_exec_ext
in '' $ac_executable_extensions; do
6071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6072 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6082 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6083 if test -n "$ac_ct_RANLIB"; then
6084 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6085 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6091 RANLIB
=$ac_ct_RANLIB
6093 RANLIB
="$ac_cv_prog_RANLIB"
6096 if test -n "$ac_tool_prefix"; then
6097 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6098 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6099 echo "$as_me:$LINENO: checking for $ac_word" >&5
6100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6101 if test "${ac_cv_prog_STRIP+set}" = set; then
6102 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 if test -n "$STRIP"; then
6105 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6111 test -z "$as_dir" && as_dir
=.
6112 for ac_exec_ext
in '' $ac_executable_extensions; do
6113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6114 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 STRIP
=$ac_cv_prog_STRIP
6124 if test -n "$STRIP"; then
6125 echo "$as_me:$LINENO: result: $STRIP" >&5
6126 echo "${ECHO_T}$STRIP" >&6
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6133 if test -z "$ac_cv_prog_STRIP"; then
6135 # Extract the first word of "strip", so it can be a program name with args.
6136 set dummy strip
; ac_word
=$2
6137 echo "$as_me:$LINENO: checking for $ac_word" >&5
6138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6139 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 if test -n "$ac_ct_STRIP"; then
6143 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6149 test -z "$as_dir" && as_dir
=.
6150 for ac_exec_ext
in '' $ac_executable_extensions; do
6151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6152 ac_cv_prog_ac_ct_STRIP
="strip"
6153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6162 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6163 if test -n "$ac_ct_STRIP"; then
6164 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6165 echo "${ECHO_T}$ac_ct_STRIP" >&6
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6173 STRIP
="$ac_cv_prog_STRIP"
6178 old_CFLAGS
="$CFLAGS"
6180 # Set sane defaults for various variables
6181 test -z "$AR" && AR
=ar
6182 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6183 test -z "$AS" && AS
=as
6184 test -z "$CC" && CC
=cc
6185 test -z "$LTCC" && LTCC
=$CC
6186 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6187 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6188 test -z "$LD" && LD
=ld
6189 test -z "$LN_S" && LN_S
="ln -s"
6190 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6191 test -z "$NM" && NM
=nm
6192 test -z "$SED" && SED
=sed
6193 test -z "$OBJDUMP" && OBJDUMP
=objdump
6194 test -z "$RANLIB" && RANLIB
=:
6195 test -z "$STRIP" && STRIP
=:
6196 test -z "$ac_objext" && ac_objext
=o
6198 # Determine commands to create old-style static archives.
6199 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6200 old_postinstall_cmds
='chmod 644 $oldlib'
6201 old_postuninstall_cmds
=
6203 if test -n "$RANLIB"; then
6206 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6209 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6212 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6215 for cc_temp
in $compiler""; do
6217 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6218 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6223 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6226 # Only perform the check for file, if the check method requires it
6227 case $deplibs_check_method in
6229 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6230 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6231 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6232 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6233 echo $ECHO_N "(cached) $ECHO_C" >&6
6237 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6240 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6241 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6242 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6243 for ac_dir
in $ac_dummy; do
6245 test -z "$ac_dir" && ac_dir
=.
6246 if test -f $ac_dir/${ac_tool_prefix}file; then
6247 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6248 if test -n "$file_magic_test_file"; then
6249 case $deplibs_check_method in
6251 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6252 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6253 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6254 $EGREP "$file_magic_regex" > /dev
/null
; then
6259 *** Warning: the command libtool uses to detect shared libraries,
6260 *** $file_magic_cmd, produces output that libtool cannot recognize.
6261 *** The result is that libtool may fail to recognize shared libraries
6262 *** as such. This will affect the creation of libtool libraries that
6263 *** depend on shared libraries, but programs linked with such libtool
6264 *** libraries will work regardless of this problem. Nevertheless, you
6265 *** may want to report the problem to your system manager and/or to
6266 *** bug-libtool@gnu.org
6276 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6281 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6282 if test -n "$MAGIC_CMD"; then
6283 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6284 echo "${ECHO_T}$MAGIC_CMD" >&6
6286 echo "$as_me:$LINENO: result: no" >&5
6287 echo "${ECHO_T}no" >&6
6290 if test -z "$lt_cv_path_MAGIC_CMD"; then
6291 if test -n "$ac_tool_prefix"; then
6292 echo "$as_me:$LINENO: checking for file" >&5
6293 echo $ECHO_N "checking for file... $ECHO_C" >&6
6294 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6299 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6302 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6303 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6304 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6305 for ac_dir
in $ac_dummy; do
6307 test -z "$ac_dir" && ac_dir
=.
6308 if test -f $ac_dir/file; then
6309 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6310 if test -n "$file_magic_test_file"; then
6311 case $deplibs_check_method in
6313 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6314 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6315 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6316 $EGREP "$file_magic_regex" > /dev
/null
; then
6321 *** Warning: the command libtool uses to detect shared libraries,
6322 *** $file_magic_cmd, produces output that libtool cannot recognize.
6323 *** The result is that libtool may fail to recognize shared libraries
6324 *** as such. This will affect the creation of libtool libraries that
6325 *** depend on shared libraries, but programs linked with such libtool
6326 *** libraries will work regardless of this problem. Nevertheless, you
6327 *** may want to report the problem to your system manager and/or to
6328 *** bug-libtool@gnu.org
6338 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6343 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6344 if test -n "$MAGIC_CMD"; then
6345 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6346 echo "${ECHO_T}$MAGIC_CMD" >&6
6348 echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6
6364 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6365 if test "${enable_libtool_lock+set}" = set; then
6366 enableval
="$enable_libtool_lock"
6369 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6372 # Check whether --with-pic or --without-pic was given.
6373 if test "${with_pic+set}" = set; then
6379 test -z "$pic_mode" && pic_mode
=default
6381 # Use C for the default configuration in the libtool script
6385 ac_cpp
='$CPP $CPPFLAGS'
6386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6391 # Source file extension for C test sources.
6394 # Object file extension for compiled C test sources.
6398 # Code to be used in simple compile tests
6399 lt_simple_compile_test_code
="int some_variable = 0;\n"
6401 # Code to be used in simple link tests
6402 lt_simple_link_test_code
='int main(){return(0);}\n'
6405 # If no C compiler was specified, use CC.
6408 # If no C compiler flags were specified, use CFLAGS.
6409 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6411 # Allow CC to be a program name with arguments.
6415 # save warnings/boilerplate of simple test code
6416 ac_outfile
=conftest.
$ac_objext
6417 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6418 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6419 _lt_compiler_boilerplate
=`cat conftest.err`
6422 ac_outfile
=conftest.
$ac_objext
6423 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6424 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6425 _lt_linker_boilerplate
=`cat conftest.err`
6430 lt_prog_compiler_no_builtin_flag
=
6432 if test "$GCC" = yes; then
6433 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6436 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6437 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6438 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6439 echo $ECHO_N "(cached) $ECHO_C" >&6
6441 lt_cv_prog_compiler_rtti_exceptions
=no
6442 ac_outfile
=conftest.
$ac_objext
6443 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6444 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6445 # Insert the option either (1) after the last *FLAGS variable, or
6446 # (2) before a word containing "conftest.", or (3) at the end.
6447 # Note that $ac_compile itself does not contain backslashes and begins
6448 # with a dollar sign (not a hyphen), so the echo should work correctly.
6449 # The option is referenced via a variable to avoid confusing sed.
6450 lt_compile
=`echo "$ac_compile" | $SED \
6451 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6453 -e 's:$: $lt_compiler_flag:'`
6454 (eval echo "\"\$as_me:6454: $lt_compile\"" >&5)
6455 (eval "$lt_compile" 2>conftest.err
)
6457 cat conftest.err
>&5
6458 echo "$as_me:6458: \$? = $ac_status" >&5
6459 if (exit $ac_status) && test -s "$ac_outfile"; then
6460 # The compiler can only warn and ignore the option if not recognized
6461 # So say no if there are warnings other than the usual output.
6462 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6464 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6465 lt_cv_prog_compiler_rtti_exceptions
=yes
6471 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6472 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6474 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6475 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6482 lt_prog_compiler_wl
=
6483 lt_prog_compiler_pic
=
6484 lt_prog_compiler_static
=
6486 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6487 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6489 if test "$GCC" = yes; then
6490 lt_prog_compiler_wl
='-Wl,'
6491 lt_prog_compiler_static
='-static'
6495 # All AIX code is PIC.
6496 if test "$host_cpu" = ia64
; then
6497 # AIX 5 now supports IA64 processor
6498 lt_prog_compiler_static
='-Bstatic'
6503 # FIXME: we need at least 68020 code to build shared libraries, but
6504 # adding the `-m68020' flag to GCC prevents building anything better,
6506 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6509 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6510 # PIC is the default for these OSes.
6513 mingw
* | pw32
* | os2
*)
6514 # This hack is so that the source file can tell whether it is being
6515 # built for inclusion in a dll (and should export symbols for example).
6516 lt_prog_compiler_pic
='-DDLL_EXPORT'
6519 darwin
* | rhapsody
*)
6520 # PIC is the default on this platform
6521 # Common symbols not allowed in MH_DYLIB files
6522 lt_prog_compiler_pic
='-fno-common'
6526 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6527 # Instead, we relocate shared libraries at runtime.
6531 # Just because we use GCC doesn't mean we suddenly get shared libraries
6532 # on systems that don't support them.
6533 lt_prog_compiler_can_build_shared
=no
6538 if test -d /usr
/nec
; then
6539 lt_prog_compiler_pic
=-Kconform_pic
6544 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6551 lt_prog_compiler_pic
='-fPIC'
6557 lt_prog_compiler_pic
='-fPIC'
6561 # PORTME Check for flag to pass linker flags through the system compiler.
6564 lt_prog_compiler_wl
='-Wl,'
6565 if test "$host_cpu" = ia64
; then
6566 # AIX 5 now supports IA64 processor
6567 lt_prog_compiler_static
='-Bstatic'
6569 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6573 # PIC is the default on this platform
6574 # Common symbols not allowed in MH_DYLIB files
6575 case $cc_basename in
6577 lt_prog_compiler_pic
='-qnocommon'
6578 lt_prog_compiler_wl
='-Wl,'
6583 mingw
* | pw32
* | os2
*)
6584 # This hack is so that the source file can tell whether it is being
6585 # built for inclusion in a dll (and should export symbols for example).
6586 lt_prog_compiler_pic
='-DDLL_EXPORT'
6589 hpux9
* | hpux10
* | hpux11
*)
6590 lt_prog_compiler_wl
='-Wl,'
6591 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6598 lt_prog_compiler_pic
='+Z'
6601 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6602 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6605 irix5
* | irix6
* | nonstopux
*)
6606 lt_prog_compiler_wl
='-Wl,'
6607 # PIC (with -KPIC) is the default.
6608 lt_prog_compiler_static
='-non_shared'
6612 lt_prog_compiler_pic
='-KPIC'
6613 lt_prog_compiler_static
='-Bstatic'
6617 case $cc_basename in
6619 lt_prog_compiler_wl
='-Wl,'
6620 lt_prog_compiler_pic
='-KPIC'
6621 lt_prog_compiler_static
='-static'
6623 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6624 # Portland Group compilers (*not* the Pentium gcc compiler,
6625 # which looks to be a dead project)
6626 lt_prog_compiler_wl
='-Wl,'
6627 lt_prog_compiler_pic
='-fpic'
6628 lt_prog_compiler_static
='-Bstatic'
6631 lt_prog_compiler_wl
='-Wl,'
6632 # All Alpha code is PIC.
6633 lt_prog_compiler_static
='-non_shared'
6638 osf3
* | osf4
* | osf5
*)
6639 lt_prog_compiler_wl
='-Wl,'
6640 # All OSF/1 code is PIC.
6641 lt_prog_compiler_static
='-non_shared'
6645 lt_prog_compiler_pic
='-KPIC'
6646 lt_prog_compiler_static
='-Bstatic'
6647 case $cc_basename in
6649 lt_prog_compiler_wl
='-Qoption ld ';;
6651 lt_prog_compiler_wl
='-Wl,';;
6656 lt_prog_compiler_wl
='-Qoption ld '
6657 lt_prog_compiler_pic
='-PIC'
6658 lt_prog_compiler_static
='-Bstatic'
6661 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6662 lt_prog_compiler_wl
='-Wl,'
6663 lt_prog_compiler_pic
='-KPIC'
6664 lt_prog_compiler_static
='-Bstatic'
6668 if test -d /usr
/nec
;then
6669 lt_prog_compiler_pic
='-Kconform_pic'
6670 lt_prog_compiler_static
='-Bstatic'
6674 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6675 lt_prog_compiler_wl
='-Wl,'
6676 lt_prog_compiler_pic
='-KPIC'
6677 lt_prog_compiler_static
='-Bstatic'
6681 lt_prog_compiler_wl
='-Wl,'
6682 lt_prog_compiler_can_build_shared
=no
6686 lt_prog_compiler_pic
='-pic'
6687 lt_prog_compiler_static
='-Bstatic'
6691 lt_prog_compiler_can_build_shared
=no
6696 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6697 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6700 # Check to make sure the PIC flag actually works.
6702 if test -n "$lt_prog_compiler_pic"; then
6704 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6705 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6706 if test "${lt_prog_compiler_pic_works+set}" = set; then
6707 echo $ECHO_N "(cached) $ECHO_C" >&6
6709 lt_prog_compiler_pic_works
=no
6710 ac_outfile
=conftest.
$ac_objext
6711 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6712 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6713 # Insert the option either (1) after the last *FLAGS variable, or
6714 # (2) before a word containing "conftest.", or (3) at the end.
6715 # Note that $ac_compile itself does not contain backslashes and begins
6716 # with a dollar sign (not a hyphen), so the echo should work correctly.
6717 # The option is referenced via a variable to avoid confusing sed.
6718 lt_compile
=`echo "$ac_compile" | $SED \
6719 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6720 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6721 -e 's:$: $lt_compiler_flag:'`
6722 (eval echo "\"\$as_me:6722: $lt_compile\"" >&5)
6723 (eval "$lt_compile" 2>conftest.err
)
6725 cat conftest.err
>&5
6726 echo "$as_me:6726: \$? = $ac_status" >&5
6727 if (exit $ac_status) && test -s "$ac_outfile"; then
6728 # The compiler can only warn and ignore the option if not recognized
6729 # So say no if there are warnings other than the usual output.
6730 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6731 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6732 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6733 lt_prog_compiler_pic_works
=yes
6739 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6740 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6742 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6743 case $lt_prog_compiler_pic in
6745 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6748 lt_prog_compiler_pic
=
6749 lt_prog_compiler_can_build_shared
=no
6754 # For platforms which do not support PIC, -DPIC is meaningless:
6756 lt_prog_compiler_pic
=
6759 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6764 # Check to make sure the static flag actually works.
6766 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6767 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6768 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6769 if test "${lt_prog_compiler_static_works+set}" = set; then
6770 echo $ECHO_N "(cached) $ECHO_C" >&6
6772 lt_prog_compiler_static_works
=no
6773 save_LDFLAGS
="$LDFLAGS"
6774 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6775 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6776 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6777 # The linker can only warn and ignore the option if not recognized
6778 # So say no if there are warnings
6779 if test -s conftest.err
; then
6780 # Append any errors to the config.log.
6781 cat conftest.err
1>&5
6782 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6783 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6784 if diff conftest.exp conftest.er2
>/dev
/null
; then
6785 lt_prog_compiler_static_works
=yes
6788 lt_prog_compiler_static_works
=yes
6792 LDFLAGS
="$save_LDFLAGS"
6795 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6796 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6798 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6801 lt_prog_compiler_static
=
6805 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6806 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6807 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6808 echo $ECHO_N "(cached) $ECHO_C" >&6
6810 lt_cv_prog_compiler_c_o
=no
6811 $rm -r conftest
2>/dev
/null
6815 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6817 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6818 # Insert the option either (1) after the last *FLAGS variable, or
6819 # (2) before a word containing "conftest.", or (3) at the end.
6820 # Note that $ac_compile itself does not contain backslashes and begins
6821 # with a dollar sign (not a hyphen), so the echo should work correctly.
6822 lt_compile
=`echo "$ac_compile" | $SED \
6823 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6824 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6825 -e 's:$: $lt_compiler_flag:'`
6826 (eval echo "\"\$as_me:6826: $lt_compile\"" >&5)
6827 (eval "$lt_compile" 2>out
/conftest.err
)
6829 cat out
/conftest.err
>&5
6830 echo "$as_me:6830: \$? = $ac_status" >&5
6831 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6833 # The compiler can only warn and ignore the option if not recognized
6834 # So say no if there are warnings
6835 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6836 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6837 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6838 lt_cv_prog_compiler_c_o
=yes
6843 # SGI C++ compiler will create directory out/ii_files/ for
6844 # template instantiation
6845 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6846 $rm out
/* && rmdir out
6852 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6853 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6856 hard_links
="nottested"
6857 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6858 # do not overwrite the value of need_locks provided by the user
6859 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6860 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6863 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6865 ln conftest.a conftest.b
2>&5 || hard_links
=no
6866 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6867 echo "$as_me:$LINENO: result: $hard_links" >&5
6868 echo "${ECHO_T}$hard_links" >&6
6869 if test "$hard_links" = no
; then
6870 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6871 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6878 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6879 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6882 allow_undefined_flag
=
6883 enable_shared_with_static_runtimes
=no
6885 archive_expsym_cmds
=
6886 old_archive_From_new_cmds
=
6887 old_archive_from_expsyms_cmds
=
6888 export_dynamic_flag_spec
=
6889 whole_archive_flag_spec
=
6890 thread_safe_flag_spec
=
6891 hardcode_libdir_flag_spec
=
6892 hardcode_libdir_flag_spec_ld
=
6893 hardcode_libdir_separator
=
6896 hardcode_shlibpath_var
=unsupported
6897 link_all_deplibs
=unknown
6898 hardcode_automatic
=no
6901 always_export_symbols
=no
6902 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6903 # include_expsyms should be a list of space-separated symbols to be *always*
6904 # included in the symbol list
6906 # exclude_expsyms can be an extended regexp of symbols to exclude
6907 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6908 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6909 # as well as any symbol that contains `d'.
6910 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6911 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6912 # platforms (ab)use it in PIC code, but their linkers get confused if
6913 # the symbol is explicitly referenced. Since portable code cannot
6914 # rely on this symbol name, it's probably fine to never include it in
6915 # preloaded symbol tables.
6916 extract_expsyms_cmds
=
6917 # Just being paranoid about ensuring that cc_basename is set.
6918 for cc_temp
in $compiler""; do
6920 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6921 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6926 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6929 cygwin
* | mingw
* | pw32
*)
6930 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6931 # When not using gcc, we currently assume that we are using
6932 # Microsoft Visual C++.
6933 if test "$GCC" != yes; then
6938 # we just hope/assume this is gcc and not c89 (= MSVC++)
6947 if test "$with_gnu_ld" = yes; then
6948 # If archive_cmds runs LD, not CC, wlarc should be empty
6951 # Set some defaults for GNU ld with shared library support. These
6952 # are reset later if shared libraries are not supported. Putting them
6953 # here allows them to be overridden if necessary.
6954 runpath_var
=LD_RUN_PATH
6955 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6956 export_dynamic_flag_spec
='${wl}--export-dynamic'
6957 # ancient GNU ld didn't support --whole-archive et. al.
6958 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6959 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6961 whole_archive_flag_spec
=
6963 supports_anon_versioning
=no
6964 case `$LD -v 2>/dev/null` in
6965 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6966 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6967 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6968 *\
2.11.
*) ;; # other 2.11 versions
6969 *) supports_anon_versioning
=yes ;;
6972 # See if GNU ld supports shared libraries.
6974 aix3
* | aix4
* | aix5
*)
6975 # On AIX/PPC, the GNU linker is very broken
6976 if test "$host_cpu" != ia64
; then
6980 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6981 *** to be unable to reliably create shared libraries on AIX.
6982 *** Therefore, libtool is disabling shared libraries support. If you
6983 *** really care for shared libraries, you may want to modify your PATH
6984 *** so that a non-GNU linker is found, and then restart.
6991 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)'
6992 hardcode_libdir_flag_spec
='-L$libdir'
6993 hardcode_minus_L
=yes
6995 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6996 # that the semantics of dynamic libraries on AmigaOS, at least up
6997 # to version 4, is to share data among multiple programs linked
6998 # with the same dynamic library. Since this doesn't match the
6999 # behavior of shared libraries on other platforms, we can't use
7005 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7006 allow_undefined_flag
=unsupported
7007 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7008 # support --undefined. This deserves some investigation. FIXME
7009 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7015 cygwin
* | mingw
* | pw32
*)
7016 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7017 # as there is no search path for DLLs.
7018 hardcode_libdir_flag_spec
='-L$libdir'
7019 allow_undefined_flag
=unsupported
7020 always_export_symbols
=no
7021 enable_shared_with_static_runtimes
=yes
7022 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7024 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7025 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7026 # If the export-symbols file already is a .def file (1st line
7027 # is EXPORTS), use it as is; otherwise, prepend...
7028 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7029 cp $export_symbols $output_objdir/$soname.def;
7031 echo EXPORTS > $output_objdir/$soname.def;
7032 cat $export_symbols >> $output_objdir/$soname.def;
7034 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7042 hardcode_shlibpath_var
=no
7043 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7044 export_dynamic_flag_spec
='${wl}-E'
7045 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7046 # Instead, shared libraries are loaded at an image base (0x10000000 by
7047 # default) and relocated if they conflict, which is a slow very memory
7048 # consuming and fragmenting process. To avoid this, we pick a random,
7049 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7050 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7051 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7052 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'
7056 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7058 case $cc_basename,$host_cpu in
7059 pgcc
*) # Portland Group C compiler
7060 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'
7061 tmp_addflag
=' $pic_flag'
7063 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7064 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'
7065 tmp_addflag
=' $pic_flag -Mnomain' ;;
7066 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7067 tmp_addflag
=' -i_dynamic' ;;
7068 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7069 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7070 ifc
* | ifort
*) # Intel Fortran compiler
7071 tmp_addflag
=' -nofor_main' ;;
7073 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7075 if test $supports_anon_versioning = yes; then
7076 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7077 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7078 $echo "local: *; };" >> $output_objdir/$libname.ver~
7079 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7087 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7088 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7091 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7092 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7097 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7101 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7102 *** create shared libraries on Solaris systems. Therefore, libtool
7103 *** is disabling shared libraries support. We urge you to upgrade GNU
7104 *** binutils to release 2.9.1 or newer. Another option is to modify
7105 *** your PATH or compiler configuration so that the native linker is
7106 *** used, and then restart.
7109 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7110 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7111 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7117 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7118 case `$LD -v 2>&1` in
7119 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7123 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7124 *** reliably create shared libraries on SCO systems. Therefore, libtool
7125 *** is disabling shared libraries support. We urge you to upgrade GNU
7126 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7127 *** your PATH or compiler configuration so that the native linker is
7128 *** used, and then restart.
7133 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7134 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7135 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7136 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7145 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7148 hardcode_shlibpath_var
=no
7152 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7153 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7154 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7161 if test "$ld_shlibs" = no
; then
7163 hardcode_libdir_flag_spec
=
7164 export_dynamic_flag_spec
=
7165 whole_archive_flag_spec
=
7168 # PORTME fill in a description of your system's linker (not GNU ld)
7171 allow_undefined_flag
=unsupported
7172 always_export_symbols
=yes
7173 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'
7174 # Note: this linker hardcodes the directories in LIBPATH if there
7175 # are no directories specified by -L.
7176 hardcode_minus_L
=yes
7177 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7178 # Neither direct hardcoding nor static linking is supported with a
7180 hardcode_direct
=unsupported
7185 if test "$host_cpu" = ia64
; then
7186 # On IA64, the linker does run time linking by default, so we don't
7187 # have to do anything special.
7188 aix_use_runtimelinking
=no
7189 exp_sym_flag
='-Bexport'
7192 # If we're using GNU nm, then we don't want the "-C" option.
7193 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7194 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7195 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'
7197 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'
7199 aix_use_runtimelinking
=no
7201 # Test if we are trying to use run time linking or normal
7202 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7203 # need to do runtime linking.
7204 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7205 for ld_flag
in $LDFLAGS; do
7206 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7207 aix_use_runtimelinking
=yes
7214 exp_sym_flag
='-bexport'
7215 no_entry_flag
='-bnoentry'
7218 # When large executables or shared objects are built, AIX ld can
7219 # have problems creating the table of contents. If linking a library
7220 # or program results in "error TOC overflow" add -mminimal-toc to
7221 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7222 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7226 hardcode_libdir_separator
=':'
7227 link_all_deplibs
=yes
7229 if test "$GCC" = yes; then
7230 case $host_os in aix4.
[012]|aix4.
[012].
*)
7231 # We only want to do this on AIX 4.2 and lower, the check
7232 # below for broken collect2 doesn't work under 4.3+
7233 collect2name
=`${CC} -print-prog-name=collect2`
7234 if test -f "$collect2name" && \
7235 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7237 # We have reworked collect2
7240 # We have old collect2
7241 hardcode_direct
=unsupported
7242 # It fails to find uninstalled libraries when the uninstalled
7243 # path is not listed in the libpath. Setting hardcode_minus_L
7244 # to unsupported forces relinking
7245 hardcode_minus_L
=yes
7246 hardcode_libdir_flag_spec
='-L$libdir'
7247 hardcode_libdir_separator
=
7251 shared_flag
='-shared'
7252 if test "$aix_use_runtimelinking" = yes; then
7253 shared_flag
="$shared_flag "'${wl}-G'
7257 if test "$host_cpu" = ia64
; then
7258 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7259 # chokes on -Wl,-G. The following line is correct:
7262 if test "$aix_use_runtimelinking" = yes; then
7263 shared_flag
='${wl}-G'
7265 shared_flag
='${wl}-bM:SRE'
7270 # It seems that -bexpall does not export symbols beginning with
7271 # underscore (_), so it is better to generate a list of symbols to export.
7272 always_export_symbols
=yes
7273 if test "$aix_use_runtimelinking" = yes; then
7274 # Warning - without using the other runtime loading flags (-brtl),
7275 # -berok will link without error, but may produce a broken library.
7276 allow_undefined_flag
='-berok'
7277 # Determine the default libpath from the value encoded in an empty executable.
7278 cat >conftest.
$ac_ext <<_ACEOF
7281 cat confdefs.h
>>conftest.
$ac_ext
7282 cat >>conftest.
$ac_ext <<_ACEOF
7283 /* end confdefs.h. */
7293 rm -f conftest.
$ac_objext conftest
$ac_exeext
7294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7295 (eval $ac_link) 2>conftest.er1
7297 grep -v '^ *+' conftest.er1
>conftest.err
7299 cat conftest.err
>&5
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); } &&
7302 { ac_try
='test -z "$ac_c_werror_flag"
7303 || test ! -s conftest.err'
7304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308 (exit $ac_status); }; } &&
7309 { ac_try
='test -s conftest$ac_exeext'
7310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); }; }; then
7316 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7318 # Check for a 64-bit object if we didn't find anything.
7319 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; }
7322 echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.
$ac_ext >&5
7326 rm -f conftest.err conftest.
$ac_objext \
7327 conftest
$ac_exeext conftest.
$ac_ext
7328 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7330 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7331 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"
7333 if test "$host_cpu" = ia64
; then
7334 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7335 allow_undefined_flag
="-z nodefs"
7336 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"
7338 # Determine the default libpath from the value encoded in an empty executable.
7339 cat >conftest.
$ac_ext <<_ACEOF
7342 cat confdefs.h
>>conftest.
$ac_ext
7343 cat >>conftest.
$ac_ext <<_ACEOF
7344 /* end confdefs.h. */
7354 rm -f conftest.
$ac_objext conftest
$ac_exeext
7355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7356 (eval $ac_link) 2>conftest.er1
7358 grep -v '^ *+' conftest.er1
>conftest.err
7360 cat conftest.err
>&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } &&
7363 { ac_try
='test -z "$ac_c_werror_flag"
7364 || test ! -s conftest.err'
7365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); }; } &&
7370 { ac_try
='test -s conftest$ac_exeext'
7371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); }; }; then
7377 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7379 # Check for a 64-bit object if we didn't find anything.
7380 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; }
7383 echo "$as_me: failed program was:" >&5
7384 sed 's/^/| /' conftest.
$ac_ext >&5
7387 rm -f conftest.err conftest.
$ac_objext \
7388 conftest
$ac_exeext conftest.
$ac_ext
7389 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7391 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7392 # Warning - without using the other run time loading flags,
7393 # -berok will link without error, but may produce a broken library.
7394 no_undefined_flag
=' ${wl}-bernotok'
7395 allow_undefined_flag
=' ${wl}-berok'
7396 # Exported symbols can be pulled into shared objects from archives
7397 whole_archive_flag_spec
='$convenience'
7398 archive_cmds_need_lc
=yes
7399 # This is similar to how AIX traditionally builds its shared libraries.
7400 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'
7406 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)'
7407 hardcode_libdir_flag_spec
='-L$libdir'
7408 hardcode_minus_L
=yes
7409 # see comment about different semantics on the GNU ld section
7414 export_dynamic_flag_spec
=-rdynamic
7417 cygwin
* | mingw
* | pw32
*)
7418 # When not using gcc, we currently assume that we are using
7419 # Microsoft Visual C++.
7420 # hardcode_libdir_flag_spec is actually meaningless, as there is
7421 # no search path for DLLs.
7422 hardcode_libdir_flag_spec
=' '
7423 allow_undefined_flag
=unsupported
7424 # Tell ltmain to make .lib files, not .a files.
7426 # Tell ltmain to make .dll files, not .so files.
7428 # FIXME: Setting linknames here is a bad hack.
7429 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7430 # The linker will automatically build a .lib file if we build a DLL.
7431 old_archive_From_new_cmds
='true'
7432 # FIXME: Should let the user specify the lib program.
7433 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7434 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7435 enable_shared_with_static_runtimes
=yes
7438 darwin
* | rhapsody
*)
7440 rhapsody
* | darwin1.
[012])
7441 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7444 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7445 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7447 case ${MACOSX_DEPLOYMENT_TARGET} in
7449 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7452 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7458 archive_cmds_need_lc
=no
7460 hardcode_automatic
=yes
7461 hardcode_shlibpath_var
=unsupported
7462 whole_archive_flag_spec
=''
7463 link_all_deplibs
=yes
7464 if test "$GCC" = yes ; then
7465 output_verbose_link_cmd
='echo'
7466 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7467 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7468 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7469 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}'
7470 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}'
7472 case $cc_basename in
7474 output_verbose_link_cmd
='echo'
7475 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7476 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7477 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7478 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}'
7479 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}'
7489 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7490 hardcode_libdir_flag_spec
='-L$libdir'
7491 hardcode_shlibpath_var
=no
7498 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7499 # support. Future versions do this automatically, but an explicit c++rt0.o
7500 # does not break anything, and helps significantly (at the cost of a little
7503 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7504 hardcode_libdir_flag_spec
='-R$libdir'
7506 hardcode_shlibpath_var
=no
7509 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7511 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7513 hardcode_minus_L
=yes
7514 hardcode_shlibpath_var
=no
7517 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7518 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7519 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7520 hardcode_libdir_flag_spec
='-R$libdir'
7522 hardcode_shlibpath_var
=no
7526 if test "$GCC" = yes; then
7527 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'
7529 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'
7531 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7532 hardcode_libdir_separator
=:
7535 # hardcode_minus_L: Not really in the search PATH,
7536 # but as the default location of the library.
7537 hardcode_minus_L
=yes
7538 export_dynamic_flag_spec
='${wl}-E'
7542 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7543 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7545 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7547 if test "$with_gnu_ld" = no
; then
7548 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7549 hardcode_libdir_separator
=:
7552 export_dynamic_flag_spec
='${wl}-E'
7554 # hardcode_minus_L: Not really in the search PATH,
7555 # but as the default location of the library.
7556 hardcode_minus_L
=yes
7561 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7564 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7567 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7570 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7576 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7579 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7582 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7586 if test "$with_gnu_ld" = no
; then
7587 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7588 hardcode_libdir_separator
=:
7592 hardcode_libdir_flag_spec_ld
='+b $libdir'
7594 hardcode_shlibpath_var
=no
7598 export_dynamic_flag_spec
='${wl}-E'
7600 # hardcode_minus_L: Not really in the search PATH,
7601 # but as the default location of the library.
7602 hardcode_minus_L
=yes
7608 irix5
* | irix6
* | nonstopux
*)
7609 if test "$GCC" = yes; then
7610 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'
7612 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'
7613 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7615 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7616 hardcode_libdir_separator
=:
7617 link_all_deplibs
=yes
7621 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7622 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7624 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7626 hardcode_libdir_flag_spec
='-R$libdir'
7628 hardcode_shlibpath_var
=no
7632 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7634 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7635 hardcode_libdir_separator
=:
7636 hardcode_shlibpath_var
=no
7641 hardcode_shlibpath_var
=no
7642 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7643 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7644 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7645 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7646 export_dynamic_flag_spec
='${wl}-E'
7649 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7650 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7651 hardcode_libdir_flag_spec
='-R$libdir'
7654 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7655 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7662 hardcode_libdir_flag_spec
='-L$libdir'
7663 hardcode_minus_L
=yes
7664 allow_undefined_flag
=unsupported
7665 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'
7666 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7670 if test "$GCC" = yes; then
7671 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7672 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'
7674 allow_undefined_flag
=' -expect_unresolved \*'
7675 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'
7677 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7678 hardcode_libdir_separator
=:
7681 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7682 if test "$GCC" = yes; then
7683 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7684 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'
7685 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7687 allow_undefined_flag
=' -expect_unresolved \*'
7688 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'
7689 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7690 $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'
7692 # Both c and cxx compiler support -rpath directly
7693 hardcode_libdir_flag_spec
='-rpath $libdir'
7695 hardcode_libdir_separator
=:
7699 no_undefined_flag
=' -z text'
7700 if test "$GCC" = yes; then
7702 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7703 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7704 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7707 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7708 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7709 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7711 hardcode_libdir_flag_spec
='-R$libdir'
7712 hardcode_shlibpath_var
=no
7714 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7716 # The compiler driver will combine linker options so we
7717 # cannot just pass the convience library names through
7718 # without $wl, iff we do not link with $LD.
7719 # Luckily, gcc supports the same syntax we need for Sun Studio.
7720 # Supported since Solaris 2.6 (maybe 2.5.1?)
7723 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7725 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' ;;
7728 link_all_deplibs
=yes
7732 if test "x$host_vendor" = xsequent
; then
7733 # Use $CC to link under sequent, because it throws in some extra .o
7734 # files that make .init and .fini sections work.
7735 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7737 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7739 hardcode_libdir_flag_spec
='-L$libdir'
7741 hardcode_minus_L
=yes
7742 hardcode_shlibpath_var
=no
7746 case $host_vendor in
7748 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7749 hardcode_direct
=yes # is this really true???
7752 ## LD is ld it makes a PLAMLIB
7753 ## CC just makes a GrossModule.
7754 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7755 reload_cmds
='$CC -r -o $output$reload_objs'
7759 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7760 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7763 runpath_var
='LD_RUN_PATH'
7764 hardcode_shlibpath_var
=no
7768 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7769 hardcode_shlibpath_var
=no
7770 export_dynamic_flag_spec
='-Bexport'
7774 if test -d /usr
/nec
; then
7775 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7776 hardcode_shlibpath_var
=no
7777 runpath_var
=LD_RUN_PATH
7778 hardcode_runpath_var
=yes
7783 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
7784 no_undefined_flag
='${wl}-z,text'
7785 archive_cmds_need_lc
=no
7786 hardcode_shlibpath_var
=no
7787 runpath_var
='LD_RUN_PATH'
7789 if test "$GCC" = yes; then
7790 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7791 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7793 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7794 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7798 sysv5
* | sco3.2v5
* | sco5v6
*)
7799 # Note: We can NOT use -z defs as we might desire, because we do not
7800 # link with -lc, and that would cause any symbols used from libc to
7801 # always be unresolved, which means just about no library would
7802 # ever link correctly. If we're not using GNU ld we use -z text
7803 # though, which does catch some bad symbols but isn't as heavy-handed
7805 no_undefined_flag
='${wl}-z,text'
7806 allow_undefined_flag
='${wl}-z,nodefs'
7807 archive_cmds_need_lc
=no
7808 hardcode_shlibpath_var
=no
7809 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7810 hardcode_libdir_separator
=':'
7811 link_all_deplibs
=yes
7812 export_dynamic_flag_spec
='${wl}-Bexport'
7813 runpath_var
='LD_RUN_PATH'
7815 if test "$GCC" = yes; then
7816 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7817 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7819 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7820 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7825 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7826 hardcode_libdir_flag_spec
='-L$libdir'
7827 hardcode_shlibpath_var
=no
7836 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7837 echo "${ECHO_T}$ld_shlibs" >&6
7838 test "$ld_shlibs" = no
&& can_build_shared
=no
7841 # Do we need to explicitly link libc?
7843 case "x$archive_cmds_need_lc" in
7845 # Assume -lc should be added
7846 archive_cmds_need_lc
=yes
7848 if test "$enable_shared" = yes && test "$GCC" = yes; then
7849 case $archive_cmds in
7851 # FIXME: we may have to deal with multi-command sequences.
7854 # Test whether the compiler implicitly links with -lc since on some
7855 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7856 # to ld, don't add -lc before -lgcc.
7857 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7858 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7860 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7863 (eval $ac_compile) 2>&5
7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); } 2>conftest.err
; then
7869 libobjs
=conftest.
$ac_objext
7871 wl
=$lt_prog_compiler_wl
7872 pic_flag
=$lt_prog_compiler_pic
7878 lt_save_allow_undefined_flag
=$allow_undefined_flag
7879 allow_undefined_flag
=
7880 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7881 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }
7886 archive_cmds_need_lc
=no
7888 archive_cmds_need_lc
=yes
7890 allow_undefined_flag
=$lt_save_allow_undefined_flag
7892 cat conftest.err
1>&5
7895 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7896 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7903 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7904 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7906 libname_spec
='lib$name'
7914 shlibpath_overrides_runpath
=unknown
7916 dynamic_linker
="$host_os ld.so"
7917 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7918 if test "$GCC" = yes; then
7919 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7920 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7921 # if the path contains ";" then we assume it to be the separator
7922 # otherwise default to the standard path separator (i.e. ":") - it is
7923 # assumed that no part of a normal pathname contains ";" but that should
7924 # okay in the real world where ";" in dirpaths is itself problematic.
7925 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7927 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7930 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7932 need_lib_prefix
=unknown
7933 hardcode_into_libs
=no
7935 # when you set need_version to no, make sure it does not cause -set_version
7936 # flags to be left without arguments
7937 need_version
=unknown
7942 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7943 shlibpath_var
=LIBPATH
7945 # AIX 3 has no versioning support, so we append a major version to the name.
7946 soname_spec
='${libname}${release}${shared_ext}$major'
7953 hardcode_into_libs
=yes
7954 if test "$host_cpu" = ia64
; then
7955 # AIX 5 supports IA64
7956 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7957 shlibpath_var
=LD_LIBRARY_PATH
7959 # With GCC up to 2.95.x, collect2 would create an import file
7960 # for dependence libraries. The import file would start with
7961 # the line `#! .'. This would cause the generated library to
7962 # depend on `.', always an invalid library. This was fixed in
7963 # development snapshots of GCC prior to 3.0.
7965 aix4 | aix4.
[01] | aix4.
[01].
*)
7966 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7968 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7975 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7976 # soname into executable. Probably we can add versioning support to
7977 # collect2, so additional links can be useful in future.
7978 if test "$aix_use_runtimelinking" = yes; then
7979 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7980 # instead of lib<name>.a to let people know that these are not
7981 # typical AIX shared libraries.
7982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7984 # We preserve .a as extension for shared libraries through AIX4.2
7985 # and later when we are not doing run time linking.
7986 library_names_spec
='${libname}${release}.a $libname.a'
7987 soname_spec
='${libname}${release}${shared_ext}$major'
7989 shlibpath_var
=LIBPATH
7994 library_names_spec
='$libname.ixlibrary $libname.a'
7995 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7996 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'
8000 library_names_spec
='${libname}${shared_ext}'
8001 dynamic_linker
="$host_os ld.so"
8002 shlibpath_var
=LIBRARY_PATH
8008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8009 soname_spec
='${libname}${release}${shared_ext}$major'
8010 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8011 shlibpath_var
=LD_LIBRARY_PATH
8012 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8013 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8014 # the default ld.so.conf also contains /usr/contrib/lib and
8015 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8016 # libtool to hard-code these into programs
8019 cygwin
* | mingw
* | pw32
*)
8020 version_type
=windows
8025 case $GCC,$host_os in
8026 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8027 library_names_spec
='$libname.dll.a'
8028 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8029 postinstall_cmds
='base_file=`basename \${file}`~
8030 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8031 dldir=$destdir/`dirname \$dlpath`~
8032 test -d \$dldir || mkdir -p \$dldir~
8033 $install_prog $dir/$dlname \$dldir/$dlname~
8034 chmod a+x \$dldir/$dlname'
8035 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8036 dlpath=$dir/\$dldll~
8038 shlibpath_overrides_runpath
=yes
8042 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8043 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8044 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8047 # MinGW DLLs use traditional 'lib' prefix
8048 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8049 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8050 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8051 # It is most probably a Windows format PATH printed by
8052 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8053 # path with ; separators, and with drive letters. We can handle the
8054 # drive letters (cygwin fileutils understands them), so leave them,
8055 # especially as we might pass files found there to a mingw objdump,
8056 # which wouldn't understand a cygwinified path. Ahh.
8057 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8059 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8063 # pw32 DLLs use 'pw' prefix rather than 'lib'
8064 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8070 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8073 dynamic_linker
='Win32 ld.exe'
8074 # FIXME: first we should search . and the directory the executable is in
8078 darwin
* | rhapsody
*)
8079 dynamic_linker
="$host_os dyld"
8083 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8084 soname_spec
='${libname}${release}${major}$shared_ext'
8085 shlibpath_overrides_runpath
=yes
8086 shlibpath_var
=DYLD_LIBRARY_PATH
8087 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8088 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8089 if test "$GCC" = yes; then
8090 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"`
8092 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8094 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8102 soname_spec
='${libname}${release}${shared_ext}$major'
8103 shlibpath_var
=LD_LIBRARY_PATH
8114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8115 soname_spec
='${libname}${release}${shared_ext}$major'
8116 shlibpath_var
=LD_LIBRARY_PATH
8117 shlibpath_overrides_runpath
=no
8118 hardcode_into_libs
=yes
8119 dynamic_linker
='GNU ld.so'
8122 freebsd
* | dragonfly
*)
8123 # DragonFly does not have aout. When/if they implement a new
8124 # versioning mechanism, adjust this.
8125 if test -x /usr
/bin
/objformat
; then
8126 objformat
=`/usr/bin/objformat`
8129 freebsd
[123]*) objformat
=aout
;;
8133 version_type
=freebsd-
$objformat
8134 case $version_type in
8136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8141 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8145 shlibpath_var
=LD_LIBRARY_PATH
8148 shlibpath_overrides_runpath
=yes
8150 freebsd3.
[01]* | freebsdelf3.
[01]*)
8151 shlibpath_overrides_runpath
=yes
8152 hardcode_into_libs
=yes
8154 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8155 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8156 shlibpath_overrides_runpath
=no
8157 hardcode_into_libs
=yes
8159 freebsd
*) # from 4.6 on
8160 shlibpath_overrides_runpath
=yes
8161 hardcode_into_libs
=yes
8170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8171 soname_spec
='${libname}${release}${shared_ext}$major'
8172 shlibpath_var
=LD_LIBRARY_PATH
8173 hardcode_into_libs
=yes
8176 hpux9
* | hpux10
* | hpux11
*)
8177 # Give a soname corresponding to the major version so that dld.sl refuses to
8178 # link against other versions.
8185 hardcode_into_libs
=yes
8186 dynamic_linker
="$host_os dld.so"
8187 shlibpath_var
=LD_LIBRARY_PATH
8188 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8190 soname_spec
='${libname}${release}${shared_ext}$major'
8191 if test "X$HPUX_IA64_MODE" = X32
; then
8192 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8194 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8196 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8200 hardcode_into_libs
=yes
8201 dynamic_linker
="$host_os dld.sl"
8202 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8203 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8205 soname_spec
='${libname}${release}${shared_ext}$major'
8206 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8207 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8211 dynamic_linker
="$host_os dld.sl"
8212 shlibpath_var
=SHLIB_PATH
8213 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8215 soname_spec
='${libname}${release}${shared_ext}$major'
8218 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8219 postinstall_cmds
='chmod 555 $lib'
8226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8227 soname_spec
='${libname}${release}${shared_ext}$major'
8228 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8229 shlibpath_var
=LD_LIBRARY_PATH
8230 shlibpath_overrides_runpath
=no
8231 hardcode_into_libs
=yes
8234 irix5
* | irix6
* | nonstopux
*)
8236 nonstopux
*) version_type
=nonstopux
;;
8238 if test "$lt_cv_prog_gnu_ld" = yes; then
8246 soname_spec
='${libname}${release}${shared_ext}$major'
8247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8249 irix5
* | nonstopux
*)
8253 case $LD in # libtool.m4 will add one of these switches to LD
8254 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8255 libsuff
= shlibsuff
= libmagic
=32-bit;;
8256 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8257 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8258 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8259 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8260 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8264 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8265 shlibpath_overrides_runpath
=no
8266 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8267 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8268 hardcode_into_libs
=yes
8271 # No shared lib support for Linux oldld, aout, or coff.
8272 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8276 # This must be Linux ELF.
8281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8282 soname_spec
='${libname}${release}${shared_ext}$major'
8283 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8284 shlibpath_var
=LD_LIBRARY_PATH
8285 shlibpath_overrides_runpath
=no
8286 # This implies no fast_install, which is unacceptable.
8287 # Some rework will be needed to allow for fast_install
8288 # before this can be enabled.
8289 hardcode_into_libs
=yes
8291 # find out which ABI we are using
8294 x86_64
*|s390x
*|powerpc64
*)
8295 echo '#line 8295 "configure"' > conftest.
$ac_ext
8296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8297 (eval $ac_compile) 2>&5
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; then
8301 case `/usr/bin/file conftest.$ac_objext` in
8304 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8312 # Append ld.so.conf contents to the search path
8313 if test -f /etc
/ld.so.conf
; then
8314 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' ' '`
8315 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8318 # We used to test for /lib/ld.so.1 and disable shared libraries on
8319 # powerpc, because MkLinux only supported shared libraries with the
8320 # GNU dynamic linker. Since this was broken with cross compilers,
8321 # most powerpc-linux boxes support dynamic linking these days and
8322 # people can always --disable-shared, the test was removed, and we
8323 # assume the GNU/Linux dynamic linker is in use.
8324 dynamic_linker
='GNU/Linux ld.so'
8331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8332 soname_spec
='${libname}${release}${shared_ext}$major'
8333 shlibpath_var
=LD_LIBRARY_PATH
8334 shlibpath_overrides_runpath
=no
8335 hardcode_into_libs
=yes
8336 dynamic_linker
='GNU ld.so'
8343 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8345 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8346 dynamic_linker
='NetBSD (a.out) ld.so'
8348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8349 soname_spec
='${libname}${release}${shared_ext}$major'
8350 dynamic_linker
='NetBSD ld.elf_so'
8352 shlibpath_var
=LD_LIBRARY_PATH
8353 shlibpath_overrides_runpath
=yes
8354 hardcode_into_libs
=yes
8359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8360 shlibpath_var
=LD_LIBRARY_PATH
8361 shlibpath_overrides_runpath
=yes
8368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8369 soname_spec
='${libname}${release}${shared_ext}$major'
8370 shlibpath_var
=LD_LIBRARY_PATH
8371 shlibpath_overrides_runpath
=yes
8376 sys_lib_dlsearch_path_spec
="/usr/lib"
8378 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8380 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8381 *) need_version
=no
;;
8383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8384 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8385 shlibpath_var
=LD_LIBRARY_PATH
8386 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8388 openbsd2.
[89] | openbsd2.
[89].
*)
8389 shlibpath_overrides_runpath
=no
8392 shlibpath_overrides_runpath
=yes
8396 shlibpath_overrides_runpath
=yes
8401 libname_spec
='$name'
8404 library_names_spec
='$libname${shared_ext} $libname.a'
8405 dynamic_linker
='OS/2 ld.exe'
8406 shlibpath_var
=LIBPATH
8409 osf3
* | osf4
* | osf5
*)
8413 soname_spec
='${libname}${release}${shared_ext}$major'
8414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8415 shlibpath_var
=LD_LIBRARY_PATH
8416 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8417 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8425 soname_spec
='${libname}${release}${shared_ext}$major'
8426 shlibpath_var
=LD_LIBRARY_PATH
8427 shlibpath_overrides_runpath
=yes
8428 hardcode_into_libs
=yes
8429 # ldd complains unless libraries are executable
8430 postinstall_cmds
='chmod +x $lib'
8435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8436 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8437 shlibpath_var
=LD_LIBRARY_PATH
8438 shlibpath_overrides_runpath
=yes
8439 if test "$with_gnu_ld" = yes; then
8447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8448 soname_spec
='${libname}${release}${shared_ext}$major'
8449 shlibpath_var
=LD_LIBRARY_PATH
8450 case $host_vendor in
8452 shlibpath_overrides_runpath
=no
8454 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8455 runpath_var
=LD_RUN_PATH
8463 shlibpath_overrides_runpath
=no
8464 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8470 if test -d /usr
/nec
;then
8472 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8473 soname_spec
='$libname${shared_ext}.$major'
8474 shlibpath_var
=LD_LIBRARY_PATH
8478 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8479 version_type
=freebsd-elf
8482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8483 soname_spec
='${libname}${release}${shared_ext}$major'
8484 shlibpath_var
=LD_LIBRARY_PATH
8485 hardcode_into_libs
=yes
8486 if test "$with_gnu_ld" = yes; then
8487 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8488 shlibpath_overrides_runpath
=no
8490 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8491 shlibpath_overrides_runpath
=yes
8494 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8498 sys_lib_dlsearch_path_spec
='/usr/lib'
8503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8504 soname_spec
='${libname}${release}${shared_ext}$major'
8505 shlibpath_var
=LD_LIBRARY_PATH
8512 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8513 echo "${ECHO_T}$dynamic_linker" >&6
8514 test "$dynamic_linker" = no
&& can_build_shared
=no
8516 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8517 if test "$GCC" = yes; then
8518 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8521 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8522 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8524 if test -n "$hardcode_libdir_flag_spec" || \
8525 test -n "$runpath_var" || \
8526 test "X$hardcode_automatic" = "Xyes" ; then
8528 # We can hardcode non-existant directories.
8529 if test "$hardcode_direct" != no
&&
8530 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8531 # have to relink, otherwise we might link with an installed library
8532 # when we should be linking with a yet-to-be-installed one
8533 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8534 test "$hardcode_minus_L" != no
; then
8535 # Linking always hardcodes the temporary library directory.
8536 hardcode_action
=relink
8538 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8539 hardcode_action
=immediate
8542 # We cannot hardcode anything, or else we can only hardcode existing
8544 hardcode_action
=unsupported
8546 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8547 echo "${ECHO_T}$hardcode_action" >&6
8549 if test "$hardcode_action" = relink
; then
8550 # Fast installation is not supported
8551 enable_fast_install
=no
8552 elif test "$shlibpath_overrides_runpath" = yes ||
8553 test "$enable_shared" = no
; then
8554 # Fast installation is not necessary
8555 enable_fast_install
=needless
8560 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8561 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8562 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8563 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8564 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8565 echo "$as_me:$LINENO: result: yes" >&5
8566 echo "${ECHO_T}yes" >&6
8568 # FIXME - insert some real tests, host_os isn't really good enough
8571 if test -n "$STRIP" ; then
8572 striplib
="$STRIP -x"
8573 echo "$as_me:$LINENO: result: yes" >&5
8574 echo "${ECHO_T}yes" >&6
8576 echo "$as_me:$LINENO: result: no" >&5
8577 echo "${ECHO_T}no" >&6
8581 echo "$as_me:$LINENO: result: no" >&5
8582 echo "${ECHO_T}no" >&6
8587 if test "x$enable_dlopen" != xyes
; then
8588 enable_dlopen
=unknown
8589 enable_dlopen_self
=unknown
8590 enable_dlopen_self_static
=unknown
8597 lt_cv_dlopen
="load_add_on"
8599 lt_cv_dlopen_self
=yes
8603 lt_cv_dlopen
="LoadLibrary"
8608 lt_cv_dlopen
="dlopen"
8613 # if libdl is installed we need to link against it
8614 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8615 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8616 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8619 ac_check_lib_save_LIBS
=$LIBS
8621 cat >conftest.
$ac_ext <<_ACEOF
8624 cat confdefs.h
>>conftest.
$ac_ext
8625 cat >>conftest.
$ac_ext <<_ACEOF
8626 /* end confdefs.h. */
8628 /* Override any gcc2 internal prototype to avoid an error. */
8632 /* We use char because int might match the return type of a gcc2
8633 builtin and then its argument prototype would still apply. */
8643 rm -f conftest.
$ac_objext conftest
$ac_exeext
8644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8645 (eval $ac_link) 2>conftest.er1
8647 grep -v '^ *+' conftest.er1
>conftest.err
8649 cat conftest.err
>&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); } &&
8652 { ac_try
='test -z "$ac_c_werror_flag"
8653 || test ! -s conftest.err'
8654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); }; } &&
8659 { ac_try
='test -s conftest$ac_exeext'
8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664 (exit $ac_status); }; }; then
8665 ac_cv_lib_dl_dlopen
=yes
8667 echo "$as_me: failed program was:" >&5
8668 sed 's/^/| /' conftest.
$ac_ext >&5
8670 ac_cv_lib_dl_dlopen
=no
8672 rm -f conftest.err conftest.
$ac_objext \
8673 conftest
$ac_exeext conftest.
$ac_ext
8674 LIBS
=$ac_check_lib_save_LIBS
8676 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8677 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8678 if test $ac_cv_lib_dl_dlopen = yes; then
8679 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8684 lt_cv_dlopen_self
=yes
8691 echo "$as_me:$LINENO: checking for shl_load" >&5
8692 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8693 if test "${ac_cv_func_shl_load+set}" = set; then
8694 echo $ECHO_N "(cached) $ECHO_C" >&6
8696 cat >conftest.
$ac_ext <<_ACEOF
8699 cat confdefs.h
>>conftest.
$ac_ext
8700 cat >>conftest.
$ac_ext <<_ACEOF
8701 /* end confdefs.h. */
8702 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8704 #define shl_load innocuous_shl_load
8706 /* System header to define __stub macros and hopefully few prototypes,
8707 which can conflict with char shl_load (); below.
8708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8709 <limits.h> exists even on freestanding compilers. */
8712 # include <limits.h>
8714 # include <assert.h>
8719 /* Override any gcc2 internal prototype to avoid an error. */
8724 /* We use char because int might match the return type of a gcc2
8725 builtin and then its argument prototype would still apply. */
8727 /* The GNU C library defines this for functions which it implements
8728 to always fail with ENOSYS. Some functions are actually named
8729 something starting with __ and the normal name is an alias. */
8730 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8733 char (*f) () = shl_load;
8742 return f != shl_load;
8747 rm -f conftest.
$ac_objext conftest
$ac_exeext
8748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8749 (eval $ac_link) 2>conftest.er1
8751 grep -v '^ *+' conftest.er1
>conftest.err
8753 cat conftest.err
>&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); } &&
8756 { ac_try
='test -z "$ac_c_werror_flag"
8757 || test ! -s conftest.err'
8758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); }; } &&
8763 { ac_try
='test -s conftest$ac_exeext'
8764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); }; }; then
8769 ac_cv_func_shl_load
=yes
8771 echo "$as_me: failed program was:" >&5
8772 sed 's/^/| /' conftest.
$ac_ext >&5
8774 ac_cv_func_shl_load
=no
8776 rm -f conftest.err conftest.
$ac_objext \
8777 conftest
$ac_exeext conftest.
$ac_ext
8779 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8780 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8781 if test $ac_cv_func_shl_load = yes; then
8782 lt_cv_dlopen
="shl_load"
8784 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8785 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8786 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8787 echo $ECHO_N "(cached) $ECHO_C" >&6
8789 ac_check_lib_save_LIBS
=$LIBS
8791 cat >conftest.
$ac_ext <<_ACEOF
8794 cat confdefs.h
>>conftest.
$ac_ext
8795 cat >>conftest.
$ac_ext <<_ACEOF
8796 /* end confdefs.h. */
8798 /* Override any gcc2 internal prototype to avoid an error. */
8802 /* We use char because int might match the return type of a gcc2
8803 builtin and then its argument prototype would still apply. */
8813 rm -f conftest.
$ac_objext conftest
$ac_exeext
8814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8815 (eval $ac_link) 2>conftest.er1
8817 grep -v '^ *+' conftest.er1
>conftest.err
8819 cat conftest.err
>&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); } &&
8822 { ac_try
='test -z "$ac_c_werror_flag"
8823 || test ! -s conftest.err'
8824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); }; } &&
8829 { ac_try
='test -s conftest$ac_exeext'
8830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); }; }; then
8835 ac_cv_lib_dld_shl_load
=yes
8837 echo "$as_me: failed program was:" >&5
8838 sed 's/^/| /' conftest.
$ac_ext >&5
8840 ac_cv_lib_dld_shl_load
=no
8842 rm -f conftest.err conftest.
$ac_objext \
8843 conftest
$ac_exeext conftest.
$ac_ext
8844 LIBS
=$ac_check_lib_save_LIBS
8846 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8847 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8848 if test $ac_cv_lib_dld_shl_load = yes; then
8849 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8851 echo "$as_me:$LINENO: checking for dlopen" >&5
8852 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8853 if test "${ac_cv_func_dlopen+set}" = set; then
8854 echo $ECHO_N "(cached) $ECHO_C" >&6
8856 cat >conftest.
$ac_ext <<_ACEOF
8859 cat confdefs.h
>>conftest.
$ac_ext
8860 cat >>conftest.
$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8862 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8864 #define dlopen innocuous_dlopen
8866 /* System header to define __stub macros and hopefully few prototypes,
8867 which can conflict with char dlopen (); below.
8868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8869 <limits.h> exists even on freestanding compilers. */
8872 # include <limits.h>
8874 # include <assert.h>
8879 /* Override any gcc2 internal prototype to avoid an error. */
8884 /* We use char because int might match the return type of a gcc2
8885 builtin and then its argument prototype would still apply. */
8887 /* The GNU C library defines this for functions which it implements
8888 to always fail with ENOSYS. Some functions are actually named
8889 something starting with __ and the normal name is an alias. */
8890 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8893 char (*f) () = dlopen;
8907 rm -f conftest.
$ac_objext conftest
$ac_exeext
8908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8909 (eval $ac_link) 2>conftest.er1
8911 grep -v '^ *+' conftest.er1
>conftest.err
8913 cat conftest.err
>&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); } &&
8916 { ac_try
='test -z "$ac_c_werror_flag"
8917 || test ! -s conftest.err'
8918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); }; } &&
8923 { ac_try
='test -s conftest$ac_exeext'
8924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); }; }; then
8929 ac_cv_func_dlopen
=yes
8931 echo "$as_me: failed program was:" >&5
8932 sed 's/^/| /' conftest.
$ac_ext >&5
8934 ac_cv_func_dlopen
=no
8936 rm -f conftest.err conftest.
$ac_objext \
8937 conftest
$ac_exeext conftest.
$ac_ext
8939 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8940 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8941 if test $ac_cv_func_dlopen = yes; then
8942 lt_cv_dlopen
="dlopen"
8944 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8945 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8946 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 ac_check_lib_save_LIBS
=$LIBS
8951 cat >conftest.
$ac_ext <<_ACEOF
8954 cat confdefs.h
>>conftest.
$ac_ext
8955 cat >>conftest.
$ac_ext <<_ACEOF
8956 /* end confdefs.h. */
8958 /* Override any gcc2 internal prototype to avoid an error. */
8962 /* We use char because int might match the return type of a gcc2
8963 builtin and then its argument prototype would still apply. */
8973 rm -f conftest.
$ac_objext conftest
$ac_exeext
8974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8975 (eval $ac_link) 2>conftest.er1
8977 grep -v '^ *+' conftest.er1
>conftest.err
8979 cat conftest.err
>&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); } &&
8982 { ac_try
='test -z "$ac_c_werror_flag"
8983 || test ! -s conftest.err'
8984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; } &&
8989 { ac_try
='test -s conftest$ac_exeext'
8990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); }; }; then
8995 ac_cv_lib_dl_dlopen
=yes
8997 echo "$as_me: failed program was:" >&5
8998 sed 's/^/| /' conftest.
$ac_ext >&5
9000 ac_cv_lib_dl_dlopen
=no
9002 rm -f conftest.err conftest.
$ac_objext \
9003 conftest
$ac_exeext conftest.
$ac_ext
9004 LIBS
=$ac_check_lib_save_LIBS
9006 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9007 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9008 if test $ac_cv_lib_dl_dlopen = yes; then
9009 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9011 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9012 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9013 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9014 echo $ECHO_N "(cached) $ECHO_C" >&6
9016 ac_check_lib_save_LIBS
=$LIBS
9018 cat >conftest.
$ac_ext <<_ACEOF
9021 cat confdefs.h
>>conftest.
$ac_ext
9022 cat >>conftest.
$ac_ext <<_ACEOF
9023 /* end confdefs.h. */
9025 /* Override any gcc2 internal prototype to avoid an error. */
9029 /* We use char because int might match the return type of a gcc2
9030 builtin and then its argument prototype would still apply. */
9040 rm -f conftest.
$ac_objext conftest
$ac_exeext
9041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9042 (eval $ac_link) 2>conftest.er1
9044 grep -v '^ *+' conftest.er1
>conftest.err
9046 cat conftest.err
>&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } &&
9049 { ac_try
='test -z "$ac_c_werror_flag"
9050 || test ! -s conftest.err'
9051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); }; } &&
9056 { ac_try
='test -s conftest$ac_exeext'
9057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); }; }; then
9062 ac_cv_lib_svld_dlopen
=yes
9064 echo "$as_me: failed program was:" >&5
9065 sed 's/^/| /' conftest.
$ac_ext >&5
9067 ac_cv_lib_svld_dlopen
=no
9069 rm -f conftest.err conftest.
$ac_objext \
9070 conftest
$ac_exeext conftest.
$ac_ext
9071 LIBS
=$ac_check_lib_save_LIBS
9073 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9074 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9075 if test $ac_cv_lib_svld_dlopen = yes; then
9076 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9078 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9079 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9080 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9081 echo $ECHO_N "(cached) $ECHO_C" >&6
9083 ac_check_lib_save_LIBS
=$LIBS
9085 cat >conftest.
$ac_ext <<_ACEOF
9088 cat confdefs.h
>>conftest.
$ac_ext
9089 cat >>conftest.
$ac_ext <<_ACEOF
9090 /* end confdefs.h. */
9092 /* Override any gcc2 internal prototype to avoid an error. */
9096 /* We use char because int might match the return type of a gcc2
9097 builtin and then its argument prototype would still apply. */
9107 rm -f conftest.
$ac_objext conftest
$ac_exeext
9108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9109 (eval $ac_link) 2>conftest.er1
9111 grep -v '^ *+' conftest.er1
>conftest.err
9113 cat conftest.err
>&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); } &&
9116 { ac_try
='test -z "$ac_c_werror_flag"
9117 || test ! -s conftest.err'
9118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); }; } &&
9123 { ac_try
='test -s conftest$ac_exeext'
9124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); }; }; then
9129 ac_cv_lib_dld_dld_link
=yes
9131 echo "$as_me: failed program was:" >&5
9132 sed 's/^/| /' conftest.
$ac_ext >&5
9134 ac_cv_lib_dld_dld_link
=no
9136 rm -f conftest.err conftest.
$ac_objext \
9137 conftest
$ac_exeext conftest.
$ac_ext
9138 LIBS
=$ac_check_lib_save_LIBS
9140 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9141 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9142 if test $ac_cv_lib_dld_dld_link = yes; then
9143 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9164 if test "x$lt_cv_dlopen" != xno
; then
9170 case $lt_cv_dlopen in
9172 save_CPPFLAGS
="$CPPFLAGS"
9173 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9175 save_LDFLAGS
="$LDFLAGS"
9176 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9179 LIBS
="$lt_cv_dlopen_libs $LIBS"
9181 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9182 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9183 if test "${lt_cv_dlopen_self+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9186 if test "$cross_compiling" = yes; then :
9187 lt_cv_dlopen_self
=cross
9189 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9190 lt_status
=$lt_dlunknown
9191 cat > conftest.
$ac_ext <<EOF
9192 #line 9192 "configure"
9193 #include "confdefs.h"
9202 # define LT_DLGLOBAL RTLD_GLOBAL
9205 # define LT_DLGLOBAL DL_GLOBAL
9207 # define LT_DLGLOBAL 0
9211 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9212 find out it does not work in some platform. */
9213 #ifndef LT_DLLAZY_OR_NOW
9215 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9218 # define LT_DLLAZY_OR_NOW DL_LAZY
9221 # define LT_DLLAZY_OR_NOW RTLD_NOW
9224 # define LT_DLLAZY_OR_NOW DL_NOW
9226 # define LT_DLLAZY_OR_NOW 0
9234 extern "C" void exit (int);
9237 void fnord() { int i=42;}
9240 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9241 int status = $lt_dlunknown;
9245 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9246 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9247 /* dlclose (self); */
9255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9256 (eval $ac_link) 2>&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9260 (.
/conftest
; exit; ) >&5 2>/dev
/null
9263 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9264 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9265 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9268 # compilation failed
9269 lt_cv_dlopen_self
=no
9276 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9277 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9279 if test "x$lt_cv_dlopen_self" = xyes
; then
9280 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9281 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9282 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9283 if test "${lt_cv_dlopen_self_static+set}" = set; then
9284 echo $ECHO_N "(cached) $ECHO_C" >&6
9286 if test "$cross_compiling" = yes; then :
9287 lt_cv_dlopen_self_static
=cross
9289 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9290 lt_status
=$lt_dlunknown
9291 cat > conftest.
$ac_ext <<EOF
9292 #line 9292 "configure"
9293 #include "confdefs.h"
9302 # define LT_DLGLOBAL RTLD_GLOBAL
9305 # define LT_DLGLOBAL DL_GLOBAL
9307 # define LT_DLGLOBAL 0
9311 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9312 find out it does not work in some platform. */
9313 #ifndef LT_DLLAZY_OR_NOW
9315 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9318 # define LT_DLLAZY_OR_NOW DL_LAZY
9321 # define LT_DLLAZY_OR_NOW RTLD_NOW
9324 # define LT_DLLAZY_OR_NOW DL_NOW
9326 # define LT_DLLAZY_OR_NOW 0
9334 extern "C" void exit (int);
9337 void fnord() { int i=42;}
9340 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9341 int status = $lt_dlunknown;
9345 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9346 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9347 /* dlclose (self); */
9355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9356 (eval $ac_link) 2>&5
9358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9360 (.
/conftest
; exit; ) >&5 2>/dev
/null
9363 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9364 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9365 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9368 # compilation failed
9369 lt_cv_dlopen_self_static
=no
9376 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9377 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9380 CPPFLAGS
="$save_CPPFLAGS"
9381 LDFLAGS
="$save_LDFLAGS"
9386 case $lt_cv_dlopen_self in
9387 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9388 *) enable_dlopen_self
=unknown
;;
9391 case $lt_cv_dlopen_self_static in
9392 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9393 *) enable_dlopen_self_static
=unknown
;;
9398 # Report which library types will actually be built
9399 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9400 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9401 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9402 echo "${ECHO_T}$can_build_shared" >&6
9404 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9405 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9406 test "$can_build_shared" = "no" && enable_shared
=no
9408 # On AIX, shared libraries and static libraries use the same namespace, and
9409 # are all built from PIC.
9412 test "$enable_shared" = yes && enable_static
=no
9413 if test -n "$RANLIB"; then
9414 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9415 postinstall_cmds
='$RANLIB $lib'
9420 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9421 test "$enable_shared" = yes && enable_static
=no
9425 echo "$as_me:$LINENO: result: $enable_shared" >&5
9426 echo "${ECHO_T}$enable_shared" >&6
9428 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9429 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9430 # Make sure either enable_shared or enable_static is yes.
9431 test "$enable_shared" = yes || enable_static
=yes
9432 echo "$as_me:$LINENO: result: $enable_static" >&5
9433 echo "${ECHO_T}$enable_static" >&6
9435 # The else clause should only fire when bootstrapping the
9436 # libtool distribution, otherwise you forgot to ship ltmain.sh
9437 # with your package, and you will get complaints that there are
9438 # no rules to generate ltmain.sh.
9439 if test -f "$ltmain"; then
9440 # See if we are running on zsh, and set the options which allow our commands through
9441 # without removal of \ escapes.
9442 if test -n "${ZSH_VERSION+set}" ; then
9443 setopt NO_GLOB_SUBST
9445 # Now quote all the things that may contain metacharacters while being
9446 # careful not to overquote the AC_SUBSTed values. We take copies of the
9447 # variables and quote the copies for generation of the libtool script.
9448 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9450 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9451 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9452 deplibs_check_method reload_flag reload_cmds need_locks \
9453 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9454 lt_cv_sys_global_symbol_to_c_name_address \
9455 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9456 old_postinstall_cmds old_postuninstall_cmds \
9460 lt_prog_compiler_wl \
9461 lt_prog_compiler_pic \
9462 lt_prog_compiler_static \
9463 lt_prog_compiler_no_builtin_flag \
9464 export_dynamic_flag_spec \
9465 thread_safe_flag_spec \
9466 whole_archive_flag_spec \
9467 enable_shared_with_static_runtimes \
9469 old_archive_from_new_cmds \
9474 compiler_lib_search_path \
9476 archive_expsym_cmds \
9478 postuninstall_cmds \
9479 old_archive_from_expsyms_cmds \
9480 allow_undefined_flag \
9482 export_symbols_cmds \
9483 hardcode_libdir_flag_spec \
9484 hardcode_libdir_flag_spec_ld \
9485 hardcode_libdir_separator \
9486 hardcode_automatic \
9488 module_expsym_cmds \
9489 lt_cv_prog_compiler_c_o \
9494 old_archive_cmds | \
9495 old_archive_from_new_cmds | \
9497 archive_expsym_cmds | \
9499 module_expsym_cmds | \
9500 old_archive_from_expsyms_cmds | \
9501 export_symbols_cmds | \
9502 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9503 postinstall_cmds | postuninstall_cmds | \
9504 old_postinstall_cmds | old_postuninstall_cmds | \
9505 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9506 # Double-quote double-evaled strings.
9507 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9510 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9516 *'\$0 --fallback-echo"')
9517 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9522 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9524 { echo "$as_me:$LINENO: creating $ofile" >&5
9525 echo "$as_me: creating $ofile" >&6;}
9527 cat <<__EOF__ >> "$cfgfile"
9530 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9531 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9532 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9534 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9535 # Free Software Foundation, Inc.
9537 # This file is part of GNU Libtool:
9538 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9540 # This program is free software; you can redistribute it and/or modify
9541 # it under the terms of the GNU General Public License as published by
9542 # the Free Software Foundation; either version 2 of the License, or
9543 # (at your option) any later version.
9545 # This program is distributed in the hope that it will be useful, but
9546 # WITHOUT ANY WARRANTY; without even the implied warranty of
9547 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9548 # General Public License for more details.
9550 # You should have received a copy of the GNU General Public License
9551 # along with this program; if not, write to the Free Software
9552 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9554 # As a special exception to the GNU General Public License, if you
9555 # distribute this file as part of a program that contains a
9556 # configuration script generated by Autoconf, you may include it under
9557 # the same distribution terms that you use for the rest of that program.
9559 # A sed program that does not truncate output.
9562 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9563 Xsed="$SED -e 1s/^X//"
9565 # The HP-UX ksh and POSIX shell print the target directory to stdout
9567 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9569 # The names of the tagged configurations supported by this script.
9572 # ### BEGIN LIBTOOL CONFIG
9574 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9576 # Shell to use when invoking shell scripts.
9579 # Whether or not to build shared libraries.
9580 build_libtool_libs=$enable_shared
9582 # Whether or not to build static libraries.
9583 build_old_libs=$enable_static
9585 # Whether or not to add -lc for building shared libraries.
9586 build_libtool_need_lc=$archive_cmds_need_lc
9588 # Whether or not to disallow shared libs when runtime libs are static
9589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9591 # Whether or not to optimize for fast installation.
9592 fast_install=$enable_fast_install
9595 host_alias=$host_alias
9600 build_alias=$build_alias
9604 # An echo program that does not interpret backslashes.
9609 AR_FLAGS=$lt_AR_FLAGS
9614 # LTCC compiler flags.
9615 LTCFLAGS=$lt_LTCFLAGS
9617 # A language-specific compiler.
9620 # Is the compiler the GNU C compiler?
9623 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9624 gcc_ver=\`gcc -dumpversion\`
9629 # The linker used to build libraries.
9632 # Whether we need hard or soft links.
9635 # A BSD-compatible nm program.
9638 # A symbol stripping program
9641 # Used to examine libraries when file_magic_cmd begins "file"
9642 MAGIC_CMD=$MAGIC_CMD
9644 # Used on cygwin: DLL creation program.
9647 # Used on cygwin: object dumper.
9650 # Used on cygwin: assembler.
9653 # The name of the directory that contains temporary libtool files.
9656 # How to create reloadable object files.
9657 reload_flag=$lt_reload_flag
9658 reload_cmds=$lt_reload_cmds
9660 # How to pass a linker flag through the compiler.
9661 wl=$lt_lt_prog_compiler_wl
9663 # Object file suffix (normally "o").
9666 # Old archive suffix (normally "a").
9669 # Shared library suffix (normally ".so").
9670 shrext_cmds='$shrext_cmds'
9672 # Executable file suffix (normally "").
9675 # Additional compiler flags for building library objects.
9676 pic_flag=$lt_lt_prog_compiler_pic
9679 # What is the maximum length of a command?
9680 max_cmd_len=$lt_cv_sys_max_cmd_len
9682 # Does compiler simultaneously support -c and -o options?
9683 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9685 # Must we lock files when doing compilation?
9686 need_locks=$lt_need_locks
9688 # Do we need the lib prefix for modules?
9689 need_lib_prefix=$need_lib_prefix
9691 # Do we need a version for libraries?
9692 need_version=$need_version
9694 # Whether dlopen is supported.
9695 dlopen_support=$enable_dlopen
9697 # Whether dlopen of programs is supported.
9698 dlopen_self=$enable_dlopen_self
9700 # Whether dlopen of statically linked programs is supported.
9701 dlopen_self_static=$enable_dlopen_self_static
9703 # Compiler flag to prevent dynamic linking.
9704 link_static_flag=$lt_lt_prog_compiler_static
9706 # Compiler flag to turn off builtin functions.
9707 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9709 # Compiler flag to allow reflexive dlopens.
9710 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9712 # Compiler flag to generate shared objects directly from archives.
9713 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9715 # Compiler flag to generate thread-safe objects.
9716 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9718 # Library versioning type.
9719 version_type=$version_type
9721 # Format of library name prefix.
9722 libname_spec=$lt_libname_spec
9724 # List of archive names. First name is the real one, the rest are links.
9725 # The last name is the one that the linker finds with -lNAME.
9726 library_names_spec=$lt_library_names_spec
9728 # The coded name of the library, if different from the real name.
9729 soname_spec=$lt_soname_spec
9731 # Commands used to build and install an old-style archive.
9733 old_archive_cmds=$lt_old_archive_cmds
9734 old_postinstall_cmds=$lt_old_postinstall_cmds
9735 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9737 # Create an old-style archive from a shared archive.
9738 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9740 # Create a temporary old-style archive to link instead of a shared archive.
9741 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9743 # Commands used to build and install a shared archive.
9744 archive_cmds=$lt_archive_cmds
9745 archive_expsym_cmds=$lt_archive_expsym_cmds
9746 postinstall_cmds=$lt_postinstall_cmds
9747 postuninstall_cmds=$lt_postuninstall_cmds
9749 # Commands used to build a loadable module (assumed same as above if empty)
9750 module_cmds=$lt_module_cmds
9751 module_expsym_cmds=$lt_module_expsym_cmds
9753 # Commands to strip libraries.
9754 old_striplib=$lt_old_striplib
9755 striplib=$lt_striplib
9757 # Dependencies to place before the objects being linked to create a
9759 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9761 # Dependencies to place after the objects being linked to create a
9763 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9765 # Dependencies to place before the objects being linked to create a
9769 # Dependencies to place after the objects being linked to create a
9771 postdeps=$lt_postdeps
9773 # The library search path used internally by the compiler when linking
9775 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9777 # Method to check whether dependent libraries are shared objects.
9778 deplibs_check_method=$lt_deplibs_check_method
9780 # Command to use when deplibs_check_method == file_magic.
9781 file_magic_cmd=$lt_file_magic_cmd
9783 # Flag that allows shared libraries with undefined symbols to be built.
9784 allow_undefined_flag=$lt_allow_undefined_flag
9786 # Flag that forces no undefined symbols.
9787 no_undefined_flag=$lt_no_undefined_flag
9789 # Commands used to finish a libtool library installation in a directory.
9790 finish_cmds=$lt_finish_cmds
9792 # Same as above, but a single script fragment to be evaled but not shown.
9793 finish_eval=$lt_finish_eval
9795 # Take the output of nm and produce a listing of raw symbols and C names.
9796 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9798 # Transform the output of nm in a proper C declaration
9799 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9801 # Transform the output of nm in a C name address pair
9802 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9804 # This is the shared library runtime path variable.
9805 runpath_var=$runpath_var
9807 # This is the shared library path variable.
9808 shlibpath_var=$shlibpath_var
9810 # Is shlibpath searched before the hard-coded library search path?
9811 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9813 # How to hardcode a shared library path into an executable.
9814 hardcode_action=$hardcode_action
9816 # Whether we should hardcode library paths into libraries.
9817 hardcode_into_libs=$hardcode_into_libs
9819 # Flag to hardcode \$libdir into a binary during linking.
9820 # This must work even if \$libdir does not exist.
9821 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9823 # If ld is used when linking, flag to hardcode \$libdir into
9824 # a binary during linking. This must work even if \$libdir does
9826 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9828 # Whether we need a single -rpath flag with a separated argument.
9829 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9831 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9833 hardcode_direct=$hardcode_direct
9835 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9837 hardcode_minus_L=$hardcode_minus_L
9839 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9840 # the resulting binary.
9841 hardcode_shlibpath_var=$hardcode_shlibpath_var
9843 # Set to yes if building a shared library automatically hardcodes DIR into the library
9844 # and all subsequent libraries and executables linked against it.
9845 hardcode_automatic=$hardcode_automatic
9847 # Variables whose values should be saved in libtool wrapper scripts and
9848 # restored at relink time.
9849 variables_saved_for_relink="$variables_saved_for_relink"
9851 # Whether libtool must link a program against all its dependency libraries.
9852 link_all_deplibs=$link_all_deplibs
9854 # Compile-time system search path for libraries
9855 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"\`
9857 # Run-time system search path for libraries
9858 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9860 # Fix the shell variable \$srcfile for the compiler.
9861 fix_srcfile_path="$fix_srcfile_path"
9863 # Set to yes if exported symbols are required.
9864 always_export_symbols=$always_export_symbols
9866 # The commands to list exported symbols.
9867 export_symbols_cmds=$lt_export_symbols_cmds
9869 # The commands to extract the exported symbol list from a shared archive.
9870 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9872 # Symbols that should not be listed in the preloaded symbols.
9873 exclude_expsyms=$lt_exclude_expsyms
9875 # Symbols that must always be exported.
9876 include_expsyms=$lt_include_expsyms
9878 # ### END LIBTOOL CONFIG
9885 cat <<\EOF
>> "$cfgfile"
9887 # AIX sometimes has problems with the GCC collect2 program. For some
9888 # reason, if we set the COLLECT_NAMES environment variable, the problems
9889 # vanish in a puff of smoke.
9890 if test "X${COLLECT_NAMES+set}" != Xset
; then
9892 export COLLECT_NAMES
9898 # We use sed instead of cat because bash on DJGPP gets confused if
9899 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9900 # text mode, it properly converts lines to CR/LF. This bash problem
9901 # is reportedly fixed, but why not run on old versions too?
9902 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9904 mv -f "$cfgfile" "$ofile" || \
9905 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9909 # If there is no Makefile yet, we rely on a make rule to execute
9910 # `config.status --recheck' to rerun these tests and create the
9911 # libtool script then.
9912 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9913 if test -f "$ltmain_in"; then
9914 test -f Makefile
&& make "$ltmain"
9920 ac_cpp
='$CPP $CPPFLAGS'
9921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9928 # Check whether --with-tags or --without-tags was given.
9929 if test "${with_tags+set}" = set; then
9930 withval
="$with_tags"
9934 if test -f "$ltmain" && test -n "$tagnames"; then
9935 if test ! -f "${ofile}"; then
9936 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9937 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9940 if test -z "$LTCC"; then
9941 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9942 if test -z "$LTCC"; then
9943 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9944 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9946 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9947 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9950 if test -z "$LTCFLAGS"; then
9951 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9954 # Extract list of available tagged configurations in $ofile.
9955 # Note that this assumes the entire list is on one line.
9956 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9958 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9959 for tagname
in $tagnames; do
9961 # Check whether tagname contains only valid characters
9962 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9964 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9965 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9966 { (exit 1); exit 1; }; }
9970 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9972 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9973 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9974 { (exit 1); exit 1; }; }
9977 # Update the list of available tags.
9978 if test -n "$tagname"; then
9979 echo appending configuration tag
\"$tagname\" to
$ofile
9983 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9984 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9985 (test "X$CXX" != "Xg++"))) ; then
9987 ac_cpp
='$CXXCPP $CPPFLAGS'
9988 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9989 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9990 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9995 archive_cmds_need_lc_CXX
=no
9996 allow_undefined_flag_CXX
=
9997 always_export_symbols_CXX
=no
9998 archive_expsym_cmds_CXX
=
9999 export_dynamic_flag_spec_CXX
=
10000 hardcode_direct_CXX
=no
10001 hardcode_libdir_flag_spec_CXX
=
10002 hardcode_libdir_flag_spec_ld_CXX
=
10003 hardcode_libdir_separator_CXX
=
10004 hardcode_minus_L_CXX
=no
10005 hardcode_shlibpath_var_CXX
=unsupported
10006 hardcode_automatic_CXX
=no
10008 module_expsym_cmds_CXX
=
10009 link_all_deplibs_CXX
=unknown
10010 old_archive_cmds_CXX
=$old_archive_cmds
10011 no_undefined_flag_CXX
=
10012 whole_archive_flag_spec_CXX
=
10013 enable_shared_with_static_runtimes_CXX
=no
10015 # Dependencies to place before and after the object being linked:
10016 predep_objects_CXX
=
10017 postdep_objects_CXX
=
10020 compiler_lib_search_path_CXX
=
10022 # Source file extension for C++ test sources.
10025 # Object file extension for compiled C++ test sources.
10029 # Code to be used in simple compile tests
10030 lt_simple_compile_test_code
="int some_variable = 0;\n"
10032 # Code to be used in simple link tests
10033 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
10035 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10037 # If no C compiler was specified, use CC.
10040 # If no C compiler flags were specified, use CFLAGS.
10041 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10043 # Allow CC to be a program name with arguments.
10047 # save warnings/boilerplate of simple test code
10048 ac_outfile
=conftest.
$ac_objext
10049 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10050 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10051 _lt_compiler_boilerplate
=`cat conftest.err`
10054 ac_outfile
=conftest.
$ac_objext
10055 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10056 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10057 _lt_linker_boilerplate
=`cat conftest.err`
10061 # Allow CC to be a program name with arguments.
10066 lt_save_with_gnu_ld
=$with_gnu_ld
10067 lt_save_path_LD
=$lt_cv_path_LD
10068 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10069 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10071 $as_unset lt_cv_prog_gnu_ld
10073 if test -n "${lt_cv_path_LDCXX+set}"; then
10074 lt_cv_path_LD
=$lt_cv_path_LDCXX
10076 $as_unset lt_cv_path_LD
10078 test -z "${LDCXX+set}" || LD
=$LDCXX
10082 for cc_temp
in $compiler""; do
10084 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10085 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10090 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10093 # We don't want -fno-exception wen compiling C++ code, so set the
10094 # no_builtin_flag separately
10095 if test "$GXX" = yes; then
10096 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10098 lt_prog_compiler_no_builtin_flag_CXX
=
10101 if test "$GXX" = yes; then
10102 # Set up default GNU C++ configuration
10105 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10106 if test "${with_gnu_ld+set}" = set; then
10107 withval
="$with_gnu_ld"
10108 test "$withval" = no || with_gnu_ld
=yes
10113 if test "$GCC" = yes; then
10114 # Check if gcc -print-prog-name=ld gives a path.
10115 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10116 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10119 # gcc leaves a trailing carriage return which upsets mingw
10120 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10122 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10125 # Accept absolute paths.
10127 re_direlt
='/[^/][^/]*/\.\./'
10128 # Canonicalize the pathname of ld
10129 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10130 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10131 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10133 test -z "$LD" && LD
="$ac_prog"
10136 # If it fails, then pretend we aren't using GCC.
10140 # If it is relative, then search for the first ld in PATH.
10141 with_gnu_ld
=unknown
10144 elif test "$with_gnu_ld" = yes; then
10145 echo "$as_me:$LINENO: checking for GNU ld" >&5
10146 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10148 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10149 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10151 if test "${lt_cv_path_LD+set}" = set; then
10152 echo $ECHO_N "(cached) $ECHO_C" >&6
10154 if test -z "$LD"; then
10155 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10156 for ac_dir
in $PATH; do
10158 test -z "$ac_dir" && ac_dir
=.
10159 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10160 lt_cv_path_LD
="$ac_dir/$ac_prog"
10161 # Check to see if the program is GNU ld. I'd rather use --version,
10162 # but apparently some variants of GNU ld only accept -v.
10163 # Break only if it was the GNU/non-GNU ld that we prefer.
10164 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10165 *GNU
* |
*'with BFD'*)
10166 test "$with_gnu_ld" != no
&& break
10169 test "$with_gnu_ld" != yes && break
10176 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10180 LD
="$lt_cv_path_LD"
10181 if test -n "$LD"; then
10182 echo "$as_me:$LINENO: result: $LD" >&5
10183 echo "${ECHO_T}$LD" >&6
10185 echo "$as_me:$LINENO: result: no" >&5
10186 echo "${ECHO_T}no" >&6
10188 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10189 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10190 { (exit 1); exit 1; }; }
10191 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10192 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10193 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10194 echo $ECHO_N "(cached) $ECHO_C" >&6
10196 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10197 case `$LD -v 2>&1 </dev/null` in
10198 *GNU
* |
*'with BFD'*)
10199 lt_cv_prog_gnu_ld
=yes
10202 lt_cv_prog_gnu_ld
=no
10206 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10207 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10208 with_gnu_ld
=$lt_cv_prog_gnu_ld
10212 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10213 # archiving commands below assume that GNU ld is being used.
10214 if test "$with_gnu_ld" = yes; then
10215 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10216 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'
10218 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10219 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10221 # If archive_cmds runs LD, not CC, wlarc should be empty
10222 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10223 # investigate it a little bit more. (MM)
10226 # ancient GNU ld didn't support --whole-archive et. al.
10227 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10228 grep 'no-whole-archive' > /dev
/null
; then
10229 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10231 whole_archive_flag_spec_CXX
=
10237 # A generic and very simple default shared library creation
10238 # command for GNU C++ for the case where it uses the native
10239 # linker, instead of GNU ld. If possible, this setting should
10240 # overridden to take advantage of the native linker features on
10241 # the platform it is being used on.
10242 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10245 # Commands to make compiler produce verbose output that lists
10246 # what "hidden" libraries, object files and flags are used when
10247 # linking a shared library.
10248 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10256 # PORTME: fill in a description of your system's C++ link characteristics
10257 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10258 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10262 # FIXME: insert proper C++ library support
10266 if test "$host_cpu" = ia64
; then
10267 # On IA64, the linker does run time linking by default, so we don't
10268 # have to do anything special.
10269 aix_use_runtimelinking
=no
10270 exp_sym_flag
='-Bexport'
10273 aix_use_runtimelinking
=no
10275 # Test if we are trying to use run time linking or normal
10276 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10277 # need to do runtime linking.
10278 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10279 for ld_flag
in $LDFLAGS; do
10282 aix_use_runtimelinking
=yes
10290 exp_sym_flag
='-bexport'
10291 no_entry_flag
='-bnoentry'
10294 # When large executables or shared objects are built, AIX ld can
10295 # have problems creating the table of contents. If linking a library
10296 # or program results in "error TOC overflow" add -mminimal-toc to
10297 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10298 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10300 archive_cmds_CXX
=''
10301 hardcode_direct_CXX
=yes
10302 hardcode_libdir_separator_CXX
=':'
10303 link_all_deplibs_CXX
=yes
10305 if test "$GXX" = yes; then
10306 case $host_os in aix4.
[012]|aix4.
[012].
*)
10307 # We only want to do this on AIX 4.2 and lower, the check
10308 # below for broken collect2 doesn't work under 4.3+
10309 collect2name
=`${CC} -print-prog-name=collect2`
10310 if test -f "$collect2name" && \
10311 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10313 # We have reworked collect2
10314 hardcode_direct_CXX
=yes
10316 # We have old collect2
10317 hardcode_direct_CXX
=unsupported
10318 # It fails to find uninstalled libraries when the uninstalled
10319 # path is not listed in the libpath. Setting hardcode_minus_L
10320 # to unsupported forces relinking
10321 hardcode_minus_L_CXX
=yes
10322 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10323 hardcode_libdir_separator_CXX
=
10327 shared_flag
='-shared'
10328 if test "$aix_use_runtimelinking" = yes; then
10329 shared_flag
="$shared_flag "'${wl}-G'
10333 if test "$host_cpu" = ia64
; then
10334 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10335 # chokes on -Wl,-G. The following line is correct:
10338 if test "$aix_use_runtimelinking" = yes; then
10339 shared_flag
='${wl}-G'
10341 shared_flag
='${wl}-bM:SRE'
10346 # It seems that -bexpall does not export symbols beginning with
10347 # underscore (_), so it is better to generate a list of symbols to export.
10348 always_export_symbols_CXX
=yes
10349 if test "$aix_use_runtimelinking" = yes; then
10350 # Warning - without using the other runtime loading flags (-brtl),
10351 # -berok will link without error, but may produce a broken library.
10352 allow_undefined_flag_CXX
='-berok'
10353 # Determine the default libpath from the value encoded in an empty executable.
10354 cat >conftest.
$ac_ext <<_ACEOF
10357 cat confdefs.h
>>conftest.
$ac_ext
10358 cat >>conftest.
$ac_ext <<_ACEOF
10359 /* end confdefs.h. */
10369 rm -f conftest.
$ac_objext conftest
$ac_exeext
10370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10371 (eval $ac_link) 2>conftest.er1
10373 grep -v '^ *+' conftest.er1
>conftest.err
10375 cat conftest.err
>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } &&
10378 { ac_try
='test -z "$ac_cxx_werror_flag"
10379 || test ! -s conftest.err'
10380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10381 (eval $ac_try) 2>&5
10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); }; } &&
10385 { ac_try
='test -s conftest$ac_exeext'
10386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10387 (eval $ac_try) 2>&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); }; }; then
10392 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10394 # Check for a 64-bit object if we didn't find anything.
10395 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; }
10398 echo "$as_me: failed program was:" >&5
10399 sed 's/^/| /' conftest.
$ac_ext >&5
10402 rm -f conftest.err conftest.
$ac_objext \
10403 conftest
$ac_exeext conftest.
$ac_ext
10404 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10406 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10408 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"
10410 if test "$host_cpu" = ia64
; then
10411 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10412 allow_undefined_flag_CXX
="-z nodefs"
10413 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"
10415 # Determine the default libpath from the value encoded in an empty executable.
10416 cat >conftest.
$ac_ext <<_ACEOF
10419 cat confdefs.h
>>conftest.
$ac_ext
10420 cat >>conftest.
$ac_ext <<_ACEOF
10421 /* end confdefs.h. */
10431 rm -f conftest.
$ac_objext conftest
$ac_exeext
10432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10433 (eval $ac_link) 2>conftest.er1
10435 grep -v '^ *+' conftest.er1
>conftest.err
10437 cat conftest.err
>&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); } &&
10440 { ac_try
='test -z "$ac_cxx_werror_flag"
10441 || test ! -s conftest.err'
10442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10443 (eval $ac_try) 2>&5
10445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); }; } &&
10447 { ac_try
='test -s conftest$ac_exeext'
10448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10449 (eval $ac_try) 2>&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); }; }; then
10454 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10456 # Check for a 64-bit object if we didn't find anything.
10457 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; }
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.
$ac_ext >&5
10464 rm -f conftest.err conftest.
$ac_objext \
10465 conftest
$ac_exeext conftest.
$ac_ext
10466 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10468 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10469 # Warning - without using the other run time loading flags,
10470 # -berok will link without error, but may produce a broken library.
10471 no_undefined_flag_CXX
=' ${wl}-bernotok'
10472 allow_undefined_flag_CXX
=' ${wl}-berok'
10473 # Exported symbols can be pulled into shared objects from archives
10474 whole_archive_flag_spec_CXX
='$convenience'
10475 archive_cmds_need_lc_CXX
=yes
10476 # This is similar to how AIX traditionally builds its shared libraries.
10477 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'
10483 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10484 allow_undefined_flag_CXX
=unsupported
10485 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10486 # support --undefined. This deserves some investigation. FIXME
10487 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10494 case $cc_basename in
10496 # FIXME: insert proper C++ library support
10502 cygwin
* | mingw
* | pw32
*)
10503 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10504 # as there is no search path for DLLs.
10505 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10506 allow_undefined_flag_CXX
=unsupported
10507 always_export_symbols_CXX
=no
10508 enable_shared_with_static_runtimes_CXX
=yes
10510 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10511 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'
10512 # If the export-symbols file already is a .def file (1st line
10513 # is EXPORTS), use it as is; otherwise, prepend...
10514 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10515 cp $export_symbols $output_objdir/$soname.def;
10517 echo EXPORTS > $output_objdir/$soname.def;
10518 cat $export_symbols >> $output_objdir/$soname.def;
10520 $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'
10525 darwin
* | rhapsody
*)
10527 rhapsody
* | darwin1.
[012])
10528 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10531 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10532 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10534 case ${MACOSX_DEPLOYMENT_TARGET} in
10536 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10539 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10545 archive_cmds_need_lc_CXX
=no
10546 hardcode_direct_CXX
=no
10547 hardcode_automatic_CXX
=yes
10548 hardcode_shlibpath_var_CXX
=unsupported
10549 whole_archive_flag_spec_CXX
=''
10550 link_all_deplibs_CXX
=yes
10552 if test "$GXX" = yes ; then
10553 lt_int_apple_cc_single_mod
=no
10554 output_verbose_link_cmd
='echo'
10555 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10556 lt_int_apple_cc_single_mod
=yes
10558 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10559 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10561 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'
10563 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10564 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10565 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10566 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}'
10568 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}'
10570 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}'
10572 case $cc_basename in
10574 output_verbose_link_cmd
='echo'
10575 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'
10576 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10577 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10578 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}'
10579 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}'
10589 case $cc_basename in
10591 # FIXME: insert proper C++ library support
10595 # Green Hills C++ Compiler
10596 # FIXME: insert proper C++ library support
10600 # FIXME: insert proper C++ library support
10606 # C++ shared libraries reported to be fairly broken before switch to ELF
10610 archive_cmds_need_lc_CXX
=no
10612 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10613 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10620 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10621 hardcode_libdir_separator_CXX
=:
10622 export_dynamic_flag_spec_CXX
='${wl}-E'
10623 hardcode_direct_CXX
=yes
10624 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10625 # but as the default
10626 # location of the library.
10628 case $cc_basename in
10630 # FIXME: insert proper C++ library support
10634 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'
10635 # Commands to make compiler produce verbose output that lists
10636 # what "hidden" libraries, object files and flags are used when
10637 # linking a shared library.
10639 # There doesn't appear to be a way to prevent this compiler from
10640 # explicitly linking system object files so we need to strip them
10641 # from the output so that they don't get included in the library
10643 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'
10646 if test "$GXX" = yes; then
10647 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'
10649 # FIXME: insert proper C++ library support
10656 if test $with_gnu_ld = no
; then
10657 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10658 hardcode_libdir_separator_CXX
=:
10662 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10665 export_dynamic_flag_spec_CXX
='${wl}-E'
10671 hardcode_direct_CXX
=no
10672 hardcode_shlibpath_var_CXX
=no
10675 hardcode_direct_CXX
=yes
10676 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10677 # but as the default
10678 # location of the library.
10682 case $cc_basename in
10684 # FIXME: insert proper C++ library support
10690 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10693 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10696 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10699 # Commands to make compiler produce verbose output that lists
10700 # what "hidden" libraries, object files and flags are used when
10701 # linking a shared library.
10703 # There doesn't appear to be a way to prevent this compiler from
10704 # explicitly linking system object files so we need to strip them
10705 # from the output so that they don't get included in the library
10707 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'
10710 if test "$GXX" = yes; then
10711 if test $with_gnu_ld = no
; then
10714 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10717 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10720 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'
10725 # FIXME: insert proper C++ library support
10732 hardcode_direct_CXX
=no
10733 hardcode_shlibpath_var_CXX
=no
10734 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10735 export_dynamic_flag_spec_CXX
='${wl}-E'
10736 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10737 # Instead, shared libraries are loaded at an image base (0x10000000 by
10738 # default) and relocated if they conflict, which is a slow very memory
10739 # consuming and fragmenting process. To avoid this, we pick a random,
10740 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10741 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10742 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'
10743 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'
10746 case $cc_basename in
10749 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'
10751 # Archives containing C++ object files must be created using
10752 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10753 # necessary to make sure instantiated templates are included
10755 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10758 if test "$GXX" = yes; then
10759 if test "$with_gnu_ld" = no
; then
10760 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'
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` -o $lib'
10765 link_all_deplibs_CXX
=yes
10768 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10769 hardcode_libdir_separator_CXX
=:
10772 case $cc_basename in
10774 # Kuck and Associates, Inc. (KAI) C++ Compiler
10776 # KCC will only create a shared library if the output file
10777 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10778 # to its proper name (with version) after linking.
10779 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'
10780 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'
10781 # Commands to make compiler produce verbose output that lists
10782 # what "hidden" libraries, object files and flags are used when
10783 # linking a shared library.
10785 # There doesn't appear to be a way to prevent this compiler from
10786 # explicitly linking system object files so we need to strip them
10787 # from the output so that they don't get included in the library
10789 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'
10791 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10792 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10794 # Archives containing C++ object files must be created using
10795 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10796 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10801 # version 8.0 and above of icpc choke on multiply defined symbols
10802 # if we add $predep_objects and $postdep_objects, however 7.1 and
10803 # earlier do not add the objects themselves.
10804 case `$CC -V 2>&1` in
10806 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10807 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'
10809 *) # Version 8.0 or newer
10812 ia64
*) tmp_idyn
=' -i_dynamic';;
10814 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10815 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'
10818 archive_cmds_need_lc_CXX
=no
10819 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10820 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10821 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10824 # Portland Group C++ compiler
10825 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10826 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'
10828 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10829 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10830 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'
10834 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10835 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'
10837 runpath_var
=LD_RUN_PATH
10838 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10839 hardcode_libdir_separator_CXX
=:
10841 # Commands to make compiler produce verbose output that lists
10842 # what "hidden" libraries, object files and flags are used when
10843 # linking a shared library.
10845 # There doesn't appear to be a way to prevent this compiler from
10846 # explicitly linking system object files so we need to strip them
10847 # from the output so that they don't get included in the library
10849 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'
10854 # FIXME: insert proper C++ library support
10858 # FIXME: insert proper C++ library support
10862 case $cc_basename in
10864 # FIXME: insert proper C++ library support
10868 # FIXME: insert proper C++ library support
10874 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10875 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10877 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10878 hardcode_direct_CXX
=yes
10879 hardcode_shlibpath_var_CXX
=no
10881 # Workaround some broken pre-1.5 toolchains
10882 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10885 # C++ shared libraries are fairly broken
10889 hardcode_direct_CXX
=yes
10890 hardcode_shlibpath_var_CXX
=no
10891 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10892 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10893 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10894 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10895 export_dynamic_flag_spec_CXX
='${wl}-E'
10896 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10898 output_verbose_link_cmd
='echo'
10901 case $cc_basename in
10903 # Kuck and Associates, Inc. (KAI) C++ Compiler
10905 # KCC will only create a shared library if the output file
10906 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10907 # to its proper name (with version) after linking.
10908 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'
10910 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10911 hardcode_libdir_separator_CXX
=:
10913 # Archives containing C++ object files must be created using
10914 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10915 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10919 # Rational C++ 2.4.1
10920 # FIXME: insert proper C++ library support
10924 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10925 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'
10927 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10928 hardcode_libdir_separator_CXX
=:
10930 # Commands to make compiler produce verbose output that lists
10931 # what "hidden" libraries, object files and flags are used when
10932 # linking a shared library.
10934 # There doesn't appear to be a way to prevent this compiler from
10935 # explicitly linking system object files so we need to strip them
10936 # from the output so that they don't get included in the library
10938 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'
10941 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10942 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10943 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'
10945 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10946 hardcode_libdir_separator_CXX
=:
10948 # Commands to make compiler produce verbose output that lists
10949 # what "hidden" libraries, object files and flags are used when
10950 # linking a shared library.
10951 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10954 # FIXME: insert proper C++ library support
10961 case $cc_basename in
10963 # Kuck and Associates, Inc. (KAI) C++ Compiler
10965 # KCC will only create a shared library if the output file
10966 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10967 # to its proper name (with version) after linking.
10968 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'
10970 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10971 hardcode_libdir_separator_CXX
=:
10973 # Archives containing C++ object files must be created using
10974 # the KAI C++ compiler.
10975 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10978 # Rational C++ 2.4.1
10979 # FIXME: insert proper C++ library support
10983 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10984 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'
10985 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10986 echo "-hidden">> $lib.exp~
10987 $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~
10990 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10991 hardcode_libdir_separator_CXX
=:
10993 # Commands to make compiler produce verbose output that lists
10994 # what "hidden" libraries, object files and flags are used when
10995 # linking a shared library.
10997 # There doesn't appear to be a way to prevent this compiler from
10998 # explicitly linking system object files so we need to strip them
10999 # from the output so that they don't get included in the library
11001 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'
11004 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11005 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11006 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'
11008 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11009 hardcode_libdir_separator_CXX
=:
11011 # Commands to make compiler produce verbose output that lists
11012 # what "hidden" libraries, object files and flags are used when
11013 # linking a shared library.
11014 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11017 # FIXME: insert proper C++ library support
11024 # FIXME: insert proper C++ library support
11028 case $cc_basename in
11031 # FIXME: insert proper C++ library support
11036 # FIXME: insert proper C++ library support
11040 # FIXME: insert proper C++ library support
11046 case $cc_basename in
11048 # Sun C++ 4.2, 5.x and Centerline C++
11049 archive_cmds_need_lc_CXX
=yes
11050 no_undefined_flag_CXX
=' -zdefs'
11051 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11052 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11053 $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'
11055 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11056 hardcode_shlibpath_var_CXX
=no
11058 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11060 # The C++ compiler is used as linker so we must use $wl
11061 # flag to pass the commands to the underlying system
11062 # linker. We must also pass each convience library through
11063 # to the system linker between allextract/defaultextract.
11064 # The C++ compiler will combine linker options so we
11065 # cannot just pass the convience library names through
11067 # Supported since Solaris 2.6 (maybe 2.5.1?)
11068 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'
11071 link_all_deplibs_CXX
=yes
11073 output_verbose_link_cmd
='echo'
11075 # Archives containing C++ object files must be created using
11076 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11077 # necessary to make sure instantiated templates are included
11079 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11082 # Green Hills C++ Compiler
11083 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11085 # The C++ compiler must be used to create the archive.
11086 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11089 # GNU C++ compiler with Solaris linker
11090 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11091 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11092 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11093 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11094 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11095 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11097 # Commands to make compiler produce verbose output that lists
11098 # what "hidden" libraries, object files and flags are used when
11099 # linking a shared library.
11100 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11102 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11104 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11105 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11106 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11108 # Commands to make compiler produce verbose output that lists
11109 # what "hidden" libraries, object files and flags are used when
11110 # linking a shared library.
11111 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11114 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11119 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11120 no_undefined_flag_CXX
='${wl}-z,text'
11121 archive_cmds_need_lc_CXX
=no
11122 hardcode_shlibpath_var_CXX
=no
11123 runpath_var
='LD_RUN_PATH'
11125 case $cc_basename in
11127 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11128 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11131 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11132 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11136 sysv5
* | sco3.2v5
* | sco5v6
*)
11137 # Note: We can NOT use -z defs as we might desire, because we do not
11138 # link with -lc, and that would cause any symbols used from libc to
11139 # always be unresolved, which means just about no library would
11140 # ever link correctly. If we're not using GNU ld we use -z text
11141 # though, which does catch some bad symbols but isn't as heavy-handed
11143 # For security reasons, it is highly recommended that you always
11144 # use absolute paths for naming shared libraries, and exclude the
11145 # DT_RUNPATH tag from executables and libraries. But doing so
11146 # requires that you compile everything twice, which is a pain.
11147 # So that behaviour is only enabled if SCOABSPATH is set to a
11148 # non-empty value in the environment. Most likely only useful for
11149 # creating official distributions of packages.
11150 # This is a hack until libtool officially supports absolute path
11151 # names for shared libraries.
11152 no_undefined_flag_CXX
='${wl}-z,text'
11153 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11154 archive_cmds_need_lc_CXX
=no
11155 hardcode_shlibpath_var_CXX
=no
11156 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11157 hardcode_libdir_separator_CXX
=':'
11158 link_all_deplibs_CXX
=yes
11159 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11160 runpath_var
='LD_RUN_PATH'
11162 case $cc_basename in
11164 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11165 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11168 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11169 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11174 case $cc_basename in
11176 # NonStop-UX NCC 3.20
11177 # FIXME: insert proper C++ library support
11181 # FIXME: insert proper C++ library support
11187 # FIXME: insert proper C++ library support
11191 # FIXME: insert proper C++ library support
11195 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11196 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11197 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11203 cat > conftest.
$ac_ext <<EOF
11207 Foo (void) { a = 0; }
11213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11214 (eval $ac_compile) 2>&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); }; then
11218 # Parse the compiler output and extract the necessary
11219 # objects, libraries and library flags.
11221 # Sentinel used to keep track of whether or not we are before
11222 # the conftest object file.
11223 pre_test_object_deps_done
=no
11225 # The `*' in the case matches for architectures that use `case' in
11226 # $output_verbose_cmd can trigger glob expansion during the loop
11227 # eval without this substitution.
11228 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11230 for p
in `eval $output_verbose_link_cmd`; do
11234 # Some compilers place space between "-{L,R}" and the path.
11235 # Remove the space.
11236 if test $p = "-L" \
11237 ||
test $p = "-R"; then
11244 if test "$pre_test_object_deps_done" = no
; then
11247 # Internal compiler library paths should come after those
11248 # provided the user. The postdeps already come after the
11249 # user supplied libs so there is no need to process them.
11250 if test -z "$compiler_lib_search_path_CXX"; then
11251 compiler_lib_search_path_CXX
="${prev}${p}"
11253 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11256 # The "-l" case would never come before the object being
11257 # linked, so don't bother handling this case.
11260 if test -z "$postdeps_CXX"; then
11261 postdeps_CXX
="${prev}${p}"
11263 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11269 # This assumes that the test object file only shows up
11270 # once in the compiler output.
11271 if test "$p" = "conftest.$objext"; then
11272 pre_test_object_deps_done
=yes
11276 if test "$pre_test_object_deps_done" = no
; then
11277 if test -z "$predep_objects_CXX"; then
11278 predep_objects_CXX
="$p"
11280 predep_objects_CXX
="$predep_objects_CXX $p"
11283 if test -z "$postdep_objects_CXX"; then
11284 postdep_objects_CXX
="$p"
11286 postdep_objects_CXX
="$postdep_objects_CXX $p"
11291 *) ;; # Ignore the rest.
11299 echo "libtool.m4: error: problem compiling CXX test program"
11302 $rm -f confest.
$objext
11304 # PORTME: override above test on systems where it is broken
11307 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11308 # hack all around it, let's just trust "g++" to DTRT.
11309 predep_objects_CXX
=
11310 postdep_objects_CXX
=
11315 case $cc_basename in
11317 # Adding this requires a known-good setup of shared libraries for
11318 # Sun compiler versions before 5.6, else PIC objects from an old
11319 # archive will be linked into the output, leading to subtle bugs.
11320 postdeps_CXX
='-lCstd -lCrun'
11327 case " $postdeps_CXX " in
11328 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11331 lt_prog_compiler_wl_CXX
=
11332 lt_prog_compiler_pic_CXX
=
11333 lt_prog_compiler_static_CXX
=
11335 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11336 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11338 # C++ specific cases for pic, static, wl, etc.
11339 if test "$GXX" = yes; then
11340 lt_prog_compiler_wl_CXX
='-Wl,'
11341 lt_prog_compiler_static_CXX
='-static'
11345 # All AIX code is PIC.
11346 if test "$host_cpu" = ia64
; then
11347 # AIX 5 now supports IA64 processor
11348 lt_prog_compiler_static_CXX
='-Bstatic'
11352 # FIXME: we need at least 68020 code to build shared libraries, but
11353 # adding the `-m68020' flag to GCC prevents building anything better,
11355 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11357 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11358 # PIC is the default for these OSes.
11360 mingw
* | os2
* | pw32
*)
11361 # This hack is so that the source file can tell whether it is being
11362 # built for inclusion in a dll (and should export symbols for example).
11363 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11365 darwin
* | rhapsody
*)
11366 # PIC is the default on this platform
11367 # Common symbols not allowed in MH_DYLIB files
11368 lt_prog_compiler_pic_CXX
='-fno-common'
11371 # DJGPP does not support shared libraries at all
11372 lt_prog_compiler_pic_CXX
=
11375 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11376 # Instead, we relocate shared libraries at runtime.
11379 if test -d /usr
/nec
; then
11380 lt_prog_compiler_pic_CXX
=-Kconform_pic
11384 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11385 # not for PA HP-UX.
11390 lt_prog_compiler_pic_CXX
='-fPIC'
11395 lt_prog_compiler_pic_CXX
='-fPIC'
11401 # All AIX code is PIC.
11402 if test "$host_cpu" = ia64
; then
11403 # AIX 5 now supports IA64 processor
11404 lt_prog_compiler_static_CXX
='-Bstatic'
11406 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11410 case $cc_basename in
11412 # Green Hills C++ Compiler
11413 # _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"
11418 # PIC is the default on this platform
11419 # Common symbols not allowed in MH_DYLIB files
11420 case $cc_basename in
11422 lt_prog_compiler_pic_CXX
='-qnocommon'
11423 lt_prog_compiler_wl_CXX
='-Wl,'
11428 case $cc_basename in
11430 lt_prog_compiler_pic_CXX
='-KPIC'
11433 # Green Hills C++ Compiler
11434 lt_prog_compiler_pic_CXX
='-pic'
11440 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11441 # FreeBSD uses GNU C++
11443 hpux9
* | hpux10
* | hpux11
*)
11444 case $cc_basename in
11446 lt_prog_compiler_wl_CXX
='-Wl,'
11447 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11448 if test "$host_cpu" != ia64
; then
11449 lt_prog_compiler_pic_CXX
='+Z'
11453 lt_prog_compiler_wl_CXX
='-Wl,'
11454 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11460 lt_prog_compiler_pic_CXX
='+Z'
11469 # This is c89, which is MS Visual C++ (no shared libs)
11470 # Anyone wants to do a port?
11472 irix5
* | irix6
* | nonstopux
*)
11473 case $cc_basename in
11475 lt_prog_compiler_wl_CXX
='-Wl,'
11476 lt_prog_compiler_static_CXX
='-non_shared'
11477 # CC pic flag -KPIC is the default.
11484 case $cc_basename in
11487 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11488 lt_prog_compiler_pic_CXX
='-fPIC'
11492 lt_prog_compiler_wl_CXX
='-Wl,'
11493 lt_prog_compiler_pic_CXX
='-KPIC'
11494 lt_prog_compiler_static_CXX
='-static'
11497 # Portland Group C++ compiler.
11498 lt_prog_compiler_wl_CXX
='-Wl,'
11499 lt_prog_compiler_pic_CXX
='-fpic'
11500 lt_prog_compiler_static_CXX
='-Bstatic'
11504 # Make sure the PIC flag is empty. It appears that all Alpha
11505 # Linux and Compaq Tru64 Unix objects are PIC.
11506 lt_prog_compiler_pic_CXX
=
11507 lt_prog_compiler_static_CXX
='-non_shared'
11518 case $cc_basename in
11520 lt_prog_compiler_pic_CXX
='-W c,exportall'
11528 osf3
* | osf4
* | osf5
*)
11529 case $cc_basename in
11531 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11534 # Rational C++ 2.4.1
11535 lt_prog_compiler_pic_CXX
='-pic'
11538 # Digital/Compaq C++
11539 lt_prog_compiler_wl_CXX
='-Wl,'
11540 # Make sure the PIC flag is empty. It appears that all Alpha
11541 # Linux and Compaq Tru64 Unix objects are PIC.
11542 lt_prog_compiler_pic_CXX
=
11543 lt_prog_compiler_static_CXX
='-non_shared'
11552 case $cc_basename in
11554 # Sun C++ 4.2, 5.x and Centerline C++
11555 lt_prog_compiler_pic_CXX
='-KPIC'
11556 lt_prog_compiler_static_CXX
='-Bstatic'
11557 lt_prog_compiler_wl_CXX
='-Qoption ld '
11560 # Green Hills C++ Compiler
11561 lt_prog_compiler_pic_CXX
='-PIC'
11568 case $cc_basename in
11571 lt_prog_compiler_pic_CXX
='-pic'
11572 lt_prog_compiler_static_CXX
='-Bstatic'
11576 lt_prog_compiler_pic_CXX
='-pic'
11583 case $cc_basename in
11585 # NonStop-UX NCC 3.20
11586 lt_prog_compiler_pic_CXX
='-KPIC'
11592 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11593 case $cc_basename in
11595 lt_prog_compiler_wl_CXX
='-Wl,'
11596 lt_prog_compiler_pic_CXX
='-KPIC'
11597 lt_prog_compiler_static_CXX
='-Bstatic'
11604 lt_prog_compiler_can_build_shared_CXX
=no
11609 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11610 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11613 # Check to make sure the PIC flag actually works.
11615 if test -n "$lt_prog_compiler_pic_CXX"; then
11617 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11618 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11619 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11620 echo $ECHO_N "(cached) $ECHO_C" >&6
11622 lt_prog_compiler_pic_works_CXX
=no
11623 ac_outfile
=conftest.
$ac_objext
11624 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11625 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11626 # Insert the option either (1) after the last *FLAGS variable, or
11627 # (2) before a word containing "conftest.", or (3) at the end.
11628 # Note that $ac_compile itself does not contain backslashes and begins
11629 # with a dollar sign (not a hyphen), so the echo should work correctly.
11630 # The option is referenced via a variable to avoid confusing sed.
11631 lt_compile
=`echo "$ac_compile" | $SED \
11632 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11633 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11634 -e 's:$: $lt_compiler_flag:'`
11635 (eval echo "\"\$as_me:11635: $lt_compile\"" >&5)
11636 (eval "$lt_compile" 2>conftest.err
)
11638 cat conftest.err
>&5
11639 echo "$as_me:11639: \$? = $ac_status" >&5
11640 if (exit $ac_status) && test -s "$ac_outfile"; then
11641 # The compiler can only warn and ignore the option if not recognized
11642 # So say no if there are warnings other than the usual output.
11643 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11644 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11645 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11646 lt_prog_compiler_pic_works_CXX
=yes
11652 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11653 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11655 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11656 case $lt_prog_compiler_pic_CXX in
11658 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11661 lt_prog_compiler_pic_CXX
=
11662 lt_prog_compiler_can_build_shared_CXX
=no
11667 # For platforms which do not support PIC, -DPIC is meaningless:
11669 lt_prog_compiler_pic_CXX
=
11672 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11677 # Check to make sure the static flag actually works.
11679 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11680 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11681 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11682 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11685 lt_prog_compiler_static_works_CXX
=no
11686 save_LDFLAGS
="$LDFLAGS"
11687 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11688 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11689 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11690 # The linker can only warn and ignore the option if not recognized
11691 # So say no if there are warnings
11692 if test -s conftest.err
; then
11693 # Append any errors to the config.log.
11694 cat conftest.err
1>&5
11695 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11696 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11697 if diff conftest.exp conftest.er2
>/dev
/null
; then
11698 lt_prog_compiler_static_works_CXX
=yes
11701 lt_prog_compiler_static_works_CXX
=yes
11705 LDFLAGS
="$save_LDFLAGS"
11708 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11709 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11711 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11714 lt_prog_compiler_static_CXX
=
11718 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11719 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11720 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11721 echo $ECHO_N "(cached) $ECHO_C" >&6
11723 lt_cv_prog_compiler_c_o_CXX
=no
11724 $rm -r conftest
2>/dev
/null
11728 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11730 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11731 # Insert the option either (1) after the last *FLAGS variable, or
11732 # (2) before a word containing "conftest.", or (3) at the end.
11733 # Note that $ac_compile itself does not contain backslashes and begins
11734 # with a dollar sign (not a hyphen), so the echo should work correctly.
11735 lt_compile
=`echo "$ac_compile" | $SED \
11736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11738 -e 's:$: $lt_compiler_flag:'`
11739 (eval echo "\"\$as_me:11739: $lt_compile\"" >&5)
11740 (eval "$lt_compile" 2>out
/conftest.err
)
11742 cat out
/conftest.err
>&5
11743 echo "$as_me:11743: \$? = $ac_status" >&5
11744 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11746 # The compiler can only warn and ignore the option if not recognized
11747 # So say no if there are warnings
11748 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11749 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11750 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11751 lt_cv_prog_compiler_c_o_CXX
=yes
11756 # SGI C++ compiler will create directory out/ii_files/ for
11757 # template instantiation
11758 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11759 $rm out
/* && rmdir out
11765 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11766 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11769 hard_links
="nottested"
11770 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11771 # do not overwrite the value of need_locks provided by the user
11772 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11773 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11776 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11778 ln conftest.a conftest.b
2>&5 || hard_links
=no
11779 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11780 echo "$as_me:$LINENO: result: $hard_links" >&5
11781 echo "${ECHO_T}$hard_links" >&6
11782 if test "$hard_links" = no
; then
11783 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11784 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11791 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11792 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11794 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11797 # If we're using GNU nm, then we don't want the "-C" option.
11798 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11799 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11800 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'
11802 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'
11806 export_symbols_cmds_CXX
="$ltdll_cmds"
11809 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'
11812 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11816 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11817 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11818 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11821 # Do we need to explicitly link libc?
11823 case "x$archive_cmds_need_lc_CXX" in
11825 # Assume -lc should be added
11826 archive_cmds_need_lc_CXX
=yes
11828 if test "$enable_shared" = yes && test "$GCC" = yes; then
11829 case $archive_cmds_CXX in
11831 # FIXME: we may have to deal with multi-command sequences.
11834 # Test whether the compiler implicitly links with -lc since on some
11835 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11836 # to ld, don't add -lc before -lgcc.
11837 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11838 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11840 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11843 (eval $ac_compile) 2>&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); } 2>conftest.err
; then
11849 libobjs
=conftest.
$ac_objext
11851 wl
=$lt_prog_compiler_wl_CXX
11852 pic_flag
=$lt_prog_compiler_pic_CXX
11858 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11859 allow_undefined_flag_CXX
=
11860 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11861 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }
11866 archive_cmds_need_lc_CXX
=no
11868 archive_cmds_need_lc_CXX
=yes
11870 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11872 cat conftest.err
1>&5
11875 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11876 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11883 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11884 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11885 library_names_spec
=
11886 libname_spec
='lib$name'
11890 postuninstall_cmds
=
11894 shlibpath_overrides_runpath
=unknown
11896 dynamic_linker
="$host_os ld.so"
11897 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11898 if test "$GCC" = yes; then
11899 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11900 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11901 # if the path contains ";" then we assume it to be the separator
11902 # otherwise default to the standard path separator (i.e. ":") - it is
11903 # assumed that no part of a normal pathname contains ";" but that should
11904 # okay in the real world where ";" in dirpaths is itself problematic.
11905 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11907 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11910 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11912 need_lib_prefix
=unknown
11913 hardcode_into_libs
=no
11915 # when you set need_version to no, make sure it does not cause -set_version
11916 # flags to be left without arguments
11917 need_version
=unknown
11922 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11923 shlibpath_var
=LIBPATH
11925 # AIX 3 has no versioning support, so we append a major version to the name.
11926 soname_spec
='${libname}${release}${shared_ext}$major'
11933 hardcode_into_libs
=yes
11934 if test "$host_cpu" = ia64
; then
11935 # AIX 5 supports IA64
11936 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11937 shlibpath_var
=LD_LIBRARY_PATH
11939 # With GCC up to 2.95.x, collect2 would create an import file
11940 # for dependence libraries. The import file would start with
11941 # the line `#! .'. This would cause the generated library to
11942 # depend on `.', always an invalid library. This was fixed in
11943 # development snapshots of GCC prior to 3.0.
11945 aix4 | aix4.
[01] | aix4.
[01].
*)
11946 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11948 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11951 can_build_shared
=no
11955 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11956 # soname into executable. Probably we can add versioning support to
11957 # collect2, so additional links can be useful in future.
11958 if test "$aix_use_runtimelinking" = yes; then
11959 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11960 # instead of lib<name>.a to let people know that these are not
11961 # typical AIX shared libraries.
11962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11964 # We preserve .a as extension for shared libraries through AIX4.2
11965 # and later when we are not doing run time linking.
11966 library_names_spec
='${libname}${release}.a $libname.a'
11967 soname_spec
='${libname}${release}${shared_ext}$major'
11969 shlibpath_var
=LIBPATH
11974 library_names_spec
='$libname.ixlibrary $libname.a'
11975 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11976 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'
11980 library_names_spec
='${libname}${shared_ext}'
11981 dynamic_linker
="$host_os ld.so"
11982 shlibpath_var
=LIBRARY_PATH
11988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11989 soname_spec
='${libname}${release}${shared_ext}$major'
11990 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11991 shlibpath_var
=LD_LIBRARY_PATH
11992 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11993 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11994 # the default ld.so.conf also contains /usr/contrib/lib and
11995 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11996 # libtool to hard-code these into programs
11999 cygwin
* | mingw
* | pw32
*)
12000 version_type
=windows
12005 case $GCC,$host_os in
12006 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12007 library_names_spec
='$libname.dll.a'
12008 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12009 postinstall_cmds
='base_file=`basename \${file}`~
12010 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12011 dldir=$destdir/`dirname \$dlpath`~
12012 test -d \$dldir || mkdir -p \$dldir~
12013 $install_prog $dir/$dlname \$dldir/$dlname~
12014 chmod a+x \$dldir/$dlname'
12015 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12016 dlpath=$dir/\$dldll~
12018 shlibpath_overrides_runpath
=yes
12022 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12023 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12024 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12027 # MinGW DLLs use traditional 'lib' prefix
12028 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12029 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12030 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12031 # It is most probably a Windows format PATH printed by
12032 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12033 # path with ; separators, and with drive letters. We can handle the
12034 # drive letters (cygwin fileutils understands them), so leave them,
12035 # especially as we might pass files found there to a mingw objdump,
12036 # which wouldn't understand a cygwinified path. Ahh.
12037 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12039 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12043 # pw32 DLLs use 'pw' prefix rather than 'lib'
12044 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12050 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12053 dynamic_linker
='Win32 ld.exe'
12054 # FIXME: first we should search . and the directory the executable is in
12058 darwin
* | rhapsody
*)
12059 dynamic_linker
="$host_os dyld"
12060 version_type
=darwin
12063 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12064 soname_spec
='${libname}${release}${major}$shared_ext'
12065 shlibpath_overrides_runpath
=yes
12066 shlibpath_var
=DYLD_LIBRARY_PATH
12067 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12068 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12069 if test "$GCC" = yes; then
12070 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"`
12072 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12074 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12082 soname_spec
='${libname}${release}${shared_ext}$major'
12083 shlibpath_var
=LD_LIBRARY_PATH
12094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12095 soname_spec
='${libname}${release}${shared_ext}$major'
12096 shlibpath_var
=LD_LIBRARY_PATH
12097 shlibpath_overrides_runpath
=no
12098 hardcode_into_libs
=yes
12099 dynamic_linker
='GNU ld.so'
12102 freebsd
* | dragonfly
*)
12103 # DragonFly does not have aout. When/if they implement a new
12104 # versioning mechanism, adjust this.
12105 if test -x /usr
/bin
/objformat
; then
12106 objformat
=`/usr/bin/objformat`
12109 freebsd
[123]*) objformat
=aout
;;
12110 *) objformat
=elf
;;
12113 version_type
=freebsd-
$objformat
12114 case $version_type in
12116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12121 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12125 shlibpath_var
=LD_LIBRARY_PATH
12128 shlibpath_overrides_runpath
=yes
12130 freebsd3.
[01]* | freebsdelf3.
[01]*)
12131 shlibpath_overrides_runpath
=yes
12132 hardcode_into_libs
=yes
12134 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12135 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12136 shlibpath_overrides_runpath
=no
12137 hardcode_into_libs
=yes
12139 freebsd
*) # from 4.6 on
12140 shlibpath_overrides_runpath
=yes
12141 hardcode_into_libs
=yes
12150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12151 soname_spec
='${libname}${release}${shared_ext}$major'
12152 shlibpath_var
=LD_LIBRARY_PATH
12153 hardcode_into_libs
=yes
12156 hpux9
* | hpux10
* | hpux11
*)
12157 # Give a soname corresponding to the major version so that dld.sl refuses to
12158 # link against other versions.
12165 hardcode_into_libs
=yes
12166 dynamic_linker
="$host_os dld.so"
12167 shlibpath_var
=LD_LIBRARY_PATH
12168 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12170 soname_spec
='${libname}${release}${shared_ext}$major'
12171 if test "X$HPUX_IA64_MODE" = X32
; then
12172 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12174 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12176 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12180 hardcode_into_libs
=yes
12181 dynamic_linker
="$host_os dld.sl"
12182 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12183 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12185 soname_spec
='${libname}${release}${shared_ext}$major'
12186 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12187 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12191 dynamic_linker
="$host_os dld.sl"
12192 shlibpath_var
=SHLIB_PATH
12193 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12195 soname_spec
='${libname}${release}${shared_ext}$major'
12198 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12199 postinstall_cmds
='chmod 555 $lib'
12206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12207 soname_spec
='${libname}${release}${shared_ext}$major'
12208 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12209 shlibpath_var
=LD_LIBRARY_PATH
12210 shlibpath_overrides_runpath
=no
12211 hardcode_into_libs
=yes
12214 irix5
* | irix6
* | nonstopux
*)
12216 nonstopux
*) version_type
=nonstopux
;;
12218 if test "$lt_cv_prog_gnu_ld" = yes; then
12226 soname_spec
='${libname}${release}${shared_ext}$major'
12227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12229 irix5
* | nonstopux
*)
12230 libsuff
= shlibsuff
=
12233 case $LD in # libtool.m4 will add one of these switches to LD
12234 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12235 libsuff
= shlibsuff
= libmagic
=32-bit;;
12236 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12237 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12238 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12239 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12240 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12244 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12245 shlibpath_overrides_runpath
=no
12246 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12247 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12248 hardcode_into_libs
=yes
12251 # No shared lib support for Linux oldld, aout, or coff.
12252 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12256 # This must be Linux ELF.
12261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12262 soname_spec
='${libname}${release}${shared_ext}$major'
12263 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12264 shlibpath_var
=LD_LIBRARY_PATH
12265 shlibpath_overrides_runpath
=no
12266 # This implies no fast_install, which is unacceptable.
12267 # Some rework will be needed to allow for fast_install
12268 # before this can be enabled.
12269 hardcode_into_libs
=yes
12271 # find out which ABI we are using
12273 case "$host_cpu" in
12274 x86_64
*|s390x
*|powerpc64
*)
12275 echo '#line 12275 "configure"' > conftest.
$ac_ext
12276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12277 (eval $ac_compile) 2>&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; then
12281 case `/usr/bin/file conftest.$ac_objext` in
12284 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12292 # Append ld.so.conf contents to the search path
12293 if test -f /etc
/ld.so.conf
; then
12294 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' ' '`
12295 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12298 # We used to test for /lib/ld.so.1 and disable shared libraries on
12299 # powerpc, because MkLinux only supported shared libraries with the
12300 # GNU dynamic linker. Since this was broken with cross compilers,
12301 # most powerpc-linux boxes support dynamic linking these days and
12302 # people can always --disable-shared, the test was removed, and we
12303 # assume the GNU/Linux dynamic linker is in use.
12304 dynamic_linker
='GNU/Linux ld.so'
12311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12312 soname_spec
='${libname}${release}${shared_ext}$major'
12313 shlibpath_var
=LD_LIBRARY_PATH
12314 shlibpath_overrides_runpath
=no
12315 hardcode_into_libs
=yes
12316 dynamic_linker
='GNU ld.so'
12323 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12325 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12326 dynamic_linker
='NetBSD (a.out) ld.so'
12328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12329 soname_spec
='${libname}${release}${shared_ext}$major'
12330 dynamic_linker
='NetBSD ld.elf_so'
12332 shlibpath_var
=LD_LIBRARY_PATH
12333 shlibpath_overrides_runpath
=yes
12334 hardcode_into_libs
=yes
12339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12340 shlibpath_var
=LD_LIBRARY_PATH
12341 shlibpath_overrides_runpath
=yes
12348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12349 soname_spec
='${libname}${release}${shared_ext}$major'
12350 shlibpath_var
=LD_LIBRARY_PATH
12351 shlibpath_overrides_runpath
=yes
12356 sys_lib_dlsearch_path_spec
="/usr/lib"
12358 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12360 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12361 *) need_version
=no
;;
12363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12364 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12365 shlibpath_var
=LD_LIBRARY_PATH
12366 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12368 openbsd2.
[89] | openbsd2.
[89].
*)
12369 shlibpath_overrides_runpath
=no
12372 shlibpath_overrides_runpath
=yes
12376 shlibpath_overrides_runpath
=yes
12381 libname_spec
='$name'
12384 library_names_spec
='$libname${shared_ext} $libname.a'
12385 dynamic_linker
='OS/2 ld.exe'
12386 shlibpath_var
=LIBPATH
12389 osf3
* | osf4
* | osf5
*)
12393 soname_spec
='${libname}${release}${shared_ext}$major'
12394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12395 shlibpath_var
=LD_LIBRARY_PATH
12396 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12397 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12405 soname_spec
='${libname}${release}${shared_ext}$major'
12406 shlibpath_var
=LD_LIBRARY_PATH
12407 shlibpath_overrides_runpath
=yes
12408 hardcode_into_libs
=yes
12409 # ldd complains unless libraries are executable
12410 postinstall_cmds
='chmod +x $lib'
12415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12416 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12417 shlibpath_var
=LD_LIBRARY_PATH
12418 shlibpath_overrides_runpath
=yes
12419 if test "$with_gnu_ld" = yes; then
12427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12428 soname_spec
='${libname}${release}${shared_ext}$major'
12429 shlibpath_var
=LD_LIBRARY_PATH
12430 case $host_vendor in
12432 shlibpath_overrides_runpath
=no
12434 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12435 runpath_var
=LD_RUN_PATH
12443 shlibpath_overrides_runpath
=no
12444 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12450 if test -d /usr
/nec
;then
12452 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12453 soname_spec
='$libname${shared_ext}.$major'
12454 shlibpath_var
=LD_LIBRARY_PATH
12458 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12459 version_type
=freebsd-elf
12462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12463 soname_spec
='${libname}${release}${shared_ext}$major'
12464 shlibpath_var
=LD_LIBRARY_PATH
12465 hardcode_into_libs
=yes
12466 if test "$with_gnu_ld" = yes; then
12467 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12468 shlibpath_overrides_runpath
=no
12470 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12471 shlibpath_overrides_runpath
=yes
12474 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12478 sys_lib_dlsearch_path_spec
='/usr/lib'
12483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12484 soname_spec
='${libname}${release}${shared_ext}$major'
12485 shlibpath_var
=LD_LIBRARY_PATH
12492 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12493 echo "${ECHO_T}$dynamic_linker" >&6
12494 test "$dynamic_linker" = no
&& can_build_shared
=no
12496 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12497 if test "$GCC" = yes; then
12498 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12501 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12502 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12503 hardcode_action_CXX
=
12504 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12505 test -n "$runpath_var_CXX" || \
12506 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12508 # We can hardcode non-existant directories.
12509 if test "$hardcode_direct_CXX" != no
&&
12510 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12511 # have to relink, otherwise we might link with an installed library
12512 # when we should be linking with a yet-to-be-installed one
12513 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12514 test "$hardcode_minus_L_CXX" != no
; then
12515 # Linking always hardcodes the temporary library directory.
12516 hardcode_action_CXX
=relink
12518 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12519 hardcode_action_CXX
=immediate
12522 # We cannot hardcode anything, or else we can only hardcode existing
12524 hardcode_action_CXX
=unsupported
12526 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12527 echo "${ECHO_T}$hardcode_action_CXX" >&6
12529 if test "$hardcode_action_CXX" = relink
; then
12530 # Fast installation is not supported
12531 enable_fast_install
=no
12532 elif test "$shlibpath_overrides_runpath" = yes ||
12533 test "$enable_shared" = no
; then
12534 # Fast installation is not necessary
12535 enable_fast_install
=needless
12539 # The else clause should only fire when bootstrapping the
12540 # libtool distribution, otherwise you forgot to ship ltmain.sh
12541 # with your package, and you will get complaints that there are
12542 # no rules to generate ltmain.sh.
12543 if test -f "$ltmain"; then
12544 # See if we are running on zsh, and set the options which allow our commands through
12545 # without removal of \ escapes.
12546 if test -n "${ZSH_VERSION+set}" ; then
12547 setopt NO_GLOB_SUBST
12549 # Now quote all the things that may contain metacharacters while being
12550 # careful not to overquote the AC_SUBSTed values. We take copies of the
12551 # variables and quote the copies for generation of the libtool script.
12552 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12554 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12555 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12556 deplibs_check_method reload_flag reload_cmds need_locks \
12557 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12558 lt_cv_sys_global_symbol_to_c_name_address \
12559 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12560 old_postinstall_cmds old_postuninstall_cmds \
12564 lt_prog_compiler_wl_CXX \
12565 lt_prog_compiler_pic_CXX \
12566 lt_prog_compiler_static_CXX \
12567 lt_prog_compiler_no_builtin_flag_CXX \
12568 export_dynamic_flag_spec_CXX \
12569 thread_safe_flag_spec_CXX \
12570 whole_archive_flag_spec_CXX \
12571 enable_shared_with_static_runtimes_CXX \
12572 old_archive_cmds_CXX \
12573 old_archive_from_new_cmds_CXX \
12574 predep_objects_CXX \
12575 postdep_objects_CXX \
12578 compiler_lib_search_path_CXX \
12580 archive_expsym_cmds_CXX \
12581 postinstall_cmds_CXX \
12582 postuninstall_cmds_CXX \
12583 old_archive_from_expsyms_cmds_CXX \
12584 allow_undefined_flag_CXX \
12585 no_undefined_flag_CXX \
12586 export_symbols_cmds_CXX \
12587 hardcode_libdir_flag_spec_CXX \
12588 hardcode_libdir_flag_spec_ld_CXX \
12589 hardcode_libdir_separator_CXX \
12590 hardcode_automatic_CXX \
12592 module_expsym_cmds_CXX \
12593 lt_cv_prog_compiler_c_o_CXX \
12594 exclude_expsyms_CXX \
12595 include_expsyms_CXX
; do
12598 old_archive_cmds_CXX | \
12599 old_archive_from_new_cmds_CXX | \
12600 archive_cmds_CXX | \
12601 archive_expsym_cmds_CXX | \
12602 module_cmds_CXX | \
12603 module_expsym_cmds_CXX | \
12604 old_archive_from_expsyms_cmds_CXX | \
12605 export_symbols_cmds_CXX | \
12606 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12607 postinstall_cmds | postuninstall_cmds | \
12608 old_postinstall_cmds | old_postuninstall_cmds | \
12609 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12610 # Double-quote double-evaled strings.
12611 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12614 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12620 *'\$0 --fallback-echo"')
12621 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12627 cat <<__EOF__ >> "$cfgfile"
12628 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12630 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12632 # Shell to use when invoking shell scripts.
12635 # Whether or not to build shared libraries.
12636 build_libtool_libs=$enable_shared
12638 # Whether or not to build static libraries.
12639 build_old_libs=$enable_static
12641 # Whether or not to add -lc for building shared libraries.
12642 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12644 # Whether or not to disallow shared libs when runtime libs are static
12645 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12647 # Whether or not to optimize for fast installation.
12648 fast_install=$enable_fast_install
12651 host_alias=$host_alias
12655 # The build system.
12656 build_alias=$build_alias
12660 # An echo program that does not interpret backslashes.
12665 AR_FLAGS=$lt_AR_FLAGS
12670 # LTCC compiler flags.
12671 LTCFLAGS=$lt_LTCFLAGS
12673 # A language-specific compiler.
12674 CC=$lt_compiler_CXX
12676 # Is the compiler the GNU C compiler?
12679 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12680 gcc_ver=\`gcc -dumpversion\`
12685 # The linker used to build libraries.
12688 # Whether we need hard or soft links.
12691 # A BSD-compatible nm program.
12694 # A symbol stripping program
12697 # Used to examine libraries when file_magic_cmd begins "file"
12698 MAGIC_CMD=$MAGIC_CMD
12700 # Used on cygwin: DLL creation program.
12703 # Used on cygwin: object dumper.
12706 # Used on cygwin: assembler.
12709 # The name of the directory that contains temporary libtool files.
12712 # How to create reloadable object files.
12713 reload_flag=$lt_reload_flag
12714 reload_cmds=$lt_reload_cmds
12716 # How to pass a linker flag through the compiler.
12717 wl=$lt_lt_prog_compiler_wl_CXX
12719 # Object file suffix (normally "o").
12720 objext="$ac_objext"
12722 # Old archive suffix (normally "a").
12725 # Shared library suffix (normally ".so").
12726 shrext_cmds='$shrext_cmds'
12728 # Executable file suffix (normally "").
12731 # Additional compiler flags for building library objects.
12732 pic_flag=$lt_lt_prog_compiler_pic_CXX
12735 # What is the maximum length of a command?
12736 max_cmd_len=$lt_cv_sys_max_cmd_len
12738 # Does compiler simultaneously support -c and -o options?
12739 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12741 # Must we lock files when doing compilation?
12742 need_locks=$lt_need_locks
12744 # Do we need the lib prefix for modules?
12745 need_lib_prefix=$need_lib_prefix
12747 # Do we need a version for libraries?
12748 need_version=$need_version
12750 # Whether dlopen is supported.
12751 dlopen_support=$enable_dlopen
12753 # Whether dlopen of programs is supported.
12754 dlopen_self=$enable_dlopen_self
12756 # Whether dlopen of statically linked programs is supported.
12757 dlopen_self_static=$enable_dlopen_self_static
12759 # Compiler flag to prevent dynamic linking.
12760 link_static_flag=$lt_lt_prog_compiler_static_CXX
12762 # Compiler flag to turn off builtin functions.
12763 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12765 # Compiler flag to allow reflexive dlopens.
12766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12768 # Compiler flag to generate shared objects directly from archives.
12769 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12771 # Compiler flag to generate thread-safe objects.
12772 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12774 # Library versioning type.
12775 version_type=$version_type
12777 # Format of library name prefix.
12778 libname_spec=$lt_libname_spec
12780 # List of archive names. First name is the real one, the rest are links.
12781 # The last name is the one that the linker finds with -lNAME.
12782 library_names_spec=$lt_library_names_spec
12784 # The coded name of the library, if different from the real name.
12785 soname_spec=$lt_soname_spec
12787 # Commands used to build and install an old-style archive.
12789 old_archive_cmds=$lt_old_archive_cmds_CXX
12790 old_postinstall_cmds=$lt_old_postinstall_cmds
12791 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12793 # Create an old-style archive from a shared archive.
12794 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12796 # Create a temporary old-style archive to link instead of a shared archive.
12797 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12799 # Commands used to build and install a shared archive.
12800 archive_cmds=$lt_archive_cmds_CXX
12801 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12802 postinstall_cmds=$lt_postinstall_cmds
12803 postuninstall_cmds=$lt_postuninstall_cmds
12805 # Commands used to build a loadable module (assumed same as above if empty)
12806 module_cmds=$lt_module_cmds_CXX
12807 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12809 # Commands to strip libraries.
12810 old_striplib=$lt_old_striplib
12811 striplib=$lt_striplib
12813 # Dependencies to place before the objects being linked to create a
12815 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12817 # Dependencies to place after the objects being linked to create a
12819 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12821 # Dependencies to place before the objects being linked to create a
12823 predeps=$lt_predeps_CXX
12825 # Dependencies to place after the objects being linked to create a
12827 postdeps=$lt_postdeps_CXX
12829 # The library search path used internally by the compiler when linking
12830 # a shared library.
12831 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"\`
12833 # Method to check whether dependent libraries are shared objects.
12834 deplibs_check_method=$lt_deplibs_check_method
12836 # Command to use when deplibs_check_method == file_magic.
12837 file_magic_cmd=$lt_file_magic_cmd
12839 # Flag that allows shared libraries with undefined symbols to be built.
12840 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12842 # Flag that forces no undefined symbols.
12843 no_undefined_flag=$lt_no_undefined_flag_CXX
12845 # Commands used to finish a libtool library installation in a directory.
12846 finish_cmds=$lt_finish_cmds
12848 # Same as above, but a single script fragment to be evaled but not shown.
12849 finish_eval=$lt_finish_eval
12851 # Take the output of nm and produce a listing of raw symbols and C names.
12852 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12854 # Transform the output of nm in a proper C declaration
12855 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12857 # Transform the output of nm in a C name address pair
12858 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12860 # This is the shared library runtime path variable.
12861 runpath_var=$runpath_var
12863 # This is the shared library path variable.
12864 shlibpath_var=$shlibpath_var
12866 # Is shlibpath searched before the hard-coded library search path?
12867 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12869 # How to hardcode a shared library path into an executable.
12870 hardcode_action=$hardcode_action_CXX
12872 # Whether we should hardcode library paths into libraries.
12873 hardcode_into_libs=$hardcode_into_libs
12875 # Flag to hardcode \$libdir into a binary during linking.
12876 # This must work even if \$libdir does not exist.
12877 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12879 # If ld is used when linking, flag to hardcode \$libdir into
12880 # a binary during linking. This must work even if \$libdir does
12882 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12884 # Whether we need a single -rpath flag with a separated argument.
12885 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12887 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12888 # resulting binary.
12889 hardcode_direct=$hardcode_direct_CXX
12891 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12892 # resulting binary.
12893 hardcode_minus_L=$hardcode_minus_L_CXX
12895 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12896 # the resulting binary.
12897 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12899 # Set to yes if building a shared library automatically hardcodes DIR into the library
12900 # and all subsequent libraries and executables linked against it.
12901 hardcode_automatic=$hardcode_automatic_CXX
12903 # Variables whose values should be saved in libtool wrapper scripts and
12904 # restored at relink time.
12905 variables_saved_for_relink="$variables_saved_for_relink"
12907 # Whether libtool must link a program against all its dependency libraries.
12908 link_all_deplibs=$link_all_deplibs_CXX
12910 # Compile-time system search path for libraries
12911 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"\`
12913 # Run-time system search path for libraries
12914 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12916 # Fix the shell variable \$srcfile for the compiler.
12917 fix_srcfile_path="$fix_srcfile_path_CXX"
12919 # Set to yes if exported symbols are required.
12920 always_export_symbols=$always_export_symbols_CXX
12922 # The commands to list exported symbols.
12923 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12925 # The commands to extract the exported symbol list from a shared archive.
12926 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12928 # Symbols that should not be listed in the preloaded symbols.
12929 exclude_expsyms=$lt_exclude_expsyms_CXX
12931 # Symbols that must always be exported.
12932 include_expsyms=$lt_include_expsyms_CXX
12934 # ### END LIBTOOL TAG CONFIG: $tagname
12940 # If there is no Makefile yet, we rely on a make rule to execute
12941 # `config.status --recheck' to rerun these tests and create the
12942 # libtool script then.
12943 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12944 if test -f "$ltmain_in"; then
12945 test -f Makefile
&& make "$ltmain"
12951 ac_cpp
='$CPP $CPPFLAGS'
12952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12960 with_gnu_ldcxx
=$with_gnu_ld
12961 with_gnu_ld
=$lt_save_with_gnu_ld
12962 lt_cv_path_LDCXX
=$lt_cv_path_LD
12963 lt_cv_path_LD
=$lt_save_path_LD
12964 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12965 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
12973 if test -n "$F77" && test "X$F77" != "Xno"; then
12976 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12977 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12978 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
12981 archive_cmds_need_lc_F77
=no
12982 allow_undefined_flag_F77
=
12983 always_export_symbols_F77
=no
12984 archive_expsym_cmds_F77
=
12985 export_dynamic_flag_spec_F77
=
12986 hardcode_direct_F77
=no
12987 hardcode_libdir_flag_spec_F77
=
12988 hardcode_libdir_flag_spec_ld_F77
=
12989 hardcode_libdir_separator_F77
=
12990 hardcode_minus_L_F77
=no
12991 hardcode_automatic_F77
=no
12993 module_expsym_cmds_F77
=
12994 link_all_deplibs_F77
=unknown
12995 old_archive_cmds_F77
=$old_archive_cmds
12996 no_undefined_flag_F77
=
12997 whole_archive_flag_spec_F77
=
12998 enable_shared_with_static_runtimes_F77
=no
13000 # Source file extension for f77 test sources.
13003 # Object file extension for compiled f77 test sources.
13007 # Code to be used in simple compile tests
13008 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13010 # Code to be used in simple link tests
13011 lt_simple_link_test_code
=" program t\n end\n"
13013 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13015 # If no C compiler was specified, use CC.
13018 # If no C compiler flags were specified, use CFLAGS.
13019 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13021 # Allow CC to be a program name with arguments.
13025 # save warnings/boilerplate of simple test code
13026 ac_outfile
=conftest.
$ac_objext
13027 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13028 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13029 _lt_compiler_boilerplate
=`cat conftest.err`
13032 ac_outfile
=conftest.
$ac_objext
13033 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13034 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13035 _lt_linker_boilerplate
=`cat conftest.err`
13039 # Allow CC to be a program name with arguments.
13044 for cc_temp
in $compiler""; do
13046 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13047 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13052 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13055 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13056 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13057 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13058 echo "${ECHO_T}$can_build_shared" >&6
13060 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13061 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13062 test "$can_build_shared" = "no" && enable_shared
=no
13064 # On AIX, shared libraries and static libraries use the same namespace, and
13065 # are all built from PIC.
13068 test "$enable_shared" = yes && enable_static
=no
13069 if test -n "$RANLIB"; then
13070 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13071 postinstall_cmds
='$RANLIB $lib'
13075 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13076 test "$enable_shared" = yes && enable_static
=no
13080 echo "$as_me:$LINENO: result: $enable_shared" >&5
13081 echo "${ECHO_T}$enable_shared" >&6
13083 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13084 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13085 # Make sure either enable_shared or enable_static is yes.
13086 test "$enable_shared" = yes || enable_static
=yes
13087 echo "$as_me:$LINENO: result: $enable_static" >&5
13088 echo "${ECHO_T}$enable_static" >&6
13093 lt_prog_compiler_wl_F77
=
13094 lt_prog_compiler_pic_F77
=
13095 lt_prog_compiler_static_F77
=
13097 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13098 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13100 if test "$GCC" = yes; then
13101 lt_prog_compiler_wl_F77
='-Wl,'
13102 lt_prog_compiler_static_F77
='-static'
13106 # All AIX code is PIC.
13107 if test "$host_cpu" = ia64
; then
13108 # AIX 5 now supports IA64 processor
13109 lt_prog_compiler_static_F77
='-Bstatic'
13114 # FIXME: we need at least 68020 code to build shared libraries, but
13115 # adding the `-m68020' flag to GCC prevents building anything better,
13117 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13120 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13121 # PIC is the default for these OSes.
13124 mingw
* | pw32
* | os2
*)
13125 # This hack is so that the source file can tell whether it is being
13126 # built for inclusion in a dll (and should export symbols for example).
13127 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13130 darwin
* | rhapsody
*)
13131 # PIC is the default on this platform
13132 # Common symbols not allowed in MH_DYLIB files
13133 lt_prog_compiler_pic_F77
='-fno-common'
13137 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13138 # Instead, we relocate shared libraries at runtime.
13142 # Just because we use GCC doesn't mean we suddenly get shared libraries
13143 # on systems that don't support them.
13144 lt_prog_compiler_can_build_shared_F77
=no
13149 if test -d /usr
/nec
; then
13150 lt_prog_compiler_pic_F77
=-Kconform_pic
13155 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13156 # not for PA HP-UX.
13162 lt_prog_compiler_pic_F77
='-fPIC'
13168 lt_prog_compiler_pic_F77
='-fPIC'
13172 # PORTME Check for flag to pass linker flags through the system compiler.
13175 lt_prog_compiler_wl_F77
='-Wl,'
13176 if test "$host_cpu" = ia64
; then
13177 # AIX 5 now supports IA64 processor
13178 lt_prog_compiler_static_F77
='-Bstatic'
13180 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13184 # PIC is the default on this platform
13185 # Common symbols not allowed in MH_DYLIB files
13186 case $cc_basename in
13188 lt_prog_compiler_pic_F77
='-qnocommon'
13189 lt_prog_compiler_wl_F77
='-Wl,'
13194 mingw
* | pw32
* | os2
*)
13195 # This hack is so that the source file can tell whether it is being
13196 # built for inclusion in a dll (and should export symbols for example).
13197 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13200 hpux9
* | hpux10
* | hpux11
*)
13201 lt_prog_compiler_wl_F77
='-Wl,'
13202 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13203 # not for PA HP-UX.
13209 lt_prog_compiler_pic_F77
='+Z'
13212 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13213 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13216 irix5
* | irix6
* | nonstopux
*)
13217 lt_prog_compiler_wl_F77
='-Wl,'
13218 # PIC (with -KPIC) is the default.
13219 lt_prog_compiler_static_F77
='-non_shared'
13223 lt_prog_compiler_pic_F77
='-KPIC'
13224 lt_prog_compiler_static_F77
='-Bstatic'
13228 case $cc_basename in
13230 lt_prog_compiler_wl_F77
='-Wl,'
13231 lt_prog_compiler_pic_F77
='-KPIC'
13232 lt_prog_compiler_static_F77
='-static'
13234 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13235 # Portland Group compilers (*not* the Pentium gcc compiler,
13236 # which looks to be a dead project)
13237 lt_prog_compiler_wl_F77
='-Wl,'
13238 lt_prog_compiler_pic_F77
='-fpic'
13239 lt_prog_compiler_static_F77
='-Bstatic'
13242 lt_prog_compiler_wl_F77
='-Wl,'
13243 # All Alpha code is PIC.
13244 lt_prog_compiler_static_F77
='-non_shared'
13249 osf3
* | osf4
* | osf5
*)
13250 lt_prog_compiler_wl_F77
='-Wl,'
13251 # All OSF/1 code is PIC.
13252 lt_prog_compiler_static_F77
='-non_shared'
13256 lt_prog_compiler_pic_F77
='-KPIC'
13257 lt_prog_compiler_static_F77
='-Bstatic'
13258 case $cc_basename in
13259 f77
* | f90
* | f95
*)
13260 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13262 lt_prog_compiler_wl_F77
='-Wl,';;
13267 lt_prog_compiler_wl_F77
='-Qoption ld '
13268 lt_prog_compiler_pic_F77
='-PIC'
13269 lt_prog_compiler_static_F77
='-Bstatic'
13272 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13273 lt_prog_compiler_wl_F77
='-Wl,'
13274 lt_prog_compiler_pic_F77
='-KPIC'
13275 lt_prog_compiler_static_F77
='-Bstatic'
13279 if test -d /usr
/nec
;then
13280 lt_prog_compiler_pic_F77
='-Kconform_pic'
13281 lt_prog_compiler_static_F77
='-Bstatic'
13285 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13286 lt_prog_compiler_wl_F77
='-Wl,'
13287 lt_prog_compiler_pic_F77
='-KPIC'
13288 lt_prog_compiler_static_F77
='-Bstatic'
13292 lt_prog_compiler_wl_F77
='-Wl,'
13293 lt_prog_compiler_can_build_shared_F77
=no
13297 lt_prog_compiler_pic_F77
='-pic'
13298 lt_prog_compiler_static_F77
='-Bstatic'
13302 lt_prog_compiler_can_build_shared_F77
=no
13307 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13308 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13311 # Check to make sure the PIC flag actually works.
13313 if test -n "$lt_prog_compiler_pic_F77"; then
13315 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13316 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13317 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13318 echo $ECHO_N "(cached) $ECHO_C" >&6
13320 lt_prog_compiler_pic_works_F77
=no
13321 ac_outfile
=conftest.
$ac_objext
13322 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13323 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13324 # Insert the option either (1) after the last *FLAGS variable, or
13325 # (2) before a word containing "conftest.", or (3) at the end.
13326 # Note that $ac_compile itself does not contain backslashes and begins
13327 # with a dollar sign (not a hyphen), so the echo should work correctly.
13328 # The option is referenced via a variable to avoid confusing sed.
13329 lt_compile
=`echo "$ac_compile" | $SED \
13330 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13331 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13332 -e 's:$: $lt_compiler_flag:'`
13333 (eval echo "\"\$as_me:13333: $lt_compile\"" >&5)
13334 (eval "$lt_compile" 2>conftest.err
)
13336 cat conftest.err
>&5
13337 echo "$as_me:13337: \$? = $ac_status" >&5
13338 if (exit $ac_status) && test -s "$ac_outfile"; then
13339 # The compiler can only warn and ignore the option if not recognized
13340 # So say no if there are warnings other than the usual output.
13341 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13342 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13343 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13344 lt_prog_compiler_pic_works_F77
=yes
13350 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13351 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13353 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13354 case $lt_prog_compiler_pic_F77 in
13356 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13359 lt_prog_compiler_pic_F77
=
13360 lt_prog_compiler_can_build_shared_F77
=no
13365 # For platforms which do not support PIC, -DPIC is meaningless:
13367 lt_prog_compiler_pic_F77
=
13370 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13375 # Check to make sure the static flag actually works.
13377 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13378 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13379 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13380 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13381 echo $ECHO_N "(cached) $ECHO_C" >&6
13383 lt_prog_compiler_static_works_F77
=no
13384 save_LDFLAGS
="$LDFLAGS"
13385 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13386 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13387 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13388 # The linker can only warn and ignore the option if not recognized
13389 # So say no if there are warnings
13390 if test -s conftest.err
; then
13391 # Append any errors to the config.log.
13392 cat conftest.err
1>&5
13393 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13394 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13395 if diff conftest.exp conftest.er2
>/dev
/null
; then
13396 lt_prog_compiler_static_works_F77
=yes
13399 lt_prog_compiler_static_works_F77
=yes
13403 LDFLAGS
="$save_LDFLAGS"
13406 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13407 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13409 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13412 lt_prog_compiler_static_F77
=
13416 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13417 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13418 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13419 echo $ECHO_N "(cached) $ECHO_C" >&6
13421 lt_cv_prog_compiler_c_o_F77
=no
13422 $rm -r conftest
2>/dev
/null
13426 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13428 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13429 # Insert the option either (1) after the last *FLAGS variable, or
13430 # (2) before a word containing "conftest.", or (3) at the end.
13431 # Note that $ac_compile itself does not contain backslashes and begins
13432 # with a dollar sign (not a hyphen), so the echo should work correctly.
13433 lt_compile
=`echo "$ac_compile" | $SED \
13434 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13435 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13436 -e 's:$: $lt_compiler_flag:'`
13437 (eval echo "\"\$as_me:13437: $lt_compile\"" >&5)
13438 (eval "$lt_compile" 2>out
/conftest.err
)
13440 cat out
/conftest.err
>&5
13441 echo "$as_me:13441: \$? = $ac_status" >&5
13442 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13444 # The compiler can only warn and ignore the option if not recognized
13445 # So say no if there are warnings
13446 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13447 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13448 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13449 lt_cv_prog_compiler_c_o_F77
=yes
13454 # SGI C++ compiler will create directory out/ii_files/ for
13455 # template instantiation
13456 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13457 $rm out
/* && rmdir out
13463 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13464 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13467 hard_links
="nottested"
13468 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13469 # do not overwrite the value of need_locks provided by the user
13470 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13471 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13474 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13476 ln conftest.a conftest.b
2>&5 || hard_links
=no
13477 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13478 echo "$as_me:$LINENO: result: $hard_links" >&5
13479 echo "${ECHO_T}$hard_links" >&6
13480 if test "$hard_links" = no
; then
13481 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13482 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13489 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13490 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13493 allow_undefined_flag_F77
=
13494 enable_shared_with_static_runtimes_F77
=no
13496 archive_expsym_cmds_F77
=
13497 old_archive_From_new_cmds_F77
=
13498 old_archive_from_expsyms_cmds_F77
=
13499 export_dynamic_flag_spec_F77
=
13500 whole_archive_flag_spec_F77
=
13501 thread_safe_flag_spec_F77
=
13502 hardcode_libdir_flag_spec_F77
=
13503 hardcode_libdir_flag_spec_ld_F77
=
13504 hardcode_libdir_separator_F77
=
13505 hardcode_direct_F77
=no
13506 hardcode_minus_L_F77
=no
13507 hardcode_shlibpath_var_F77
=unsupported
13508 link_all_deplibs_F77
=unknown
13509 hardcode_automatic_F77
=no
13511 module_expsym_cmds_F77
=
13512 always_export_symbols_F77
=no
13513 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13514 # include_expsyms should be a list of space-separated symbols to be *always*
13515 # included in the symbol list
13516 include_expsyms_F77
=
13517 # exclude_expsyms can be an extended regexp of symbols to exclude
13518 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13519 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13520 # as well as any symbol that contains `d'.
13521 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13522 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13523 # platforms (ab)use it in PIC code, but their linkers get confused if
13524 # the symbol is explicitly referenced. Since portable code cannot
13525 # rely on this symbol name, it's probably fine to never include it in
13526 # preloaded symbol tables.
13527 extract_expsyms_cmds
=
13528 # Just being paranoid about ensuring that cc_basename is set.
13529 for cc_temp
in $compiler""; do
13531 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13532 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13537 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13540 cygwin
* | mingw
* | pw32
*)
13541 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13542 # When not using gcc, we currently assume that we are using
13543 # Microsoft Visual C++.
13544 if test "$GCC" != yes; then
13549 # we just hope/assume this is gcc and not c89 (= MSVC++)
13558 if test "$with_gnu_ld" = yes; then
13559 # If archive_cmds runs LD, not CC, wlarc should be empty
13562 # Set some defaults for GNU ld with shared library support. These
13563 # are reset later if shared libraries are not supported. Putting them
13564 # here allows them to be overridden if necessary.
13565 runpath_var
=LD_RUN_PATH
13566 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13567 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13568 # ancient GNU ld didn't support --whole-archive et. al.
13569 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13570 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13572 whole_archive_flag_spec_F77
=
13574 supports_anon_versioning
=no
13575 case `$LD -v 2>/dev/null` in
13576 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13577 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13578 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13579 *\
2.11.
*) ;; # other 2.11 versions
13580 *) supports_anon_versioning
=yes ;;
13583 # See if GNU ld supports shared libraries.
13585 aix3
* | aix4
* | aix5
*)
13586 # On AIX/PPC, the GNU linker is very broken
13587 if test "$host_cpu" != ia64
; then
13591 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13592 *** to be unable to reliably create shared libraries on AIX.
13593 *** Therefore, libtool is disabling shared libraries support. If you
13594 *** really care for shared libraries, you may want to modify your PATH
13595 *** so that a non-GNU linker is found, and then restart.
13602 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)'
13603 hardcode_libdir_flag_spec_F77
='-L$libdir'
13604 hardcode_minus_L_F77
=yes
13606 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13607 # that the semantics of dynamic libraries on AmigaOS, at least up
13608 # to version 4, is to share data among multiple programs linked
13609 # with the same dynamic library. Since this doesn't match the
13610 # behavior of shared libraries on other platforms, we can't use
13616 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13617 allow_undefined_flag_F77
=unsupported
13618 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13619 # support --undefined. This deserves some investigation. FIXME
13620 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13626 cygwin
* | mingw
* | pw32
*)
13627 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13628 # as there is no search path for DLLs.
13629 hardcode_libdir_flag_spec_F77
='-L$libdir'
13630 allow_undefined_flag_F77
=unsupported
13631 always_export_symbols_F77
=no
13632 enable_shared_with_static_runtimes_F77
=yes
13633 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13635 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13636 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13637 # If the export-symbols file already is a .def file (1st line
13638 # is EXPORTS), use it as is; otherwise, prepend...
13639 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13640 cp $export_symbols $output_objdir/$soname.def;
13642 echo EXPORTS > $output_objdir/$soname.def;
13643 cat $export_symbols >> $output_objdir/$soname.def;
13645 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13652 hardcode_direct_F77
=no
13653 hardcode_shlibpath_var_F77
=no
13654 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13655 export_dynamic_flag_spec_F77
='${wl}-E'
13656 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13657 # Instead, shared libraries are loaded at an image base (0x10000000 by
13658 # default) and relocated if they conflict, which is a slow very memory
13659 # consuming and fragmenting process. To avoid this, we pick a random,
13660 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13661 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13662 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'
13663 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'
13667 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13669 case $cc_basename,$host_cpu in
13670 pgcc
*) # Portland Group C compiler
13671 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'
13672 tmp_addflag
=' $pic_flag'
13674 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13675 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'
13676 tmp_addflag
=' $pic_flag -Mnomain' ;;
13677 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13678 tmp_addflag
=' -i_dynamic' ;;
13679 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13680 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13681 ifc
* | ifort
*) # Intel Fortran compiler
13682 tmp_addflag
=' -nofor_main' ;;
13684 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13686 if test $supports_anon_versioning = yes; then
13687 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13688 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13689 $echo "local: *; };" >> $output_objdir/$libname.ver~
13690 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13698 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13699 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13702 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13703 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13708 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13712 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13713 *** create shared libraries on Solaris systems. Therefore, libtool
13714 *** is disabling shared libraries support. We urge you to upgrade GNU
13715 *** binutils to release 2.9.1 or newer. Another option is to modify
13716 *** your PATH or compiler configuration so that the native linker is
13717 *** used, and then restart.
13720 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13721 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13722 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13728 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13729 case `$LD -v 2>&1` in
13730 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13734 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13735 *** reliably create shared libraries on SCO systems. Therefore, libtool
13736 *** is disabling shared libraries support. We urge you to upgrade GNU
13737 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13738 *** your PATH or compiler configuration so that the native linker is
13739 *** used, and then restart.
13744 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13745 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13746 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13747 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13756 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13758 hardcode_direct_F77
=yes
13759 hardcode_shlibpath_var_F77
=no
13763 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13764 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13765 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13772 if test "$ld_shlibs_F77" = no
; then
13774 hardcode_libdir_flag_spec_F77
=
13775 export_dynamic_flag_spec_F77
=
13776 whole_archive_flag_spec_F77
=
13779 # PORTME fill in a description of your system's linker (not GNU ld)
13782 allow_undefined_flag_F77
=unsupported
13783 always_export_symbols_F77
=yes
13784 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'
13785 # Note: this linker hardcodes the directories in LIBPATH if there
13786 # are no directories specified by -L.
13787 hardcode_minus_L_F77
=yes
13788 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13789 # Neither direct hardcoding nor static linking is supported with a
13791 hardcode_direct_F77
=unsupported
13796 if test "$host_cpu" = ia64
; then
13797 # On IA64, the linker does run time linking by default, so we don't
13798 # have to do anything special.
13799 aix_use_runtimelinking
=no
13800 exp_sym_flag
='-Bexport'
13803 # If we're using GNU nm, then we don't want the "-C" option.
13804 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13805 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13806 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'
13808 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'
13810 aix_use_runtimelinking
=no
13812 # Test if we are trying to use run time linking or normal
13813 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13814 # need to do runtime linking.
13815 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13816 for ld_flag
in $LDFLAGS; do
13817 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13818 aix_use_runtimelinking
=yes
13825 exp_sym_flag
='-bexport'
13826 no_entry_flag
='-bnoentry'
13829 # When large executables or shared objects are built, AIX ld can
13830 # have problems creating the table of contents. If linking a library
13831 # or program results in "error TOC overflow" add -mminimal-toc to
13832 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13833 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13835 archive_cmds_F77
=''
13836 hardcode_direct_F77
=yes
13837 hardcode_libdir_separator_F77
=':'
13838 link_all_deplibs_F77
=yes
13840 if test "$GCC" = yes; then
13841 case $host_os in aix4.
[012]|aix4.
[012].
*)
13842 # We only want to do this on AIX 4.2 and lower, the check
13843 # below for broken collect2 doesn't work under 4.3+
13844 collect2name
=`${CC} -print-prog-name=collect2`
13845 if test -f "$collect2name" && \
13846 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13848 # We have reworked collect2
13849 hardcode_direct_F77
=yes
13851 # We have old collect2
13852 hardcode_direct_F77
=unsupported
13853 # It fails to find uninstalled libraries when the uninstalled
13854 # path is not listed in the libpath. Setting hardcode_minus_L
13855 # to unsupported forces relinking
13856 hardcode_minus_L_F77
=yes
13857 hardcode_libdir_flag_spec_F77
='-L$libdir'
13858 hardcode_libdir_separator_F77
=
13862 shared_flag
='-shared'
13863 if test "$aix_use_runtimelinking" = yes; then
13864 shared_flag
="$shared_flag "'${wl}-G'
13868 if test "$host_cpu" = ia64
; then
13869 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13870 # chokes on -Wl,-G. The following line is correct:
13873 if test "$aix_use_runtimelinking" = yes; then
13874 shared_flag
='${wl}-G'
13876 shared_flag
='${wl}-bM:SRE'
13881 # It seems that -bexpall does not export symbols beginning with
13882 # underscore (_), so it is better to generate a list of symbols to export.
13883 always_export_symbols_F77
=yes
13884 if test "$aix_use_runtimelinking" = yes; then
13885 # Warning - without using the other runtime loading flags (-brtl),
13886 # -berok will link without error, but may produce a broken library.
13887 allow_undefined_flag_F77
='-berok'
13888 # Determine the default libpath from the value encoded in an empty executable.
13889 cat >conftest.
$ac_ext <<_ACEOF
13894 rm -f conftest.
$ac_objext conftest
$ac_exeext
13895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13896 (eval $ac_link) 2>conftest.er1
13898 grep -v '^ *+' conftest.er1
>conftest.err
13900 cat conftest.err
>&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } &&
13903 { ac_try
='test -z "$ac_f77_werror_flag"
13904 || test ! -s conftest.err'
13905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13906 (eval $ac_try) 2>&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); }; } &&
13910 { ac_try
='test -s conftest$ac_exeext'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; }; then
13917 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13919 # Check for a 64-bit object if we didn't find anything.
13920 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; }
13923 echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.
$ac_ext >&5
13927 rm -f conftest.err conftest.
$ac_objext \
13928 conftest
$ac_exeext conftest.
$ac_ext
13929 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13931 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13932 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"
13934 if test "$host_cpu" = ia64
; then
13935 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
13936 allow_undefined_flag_F77
="-z nodefs"
13937 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"
13939 # Determine the default libpath from the value encoded in an empty executable.
13940 cat >conftest.
$ac_ext <<_ACEOF
13945 rm -f conftest.
$ac_objext conftest
$ac_exeext
13946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13947 (eval $ac_link) 2>conftest.er1
13949 grep -v '^ *+' conftest.er1
>conftest.err
13951 cat conftest.err
>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); } &&
13954 { ac_try
='test -z "$ac_f77_werror_flag"
13955 || test ! -s conftest.err'
13956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13957 (eval $ac_try) 2>&5
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); }; } &&
13961 { ac_try
='test -s conftest$ac_exeext'
13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13963 (eval $ac_try) 2>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; }; then
13968 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13970 # Check for a 64-bit object if we didn't find anything.
13971 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; }
13974 echo "$as_me: failed program was:" >&5
13975 sed 's/^/| /' conftest.
$ac_ext >&5
13978 rm -f conftest.err conftest.
$ac_objext \
13979 conftest
$ac_exeext conftest.
$ac_ext
13980 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13982 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13983 # Warning - without using the other run time loading flags,
13984 # -berok will link without error, but may produce a broken library.
13985 no_undefined_flag_F77
=' ${wl}-bernotok'
13986 allow_undefined_flag_F77
=' ${wl}-berok'
13987 # Exported symbols can be pulled into shared objects from archives
13988 whole_archive_flag_spec_F77
='$convenience'
13989 archive_cmds_need_lc_F77
=yes
13990 # This is similar to how AIX traditionally builds its shared libraries.
13991 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'
13997 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)'
13998 hardcode_libdir_flag_spec_F77
='-L$libdir'
13999 hardcode_minus_L_F77
=yes
14000 # see comment about different semantics on the GNU ld section
14005 export_dynamic_flag_spec_F77
=-rdynamic
14008 cygwin
* | mingw
* | pw32
*)
14009 # When not using gcc, we currently assume that we are using
14010 # Microsoft Visual C++.
14011 # hardcode_libdir_flag_spec is actually meaningless, as there is
14012 # no search path for DLLs.
14013 hardcode_libdir_flag_spec_F77
=' '
14014 allow_undefined_flag_F77
=unsupported
14015 # Tell ltmain to make .lib files, not .a files.
14017 # Tell ltmain to make .dll files, not .so files.
14019 # FIXME: Setting linknames here is a bad hack.
14020 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14021 # The linker will automatically build a .lib file if we build a DLL.
14022 old_archive_From_new_cmds_F77
='true'
14023 # FIXME: Should let the user specify the lib program.
14024 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14025 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14026 enable_shared_with_static_runtimes_F77
=yes
14029 darwin
* | rhapsody
*)
14031 rhapsody
* | darwin1.
[012])
14032 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14035 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14036 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14038 case ${MACOSX_DEPLOYMENT_TARGET} in
14040 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14043 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14049 archive_cmds_need_lc_F77
=no
14050 hardcode_direct_F77
=no
14051 hardcode_automatic_F77
=yes
14052 hardcode_shlibpath_var_F77
=unsupported
14053 whole_archive_flag_spec_F77
=''
14054 link_all_deplibs_F77
=yes
14055 if test "$GCC" = yes ; then
14056 output_verbose_link_cmd
='echo'
14057 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14058 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14059 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14060 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}'
14061 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}'
14063 case $cc_basename in
14065 output_verbose_link_cmd
='echo'
14066 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14067 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14068 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14069 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}'
14070 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}'
14080 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14081 hardcode_libdir_flag_spec_F77
='-L$libdir'
14082 hardcode_shlibpath_var_F77
=no
14089 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14090 # support. Future versions do this automatically, but an explicit c++rt0.o
14091 # does not break anything, and helps significantly (at the cost of a little
14094 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14095 hardcode_libdir_flag_spec_F77
='-R$libdir'
14096 hardcode_direct_F77
=yes
14097 hardcode_shlibpath_var_F77
=no
14100 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14102 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14103 hardcode_direct_F77
=yes
14104 hardcode_minus_L_F77
=yes
14105 hardcode_shlibpath_var_F77
=no
14108 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14109 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14110 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14111 hardcode_libdir_flag_spec_F77
='-R$libdir'
14112 hardcode_direct_F77
=yes
14113 hardcode_shlibpath_var_F77
=no
14117 if test "$GCC" = yes; then
14118 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'
14120 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'
14122 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14123 hardcode_libdir_separator_F77
=:
14124 hardcode_direct_F77
=yes
14126 # hardcode_minus_L: Not really in the search PATH,
14127 # but as the default location of the library.
14128 hardcode_minus_L_F77
=yes
14129 export_dynamic_flag_spec_F77
='${wl}-E'
14133 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14134 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14136 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14138 if test "$with_gnu_ld" = no
; then
14139 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14140 hardcode_libdir_separator_F77
=:
14142 hardcode_direct_F77
=yes
14143 export_dynamic_flag_spec_F77
='${wl}-E'
14145 # hardcode_minus_L: Not really in the search PATH,
14146 # but as the default location of the library.
14147 hardcode_minus_L_F77
=yes
14152 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14155 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14158 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14161 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14167 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14170 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14173 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14177 if test "$with_gnu_ld" = no
; then
14178 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14179 hardcode_libdir_separator_F77
=:
14183 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14184 hardcode_direct_F77
=no
14185 hardcode_shlibpath_var_F77
=no
14188 hardcode_direct_F77
=yes
14189 export_dynamic_flag_spec_F77
='${wl}-E'
14191 # hardcode_minus_L: Not really in the search PATH,
14192 # but as the default location of the library.
14193 hardcode_minus_L_F77
=yes
14199 irix5
* | irix6
* | nonstopux
*)
14200 if test "$GCC" = yes; then
14201 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'
14203 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'
14204 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14206 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14207 hardcode_libdir_separator_F77
=:
14208 link_all_deplibs_F77
=yes
14212 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14213 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14215 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14217 hardcode_libdir_flag_spec_F77
='-R$libdir'
14218 hardcode_direct_F77
=yes
14219 hardcode_shlibpath_var_F77
=no
14223 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14224 hardcode_direct_F77
=yes
14225 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14226 hardcode_libdir_separator_F77
=:
14227 hardcode_shlibpath_var_F77
=no
14231 hardcode_direct_F77
=yes
14232 hardcode_shlibpath_var_F77
=no
14233 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14234 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14235 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14236 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14237 export_dynamic_flag_spec_F77
='${wl}-E'
14240 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14241 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14242 hardcode_libdir_flag_spec_F77
='-R$libdir'
14245 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14246 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14253 hardcode_libdir_flag_spec_F77
='-L$libdir'
14254 hardcode_minus_L_F77
=yes
14255 allow_undefined_flag_F77
=unsupported
14256 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'
14257 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14261 if test "$GCC" = yes; then
14262 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14263 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'
14265 allow_undefined_flag_F77
=' -expect_unresolved \*'
14266 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'
14268 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14269 hardcode_libdir_separator_F77
=:
14272 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14273 if test "$GCC" = yes; then
14274 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14275 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'
14276 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14278 allow_undefined_flag_F77
=' -expect_unresolved \*'
14279 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'
14280 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~
14281 $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'
14283 # Both c and cxx compiler support -rpath directly
14284 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14286 hardcode_libdir_separator_F77
=:
14290 no_undefined_flag_F77
=' -z text'
14291 if test "$GCC" = yes; then
14293 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14294 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14295 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14298 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14299 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14300 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14302 hardcode_libdir_flag_spec_F77
='-R$libdir'
14303 hardcode_shlibpath_var_F77
=no
14305 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14307 # The compiler driver will combine linker options so we
14308 # cannot just pass the convience library names through
14309 # without $wl, iff we do not link with $LD.
14310 # Luckily, gcc supports the same syntax we need for Sun Studio.
14311 # Supported since Solaris 2.6 (maybe 2.5.1?)
14314 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14316 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' ;;
14319 link_all_deplibs_F77
=yes
14323 if test "x$host_vendor" = xsequent
; then
14324 # Use $CC to link under sequent, because it throws in some extra .o
14325 # files that make .init and .fini sections work.
14326 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14328 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14330 hardcode_libdir_flag_spec_F77
='-L$libdir'
14331 hardcode_direct_F77
=yes
14332 hardcode_minus_L_F77
=yes
14333 hardcode_shlibpath_var_F77
=no
14337 case $host_vendor in
14339 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14340 hardcode_direct_F77
=yes # is this really true???
14343 ## LD is ld it makes a PLAMLIB
14344 ## CC just makes a GrossModule.
14345 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14346 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14347 hardcode_direct_F77
=no
14350 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14351 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14354 runpath_var
='LD_RUN_PATH'
14355 hardcode_shlibpath_var_F77
=no
14359 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14360 hardcode_shlibpath_var_F77
=no
14361 export_dynamic_flag_spec_F77
='-Bexport'
14365 if test -d /usr
/nec
; then
14366 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14367 hardcode_shlibpath_var_F77
=no
14368 runpath_var
=LD_RUN_PATH
14369 hardcode_runpath_var
=yes
14374 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14375 no_undefined_flag_F77
='${wl}-z,text'
14376 archive_cmds_need_lc_F77
=no
14377 hardcode_shlibpath_var_F77
=no
14378 runpath_var
='LD_RUN_PATH'
14380 if test "$GCC" = yes; then
14381 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14382 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14384 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14385 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14389 sysv5
* | sco3.2v5
* | sco5v6
*)
14390 # Note: We can NOT use -z defs as we might desire, because we do not
14391 # link with -lc, and that would cause any symbols used from libc to
14392 # always be unresolved, which means just about no library would
14393 # ever link correctly. If we're not using GNU ld we use -z text
14394 # though, which does catch some bad symbols but isn't as heavy-handed
14396 no_undefined_flag_F77
='${wl}-z,text'
14397 allow_undefined_flag_F77
='${wl}-z,nodefs'
14398 archive_cmds_need_lc_F77
=no
14399 hardcode_shlibpath_var_F77
=no
14400 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14401 hardcode_libdir_separator_F77
=':'
14402 link_all_deplibs_F77
=yes
14403 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14404 runpath_var
='LD_RUN_PATH'
14406 if test "$GCC" = yes; then
14407 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14408 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14410 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14411 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14416 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14417 hardcode_libdir_flag_spec_F77
='-L$libdir'
14418 hardcode_shlibpath_var_F77
=no
14427 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14428 echo "${ECHO_T}$ld_shlibs_F77" >&6
14429 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14432 # Do we need to explicitly link libc?
14434 case "x$archive_cmds_need_lc_F77" in
14436 # Assume -lc should be added
14437 archive_cmds_need_lc_F77
=yes
14439 if test "$enable_shared" = yes && test "$GCC" = yes; then
14440 case $archive_cmds_F77 in
14442 # FIXME: we may have to deal with multi-command sequences.
14445 # Test whether the compiler implicitly links with -lc since on some
14446 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14447 # to ld, don't add -lc before -lgcc.
14448 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14449 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14451 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14454 (eval $ac_compile) 2>&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } 2>conftest.err
; then
14460 libobjs
=conftest.
$ac_objext
14462 wl
=$lt_prog_compiler_wl_F77
14463 pic_flag
=$lt_prog_compiler_pic_F77
14469 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14470 allow_undefined_flag_F77
=
14471 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14472 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }
14477 archive_cmds_need_lc_F77
=no
14479 archive_cmds_need_lc_F77
=yes
14481 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14483 cat conftest.err
1>&5
14486 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14487 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14494 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14495 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14496 library_names_spec
=
14497 libname_spec
='lib$name'
14501 postuninstall_cmds
=
14505 shlibpath_overrides_runpath
=unknown
14507 dynamic_linker
="$host_os ld.so"
14508 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14509 if test "$GCC" = yes; then
14510 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14511 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14512 # if the path contains ";" then we assume it to be the separator
14513 # otherwise default to the standard path separator (i.e. ":") - it is
14514 # assumed that no part of a normal pathname contains ";" but that should
14515 # okay in the real world where ";" in dirpaths is itself problematic.
14516 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14518 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14521 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14523 need_lib_prefix
=unknown
14524 hardcode_into_libs
=no
14526 # when you set need_version to no, make sure it does not cause -set_version
14527 # flags to be left without arguments
14528 need_version
=unknown
14533 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14534 shlibpath_var
=LIBPATH
14536 # AIX 3 has no versioning support, so we append a major version to the name.
14537 soname_spec
='${libname}${release}${shared_ext}$major'
14544 hardcode_into_libs
=yes
14545 if test "$host_cpu" = ia64
; then
14546 # AIX 5 supports IA64
14547 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14548 shlibpath_var
=LD_LIBRARY_PATH
14550 # With GCC up to 2.95.x, collect2 would create an import file
14551 # for dependence libraries. The import file would start with
14552 # the line `#! .'. This would cause the generated library to
14553 # depend on `.', always an invalid library. This was fixed in
14554 # development snapshots of GCC prior to 3.0.
14556 aix4 | aix4.
[01] | aix4.
[01].
*)
14557 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14559 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14562 can_build_shared
=no
14566 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14567 # soname into executable. Probably we can add versioning support to
14568 # collect2, so additional links can be useful in future.
14569 if test "$aix_use_runtimelinking" = yes; then
14570 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14571 # instead of lib<name>.a to let people know that these are not
14572 # typical AIX shared libraries.
14573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14575 # We preserve .a as extension for shared libraries through AIX4.2
14576 # and later when we are not doing run time linking.
14577 library_names_spec
='${libname}${release}.a $libname.a'
14578 soname_spec
='${libname}${release}${shared_ext}$major'
14580 shlibpath_var
=LIBPATH
14585 library_names_spec
='$libname.ixlibrary $libname.a'
14586 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14587 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'
14591 library_names_spec
='${libname}${shared_ext}'
14592 dynamic_linker
="$host_os ld.so"
14593 shlibpath_var
=LIBRARY_PATH
14599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14600 soname_spec
='${libname}${release}${shared_ext}$major'
14601 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14602 shlibpath_var
=LD_LIBRARY_PATH
14603 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14604 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14605 # the default ld.so.conf also contains /usr/contrib/lib and
14606 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14607 # libtool to hard-code these into programs
14610 cygwin
* | mingw
* | pw32
*)
14611 version_type
=windows
14616 case $GCC,$host_os in
14617 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14618 library_names_spec
='$libname.dll.a'
14619 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14620 postinstall_cmds
='base_file=`basename \${file}`~
14621 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14622 dldir=$destdir/`dirname \$dlpath`~
14623 test -d \$dldir || mkdir -p \$dldir~
14624 $install_prog $dir/$dlname \$dldir/$dlname~
14625 chmod a+x \$dldir/$dlname'
14626 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14627 dlpath=$dir/\$dldll~
14629 shlibpath_overrides_runpath
=yes
14633 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14634 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14635 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14638 # MinGW DLLs use traditional 'lib' prefix
14639 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14640 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14641 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14642 # It is most probably a Windows format PATH printed by
14643 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14644 # path with ; separators, and with drive letters. We can handle the
14645 # drive letters (cygwin fileutils understands them), so leave them,
14646 # especially as we might pass files found there to a mingw objdump,
14647 # which wouldn't understand a cygwinified path. Ahh.
14648 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14650 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14654 # pw32 DLLs use 'pw' prefix rather than 'lib'
14655 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14661 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14664 dynamic_linker
='Win32 ld.exe'
14665 # FIXME: first we should search . and the directory the executable is in
14669 darwin
* | rhapsody
*)
14670 dynamic_linker
="$host_os dyld"
14671 version_type
=darwin
14674 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14675 soname_spec
='${libname}${release}${major}$shared_ext'
14676 shlibpath_overrides_runpath
=yes
14677 shlibpath_var
=DYLD_LIBRARY_PATH
14678 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14679 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14680 if test "$GCC" = yes; then
14681 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"`
14683 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14685 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14693 soname_spec
='${libname}${release}${shared_ext}$major'
14694 shlibpath_var
=LD_LIBRARY_PATH
14705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14706 soname_spec
='${libname}${release}${shared_ext}$major'
14707 shlibpath_var
=LD_LIBRARY_PATH
14708 shlibpath_overrides_runpath
=no
14709 hardcode_into_libs
=yes
14710 dynamic_linker
='GNU ld.so'
14713 freebsd
* | dragonfly
*)
14714 # DragonFly does not have aout. When/if they implement a new
14715 # versioning mechanism, adjust this.
14716 if test -x /usr
/bin
/objformat
; then
14717 objformat
=`/usr/bin/objformat`
14720 freebsd
[123]*) objformat
=aout
;;
14721 *) objformat
=elf
;;
14724 version_type
=freebsd-
$objformat
14725 case $version_type in
14727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14732 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14736 shlibpath_var
=LD_LIBRARY_PATH
14739 shlibpath_overrides_runpath
=yes
14741 freebsd3.
[01]* | freebsdelf3.
[01]*)
14742 shlibpath_overrides_runpath
=yes
14743 hardcode_into_libs
=yes
14745 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14746 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14747 shlibpath_overrides_runpath
=no
14748 hardcode_into_libs
=yes
14750 freebsd
*) # from 4.6 on
14751 shlibpath_overrides_runpath
=yes
14752 hardcode_into_libs
=yes
14761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14762 soname_spec
='${libname}${release}${shared_ext}$major'
14763 shlibpath_var
=LD_LIBRARY_PATH
14764 hardcode_into_libs
=yes
14767 hpux9
* | hpux10
* | hpux11
*)
14768 # Give a soname corresponding to the major version so that dld.sl refuses to
14769 # link against other versions.
14776 hardcode_into_libs
=yes
14777 dynamic_linker
="$host_os dld.so"
14778 shlibpath_var
=LD_LIBRARY_PATH
14779 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14781 soname_spec
='${libname}${release}${shared_ext}$major'
14782 if test "X$HPUX_IA64_MODE" = X32
; then
14783 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14785 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14787 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14791 hardcode_into_libs
=yes
14792 dynamic_linker
="$host_os dld.sl"
14793 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14794 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14796 soname_spec
='${libname}${release}${shared_ext}$major'
14797 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14798 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14802 dynamic_linker
="$host_os dld.sl"
14803 shlibpath_var
=SHLIB_PATH
14804 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14806 soname_spec
='${libname}${release}${shared_ext}$major'
14809 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14810 postinstall_cmds
='chmod 555 $lib'
14817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14818 soname_spec
='${libname}${release}${shared_ext}$major'
14819 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14820 shlibpath_var
=LD_LIBRARY_PATH
14821 shlibpath_overrides_runpath
=no
14822 hardcode_into_libs
=yes
14825 irix5
* | irix6
* | nonstopux
*)
14827 nonstopux
*) version_type
=nonstopux
;;
14829 if test "$lt_cv_prog_gnu_ld" = yes; then
14837 soname_spec
='${libname}${release}${shared_ext}$major'
14838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14840 irix5
* | nonstopux
*)
14841 libsuff
= shlibsuff
=
14844 case $LD in # libtool.m4 will add one of these switches to LD
14845 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14846 libsuff
= shlibsuff
= libmagic
=32-bit;;
14847 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14848 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14849 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14850 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14851 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14855 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14856 shlibpath_overrides_runpath
=no
14857 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14858 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14859 hardcode_into_libs
=yes
14862 # No shared lib support for Linux oldld, aout, or coff.
14863 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14867 # This must be Linux ELF.
14872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14873 soname_spec
='${libname}${release}${shared_ext}$major'
14874 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14875 shlibpath_var
=LD_LIBRARY_PATH
14876 shlibpath_overrides_runpath
=no
14877 # This implies no fast_install, which is unacceptable.
14878 # Some rework will be needed to allow for fast_install
14879 # before this can be enabled.
14880 hardcode_into_libs
=yes
14882 # find out which ABI we are using
14884 case "$host_cpu" in
14885 x86_64
*|s390x
*|powerpc64
*)
14886 echo '#line 14886 "configure"' > conftest.
$ac_ext
14887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14888 (eval $ac_compile) 2>&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); }; then
14892 case `/usr/bin/file conftest.$ac_objext` in
14895 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14903 # Append ld.so.conf contents to the search path
14904 if test -f /etc
/ld.so.conf
; then
14905 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' ' '`
14906 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14909 # We used to test for /lib/ld.so.1 and disable shared libraries on
14910 # powerpc, because MkLinux only supported shared libraries with the
14911 # GNU dynamic linker. Since this was broken with cross compilers,
14912 # most powerpc-linux boxes support dynamic linking these days and
14913 # people can always --disable-shared, the test was removed, and we
14914 # assume the GNU/Linux dynamic linker is in use.
14915 dynamic_linker
='GNU/Linux ld.so'
14922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14923 soname_spec
='${libname}${release}${shared_ext}$major'
14924 shlibpath_var
=LD_LIBRARY_PATH
14925 shlibpath_overrides_runpath
=no
14926 hardcode_into_libs
=yes
14927 dynamic_linker
='GNU ld.so'
14934 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14936 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14937 dynamic_linker
='NetBSD (a.out) ld.so'
14939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14940 soname_spec
='${libname}${release}${shared_ext}$major'
14941 dynamic_linker
='NetBSD ld.elf_so'
14943 shlibpath_var
=LD_LIBRARY_PATH
14944 shlibpath_overrides_runpath
=yes
14945 hardcode_into_libs
=yes
14950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14951 shlibpath_var
=LD_LIBRARY_PATH
14952 shlibpath_overrides_runpath
=yes
14959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14960 soname_spec
='${libname}${release}${shared_ext}$major'
14961 shlibpath_var
=LD_LIBRARY_PATH
14962 shlibpath_overrides_runpath
=yes
14967 sys_lib_dlsearch_path_spec
="/usr/lib"
14969 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14971 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14972 *) need_version
=no
;;
14974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14975 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14976 shlibpath_var
=LD_LIBRARY_PATH
14977 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14979 openbsd2.
[89] | openbsd2.
[89].
*)
14980 shlibpath_overrides_runpath
=no
14983 shlibpath_overrides_runpath
=yes
14987 shlibpath_overrides_runpath
=yes
14992 libname_spec
='$name'
14995 library_names_spec
='$libname${shared_ext} $libname.a'
14996 dynamic_linker
='OS/2 ld.exe'
14997 shlibpath_var
=LIBPATH
15000 osf3
* | osf4
* | osf5
*)
15004 soname_spec
='${libname}${release}${shared_ext}$major'
15005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15006 shlibpath_var
=LD_LIBRARY_PATH
15007 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15008 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15016 soname_spec
='${libname}${release}${shared_ext}$major'
15017 shlibpath_var
=LD_LIBRARY_PATH
15018 shlibpath_overrides_runpath
=yes
15019 hardcode_into_libs
=yes
15020 # ldd complains unless libraries are executable
15021 postinstall_cmds
='chmod +x $lib'
15026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15027 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15028 shlibpath_var
=LD_LIBRARY_PATH
15029 shlibpath_overrides_runpath
=yes
15030 if test "$with_gnu_ld" = yes; then
15038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15039 soname_spec
='${libname}${release}${shared_ext}$major'
15040 shlibpath_var
=LD_LIBRARY_PATH
15041 case $host_vendor in
15043 shlibpath_overrides_runpath
=no
15045 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15046 runpath_var
=LD_RUN_PATH
15054 shlibpath_overrides_runpath
=no
15055 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15061 if test -d /usr
/nec
;then
15063 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15064 soname_spec
='$libname${shared_ext}.$major'
15065 shlibpath_var
=LD_LIBRARY_PATH
15069 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15070 version_type
=freebsd-elf
15073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15074 soname_spec
='${libname}${release}${shared_ext}$major'
15075 shlibpath_var
=LD_LIBRARY_PATH
15076 hardcode_into_libs
=yes
15077 if test "$with_gnu_ld" = yes; then
15078 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15079 shlibpath_overrides_runpath
=no
15081 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15082 shlibpath_overrides_runpath
=yes
15085 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15089 sys_lib_dlsearch_path_spec
='/usr/lib'
15094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15095 soname_spec
='${libname}${release}${shared_ext}$major'
15096 shlibpath_var
=LD_LIBRARY_PATH
15103 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15104 echo "${ECHO_T}$dynamic_linker" >&6
15105 test "$dynamic_linker" = no
&& can_build_shared
=no
15107 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15108 if test "$GCC" = yes; then
15109 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15112 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15113 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15114 hardcode_action_F77
=
15115 if test -n "$hardcode_libdir_flag_spec_F77" || \
15116 test -n "$runpath_var_F77" || \
15117 test "X$hardcode_automatic_F77" = "Xyes" ; then
15119 # We can hardcode non-existant directories.
15120 if test "$hardcode_direct_F77" != no
&&
15121 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15122 # have to relink, otherwise we might link with an installed library
15123 # when we should be linking with a yet-to-be-installed one
15124 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15125 test "$hardcode_minus_L_F77" != no
; then
15126 # Linking always hardcodes the temporary library directory.
15127 hardcode_action_F77
=relink
15129 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15130 hardcode_action_F77
=immediate
15133 # We cannot hardcode anything, or else we can only hardcode existing
15135 hardcode_action_F77
=unsupported
15137 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15138 echo "${ECHO_T}$hardcode_action_F77" >&6
15140 if test "$hardcode_action_F77" = relink
; then
15141 # Fast installation is not supported
15142 enable_fast_install
=no
15143 elif test "$shlibpath_overrides_runpath" = yes ||
15144 test "$enable_shared" = no
; then
15145 # Fast installation is not necessary
15146 enable_fast_install
=needless
15150 # The else clause should only fire when bootstrapping the
15151 # libtool distribution, otherwise you forgot to ship ltmain.sh
15152 # with your package, and you will get complaints that there are
15153 # no rules to generate ltmain.sh.
15154 if test -f "$ltmain"; then
15155 # See if we are running on zsh, and set the options which allow our commands through
15156 # without removal of \ escapes.
15157 if test -n "${ZSH_VERSION+set}" ; then
15158 setopt NO_GLOB_SUBST
15160 # Now quote all the things that may contain metacharacters while being
15161 # careful not to overquote the AC_SUBSTed values. We take copies of the
15162 # variables and quote the copies for generation of the libtool script.
15163 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15165 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15166 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15167 deplibs_check_method reload_flag reload_cmds need_locks \
15168 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15169 lt_cv_sys_global_symbol_to_c_name_address \
15170 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15171 old_postinstall_cmds old_postuninstall_cmds \
15175 lt_prog_compiler_wl_F77 \
15176 lt_prog_compiler_pic_F77 \
15177 lt_prog_compiler_static_F77 \
15178 lt_prog_compiler_no_builtin_flag_F77 \
15179 export_dynamic_flag_spec_F77 \
15180 thread_safe_flag_spec_F77 \
15181 whole_archive_flag_spec_F77 \
15182 enable_shared_with_static_runtimes_F77 \
15183 old_archive_cmds_F77 \
15184 old_archive_from_new_cmds_F77 \
15185 predep_objects_F77 \
15186 postdep_objects_F77 \
15189 compiler_lib_search_path_F77 \
15191 archive_expsym_cmds_F77 \
15192 postinstall_cmds_F77 \
15193 postuninstall_cmds_F77 \
15194 old_archive_from_expsyms_cmds_F77 \
15195 allow_undefined_flag_F77 \
15196 no_undefined_flag_F77 \
15197 export_symbols_cmds_F77 \
15198 hardcode_libdir_flag_spec_F77 \
15199 hardcode_libdir_flag_spec_ld_F77 \
15200 hardcode_libdir_separator_F77 \
15201 hardcode_automatic_F77 \
15203 module_expsym_cmds_F77 \
15204 lt_cv_prog_compiler_c_o_F77 \
15205 exclude_expsyms_F77 \
15206 include_expsyms_F77
; do
15209 old_archive_cmds_F77 | \
15210 old_archive_from_new_cmds_F77 | \
15211 archive_cmds_F77 | \
15212 archive_expsym_cmds_F77 | \
15213 module_cmds_F77 | \
15214 module_expsym_cmds_F77 | \
15215 old_archive_from_expsyms_cmds_F77 | \
15216 export_symbols_cmds_F77 | \
15217 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15218 postinstall_cmds | postuninstall_cmds | \
15219 old_postinstall_cmds | old_postuninstall_cmds | \
15220 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15221 # Double-quote double-evaled strings.
15222 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15225 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15231 *'\$0 --fallback-echo"')
15232 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15238 cat <<__EOF__ >> "$cfgfile"
15239 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15241 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15243 # Shell to use when invoking shell scripts.
15246 # Whether or not to build shared libraries.
15247 build_libtool_libs=$enable_shared
15249 # Whether or not to build static libraries.
15250 build_old_libs=$enable_static
15252 # Whether or not to add -lc for building shared libraries.
15253 build_libtool_need_lc=$archive_cmds_need_lc_F77
15255 # Whether or not to disallow shared libs when runtime libs are static
15256 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15258 # Whether or not to optimize for fast installation.
15259 fast_install=$enable_fast_install
15262 host_alias=$host_alias
15266 # The build system.
15267 build_alias=$build_alias
15271 # An echo program that does not interpret backslashes.
15276 AR_FLAGS=$lt_AR_FLAGS
15281 # LTCC compiler flags.
15282 LTCFLAGS=$lt_LTCFLAGS
15284 # A language-specific compiler.
15285 CC=$lt_compiler_F77
15287 # Is the compiler the GNU C compiler?
15290 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15291 gcc_ver=\`gcc -dumpversion\`
15296 # The linker used to build libraries.
15299 # Whether we need hard or soft links.
15302 # A BSD-compatible nm program.
15305 # A symbol stripping program
15308 # Used to examine libraries when file_magic_cmd begins "file"
15309 MAGIC_CMD=$MAGIC_CMD
15311 # Used on cygwin: DLL creation program.
15314 # Used on cygwin: object dumper.
15317 # Used on cygwin: assembler.
15320 # The name of the directory that contains temporary libtool files.
15323 # How to create reloadable object files.
15324 reload_flag=$lt_reload_flag
15325 reload_cmds=$lt_reload_cmds
15327 # How to pass a linker flag through the compiler.
15328 wl=$lt_lt_prog_compiler_wl_F77
15330 # Object file suffix (normally "o").
15331 objext="$ac_objext"
15333 # Old archive suffix (normally "a").
15336 # Shared library suffix (normally ".so").
15337 shrext_cmds='$shrext_cmds'
15339 # Executable file suffix (normally "").
15342 # Additional compiler flags for building library objects.
15343 pic_flag=$lt_lt_prog_compiler_pic_F77
15346 # What is the maximum length of a command?
15347 max_cmd_len=$lt_cv_sys_max_cmd_len
15349 # Does compiler simultaneously support -c and -o options?
15350 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15352 # Must we lock files when doing compilation?
15353 need_locks=$lt_need_locks
15355 # Do we need the lib prefix for modules?
15356 need_lib_prefix=$need_lib_prefix
15358 # Do we need a version for libraries?
15359 need_version=$need_version
15361 # Whether dlopen is supported.
15362 dlopen_support=$enable_dlopen
15364 # Whether dlopen of programs is supported.
15365 dlopen_self=$enable_dlopen_self
15367 # Whether dlopen of statically linked programs is supported.
15368 dlopen_self_static=$enable_dlopen_self_static
15370 # Compiler flag to prevent dynamic linking.
15371 link_static_flag=$lt_lt_prog_compiler_static_F77
15373 # Compiler flag to turn off builtin functions.
15374 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15376 # Compiler flag to allow reflexive dlopens.
15377 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15379 # Compiler flag to generate shared objects directly from archives.
15380 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15382 # Compiler flag to generate thread-safe objects.
15383 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15385 # Library versioning type.
15386 version_type=$version_type
15388 # Format of library name prefix.
15389 libname_spec=$lt_libname_spec
15391 # List of archive names. First name is the real one, the rest are links.
15392 # The last name is the one that the linker finds with -lNAME.
15393 library_names_spec=$lt_library_names_spec
15395 # The coded name of the library, if different from the real name.
15396 soname_spec=$lt_soname_spec
15398 # Commands used to build and install an old-style archive.
15400 old_archive_cmds=$lt_old_archive_cmds_F77
15401 old_postinstall_cmds=$lt_old_postinstall_cmds
15402 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15404 # Create an old-style archive from a shared archive.
15405 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15407 # Create a temporary old-style archive to link instead of a shared archive.
15408 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15410 # Commands used to build and install a shared archive.
15411 archive_cmds=$lt_archive_cmds_F77
15412 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15413 postinstall_cmds=$lt_postinstall_cmds
15414 postuninstall_cmds=$lt_postuninstall_cmds
15416 # Commands used to build a loadable module (assumed same as above if empty)
15417 module_cmds=$lt_module_cmds_F77
15418 module_expsym_cmds=$lt_module_expsym_cmds_F77
15420 # Commands to strip libraries.
15421 old_striplib=$lt_old_striplib
15422 striplib=$lt_striplib
15424 # Dependencies to place before the objects being linked to create a
15426 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15428 # Dependencies to place after the objects being linked to create a
15430 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15432 # Dependencies to place before the objects being linked to create a
15434 predeps=$lt_predeps_F77
15436 # Dependencies to place after the objects being linked to create a
15438 postdeps=$lt_postdeps_F77
15440 # The library search path used internally by the compiler when linking
15441 # a shared library.
15442 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"\`
15444 # Method to check whether dependent libraries are shared objects.
15445 deplibs_check_method=$lt_deplibs_check_method
15447 # Command to use when deplibs_check_method == file_magic.
15448 file_magic_cmd=$lt_file_magic_cmd
15450 # Flag that allows shared libraries with undefined symbols to be built.
15451 allow_undefined_flag=$lt_allow_undefined_flag_F77
15453 # Flag that forces no undefined symbols.
15454 no_undefined_flag=$lt_no_undefined_flag_F77
15456 # Commands used to finish a libtool library installation in a directory.
15457 finish_cmds=$lt_finish_cmds
15459 # Same as above, but a single script fragment to be evaled but not shown.
15460 finish_eval=$lt_finish_eval
15462 # Take the output of nm and produce a listing of raw symbols and C names.
15463 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15465 # Transform the output of nm in a proper C declaration
15466 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15468 # Transform the output of nm in a C name address pair
15469 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15471 # This is the shared library runtime path variable.
15472 runpath_var=$runpath_var
15474 # This is the shared library path variable.
15475 shlibpath_var=$shlibpath_var
15477 # Is shlibpath searched before the hard-coded library search path?
15478 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15480 # How to hardcode a shared library path into an executable.
15481 hardcode_action=$hardcode_action_F77
15483 # Whether we should hardcode library paths into libraries.
15484 hardcode_into_libs=$hardcode_into_libs
15486 # Flag to hardcode \$libdir into a binary during linking.
15487 # This must work even if \$libdir does not exist.
15488 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15490 # If ld is used when linking, flag to hardcode \$libdir into
15491 # a binary during linking. This must work even if \$libdir does
15493 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15495 # Whether we need a single -rpath flag with a separated argument.
15496 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15498 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15499 # resulting binary.
15500 hardcode_direct=$hardcode_direct_F77
15502 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15503 # resulting binary.
15504 hardcode_minus_L=$hardcode_minus_L_F77
15506 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15507 # the resulting binary.
15508 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15510 # Set to yes if building a shared library automatically hardcodes DIR into the library
15511 # and all subsequent libraries and executables linked against it.
15512 hardcode_automatic=$hardcode_automatic_F77
15514 # Variables whose values should be saved in libtool wrapper scripts and
15515 # restored at relink time.
15516 variables_saved_for_relink="$variables_saved_for_relink"
15518 # Whether libtool must link a program against all its dependency libraries.
15519 link_all_deplibs=$link_all_deplibs_F77
15521 # Compile-time system search path for libraries
15522 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"\`
15524 # Run-time system search path for libraries
15525 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15527 # Fix the shell variable \$srcfile for the compiler.
15528 fix_srcfile_path="$fix_srcfile_path_F77"
15530 # Set to yes if exported symbols are required.
15531 always_export_symbols=$always_export_symbols_F77
15533 # The commands to list exported symbols.
15534 export_symbols_cmds=$lt_export_symbols_cmds_F77
15536 # The commands to extract the exported symbol list from a shared archive.
15537 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15539 # Symbols that should not be listed in the preloaded symbols.
15540 exclude_expsyms=$lt_exclude_expsyms_F77
15542 # Symbols that must always be exported.
15543 include_expsyms=$lt_include_expsyms_F77
15545 # ### END LIBTOOL TAG CONFIG: $tagname
15551 # If there is no Makefile yet, we rely on a make rule to execute
15552 # `config.status --recheck' to rerun these tests and create the
15553 # libtool script then.
15554 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15555 if test -f "$ltmain_in"; then
15556 test -f Makefile
&& make "$ltmain"
15562 ac_cpp
='$CPP $CPPFLAGS'
15563 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15564 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15565 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15575 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15579 # Source file extension for Java test sources.
15582 # Object file extension for compiled Java test sources.
15586 # Code to be used in simple compile tests
15587 lt_simple_compile_test_code
="class foo {}\n"
15589 # Code to be used in simple link tests
15590 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15592 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15594 # If no C compiler was specified, use CC.
15597 # If no C compiler flags were specified, use CFLAGS.
15598 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15600 # Allow CC to be a program name with arguments.
15604 # save warnings/boilerplate of simple test code
15605 ac_outfile
=conftest.
$ac_objext
15606 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15607 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15608 _lt_compiler_boilerplate
=`cat conftest.err`
15611 ac_outfile
=conftest.
$ac_objext
15612 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15613 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15614 _lt_linker_boilerplate
=`cat conftest.err`
15618 # Allow CC to be a program name with arguments.
15623 for cc_temp
in $compiler""; do
15625 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15626 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15631 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15634 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15635 archive_cmds_need_lc_GCJ
=no
15637 old_archive_cmds_GCJ
=$old_archive_cmds
15640 lt_prog_compiler_no_builtin_flag_GCJ
=
15642 if test "$GCC" = yes; then
15643 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15646 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15647 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15648 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 lt_cv_prog_compiler_rtti_exceptions
=no
15652 ac_outfile
=conftest.
$ac_objext
15653 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15654 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15655 # Insert the option either (1) after the last *FLAGS variable, or
15656 # (2) before a word containing "conftest.", or (3) at the end.
15657 # Note that $ac_compile itself does not contain backslashes and begins
15658 # with a dollar sign (not a hyphen), so the echo should work correctly.
15659 # The option is referenced via a variable to avoid confusing sed.
15660 lt_compile
=`echo "$ac_compile" | $SED \
15661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15663 -e 's:$: $lt_compiler_flag:'`
15664 (eval echo "\"\$as_me:15664: $lt_compile\"" >&5)
15665 (eval "$lt_compile" 2>conftest.err
)
15667 cat conftest.err
>&5
15668 echo "$as_me:15668: \$? = $ac_status" >&5
15669 if (exit $ac_status) && test -s "$ac_outfile"; then
15670 # The compiler can only warn and ignore the option if not recognized
15671 # So say no if there are warnings other than the usual output.
15672 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15673 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15674 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15675 lt_cv_prog_compiler_rtti_exceptions
=yes
15681 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15682 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15684 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15685 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15692 lt_prog_compiler_wl_GCJ
=
15693 lt_prog_compiler_pic_GCJ
=
15694 lt_prog_compiler_static_GCJ
=
15696 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15697 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15699 if test "$GCC" = yes; then
15700 lt_prog_compiler_wl_GCJ
='-Wl,'
15701 lt_prog_compiler_static_GCJ
='-static'
15705 # All AIX code is PIC.
15706 if test "$host_cpu" = ia64
; then
15707 # AIX 5 now supports IA64 processor
15708 lt_prog_compiler_static_GCJ
='-Bstatic'
15713 # FIXME: we need at least 68020 code to build shared libraries, but
15714 # adding the `-m68020' flag to GCC prevents building anything better,
15716 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15719 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15720 # PIC is the default for these OSes.
15723 mingw
* | pw32
* | os2
*)
15724 # This hack is so that the source file can tell whether it is being
15725 # built for inclusion in a dll (and should export symbols for example).
15726 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15729 darwin
* | rhapsody
*)
15730 # PIC is the default on this platform
15731 # Common symbols not allowed in MH_DYLIB files
15732 lt_prog_compiler_pic_GCJ
='-fno-common'
15736 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15737 # Instead, we relocate shared libraries at runtime.
15741 # Just because we use GCC doesn't mean we suddenly get shared libraries
15742 # on systems that don't support them.
15743 lt_prog_compiler_can_build_shared_GCJ
=no
15748 if test -d /usr
/nec
; then
15749 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15754 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15755 # not for PA HP-UX.
15761 lt_prog_compiler_pic_GCJ
='-fPIC'
15767 lt_prog_compiler_pic_GCJ
='-fPIC'
15771 # PORTME Check for flag to pass linker flags through the system compiler.
15774 lt_prog_compiler_wl_GCJ
='-Wl,'
15775 if test "$host_cpu" = ia64
; then
15776 # AIX 5 now supports IA64 processor
15777 lt_prog_compiler_static_GCJ
='-Bstatic'
15779 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15783 # PIC is the default on this platform
15784 # Common symbols not allowed in MH_DYLIB files
15785 case $cc_basename in
15787 lt_prog_compiler_pic_GCJ
='-qnocommon'
15788 lt_prog_compiler_wl_GCJ
='-Wl,'
15793 mingw
* | pw32
* | os2
*)
15794 # This hack is so that the source file can tell whether it is being
15795 # built for inclusion in a dll (and should export symbols for example).
15796 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15799 hpux9
* | hpux10
* | hpux11
*)
15800 lt_prog_compiler_wl_GCJ
='-Wl,'
15801 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15802 # not for PA HP-UX.
15808 lt_prog_compiler_pic_GCJ
='+Z'
15811 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15812 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15815 irix5
* | irix6
* | nonstopux
*)
15816 lt_prog_compiler_wl_GCJ
='-Wl,'
15817 # PIC (with -KPIC) is the default.
15818 lt_prog_compiler_static_GCJ
='-non_shared'
15822 lt_prog_compiler_pic_GCJ
='-KPIC'
15823 lt_prog_compiler_static_GCJ
='-Bstatic'
15827 case $cc_basename in
15829 lt_prog_compiler_wl_GCJ
='-Wl,'
15830 lt_prog_compiler_pic_GCJ
='-KPIC'
15831 lt_prog_compiler_static_GCJ
='-static'
15833 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15834 # Portland Group compilers (*not* the Pentium gcc compiler,
15835 # which looks to be a dead project)
15836 lt_prog_compiler_wl_GCJ
='-Wl,'
15837 lt_prog_compiler_pic_GCJ
='-fpic'
15838 lt_prog_compiler_static_GCJ
='-Bstatic'
15841 lt_prog_compiler_wl_GCJ
='-Wl,'
15842 # All Alpha code is PIC.
15843 lt_prog_compiler_static_GCJ
='-non_shared'
15848 osf3
* | osf4
* | osf5
*)
15849 lt_prog_compiler_wl_GCJ
='-Wl,'
15850 # All OSF/1 code is PIC.
15851 lt_prog_compiler_static_GCJ
='-non_shared'
15855 lt_prog_compiler_pic_GCJ
='-KPIC'
15856 lt_prog_compiler_static_GCJ
='-Bstatic'
15857 case $cc_basename in
15858 f77
* | f90
* | f95
*)
15859 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15861 lt_prog_compiler_wl_GCJ
='-Wl,';;
15866 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15867 lt_prog_compiler_pic_GCJ
='-PIC'
15868 lt_prog_compiler_static_GCJ
='-Bstatic'
15871 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15872 lt_prog_compiler_wl_GCJ
='-Wl,'
15873 lt_prog_compiler_pic_GCJ
='-KPIC'
15874 lt_prog_compiler_static_GCJ
='-Bstatic'
15878 if test -d /usr
/nec
;then
15879 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15880 lt_prog_compiler_static_GCJ
='-Bstatic'
15884 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15885 lt_prog_compiler_wl_GCJ
='-Wl,'
15886 lt_prog_compiler_pic_GCJ
='-KPIC'
15887 lt_prog_compiler_static_GCJ
='-Bstatic'
15891 lt_prog_compiler_wl_GCJ
='-Wl,'
15892 lt_prog_compiler_can_build_shared_GCJ
=no
15896 lt_prog_compiler_pic_GCJ
='-pic'
15897 lt_prog_compiler_static_GCJ
='-Bstatic'
15901 lt_prog_compiler_can_build_shared_GCJ
=no
15906 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15907 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15910 # Check to make sure the PIC flag actually works.
15912 if test -n "$lt_prog_compiler_pic_GCJ"; then
15914 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15915 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15916 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15917 echo $ECHO_N "(cached) $ECHO_C" >&6
15919 lt_prog_compiler_pic_works_GCJ
=no
15920 ac_outfile
=conftest.
$ac_objext
15921 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15922 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15923 # Insert the option either (1) after the last *FLAGS variable, or
15924 # (2) before a word containing "conftest.", or (3) at the end.
15925 # Note that $ac_compile itself does not contain backslashes and begins
15926 # with a dollar sign (not a hyphen), so the echo should work correctly.
15927 # The option is referenced via a variable to avoid confusing sed.
15928 lt_compile
=`echo "$ac_compile" | $SED \
15929 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15930 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15931 -e 's:$: $lt_compiler_flag:'`
15932 (eval echo "\"\$as_me:15932: $lt_compile\"" >&5)
15933 (eval "$lt_compile" 2>conftest.err
)
15935 cat conftest.err
>&5
15936 echo "$as_me:15936: \$? = $ac_status" >&5
15937 if (exit $ac_status) && test -s "$ac_outfile"; then
15938 # The compiler can only warn and ignore the option if not recognized
15939 # So say no if there are warnings other than the usual output.
15940 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15941 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15942 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15943 lt_prog_compiler_pic_works_GCJ
=yes
15949 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15950 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15952 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15953 case $lt_prog_compiler_pic_GCJ in
15955 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15958 lt_prog_compiler_pic_GCJ
=
15959 lt_prog_compiler_can_build_shared_GCJ
=no
15964 # For platforms which do not support PIC, -DPIC is meaningless:
15966 lt_prog_compiler_pic_GCJ
=
15969 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15974 # Check to make sure the static flag actually works.
15976 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
15977 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15978 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15979 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15980 echo $ECHO_N "(cached) $ECHO_C" >&6
15982 lt_prog_compiler_static_works_GCJ
=no
15983 save_LDFLAGS
="$LDFLAGS"
15984 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15985 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15986 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15987 # The linker can only warn and ignore the option if not recognized
15988 # So say no if there are warnings
15989 if test -s conftest.err
; then
15990 # Append any errors to the config.log.
15991 cat conftest.err
1>&5
15992 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15993 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15994 if diff conftest.exp conftest.er2
>/dev
/null
; then
15995 lt_prog_compiler_static_works_GCJ
=yes
15998 lt_prog_compiler_static_works_GCJ
=yes
16002 LDFLAGS
="$save_LDFLAGS"
16005 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16006 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16008 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16011 lt_prog_compiler_static_GCJ
=
16015 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16016 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16017 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16018 echo $ECHO_N "(cached) $ECHO_C" >&6
16020 lt_cv_prog_compiler_c_o_GCJ
=no
16021 $rm -r conftest
2>/dev
/null
16025 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16027 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16028 # Insert the option either (1) after the last *FLAGS variable, or
16029 # (2) before a word containing "conftest.", or (3) at the end.
16030 # Note that $ac_compile itself does not contain backslashes and begins
16031 # with a dollar sign (not a hyphen), so the echo should work correctly.
16032 lt_compile
=`echo "$ac_compile" | $SED \
16033 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16035 -e 's:$: $lt_compiler_flag:'`
16036 (eval echo "\"\$as_me:16036: $lt_compile\"" >&5)
16037 (eval "$lt_compile" 2>out
/conftest.err
)
16039 cat out
/conftest.err
>&5
16040 echo "$as_me:16040: \$? = $ac_status" >&5
16041 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16043 # The compiler can only warn and ignore the option if not recognized
16044 # So say no if there are warnings
16045 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16046 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16047 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16048 lt_cv_prog_compiler_c_o_GCJ
=yes
16053 # SGI C++ compiler will create directory out/ii_files/ for
16054 # template instantiation
16055 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16056 $rm out
/* && rmdir out
16062 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16063 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16066 hard_links
="nottested"
16067 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16068 # do not overwrite the value of need_locks provided by the user
16069 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16070 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16073 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16075 ln conftest.a conftest.b
2>&5 || hard_links
=no
16076 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16077 echo "$as_me:$LINENO: result: $hard_links" >&5
16078 echo "${ECHO_T}$hard_links" >&6
16079 if test "$hard_links" = no
; then
16080 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16081 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16088 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16089 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16092 allow_undefined_flag_GCJ
=
16093 enable_shared_with_static_runtimes_GCJ
=no
16095 archive_expsym_cmds_GCJ
=
16096 old_archive_From_new_cmds_GCJ
=
16097 old_archive_from_expsyms_cmds_GCJ
=
16098 export_dynamic_flag_spec_GCJ
=
16099 whole_archive_flag_spec_GCJ
=
16100 thread_safe_flag_spec_GCJ
=
16101 hardcode_libdir_flag_spec_GCJ
=
16102 hardcode_libdir_flag_spec_ld_GCJ
=
16103 hardcode_libdir_separator_GCJ
=
16104 hardcode_direct_GCJ
=no
16105 hardcode_minus_L_GCJ
=no
16106 hardcode_shlibpath_var_GCJ
=unsupported
16107 link_all_deplibs_GCJ
=unknown
16108 hardcode_automatic_GCJ
=no
16110 module_expsym_cmds_GCJ
=
16111 always_export_symbols_GCJ
=no
16112 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16113 # include_expsyms should be a list of space-separated symbols to be *always*
16114 # included in the symbol list
16115 include_expsyms_GCJ
=
16116 # exclude_expsyms can be an extended regexp of symbols to exclude
16117 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16118 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16119 # as well as any symbol that contains `d'.
16120 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16121 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16122 # platforms (ab)use it in PIC code, but their linkers get confused if
16123 # the symbol is explicitly referenced. Since portable code cannot
16124 # rely on this symbol name, it's probably fine to never include it in
16125 # preloaded symbol tables.
16126 extract_expsyms_cmds
=
16127 # Just being paranoid about ensuring that cc_basename is set.
16128 for cc_temp
in $compiler""; do
16130 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16131 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16136 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16139 cygwin
* | mingw
* | pw32
*)
16140 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16141 # When not using gcc, we currently assume that we are using
16142 # Microsoft Visual C++.
16143 if test "$GCC" != yes; then
16148 # we just hope/assume this is gcc and not c89 (= MSVC++)
16157 if test "$with_gnu_ld" = yes; then
16158 # If archive_cmds runs LD, not CC, wlarc should be empty
16161 # Set some defaults for GNU ld with shared library support. These
16162 # are reset later if shared libraries are not supported. Putting them
16163 # here allows them to be overridden if necessary.
16164 runpath_var
=LD_RUN_PATH
16165 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16166 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16167 # ancient GNU ld didn't support --whole-archive et. al.
16168 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16169 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16171 whole_archive_flag_spec_GCJ
=
16173 supports_anon_versioning
=no
16174 case `$LD -v 2>/dev/null` in
16175 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16176 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16177 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16178 *\
2.11.
*) ;; # other 2.11 versions
16179 *) supports_anon_versioning
=yes ;;
16182 # See if GNU ld supports shared libraries.
16184 aix3
* | aix4
* | aix5
*)
16185 # On AIX/PPC, the GNU linker is very broken
16186 if test "$host_cpu" != ia64
; then
16190 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16191 *** to be unable to reliably create shared libraries on AIX.
16192 *** Therefore, libtool is disabling shared libraries support. If you
16193 *** really care for shared libraries, you may want to modify your PATH
16194 *** so that a non-GNU linker is found, and then restart.
16201 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)'
16202 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16203 hardcode_minus_L_GCJ
=yes
16205 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16206 # that the semantics of dynamic libraries on AmigaOS, at least up
16207 # to version 4, is to share data among multiple programs linked
16208 # with the same dynamic library. Since this doesn't match the
16209 # behavior of shared libraries on other platforms, we can't use
16215 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16216 allow_undefined_flag_GCJ
=unsupported
16217 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16218 # support --undefined. This deserves some investigation. FIXME
16219 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16225 cygwin
* | mingw
* | pw32
*)
16226 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16227 # as there is no search path for DLLs.
16228 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16229 allow_undefined_flag_GCJ
=unsupported
16230 always_export_symbols_GCJ
=no
16231 enable_shared_with_static_runtimes_GCJ
=yes
16232 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16234 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16235 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16236 # If the export-symbols file already is a .def file (1st line
16237 # is EXPORTS), use it as is; otherwise, prepend...
16238 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16239 cp $export_symbols $output_objdir/$soname.def;
16241 echo EXPORTS > $output_objdir/$soname.def;
16242 cat $export_symbols >> $output_objdir/$soname.def;
16244 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16251 hardcode_direct_GCJ
=no
16252 hardcode_shlibpath_var_GCJ
=no
16253 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16254 export_dynamic_flag_spec_GCJ
='${wl}-E'
16255 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16256 # Instead, shared libraries are loaded at an image base (0x10000000 by
16257 # default) and relocated if they conflict, which is a slow very memory
16258 # consuming and fragmenting process. To avoid this, we pick a random,
16259 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16260 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16261 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'
16262 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'
16266 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16268 case $cc_basename,$host_cpu in
16269 pgcc
*) # Portland Group C compiler
16270 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'
16271 tmp_addflag
=' $pic_flag'
16273 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16274 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'
16275 tmp_addflag
=' $pic_flag -Mnomain' ;;
16276 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16277 tmp_addflag
=' -i_dynamic' ;;
16278 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16279 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16280 ifc
* | ifort
*) # Intel Fortran compiler
16281 tmp_addflag
=' -nofor_main' ;;
16283 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16285 if test $supports_anon_versioning = yes; then
16286 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16287 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16288 $echo "local: *; };" >> $output_objdir/$libname.ver~
16289 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16297 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16298 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16301 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16302 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16307 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16311 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16312 *** create shared libraries on Solaris systems. Therefore, libtool
16313 *** is disabling shared libraries support. We urge you to upgrade GNU
16314 *** binutils to release 2.9.1 or newer. Another option is to modify
16315 *** your PATH or compiler configuration so that the native linker is
16316 *** used, and then restart.
16319 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16320 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16321 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16327 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16328 case `$LD -v 2>&1` in
16329 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16333 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16334 *** reliably create shared libraries on SCO systems. Therefore, libtool
16335 *** is disabling shared libraries support. We urge you to upgrade GNU
16336 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16337 *** your PATH or compiler configuration so that the native linker is
16338 *** used, and then restart.
16343 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16344 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16345 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16346 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16355 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16357 hardcode_direct_GCJ
=yes
16358 hardcode_shlibpath_var_GCJ
=no
16362 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16363 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16364 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16371 if test "$ld_shlibs_GCJ" = no
; then
16373 hardcode_libdir_flag_spec_GCJ
=
16374 export_dynamic_flag_spec_GCJ
=
16375 whole_archive_flag_spec_GCJ
=
16378 # PORTME fill in a description of your system's linker (not GNU ld)
16381 allow_undefined_flag_GCJ
=unsupported
16382 always_export_symbols_GCJ
=yes
16383 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'
16384 # Note: this linker hardcodes the directories in LIBPATH if there
16385 # are no directories specified by -L.
16386 hardcode_minus_L_GCJ
=yes
16387 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16388 # Neither direct hardcoding nor static linking is supported with a
16390 hardcode_direct_GCJ
=unsupported
16395 if test "$host_cpu" = ia64
; then
16396 # On IA64, the linker does run time linking by default, so we don't
16397 # have to do anything special.
16398 aix_use_runtimelinking
=no
16399 exp_sym_flag
='-Bexport'
16402 # If we're using GNU nm, then we don't want the "-C" option.
16403 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16404 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16405 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'
16407 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'
16409 aix_use_runtimelinking
=no
16411 # Test if we are trying to use run time linking or normal
16412 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16413 # need to do runtime linking.
16414 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16415 for ld_flag
in $LDFLAGS; do
16416 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16417 aix_use_runtimelinking
=yes
16424 exp_sym_flag
='-bexport'
16425 no_entry_flag
='-bnoentry'
16428 # When large executables or shared objects are built, AIX ld can
16429 # have problems creating the table of contents. If linking a library
16430 # or program results in "error TOC overflow" add -mminimal-toc to
16431 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16432 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16434 archive_cmds_GCJ
=''
16435 hardcode_direct_GCJ
=yes
16436 hardcode_libdir_separator_GCJ
=':'
16437 link_all_deplibs_GCJ
=yes
16439 if test "$GCC" = yes; then
16440 case $host_os in aix4.
[012]|aix4.
[012].
*)
16441 # We only want to do this on AIX 4.2 and lower, the check
16442 # below for broken collect2 doesn't work under 4.3+
16443 collect2name
=`${CC} -print-prog-name=collect2`
16444 if test -f "$collect2name" && \
16445 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16447 # We have reworked collect2
16448 hardcode_direct_GCJ
=yes
16450 # We have old collect2
16451 hardcode_direct_GCJ
=unsupported
16452 # It fails to find uninstalled libraries when the uninstalled
16453 # path is not listed in the libpath. Setting hardcode_minus_L
16454 # to unsupported forces relinking
16455 hardcode_minus_L_GCJ
=yes
16456 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16457 hardcode_libdir_separator_GCJ
=
16461 shared_flag
='-shared'
16462 if test "$aix_use_runtimelinking" = yes; then
16463 shared_flag
="$shared_flag "'${wl}-G'
16467 if test "$host_cpu" = ia64
; then
16468 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16469 # chokes on -Wl,-G. The following line is correct:
16472 if test "$aix_use_runtimelinking" = yes; then
16473 shared_flag
='${wl}-G'
16475 shared_flag
='${wl}-bM:SRE'
16480 # It seems that -bexpall does not export symbols beginning with
16481 # underscore (_), so it is better to generate a list of symbols to export.
16482 always_export_symbols_GCJ
=yes
16483 if test "$aix_use_runtimelinking" = yes; then
16484 # Warning - without using the other runtime loading flags (-brtl),
16485 # -berok will link without error, but may produce a broken library.
16486 allow_undefined_flag_GCJ
='-berok'
16487 # Determine the default libpath from the value encoded in an empty executable.
16488 cat >conftest.
$ac_ext <<_ACEOF
16491 cat confdefs.h
>>conftest.
$ac_ext
16492 cat >>conftest.
$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16503 rm -f conftest.
$ac_objext conftest
$ac_exeext
16504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16505 (eval $ac_link) 2>conftest.er1
16507 grep -v '^ *+' conftest.er1
>conftest.err
16509 cat conftest.err
>&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); } &&
16512 { ac_try
='test -z "$ac_c_werror_flag"
16513 || test ! -s conftest.err'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; } &&
16519 { ac_try
='test -s conftest$ac_exeext'
16520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16521 (eval $ac_try) 2>&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); }; }; then
16526 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16528 # Check for a 64-bit object if we didn't find anything.
16529 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; }
16532 echo "$as_me: failed program was:" >&5
16533 sed 's/^/| /' conftest.
$ac_ext >&5
16536 rm -f conftest.err conftest.
$ac_objext \
16537 conftest
$ac_exeext conftest.
$ac_ext
16538 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16540 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16541 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"
16543 if test "$host_cpu" = ia64
; then
16544 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16545 allow_undefined_flag_GCJ
="-z nodefs"
16546 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"
16548 # Determine the default libpath from the value encoded in an empty executable.
16549 cat >conftest.
$ac_ext <<_ACEOF
16552 cat confdefs.h
>>conftest.
$ac_ext
16553 cat >>conftest.
$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16564 rm -f conftest.
$ac_objext conftest
$ac_exeext
16565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16566 (eval $ac_link) 2>conftest.er1
16568 grep -v '^ *+' conftest.er1
>conftest.err
16570 cat conftest.err
>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); } &&
16573 { ac_try
='test -z "$ac_c_werror_flag"
16574 || test ! -s conftest.err'
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 (eval $ac_try) 2>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; } &&
16580 { ac_try
='test -s conftest$ac_exeext'
16581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16582 (eval $ac_try) 2>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); }; }; then
16587 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16589 # Check for a 64-bit object if we didn't find anything.
16590 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; }
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.
$ac_ext >&5
16597 rm -f conftest.err conftest.
$ac_objext \
16598 conftest
$ac_exeext conftest.
$ac_ext
16599 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16601 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16602 # Warning - without using the other run time loading flags,
16603 # -berok will link without error, but may produce a broken library.
16604 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16605 allow_undefined_flag_GCJ
=' ${wl}-berok'
16606 # Exported symbols can be pulled into shared objects from archives
16607 whole_archive_flag_spec_GCJ
='$convenience'
16608 archive_cmds_need_lc_GCJ
=yes
16609 # This is similar to how AIX traditionally builds its shared libraries.
16610 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'
16616 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)'
16617 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16618 hardcode_minus_L_GCJ
=yes
16619 # see comment about different semantics on the GNU ld section
16624 export_dynamic_flag_spec_GCJ
=-rdynamic
16627 cygwin
* | mingw
* | pw32
*)
16628 # When not using gcc, we currently assume that we are using
16629 # Microsoft Visual C++.
16630 # hardcode_libdir_flag_spec is actually meaningless, as there is
16631 # no search path for DLLs.
16632 hardcode_libdir_flag_spec_GCJ
=' '
16633 allow_undefined_flag_GCJ
=unsupported
16634 # Tell ltmain to make .lib files, not .a files.
16636 # Tell ltmain to make .dll files, not .so files.
16638 # FIXME: Setting linknames here is a bad hack.
16639 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16640 # The linker will automatically build a .lib file if we build a DLL.
16641 old_archive_From_new_cmds_GCJ
='true'
16642 # FIXME: Should let the user specify the lib program.
16643 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16644 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16645 enable_shared_with_static_runtimes_GCJ
=yes
16648 darwin
* | rhapsody
*)
16650 rhapsody
* | darwin1.
[012])
16651 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16654 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16655 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16657 case ${MACOSX_DEPLOYMENT_TARGET} in
16659 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16662 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16668 archive_cmds_need_lc_GCJ
=no
16669 hardcode_direct_GCJ
=no
16670 hardcode_automatic_GCJ
=yes
16671 hardcode_shlibpath_var_GCJ
=unsupported
16672 whole_archive_flag_spec_GCJ
=''
16673 link_all_deplibs_GCJ
=yes
16674 if test "$GCC" = yes ; then
16675 output_verbose_link_cmd
='echo'
16676 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16677 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16678 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16679 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}'
16680 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}'
16682 case $cc_basename in
16684 output_verbose_link_cmd
='echo'
16685 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16686 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16687 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16688 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}'
16689 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}'
16699 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16700 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16701 hardcode_shlibpath_var_GCJ
=no
16708 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16709 # support. Future versions do this automatically, but an explicit c++rt0.o
16710 # does not break anything, and helps significantly (at the cost of a little
16713 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16714 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16715 hardcode_direct_GCJ
=yes
16716 hardcode_shlibpath_var_GCJ
=no
16719 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16721 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16722 hardcode_direct_GCJ
=yes
16723 hardcode_minus_L_GCJ
=yes
16724 hardcode_shlibpath_var_GCJ
=no
16727 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16728 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16729 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16730 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16731 hardcode_direct_GCJ
=yes
16732 hardcode_shlibpath_var_GCJ
=no
16736 if test "$GCC" = yes; then
16737 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'
16739 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'
16741 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16742 hardcode_libdir_separator_GCJ
=:
16743 hardcode_direct_GCJ
=yes
16745 # hardcode_minus_L: Not really in the search PATH,
16746 # but as the default location of the library.
16747 hardcode_minus_L_GCJ
=yes
16748 export_dynamic_flag_spec_GCJ
='${wl}-E'
16752 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16753 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16755 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16757 if test "$with_gnu_ld" = no
; then
16758 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16759 hardcode_libdir_separator_GCJ
=:
16761 hardcode_direct_GCJ
=yes
16762 export_dynamic_flag_spec_GCJ
='${wl}-E'
16764 # hardcode_minus_L: Not really in the search PATH,
16765 # but as the default location of the library.
16766 hardcode_minus_L_GCJ
=yes
16771 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16774 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16777 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16780 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16786 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16789 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16792 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16796 if test "$with_gnu_ld" = no
; then
16797 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16798 hardcode_libdir_separator_GCJ
=:
16802 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16803 hardcode_direct_GCJ
=no
16804 hardcode_shlibpath_var_GCJ
=no
16807 hardcode_direct_GCJ
=yes
16808 export_dynamic_flag_spec_GCJ
='${wl}-E'
16810 # hardcode_minus_L: Not really in the search PATH,
16811 # but as the default location of the library.
16812 hardcode_minus_L_GCJ
=yes
16818 irix5
* | irix6
* | nonstopux
*)
16819 if test "$GCC" = yes; then
16820 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'
16822 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'
16823 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16825 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16826 hardcode_libdir_separator_GCJ
=:
16827 link_all_deplibs_GCJ
=yes
16831 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16832 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16834 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16836 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16837 hardcode_direct_GCJ
=yes
16838 hardcode_shlibpath_var_GCJ
=no
16842 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16843 hardcode_direct_GCJ
=yes
16844 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16845 hardcode_libdir_separator_GCJ
=:
16846 hardcode_shlibpath_var_GCJ
=no
16850 hardcode_direct_GCJ
=yes
16851 hardcode_shlibpath_var_GCJ
=no
16852 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16853 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16854 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16855 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16856 export_dynamic_flag_spec_GCJ
='${wl}-E'
16859 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16860 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16861 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16864 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16865 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16872 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16873 hardcode_minus_L_GCJ
=yes
16874 allow_undefined_flag_GCJ
=unsupported
16875 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'
16876 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16880 if test "$GCC" = yes; then
16881 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16882 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'
16884 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16885 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'
16887 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16888 hardcode_libdir_separator_GCJ
=:
16891 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16892 if test "$GCC" = yes; then
16893 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16894 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'
16895 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16897 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16898 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'
16899 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~
16900 $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'
16902 # Both c and cxx compiler support -rpath directly
16903 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16905 hardcode_libdir_separator_GCJ
=:
16909 no_undefined_flag_GCJ
=' -z text'
16910 if test "$GCC" = yes; then
16912 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16913 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16914 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16917 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16918 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16919 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16921 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16922 hardcode_shlibpath_var_GCJ
=no
16924 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16926 # The compiler driver will combine linker options so we
16927 # cannot just pass the convience library names through
16928 # without $wl, iff we do not link with $LD.
16929 # Luckily, gcc supports the same syntax we need for Sun Studio.
16930 # Supported since Solaris 2.6 (maybe 2.5.1?)
16933 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16935 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' ;;
16938 link_all_deplibs_GCJ
=yes
16942 if test "x$host_vendor" = xsequent
; then
16943 # Use $CC to link under sequent, because it throws in some extra .o
16944 # files that make .init and .fini sections work.
16945 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16947 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16949 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16950 hardcode_direct_GCJ
=yes
16951 hardcode_minus_L_GCJ
=yes
16952 hardcode_shlibpath_var_GCJ
=no
16956 case $host_vendor in
16958 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16959 hardcode_direct_GCJ
=yes # is this really true???
16962 ## LD is ld it makes a PLAMLIB
16963 ## CC just makes a GrossModule.
16964 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16965 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16966 hardcode_direct_GCJ
=no
16969 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16970 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16973 runpath_var
='LD_RUN_PATH'
16974 hardcode_shlibpath_var_GCJ
=no
16978 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16979 hardcode_shlibpath_var_GCJ
=no
16980 export_dynamic_flag_spec_GCJ
='-Bexport'
16984 if test -d /usr
/nec
; then
16985 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16986 hardcode_shlibpath_var_GCJ
=no
16987 runpath_var
=LD_RUN_PATH
16988 hardcode_runpath_var
=yes
16993 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16994 no_undefined_flag_GCJ
='${wl}-z,text'
16995 archive_cmds_need_lc_GCJ
=no
16996 hardcode_shlibpath_var_GCJ
=no
16997 runpath_var
='LD_RUN_PATH'
16999 if test "$GCC" = yes; then
17000 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17001 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17003 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17004 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17008 sysv5
* | sco3.2v5
* | sco5v6
*)
17009 # Note: We can NOT use -z defs as we might desire, because we do not
17010 # link with -lc, and that would cause any symbols used from libc to
17011 # always be unresolved, which means just about no library would
17012 # ever link correctly. If we're not using GNU ld we use -z text
17013 # though, which does catch some bad symbols but isn't as heavy-handed
17015 no_undefined_flag_GCJ
='${wl}-z,text'
17016 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17017 archive_cmds_need_lc_GCJ
=no
17018 hardcode_shlibpath_var_GCJ
=no
17019 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17020 hardcode_libdir_separator_GCJ
=':'
17021 link_all_deplibs_GCJ
=yes
17022 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17023 runpath_var
='LD_RUN_PATH'
17025 if test "$GCC" = yes; then
17026 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17027 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17029 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17030 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17035 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17036 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17037 hardcode_shlibpath_var_GCJ
=no
17046 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17047 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17048 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17051 # Do we need to explicitly link libc?
17053 case "x$archive_cmds_need_lc_GCJ" in
17055 # Assume -lc should be added
17056 archive_cmds_need_lc_GCJ
=yes
17058 if test "$enable_shared" = yes && test "$GCC" = yes; then
17059 case $archive_cmds_GCJ in
17061 # FIXME: we may have to deal with multi-command sequences.
17064 # Test whether the compiler implicitly links with -lc since on some
17065 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17066 # to ld, don't add -lc before -lgcc.
17067 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17068 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17070 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17073 (eval $ac_compile) 2>&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } 2>conftest.err
; then
17079 libobjs
=conftest.
$ac_objext
17081 wl
=$lt_prog_compiler_wl_GCJ
17082 pic_flag
=$lt_prog_compiler_pic_GCJ
17088 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17089 allow_undefined_flag_GCJ
=
17090 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17091 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }
17096 archive_cmds_need_lc_GCJ
=no
17098 archive_cmds_need_lc_GCJ
=yes
17100 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17102 cat conftest.err
1>&5
17105 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17106 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17113 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17114 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17115 library_names_spec
=
17116 libname_spec
='lib$name'
17120 postuninstall_cmds
=
17124 shlibpath_overrides_runpath
=unknown
17126 dynamic_linker
="$host_os ld.so"
17127 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17128 if test "$GCC" = yes; then
17129 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17130 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17131 # if the path contains ";" then we assume it to be the separator
17132 # otherwise default to the standard path separator (i.e. ":") - it is
17133 # assumed that no part of a normal pathname contains ";" but that should
17134 # okay in the real world where ";" in dirpaths is itself problematic.
17135 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17137 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17140 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17142 need_lib_prefix
=unknown
17143 hardcode_into_libs
=no
17145 # when you set need_version to no, make sure it does not cause -set_version
17146 # flags to be left without arguments
17147 need_version
=unknown
17152 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17153 shlibpath_var
=LIBPATH
17155 # AIX 3 has no versioning support, so we append a major version to the name.
17156 soname_spec
='${libname}${release}${shared_ext}$major'
17163 hardcode_into_libs
=yes
17164 if test "$host_cpu" = ia64
; then
17165 # AIX 5 supports IA64
17166 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17167 shlibpath_var
=LD_LIBRARY_PATH
17169 # With GCC up to 2.95.x, collect2 would create an import file
17170 # for dependence libraries. The import file would start with
17171 # the line `#! .'. This would cause the generated library to
17172 # depend on `.', always an invalid library. This was fixed in
17173 # development snapshots of GCC prior to 3.0.
17175 aix4 | aix4.
[01] | aix4.
[01].
*)
17176 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17178 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17181 can_build_shared
=no
17185 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17186 # soname into executable. Probably we can add versioning support to
17187 # collect2, so additional links can be useful in future.
17188 if test "$aix_use_runtimelinking" = yes; then
17189 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17190 # instead of lib<name>.a to let people know that these are not
17191 # typical AIX shared libraries.
17192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17194 # We preserve .a as extension for shared libraries through AIX4.2
17195 # and later when we are not doing run time linking.
17196 library_names_spec
='${libname}${release}.a $libname.a'
17197 soname_spec
='${libname}${release}${shared_ext}$major'
17199 shlibpath_var
=LIBPATH
17204 library_names_spec
='$libname.ixlibrary $libname.a'
17205 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17206 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'
17210 library_names_spec
='${libname}${shared_ext}'
17211 dynamic_linker
="$host_os ld.so"
17212 shlibpath_var
=LIBRARY_PATH
17218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17219 soname_spec
='${libname}${release}${shared_ext}$major'
17220 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17221 shlibpath_var
=LD_LIBRARY_PATH
17222 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17223 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17224 # the default ld.so.conf also contains /usr/contrib/lib and
17225 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17226 # libtool to hard-code these into programs
17229 cygwin
* | mingw
* | pw32
*)
17230 version_type
=windows
17235 case $GCC,$host_os in
17236 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17237 library_names_spec
='$libname.dll.a'
17238 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17239 postinstall_cmds
='base_file=`basename \${file}`~
17240 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17241 dldir=$destdir/`dirname \$dlpath`~
17242 test -d \$dldir || mkdir -p \$dldir~
17243 $install_prog $dir/$dlname \$dldir/$dlname~
17244 chmod a+x \$dldir/$dlname'
17245 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17246 dlpath=$dir/\$dldll~
17248 shlibpath_overrides_runpath
=yes
17252 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17253 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17254 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17257 # MinGW DLLs use traditional 'lib' prefix
17258 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17259 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17260 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17261 # It is most probably a Windows format PATH printed by
17262 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17263 # path with ; separators, and with drive letters. We can handle the
17264 # drive letters (cygwin fileutils understands them), so leave them,
17265 # especially as we might pass files found there to a mingw objdump,
17266 # which wouldn't understand a cygwinified path. Ahh.
17267 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17269 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17273 # pw32 DLLs use 'pw' prefix rather than 'lib'
17274 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17280 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17283 dynamic_linker
='Win32 ld.exe'
17284 # FIXME: first we should search . and the directory the executable is in
17288 darwin
* | rhapsody
*)
17289 dynamic_linker
="$host_os dyld"
17290 version_type
=darwin
17293 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17294 soname_spec
='${libname}${release}${major}$shared_ext'
17295 shlibpath_overrides_runpath
=yes
17296 shlibpath_var
=DYLD_LIBRARY_PATH
17297 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17298 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17299 if test "$GCC" = yes; then
17300 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"`
17302 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17304 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17312 soname_spec
='${libname}${release}${shared_ext}$major'
17313 shlibpath_var
=LD_LIBRARY_PATH
17324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17325 soname_spec
='${libname}${release}${shared_ext}$major'
17326 shlibpath_var
=LD_LIBRARY_PATH
17327 shlibpath_overrides_runpath
=no
17328 hardcode_into_libs
=yes
17329 dynamic_linker
='GNU ld.so'
17332 freebsd
* | dragonfly
*)
17333 # DragonFly does not have aout. When/if they implement a new
17334 # versioning mechanism, adjust this.
17335 if test -x /usr
/bin
/objformat
; then
17336 objformat
=`/usr/bin/objformat`
17339 freebsd
[123]*) objformat
=aout
;;
17340 *) objformat
=elf
;;
17343 version_type
=freebsd-
$objformat
17344 case $version_type in
17346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17351 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17355 shlibpath_var
=LD_LIBRARY_PATH
17358 shlibpath_overrides_runpath
=yes
17360 freebsd3.
[01]* | freebsdelf3.
[01]*)
17361 shlibpath_overrides_runpath
=yes
17362 hardcode_into_libs
=yes
17364 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17365 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17366 shlibpath_overrides_runpath
=no
17367 hardcode_into_libs
=yes
17369 freebsd
*) # from 4.6 on
17370 shlibpath_overrides_runpath
=yes
17371 hardcode_into_libs
=yes
17380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17381 soname_spec
='${libname}${release}${shared_ext}$major'
17382 shlibpath_var
=LD_LIBRARY_PATH
17383 hardcode_into_libs
=yes
17386 hpux9
* | hpux10
* | hpux11
*)
17387 # Give a soname corresponding to the major version so that dld.sl refuses to
17388 # link against other versions.
17395 hardcode_into_libs
=yes
17396 dynamic_linker
="$host_os dld.so"
17397 shlibpath_var
=LD_LIBRARY_PATH
17398 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17400 soname_spec
='${libname}${release}${shared_ext}$major'
17401 if test "X$HPUX_IA64_MODE" = X32
; then
17402 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17404 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17406 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17410 hardcode_into_libs
=yes
17411 dynamic_linker
="$host_os dld.sl"
17412 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17413 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17415 soname_spec
='${libname}${release}${shared_ext}$major'
17416 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17417 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17421 dynamic_linker
="$host_os dld.sl"
17422 shlibpath_var
=SHLIB_PATH
17423 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17425 soname_spec
='${libname}${release}${shared_ext}$major'
17428 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17429 postinstall_cmds
='chmod 555 $lib'
17436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17437 soname_spec
='${libname}${release}${shared_ext}$major'
17438 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17439 shlibpath_var
=LD_LIBRARY_PATH
17440 shlibpath_overrides_runpath
=no
17441 hardcode_into_libs
=yes
17444 irix5
* | irix6
* | nonstopux
*)
17446 nonstopux
*) version_type
=nonstopux
;;
17448 if test "$lt_cv_prog_gnu_ld" = yes; then
17456 soname_spec
='${libname}${release}${shared_ext}$major'
17457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17459 irix5
* | nonstopux
*)
17460 libsuff
= shlibsuff
=
17463 case $LD in # libtool.m4 will add one of these switches to LD
17464 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17465 libsuff
= shlibsuff
= libmagic
=32-bit;;
17466 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17467 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17468 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17469 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17470 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17474 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17475 shlibpath_overrides_runpath
=no
17476 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17477 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17478 hardcode_into_libs
=yes
17481 # No shared lib support for Linux oldld, aout, or coff.
17482 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17486 # This must be Linux ELF.
17491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17492 soname_spec
='${libname}${release}${shared_ext}$major'
17493 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17494 shlibpath_var
=LD_LIBRARY_PATH
17495 shlibpath_overrides_runpath
=no
17496 # This implies no fast_install, which is unacceptable.
17497 # Some rework will be needed to allow for fast_install
17498 # before this can be enabled.
17499 hardcode_into_libs
=yes
17501 # find out which ABI we are using
17503 case "$host_cpu" in
17504 x86_64
*|s390x
*|powerpc64
*)
17505 echo '#line 17505 "configure"' > conftest.
$ac_ext
17506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17507 (eval $ac_compile) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; then
17511 case `/usr/bin/file conftest.$ac_objext` in
17514 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17522 # Append ld.so.conf contents to the search path
17523 if test -f /etc
/ld.so.conf
; then
17524 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' ' '`
17525 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17528 # We used to test for /lib/ld.so.1 and disable shared libraries on
17529 # powerpc, because MkLinux only supported shared libraries with the
17530 # GNU dynamic linker. Since this was broken with cross compilers,
17531 # most powerpc-linux boxes support dynamic linking these days and
17532 # people can always --disable-shared, the test was removed, and we
17533 # assume the GNU/Linux dynamic linker is in use.
17534 dynamic_linker
='GNU/Linux ld.so'
17541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17542 soname_spec
='${libname}${release}${shared_ext}$major'
17543 shlibpath_var
=LD_LIBRARY_PATH
17544 shlibpath_overrides_runpath
=no
17545 hardcode_into_libs
=yes
17546 dynamic_linker
='GNU ld.so'
17553 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17555 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17556 dynamic_linker
='NetBSD (a.out) ld.so'
17558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17559 soname_spec
='${libname}${release}${shared_ext}$major'
17560 dynamic_linker
='NetBSD ld.elf_so'
17562 shlibpath_var
=LD_LIBRARY_PATH
17563 shlibpath_overrides_runpath
=yes
17564 hardcode_into_libs
=yes
17569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17570 shlibpath_var
=LD_LIBRARY_PATH
17571 shlibpath_overrides_runpath
=yes
17578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17579 soname_spec
='${libname}${release}${shared_ext}$major'
17580 shlibpath_var
=LD_LIBRARY_PATH
17581 shlibpath_overrides_runpath
=yes
17586 sys_lib_dlsearch_path_spec
="/usr/lib"
17588 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17590 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17591 *) need_version
=no
;;
17593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17594 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17595 shlibpath_var
=LD_LIBRARY_PATH
17596 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17598 openbsd2.
[89] | openbsd2.
[89].
*)
17599 shlibpath_overrides_runpath
=no
17602 shlibpath_overrides_runpath
=yes
17606 shlibpath_overrides_runpath
=yes
17611 libname_spec
='$name'
17614 library_names_spec
='$libname${shared_ext} $libname.a'
17615 dynamic_linker
='OS/2 ld.exe'
17616 shlibpath_var
=LIBPATH
17619 osf3
* | osf4
* | osf5
*)
17623 soname_spec
='${libname}${release}${shared_ext}$major'
17624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17625 shlibpath_var
=LD_LIBRARY_PATH
17626 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17627 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17635 soname_spec
='${libname}${release}${shared_ext}$major'
17636 shlibpath_var
=LD_LIBRARY_PATH
17637 shlibpath_overrides_runpath
=yes
17638 hardcode_into_libs
=yes
17639 # ldd complains unless libraries are executable
17640 postinstall_cmds
='chmod +x $lib'
17645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17646 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17647 shlibpath_var
=LD_LIBRARY_PATH
17648 shlibpath_overrides_runpath
=yes
17649 if test "$with_gnu_ld" = yes; then
17657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17658 soname_spec
='${libname}${release}${shared_ext}$major'
17659 shlibpath_var
=LD_LIBRARY_PATH
17660 case $host_vendor in
17662 shlibpath_overrides_runpath
=no
17664 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17665 runpath_var
=LD_RUN_PATH
17673 shlibpath_overrides_runpath
=no
17674 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17680 if test -d /usr
/nec
;then
17682 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17683 soname_spec
='$libname${shared_ext}.$major'
17684 shlibpath_var
=LD_LIBRARY_PATH
17688 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17689 version_type
=freebsd-elf
17692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17693 soname_spec
='${libname}${release}${shared_ext}$major'
17694 shlibpath_var
=LD_LIBRARY_PATH
17695 hardcode_into_libs
=yes
17696 if test "$with_gnu_ld" = yes; then
17697 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17698 shlibpath_overrides_runpath
=no
17700 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17701 shlibpath_overrides_runpath
=yes
17704 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17708 sys_lib_dlsearch_path_spec
='/usr/lib'
17713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17714 soname_spec
='${libname}${release}${shared_ext}$major'
17715 shlibpath_var
=LD_LIBRARY_PATH
17722 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17723 echo "${ECHO_T}$dynamic_linker" >&6
17724 test "$dynamic_linker" = no
&& can_build_shared
=no
17726 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17727 if test "$GCC" = yes; then
17728 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17731 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17732 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17733 hardcode_action_GCJ
=
17734 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17735 test -n "$runpath_var_GCJ" || \
17736 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17738 # We can hardcode non-existant directories.
17739 if test "$hardcode_direct_GCJ" != no
&&
17740 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17741 # have to relink, otherwise we might link with an installed library
17742 # when we should be linking with a yet-to-be-installed one
17743 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17744 test "$hardcode_minus_L_GCJ" != no
; then
17745 # Linking always hardcodes the temporary library directory.
17746 hardcode_action_GCJ
=relink
17748 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17749 hardcode_action_GCJ
=immediate
17752 # We cannot hardcode anything, or else we can only hardcode existing
17754 hardcode_action_GCJ
=unsupported
17756 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17757 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17759 if test "$hardcode_action_GCJ" = relink
; then
17760 # Fast installation is not supported
17761 enable_fast_install
=no
17762 elif test "$shlibpath_overrides_runpath" = yes ||
17763 test "$enable_shared" = no
; then
17764 # Fast installation is not necessary
17765 enable_fast_install
=needless
17769 # The else clause should only fire when bootstrapping the
17770 # libtool distribution, otherwise you forgot to ship ltmain.sh
17771 # with your package, and you will get complaints that there are
17772 # no rules to generate ltmain.sh.
17773 if test -f "$ltmain"; then
17774 # See if we are running on zsh, and set the options which allow our commands through
17775 # without removal of \ escapes.
17776 if test -n "${ZSH_VERSION+set}" ; then
17777 setopt NO_GLOB_SUBST
17779 # Now quote all the things that may contain metacharacters while being
17780 # careful not to overquote the AC_SUBSTed values. We take copies of the
17781 # variables and quote the copies for generation of the libtool script.
17782 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17784 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17785 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17786 deplibs_check_method reload_flag reload_cmds need_locks \
17787 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17788 lt_cv_sys_global_symbol_to_c_name_address \
17789 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17790 old_postinstall_cmds old_postuninstall_cmds \
17794 lt_prog_compiler_wl_GCJ \
17795 lt_prog_compiler_pic_GCJ \
17796 lt_prog_compiler_static_GCJ \
17797 lt_prog_compiler_no_builtin_flag_GCJ \
17798 export_dynamic_flag_spec_GCJ \
17799 thread_safe_flag_spec_GCJ \
17800 whole_archive_flag_spec_GCJ \
17801 enable_shared_with_static_runtimes_GCJ \
17802 old_archive_cmds_GCJ \
17803 old_archive_from_new_cmds_GCJ \
17804 predep_objects_GCJ \
17805 postdep_objects_GCJ \
17808 compiler_lib_search_path_GCJ \
17810 archive_expsym_cmds_GCJ \
17811 postinstall_cmds_GCJ \
17812 postuninstall_cmds_GCJ \
17813 old_archive_from_expsyms_cmds_GCJ \
17814 allow_undefined_flag_GCJ \
17815 no_undefined_flag_GCJ \
17816 export_symbols_cmds_GCJ \
17817 hardcode_libdir_flag_spec_GCJ \
17818 hardcode_libdir_flag_spec_ld_GCJ \
17819 hardcode_libdir_separator_GCJ \
17820 hardcode_automatic_GCJ \
17822 module_expsym_cmds_GCJ \
17823 lt_cv_prog_compiler_c_o_GCJ \
17824 exclude_expsyms_GCJ \
17825 include_expsyms_GCJ
; do
17828 old_archive_cmds_GCJ | \
17829 old_archive_from_new_cmds_GCJ | \
17830 archive_cmds_GCJ | \
17831 archive_expsym_cmds_GCJ | \
17832 module_cmds_GCJ | \
17833 module_expsym_cmds_GCJ | \
17834 old_archive_from_expsyms_cmds_GCJ | \
17835 export_symbols_cmds_GCJ | \
17836 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17837 postinstall_cmds | postuninstall_cmds | \
17838 old_postinstall_cmds | old_postuninstall_cmds | \
17839 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17840 # Double-quote double-evaled strings.
17841 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17844 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17850 *'\$0 --fallback-echo"')
17851 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17857 cat <<__EOF__ >> "$cfgfile"
17858 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17860 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17862 # Shell to use when invoking shell scripts.
17865 # Whether or not to build shared libraries.
17866 build_libtool_libs=$enable_shared
17868 # Whether or not to build static libraries.
17869 build_old_libs=$enable_static
17871 # Whether or not to add -lc for building shared libraries.
17872 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17874 # Whether or not to disallow shared libs when runtime libs are static
17875 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17877 # Whether or not to optimize for fast installation.
17878 fast_install=$enable_fast_install
17881 host_alias=$host_alias
17885 # The build system.
17886 build_alias=$build_alias
17890 # An echo program that does not interpret backslashes.
17895 AR_FLAGS=$lt_AR_FLAGS
17900 # LTCC compiler flags.
17901 LTCFLAGS=$lt_LTCFLAGS
17903 # A language-specific compiler.
17904 CC=$lt_compiler_GCJ
17906 # Is the compiler the GNU C compiler?
17909 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
17910 gcc_ver=\`gcc -dumpversion\`
17915 # The linker used to build libraries.
17918 # Whether we need hard or soft links.
17921 # A BSD-compatible nm program.
17924 # A symbol stripping program
17927 # Used to examine libraries when file_magic_cmd begins "file"
17928 MAGIC_CMD=$MAGIC_CMD
17930 # Used on cygwin: DLL creation program.
17933 # Used on cygwin: object dumper.
17936 # Used on cygwin: assembler.
17939 # The name of the directory that contains temporary libtool files.
17942 # How to create reloadable object files.
17943 reload_flag=$lt_reload_flag
17944 reload_cmds=$lt_reload_cmds
17946 # How to pass a linker flag through the compiler.
17947 wl=$lt_lt_prog_compiler_wl_GCJ
17949 # Object file suffix (normally "o").
17950 objext="$ac_objext"
17952 # Old archive suffix (normally "a").
17955 # Shared library suffix (normally ".so").
17956 shrext_cmds='$shrext_cmds'
17958 # Executable file suffix (normally "").
17961 # Additional compiler flags for building library objects.
17962 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17965 # What is the maximum length of a command?
17966 max_cmd_len=$lt_cv_sys_max_cmd_len
17968 # Does compiler simultaneously support -c and -o options?
17969 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17971 # Must we lock files when doing compilation?
17972 need_locks=$lt_need_locks
17974 # Do we need the lib prefix for modules?
17975 need_lib_prefix=$need_lib_prefix
17977 # Do we need a version for libraries?
17978 need_version=$need_version
17980 # Whether dlopen is supported.
17981 dlopen_support=$enable_dlopen
17983 # Whether dlopen of programs is supported.
17984 dlopen_self=$enable_dlopen_self
17986 # Whether dlopen of statically linked programs is supported.
17987 dlopen_self_static=$enable_dlopen_self_static
17989 # Compiler flag to prevent dynamic linking.
17990 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17992 # Compiler flag to turn off builtin functions.
17993 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17995 # Compiler flag to allow reflexive dlopens.
17996 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17998 # Compiler flag to generate shared objects directly from archives.
17999 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18001 # Compiler flag to generate thread-safe objects.
18002 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18004 # Library versioning type.
18005 version_type=$version_type
18007 # Format of library name prefix.
18008 libname_spec=$lt_libname_spec
18010 # List of archive names. First name is the real one, the rest are links.
18011 # The last name is the one that the linker finds with -lNAME.
18012 library_names_spec=$lt_library_names_spec
18014 # The coded name of the library, if different from the real name.
18015 soname_spec=$lt_soname_spec
18017 # Commands used to build and install an old-style archive.
18019 old_archive_cmds=$lt_old_archive_cmds_GCJ
18020 old_postinstall_cmds=$lt_old_postinstall_cmds
18021 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18023 # Create an old-style archive from a shared archive.
18024 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18026 # Create a temporary old-style archive to link instead of a shared archive.
18027 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18029 # Commands used to build and install a shared archive.
18030 archive_cmds=$lt_archive_cmds_GCJ
18031 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18032 postinstall_cmds=$lt_postinstall_cmds
18033 postuninstall_cmds=$lt_postuninstall_cmds
18035 # Commands used to build a loadable module (assumed same as above if empty)
18036 module_cmds=$lt_module_cmds_GCJ
18037 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18039 # Commands to strip libraries.
18040 old_striplib=$lt_old_striplib
18041 striplib=$lt_striplib
18043 # Dependencies to place before the objects being linked to create a
18045 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18047 # Dependencies to place after the objects being linked to create a
18049 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18051 # Dependencies to place before the objects being linked to create a
18053 predeps=$lt_predeps_GCJ
18055 # Dependencies to place after the objects being linked to create a
18057 postdeps=$lt_postdeps_GCJ
18059 # The library search path used internally by the compiler when linking
18060 # a shared library.
18061 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"\`
18063 # Method to check whether dependent libraries are shared objects.
18064 deplibs_check_method=$lt_deplibs_check_method
18066 # Command to use when deplibs_check_method == file_magic.
18067 file_magic_cmd=$lt_file_magic_cmd
18069 # Flag that allows shared libraries with undefined symbols to be built.
18070 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18072 # Flag that forces no undefined symbols.
18073 no_undefined_flag=$lt_no_undefined_flag_GCJ
18075 # Commands used to finish a libtool library installation in a directory.
18076 finish_cmds=$lt_finish_cmds
18078 # Same as above, but a single script fragment to be evaled but not shown.
18079 finish_eval=$lt_finish_eval
18081 # Take the output of nm and produce a listing of raw symbols and C names.
18082 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18084 # Transform the output of nm in a proper C declaration
18085 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18087 # Transform the output of nm in a C name address pair
18088 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18090 # This is the shared library runtime path variable.
18091 runpath_var=$runpath_var
18093 # This is the shared library path variable.
18094 shlibpath_var=$shlibpath_var
18096 # Is shlibpath searched before the hard-coded library search path?
18097 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18099 # How to hardcode a shared library path into an executable.
18100 hardcode_action=$hardcode_action_GCJ
18102 # Whether we should hardcode library paths into libraries.
18103 hardcode_into_libs=$hardcode_into_libs
18105 # Flag to hardcode \$libdir into a binary during linking.
18106 # This must work even if \$libdir does not exist.
18107 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18109 # If ld is used when linking, flag to hardcode \$libdir into
18110 # a binary during linking. This must work even if \$libdir does
18112 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18114 # Whether we need a single -rpath flag with a separated argument.
18115 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18117 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18118 # resulting binary.
18119 hardcode_direct=$hardcode_direct_GCJ
18121 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18122 # resulting binary.
18123 hardcode_minus_L=$hardcode_minus_L_GCJ
18125 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18126 # the resulting binary.
18127 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18129 # Set to yes if building a shared library automatically hardcodes DIR into the library
18130 # and all subsequent libraries and executables linked against it.
18131 hardcode_automatic=$hardcode_automatic_GCJ
18133 # Variables whose values should be saved in libtool wrapper scripts and
18134 # restored at relink time.
18135 variables_saved_for_relink="$variables_saved_for_relink"
18137 # Whether libtool must link a program against all its dependency libraries.
18138 link_all_deplibs=$link_all_deplibs_GCJ
18140 # Compile-time system search path for libraries
18141 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"\`
18143 # Run-time system search path for libraries
18144 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18146 # Fix the shell variable \$srcfile for the compiler.
18147 fix_srcfile_path="$fix_srcfile_path_GCJ"
18149 # Set to yes if exported symbols are required.
18150 always_export_symbols=$always_export_symbols_GCJ
18152 # The commands to list exported symbols.
18153 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18155 # The commands to extract the exported symbol list from a shared archive.
18156 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18158 # Symbols that should not be listed in the preloaded symbols.
18159 exclude_expsyms=$lt_exclude_expsyms_GCJ
18161 # Symbols that must always be exported.
18162 include_expsyms=$lt_include_expsyms_GCJ
18164 # ### END LIBTOOL TAG CONFIG: $tagname
18170 # If there is no Makefile yet, we rely on a make rule to execute
18171 # `config.status --recheck' to rerun these tests and create the
18172 # libtool script then.
18173 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18174 if test -f "$ltmain_in"; then
18175 test -f Makefile
&& make "$ltmain"
18181 ac_cpp
='$CPP $CPPFLAGS'
18182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18197 # Source file extension for RC test sources.
18200 # Object file extension for compiled RC test sources.
18204 # Code to be used in simple compile tests
18205 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18207 # Code to be used in simple link tests
18208 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18210 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18212 # If no C compiler was specified, use CC.
18215 # If no C compiler flags were specified, use CFLAGS.
18216 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18218 # Allow CC to be a program name with arguments.
18222 # save warnings/boilerplate of simple test code
18223 ac_outfile
=conftest.
$ac_objext
18224 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18225 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18226 _lt_compiler_boilerplate
=`cat conftest.err`
18229 ac_outfile
=conftest.
$ac_objext
18230 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18231 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18232 _lt_linker_boilerplate
=`cat conftest.err`
18236 # Allow CC to be a program name with arguments.
18241 for cc_temp
in $compiler""; do
18243 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18244 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18249 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18251 lt_cv_prog_compiler_c_o_RC
=yes
18253 # The else clause should only fire when bootstrapping the
18254 # libtool distribution, otherwise you forgot to ship ltmain.sh
18255 # with your package, and you will get complaints that there are
18256 # no rules to generate ltmain.sh.
18257 if test -f "$ltmain"; then
18258 # See if we are running on zsh, and set the options which allow our commands through
18259 # without removal of \ escapes.
18260 if test -n "${ZSH_VERSION+set}" ; then
18261 setopt NO_GLOB_SUBST
18263 # Now quote all the things that may contain metacharacters while being
18264 # careful not to overquote the AC_SUBSTed values. We take copies of the
18265 # variables and quote the copies for generation of the libtool script.
18266 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18268 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18269 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18270 deplibs_check_method reload_flag reload_cmds need_locks \
18271 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18272 lt_cv_sys_global_symbol_to_c_name_address \
18273 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18274 old_postinstall_cmds old_postuninstall_cmds \
18278 lt_prog_compiler_wl_RC \
18279 lt_prog_compiler_pic_RC \
18280 lt_prog_compiler_static_RC \
18281 lt_prog_compiler_no_builtin_flag_RC \
18282 export_dynamic_flag_spec_RC \
18283 thread_safe_flag_spec_RC \
18284 whole_archive_flag_spec_RC \
18285 enable_shared_with_static_runtimes_RC \
18286 old_archive_cmds_RC \
18287 old_archive_from_new_cmds_RC \
18288 predep_objects_RC \
18289 postdep_objects_RC \
18292 compiler_lib_search_path_RC \
18294 archive_expsym_cmds_RC \
18295 postinstall_cmds_RC \
18296 postuninstall_cmds_RC \
18297 old_archive_from_expsyms_cmds_RC \
18298 allow_undefined_flag_RC \
18299 no_undefined_flag_RC \
18300 export_symbols_cmds_RC \
18301 hardcode_libdir_flag_spec_RC \
18302 hardcode_libdir_flag_spec_ld_RC \
18303 hardcode_libdir_separator_RC \
18304 hardcode_automatic_RC \
18306 module_expsym_cmds_RC \
18307 lt_cv_prog_compiler_c_o_RC \
18308 exclude_expsyms_RC \
18309 include_expsyms_RC
; do
18312 old_archive_cmds_RC | \
18313 old_archive_from_new_cmds_RC | \
18314 archive_cmds_RC | \
18315 archive_expsym_cmds_RC | \
18317 module_expsym_cmds_RC | \
18318 old_archive_from_expsyms_cmds_RC | \
18319 export_symbols_cmds_RC | \
18320 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18321 postinstall_cmds | postuninstall_cmds | \
18322 old_postinstall_cmds | old_postuninstall_cmds | \
18323 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18324 # Double-quote double-evaled strings.
18325 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18328 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18334 *'\$0 --fallback-echo"')
18335 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18341 cat <<__EOF__ >> "$cfgfile"
18342 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18344 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18346 # Shell to use when invoking shell scripts.
18349 # Whether or not to build shared libraries.
18350 build_libtool_libs=$enable_shared
18352 # Whether or not to build static libraries.
18353 build_old_libs=$enable_static
18355 # Whether or not to add -lc for building shared libraries.
18356 build_libtool_need_lc=$archive_cmds_need_lc_RC
18358 # Whether or not to disallow shared libs when runtime libs are static
18359 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18361 # Whether or not to optimize for fast installation.
18362 fast_install=$enable_fast_install
18365 host_alias=$host_alias
18369 # The build system.
18370 build_alias=$build_alias
18374 # An echo program that does not interpret backslashes.
18379 AR_FLAGS=$lt_AR_FLAGS
18384 # LTCC compiler flags.
18385 LTCFLAGS=$lt_LTCFLAGS
18387 # A language-specific compiler.
18390 # Is the compiler the GNU C compiler?
18393 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18394 gcc_ver=\`gcc -dumpversion\`
18399 # The linker used to build libraries.
18402 # Whether we need hard or soft links.
18405 # A BSD-compatible nm program.
18408 # A symbol stripping program
18411 # Used to examine libraries when file_magic_cmd begins "file"
18412 MAGIC_CMD=$MAGIC_CMD
18414 # Used on cygwin: DLL creation program.
18417 # Used on cygwin: object dumper.
18420 # Used on cygwin: assembler.
18423 # The name of the directory that contains temporary libtool files.
18426 # How to create reloadable object files.
18427 reload_flag=$lt_reload_flag
18428 reload_cmds=$lt_reload_cmds
18430 # How to pass a linker flag through the compiler.
18431 wl=$lt_lt_prog_compiler_wl_RC
18433 # Object file suffix (normally "o").
18434 objext="$ac_objext"
18436 # Old archive suffix (normally "a").
18439 # Shared library suffix (normally ".so").
18440 shrext_cmds='$shrext_cmds'
18442 # Executable file suffix (normally "").
18445 # Additional compiler flags for building library objects.
18446 pic_flag=$lt_lt_prog_compiler_pic_RC
18449 # What is the maximum length of a command?
18450 max_cmd_len=$lt_cv_sys_max_cmd_len
18452 # Does compiler simultaneously support -c and -o options?
18453 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18455 # Must we lock files when doing compilation?
18456 need_locks=$lt_need_locks
18458 # Do we need the lib prefix for modules?
18459 need_lib_prefix=$need_lib_prefix
18461 # Do we need a version for libraries?
18462 need_version=$need_version
18464 # Whether dlopen is supported.
18465 dlopen_support=$enable_dlopen
18467 # Whether dlopen of programs is supported.
18468 dlopen_self=$enable_dlopen_self
18470 # Whether dlopen of statically linked programs is supported.
18471 dlopen_self_static=$enable_dlopen_self_static
18473 # Compiler flag to prevent dynamic linking.
18474 link_static_flag=$lt_lt_prog_compiler_static_RC
18476 # Compiler flag to turn off builtin functions.
18477 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18479 # Compiler flag to allow reflexive dlopens.
18480 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18482 # Compiler flag to generate shared objects directly from archives.
18483 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18485 # Compiler flag to generate thread-safe objects.
18486 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18488 # Library versioning type.
18489 version_type=$version_type
18491 # Format of library name prefix.
18492 libname_spec=$lt_libname_spec
18494 # List of archive names. First name is the real one, the rest are links.
18495 # The last name is the one that the linker finds with -lNAME.
18496 library_names_spec=$lt_library_names_spec
18498 # The coded name of the library, if different from the real name.
18499 soname_spec=$lt_soname_spec
18501 # Commands used to build and install an old-style archive.
18503 old_archive_cmds=$lt_old_archive_cmds_RC
18504 old_postinstall_cmds=$lt_old_postinstall_cmds
18505 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18507 # Create an old-style archive from a shared archive.
18508 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18510 # Create a temporary old-style archive to link instead of a shared archive.
18511 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18513 # Commands used to build and install a shared archive.
18514 archive_cmds=$lt_archive_cmds_RC
18515 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18516 postinstall_cmds=$lt_postinstall_cmds
18517 postuninstall_cmds=$lt_postuninstall_cmds
18519 # Commands used to build a loadable module (assumed same as above if empty)
18520 module_cmds=$lt_module_cmds_RC
18521 module_expsym_cmds=$lt_module_expsym_cmds_RC
18523 # Commands to strip libraries.
18524 old_striplib=$lt_old_striplib
18525 striplib=$lt_striplib
18527 # Dependencies to place before the objects being linked to create a
18529 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18531 # Dependencies to place after the objects being linked to create a
18533 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18535 # Dependencies to place before the objects being linked to create a
18537 predeps=$lt_predeps_RC
18539 # Dependencies to place after the objects being linked to create a
18541 postdeps=$lt_postdeps_RC
18543 # The library search path used internally by the compiler when linking
18544 # a shared library.
18545 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"\`
18547 # Method to check whether dependent libraries are shared objects.
18548 deplibs_check_method=$lt_deplibs_check_method
18550 # Command to use when deplibs_check_method == file_magic.
18551 file_magic_cmd=$lt_file_magic_cmd
18553 # Flag that allows shared libraries with undefined symbols to be built.
18554 allow_undefined_flag=$lt_allow_undefined_flag_RC
18556 # Flag that forces no undefined symbols.
18557 no_undefined_flag=$lt_no_undefined_flag_RC
18559 # Commands used to finish a libtool library installation in a directory.
18560 finish_cmds=$lt_finish_cmds
18562 # Same as above, but a single script fragment to be evaled but not shown.
18563 finish_eval=$lt_finish_eval
18565 # Take the output of nm and produce a listing of raw symbols and C names.
18566 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18568 # Transform the output of nm in a proper C declaration
18569 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18571 # Transform the output of nm in a C name address pair
18572 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18574 # This is the shared library runtime path variable.
18575 runpath_var=$runpath_var
18577 # This is the shared library path variable.
18578 shlibpath_var=$shlibpath_var
18580 # Is shlibpath searched before the hard-coded library search path?
18581 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18583 # How to hardcode a shared library path into an executable.
18584 hardcode_action=$hardcode_action_RC
18586 # Whether we should hardcode library paths into libraries.
18587 hardcode_into_libs=$hardcode_into_libs
18589 # Flag to hardcode \$libdir into a binary during linking.
18590 # This must work even if \$libdir does not exist.
18591 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18593 # If ld is used when linking, flag to hardcode \$libdir into
18594 # a binary during linking. This must work even if \$libdir does
18596 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18598 # Whether we need a single -rpath flag with a separated argument.
18599 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18601 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18602 # resulting binary.
18603 hardcode_direct=$hardcode_direct_RC
18605 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18606 # resulting binary.
18607 hardcode_minus_L=$hardcode_minus_L_RC
18609 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18610 # the resulting binary.
18611 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18613 # Set to yes if building a shared library automatically hardcodes DIR into the library
18614 # and all subsequent libraries and executables linked against it.
18615 hardcode_automatic=$hardcode_automatic_RC
18617 # Variables whose values should be saved in libtool wrapper scripts and
18618 # restored at relink time.
18619 variables_saved_for_relink="$variables_saved_for_relink"
18621 # Whether libtool must link a program against all its dependency libraries.
18622 link_all_deplibs=$link_all_deplibs_RC
18624 # Compile-time system search path for libraries
18625 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"\`
18627 # Run-time system search path for libraries
18628 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18630 # Fix the shell variable \$srcfile for the compiler.
18631 fix_srcfile_path="$fix_srcfile_path_RC"
18633 # Set to yes if exported symbols are required.
18634 always_export_symbols=$always_export_symbols_RC
18636 # The commands to list exported symbols.
18637 export_symbols_cmds=$lt_export_symbols_cmds_RC
18639 # The commands to extract the exported symbol list from a shared archive.
18640 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18642 # Symbols that should not be listed in the preloaded symbols.
18643 exclude_expsyms=$lt_exclude_expsyms_RC
18645 # Symbols that must always be exported.
18646 include_expsyms=$lt_include_expsyms_RC
18648 # ### END LIBTOOL TAG CONFIG: $tagname
18654 # If there is no Makefile yet, we rely on a make rule to execute
18655 # `config.status --recheck' to rerun these tests and create the
18656 # libtool script then.
18657 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18658 if test -f "$ltmain_in"; then
18659 test -f Makefile
&& make "$ltmain"
18665 ac_cpp
='$CPP $CPPFLAGS'
18666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18675 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18676 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18677 { (exit 1); exit 1; }; }
18681 # Append the new tag name to the list of available tags.
18682 if test -n "$tagname" ; then
18683 available_tags
="$available_tags $tagname"
18689 # Now substitute the updated list of available tags.
18690 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18691 mv "${ofile}T" "$ofile"
18695 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18696 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18697 { (exit 1); exit 1; }; }
18703 # This can be used to rebuild libtool when needed
18704 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18706 # Always use our own libtool.
18707 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18709 # Prevent multiple expansion
18731 if test "$GCC" = "yes"
18733 CFLAGS
="$CFLAGS -Wall"
18739 for ac_header
in unistd.h
18741 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18743 echo "$as_me:$LINENO: checking for $ac_header" >&5
18744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18746 echo $ECHO_N "(cached) $ECHO_C" >&6
18748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18751 # Is the header compilable?
18752 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18753 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18754 cat >conftest.
$ac_ext <<_ACEOF
18757 cat confdefs.h
>>conftest.
$ac_ext
18758 cat >>conftest.
$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18760 $ac_includes_default
18761 #include <$ac_header>
18763 rm -f conftest.
$ac_objext
18764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18765 (eval $ac_compile) 2>conftest.er1
18767 grep -v '^ *+' conftest.er1
>conftest.err
18769 cat conftest.err
>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } &&
18772 { ac_try
='test -z "$ac_c_werror_flag"
18773 || test ! -s conftest.err'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; } &&
18779 { ac_try
='test -s conftest.$ac_objext'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; }; then
18785 ac_header_compiler
=yes
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.
$ac_ext >&5
18790 ac_header_compiler
=no
18792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18794 echo "${ECHO_T}$ac_header_compiler" >&6
18796 # Is the header present?
18797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18799 cat >conftest.
$ac_ext <<_ACEOF
18802 cat confdefs.h
>>conftest.
$ac_ext
18803 cat >>conftest.
$ac_ext <<_ACEOF
18804 /* end confdefs.h. */
18805 #include <$ac_header>
18807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18808 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18810 grep -v '^ *+' conftest.er1
>conftest.err
18812 cat conftest.err
>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); } >/dev
/null
; then
18815 if test -s conftest.err
; then
18816 ac_cpp_err
=$ac_c_preproc_warn_flag
18817 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18824 if test -z "$ac_cpp_err"; then
18825 ac_header_preproc
=yes
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.
$ac_ext >&5
18830 ac_header_preproc
=no
18832 rm -f conftest.err conftest.
$ac_ext
18833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18834 echo "${ECHO_T}$ac_header_preproc" >&6
18836 # So? What about this header?
18837 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18842 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18843 ac_header_preproc
=yes
18846 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18847 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18848 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18849 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18850 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18851 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18852 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18853 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18856 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18857 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18860 ## -------------------------------------------------- ##
18861 ## Report this to courier-users@lists.sourceforge.net ##
18862 ## -------------------------------------------------- ##
18865 sed "s/^/$as_me: WARNING: /" >&2
18868 echo "$as_me:$LINENO: checking for $ac_header" >&5
18869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18871 echo $ECHO_N "(cached) $ECHO_C" >&6
18873 eval "$as_ac_Header=\$ac_header_preproc"
18875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18880 cat >>confdefs.h
<<_ACEOF
18881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18889 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
18890 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
18891 if test "${ac_cv_type_uid_t+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 cat >conftest.
$ac_ext <<_ACEOF
18897 cat confdefs.h
>>conftest.
$ac_ext
18898 cat >>conftest.
$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 #include <sys/types.h>
18903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18904 $EGREP "uid_t" >/dev
/null
2>&1; then
18905 ac_cv_type_uid_t
=yes
18907 ac_cv_type_uid_t
=no
18912 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
18913 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
18914 if test $ac_cv_type_uid_t = no
; then
18916 cat >>confdefs.h
<<\_ACEOF
18921 cat >>confdefs.h
<<\_ACEOF
18927 echo "$as_me:$LINENO: checking for pid_t" >&5
18928 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
18929 if test "${ac_cv_type_pid_t+set}" = set; then
18930 echo $ECHO_N "(cached) $ECHO_C" >&6
18932 cat >conftest.
$ac_ext <<_ACEOF
18935 cat confdefs.h
>>conftest.
$ac_ext
18936 cat >>conftest.
$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18938 $ac_includes_default
18944 if (sizeof (pid_t))
18950 rm -f conftest.
$ac_objext
18951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18952 (eval $ac_compile) 2>conftest.er1
18954 grep -v '^ *+' conftest.er1
>conftest.err
18956 cat conftest.err
>&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); } &&
18959 { ac_try
='test -z "$ac_c_werror_flag"
18960 || test ! -s conftest.err'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; } &&
18966 { ac_try
='test -s conftest.$ac_objext'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; }; then
18972 ac_cv_type_pid_t
=yes
18974 echo "$as_me: failed program was:" >&5
18975 sed 's/^/| /' conftest.
$ac_ext >&5
18977 ac_cv_type_pid_t
=no
18979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18981 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18982 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
18983 if test $ac_cv_type_pid_t = yes; then
18987 cat >>confdefs.h
<<_ACEOF
18997 for ac_func
in setgroups initgroups
18999 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19000 echo "$as_me:$LINENO: checking for $ac_func" >&5
19001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19002 if eval "test \"\${$as_ac_var+set}\" = set"; then
19003 echo $ECHO_N "(cached) $ECHO_C" >&6
19005 cat >conftest.
$ac_ext <<_ACEOF
19008 cat confdefs.h
>>conftest.
$ac_ext
19009 cat >>conftest.
$ac_ext <<_ACEOF
19010 /* end confdefs.h. */
19011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19013 #define $ac_func innocuous_$ac_func
19015 /* System header to define __stub macros and hopefully few prototypes,
19016 which can conflict with char $ac_func (); below.
19017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19018 <limits.h> exists even on freestanding compilers. */
19021 # include <limits.h>
19023 # include <assert.h>
19028 /* Override any gcc2 internal prototype to avoid an error. */
19033 /* We use char because int might match the return type of a gcc2
19034 builtin and then its argument prototype would still apply. */
19036 /* The GNU C library defines this for functions which it implements
19037 to always fail with ENOSYS. Some functions are actually named
19038 something starting with __ and the normal name is an alias. */
19039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19042 char (*f) () = $ac_func;
19051 return f != $ac_func;
19056 rm -f conftest.
$ac_objext conftest
$ac_exeext
19057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19058 (eval $ac_link) 2>conftest.er1
19060 grep -v '^ *+' conftest.er1
>conftest.err
19062 cat conftest.err
>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); } &&
19065 { ac_try
='test -z "$ac_c_werror_flag"
19066 || test ! -s conftest.err'
19067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19068 (eval $ac_try) 2>&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); }; } &&
19072 { ac_try
='test -s conftest$ac_exeext'
19073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19074 (eval $ac_try) 2>&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }; }; then
19078 eval "$as_ac_var=yes"
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.
$ac_ext >&5
19083 eval "$as_ac_var=no"
19085 rm -f conftest.err conftest.
$ac_objext \
19086 conftest
$ac_exeext conftest.
$ac_ext
19088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19090 if test `eval echo '${'$as_ac_var'}'` = yes; then
19091 cat >>confdefs.h
<<_ACEOF
19092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19098 ac_config_files
="$ac_config_files Makefile"
19099 cat >confcache
<<\_ACEOF
19100 # This file is a shell script that caches the results of configure
19101 # tests run on this system so they can be shared between configure
19102 # scripts and configure runs, see configure's option --config-cache.
19103 # It is not useful on other systems. If it contains results you don't
19104 # want to keep, you may remove or edit it.
19106 # config.status only pays attention to the cache file if you give it
19107 # the --recheck option to rerun configure.
19109 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19110 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19111 # following values.
19115 # The following way of writing the cache mishandles newlines in values,
19116 # but we know of no workaround that is simple, portable, and efficient.
19117 # So, don't put newlines in cache variables' values.
19118 # Ultrix sh set writes to stderr and can't be redirected directly,
19119 # and sets the high bit in the cache file unless we assign to the vars.
19122 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19124 # `set' does not quote correctly, so add quotes (double-quote
19125 # substitution turns \\\\ into \\, and sed turns \\ into \).
19128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19131 # `set' quotes correctly as required by POSIX, so do not add quotes.
19133 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19140 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19142 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19144 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19145 if test -w $cache_file; then
19146 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19147 cat confcache
>$cache_file
19149 echo "not updating unwritable cache $cache_file"
19154 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19155 # Let make expand exec_prefix.
19156 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19158 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19159 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19160 # trailing colons and then remove the whole line if VPATH becomes empty
19161 # (actually we leave an empty line to preserve line numbers).
19162 if test "x$srcdir" = x.
; then
19163 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19164 s/:*\$(srcdir):*/:/;
19165 s/:*\${srcdir}:*/:/;
19167 s/^\([^=]*=[ ]*\):*/\1/;
19173 DEFS
=-DHAVE_CONFIG_H
19177 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19178 # 1. Remove the extension, and $U if already installed.
19179 ac_i
=`echo "$ac_i" |
19180 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19182 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19183 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19185 LIBOBJS
=$ac_libobjs
19187 LTLIBOBJS
=$ac_ltlibobjs
19190 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19191 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19192 Usually this means the macro was only invoked conditionally." >&5
19193 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19194 Usually this means the macro was only invoked conditionally." >&2;}
19195 { (exit 1); exit 1; }; }
19197 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19198 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19199 Usually this means the macro was only invoked conditionally." >&5
19200 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19201 Usually this means the macro was only invoked conditionally." >&2;}
19202 { (exit 1); exit 1; }; }
19204 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19205 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19206 Usually this means the macro was only invoked conditionally." >&5
19207 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19208 Usually this means the macro was only invoked conditionally." >&2;}
19209 { (exit 1); exit 1; }; }
19212 : ${CONFIG_STATUS=./config.status}
19213 ac_clean_files_save
=$ac_clean_files
19214 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19215 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19216 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19217 cat >$CONFIG_STATUS <<_ACEOF
19219 # Generated by $as_me.
19220 # Run this file to recreate the current configuration.
19221 # Compiler output produced by configure, useful for debugging
19222 # configure, is in config.log if it exists.
19225 ac_cs_recheck=false
19227 SHELL=\${CONFIG_SHELL-$SHELL}
19230 cat >>$CONFIG_STATUS <<\_ACEOF
19231 ## --------------------- ##
19232 ## M4sh Initialization. ##
19233 ## --------------------- ##
19235 # Be Bourne compatible
19236 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19239 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19240 # is contrary to our usage. Disable this feature.
19241 alias -g '${1+"$@"}'='"$@"'
19242 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19245 DUALCASE
=1; export DUALCASE
# for MKS sh
19247 # Support unset when possible.
19248 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19255 # Work around bugs in pre-3.0 UWIN ksh.
19256 $as_unset ENV MAIL MAILPATH
19263 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19264 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19265 LC_TELEPHONE LC_TIME
19267 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19268 eval $as_var=C
; export $as_var
19274 # Required to use basename.
19275 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19281 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19282 as_basename
=basename
19288 # Name of the executable.
19289 as_me
=`$as_basename "$0" ||
19290 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19291 X"$0" : 'X\(//\)$' \| \
19292 X"$0" : 'X\(/\)$' \| \
19293 . : '\(.\)' 2>/dev/null ||
19295 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19296 /^X\/\(\/\/\)$/{ s//\1/; q; }
19297 /^X\/\(\/\).*/{ s//\1/; q; }
19301 # PATH needs CR, and LINENO needs CR and PATH.
19302 # Avoid depending upon Character Ranges.
19303 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19304 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19305 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19306 as_cr_digits
='0123456789'
19307 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19309 # The user is always right.
19310 if test "${PATH_SEPARATOR+set}" != set; then
19311 echo "#! /bin/sh" >conf$$.sh
19312 echo "exit 0" >>conf$$.sh
19314 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19323 as_lineno_1
=$LINENO
19324 as_lineno_2
=$LINENO
19325 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19326 test "x$as_lineno_1" != "x$as_lineno_2" &&
19327 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19328 # Find who we are. Look in the path if we contain no path at all
19331 *[\\/]* ) as_myself
=$0 ;;
19332 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19333 for as_dir
in $PATH
19336 test -z "$as_dir" && as_dir
=.
19337 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19342 # We did not find ourselves, most probably we were run as `sh COMMAND'
19343 # in which case we are not to be found in the path.
19344 if test "x$as_myself" = x
; then
19347 if test ! -f "$as_myself"; then
19348 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19349 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19350 { (exit 1); exit 1; }; }
19352 case $CONFIG_SHELL in
19354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19355 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19358 test -z "$as_dir" && as_dir
=.
19359 for as_base
in sh bash ksh sh5
; do
19362 if ("$as_dir/$as_base" -c '
19363 as_lineno_1=$LINENO
19364 as_lineno_2=$LINENO
19365 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19366 test "x$as_lineno_1" != "x$as_lineno_2" &&
19367 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19368 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19369 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19370 CONFIG_SHELL
=$as_dir/$as_base
19371 export CONFIG_SHELL
19372 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19380 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19381 # uniformly replaced by the line number. The first 'sed' inserts a
19382 # line-number line before each line; the second 'sed' does the real
19383 # work. The second script uses 'N' to pair each line-number line
19384 # with the numbered line, and appends trailing '-' during
19385 # substitution so that $LINENO is not a special case at line end.
19386 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19387 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19388 sed '=' <$as_myself |
19393 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19396 s,^['$as_cr_digits']*\n,,
19397 ' >$as_me.lineno
&&
19398 chmod +x
$as_me.lineno ||
19399 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19400 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19401 { (exit 1); exit 1; }; }
19403 # Don't try to exec as it changes $[0], causing all sort of problems
19404 # (the dirname of $[0] is not the place where we might find the
19405 # original and so on. Autoconf is especially sensible to this).
19407 # Exit status is that of the last command.
19412 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19413 *c
*,-n*) ECHO_N
= ECHO_C
='
19415 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19416 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19419 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19425 rm -f conf$$ conf$$.exe conf$$.
file
19427 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19428 # We could just check for DJGPP; but this test a) works b) is more generic
19429 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19430 if test -f conf$$.exe
; then
19431 # Don't use ln at all; we don't have any links
19436 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19441 rm -f conf$$ conf$$.exe conf$$.
file
19443 if mkdir
-p .
2>/dev
/null
; then
19446 test -d .
/-p && rmdir .
/-p
19450 as_executable_p
="test -f"
19452 # Sed expression to map a string onto a valid CPP name.
19453 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19455 # Sed expression to map a string onto a valid variable name.
19456 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19460 # We need space, tab and new line, in precisely that order.
19470 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19471 # report actual input values of CONFIG_FILES etc. instead of their
19472 # values after options handling. Logging --version etc. is OK.
19476 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19477 ## Running $as_me. ##
19482 This file was extended by numlib $as_me 0.10, which was
19483 generated by GNU Autoconf 2.59. Invocation command line was
19485 CONFIG_FILES = $CONFIG_FILES
19486 CONFIG_HEADERS = $CONFIG_HEADERS
19487 CONFIG_LINKS = $CONFIG_LINKS
19488 CONFIG_COMMANDS = $CONFIG_COMMANDS
19492 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19496 # Files that config.status was made for.
19497 if test -n "$ac_config_files"; then
19498 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19501 if test -n "$ac_config_headers"; then
19502 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19505 if test -n "$ac_config_links"; then
19506 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19509 if test -n "$ac_config_commands"; then
19510 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19513 cat >>$CONFIG_STATUS <<\_ACEOF
19516 \`$as_me' instantiates files from templates according to the
19517 current configuration.
19519 Usage: $0 [OPTIONS] [FILE]...
19521 -h, --help print this help, then exit
19522 -V, --version print version number, then exit
19523 -q, --quiet do not print progress messages
19524 -d, --debug don't remove temporary files
19525 --recheck update $as_me by reconfiguring in the same conditions
19526 --file=FILE[:TEMPLATE]
19527 instantiate the configuration file FILE
19528 --header=FILE[:TEMPLATE]
19529 instantiate the configuration header FILE
19531 Configuration files:
19534 Configuration headers:
19537 Configuration commands:
19540 Report bugs to <bug-autoconf@gnu.org>."
19543 cat >>$CONFIG_STATUS <<_ACEOF
19545 numlib config.status 0.10
19546 configured by $0, generated by GNU Autoconf 2.59,
19547 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19549 Copyright (C) 2003 Free Software Foundation, Inc.
19550 This config.status script is free software; the Free Software Foundation
19551 gives unlimited permission to copy, distribute and modify it."
19556 cat >>$CONFIG_STATUS <<\_ACEOF
19557 # If no file are specified by the user, then we need to provide default
19558 # value. By we need to know if files were specified by the user.
19564 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19565 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19573 *) # This is not an option, so the user has probably given explicit
19576 ac_need_defaults
=false
;;
19580 # Handling of the options.
19582 cat >>$CONFIG_STATUS <<\_ACEOF
19583 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19585 --version |
--vers* |
-V )
19586 echo "$ac_cs_version"; exit 0 ;;
19588 # Conflict between --help and --header
19589 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19590 Try \`$0 --help' for more information." >&5
19591 echo "$as_me: error: ambiguous option: $1
19592 Try \`$0 --help' for more information." >&2;}
19593 { (exit 1); exit 1; }; };;
19594 --help |
--hel |
-h )
19595 echo "$ac_cs_usage"; exit 0 ;;
19596 --debug |
--d* |
-d )
19598 --file |
--fil |
--fi |
--f )
19600 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19601 ac_need_defaults
=false
;;
19602 --header |
--heade |
--head |
--hea )
19604 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19605 ac_need_defaults
=false
;;
19606 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19607 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19610 # This is an error.
19611 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19612 Try \`$0 --help' for more information." >&5
19613 echo "$as_me: error: unrecognized option: $1
19614 Try \`$0 --help' for more information." >&2;}
19615 { (exit 1); exit 1; }; } ;;
19617 *) ac_config_targets
="$ac_config_targets $1" ;;
19623 ac_configure_extra_args
=
19625 if $ac_cs_silent; then
19627 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19631 cat >>$CONFIG_STATUS <<_ACEOF
19632 if \$ac_cs_recheck; then
19633 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19634 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19639 cat >>$CONFIG_STATUS <<_ACEOF
19641 # INIT-COMMANDS section.
19644 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19650 cat >>$CONFIG_STATUS <<\_ACEOF
19651 for ac_config_target
in $ac_config_targets
19653 case "$ac_config_target" in
19654 # Handling of arguments.
19655 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19656 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19657 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19658 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19659 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19660 { (exit 1); exit 1; }; };;
19664 # If the user did not use the arguments to specify the items to instantiate,
19665 # then the envvar interface is used. Set only those that are not.
19666 # We use the long form for the default assignment because of an extremely
19667 # bizarre bug on SunOS 4.1.3.
19668 if $ac_need_defaults; then
19669 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19670 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19671 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19674 # Have a temporary directory for convenience. Make it in the build tree
19675 # simply because there is no reason to put it here, and in addition,
19676 # creating and moving files from /tmp can sometimes cause problems.
19677 # Create a temporary directory, and hook for its removal unless debugging.
19680 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19681 trap '{ (exit 1); exit 1; }' 1 2 13 15
19684 # Create a (secure) tmp directory for tmp files.
19687 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19688 test -n "$tmp" && test -d "$tmp"
19691 tmp
=.
/confstat$$
-$RANDOM
19692 (umask 077 && mkdir
$tmp)
19695 echo "$me: cannot create a temporary directory in ." >&2
19696 { (exit 1); exit 1; }
19701 cat >>$CONFIG_STATUS <<_ACEOF
19704 # CONFIG_FILES section.
19707 # No need to generate the scripts if there are no CONFIG_FILES.
19708 # This happens for instance when ./config.status config.h
19709 if test -n "\$CONFIG_FILES"; then
19710 # Protect against being on the right side of a sed subst in config.status.
19711 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19712 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19713 s,@SHELL@,$SHELL,;t t
19714 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19715 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19716 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19717 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19718 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19719 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19720 s,@exec_prefix@,$exec_prefix,;t t
19721 s,@prefix@,$prefix,;t t
19722 s,@program_transform_name@,$program_transform_name,;t t
19723 s,@bindir@,$bindir,;t t
19724 s,@sbindir@,$sbindir,;t t
19725 s,@libexecdir@,$libexecdir,;t t
19726 s,@datadir@,$datadir,;t t
19727 s,@sysconfdir@,$sysconfdir,;t t
19728 s,@sharedstatedir@,$sharedstatedir,;t t
19729 s,@localstatedir@,$localstatedir,;t t
19730 s,@libdir@,$libdir,;t t
19731 s,@includedir@,$includedir,;t t
19732 s,@oldincludedir@,$oldincludedir,;t t
19733 s,@infodir@,$infodir,;t t
19734 s,@mandir@,$mandir,;t t
19735 s,@build_alias@,$build_alias,;t t
19736 s,@host_alias@,$host_alias,;t t
19737 s,@target_alias@,$target_alias,;t t
19738 s,@DEFS@,$DEFS,;t t
19739 s,@ECHO_C@,$ECHO_C,;t t
19740 s,@ECHO_N@,$ECHO_N,;t t
19741 s,@ECHO_T@,$ECHO_T,;t t
19742 s,@LIBS@,$LIBS,;t t
19743 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19744 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19745 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19746 s,@CYGPATH_W@,$CYGPATH_W,;t t
19747 s,@PACKAGE@,$PACKAGE,;t t
19748 s,@VERSION@,$VERSION,;t t
19749 s,@ACLOCAL@,$ACLOCAL,;t t
19750 s,@AUTOCONF@,$AUTOCONF,;t t
19751 s,@AUTOMAKE@,$AUTOMAKE,;t t
19752 s,@AUTOHEADER@,$AUTOHEADER,;t t
19753 s,@MAKEINFO@,$MAKEINFO,;t t
19754 s,@install_sh@,$install_sh,;t t
19755 s,@STRIP@,$STRIP,;t t
19756 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19757 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
19758 s,@mkdir_p@,$mkdir_p,;t t
19760 s,@SET_MAKE@,$SET_MAKE,;t t
19761 s,@am__leading_dot@,$am__leading_dot,;t t
19762 s,@AMTAR@,$AMTAR,;t t
19763 s,@am__tar@,$am__tar,;t t
19764 s,@am__untar@,$am__untar,;t t
19766 s,@CFLAGS@,$CFLAGS,;t t
19767 s,@LDFLAGS@,$LDFLAGS,;t t
19768 s,@CPPFLAGS@,$CPPFLAGS,;t t
19769 s,@ac_ct_CC@,$ac_ct_CC,;t t
19770 s,@EXEEXT@,$EXEEXT,;t t
19771 s,@OBJEXT@,$OBJEXT,;t t
19772 s,@DEPDIR@,$DEPDIR,;t t
19773 s,@am__include@,$am__include,;t t
19774 s,@am__quote@,$am__quote,;t t
19775 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
19776 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
19777 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
19778 s,@CCDEPMODE@,$CCDEPMODE,;t t
19779 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
19780 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
19781 s,@LN_S@,$LN_S,;t t
19782 s,@build@,$build,;t t
19783 s,@build_cpu@,$build_cpu,;t t
19784 s,@build_vendor@,$build_vendor,;t t
19785 s,@build_os@,$build_os,;t t
19786 s,@host@,$host,;t t
19787 s,@host_cpu@,$host_cpu,;t t
19788 s,@host_vendor@,$host_vendor,;t t
19789 s,@host_os@,$host_os,;t t
19791 s,@EGREP@,$EGREP,;t t
19792 s,@ECHO@,$ECHO,;t t
19794 s,@ac_ct_AR@,$ac_ct_AR,;t t
19795 s,@RANLIB@,$RANLIB,;t t
19796 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19799 s,@CXXFLAGS@,$CXXFLAGS,;t t
19800 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19801 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
19802 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
19803 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
19804 s,@CXXCPP@,$CXXCPP,;t t
19806 s,@FFLAGS@,$FFLAGS,;t t
19807 s,@ac_ct_F77@,$ac_ct_F77,;t t
19808 s,@LIBTOOL@,$LIBTOOL,;t t
19809 s,@LIBOBJS@,$LIBOBJS,;t t
19810 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
19815 cat >>$CONFIG_STATUS <<\_ACEOF
19816 # Split the substitutions into bite-sized pieces for seds with
19817 # small command number limits, like on Digital OSF/1 and HP-UX.
19818 ac_max_sed_lines
=48
19819 ac_sed_frag
=1 # Number of current file.
19820 ac_beg
=1 # First line for current file.
19821 ac_end
=$ac_max_sed_lines # Line after last line for current file.
19824 while $ac_more_lines; do
19825 if test $ac_beg -gt 1; then
19826 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19828 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19830 if test ! -s $tmp/subs.frag
; then
19831 ac_more_lines
=false
19833 # The purpose of the label and of the branching condition is to
19834 # speed up the sed processing (if there are no `@' at all, there
19835 # is no need to browse any of the substitutions).
19836 # These are the two extra sed commands mentioned above.
19838 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
19839 if test -z "$ac_sed_cmds"; then
19840 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
19842 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
19844 ac_sed_frag
=`expr $ac_sed_frag + 1`
19846 ac_end
=`expr $ac_end + $ac_max_sed_lines`
19849 if test -z "$ac_sed_cmds"; then
19852 fi # test -n "$CONFIG_FILES"
19855 cat >>$CONFIG_STATUS <<\_ACEOF
19856 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
19857 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19859 - |
*:- |
*:-:* ) # input from stdin
19861 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19862 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19863 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19864 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19865 * ) ac_file_in
=$ac_file.
in ;;
19868 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19869 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
19870 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19871 X"$ac_file" : 'X\(//\)[^/]' \| \
19872 X"$ac_file" : 'X\(//\)$' \| \
19873 X"$ac_file" : 'X\(/\)' \| \
19874 . : '\(.\)' 2>/dev/null ||
19876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19877 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19878 /^X\(\/\/\)$/{ s//\1/; q; }
19879 /^X\(\/\).*/{ s//\1/; q; }
19881 { if $as_mkdir_p; then
19886 while test ! -d "$as_dir"; do
19887 as_dirs
="$as_dir $as_dirs"
19888 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19889 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19890 X"$as_dir" : 'X\(//\)[^/]' \| \
19891 X"$as_dir" : 'X\(//\)$' \| \
19892 X"$as_dir" : 'X\(/\)' \| \
19893 . : '\(.\)' 2>/dev/null ||
19895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19896 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19897 /^X\(\/\/\)$/{ s//\1/; q; }
19898 /^X\(\/\).*/{ s//\1/; q; }
19901 test ! -n "$as_dirs" || mkdir
$as_dirs
19902 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19903 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19904 { (exit 1); exit 1; }; }; }
19908 if test "$ac_dir" != .
; then
19909 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19910 # A "../" for each directory in $ac_dir_suffix.
19911 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19913 ac_dir_suffix
= ac_top_builddir
=
19917 .
) # No --srcdir option. We are building in place.
19919 if test -z "$ac_top_builddir"; then
19922 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19924 [\\/]* | ?
:[\\/]* ) # Absolute path.
19925 ac_srcdir
=$srcdir$ac_dir_suffix;
19926 ac_top_srcdir
=$srcdir ;;
19927 *) # Relative path.
19928 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19929 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19932 # Do not use `cd foo && pwd` to compute absolute paths, because
19933 # the directories may not exist.
19935 .
) ac_abs_builddir
="$ac_dir";;
19938 .
) ac_abs_builddir
=`pwd`;;
19939 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
19940 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
19943 case $ac_abs_builddir in
19944 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19946 case ${ac_top_builddir}.
in
19947 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19948 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19949 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19952 case $ac_abs_builddir in
19953 .
) ac_abs_srcdir
=$ac_srcdir;;
19956 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19957 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19958 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19961 case $ac_abs_builddir in
19962 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19964 case $ac_top_srcdir in
19965 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19966 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19967 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19973 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19974 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
19977 if test x
"$ac_file" != x-
; then
19978 { echo "$as_me:$LINENO: creating $ac_file" >&5
19979 echo "$as_me: creating $ac_file" >&6;}
19982 # Let's still pretend it is `configure' which instantiates (i.e., don't
19983 # use $as_me), people would be surprised to read:
19984 # /* config.h. Generated by config.status. */
19985 if test x
"$ac_file" = x-
; then
19988 configure_input
="$ac_file. "
19990 configure_input
=$configure_input"Generated from `echo $ac_file_in |
19991 sed 's,.*/,,'` by configure."
19993 # First look for the input files in the build tree, otherwise in the
19995 ac_file_inputs
=`IFS=:
19996 for f in $ac_file_in; do
19998 -) echo $tmp/stdin ;;
20000 # Absolute (can't be DOS-style, as IFS=:)
20001 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20002 echo "$as_me: error: cannot find input file: $f" >&2;}
20003 { (exit 1); exit 1; }; }
20006 if test -f "$f"; then
20009 elif test -f "$srcdir/$f"; then
20014 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20015 echo "$as_me: error: cannot find input file: $f" >&2;}
20016 { (exit 1); exit 1; }; }
20019 done` ||
{ (exit 1); exit 1; }
20021 cat >>$CONFIG_STATUS <<_ACEOF
20025 cat >>$CONFIG_STATUS <<\_ACEOF
20027 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20028 s
,@configure_input@
,$configure_input,;t t
20029 s
,@srcdir@
,$ac_srcdir,;t t
20030 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20031 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20032 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20033 s
,@builddir@
,$ac_builddir,;t t
20034 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20035 s
,@top_builddir@
,$ac_top_builddir,;t t
20036 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20037 s
,@INSTALL@
,$ac_INSTALL,;t t
20038 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20040 if test x"$ac_file" != x-; then
20041 mv $tmp/out $ac_file
20049 cat >>$CONFIG_STATUS <<\_ACEOF
20052 # CONFIG_HEADER section.
20055 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20056 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20058 # ac_d sets the value in "#define NAME VALUE" lines.
20059 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20060 ac_dB
='[ ].*$,\1#\2'
20063 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20064 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20065 ac_uB
='$,\1#\2define\3'
20069 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20070 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20072 - |
*:- |
*:-:* ) # input from stdin
20074 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20075 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20076 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20077 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20078 * ) ac_file_in
=$ac_file.
in ;;
20081 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20082 echo "$as_me: creating $ac_file" >&6;}
20084 # First look for the input files in the build tree, otherwise in the
20086 ac_file_inputs
=`IFS=:
20087 for f in $ac_file_in; do
20089 -) echo $tmp/stdin ;;
20091 # Absolute (can't be DOS-style, as IFS=:)
20092 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20093 echo "$as_me: error: cannot find input file: $f" >&2;}
20094 { (exit 1); exit 1; }; }
20095 # Do quote $f, to prevent DOS paths from being IFS'd.
20098 if test -f "$f"; then
20101 elif test -f "$srcdir/$f"; then
20106 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20107 echo "$as_me: error: cannot find input file: $f" >&2;}
20108 { (exit 1); exit 1; }; }
20111 done` ||
{ (exit 1); exit 1; }
20112 # Remove the trailing spaces.
20113 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20117 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20118 # `conftest.undefs', that substitutes the proper values into
20119 # config.h.in to produce config.h. The first handles `#define'
20120 # templates, and the second `#undef' templates.
20121 # And first: Protect against being on the right side of a sed subst in
20122 # config.status. Protect against being in an unquoted here document
20123 # in config.status.
20124 rm -f conftest.defines conftest.undefs
20125 # Using a here document instead of a string reduces the quoting nightmare.
20126 # Putting comments in sed scripts is not portable.
20128 # `end' is used to avoid that the second main sed command (meant for
20129 # 0-ary CPP macros) applies to n-ary macro definitions.
20130 # See the Autoconf documentation for `clear'.
20131 cat >confdef2sed.
sed <<\_ACEOF
20136 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20138 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20141 # If some macros were called several times there might be several times
20142 # the same #defines, which is useless. Nevertheless, we may not want to
20143 # sort them, since we want the *last* AC-DEFINE to be honored.
20144 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20145 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20146 rm -f confdef2sed.sed
20148 # This sed command replaces #undef with comments. This is necessary, for
20149 # example, in the case of _POSIX_SOURCE, which is predefined and required
20150 # on some systems where configure will not decide to define it.
20151 cat >>conftest.undefs <<\_ACEOF
20152 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20155 # Break up conftest.defines because some shells have a limit on the size
20156 # of here documents, and old seds have small limits too (100 cmds).
20157 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20158 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20159 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20160 echo ' :' >>$CONFIG_STATUS
20161 rm -f conftest.tail
20162 while grep . conftest.defines >/dev/null
20164 # Write a limited-size here document to $tmp/defines.sed.
20165 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20166 # Speed up: don't consider the non `#define' lines.
20167 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20168 # Work around the forget-to-reset-the-flag bug.
20169 echo 't clr' >>$CONFIG_STATUS
20170 echo ': clr' >>$CONFIG_STATUS
20171 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20173 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20175 mv $tmp/out $tmp/in
20177 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20178 rm -f conftest.defines
20179 mv conftest.
tail conftest.defines
20181 rm -f conftest.defines
20182 echo ' fi # grep' >>$CONFIG_STATUS
20183 echo >>$CONFIG_STATUS
20185 # Break up conftest.undefs because some shells have a limit on the size
20186 # of here documents, and old seds have small limits too (100 cmds).
20187 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20188 rm -f conftest.
tail
20189 while grep . conftest.undefs
>/dev
/null
20191 # Write a limited-size here document to $tmp/undefs.sed.
20192 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20193 # Speed up: don't consider the non
`#undef'
20194 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20195 # Work around the forget-to-reset-the-flag bug.
20196 echo 't clr' >>$CONFIG_STATUS
20197 echo ': clr' >>$CONFIG_STATUS
20198 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20200 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20202 mv $tmp/out $tmp/in
20204 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20205 rm -f conftest.undefs
20206 mv conftest.tail conftest.undefs
20208 rm -f conftest.undefs
20210 cat >>$CONFIG_STATUS <<\_ACEOF
20211 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20212 # use $as_me), people would be surprised to read:
20213 # /* config.h. Generated by config.status. */
20214 if test x
"$ac_file" = x-
; then
20215 echo "/* Generated by configure. */" >$tmp/config.h
20217 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20219 cat $tmp/in >>$tmp/config.h
20221 if test x
"$ac_file" != x-
; then
20222 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20223 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20224 echo "$as_me: $ac_file is unchanged" >&6;}
20226 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20227 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20228 X"$ac_file" : 'X\(//\)[^/]' \| \
20229 X"$ac_file" : 'X\(//\)$' \| \
20230 X"$ac_file" : 'X\(/\)' \| \
20231 . : '\(.\)' 2>/dev/null ||
20233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20234 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20235 /^X\(\/\/\)$/{ s//\1/; q; }
20236 /^X\(\/\).*/{ s//\1/; q; }
20238 { if $as_mkdir_p; then
20243 while test ! -d "$as_dir"; do
20244 as_dirs
="$as_dir $as_dirs"
20245 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20247 X"$as_dir" : 'X\(//\)[^/]' \| \
20248 X"$as_dir" : 'X\(//\)$' \| \
20249 X"$as_dir" : 'X\(/\)' \| \
20250 . : '\(.\)' 2>/dev/null ||
20252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20254 /^X\(\/\/\)$/{ s//\1/; q; }
20255 /^X\(\/\).*/{ s//\1/; q; }
20258 test ! -n "$as_dirs" || mkdir
$as_dirs
20259 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20260 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20261 { (exit 1); exit 1; }; }; }
20264 mv $tmp/config.h
$ac_file
20268 rm -f $tmp/config.h
20270 # Compute $ac_file's index in $config_headers.
20272 for _am_header
in $config_headers :; do
20273 case $_am_header in
20274 $ac_file |
$ac_file:* )
20277 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20280 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20281 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20282 X$ac_file : 'X\(//\)[^/]' \| \
20283 X$ac_file : 'X\(//\)$' \| \
20284 X$ac_file : 'X\(/\)' \| \
20285 . : '\(.\)' 2>/dev/null ||
20287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20288 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20289 /^X\(\/\/\)$/{ s//\1/; q; }
20290 /^X\(\/\).*/{ s//\1/; q; }
20291 s/.*/./; q'`/stamp-h
$_am_stamp_count
20294 cat >>$CONFIG_STATUS <<\_ACEOF
20297 # CONFIG_COMMANDS section.
20299 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20300 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20301 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20302 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20303 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20304 X"$ac_dest" : 'X\(//\)[^/]' \| \
20305 X"$ac_dest" : 'X\(//\)$' \| \
20306 X"$ac_dest" : 'X\(/\)' \| \
20307 . : '\(.\)' 2>/dev/null ||
20309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20310 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20311 /^X\(\/\/\)$/{ s//\1/; q; }
20312 /^X\(\/\).*/{ s//\1/; q; }
20314 { if $as_mkdir_p; then
20319 while test ! -d "$as_dir"; do
20320 as_dirs
="$as_dir $as_dirs"
20321 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20323 X"$as_dir" : 'X\(//\)[^/]' \| \
20324 X"$as_dir" : 'X\(//\)$' \| \
20325 X"$as_dir" : 'X\(/\)' \| \
20326 . : '\(.\)' 2>/dev/null ||
20328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20330 /^X\(\/\/\)$/{ s//\1/; q; }
20331 /^X\(\/\).*/{ s//\1/; q; }
20334 test ! -n "$as_dirs" || mkdir
$as_dirs
20335 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20336 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20337 { (exit 1); exit 1; }; }; }
20341 if test "$ac_dir" != .
; then
20342 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20343 # A "../" for each directory in $ac_dir_suffix.
20344 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20346 ac_dir_suffix
= ac_top_builddir
=
20350 .
) # No --srcdir option. We are building in place.
20352 if test -z "$ac_top_builddir"; then
20355 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20357 [\\/]* | ?
:[\\/]* ) # Absolute path.
20358 ac_srcdir
=$srcdir$ac_dir_suffix;
20359 ac_top_srcdir
=$srcdir ;;
20360 *) # Relative path.
20361 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20362 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20365 # Do not use `cd foo && pwd` to compute absolute paths, because
20366 # the directories may not exist.
20368 .
) ac_abs_builddir
="$ac_dir";;
20371 .
) ac_abs_builddir
=`pwd`;;
20372 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20373 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20376 case $ac_abs_builddir in
20377 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20379 case ${ac_top_builddir}.
in
20380 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20381 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20382 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20385 case $ac_abs_builddir in
20386 .
) ac_abs_srcdir
=$ac_srcdir;;
20389 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20390 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20391 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20394 case $ac_abs_builddir in
20395 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20397 case $ac_top_srcdir in
20398 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20399 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20400 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20405 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20406 echo "$as_me: executing $ac_dest commands" >&6;}
20408 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20409 # Strip MF so we end up with the name of the file.
20410 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20411 # Check whether this is an Automake generated Makefile or not.
20412 # We used to match only the files named `Makefile.in', but
20413 # some people rename them; so instead we look at the file content.
20414 # Grep'ing the first line is not enough: some people post-process
20415 # each Makefile.in and add a new line on top of each file to say so.
20416 # So let's grep whole file.
20417 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
20418 dirpart
=`(dirname "$mf") 2>/dev/null ||
20419 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20420 X"$mf" : 'X\(//\)[^/]' \| \
20421 X"$mf" : 'X\(//\)$' \| \
20422 X"$mf" : 'X\(/\)' \| \
20423 . : '\(.\)' 2>/dev/null ||
20425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20426 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20427 /^X\(\/\/\)$/{ s//\1/; q; }
20428 /^X\(\/\).*/{ s//\1/; q; }
20433 # Extract the definition of DEPDIR, am__include, and am__quote
20434 # from the Makefile without running `make'.
20435 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20436 test -z "$DEPDIR" && continue
20437 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20438 test -z "am__include" && continue
20439 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20440 # When using ansi2knr, U may be empty or an underscore; expand it
20441 U
=`sed -n 's/^U = //p' < "$mf"`
20442 # Find all dependency output files, they are included files with
20443 # $(DEPDIR) in their names. We invoke sed twice because it is the
20444 # simplest approach to changing $(DEPDIR) to its actual value in the
20446 for file in `sed -n "
20447 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20448 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20449 # Make sure the directory exists.
20450 test -f "$dirpart/$file" && continue
20451 fdir
=`(dirname "$file") 2>/dev/null ||
20452 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20453 X"$file" : 'X\(//\)[^/]' \| \
20454 X"$file" : 'X\(//\)$' \| \
20455 X"$file" : 'X\(/\)' \| \
20456 . : '\(.\)' 2>/dev/null ||
20458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20459 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20460 /^X\(\/\/\)$/{ s//\1/; q; }
20461 /^X\(\/\).*/{ s//\1/; q; }
20463 { if $as_mkdir_p; then
20464 mkdir
-p $dirpart/$fdir
20466 as_dir
=$dirpart/$fdir
20468 while test ! -d "$as_dir"; do
20469 as_dirs
="$as_dir $as_dirs"
20470 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20471 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20472 X"$as_dir" : 'X\(//\)[^/]' \| \
20473 X"$as_dir" : 'X\(//\)$' \| \
20474 X"$as_dir" : 'X\(/\)' \| \
20475 . : '\(.\)' 2>/dev/null ||
20477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20478 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20479 /^X\(\/\/\)$/{ s//\1/; q; }
20480 /^X\(\/\).*/{ s//\1/; q; }
20483 test ! -n "$as_dirs" || mkdir
$as_dirs
20484 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20485 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
20486 { (exit 1); exit 1; }; }; }
20488 # echo "creating $dirpart/$file"
20489 echo '# dummy' > "$dirpart/$file"
20497 cat >>$CONFIG_STATUS <<\_ACEOF
20499 { (exit 0); exit 0; }
20501 chmod +x
$CONFIG_STATUS
20502 ac_clean_files
=$ac_clean_files_save
20505 # configure is writing to config.log, and then calls config.status.
20506 # config.status does its own redirection, appending to config.log.
20507 # Unfortunately, on DOS this fails, as config.log is still kept open
20508 # by configure, so config.status won't be able to write to it; its
20509 # output is simply discarded. So we exec the FD to /dev/null,
20510 # effectively closing config.log, so it can be properly (re)opened and
20511 # appended to by config.status. When coming back to configure, we
20512 # need to make the FD available again.
20513 if test "$no_create" != yes; then
20515 ac_config_status_args
=
20516 test "$silent" = yes &&
20517 ac_config_status_args
="$ac_config_status_args --quiet"
20519 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20521 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20522 # would make configure fail if this is the last instruction.
20523 $ac_cs_success ||
{ (exit 1); exit 1; }