2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $echo works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 if test "X${CDPATH+set}" = Xset
; then CDPATH
=:; export CDPATH
; fi
283 if test -z "$ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
289 echo_test_string
="`eval $cmd`" &&
290 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
299 test "X$echo_testing_string" = "X$echo_test_string"; then
302 # The Solaris, AIX, and Digital Unix default echo programs unquote
303 # backslashes. This makes it impossible to quote backslashes using
304 # echo "$something" | sed 's/\\/\\\\/g'
306 # So, first we look for a working echo in the user's PATH.
308 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
309 for dir
in $PATH /usr
/ucb
; do
311 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
312 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314 test "X$echo_testing_string" = "X$echo_test_string"; then
321 if test "X$echo" = Xecho
; then
322 # We didn't find a better echo, so look for alternatives.
323 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
325 test "X$echo_testing_string" = "X$echo_test_string"; then
326 # This shell has a builtin print -r that does the trick.
328 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
329 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
330 # If we have ksh, try running configure again with it.
331 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
332 export ORIGINAL_CONFIG_SHELL
333 CONFIG_SHELL
=/bin
/ksh
335 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
339 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
341 test "X$echo_testing_string" = "X$echo_test_string"; then
344 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345 test "X$echo_testing_string" = 'X\t' &&
346 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347 test "X$echo_testing_string" = "X$echo_test_string"; then
348 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
350 SHELL
="$CONFIG_SHELL"
352 echo="$CONFIG_SHELL $0 --fallback-echo"
353 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 echo="$CONFIG_SHELL $0 --fallback-echo"
359 # maybe with a smaller string...
362 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
370 if test "$prev" != 'sed 50q "$0"'; then
371 echo_test_string
=`eval $prev`
372 export echo_test_string
373 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375 # Oops. We lost completely, so just stick with echo.
384 # Copy echo and quote the copy suitably for passing to libtool from
385 # the Makefile, instead of quoting the original, which is used later.
387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 tagnames
=${tagnames+${tagnames},}CXX
396 tagnames
=${tagnames+${tagnames},}F77
399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400 # so uname gets run too.
401 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
408 ac_default_prefix
=/usr
/local
409 ac_config_libobj_dir
=.
414 SHELL
=${CONFIG_SHELL-/bin/sh}
416 # Maximum number of lines to put in a shell here document.
417 # This variable seems obsolete. It should probably be removed, and
418 # only ac_max_sed_lines should be used.
419 : ${ac_max_here_lines=38}
421 # Identity of this package.
428 ac_unique_file
="configure.in"
429 # Factoring default headers for most tests.
430 ac_includes_default
="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL YACC LEX LEXLIB LEX_OUTPUT_ROOT LIBOBJS LTLIBOBJS'
469 # Initialize some variables set by options.
471 ac_init_version
=false
472 # The variables have the same names as the options, with
473 # dashes changed to underlines.
481 program_transform_name
=s
,x
,x
,
489 # Installation directory options.
490 # These are left unexpanded so users can "make install exec_prefix=/foo"
491 # and all the variables that are supposed to be based on exec_prefix
492 # by default will actually change.
493 # Use braces instead of parens because sh, perl, etc. also accept them.
494 bindir
='${exec_prefix}/bin'
495 sbindir
='${exec_prefix}/sbin'
496 libexecdir
='${exec_prefix}/libexec'
497 datadir
='${prefix}/share'
498 sysconfdir
='${prefix}/etc'
499 sharedstatedir
='${prefix}/com'
500 localstatedir
='${prefix}/var'
501 libdir
='${exec_prefix}/lib'
502 includedir
='${prefix}/include'
503 oldincludedir
='/usr/include'
504 infodir
='${prefix}/info'
505 mandir
='${prefix}/man'
510 # If the previous option needs an argument, assign it.
511 if test -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
517 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
519 # Accept the important Cygnus configure options, so we can diagnose typos.
523 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
525 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
528 -build |
--build |
--buil |
--bui |
--bu)
529 ac_prev
=build_alias
;;
530 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
531 build_alias
=$ac_optarg ;;
533 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
534 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
535 ac_prev
=cache_file
;;
536 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
537 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
538 cache_file
=$ac_optarg ;;
541 cache_file
=config.cache
;;
543 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
545 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
547 datadir
=$ac_optarg ;;
549 -disable-* |
--disable-*)
550 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554 { (exit 1); exit 1; }; }
555 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
556 eval "enable_$ac_feature=no" ;;
558 -enable-* |
--enable-*)
559 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560 # Reject names that are not valid shell variable names.
561 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
562 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563 { (exit 1); exit 1; }; }
564 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
566 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569 eval "enable_$ac_feature='$ac_optarg'" ;;
571 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
572 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
573 |
--exec |
--exe |
--ex)
574 ac_prev
=exec_prefix
;;
575 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
576 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
577 |
--exec=* |
--exe=* |
--ex=*)
578 exec_prefix
=$ac_optarg ;;
580 -gas |
--gas |
--ga |
--g)
581 # Obsolete; use --with-gas.
584 -help |
--help |
--hel |
--he |
-h)
586 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
587 ac_init_help
=recursive
;;
588 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
589 ac_init_help
=short
;;
591 -host |
--host |
--hos |
--ho)
592 ac_prev
=host_alias
;;
593 -host=* |
--host=* |
--hos=* |
--ho=*)
594 host_alias
=$ac_optarg ;;
596 -includedir |
--includedir |
--includedi |
--included |
--include \
597 |
--includ |
--inclu |
--incl |
--inc)
598 ac_prev
=includedir
;;
599 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
600 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
601 includedir
=$ac_optarg ;;
603 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
605 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
606 infodir
=$ac_optarg ;;
608 -libdir |
--libdir |
--libdi |
--libd)
610 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
613 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
614 |
--libexe |
--libex |
--libe)
615 ac_prev
=libexecdir
;;
616 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
617 |
--libexe=* |
--libex=* |
--libe=*)
618 libexecdir
=$ac_optarg ;;
620 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
621 |
--localstate |
--localstat |
--localsta |
--localst \
622 |
--locals |
--local |
--loca |
--loc |
--lo)
623 ac_prev
=localstatedir
;;
624 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
625 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
626 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
627 localstatedir
=$ac_optarg ;;
629 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
631 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
635 # Obsolete; use --without-fp.
638 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
639 |
--no-cr |
--no-c |
-n)
642 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
643 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
646 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
647 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
648 |
--oldin |
--oldi |
--old |
--ol |
--o)
649 ac_prev
=oldincludedir
;;
650 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
651 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
652 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
653 oldincludedir
=$ac_optarg ;;
655 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
657 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
660 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
661 |
--program-pre |
--program-pr |
--program-p)
662 ac_prev
=program_prefix
;;
663 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
664 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
665 program_prefix
=$ac_optarg ;;
667 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
668 |
--program-suf |
--program-su |
--program-s)
669 ac_prev
=program_suffix
;;
670 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
671 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
672 program_suffix
=$ac_optarg ;;
674 -program-transform-name |
--program-transform-name \
675 |
--program-transform-nam |
--program-transform-na \
676 |
--program-transform-n |
--program-transform- \
677 |
--program-transform |
--program-transfor \
678 |
--program-transfo |
--program-transf \
679 |
--program-trans |
--program-tran \
680 |
--progr-tra |
--program-tr |
--program-t)
681 ac_prev
=program_transform_name
;;
682 -program-transform-name=* |
--program-transform-name=* \
683 |
--program-transform-nam=* |
--program-transform-na=* \
684 |
--program-transform-n=* |
--program-transform-=* \
685 |
--program-transform=* |
--program-transfor=* \
686 |
--program-transfo=* |
--program-transf=* \
687 |
--program-trans=* |
--program-tran=* \
688 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
689 program_transform_name
=$ac_optarg ;;
691 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
692 |
-silent |
--silent |
--silen |
--sile |
--sil)
695 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
697 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
699 sbindir
=$ac_optarg ;;
701 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
702 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
703 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
705 ac_prev
=sharedstatedir
;;
706 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
707 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
708 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
710 sharedstatedir
=$ac_optarg ;;
712 -site |
--site |
--sit)
714 -site=* |
--site=* |
--sit=*)
717 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
719 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
722 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
723 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
724 ac_prev
=sysconfdir
;;
725 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
726 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
727 sysconfdir
=$ac_optarg ;;
729 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
730 ac_prev
=target_alias
;;
731 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
732 target_alias
=$ac_optarg ;;
734 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
737 -version |
--version |
--versio |
--versi |
--vers |
-V)
741 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742 # Reject names that are not valid shell variable names.
743 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
744 { echo "$as_me: error: invalid package name: $ac_package" >&2
745 { (exit 1); exit 1; }; }
746 ac_package
=`echo $ac_package| sed 's/-/_/g'`
748 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751 eval "with_$ac_package='$ac_optarg'" ;;
753 -without-* |
--without-*)
754 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
757 { echo "$as_me: error: invalid package name: $ac_package" >&2
758 { (exit 1); exit 1; }; }
759 ac_package
=`echo $ac_package | sed 's/-/_/g'`
760 eval "with_$ac_package=no" ;;
763 # Obsolete; use --with-x.
766 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
767 |
--x-incl |
--x-inc |
--x-in |
--x-i)
768 ac_prev
=x_includes
;;
769 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
770 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
771 x_includes
=$ac_optarg ;;
773 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
774 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
775 ac_prev
=x_libraries
;;
776 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
777 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
778 x_libraries
=$ac_optarg ;;
780 -*) { echo "$as_me: error: unrecognized option: $ac_option
781 Try \`$0 --help' for more information." >&2
782 { (exit 1); exit 1; }; }
786 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
789 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790 { (exit 1); exit 1; }; }
791 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792 eval "$ac_envvar='$ac_optarg'"
796 # FIXME: should be removed in autoconf 3.0.
797 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
798 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
799 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
800 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
806 if test -n "$ac_prev"; then
807 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
808 { echo "$as_me: error: missing argument to $ac_option" >&2
809 { (exit 1); exit 1; }; }
812 # Be sure to have absolute paths.
813 for ac_var
in exec_prefix prefix
815 eval ac_val
=$
`echo $ac_var`
817 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
818 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819 { (exit 1); exit 1; }; };;
823 # Be sure to have absolute paths.
824 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825 localstatedir libdir includedir oldincludedir infodir mandir
827 eval ac_val
=$
`echo $ac_var`
829 [\\/$
]* | ?
:[\\/]* ) ;;
830 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831 { (exit 1); exit 1; }; };;
835 # There might be people who depend on the old broken behavior: `$host'
836 # used to hold the argument of --host etc.
837 # FIXME: To remove some day.
842 # FIXME: To remove some day.
843 if test "x$host_alias" != x
; then
844 if test "x$build_alias" = x
; then
845 cross_compiling
=maybe
846 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
847 If a cross compiler is detected then cross compile mode will be used." >&2
848 elif test "x$build_alias" != "x$host_alias"; then
854 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
856 test "$silent" = yes && exec 6>/dev
/null
859 # Find the source files, if location was not specified.
860 if test -z "$srcdir"; then
861 ac_srcdir_defaulted
=yes
862 # Try the directory containing this script, then its parent.
863 ac_confdir
=`(dirname "$0") 2>/dev/null ||
864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865 X"$0" : 'X\(//\)[^/]' \| \
866 X"$0" : 'X\(//\)$' \| \
867 X"$0" : 'X\(/\)' \| \
868 . : '\(.\)' 2>/dev/null ||
870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872 /^X\(\/\/\)$/{ s//\1/; q; }
873 /^X\(\/\).*/{ s//\1/; q; }
876 if test ! -r $srcdir/$ac_unique_file; then
880 ac_srcdir_defaulted
=no
882 if test ! -r $srcdir/$ac_unique_file; then
883 if test "$ac_srcdir_defaulted" = yes; then
884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885 { (exit 1); exit 1; }; }
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888 { (exit 1); exit 1; }; }
891 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
892 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893 { (exit 1); exit 1; }; }
894 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895 ac_env_build_alias_set
=${build_alias+set}
896 ac_env_build_alias_value
=$build_alias
897 ac_cv_env_build_alias_set
=${build_alias+set}
898 ac_cv_env_build_alias_value
=$build_alias
899 ac_env_host_alias_set
=${host_alias+set}
900 ac_env_host_alias_value
=$host_alias
901 ac_cv_env_host_alias_set
=${host_alias+set}
902 ac_cv_env_host_alias_value
=$host_alias
903 ac_env_target_alias_set
=${target_alias+set}
904 ac_env_target_alias_value
=$target_alias
905 ac_cv_env_target_alias_set
=${target_alias+set}
906 ac_cv_env_target_alias_value
=$target_alias
907 ac_env_CXX_set
=${CXX+set}
908 ac_env_CXX_value
=$CXX
909 ac_cv_env_CXX_set
=${CXX+set}
910 ac_cv_env_CXX_value
=$CXX
911 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
912 ac_env_CXXFLAGS_value
=$CXXFLAGS
913 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
914 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
915 ac_env_LDFLAGS_set
=${LDFLAGS+set}
916 ac_env_LDFLAGS_value
=$LDFLAGS
917 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_cv_env_LDFLAGS_value
=$LDFLAGS
919 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
920 ac_env_CPPFLAGS_value
=$CPPFLAGS
921 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_env_CC_set
=${CC+set}
925 ac_cv_env_CC_set
=${CC+set}
926 ac_cv_env_CC_value
=$CC
927 ac_env_CFLAGS_set
=${CFLAGS+set}
928 ac_env_CFLAGS_value
=$CFLAGS
929 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
930 ac_cv_env_CFLAGS_value
=$CFLAGS
931 ac_env_CPP_set
=${CPP+set}
932 ac_env_CPP_value
=$CPP
933 ac_cv_env_CPP_set
=${CPP+set}
934 ac_cv_env_CPP_value
=$CPP
935 ac_env_CXXCPP_set
=${CXXCPP+set}
936 ac_env_CXXCPP_value
=$CXXCPP
937 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
938 ac_cv_env_CXXCPP_value
=$CXXCPP
939 ac_env_F77_set
=${F77+set}
940 ac_env_F77_value
=$F77
941 ac_cv_env_F77_set
=${F77+set}
942 ac_cv_env_F77_value
=$F77
943 ac_env_FFLAGS_set
=${FFLAGS+set}
944 ac_env_FFLAGS_value
=$FFLAGS
945 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
946 ac_cv_env_FFLAGS_value
=$FFLAGS
949 # Report the --help message.
951 if test "$ac_init_help" = "long"; then
952 # Omit some internal or obsolete options to make the list less imposing.
953 # This message is too long to be a string in the A/UX 3.1 sh.
955 \`configure' configures this package to adapt to many kinds of systems.
957 Usage: $0 [OPTION]... [VAR=VALUE]...
959 To assign environment variables (e.g., CC, CFLAGS...), specify them as
960 VAR=VALUE. See below for descriptions of some of the useful variables.
962 Defaults for the options are specified in brackets.
965 -h, --help display this help and exit
966 --help=short display options specific to this package
967 --help=recursive display the short help of all the included packages
968 -V, --version display version information and exit
969 -q, --quiet, --silent do not print \`checking...' messages
970 --cache-file=FILE cache test results in FILE [disabled]
971 -C, --config-cache alias for \`--cache-file=config.cache'
972 -n, --no-create do not create output files
973 --srcdir=DIR find the sources in DIR [configure dir or \`..']
978 Installation directories:
979 --prefix=PREFIX install architecture-independent files in PREFIX
981 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
984 By default, \`make install' will install all the files in
985 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
986 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
987 for instance \`--prefix=\$HOME'.
989 For better control, use the options below.
991 Fine tuning of the installation directories:
992 --bindir=DIR user executables [EPREFIX/bin]
993 --sbindir=DIR system admin executables [EPREFIX/sbin]
994 --libexecdir=DIR program executables [EPREFIX/libexec]
995 --datadir=DIR read-only architecture-independent data [PREFIX/share]
996 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
997 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
998 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
999 --libdir=DIR object code libraries [EPREFIX/lib]
1000 --includedir=DIR C header files [PREFIX/include]
1001 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1002 --infodir=DIR info documentation [PREFIX/info]
1003 --mandir=DIR man documentation [PREFIX/man]
1009 --program-prefix=PREFIX prepend PREFIX to installed program names
1010 --program-suffix=SUFFIX append SUFFIX to installed program names
1011 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1014 --build=BUILD configure
for building on BUILD
[guessed
]
1015 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1019 if test -n "$ac_init_help"; then
1024 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1025 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1026 --disable-dependency-tracking speeds up one-time build
1027 --enable-dependency-tracking do not reject slow dependency extractors
1028 --enable-shared[=PKGS
]
1029 build shared libraries
[default
=yes]
1030 --enable-static[=PKGS
]
1031 build static libraries
[default
=yes]
1032 --enable-fast-install[=PKGS
]
1033 optimize
for fast installation
[default
=yes]
1034 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1037 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1038 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1039 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1040 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1043 include additional configurations
[automatic
]
1045 Some influential environment variables
:
1046 CXX C
++ compiler
command
1047 CXXFLAGS C
++ compiler flags
1048 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1049 nonstandard directory
<lib dir
>
1050 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1051 headers
in a nonstandard directory
<include dir
>
1052 CC C compiler
command
1053 CFLAGS C compiler flags
1055 CXXCPP C
++ preprocessor
1056 F77 Fortran
77 compiler
command
1057 FFLAGS Fortran
77 compiler flags
1059 Use these variables to override the choices made by
`configure' or to help
1060 it to find libraries and programs with nonstandard names/locations.
1065 if test "$ac_init_help" = "recursive"; then
1066 # If there are subdirs, report their specific --help.
1068 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1069 test -d $ac_dir || continue
1072 if test "$ac_dir" != .; then
1073 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1074 # A "../" for each directory in $ac_dir_suffix.
1075 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1077 ac_dir_suffix= ac_top_builddir=
1081 .) # No --srcdir option. We are building in place.
1083 if test -z "$ac_top_builddir"; then
1086 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1088 [\\/]* | ?:[\\/]* ) # Absolute path.
1089 ac_srcdir=$srcdir$ac_dir_suffix;
1090 ac_top_srcdir=$srcdir ;;
1092 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1093 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1096 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1097 # the directories may not exist.
1099 .) ac_abs_builddir="$ac_dir";;
1102 .) ac_abs_builddir=`pwd`;;
1103 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1104 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1107 case $ac_abs_builddir in
1108 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1110 case ${ac_top_builddir}. in
1111 .) ac_abs_top_builddir=$ac_abs_builddir;;
1112 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1113 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1116 case $ac_abs_builddir in
1117 .) ac_abs_srcdir=$ac_srcdir;;
1120 .) ac_abs_srcdir=$ac_abs_builddir;;
1121 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1122 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1125 case $ac_abs_builddir in
1126 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1128 case $ac_top_srcdir in
1129 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1130 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1131 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1136 # Check for guested configure; otherwise get Cygnus style configure.
1137 if test -f $ac_srcdir/configure.gnu; then
1139 $SHELL $ac_srcdir/configure.gnu --help=recursive
1140 elif test -f $ac_srcdir/configure; then
1142 $SHELL $ac_srcdir/configure --help=recursive
1143 elif test -f $ac_srcdir/configure.ac ||
1144 test -f $ac_srcdir/configure.in; then
1146 $ac_configure --help
1148 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1154 test -n "$ac_init_help" && exit 0
1155 if $ac_init_version; then
1158 Copyright (C) 2003 Free Software Foundation, Inc.
1159 This configure script is free software; the Free Software Foundation
1160 gives unlimited permission to copy, distribute and modify it.
1166 This file contains any messages produced by compilers while
1167 running configure, to aid debugging if configure makes a mistake.
1169 It was created by $as_me, which was
1170 generated by GNU Autoconf 2.59. Invocation command line was
1181 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1182 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1183 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1184 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1185 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1187 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1188 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1190 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1191 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1192 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1193 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1194 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1195 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1196 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1204 test -z "$as_dir" && as_dir=.
1205 echo "PATH: $as_dir"
1220 # Keep a trace of the command line.
1221 # Strip out --no-create and --no-recursion so they do not pile up.
1222 # Strip out --silent because we don't want to record it for future runs.
1223 # Also quote any args containing shell meta-characters.
1224 # Make two passes to allow for proper duplicate-argument suppression.
1229 ac_must_keep_next=false
1235 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1237 | -silent | --silent | --silen | --sile | --sil)
1239 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1240 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1243 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1245 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1246 if test $ac_must_keep_next = true; then
1247 ac_must_keep_next=false # Got value, back to normal.
1250 *=* | --config-cache | -C | -disable-* | --disable-* \
1251 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1252 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1253 | -with-* | --with-* | -without-* | --without-* | --x)
1254 case "$ac_configure_args0 " in
1255 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1258 -* ) ac_must_keep_next=true ;;
1261 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1262 # Get rid of the leading space.
1268 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1269 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1271 # When interrupted or exit'd, cleanup temporary files, and complete
1272 # config.log. We remove comments because anyway the quotes in there
1273 # would cause problems or look ugly.
1274 # WARNING: Be sure not to use single quotes in there, as some shells,
1275 # such as our DU 5.0 friend, will then `close
' the trap.
1276 trap 'exit_status
=$?
1277 # Save into config.log some information that might help in debugging.
1282 ## ---------------- ##
1283 ## Cache variables. ##
1284 ## ---------------- ##
1287 # The following way of writing the cache mishandles newlines in values,
1290 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1293 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1305 ## ----------------- ##
1306 ## Output variables. ##
1307 ## ----------------- ##
1310 for ac_var
in $ac_subst_vars
1312 eval ac_val
=$
`echo $ac_var`
1313 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -n "$ac_subst_files"; then
1324 for ac_var
in $ac_subst_files
1326 eval ac_val
=$
`echo $ac_var`
1327 echo "$ac_var='"'"'$ac_val'"'"'"
1332 if test -s confdefs.h
; then
1339 sed "/^$/d" confdefs.h |
sort
1342 test "$ac_signal" != 0 &&
1343 echo "$as_me: caught signal $ac_signal"
1344 echo "$as_me: exit $exit_status"
1346 rm -f core
*.core
&&
1347 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1350 for ac_signal in 1 2 13 15; do
1351 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1355 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1356 rm -rf conftest* confdefs.h
1357 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1360 # Predefined preprocessor variables.
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_NAME "$PACKAGE_NAME"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1372 cat >>confdefs.h <<_ACEOF
1373 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1377 cat >>confdefs.h <<_ACEOF
1378 #define PACKAGE_STRING "$PACKAGE_STRING"
1382 cat >>confdefs.h <<_ACEOF
1383 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1387 # Let the site file select an alternate cache file if it wants to.
1388 # Prefer explicitly selected file to automatically selected ones.
1389 if test -z "$CONFIG_SITE"; then
1390 if test "x$prefix" != xNONE; then
1391 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1393 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1396 for ac_site_file in $CONFIG_SITE; do
1397 if test -r "$ac_site_file"; then
1398 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1399 echo "$as_me: loading site script $ac_site_file" >&6;}
1400 sed 's
/^
/|
/' "$ac_site_file" >&5
1405 if test -r "$cache_file"; then
1406 # Some versions of bash will fail to source /dev/null (special
1407 # files actually), so we avoid doing that.
1408 if test -f "$cache_file"; then
1409 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1410 echo "$as_me: loading cache $cache_file" >&6;}
1412 [\\/]* | ?:[\\/]* ) . $cache_file;;
1413 *) . ./$cache_file;;
1417 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1418 echo "$as_me: creating cache $cache_file" >&6;}
1422 # Check that the precious variables saved in the cache have kept the same
1424 ac_cache_corrupted=false
1425 for ac_var in `(set) 2>&1 |
1426 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1427 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1428 eval ac_new_set=\$ac_env_${ac_var}_set
1429 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1430 eval ac_new_val="\$ac_env_${ac_var}_value"
1431 case $ac_old_set,$ac_new_set in
1433 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1434 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1435 ac_cache_corrupted=: ;;
1437 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1438 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1439 ac_cache_corrupted=: ;;
1442 if test "x$ac_old_val" != "x$ac_new_val"; then
1443 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1444 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1445 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1446 echo "$as_me: former value: $ac_old_val" >&2;}
1447 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1448 echo "$as_me: current value: $ac_new_val" >&2;}
1449 ac_cache_corrupted=:
1452 # Pass precious variables to config.status.
1453 if test "$ac_new_set" = set; then
1455 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1456 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1457 *) ac_arg=$ac_var=$ac_new_val ;;
1459 case " $ac_configure_args " in
1460 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1461 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1465 if $ac_cache_corrupted; then
1466 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1467 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1468 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1469 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1470 { (exit 1); exit 1; }; }
1474 ac_cpp='$CPP $CPPFLAGS'
1475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1476 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1498 ac_config_headers="$ac_config_headers config.h"
1500 am__api_version="1.9"
1502 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1503 if test -f $ac_dir/install-sh; then
1505 ac_install_sh="$ac_aux_dir/install-sh -c"
1507 elif test -f $ac_dir/install.sh; then
1509 ac_install_sh="$ac_aux_dir/install.sh -c"
1511 elif test -f $ac_dir/shtool; then
1513 ac_install_sh="$ac_aux_dir/shtool install -c"
1517 if test -z "$ac_aux_dir"; then
1518 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1519 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1520 { (exit 1); exit 1; }; }
1522 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1523 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1524 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1526 # Find a good install program. We prefer a C program (faster),
1527 # so one script is as good as another. But avoid the broken or
1528 # incompatible versions:
1529 # SysV /etc/install, /usr/sbin/install
1530 # SunOS /usr/etc/install
1531 # IRIX /sbin/install
1533 # AmigaOS /C/install, which installs bootblocks on floppy discs
1534 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1535 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1536 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1537 # OS/2's system install, which has a completely different semantic
1538 # ./install, which can be erroneously created by make from ./install.sh.
1539 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1540 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1541 if test -z "$INSTALL"; then
1542 if test "${ac_cv_path_install+set}" = set; then
1543 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1549 test -z "$as_dir" && as_dir
=.
1550 # Account for people who put trailing slashes in PATH elements.
1552 .
/ | .
// |
/cC
/* | \
1553 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1554 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1557 # OSF1 and SCO ODT 3.0 have their own names for install.
1558 # Don't use installbsd from OSF since it installs stuff as root
1560 for ac_prog
in ginstall scoinst
install; do
1561 for ac_exec_ext
in '' $ac_executable_extensions; do
1562 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1563 if test $ac_prog = install &&
1564 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1565 # AIX install. It has an incompatible calling convention.
1567 elif test $ac_prog = install &&
1568 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1569 # program-specific install script used by HP pwplus--don't use.
1572 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1584 if test "${ac_cv_path_install+set}" = set; then
1585 INSTALL
=$ac_cv_path_install
1587 # As a last resort, use the slow shell script. We don't cache a
1588 # path for INSTALL within a source directory, because that will
1589 # break other packages using the cache if that directory is
1590 # removed, or if the path is relative.
1591 INSTALL
=$ac_install_sh
1594 echo "$as_me:$LINENO: result: $INSTALL" >&5
1595 echo "${ECHO_T}$INSTALL" >&6
1597 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1598 # It thinks the first close brace ends the variable substitution.
1599 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1601 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1603 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1605 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1606 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1609 echo timestamp
> conftest.
file
1610 # Do `set' in a subshell so we don't clobber the current shell's
1611 # arguments. Must try -L first in case configure is actually a
1612 # symlink; some systems play weird games with the mod time of symlinks
1613 # (eg FreeBSD returns the mod time of the symlink's containing
1616 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1617 if test "$*" = "X"; then
1619 set X
`ls -t $srcdir/configure conftest.file`
1622 if test "$*" != "X $srcdir/configure conftest.file" \
1623 && test "$*" != "X conftest.file $srcdir/configure"; then
1625 # If neither matched, then we have a broken ls. This can happen
1626 # if, for instance, CONFIG_SHELL is bash and it inherits a
1627 # broken ls alias from the environment. This has actually
1628 # happened. Such a system could not be considered "sane".
1629 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1630 alias in your environment" >&5
1631 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1632 alias in your environment" >&2;}
1633 { (exit 1); exit 1; }; }
1636 test "$2" = conftest.
file
1642 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1643 Check your system clock" >&5
1644 echo "$as_me: error: newly created file is older than distributed files!
1645 Check your system clock" >&2;}
1646 { (exit 1); exit 1; }; }
1648 echo "$as_me:$LINENO: result: yes" >&5
1649 echo "${ECHO_T}yes" >&6
1650 test "$program_prefix" != NONE
&&
1651 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1652 # Use a double $ so make ignores it.
1653 test "$program_suffix" != NONE
&&
1654 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1655 # Double any \ or $. echo might interpret backslashes.
1656 # By default was `s,x,x', remove it if useless.
1657 cat <<\_ACEOF
>conftest.
sed
1658 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1660 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1663 # expand $ac_aux_dir to an absolute path
1664 am_aux_dir
=`cd $ac_aux_dir && pwd`
1666 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1667 # Use eval to expand $SHELL
1668 if eval "$MISSING --run true"; then
1669 am_missing_run
="$MISSING --run "
1672 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1673 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1676 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1677 # We used to keeping the `.' as first argument, in order to
1678 # allow $(mkdir_p) to be used without argument. As in
1679 # $(mkdir_p) $(somedir)
1680 # where $(somedir) is conditionally defined. However this is wrong
1682 # 1. if the package is installed by a user who cannot write `.'
1683 # make install will fail,
1684 # 2. the above comment should most certainly read
1685 # $(mkdir_p) $(DESTDIR)$(somedir)
1686 # so it does not work when $(somedir) is undefined and
1687 # $(DESTDIR) is not.
1688 # To support the latter case, we have to write
1689 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1690 # so the `.' trick is pointless.
1691 mkdir_p
='mkdir -p --'
1693 # On NextStep and OpenStep, the `mkdir' command does not
1694 # recognize any option. It will interpret all options as
1695 # directories to create, and then abort because `.' already
1697 for d
in .
/-p .
/--version;
1699 test -d $d && rmdir $d
1701 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1702 if test -f "$ac_aux_dir/mkinstalldirs"; then
1703 mkdir_p
='$(mkinstalldirs)'
1705 mkdir_p
='$(install_sh) -d'
1709 for ac_prog
in gawk mawk nawk
awk
1711 # Extract the first word of "$ac_prog", so it can be a program name with args.
1712 set dummy
$ac_prog; ac_word
=$2
1713 echo "$as_me:$LINENO: checking for $ac_word" >&5
1714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1715 if test "${ac_cv_prog_AWK+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1718 if test -n "$AWK"; then
1719 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1725 test -z "$as_dir" && as_dir
=.
1726 for ac_exec_ext
in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1728 ac_cv_prog_AWK
="$ac_prog"
1729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1738 if test -n "$AWK"; then
1739 echo "$as_me:$LINENO: result: $AWK" >&5
1740 echo "${ECHO_T}$AWK" >&6
1742 echo "$as_me:$LINENO: result: no" >&5
1743 echo "${ECHO_T}no" >&6
1746 test -n "$AWK" && break
1749 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1750 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1751 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1752 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 cat >conftest.
make <<\_ACEOF
1757 @
echo 'ac_maketemp="$(MAKE)"'
1759 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1760 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1761 if test -n "$ac_maketemp"; then
1762 eval ac_cv_prog_make_
${ac_make}_set
=yes
1764 eval ac_cv_prog_make_
${ac_make}_set
=no
1768 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1769 echo "$as_me:$LINENO: result: yes" >&5
1770 echo "${ECHO_T}yes" >&6
1773 echo "$as_me:$LINENO: result: no" >&5
1774 echo "${ECHO_T}no" >&6
1775 SET_MAKE
="MAKE=${MAKE-make}"
1778 rm -rf .tst
2>/dev
/null
1779 mkdir .tst
2>/dev
/null
1780 if test -d .tst
; then
1785 rmdir .tst
2>/dev
/null
1787 # test to see if srcdir already configured
1788 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1789 test -f $srcdir/config.status
; then
1790 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1791 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1792 { (exit 1); exit 1; }; }
1795 # test whether we have cygpath
1796 if test -z "$CYGPATH_W"; then
1797 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1798 CYGPATH_W
='cygpath -w'
1805 # Define the identity of the package.
1810 cat >>confdefs.h
<<_ACEOF
1811 #define PACKAGE "$PACKAGE"
1815 cat >>confdefs.h
<<_ACEOF
1816 #define VERSION "$VERSION"
1819 # Some tools Automake needs.
1821 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1824 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1827 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1830 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1833 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1835 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1837 # Installed binaries are usually stripped using `strip' when the user
1838 # run `make install-strip'. However `strip' might not be the right
1839 # tool to use in cross-compilation environments, therefore Automake
1840 # will honor the `STRIP' environment variable to overrule this program.
1841 if test "$cross_compiling" != no
; then
1842 if test -n "$ac_tool_prefix"; then
1843 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1844 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_STRIP+set}" = set; then
1848 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 if test -n "$STRIP"; then
1851 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1857 test -z "$as_dir" && as_dir
=.
1858 for ac_exec_ext
in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 STRIP
=$ac_cv_prog_STRIP
1870 if test -n "$STRIP"; then
1871 echo "$as_me:$LINENO: result: $STRIP" >&5
1872 echo "${ECHO_T}$STRIP" >&6
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1879 if test -z "$ac_cv_prog_STRIP"; then
1881 # Extract the first word of "strip", so it can be a program name with args.
1882 set dummy strip
; ac_word
=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 if test -n "$ac_ct_STRIP"; then
1889 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir
=.
1896 for ac_exec_ext
in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_ac_ct_STRIP
="strip"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1905 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1908 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1909 if test -n "$ac_ct_STRIP"; then
1910 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1911 echo "${ECHO_T}$ac_ct_STRIP" >&6
1913 echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6
1919 STRIP
="$ac_cv_prog_STRIP"
1923 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1925 # We need awk for the "check" target. The system "awk" is bad on
1927 # Always define AMTAR for backward compatibility.
1929 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1931 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1939 ac_cpp
='$CXXCPP $CPPFLAGS'
1940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1945 ac_cpp
='$CXXCPP $CPPFLAGS'
1946 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1947 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1948 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1949 if test -n "$ac_tool_prefix"; then
1950 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
1952 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1953 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1954 echo "$as_me:$LINENO: checking for $ac_word" >&5
1955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1956 if test "${ac_cv_prog_CXX+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 if test -n "$CXX"; then
1960 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1966 test -z "$as_dir" && as_dir
=.
1967 for ac_exec_ext
in '' $ac_executable_extensions; do
1968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1969 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
1970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1979 if test -n "$CXX"; then
1980 echo "$as_me:$LINENO: result: $CXX" >&5
1981 echo "${ECHO_T}$CXX" >&6
1983 echo "$as_me:$LINENO: result: no" >&5
1984 echo "${ECHO_T}no" >&6
1987 test -n "$CXX" && break
1990 if test -z "$CXX"; then
1992 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
1994 # Extract the first word of "$ac_prog", so it can be a program name with args.
1995 set dummy
$ac_prog; ac_word
=$2
1996 echo "$as_me:$LINENO: checking for $ac_word" >&5
1997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1998 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 if test -n "$ac_ct_CXX"; then
2002 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2008 test -z "$as_dir" && as_dir
=.
2009 for ac_exec_ext
in '' $ac_executable_extensions; do
2010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2011 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2020 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2021 if test -n "$ac_ct_CXX"; then
2022 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2023 echo "${ECHO_T}$ac_ct_CXX" >&6
2025 echo "$as_me:$LINENO: result: no" >&5
2026 echo "${ECHO_T}no" >&6
2029 test -n "$ac_ct_CXX" && break
2031 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2037 # Provide some information about the compiler.
2038 echo "$as_me:$LINENO:" \
2039 "checking for C++ compiler version" >&5
2040 ac_compiler
=`set X $ac_compile; echo $2`
2041 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2042 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045 (exit $ac_status); }
2046 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2047 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050 (exit $ac_status); }
2051 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2052 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); }
2057 cat >conftest.
$ac_ext <<_ACEOF
2060 cat confdefs.h
>>conftest.
$ac_ext
2061 cat >>conftest.
$ac_ext <<_ACEOF
2062 /* end confdefs.h. */
2072 ac_clean_files_save
=$ac_clean_files
2073 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2074 # Try to create an executable without -o first, disregard a.out.
2075 # It will help us diagnose broken compilers, and finding out an intuition
2077 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2078 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2079 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2080 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2081 (eval $ac_link_default) 2>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; then
2085 # Find the output, starting from the most likely. This scheme is
2086 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2089 # Be careful to initialize this variable, since it used to be cached.
2090 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2092 # b.out is created by i960 compilers.
2093 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2095 test -f "$ac_file" ||
continue
2097 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2100 # This is the source file.
2103 # We found the default executable, but exeext='' is most
2107 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2108 # FIXME: I believe we export ac_cv_exeext for Libtool,
2109 # but it would be cool to find out if it's true. Does anybody
2110 # maintain Libtool? --akim.
2118 echo "$as_me: failed program was:" >&5
2119 sed 's/^/| /' conftest.
$ac_ext >&5
2121 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2122 See \`config.log' for more details." >&5
2123 echo "$as_me: error: C++ compiler cannot create executables
2124 See \`config.log' for more details." >&2;}
2125 { (exit 77); exit 77; }; }
2128 ac_exeext
=$ac_cv_exeext
2129 echo "$as_me:$LINENO: result: $ac_file" >&5
2130 echo "${ECHO_T}$ac_file" >&6
2132 # Check the compiler produces executables we can run. If not, either
2133 # the compiler is broken, or we cross compile.
2134 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2135 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2136 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2137 # If not cross compiling, check that we can run a simple program.
2138 if test "$cross_compiling" != yes; then
2139 if { ac_try
='./$ac_file'
2140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144 (exit $ac_status); }; }; then
2147 if test "$cross_compiling" = maybe
; then
2150 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2151 If you meant to cross compile, use \`--host'.
2152 See \`config.log' for more details." >&5
2153 echo "$as_me: error: cannot run C++ compiled programs.
2154 If you meant to cross compile, use \`--host'.
2155 See \`config.log' for more details." >&2;}
2156 { (exit 1); exit 1; }; }
2160 echo "$as_me:$LINENO: result: yes" >&5
2161 echo "${ECHO_T}yes" >&6
2163 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2164 ac_clean_files
=$ac_clean_files_save
2165 # Check the compiler produces executables we can run. If not, either
2166 # the compiler is broken, or we cross compile.
2167 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2168 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2169 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2170 echo "${ECHO_T}$cross_compiling" >&6
2172 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2173 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2175 (eval $ac_link) 2>&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; then
2179 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2180 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2181 # work properly (i.e., refer to `conftest.exe'), while it won't with
2183 for ac_file
in conftest.exe conftest conftest.
*; do
2184 test -f "$ac_file" ||
continue
2186 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2187 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2194 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2195 See \`config.log' for more details." >&5
2196 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2197 See \`config.log' for more details." >&2;}
2198 { (exit 1); exit 1; }; }
2201 rm -f conftest
$ac_cv_exeext
2202 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2203 echo "${ECHO_T}$ac_cv_exeext" >&6
2205 rm -f conftest.
$ac_ext
2206 EXEEXT
=$ac_cv_exeext
2208 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2209 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2210 if test "${ac_cv_objext+set}" = set; then
2211 echo $ECHO_N "(cached) $ECHO_C" >&6
2213 cat >conftest.
$ac_ext <<_ACEOF
2216 cat confdefs.h
>>conftest.
$ac_ext
2217 cat >>conftest.
$ac_ext <<_ACEOF
2218 /* end confdefs.h. */
2228 rm -f conftest.o conftest.obj
2229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2230 (eval $ac_compile) 2>&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }; then
2234 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2236 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2237 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2242 echo "$as_me: failed program was:" >&5
2243 sed 's/^/| /' conftest.
$ac_ext >&5
2245 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2246 See \`config.log' for more details." >&5
2247 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2248 See \`config.log' for more details." >&2;}
2249 { (exit 1); exit 1; }; }
2252 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2254 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2255 echo "${ECHO_T}$ac_cv_objext" >&6
2256 OBJEXT
=$ac_cv_objext
2258 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2259 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2260 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 cat >conftest.
$ac_ext <<_ACEOF
2266 cat confdefs.h
>>conftest.
$ac_ext
2267 cat >>conftest.
$ac_ext <<_ACEOF
2268 /* end confdefs.h. */
2281 rm -f conftest.
$ac_objext
2282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2283 (eval $ac_compile) 2>conftest.er1
2285 grep -v '^ *+' conftest.er1
>conftest.err
2287 cat conftest.err
>&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); } &&
2290 { ac_try
='test -z "$ac_cxx_werror_flag"
2291 || test ! -s conftest.err'
2292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); }; } &&
2297 { ac_try
='test -s conftest.$ac_objext'
2298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); }; }; then
2305 echo "$as_me: failed program was:" >&5
2306 sed 's/^/| /' conftest.
$ac_ext >&5
2310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2311 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2314 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2315 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2316 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2317 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2318 ac_save_CXXFLAGS
=$CXXFLAGS
2320 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2321 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2322 if test "${ac_cv_prog_cxx_g+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 cat >conftest.
$ac_ext <<_ACEOF
2328 cat confdefs.h
>>conftest.
$ac_ext
2329 cat >>conftest.
$ac_ext <<_ACEOF
2330 /* end confdefs.h. */
2340 rm -f conftest.
$ac_objext
2341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2342 (eval $ac_compile) 2>conftest.er1
2344 grep -v '^ *+' conftest.er1
>conftest.err
2346 cat conftest.err
>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); } &&
2349 { ac_try
='test -z "$ac_cxx_werror_flag"
2350 || test ! -s conftest.err'
2351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }; } &&
2356 { ac_try
='test -s conftest.$ac_objext'
2357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }; }; then
2362 ac_cv_prog_cxx_g
=yes
2364 echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.
$ac_ext >&5
2369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2371 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2372 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2373 if test "$ac_test_CXXFLAGS" = set; then
2374 CXXFLAGS
=$ac_save_CXXFLAGS
2375 elif test $ac_cv_prog_cxx_g = yes; then
2376 if test "$GXX" = yes; then
2382 if test "$GXX" = yes; then
2388 for ac_declaration
in \
2390 'extern "C" void std::exit (int) throw (); using std::exit;' \
2391 'extern "C" void std::exit (int); using std::exit;' \
2392 'extern "C" void exit (int) throw ();' \
2393 'extern "C" void exit (int);' \
2396 cat >conftest.
$ac_ext <<_ACEOF
2399 cat confdefs.h
>>conftest.
$ac_ext
2400 cat >>conftest.
$ac_ext <<_ACEOF
2401 /* end confdefs.h. */
2412 rm -f conftest.
$ac_objext
2413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2414 (eval $ac_compile) 2>conftest.er1
2416 grep -v '^ *+' conftest.er1
>conftest.err
2418 cat conftest.err
>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); } &&
2421 { ac_try
='test -z "$ac_cxx_werror_flag"
2422 || test ! -s conftest.err'
2423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; } &&
2428 { ac_try
='test -s conftest.$ac_objext'
2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }; }; then
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.
$ac_ext >&5
2441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2442 cat >conftest.
$ac_ext <<_ACEOF
2445 cat confdefs.h
>>conftest.
$ac_ext
2446 cat >>conftest.
$ac_ext <<_ACEOF
2447 /* end confdefs.h. */
2457 rm -f conftest.
$ac_objext
2458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2459 (eval $ac_compile) 2>conftest.er1
2461 grep -v '^ *+' conftest.er1
>conftest.err
2463 cat conftest.err
>&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); } &&
2466 { ac_try
='test -z "$ac_cxx_werror_flag"
2467 || test ! -s conftest.err'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; } &&
2473 { ac_try
='test -s conftest.$ac_objext'
2474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; }; then
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.
$ac_ext >&5
2485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2488 if test -n "$ac_declaration"; then
2489 echo '#ifdef __cplusplus' >>confdefs.h
2490 echo $ac_declaration >>confdefs.h
2491 echo '#endif' >>confdefs.h
2495 ac_cpp
='$CXXCPP $CPPFLAGS'
2496 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2497 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2498 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2499 DEPDIR
="${am__leading_dot}deps"
2501 ac_config_commands
="$ac_config_commands depfiles"
2504 am_make
=${MAKE-make}
2505 cat > confinc
<< 'END'
2510 # If we don't find an include directive, just comment out the code.
2511 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2512 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2516 # First try GNU make style include.
2517 echo "include confinc" > confmf
2518 # We grep out `Entering directory' and `Leaving directory'
2519 # messages which can occur if `w' ends up in MAKEFLAGS.
2520 # In particular we don't look at `^make:' because GNU make might
2521 # be invoked under some other name (usually "gmake"), in which
2522 # case it prints its new name instead of `make'.
2523 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2528 # Now try BSD make style include.
2529 if test "$am__include" = "#"; then
2530 echo '.include "confinc"' > confmf
2531 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2532 am__include
=.include
2539 echo "$as_me:$LINENO: result: $_am_result" >&5
2540 echo "${ECHO_T}$_am_result" >&6
2541 rm -f confinc confmf
2543 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2544 if test "${enable_dependency_tracking+set}" = set; then
2545 enableval
="$enable_dependency_tracking"
2548 if test "x$enable_dependency_tracking" != xno
; then
2549 am_depcomp
="$ac_aux_dir/depcomp"
2554 if test "x$enable_dependency_tracking" != xno; then
2565 depcc
="$CXX" am_compiler_list
=
2567 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2568 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2569 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2570 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2573 # We make a subdir and do the tests there. Otherwise we can end up
2574 # making bogus files that we don't know about and never remove. For
2575 # instance it was reported that on HP-UX the gcc test will end up
2576 # making a dummy file named `D' -- because `-MD' means `put the output
2579 # Copy depcomp to subdir because otherwise we won't find it if we're
2580 # using a relative directory.
2581 cp "$am_depcomp" conftest.dir
2583 # We will build objects and dependencies in a subdirectory because
2584 # it helps to detect inapplicable dependency modes. For instance
2585 # both Tru64's cc and ICC support -MD to output dependencies as a
2586 # side effect of compilation, but ICC will put the dependencies in
2587 # the current directory while Tru64 will put them in the object
2591 am_cv_CXX_dependencies_compiler_type
=none
2592 if test "$am_compiler_list" = ""; then
2593 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2595 for depmode
in $am_compiler_list; do
2596 # Setup a source with many dependencies, because some compilers
2597 # like to wrap large dependency lists on column 80 (with \), and
2598 # we should not choose a depcomp mode which is confused by this.
2600 # We need to recreate these files for each test, as the compiler may
2601 # overwrite some of them when testing with obscure command lines.
2602 # This happens at least with the AIX C compiler.
2604 for i
in 1 2 3 4 5 6; do
2605 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2606 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2607 # Solaris 8's {/usr,}/bin/sh.
2608 touch sub
/conftst
$i.h
2610 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2614 # after this tag, mechanisms are not by side-effect, so they'll
2615 # only be used when explicitly requested
2616 if test "x$enable_dependency_tracking" = xyes
; then
2624 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2625 # mode. It turns out that the SunPro C++ compiler does not properly
2626 # handle `-M -o', and we need to detect this.
2627 if depmode
=$depmode \
2628 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2629 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2630 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2631 >/dev
/null
2>conftest.err
&&
2632 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2633 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2634 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2635 # icc doesn't choke on unknown options, it will just issue warnings
2636 # or remarks (even with -Werror). So we grep stderr for any message
2637 # that says an option was ignored or not supported.
2638 # When given -MP, icc 7.0 and 7.1 complain thusly:
2639 # icc: Command line warning: ignoring option '-M'; no argument required
2640 # The diagnosis changed in icc 8.0:
2641 # icc: Command line remark: option '-MP' not supported
2642 if (grep 'ignoring option' conftest.err ||
2643 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2644 am_cv_CXX_dependencies_compiler_type
=$depmode
2653 am_cv_CXX_dependencies_compiler_type
=none
2657 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2658 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2659 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
2664 test "x$enable_dependency_tracking" != xno \
2665 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
2666 am__fastdepCXX_TRUE
=
2667 am__fastdepCXX_FALSE
='#'
2669 am__fastdepCXX_TRUE
='#'
2670 am__fastdepCXX_FALSE
=
2675 # Check whether --enable-shared or --disable-shared was given.
2676 if test "${enable_shared+set}" = set; then
2677 enableval
="$enable_shared"
2678 p
=${PACKAGE-default}
2680 yes) enable_shared
=yes ;;
2681 no
) enable_shared
=no
;;
2684 # Look at the argument we got. We use all the common list separators.
2685 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2686 for pkg
in $enableval; do
2688 if test "X$pkg" = "X$p"; then
2699 # Check whether --enable-static or --disable-static was given.
2700 if test "${enable_static+set}" = set; then
2701 enableval
="$enable_static"
2702 p
=${PACKAGE-default}
2704 yes) enable_static
=yes ;;
2705 no
) enable_static
=no
;;
2708 # Look at the argument we got. We use all the common list separators.
2709 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2710 for pkg
in $enableval; do
2712 if test "X$pkg" = "X$p"; then
2723 # Check whether --enable-fast-install or --disable-fast-install was given.
2724 if test "${enable_fast_install+set}" = set; then
2725 enableval
="$enable_fast_install"
2726 p
=${PACKAGE-default}
2728 yes) enable_fast_install
=yes ;;
2729 no
) enable_fast_install
=no
;;
2731 enable_fast_install
=no
2732 # Look at the argument we got. We use all the common list separators.
2733 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2734 for pkg
in $enableval; do
2736 if test "X$pkg" = "X$p"; then
2737 enable_fast_install
=yes
2744 enable_fast_install
=yes
2747 # Make sure we can run config.sub.
2748 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2749 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2750 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2751 { (exit 1); exit 1; }; }
2753 echo "$as_me:$LINENO: checking build system type" >&5
2754 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2755 if test "${ac_cv_build+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2758 ac_cv_build_alias
=$build_alias
2759 test -z "$ac_cv_build_alias" &&
2760 ac_cv_build_alias
=`$ac_config_guess`
2761 test -z "$ac_cv_build_alias" &&
2762 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2763 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2764 { (exit 1); exit 1; }; }
2765 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2766 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2767 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2768 { (exit 1); exit 1; }; }
2771 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2772 echo "${ECHO_T}$ac_cv_build" >&6
2774 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2775 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2776 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2779 echo "$as_me:$LINENO: checking host system type" >&5
2780 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2781 if test "${ac_cv_host+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 ac_cv_host_alias
=$host_alias
2785 test -z "$ac_cv_host_alias" &&
2786 ac_cv_host_alias
=$ac_cv_build_alias
2787 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2788 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2789 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2790 { (exit 1); exit 1; }; }
2793 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2794 echo "${ECHO_T}$ac_cv_host" >&6
2796 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2797 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2798 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2802 ac_cpp
='$CPP $CPPFLAGS'
2803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2806 if test -n "$ac_tool_prefix"; then
2807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2808 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2809 echo "$as_me:$LINENO: checking for $ac_word" >&5
2810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2811 if test "${ac_cv_prog_CC+set}" = set; then
2812 echo $ECHO_N "(cached) $ECHO_C" >&6
2814 if test -n "$CC"; then
2815 ac_cv_prog_CC
="$CC" # Let the user override the test.
2817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir
=.
2822 for ac_exec_ext
in '' $ac_executable_extensions; do
2823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2824 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 if test -n "$CC"; then
2835 echo "$as_me:$LINENO: result: $CC" >&5
2836 echo "${ECHO_T}$CC" >&6
2838 echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6
2843 if test -z "$ac_cv_prog_CC"; then
2845 # Extract the first word of "gcc", so it can be a program name with args.
2846 set dummy gcc
; ac_word
=$2
2847 echo "$as_me:$LINENO: checking for $ac_word" >&5
2848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2852 if test -n "$ac_ct_CC"; then
2853 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir
=.
2860 for ac_exec_ext
in '' $ac_executable_extensions; do
2861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2862 ac_cv_prog_ac_ct_CC
="gcc"
2863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2872 if test -n "$ac_ct_CC"; then
2873 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2874 echo "${ECHO_T}$ac_ct_CC" >&6
2876 echo "$as_me:$LINENO: result: no" >&5
2877 echo "${ECHO_T}no" >&6
2885 if test -z "$CC"; then
2886 if test -n "$ac_tool_prefix"; then
2887 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2888 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2889 echo "$as_me:$LINENO: checking for $ac_word" >&5
2890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2891 if test "${ac_cv_prog_CC+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2894 if test -n "$CC"; then
2895 ac_cv_prog_CC
="$CC" # Let the user override the test.
2897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2901 test -z "$as_dir" && as_dir
=.
2902 for ac_exec_ext
in '' $ac_executable_extensions; do
2903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2904 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 if test -n "$CC"; then
2915 echo "$as_me:$LINENO: result: $CC" >&5
2916 echo "${ECHO_T}$CC" >&6
2918 echo "$as_me:$LINENO: result: no" >&5
2919 echo "${ECHO_T}no" >&6
2923 if test -z "$ac_cv_prog_CC"; then
2925 # Extract the first word of "cc", so it can be a program name with args.
2926 set dummy cc
; ac_word
=$2
2927 echo "$as_me:$LINENO: checking for $ac_word" >&5
2928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2930 echo $ECHO_N "(cached) $ECHO_C" >&6
2932 if test -n "$ac_ct_CC"; then
2933 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2939 test -z "$as_dir" && as_dir
=.
2940 for ac_exec_ext
in '' $ac_executable_extensions; do
2941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2942 ac_cv_prog_ac_ct_CC
="cc"
2943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2952 if test -n "$ac_ct_CC"; then
2953 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2954 echo "${ECHO_T}$ac_ct_CC" >&6
2956 echo "$as_me:$LINENO: result: no" >&5
2957 echo "${ECHO_T}no" >&6
2966 if test -z "$CC"; then
2967 # Extract the first word of "cc", so it can be a program name with args.
2968 set dummy cc
; ac_word
=$2
2969 echo "$as_me:$LINENO: checking for $ac_word" >&5
2970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2971 if test "${ac_cv_prog_CC+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 if test -n "$CC"; then
2975 ac_cv_prog_CC
="$CC" # Let the user override the test.
2978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir
=.
2983 for ac_exec_ext
in '' $ac_executable_extensions; do
2984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2985 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2986 ac_prog_rejected
=yes
2990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 if test $ac_prog_rejected = yes; then
2997 # We found a bogon in the path, so make sure we never use it.
2998 set dummy
$ac_cv_prog_CC
3000 if test $# != 0; then
3001 # We chose a different compiler from the bogus one.
3002 # However, it has the same basename, so the bogon will be chosen
3003 # first if we set CC to just the basename; use the full file name.
3005 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3011 if test -n "$CC"; then
3012 echo "$as_me:$LINENO: result: $CC" >&5
3013 echo "${ECHO_T}$CC" >&6
3015 echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3020 if test -z "$CC"; then
3021 if test -n "$ac_tool_prefix"; then
3024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3025 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3026 echo "$as_me:$LINENO: checking for $ac_word" >&5
3027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3028 if test "${ac_cv_prog_CC+set}" = set; then
3029 echo $ECHO_N "(cached) $ECHO_C" >&6
3031 if test -n "$CC"; then
3032 ac_cv_prog_CC
="$CC" # Let the user override the test.
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir
=.
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3041 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 if test -n "$CC"; then
3052 echo "$as_me:$LINENO: result: $CC" >&5
3053 echo "${ECHO_T}$CC" >&6
3055 echo "$as_me:$LINENO: result: no" >&5
3056 echo "${ECHO_T}no" >&6
3059 test -n "$CC" && break
3062 if test -z "$CC"; then
3066 # Extract the first word of "$ac_prog", so it can be a program name with args.
3067 set dummy
$ac_prog; ac_word
=$2
3068 echo "$as_me:$LINENO: checking for $ac_word" >&5
3069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3071 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 if test -n "$ac_ct_CC"; then
3074 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3080 test -z "$as_dir" && as_dir
=.
3081 for ac_exec_ext
in '' $ac_executable_extensions; do
3082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3083 ac_cv_prog_ac_ct_CC
="$ac_prog"
3084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3093 if test -n "$ac_ct_CC"; then
3094 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3095 echo "${ECHO_T}$ac_ct_CC" >&6
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3101 test -n "$ac_ct_CC" && break
3110 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3111 See \`config.log' for more details." >&5
3112 echo "$as_me: error: no acceptable C compiler found in \$PATH
3113 See \`config.log' for more details." >&2;}
3114 { (exit 1); exit 1; }; }
3116 # Provide some information about the compiler.
3117 echo "$as_me:$LINENO:" \
3118 "checking for C compiler version" >&5
3119 ac_compiler
=`set X $ac_compile; echo $2`
3120 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3121 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); }
3125 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3126 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }
3130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3131 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }
3136 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3137 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3138 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 cat >conftest.
$ac_ext <<_ACEOF
3144 cat confdefs.h
>>conftest.
$ac_ext
3145 cat >>conftest.
$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3159 rm -f conftest.
$ac_objext
3160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3161 (eval $ac_compile) 2>conftest.er1
3163 grep -v '^ *+' conftest.er1
>conftest.err
3165 cat conftest.err
>&5
3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); } &&
3168 { ac_try
='test -z "$ac_c_werror_flag"
3169 || test ! -s conftest.err'
3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; } &&
3175 { ac_try
='test -s conftest.$ac_objext'
3176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); }; }; then
3183 echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.
$ac_ext >&5
3188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3189 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3192 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3193 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3194 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3195 ac_test_CFLAGS
=${CFLAGS+set}
3196 ac_save_CFLAGS
=$CFLAGS
3198 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3199 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3200 if test "${ac_cv_prog_cc_g+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 cat >conftest.
$ac_ext <<_ACEOF
3206 cat confdefs.h
>>conftest.
$ac_ext
3207 cat >>conftest.
$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3218 rm -f conftest.
$ac_objext
3219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3220 (eval $ac_compile) 2>conftest.er1
3222 grep -v '^ *+' conftest.er1
>conftest.err
3224 cat conftest.err
>&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); } &&
3227 { ac_try
='test -z "$ac_c_werror_flag"
3228 || test ! -s conftest.err'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; } &&
3234 { ac_try
='test -s conftest.$ac_objext'
3235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); }; }; then
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.
$ac_ext >&5
3247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3249 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3250 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3251 if test "$ac_test_CFLAGS" = set; then
3252 CFLAGS
=$ac_save_CFLAGS
3253 elif test $ac_cv_prog_cc_g = yes; then
3254 if test "$GCC" = yes; then
3260 if test "$GCC" = yes; then
3266 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3267 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3268 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3269 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 ac_cv_prog_cc_stdc
=no
3273 cat >conftest.
$ac_ext <<_ACEOF
3276 cat confdefs.h
>>conftest.
$ac_ext
3277 cat >>conftest.
$ac_ext <<_ACEOF
3278 /* end confdefs.h. */
3281 #include <sys/types.h>
3282 #include <sys/stat.h>
3283 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3284 struct buf { int x; };
3285 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3286 static char *e (p, i)
3292 static char *f (char * (*g) (char **, int), char **p, ...)
3297 s = g (p, va_arg (v,int));
3302 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3303 function prototypes and stuff, but not '\xHH' hex character constants.
3304 These don't provoke an error unfortunately, instead are silently treated
3305 as 'x'. The following induces an error, until -std1 is added to get
3306 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3307 array size at least. It's necessary to write '\x00'==0 to get something
3308 that's true only with -std1. */
3309 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3311 int test (int i, double x);
3312 struct s1 {int (*f) (int a);};
3313 struct s2 {int (*f) (double a);};
3314 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3320 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3325 # Don't try gcc -ansi; that turns off useful extensions and
3326 # breaks some systems' header files.
3327 # AIX -qlanglvl=ansi
3328 # Ultrix and OSF/1 -std1
3329 # HP-UX 10.20 and later -Ae
3330 # HP-UX older versions -Aa -D_HPUX_SOURCE
3331 # SVR4 -Xc -D__EXTENSIONS__
3332 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3334 CC
="$ac_save_CC $ac_arg"
3335 rm -f conftest.
$ac_objext
3336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3337 (eval $ac_compile) 2>conftest.er1
3339 grep -v '^ *+' conftest.er1
>conftest.err
3341 cat conftest.err
>&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); } &&
3344 { ac_try
='test -z "$ac_c_werror_flag"
3345 || test ! -s conftest.err'
3346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; } &&
3351 { ac_try
='test -s conftest.$ac_objext'
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; }; then
3357 ac_cv_prog_cc_stdc
=$ac_arg
3360 echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.
$ac_ext >&5
3364 rm -f conftest.err conftest.
$ac_objext
3366 rm -f conftest.
$ac_ext conftest.
$ac_objext
3371 case "x$ac_cv_prog_cc_stdc" in
3373 echo "$as_me:$LINENO: result: none needed" >&5
3374 echo "${ECHO_T}none needed" >&6 ;;
3376 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3377 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3378 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3381 # Some people use a C++ compiler to compile C. Since we use `exit',
3382 # in C++ we need to declare it. In case someone uses the same compiler
3383 # for both compiling C and C++ we need to have the C++ compiler decide
3384 # the declaration of exit, since it's the most demanding environment.
3385 cat >conftest.
$ac_ext <<_ACEOF
3390 rm -f conftest.
$ac_objext
3391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3392 (eval $ac_compile) 2>conftest.er1
3394 grep -v '^ *+' conftest.er1
>conftest.err
3396 cat conftest.err
>&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); } &&
3399 { ac_try
='test -z "$ac_c_werror_flag"
3400 || test ! -s conftest.err'
3401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); }; } &&
3406 { ac_try
='test -s conftest.$ac_objext'
3407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); }; }; then
3412 for ac_declaration
in \
3414 'extern "C" void std::exit (int) throw (); using std::exit;' \
3415 'extern "C" void std::exit (int); using std::exit;' \
3416 'extern "C" void exit (int) throw ();' \
3417 'extern "C" void exit (int);' \
3420 cat >conftest.
$ac_ext <<_ACEOF
3423 cat confdefs.h
>>conftest.
$ac_ext
3424 cat >>conftest.
$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3436 rm -f conftest.
$ac_objext
3437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3438 (eval $ac_compile) 2>conftest.er1
3440 grep -v '^ *+' conftest.er1
>conftest.err
3442 cat conftest.err
>&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); } &&
3445 { ac_try
='test -z "$ac_c_werror_flag"
3446 || test ! -s conftest.err'
3447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); }; } &&
3452 { ac_try
='test -s conftest.$ac_objext'
3453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); }; }; then
3460 echo "$as_me: failed program was:" >&5
3461 sed 's/^/| /' conftest.
$ac_ext >&5
3465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3466 cat >conftest.
$ac_ext <<_ACEOF
3469 cat confdefs.h
>>conftest.
$ac_ext
3470 cat >>conftest.
$ac_ext <<_ACEOF
3471 /* end confdefs.h. */
3481 rm -f conftest.
$ac_objext
3482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3483 (eval $ac_compile) 2>conftest.er1
3485 grep -v '^ *+' conftest.er1
>conftest.err
3487 cat conftest.err
>&5
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); } &&
3490 { ac_try
='test -z "$ac_c_werror_flag"
3491 || test ! -s conftest.err'
3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); }; } &&
3497 { ac_try
='test -s conftest.$ac_objext'
3498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); }; }; then
3505 echo "$as_me: failed program was:" >&5
3506 sed 's/^/| /' conftest.
$ac_ext >&5
3509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3512 if test -n "$ac_declaration"; then
3513 echo '#ifdef __cplusplus' >>confdefs.h
3514 echo $ac_declaration >>confdefs.h
3515 echo '#endif' >>confdefs.h
3519 echo "$as_me: failed program was:" >&5
3520 sed 's/^/| /' conftest.
$ac_ext >&5
3523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3525 ac_cpp
='$CXXCPP $CPPFLAGS'
3526 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3527 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3528 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3530 depcc
="$CC" am_compiler_list
=
3532 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3533 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3534 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3537 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3538 # We make a subdir and do the tests there. Otherwise we can end up
3539 # making bogus files that we don't know about and never remove. For
3540 # instance it was reported that on HP-UX the gcc test will end up
3541 # making a dummy file named `D' -- because `-MD' means `put the output
3544 # Copy depcomp to subdir because otherwise we won't find it if we're
3545 # using a relative directory.
3546 cp "$am_depcomp" conftest.dir
3548 # We will build objects and dependencies in a subdirectory because
3549 # it helps to detect inapplicable dependency modes. For instance
3550 # both Tru64's cc and ICC support -MD to output dependencies as a
3551 # side effect of compilation, but ICC will put the dependencies in
3552 # the current directory while Tru64 will put them in the object
3556 am_cv_CC_dependencies_compiler_type
=none
3557 if test "$am_compiler_list" = ""; then
3558 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3560 for depmode
in $am_compiler_list; do
3561 # Setup a source with many dependencies, because some compilers
3562 # like to wrap large dependency lists on column 80 (with \), and
3563 # we should not choose a depcomp mode which is confused by this.
3565 # We need to recreate these files for each test, as the compiler may
3566 # overwrite some of them when testing with obscure command lines.
3567 # This happens at least with the AIX C compiler.
3569 for i
in 1 2 3 4 5 6; do
3570 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3571 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3572 # Solaris 8's {/usr,}/bin/sh.
3573 touch sub
/conftst
$i.h
3575 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3579 # after this tag, mechanisms are not by side-effect, so they'll
3580 # only be used when explicitly requested
3581 if test "x$enable_dependency_tracking" = xyes
; then
3589 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3590 # mode. It turns out that the SunPro C++ compiler does not properly
3591 # handle `-M -o', and we need to detect this.
3592 if depmode
=$depmode \
3593 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3594 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3595 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3596 >/dev
/null
2>conftest.err
&&
3597 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3598 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3599 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3600 # icc doesn't choke on unknown options, it will just issue warnings
3601 # or remarks (even with -Werror). So we grep stderr for any message
3602 # that says an option was ignored or not supported.
3603 # When given -MP, icc 7.0 and 7.1 complain thusly:
3604 # icc: Command line warning: ignoring option '-M'; no argument required
3605 # The diagnosis changed in icc 8.0:
3606 # icc: Command line remark: option '-MP' not supported
3607 if (grep 'ignoring option' conftest.err ||
3608 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3609 am_cv_CC_dependencies_compiler_type
=$depmode
3618 am_cv_CC_dependencies_compiler_type
=none
3622 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3623 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3624 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3629 test "x$enable_dependency_tracking" != xno \
3630 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3632 am__fastdepCC_FALSE
='#'
3634 am__fastdepCC_TRUE
='#'
3635 am__fastdepCC_FALSE
=
3639 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3640 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3641 if test "${lt_cv_path_SED+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 # Loop through the user's path and test for sed and gsed.
3645 # Then use that list of sed's as ones to test for truncation.
3646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir
=.
3651 for lt_ac_prog
in sed gsed
; do
3652 for ac_exec_ext
in '' $ac_executable_extensions; do
3653 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3654 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3661 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3662 # along with /bin/sed that truncates output.
3663 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3664 test ! -f $lt_ac_sed && break
3665 cat /dev
/null
> conftest.
in
3667 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3668 # Check for GNU sed and select it if it is found.
3669 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3670 lt_cv_path_SED
=$lt_ac_sed
3674 cat conftest.
in conftest.
in >conftest.tmp
3675 mv conftest.tmp conftest.
in
3676 cp conftest.
in conftest.
nl
3678 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3679 cmp -s conftest.out conftest.
nl ||
break
3680 # 10000 chars as input seems more than enough
3681 test $lt_ac_count -gt 10 && break
3682 lt_ac_count
=`expr $lt_ac_count + 1`
3683 if test $lt_ac_count -gt $lt_ac_max; then
3684 lt_ac_max
=$lt_ac_count
3685 lt_cv_path_SED
=$lt_ac_sed
3693 echo "$as_me:$LINENO: result: $SED" >&5
3694 echo "${ECHO_T}$SED" >&6
3696 echo "$as_me:$LINENO: checking for egrep" >&5
3697 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3698 if test "${ac_cv_prog_egrep+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3702 then ac_cv_prog_egrep
='grep -E'
3703 else ac_cv_prog_egrep
='egrep'
3706 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3707 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3708 EGREP
=$ac_cv_prog_egrep
3712 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3713 if test "${with_gnu_ld+set}" = set; then
3714 withval
="$with_gnu_ld"
3715 test "$withval" = no || with_gnu_ld
=yes
3720 if test "$GCC" = yes; then
3721 # Check if gcc -print-prog-name=ld gives a path.
3722 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3723 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3726 # gcc leaves a trailing carriage return which upsets mingw
3727 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3729 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3732 # Accept absolute paths.
3734 re_direlt
='/[^/][^/]*/\.\./'
3735 # Canonicalize the pathname of ld
3736 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3737 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3738 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3740 test -z "$LD" && LD
="$ac_prog"
3743 # If it fails, then pretend we aren't using GCC.
3747 # If it is relative, then search for the first ld in PATH.
3751 elif test "$with_gnu_ld" = yes; then
3752 echo "$as_me:$LINENO: checking for GNU ld" >&5
3753 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3755 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3756 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3758 if test "${lt_cv_path_LD+set}" = set; then
3759 echo $ECHO_N "(cached) $ECHO_C" >&6
3761 if test -z "$LD"; then
3762 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3763 for ac_dir
in $PATH; do
3765 test -z "$ac_dir" && ac_dir
=.
3766 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3767 lt_cv_path_LD
="$ac_dir/$ac_prog"
3768 # Check to see if the program is GNU ld. I'd rather use --version,
3769 # but apparently some GNU ld's only accept -v.
3770 # Break only if it was the GNU/non-GNU ld that we prefer.
3771 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3772 *GNU
* |
*'with BFD'*)
3773 test "$with_gnu_ld" != no
&& break
3776 test "$with_gnu_ld" != yes && break
3783 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3788 if test -n "$LD"; then
3789 echo "$as_me:$LINENO: result: $LD" >&5
3790 echo "${ECHO_T}$LD" >&6
3792 echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3795 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3796 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3797 { (exit 1); exit 1; }; }
3798 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3799 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3800 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3801 echo $ECHO_N "(cached) $ECHO_C" >&6
3803 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3804 case `$LD -v 2>&1 </dev/null` in
3805 *GNU
* |
*'with BFD'*)
3806 lt_cv_prog_gnu_ld
=yes
3809 lt_cv_prog_gnu_ld
=no
3813 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3814 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3815 with_gnu_ld
=$lt_cv_prog_gnu_ld
3818 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3819 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3820 if test "${lt_cv_ld_reload_flag+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 lt_cv_ld_reload_flag
='-r'
3825 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3826 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3827 reload_flag
=$lt_cv_ld_reload_flag
3828 case $reload_flag in
3830 *) reload_flag
=" $reload_flag" ;;
3832 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3834 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3835 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3836 if test "${lt_cv_path_NM+set}" = set; then
3837 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 if test -n "$NM"; then
3840 # Let the user override the test.
3843 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3844 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3846 test -z "$ac_dir" && ac_dir
=.
3847 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3848 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3849 # Check to see if the nm accepts a BSD-compat flag.
3850 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3851 # nm: unknown option "B" ignored
3852 # Tru64's nm complains that /dev/null is an invalid object file
3853 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3854 */dev
/null
* |
*'Invalid file or object type'*)
3855 lt_cv_path_NM
="$tmp_nm -B"
3859 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3861 lt_cv_path_NM
="$tmp_nm -p"
3865 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3866 continue # so that we can try to find one that supports BSD flags
3873 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3876 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3877 echo "${ECHO_T}$lt_cv_path_NM" >&6
3880 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3881 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3883 if test "$LN_S" = "ln -s"; then
3884 echo "$as_me:$LINENO: result: yes" >&5
3885 echo "${ECHO_T}yes" >&6
3887 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3888 echo "${ECHO_T}no, using $LN_S" >&6
3891 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3892 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3893 if test "${lt_cv_deplibs_check_method+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3897 lt_cv_file_magic_test_file
=
3898 lt_cv_deplibs_check_method
='unknown'
3899 # Need to set the preceding variable on all platforms that support
3900 # interlibrary dependencies.
3901 # 'none' -- dependencies not supported.
3902 # `unknown' -- same as none, but documents that we really don't know.
3903 # 'pass_all' -- all dependencies passed with no checks.
3904 # 'test_compile' -- check by making test program.
3905 # 'file_magic [[regex]]' -- check by looking for files in library path
3906 # which responds to the $file_magic_cmd with a given extended regex.
3907 # If you have `file' or equivalent on your system and you're not sure
3908 # whether `pass_all' will *always* work, you probably want this one.
3912 lt_cv_deplibs_check_method
=pass_all
3916 lt_cv_deplibs_check_method
=pass_all
3920 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3921 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3922 lt_cv_file_magic_test_file
=/shlib
/libc.so
3926 # func_win32_libid is a shell function defined in ltmain.sh
3927 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3928 lt_cv_file_magic_cmd
='func_win32_libid'
3932 # Base MSYS/MinGW do not provide the 'file' command needed by
3933 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3934 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3935 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3938 darwin
* | rhapsody
*)
3939 lt_cv_deplibs_check_method
=pass_all
3942 freebsd
* | kfreebsd
*-gnu)
3943 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3946 # Not sure whether the presence of OpenBSD here was a mistake.
3947 # Let's accept both of them until this is cleared up.
3948 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3949 lt_cv_file_magic_cmd
=/usr
/bin
/file
3950 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3954 lt_cv_deplibs_check_method
=pass_all
3959 lt_cv_deplibs_check_method
=pass_all
3962 hpux10.20
* | hpux11
*)
3963 lt_cv_file_magic_cmd
=/usr
/bin
/file
3966 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3967 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3970 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]'
3971 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3974 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3975 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3980 irix5
* | irix6
* | nonstopux
*)
3982 *-32|
*"-32 ") libmagic
=32-bit;;
3983 *-n32|
*"-n32 ") libmagic
=N32
;;
3984 *-64|
*"-64 ") libmagic
=64-bit;;
3985 *) libmagic
=never-match
;;
3987 lt_cv_deplibs_check_method
=pass_all
3990 # This must be Linux ELF.
3993 alpha
*|hppa
*|i
*86|ia64
*|m68
*|mips
*|powerpc
*|sparc
*|s390
*|sh
*|x86_64
*)
3994 lt_cv_deplibs_check_method
=pass_all
;;
3996 # glibc up to 2.1.1 does not perform some relocations on ARM
3997 # this will be overridden with pass_all, but let us keep it just in case
3998 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4000 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
4001 lt_cv_deplibs_check_method
=pass_all
4005 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4006 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4008 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4013 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4014 lt_cv_file_magic_cmd
=/usr
/bin
/file
4015 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4019 lt_cv_deplibs_check_method
=unknown
4023 lt_cv_file_magic_cmd
=/usr
/bin
/file
4024 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4025 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4026 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4028 lt_cv_deplibs_check_method
='file_magic OpenBSD.* shared library'
4032 osf3
* | osf4
* | osf5
*)
4033 lt_cv_deplibs_check_method
=pass_all
4037 lt_cv_deplibs_check_method
=pass_all
4041 lt_cv_deplibs_check_method
=pass_all
4044 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4045 case $host_vendor in
4047 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]'
4048 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4051 lt_cv_deplibs_check_method
=pass_all
4054 lt_cv_file_magic_cmd
='/bin/file'
4055 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4058 lt_cv_file_magic_cmd
='/bin/file'
4059 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4060 lt_cv_file_magic_test_file
=/lib
/libc.so
4063 lt_cv_deplibs_check_method
=pass_all
4068 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
4069 lt_cv_deplibs_check_method
=pass_all
4074 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4075 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4076 file_magic_cmd
=$lt_cv_file_magic_cmd
4077 deplibs_check_method
=$lt_cv_deplibs_check_method
4078 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4083 # If no C compiler was specified, use CC.
4086 # Allow CC to be a program name with arguments.
4090 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4091 if test "${enable_libtool_lock+set}" = set; then
4092 enableval
="$enable_libtool_lock"
4095 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4097 # Some flags need to be propagated to the compiler or linker for good
4101 # Find out which ABI we are using.
4102 echo 'int i;' > conftest.
$ac_ext
4103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4104 (eval $ac_compile) 2>&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); }; then
4108 case `/usr/bin/file conftest.$ac_objext` in
4120 # Find out which ABI we are using.
4121 echo '#line 4121 "configure"' > conftest.
$ac_ext
4122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4123 (eval $ac_compile) 2>&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); }; then
4127 if test "$lt_cv_prog_gnu_ld" = yes; then
4128 case `/usr/bin/file conftest.$ac_objext` in
4130 LD
="${LD-ld} -melf32bsmip"
4133 LD
="${LD-ld} -melf32bmipn32"
4136 LD
="${LD-ld} -melf64bmip"
4140 case `/usr/bin/file conftest.$ac_objext` in
4156 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4157 # Find out which ABI we are using.
4158 echo 'int i;' > conftest.
$ac_ext
4159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4160 (eval $ac_compile) 2>&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); }; then
4164 case "`/usr/bin/file conftest.o`" in
4168 LD
="${LD-ld} -m elf_i386"
4170 ppc64-
*linux
*|powerpc64-
*linux
*)
4171 LD
="${LD-ld} -m elf32ppclinux"
4174 LD
="${LD-ld} -m elf_s390"
4177 LD
="${LD-ld} -m elf32_sparc"
4184 LD
="${LD-ld} -m elf_x86_64"
4186 ppc
*-*linux
*|powerpc
*-*linux
*)
4187 LD
="${LD-ld} -m elf64ppc"
4190 LD
="${LD-ld} -m elf64_s390"
4193 LD
="${LD-ld} -m elf64_sparc"
4203 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4204 SAVE_CFLAGS
="$CFLAGS"
4205 CFLAGS
="$CFLAGS -belf"
4206 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4207 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4208 if test "${lt_cv_cc_needs_belf+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4212 ac_cpp
='$CPP $CPPFLAGS'
4213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4217 cat >conftest.
$ac_ext <<_ACEOF
4220 cat confdefs.h
>>conftest.
$ac_ext
4221 cat >>conftest.
$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4232 rm -f conftest.
$ac_objext conftest
$ac_exeext
4233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4234 (eval $ac_link) 2>conftest.er1
4236 grep -v '^ *+' conftest.er1
>conftest.err
4238 cat conftest.err
>&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); } &&
4241 { ac_try
='test -z "$ac_c_werror_flag"
4242 || test ! -s conftest.err'
4243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); }; } &&
4248 { ac_try
='test -s conftest$ac_exeext'
4249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); }; }; then
4254 lt_cv_cc_needs_belf
=yes
4256 echo "$as_me: failed program was:" >&5
4257 sed 's/^/| /' conftest.
$ac_ext >&5
4259 lt_cv_cc_needs_belf
=no
4261 rm -f conftest.err conftest.
$ac_objext \
4262 conftest
$ac_exeext conftest.
$ac_ext
4264 ac_cpp
='$CPP $CPPFLAGS'
4265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4270 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4271 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4272 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4273 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4274 CFLAGS
="$SAVE_CFLAGS"
4280 need_locks
="$enable_libtool_lock"
4284 ac_cpp
='$CPP $CPPFLAGS'
4285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4288 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4289 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4290 # On Suns, sometimes $CPP names a directory.
4291 if test -n "$CPP" && test -d "$CPP"; then
4294 if test -z "$CPP"; then
4295 if test "${ac_cv_prog_CPP+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 # Double quotes because CPP needs to be expanded
4299 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4302 for ac_c_preproc_warn_flag
in '' yes
4304 # Use a header file that comes with gcc, so configuring glibc
4305 # with a fresh cross-compiler works.
4306 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4307 # <limits.h> exists even on freestanding compilers.
4308 # On the NeXT, cc -E runs the code through the compiler's parser,
4309 # not just through cpp. "Syntax error" is here to catch this case.
4310 cat >conftest.
$ac_ext <<_ACEOF
4313 cat confdefs.h
>>conftest.
$ac_ext
4314 cat >>conftest.
$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4317 # include <limits.h>
4319 # include <assert.h>
4323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4324 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4326 grep -v '^ *+' conftest.er1
>conftest.err
4328 cat conftest.err
>&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } >/dev
/null
; then
4331 if test -s conftest.err
; then
4332 ac_cpp_err
=$ac_c_preproc_warn_flag
4333 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4340 if test -z "$ac_cpp_err"; then
4343 echo "$as_me: failed program was:" >&5
4344 sed 's/^/| /' conftest.
$ac_ext >&5
4346 # Broken: fails on valid input.
4349 rm -f conftest.err conftest.
$ac_ext
4351 # OK, works on sane cases. Now check whether non-existent headers
4352 # can be detected and how.
4353 cat >conftest.
$ac_ext <<_ACEOF
4356 cat confdefs.h
>>conftest.
$ac_ext
4357 cat >>conftest.
$ac_ext <<_ACEOF
4358 /* end confdefs.h. */
4359 #include <ac_nonexistent.h>
4361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4362 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4364 grep -v '^ *+' conftest.er1
>conftest.err
4366 cat conftest.err
>&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } >/dev
/null
; then
4369 if test -s conftest.err
; then
4370 ac_cpp_err
=$ac_c_preproc_warn_flag
4371 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4378 if test -z "$ac_cpp_err"; then
4379 # Broken: success on invalid input.
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.
$ac_ext >&5
4385 # Passes both tests.
4389 rm -f conftest.err conftest.
$ac_ext
4392 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4393 rm -f conftest.err conftest.
$ac_ext
4394 if $ac_preproc_ok; then
4406 echo "$as_me:$LINENO: result: $CPP" >&5
4407 echo "${ECHO_T}$CPP" >&6
4409 for ac_c_preproc_warn_flag
in '' yes
4411 # Use a header file that comes with gcc, so configuring glibc
4412 # with a fresh cross-compiler works.
4413 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4414 # <limits.h> exists even on freestanding compilers.
4415 # On the NeXT, cc -E runs the code through the compiler's parser,
4416 # not just through cpp. "Syntax error" is here to catch this case.
4417 cat >conftest.
$ac_ext <<_ACEOF
4420 cat confdefs.h
>>conftest.
$ac_ext
4421 cat >>conftest.
$ac_ext <<_ACEOF
4422 /* end confdefs.h. */
4424 # include <limits.h>
4426 # include <assert.h>
4430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4431 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4433 grep -v '^ *+' conftest.er1
>conftest.err
4435 cat conftest.err
>&5
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); } >/dev
/null
; then
4438 if test -s conftest.err
; then
4439 ac_cpp_err
=$ac_c_preproc_warn_flag
4440 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4447 if test -z "$ac_cpp_err"; then
4450 echo "$as_me: failed program was:" >&5
4451 sed 's/^/| /' conftest.
$ac_ext >&5
4453 # Broken: fails on valid input.
4456 rm -f conftest.err conftest.
$ac_ext
4458 # OK, works on sane cases. Now check whether non-existent headers
4459 # can be detected and how.
4460 cat >conftest.
$ac_ext <<_ACEOF
4463 cat confdefs.h
>>conftest.
$ac_ext
4464 cat >>conftest.
$ac_ext <<_ACEOF
4465 /* end confdefs.h. */
4466 #include <ac_nonexistent.h>
4468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4469 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4471 grep -v '^ *+' conftest.er1
>conftest.err
4473 cat conftest.err
>&5
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); } >/dev
/null
; then
4476 if test -s conftest.err
; then
4477 ac_cpp_err
=$ac_c_preproc_warn_flag
4478 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4485 if test -z "$ac_cpp_err"; then
4486 # Broken: success on invalid input.
4489 echo "$as_me: failed program was:" >&5
4490 sed 's/^/| /' conftest.
$ac_ext >&5
4492 # Passes both tests.
4496 rm -f conftest.err conftest.
$ac_ext
4499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4500 rm -f conftest.err conftest.
$ac_ext
4501 if $ac_preproc_ok; then
4504 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4505 See \`config.log' for more details." >&5
4506 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4507 See \`config.log' for more details." >&2;}
4508 { (exit 1); exit 1; }; }
4512 ac_cpp
='$CPP $CPPFLAGS'
4513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4518 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4519 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4520 if test "${ac_cv_header_stdc+set}" = set; then
4521 echo $ECHO_N "(cached) $ECHO_C" >&6
4523 cat >conftest.
$ac_ext <<_ACEOF
4526 cat confdefs.h
>>conftest.
$ac_ext
4527 cat >>conftest.
$ac_ext <<_ACEOF
4528 /* end confdefs.h. */
4542 rm -f conftest.
$ac_objext
4543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4544 (eval $ac_compile) 2>conftest.er1
4546 grep -v '^ *+' conftest.er1
>conftest.err
4548 cat conftest.err
>&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); } &&
4551 { ac_try
='test -z "$ac_c_werror_flag"
4552 || test ! -s conftest.err'
4553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); }; } &&
4558 { ac_try
='test -s conftest.$ac_objext'
4559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; }; then
4564 ac_cv_header_stdc
=yes
4566 echo "$as_me: failed program was:" >&5
4567 sed 's/^/| /' conftest.
$ac_ext >&5
4569 ac_cv_header_stdc
=no
4571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4573 if test $ac_cv_header_stdc = yes; then
4574 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4575 cat >conftest.
$ac_ext <<_ACEOF
4578 cat confdefs.h
>>conftest.
$ac_ext
4579 cat >>conftest.
$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4585 $EGREP "memchr" >/dev
/null
2>&1; then
4588 ac_cv_header_stdc
=no
4594 if test $ac_cv_header_stdc = yes; then
4595 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4596 cat >conftest.
$ac_ext <<_ACEOF
4599 cat confdefs.h
>>conftest.
$ac_ext
4600 cat >>conftest.
$ac_ext <<_ACEOF
4601 /* end confdefs.h. */
4605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4606 $EGREP "free" >/dev
/null
2>&1; then
4609 ac_cv_header_stdc
=no
4615 if test $ac_cv_header_stdc = yes; then
4616 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4617 if test "$cross_compiling" = yes; then
4620 cat >conftest.
$ac_ext <<_ACEOF
4623 cat confdefs.h
>>conftest.
$ac_ext
4624 cat >>conftest.
$ac_ext <<_ACEOF
4625 /* end confdefs.h. */
4627 #if ((' ' & 0x0FF) == 0x020)
4628 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4629 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4631 # define ISLOWER(c) \
4632 (('a' <= (c) && (c) <= 'i') \
4633 || ('j' <= (c) && (c) <= 'r') \
4634 || ('s' <= (c) && (c) <= 'z'))
4635 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4638 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4643 for (i = 0; i < 256; i++)
4644 if (XOR (islower (i), ISLOWER (i))
4645 || toupper (i) != TOUPPER (i))
4650 rm -f conftest
$ac_exeext
4651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4652 (eval $ac_link) 2>&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; }; then
4663 echo "$as_me: program exited with status $ac_status" >&5
4664 echo "$as_me: failed program was:" >&5
4665 sed 's/^/| /' conftest.
$ac_ext >&5
4668 ac_cv_header_stdc
=no
4670 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4674 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4675 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4676 if test $ac_cv_header_stdc = yes; then
4678 cat >>confdefs.h
<<\_ACEOF
4679 #define STDC_HEADERS 1
4684 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4694 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4695 inttypes.h stdint.h unistd.h
4697 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4698 echo "$as_me:$LINENO: checking for $ac_header" >&5
4699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4701 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 cat >conftest.
$ac_ext <<_ACEOF
4706 cat confdefs.h
>>conftest.
$ac_ext
4707 cat >>conftest.
$ac_ext <<_ACEOF
4708 /* end confdefs.h. */
4709 $ac_includes_default
4711 #include <$ac_header>
4713 rm -f conftest.
$ac_objext
4714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4715 (eval $ac_compile) 2>conftest.er1
4717 grep -v '^ *+' conftest.er1
>conftest.err
4719 cat conftest.err
>&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); } &&
4722 { ac_try
='test -z "$ac_c_werror_flag"
4723 || test ! -s conftest.err'
4724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); }; } &&
4729 { ac_try
='test -s conftest.$ac_objext'
4730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); }; }; then
4735 eval "$as_ac_Header=yes"
4737 echo "$as_me: failed program was:" >&5
4738 sed 's/^/| /' conftest.
$ac_ext >&5
4740 eval "$as_ac_Header=no"
4742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4747 cat >>confdefs.h
<<_ACEOF
4748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4757 for ac_header
in dlfcn.h
4759 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4761 echo "$as_me:$LINENO: checking for $ac_header" >&5
4762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4769 # Is the header compilable?
4770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4772 cat >conftest.
$ac_ext <<_ACEOF
4775 cat confdefs.h
>>conftest.
$ac_ext
4776 cat >>conftest.
$ac_ext <<_ACEOF
4777 /* end confdefs.h. */
4778 $ac_includes_default
4779 #include <$ac_header>
4781 rm -f conftest.
$ac_objext
4782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4783 (eval $ac_compile) 2>conftest.er1
4785 grep -v '^ *+' conftest.er1
>conftest.err
4787 cat conftest.err
>&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } &&
4790 { ac_try
='test -z "$ac_c_werror_flag"
4791 || test ! -s conftest.err'
4792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); }; } &&
4797 { ac_try
='test -s conftest.$ac_objext'
4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); }; }; then
4803 ac_header_compiler
=yes
4805 echo "$as_me: failed program was:" >&5
4806 sed 's/^/| /' conftest.
$ac_ext >&5
4808 ac_header_compiler
=no
4810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4812 echo "${ECHO_T}$ac_header_compiler" >&6
4814 # Is the header present?
4815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4817 cat >conftest.
$ac_ext <<_ACEOF
4820 cat confdefs.h
>>conftest.
$ac_ext
4821 cat >>conftest.
$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4823 #include <$ac_header>
4825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4826 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4828 grep -v '^ *+' conftest.er1
>conftest.err
4830 cat conftest.err
>&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } >/dev
/null
; then
4833 if test -s conftest.err
; then
4834 ac_cpp_err
=$ac_c_preproc_warn_flag
4835 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4842 if test -z "$ac_cpp_err"; then
4843 ac_header_preproc
=yes
4845 echo "$as_me: failed program was:" >&5
4846 sed 's/^/| /' conftest.
$ac_ext >&5
4848 ac_header_preproc
=no
4850 rm -f conftest.err conftest.
$ac_ext
4851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4852 echo "${ECHO_T}$ac_header_preproc" >&6
4854 # So? What about this header?
4855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4860 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4861 ac_header_preproc
=yes
4864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4868 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4869 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4870 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4871 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4874 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4875 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4878 ## ------------------------------------------ ##
4879 ## Report this to the AC_PACKAGE_NAME lists. ##
4880 ## ------------------------------------------ ##
4883 sed "s/^/$as_me: WARNING: /" >&2
4886 echo "$as_me:$LINENO: checking for $ac_header" >&5
4887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 eval "$as_ac_Header=\$ac_header_preproc"
4893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4898 cat >>confdefs.h
<<_ACEOF
4899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4907 ac_cpp
='$CXXCPP $CPPFLAGS'
4908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4911 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4912 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4913 if test -z "$CXXCPP"; then
4914 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4915 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 # Double quotes because CXXCPP needs to be expanded
4918 for CXXCPP
in "$CXX -E" "/lib/cpp"
4921 for ac_cxx_preproc_warn_flag
in '' yes
4923 # Use a header file that comes with gcc, so configuring glibc
4924 # with a fresh cross-compiler works.
4925 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4926 # <limits.h> exists even on freestanding compilers.
4927 # On the NeXT, cc -E runs the code through the compiler's parser,
4928 # not just through cpp. "Syntax error" is here to catch this case.
4929 cat >conftest.
$ac_ext <<_ACEOF
4932 cat confdefs.h
>>conftest.
$ac_ext
4933 cat >>conftest.
$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4936 # include <limits.h>
4938 # include <assert.h>
4942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4945 grep -v '^ *+' conftest.er1
>conftest.err
4947 cat conftest.err
>&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); } >/dev
/null
; then
4950 if test -s conftest.err
; then
4951 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4952 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4959 if test -z "$ac_cpp_err"; then
4962 echo "$as_me: failed program was:" >&5
4963 sed 's/^/| /' conftest.
$ac_ext >&5
4965 # Broken: fails on valid input.
4968 rm -f conftest.err conftest.
$ac_ext
4970 # OK, works on sane cases. Now check whether non-existent headers
4971 # can be detected and how.
4972 cat >conftest.
$ac_ext <<_ACEOF
4975 cat confdefs.h
>>conftest.
$ac_ext
4976 cat >>conftest.
$ac_ext <<_ACEOF
4977 /* end confdefs.h. */
4978 #include <ac_nonexistent.h>
4980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4981 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4983 grep -v '^ *+' conftest.er1
>conftest.err
4985 cat conftest.err
>&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } >/dev
/null
; then
4988 if test -s conftest.err
; then
4989 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4990 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4997 if test -z "$ac_cpp_err"; then
4998 # Broken: success on invalid input.
5001 echo "$as_me: failed program was:" >&5
5002 sed 's/^/| /' conftest.
$ac_ext >&5
5004 # Passes both tests.
5008 rm -f conftest.err conftest.
$ac_ext
5011 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5012 rm -f conftest.err conftest.
$ac_ext
5013 if $ac_preproc_ok; then
5018 ac_cv_prog_CXXCPP
=$CXXCPP
5021 CXXCPP
=$ac_cv_prog_CXXCPP
5023 ac_cv_prog_CXXCPP
=$CXXCPP
5025 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5026 echo "${ECHO_T}$CXXCPP" >&6
5028 for ac_cxx_preproc_warn_flag
in '' yes
5030 # Use a header file that comes with gcc, so configuring glibc
5031 # with a fresh cross-compiler works.
5032 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5033 # <limits.h> exists even on freestanding compilers.
5034 # On the NeXT, cc -E runs the code through the compiler's parser,
5035 # not just through cpp. "Syntax error" is here to catch this case.
5036 cat >conftest.
$ac_ext <<_ACEOF
5039 cat confdefs.h
>>conftest.
$ac_ext
5040 cat >>conftest.
$ac_ext <<_ACEOF
5041 /* end confdefs.h. */
5043 # include <limits.h>
5045 # include <assert.h>
5049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5050 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5052 grep -v '^ *+' conftest.er1
>conftest.err
5054 cat conftest.err
>&5
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); } >/dev
/null
; then
5057 if test -s conftest.err
; then
5058 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5059 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5066 if test -z "$ac_cpp_err"; then
5069 echo "$as_me: failed program was:" >&5
5070 sed 's/^/| /' conftest.
$ac_ext >&5
5072 # Broken: fails on valid input.
5075 rm -f conftest.err conftest.
$ac_ext
5077 # OK, works on sane cases. Now check whether non-existent headers
5078 # can be detected and how.
5079 cat >conftest.
$ac_ext <<_ACEOF
5082 cat confdefs.h
>>conftest.
$ac_ext
5083 cat >>conftest.
$ac_ext <<_ACEOF
5084 /* end confdefs.h. */
5085 #include <ac_nonexistent.h>
5087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5088 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5090 grep -v '^ *+' conftest.er1
>conftest.err
5092 cat conftest.err
>&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } >/dev
/null
; then
5095 if test -s conftest.err
; then
5096 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5097 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5104 if test -z "$ac_cpp_err"; then
5105 # Broken: success on invalid input.
5108 echo "$as_me: failed program was:" >&5
5109 sed 's/^/| /' conftest.
$ac_ext >&5
5111 # Passes both tests.
5115 rm -f conftest.err conftest.
$ac_ext
5118 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5119 rm -f conftest.err conftest.
$ac_ext
5120 if $ac_preproc_ok; then
5123 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5124 See \`config.log' for more details." >&5
5125 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5126 See \`config.log' for more details." >&2;}
5127 { (exit 1); exit 1; }; }
5131 ac_cpp
='$CXXCPP $CPPFLAGS'
5132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5138 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5139 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5140 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5141 if test -n "$ac_tool_prefix"; then
5142 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5145 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5146 echo "$as_me:$LINENO: checking for $ac_word" >&5
5147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5148 if test "${ac_cv_prog_F77+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 if test -n "$F77"; then
5152 ac_cv_prog_F77
="$F77" # Let the user override the test.
5154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5158 test -z "$as_dir" && as_dir
=.
5159 for ac_exec_ext
in '' $ac_executable_extensions; do
5160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5161 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 if test -n "$F77"; then
5172 echo "$as_me:$LINENO: result: $F77" >&5
5173 echo "${ECHO_T}$F77" >&6
5175 echo "$as_me:$LINENO: result: no" >&5
5176 echo "${ECHO_T}no" >&6
5179 test -n "$F77" && break
5182 if test -z "$F77"; then
5184 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5186 # Extract the first word of "$ac_prog", so it can be a program name with args.
5187 set dummy
$ac_prog; ac_word
=$2
5188 echo "$as_me:$LINENO: checking for $ac_word" >&5
5189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5190 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5191 echo $ECHO_N "(cached) $ECHO_C" >&6
5193 if test -n "$ac_ct_F77"; then
5194 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5200 test -z "$as_dir" && as_dir
=.
5201 for ac_exec_ext
in '' $ac_executable_extensions; do
5202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5203 ac_cv_prog_ac_ct_F77
="$ac_prog"
5204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5213 if test -n "$ac_ct_F77"; then
5214 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5215 echo "${ECHO_T}$ac_ct_F77" >&6
5217 echo "$as_me:$LINENO: result: no" >&5
5218 echo "${ECHO_T}no" >&6
5221 test -n "$ac_ct_F77" && break
5228 # Provide some information about the compiler.
5229 echo "$as_me:5229:" \
5230 "checking for Fortran 77 compiler version" >&5
5231 ac_compiler
=`set X $ac_compile; echo $2`
5232 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5233 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); }
5237 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5238 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); }
5242 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5243 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); }
5249 # If we don't use `.F' as extension, the preprocessor is not run on the
5250 # input file. (Note that this only needs to work for GNU compilers.)
5253 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5254 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5255 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5256 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 cat >conftest.
$ac_ext <<_ACEOF
5266 rm -f conftest.
$ac_objext
5267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5268 (eval $ac_compile) 2>conftest.er1
5270 grep -v '^ *+' conftest.er1
>conftest.err
5272 cat conftest.err
>&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); } &&
5275 { ac_try
='test -z "$ac_f77_werror_flag"
5276 || test ! -s conftest.err'
5277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); }; } &&
5282 { ac_try
='test -s conftest.$ac_objext'
5283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; }; then
5290 echo "$as_me: failed program was:" >&5
5291 sed 's/^/| /' conftest.
$ac_ext >&5
5295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5296 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5299 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5300 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5302 ac_test_FFLAGS
=${FFLAGS+set}
5303 ac_save_FFLAGS
=$FFLAGS
5305 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5306 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5307 if test "${ac_cv_prog_f77_g+set}" = set; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 cat >conftest.
$ac_ext <<_ACEOF
5316 rm -f conftest.
$ac_objext
5317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5318 (eval $ac_compile) 2>conftest.er1
5320 grep -v '^ *+' conftest.er1
>conftest.err
5322 cat conftest.err
>&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); } &&
5325 { ac_try
='test -z "$ac_f77_werror_flag"
5326 || test ! -s conftest.err'
5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); }; } &&
5332 { ac_try
='test -s conftest.$ac_objext'
5333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); }; }; then
5338 ac_cv_prog_f77_g
=yes
5340 echo "$as_me: failed program was:" >&5
5341 sed 's/^/| /' conftest.
$ac_ext >&5
5345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5348 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5349 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5350 if test "$ac_test_FFLAGS" = set; then
5351 FFLAGS
=$ac_save_FFLAGS
5352 elif test $ac_cv_prog_f77_g = yes; then
5353 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5359 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5366 G77
=`test $ac_compiler_gnu = yes && echo yes`
5368 ac_cpp
='$CXXCPP $CPPFLAGS'
5369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5375 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5377 # find the maximum length of command line arguments
5378 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5379 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5380 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 # On DJGPP, this test can blow up pretty badly due to problems in libc
5389 # (any single argument exceeding 2000 bytes causes a buffer overrun
5390 # during glob expansion). Even if it were fixed, the result of this
5391 # check would be larger than it should be.
5392 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5396 # Under GNU Hurd, this test is not required because there is
5397 # no limit to the length of command line arguments.
5398 # Libtool will interpret -1 as no limit whatsoever
5399 lt_cv_sys_max_cmd_len
=-1;
5403 # On Win9x/ME, this test blows up -- it succeeds, but takes
5404 # about 5 minutes as the teststring grows exponentially.
5405 # Worse, since 9x/ME are not pre-emptively multitasking,
5406 # you end up with a "frozen" computer, even though with patience
5407 # the test eventually succeeds (with a max line length of 256k).
5408 # Instead, let's just punt: use the minimum linelength reported by
5409 # all of the supported platforms: 8192 (on NT/2K/XP).
5410 lt_cv_sys_max_cmd_len
=8192;
5414 # On AmigaOS with pdksh, this test takes hours, literally.
5415 # So we just punt and use a minimum line length of 8192.
5416 lt_cv_sys_max_cmd_len
=8192;
5420 # If test is not a shell built-in, we'll probably end up computing a
5421 # maximum length that is only half of the actual maximum length, but
5423 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5424 = "XX$teststring") >/dev
/null
2>&1 &&
5425 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5426 lt_cv_sys_max_cmd_len
=$new_result &&
5427 test $i != 17 # 1/2 MB should be enough
5430 teststring
=$teststring$teststring
5433 # Add a significant safety factor because C++ compilers can tack on massive
5434 # amounts of additional arguments before passing them to the linker.
5435 # It appears as though 1/2 is a usable value.
5436 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5442 if test -n $lt_cv_sys_max_cmd_len ; then
5443 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5444 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5446 echo "$as_me:$LINENO: result: none" >&5
5447 echo "${ECHO_T}none" >&6
5453 # Check for command to grab the raw symbol name followed by C symbol from nm.
5454 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5455 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5456 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 # These are sane defaults that work on at least a few old systems.
5461 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5463 # Character class describing NM global symbol codes.
5464 symcode
='[BCDEGRST]'
5466 # Regexp to match symbols that can be accessed directly from C.
5467 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5469 # Transform the above into a raw symbol and a C symbol.
5470 symxfrm
='\1 \2\3 \3'
5472 # Transform an extracted symbol line into a proper C declaration
5473 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5475 # Transform an extracted symbol line into symbol name and symbol address
5476 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'"
5478 # Define system-specific variables.
5483 cygwin
* | mingw
* | pw32
*)
5484 symcode
='[ABCDGISTW]'
5486 hpux
*) # Its linker distinguishes data from code symbols
5487 if test "$host_cpu" = ia64
; then
5488 symcode
='[ABCDEGRST]'
5490 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5491 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'"
5494 symcode
='[BCDEGRST]'
5497 symcode
='[BCDEGQRST]'
5507 # Handle CRLF in mingw tool chain
5511 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5515 # If we're using GNU nm, then use its standard symbol codes.
5516 case `$NM -V 2>&1` in
5517 *GNU
* |
*'with BFD'*)
5518 symcode
='[ABCDGIRSTW]' ;;
5521 # Try without a prefix undercore, then with it.
5522 for ac_symprfx
in "" "_"; do
5524 # Write the raw and C identifiers.
5525 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5527 # Check to see that the pipe works correctly.
5531 cat > conftest.
$ac_ext <<EOF
5536 void nm_test_func(){}
5540 int main(){nm_test_var='a';nm_test_func();return(0);}
5543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5544 (eval $ac_compile) 2>&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); }; then
5548 # Now try to grab the symbols.
5550 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5551 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); } && test -s "$nlist"; then
5555 # Try sorting and uniquifying the output.
5556 if sort "$nlist" |
uniq > "$nlist"T
; then
5557 mv -f "$nlist"T
"$nlist"
5562 # Make sure that we snagged all the symbols we need.
5563 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5564 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5565 cat <<EOF > conftest.$ac_ext
5571 # Now generate the symbol file.
5572 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5574 cat <<EOF >> conftest.$ac_ext
5575 #if defined (__STDC__) && __STDC__
5576 # define lt_ptr_t void *
5578 # define lt_ptr_t char *
5582 /* The mapping between symbol names and symbols. */
5587 lt_preloaded_symbols[] =
5590 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5591 cat <<\EOF
>> conftest.
$ac_ext
5599 # Now try linking the two files.
5600 mv conftest.
$ac_objext conftstm.
$ac_objext
5601 lt_save_LIBS
="$LIBS"
5602 lt_save_CFLAGS
="$CFLAGS"
5603 LIBS
="conftstm.$ac_objext"
5604 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5606 (eval $ac_link) 2>&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5612 LIBS
="$lt_save_LIBS"
5613 CFLAGS
="$lt_save_CFLAGS"
5615 echo "cannot find nm_test_func in $nlist" >&5
5618 echo "cannot find nm_test_var in $nlist" >&5
5621 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5624 echo "$progname: failed program was:" >&5
5625 cat conftest.
$ac_ext >&5
5627 rm -f conftest
* conftst
*
5629 # Do not use the global_symbol_pipe unless it works.
5630 if test "$pipe_works" = yes; then
5633 lt_cv_sys_global_symbol_pipe
=
5639 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5640 lt_cv_sys_global_symbol_to_cdecl
=
5642 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5643 echo "$as_me:$LINENO: result: failed" >&5
5644 echo "${ECHO_T}failed" >&6
5646 echo "$as_me:$LINENO: result: ok" >&5
5647 echo "${ECHO_T}ok" >&6
5650 echo "$as_me:$LINENO: checking for objdir" >&5
5651 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5652 if test "${lt_cv_objdir+set}" = set; then
5653 echo $ECHO_N "(cached) $ECHO_C" >&6
5655 rm -f .libs
2>/dev
/null
5656 mkdir .libs
2>/dev
/null
5657 if test -d .libs
; then
5660 # MS-DOS does not allow filenames that begin with a dot.
5663 rmdir .libs
2>/dev
/null
5665 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5666 echo "${ECHO_T}$lt_cv_objdir" >&6
5667 objdir
=$lt_cv_objdir
5675 # AIX sometimes has problems with the GCC collect2 program. For some
5676 # reason, if we set the COLLECT_NAMES environment variable, the problems
5677 # vanish in a puff of smoke.
5678 if test "X${COLLECT_NAMES+set}" != Xset
; then
5680 export COLLECT_NAMES
5685 # Sed substitution that helps us do robust quoting. It backslashifies
5686 # metacharacters that are still active within double-quoted strings.
5687 Xsed
='sed -e s/^X//'
5688 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5690 # Same as above, but do not quote variable references.
5691 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5693 # Sed substitution to delay expansion of an escaped shell variable in a
5694 # double_quote_subst'ed string.
5695 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5697 # Sed substitution to avoid accidental globbing in evaled expressions
5698 no_glob_subst
='s/\*/\\\*/g'
5704 default_ofile
=libtool
5705 can_build_shared
=yes
5707 # All known linkers require a `.a' archive for static linking (except M$VC,
5708 # which needs '.lib').
5710 ltmain
="$ac_aux_dir/ltmain.sh"
5711 ofile
="$default_ofile"
5712 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5714 if test -n "$ac_tool_prefix"; then
5715 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5716 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5717 echo "$as_me:$LINENO: checking for $ac_word" >&5
5718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5719 if test "${ac_cv_prog_AR+set}" = set; then
5720 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 if test -n "$AR"; then
5723 ac_cv_prog_AR
="$AR" # Let the user override the test.
5725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5729 test -z "$as_dir" && as_dir
=.
5730 for ac_exec_ext
in '' $ac_executable_extensions; do
5731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5732 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5742 if test -n "$AR"; then
5743 echo "$as_me:$LINENO: result: $AR" >&5
5744 echo "${ECHO_T}$AR" >&6
5746 echo "$as_me:$LINENO: result: no" >&5
5747 echo "${ECHO_T}no" >&6
5751 if test -z "$ac_cv_prog_AR"; then
5753 # Extract the first word of "ar", so it can be a program name with args.
5754 set dummy
ar; ac_word
=$2
5755 echo "$as_me:$LINENO: checking for $ac_word" >&5
5756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5757 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5758 echo $ECHO_N "(cached) $ECHO_C" >&6
5760 if test -n "$ac_ct_AR"; then
5761 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5767 test -z "$as_dir" && as_dir
=.
5768 for ac_exec_ext
in '' $ac_executable_extensions; do
5769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_ac_ct_AR
="ar"
5771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5777 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
5780 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5781 if test -n "$ac_ct_AR"; then
5782 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5783 echo "${ECHO_T}$ac_ct_AR" >&6
5785 echo "$as_me:$LINENO: result: no" >&5
5786 echo "${ECHO_T}no" >&6
5794 if test -n "$ac_tool_prefix"; then
5795 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5796 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5797 echo "$as_me:$LINENO: checking for $ac_word" >&5
5798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5799 if test "${ac_cv_prog_RANLIB+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 if test -n "$RANLIB"; then
5803 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir
=.
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 RANLIB
=$ac_cv_prog_RANLIB
5822 if test -n "$RANLIB"; then
5823 echo "$as_me:$LINENO: result: $RANLIB" >&5
5824 echo "${ECHO_T}$RANLIB" >&6
5826 echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6
5831 if test -z "$ac_cv_prog_RANLIB"; then
5832 ac_ct_RANLIB
=$RANLIB
5833 # Extract the first word of "ranlib", so it can be a program name with args.
5834 set dummy ranlib
; ac_word
=$2
5835 echo "$as_me:$LINENO: checking for $ac_word" >&5
5836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5837 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 if test -n "$ac_ct_RANLIB"; then
5841 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir
=.
5848 for ac_exec_ext
in '' $ac_executable_extensions; do
5849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5860 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5861 if test -n "$ac_ct_RANLIB"; then
5862 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5863 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5865 echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6
5869 RANLIB
=$ac_ct_RANLIB
5871 RANLIB
="$ac_cv_prog_RANLIB"
5874 if test -n "$ac_tool_prefix"; then
5875 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5876 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5877 echo "$as_me:$LINENO: checking for $ac_word" >&5
5878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5879 if test "${ac_cv_prog_STRIP+set}" = set; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 if test -n "$STRIP"; then
5883 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir
=.
5890 for ac_exec_ext
in '' $ac_executable_extensions; do
5891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5892 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5901 STRIP
=$ac_cv_prog_STRIP
5902 if test -n "$STRIP"; then
5903 echo "$as_me:$LINENO: result: $STRIP" >&5
5904 echo "${ECHO_T}$STRIP" >&6
5906 echo "$as_me:$LINENO: result: no" >&5
5907 echo "${ECHO_T}no" >&6
5911 if test -z "$ac_cv_prog_STRIP"; then
5913 # Extract the first word of "strip", so it can be a program name with args.
5914 set dummy strip
; ac_word
=$2
5915 echo "$as_me:$LINENO: checking for $ac_word" >&5
5916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5917 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5918 echo $ECHO_N "(cached) $ECHO_C" >&6
5920 if test -n "$ac_ct_STRIP"; then
5921 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir
=.
5928 for ac_exec_ext
in '' $ac_executable_extensions; do
5929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_ac_ct_STRIP
="strip"
5931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5937 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5940 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5941 if test -n "$ac_ct_STRIP"; then
5942 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5943 echo "${ECHO_T}$ac_ct_STRIP" >&6
5945 echo "$as_me:$LINENO: result: no" >&5
5946 echo "${ECHO_T}no" >&6
5951 STRIP
="$ac_cv_prog_STRIP"
5956 old_CFLAGS
="$CFLAGS"
5958 # Set sane defaults for various variables
5959 test -z "$AR" && AR
=ar
5960 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5961 test -z "$AS" && AS
=as
5962 test -z "$CC" && CC
=cc
5963 test -z "$LTCC" && LTCC
=$CC
5964 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5965 test -z "$LD" && LD
=ld
5966 test -z "$LN_S" && LN_S
="ln -s"
5967 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
5968 test -z "$NM" && NM
=nm
5969 test -z "$SED" && SED
=sed
5970 test -z "$OBJDUMP" && OBJDUMP
=objdump
5971 test -z "$RANLIB" && RANLIB
=:
5972 test -z "$STRIP" && STRIP
=:
5973 test -z "$ac_objext" && ac_objext
=o
5975 # Determine commands to create old-style static archives.
5976 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5977 old_postinstall_cmds
='chmod 644 $oldlib'
5978 old_postuninstall_cmds
=
5980 if test -n "$RANLIB"; then
5983 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5986 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
5989 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5992 # Only perform the check for file, if the check method requires it
5993 case $deplibs_check_method in
5995 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5996 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5997 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5998 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5999 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6006 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6007 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6008 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6009 for ac_dir
in $ac_dummy; do
6011 test -z "$ac_dir" && ac_dir
=.
6012 if test -f $ac_dir/${ac_tool_prefix}file; then
6013 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6014 if test -n "$file_magic_test_file"; then
6015 case $deplibs_check_method in
6017 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6018 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6019 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6020 $EGREP "$file_magic_regex" > /dev
/null
; then
6025 *** Warning: the command libtool uses to detect shared libraries,
6026 *** $file_magic_cmd, produces output that libtool cannot recognize.
6027 *** The result is that libtool may fail to recognize shared libraries
6028 *** as such. This will affect the creation of libtool libraries that
6029 *** depend on shared libraries, but programs linked with such libtool
6030 *** libraries will work regardless of this problem. Nevertheless, you
6031 *** may want to report the problem to your system manager and/or to
6032 *** bug-libtool@gnu.org
6042 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6047 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6048 if test -n "$MAGIC_CMD"; then
6049 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6050 echo "${ECHO_T}$MAGIC_CMD" >&6
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6056 if test -z "$lt_cv_path_MAGIC_CMD"; then
6057 if test -n "$ac_tool_prefix"; then
6058 echo "$as_me:$LINENO: checking for file" >&5
6059 echo $ECHO_N "checking for file... $ECHO_C" >&6
6060 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6065 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6068 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6069 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6070 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6071 for ac_dir
in $ac_dummy; do
6073 test -z "$ac_dir" && ac_dir
=.
6074 if test -f $ac_dir/file; then
6075 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6076 if test -n "$file_magic_test_file"; then
6077 case $deplibs_check_method in
6079 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6080 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6081 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6082 $EGREP "$file_magic_regex" > /dev
/null
; then
6087 *** Warning: the command libtool uses to detect shared libraries,
6088 *** $file_magic_cmd, produces output that libtool cannot recognize.
6089 *** The result is that libtool may fail to recognize shared libraries
6090 *** as such. This will affect the creation of libtool libraries that
6091 *** depend on shared libraries, but programs linked with such libtool
6092 *** libraries will work regardless of this problem. Nevertheless, you
6093 *** may want to report the problem to your system manager and/or to
6094 *** bug-libtool@gnu.org
6104 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6109 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6110 if test -n "$MAGIC_CMD"; then
6111 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6112 echo "${ECHO_T}$MAGIC_CMD" >&6
6114 echo "$as_me:$LINENO: result: no" >&5
6115 echo "${ECHO_T}no" >&6
6130 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6131 if test "${enable_libtool_lock+set}" = set; then
6132 enableval
="$enable_libtool_lock"
6135 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6138 # Check whether --with-pic or --without-pic was given.
6139 if test "${with_pic+set}" = set; then
6145 test -z "$pic_mode" && pic_mode
=default
6147 # Use C for the default configuration in the libtool script
6151 ac_cpp
='$CPP $CPPFLAGS'
6152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6157 # Source file extension for C test sources.
6160 # Object file extension for compiled C test sources.
6164 # Code to be used in simple compile tests
6165 lt_simple_compile_test_code
="int some_variable = 0;\n"
6167 # Code to be used in simple link tests
6168 lt_simple_link_test_code
='int main(){return(0);}\n'
6171 # If no C compiler was specified, use CC.
6174 # Allow CC to be a program name with arguments.
6179 # Check for any special shared library compilation flags.
6182 if test "$GCC" = no
; then
6185 lt_prog_cc_shlib
='-belf'
6189 if test -n "$lt_prog_cc_shlib"; then
6190 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6191 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6192 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6194 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6195 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6196 lt_cv_prog_cc_can_build_shared
=no
6202 # Check to make sure the static flag actually works.
6204 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6205 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6206 if test "${lt_prog_compiler_static_works+set}" = set; then
6207 echo $ECHO_N "(cached) $ECHO_C" >&6
6209 lt_prog_compiler_static_works
=no
6210 save_LDFLAGS
="$LDFLAGS"
6211 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6212 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6213 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6214 # The compiler can only warn and ignore the option if not recognized
6215 # So say no if there are warnings
6216 if test -s conftest.err
; then
6217 # Append any errors to the config.log.
6218 cat conftest.err
1>&5
6220 lt_prog_compiler_static_works
=yes
6224 LDFLAGS
="$save_LDFLAGS"
6227 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6228 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6230 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6233 lt_prog_compiler_static
=
6239 lt_prog_compiler_no_builtin_flag
=
6241 if test "$GCC" = yes; then
6242 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6245 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6246 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6247 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 lt_cv_prog_compiler_rtti_exceptions
=no
6251 ac_outfile
=conftest.
$ac_objext
6252 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6253 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6254 # Insert the option either (1) after the last *FLAGS variable, or
6255 # (2) before a word containing "conftest.", or (3) at the end.
6256 # Note that $ac_compile itself does not contain backslashes and begins
6257 # with a dollar sign (not a hyphen), so the echo should work correctly.
6258 # The option is referenced via a variable to avoid confusing sed.
6259 lt_compile
=`echo "$ac_compile" | $SED \
6260 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6262 -e 's:$: $lt_compiler_flag:'`
6263 (eval echo "\"\$as_me:6263: $lt_compile\"" >&5)
6264 (eval "$lt_compile" 2>conftest.err
)
6266 cat conftest.err
>&5
6267 echo "$as_me:6267: \$? = $ac_status" >&5
6268 if (exit $ac_status) && test -s "$ac_outfile"; then
6269 # The compiler can only warn and ignore the option if not recognized
6270 # So say no if there are warnings
6271 if test ! -s conftest.err
; then
6272 lt_cv_prog_compiler_rtti_exceptions
=yes
6278 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6279 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6281 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6282 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6289 lt_prog_compiler_wl
=
6290 lt_prog_compiler_pic
=
6291 lt_prog_compiler_static
=
6293 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6294 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6296 if test "$GCC" = yes; then
6297 lt_prog_compiler_wl
='-Wl,'
6298 lt_prog_compiler_static
='-static'
6302 # All AIX code is PIC.
6303 if test "$host_cpu" = ia64
; then
6304 # AIX 5 now supports IA64 processor
6305 lt_prog_compiler_static
='-Bstatic'
6310 # FIXME: we need at least 68020 code to build shared libraries, but
6311 # adding the `-m68020' flag to GCC prevents building anything better,
6313 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6316 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6317 # PIC is the default for these OSes.
6320 mingw
* | pw32
* | os2
*)
6321 # This hack is so that the source file can tell whether it is being
6322 # built for inclusion in a dll (and should export symbols for example).
6323 lt_prog_compiler_pic
='-DDLL_EXPORT'
6326 darwin
* | rhapsody
*)
6327 # PIC is the default on this platform
6328 # Common symbols not allowed in MH_DYLIB files
6329 lt_prog_compiler_pic
='-fno-common'
6333 # Just because we use GCC doesn't mean we suddenly get shared libraries
6334 # on systems that don't support them.
6335 lt_prog_compiler_can_build_shared
=no
6340 if test -d /usr
/nec
; then
6341 lt_prog_compiler_pic
=-Kconform_pic
6346 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6353 lt_prog_compiler_pic
='-fPIC'
6359 lt_prog_compiler_pic
='-fPIC'
6363 # PORTME Check for flag to pass linker flags through the system compiler.
6366 lt_prog_compiler_wl
='-Wl,'
6367 if test "$host_cpu" = ia64
; then
6368 # AIX 5 now supports IA64 processor
6369 lt_prog_compiler_static
='-Bstatic'
6371 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6375 mingw
* | pw32
* | os2
*)
6376 # This hack is so that the source file can tell whether it is being
6377 # built for inclusion in a dll (and should export symbols for example).
6378 lt_prog_compiler_pic
='-DDLL_EXPORT'
6381 hpux9
* | hpux10
* | hpux11
*)
6382 lt_prog_compiler_wl
='-Wl,'
6383 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6390 lt_prog_compiler_pic
='+Z'
6393 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6394 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6397 irix5
* | irix6
* | nonstopux
*)
6398 lt_prog_compiler_wl
='-Wl,'
6399 # PIC (with -KPIC) is the default.
6400 lt_prog_compiler_static
='-non_shared'
6404 lt_prog_compiler_pic
='-KPIC'
6405 lt_prog_compiler_static
='-Bstatic'
6411 lt_prog_compiler_wl
='-Wl,'
6412 lt_prog_compiler_pic
='-KPIC'
6413 lt_prog_compiler_static
='-static'
6416 lt_prog_compiler_wl
='-Wl,'
6417 # All Alpha code is PIC.
6418 lt_prog_compiler_static
='-non_shared'
6423 osf3
* | osf4
* | osf5
*)
6424 lt_prog_compiler_wl
='-Wl,'
6425 # All OSF/1 code is PIC.
6426 lt_prog_compiler_static
='-non_shared'
6430 lt_prog_compiler_pic
='-Kpic'
6431 lt_prog_compiler_static
='-dn'
6435 lt_prog_compiler_wl
='-Wl,'
6436 lt_prog_compiler_pic
='-KPIC'
6437 lt_prog_compiler_static
='-Bstatic'
6441 lt_prog_compiler_wl
='-Qoption ld '
6442 lt_prog_compiler_pic
='-PIC'
6443 lt_prog_compiler_static
='-Bstatic'
6446 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6447 lt_prog_compiler_wl
='-Wl,'
6448 lt_prog_compiler_pic
='-KPIC'
6449 lt_prog_compiler_static
='-Bstatic'
6453 if test -d /usr
/nec
;then
6454 lt_prog_compiler_pic
='-Kconform_pic'
6455 lt_prog_compiler_static
='-Bstatic'
6460 lt_prog_compiler_pic
='-pic'
6461 lt_prog_compiler_static
='-Bstatic'
6465 lt_prog_compiler_can_build_shared
=no
6470 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6471 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6474 # Check to make sure the PIC flag actually works.
6476 if test -n "$lt_prog_compiler_pic"; then
6478 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6479 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6480 if test "${lt_prog_compiler_pic_works+set}" = set; then
6481 echo $ECHO_N "(cached) $ECHO_C" >&6
6483 lt_prog_compiler_pic_works
=no
6484 ac_outfile
=conftest.
$ac_objext
6485 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6486 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6487 # Insert the option either (1) after the last *FLAGS variable, or
6488 # (2) before a word containing "conftest.", or (3) at the end.
6489 # Note that $ac_compile itself does not contain backslashes and begins
6490 # with a dollar sign (not a hyphen), so the echo should work correctly.
6491 # The option is referenced via a variable to avoid confusing sed.
6492 lt_compile
=`echo "$ac_compile" | $SED \
6493 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6494 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6495 -e 's:$: $lt_compiler_flag:'`
6496 (eval echo "\"\$as_me:6496: $lt_compile\"" >&5)
6497 (eval "$lt_compile" 2>conftest.err
)
6499 cat conftest.err
>&5
6500 echo "$as_me:6500: \$? = $ac_status" >&5
6501 if (exit $ac_status) && test -s "$ac_outfile"; then
6502 # The compiler can only warn and ignore the option if not recognized
6503 # So say no if there are warnings
6504 if test ! -s conftest.err
; then
6505 lt_prog_compiler_pic_works
=yes
6511 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6512 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6514 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6515 case $lt_prog_compiler_pic in
6517 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6520 lt_prog_compiler_pic
=
6521 lt_prog_compiler_can_build_shared
=no
6526 # For platforms which do not support PIC, -DPIC is meaningless:
6528 lt_prog_compiler_pic
=
6531 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6535 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6536 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6537 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 lt_cv_prog_compiler_c_o
=no
6541 $rm -r conftest
2>/dev
/null
6545 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6547 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6548 # Insert the option either (1) after the last *FLAGS variable, or
6549 # (2) before a word containing "conftest.", or (3) at the end.
6550 # Note that $ac_compile itself does not contain backslashes and begins
6551 # with a dollar sign (not a hyphen), so the echo should work correctly.
6552 lt_compile
=`echo "$ac_compile" | $SED \
6553 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6554 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6555 -e 's:$: $lt_compiler_flag:'`
6556 (eval echo "\"\$as_me:6556: $lt_compile\"" >&5)
6557 (eval "$lt_compile" 2>out
/conftest.err
)
6559 cat out
/conftest.err
>&5
6560 echo "$as_me:6560: \$? = $ac_status" >&5
6561 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6563 # The compiler can only warn and ignore the option if not recognized
6564 # So say no if there are warnings
6565 if test ! -s out
/conftest.err
; then
6566 lt_cv_prog_compiler_c_o
=yes
6571 # SGI C++ compiler will create directory out/ii_files/ for
6572 # template instantiation
6573 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6574 $rm out
/* && rmdir out
6580 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6581 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6584 hard_links
="nottested"
6585 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6586 # do not overwrite the value of need_locks provided by the user
6587 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6588 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6591 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6593 ln conftest.a conftest.b
2>&5 || hard_links
=no
6594 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6595 echo "$as_me:$LINENO: result: $hard_links" >&5
6596 echo "${ECHO_T}$hard_links" >&6
6597 if test "$hard_links" = no
; then
6598 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6599 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6606 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6607 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6610 allow_undefined_flag
=
6611 enable_shared_with_static_runtimes
=no
6613 archive_expsym_cmds
=
6614 old_archive_From_new_cmds
=
6615 old_archive_from_expsyms_cmds
=
6616 export_dynamic_flag_spec
=
6617 whole_archive_flag_spec
=
6618 thread_safe_flag_spec
=
6619 hardcode_libdir_flag_spec
=
6620 hardcode_libdir_flag_spec_ld
=
6621 hardcode_libdir_separator
=
6624 hardcode_shlibpath_var
=unsupported
6625 link_all_deplibs
=unknown
6626 hardcode_automatic
=no
6629 always_export_symbols
=no
6630 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6631 # include_expsyms should be a list of space-separated symbols to be *always*
6632 # included in the symbol list
6634 # exclude_expsyms can be an extended regexp of symbols to exclude
6635 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6636 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6637 # as well as any symbol that contains `d'.
6638 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6639 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6640 # platforms (ab)use it in PIC code, but their linkers get confused if
6641 # the symbol is explicitly referenced. Since portable code cannot
6642 # rely on this symbol name, it's probably fine to never include it in
6643 # preloaded symbol tables.
6644 extract_expsyms_cmds
=
6647 cygwin
* | mingw
* | pw32
*)
6648 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6649 # When not using gcc, we currently assume that we are using
6650 # Microsoft Visual C++.
6651 if test "$GCC" != yes; then
6661 if test "$with_gnu_ld" = yes; then
6662 # If archive_cmds runs LD, not CC, wlarc should be empty
6665 # See if GNU ld supports shared libraries.
6667 aix3
* | aix4
* | aix5
*)
6668 # On AIX/PPC, the GNU linker is very broken
6669 if test "$host_cpu" != ia64
; then
6673 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6674 *** to be unable to reliably create shared libraries on AIX.
6675 *** Therefore, libtool is disabling shared libraries support. If you
6676 *** really care for shared libraries, you may want to modify your PATH
6677 *** so that a non-GNU linker is found, and then restart.
6684 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)'
6685 hardcode_libdir_flag_spec
='-L$libdir'
6686 hardcode_minus_L
=yes
6688 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6689 # that the semantics of dynamic libraries on AmigaOS, at least up
6690 # to version 4, is to share data among multiple programs linked
6691 # with the same dynamic library. Since this doesn't match the
6692 # behavior of shared libraries on other platforms, we can't use
6698 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6699 allow_undefined_flag
=unsupported
6700 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6701 # support --undefined. This deserves some investigation. FIXME
6702 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6708 cygwin
* | mingw
* | pw32
*)
6709 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6710 # as there is no search path for DLLs.
6711 hardcode_libdir_flag_spec
='-L$libdir'
6712 allow_undefined_flag
=unsupported
6713 always_export_symbols
=no
6714 enable_shared_with_static_runtimes
=yes
6715 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6717 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6718 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6719 # If the export-symbols file already is a .def file (1st line
6720 # is EXPORTS), use it as is; otherwise, prepend...
6721 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6722 cp $export_symbols $output_objdir/$soname.def;
6724 echo EXPORTS > $output_objdir/$soname.def;
6725 cat $export_symbols >> $output_objdir/$soname.def;
6727 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6734 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6735 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6738 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6739 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6744 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
6748 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6749 *** create shared libraries on Solaris systems. Therefore, libtool
6750 *** is disabling shared libraries support. We urge you to upgrade GNU
6751 *** binutils to release 2.9.1 or newer. Another option is to modify
6752 *** your PATH or compiler configuration so that the native linker is
6753 *** used, and then restart.
6756 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6757 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6758 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6765 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6768 hardcode_shlibpath_var
=no
6772 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6773 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6774 archive_cmds
="$tmp_archive_cmds"
6775 supports_anon_versioning
=no
6776 case `$LD -v 2>/dev/null` in
6777 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6778 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6779 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6780 *\
2.11.
*) ;; # other 2.11 versions
6781 *) supports_anon_versioning
=yes ;;
6783 if test $supports_anon_versioning = yes; then
6784 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
6785 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6786 $echo "local: *; };" >> $output_objdir/$libname.ver~
6787 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6789 archive_expsym_cmds
="$tmp_archive_cmds"
6797 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6798 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6799 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6806 if test "$ld_shlibs" = yes; then
6807 runpath_var
=LD_RUN_PATH
6808 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6809 export_dynamic_flag_spec
='${wl}--export-dynamic'
6810 # ancient GNU ld didn't support --whole-archive et. al.
6811 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6812 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6814 whole_archive_flag_spec
=
6818 # PORTME fill in a description of your system's linker (not GNU ld)
6821 allow_undefined_flag
=unsupported
6822 always_export_symbols
=yes
6823 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'
6824 # Note: this linker hardcodes the directories in LIBPATH if there
6825 # are no directories specified by -L.
6826 hardcode_minus_L
=yes
6827 if test "$GCC" = yes && test -z "$link_static_flag"; then
6828 # Neither direct hardcoding nor static linking is supported with a
6830 hardcode_direct
=unsupported
6835 if test "$host_cpu" = ia64
; then
6836 # On IA64, the linker does run time linking by default, so we don't
6837 # have to do anything special.
6838 aix_use_runtimelinking
=no
6839 exp_sym_flag
='-Bexport'
6842 # If we're using GNU nm, then we don't want the "-C" option.
6843 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6844 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
6845 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'
6847 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'
6849 aix_use_runtimelinking
=no
6851 # Test if we are trying to use run time linking or normal
6852 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6853 # need to do runtime linking.
6854 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
6855 for ld_flag
in $LDFLAGS; do
6856 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
6857 aix_use_runtimelinking
=yes
6863 exp_sym_flag
='-bexport'
6864 no_entry_flag
='-bnoentry'
6867 # When large executables or shared objects are built, AIX ld can
6868 # have problems creating the table of contents. If linking a library
6869 # or program results in "error TOC overflow" add -mminimal-toc to
6870 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6871 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6875 hardcode_libdir_separator
=':'
6876 link_all_deplibs
=yes
6878 if test "$GCC" = yes; then
6879 case $host_os in aix4.012|aix4.012.
*)
6880 # We only want to do this on AIX 4.2 and lower, the check
6881 # below for broken collect2 doesn't work under 4.3+
6882 collect2name
=`${CC} -print-prog-name=collect2`
6883 if test -f "$collect2name" && \
6884 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
6886 # We have reworked collect2
6889 # We have old collect2
6890 hardcode_direct
=unsupported
6891 # It fails to find uninstalled libraries when the uninstalled
6892 # path is not listed in the libpath. Setting hardcode_minus_L
6893 # to unsupported forces relinking
6894 hardcode_minus_L
=yes
6895 hardcode_libdir_flag_spec
='-L$libdir'
6896 hardcode_libdir_separator
=
6899 shared_flag
='-shared'
6902 if test "$host_cpu" = ia64
; then
6903 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6904 # chokes on -Wl,-G. The following line is correct:
6907 if test "$aix_use_runtimelinking" = yes; then
6908 shared_flag
='${wl}-G'
6910 shared_flag
='${wl}-bM:SRE'
6915 # It seems that -bexpall does not export symbols beginning with
6916 # underscore (_), so it is better to generate a list of symbols to export.
6917 always_export_symbols
=yes
6918 if test "$aix_use_runtimelinking" = yes; then
6919 # Warning - without using the other runtime loading flags (-brtl),
6920 # -berok will link without error, but may produce a broken library.
6921 allow_undefined_flag
='-berok'
6922 # Determine the default libpath from the value encoded in an empty executable.
6923 cat >conftest.
$ac_ext <<_ACEOF
6926 cat confdefs.h
>>conftest.
$ac_ext
6927 cat >>conftest.
$ac_ext <<_ACEOF
6928 /* end confdefs.h. */
6938 rm -f conftest.
$ac_objext conftest
$ac_exeext
6939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6940 (eval $ac_link) 2>conftest.er1
6942 grep -v '^ *+' conftest.er1
>conftest.err
6944 cat conftest.err
>&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); } &&
6947 { ac_try
='test -z "$ac_c_werror_flag"
6948 || test ! -s conftest.err'
6949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; } &&
6954 { ac_try
='test -s conftest$ac_exeext'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; }; then
6961 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6963 # Check for a 64-bit object if we didn't find anything.
6964 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; }
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.
$ac_ext >&5
6971 rm -f conftest.err conftest.
$ac_objext \
6972 conftest
$ac_exeext conftest.
$ac_ext
6973 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
6975 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
6976 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6978 if test "$host_cpu" = ia64; then
6979 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
6980 allow_undefined_flag="-z nodefs"
6981 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
6983 # Determine the default libpath from the value encoded in an empty executable.
6984 cat >conftest.$ac_ext <<_ACEOF
6987 cat confdefs.h >>conftest.$ac_ext
6988 cat >>conftest.$ac_ext <<_ACEOF
6989 /* end confdefs.h. */
6999 rm -f conftest.$ac_objext conftest$ac_exeext
7000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7001 (eval $ac_link) 2>conftest.er1
7003 grep -v '^ *+' conftest.er1 >conftest.err
7005 cat conftest.err >&5
7006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7007 (exit $ac_status); } &&
7008 { ac_try='test -z "$ac_c_werror_flag"
7009 || test ! -s conftest.err'
7010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7013 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7014 (exit $ac_status); }; } &&
7015 { ac_try='test -s conftest$ac_exeext'
7016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7019 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7020 (exit $ac_status); }; }; then
7022 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7024 # Check for a 64-bit object if we didn't find anything.
7025 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; }
7028 echo "$as_me: failed program was
:" >&5
7029 sed 's/^/| /' conftest.$ac_ext >&5
7032 rm -f conftest.err conftest.$ac_objext \
7033 conftest$ac_exeext conftest.$ac_ext
7034 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7036 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7037 # Warning - without using the other run time loading flags,
7038 # -berok will link without error, but may produce a broken library.
7039 no_undefined_flag=' ${wl}-bernotok'
7040 allow_undefined_flag=' ${wl}-berok'
7041 # -bexpall does not export symbols beginning with underscore (_)
7042 always_export_symbols=yes
7043 # Exported symbols can be pulled into shared objects from archives
7044 whole_archive_flag_spec=' '
7045 archive_cmds_need_lc=yes
7046 # This is similar to how AIX traditionally builds it's shared libraries.
7047 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7053 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)'
7054 hardcode_libdir_flag_spec
='-L$libdir'
7055 hardcode_minus_L
=yes
7056 # see comment about different semantics on the GNU ld section
7061 export_dynamic_flag_spec
=-rdynamic
7064 cygwin
* | mingw
* | pw32
*)
7065 # When not using gcc, we currently assume that we are using
7066 # Microsoft Visual C++.
7067 # hardcode_libdir_flag_spec is actually meaningless, as there is
7068 # no search path for DLLs.
7069 hardcode_libdir_flag_spec
=' '
7070 allow_undefined_flag
=unsupported
7071 # Tell ltmain to make .lib files, not .a files.
7073 # Tell ltmain to make .dll files, not .so files.
7075 # FIXME: Setting linknames here is a bad hack.
7076 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7077 # The linker will automatically build a .lib file if we build a DLL.
7078 old_archive_From_new_cmds
='true'
7079 # FIXME: Should let the user specify the lib program.
7080 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7081 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7082 enable_shared_with_static_runtimes
=yes
7085 darwin
* | rhapsody
*)
7086 if test "$GXX" = yes ; then
7087 archive_cmds_need_lc
=no
7089 rhapsody
* | darwin1.
[012])
7090 allow_undefined_flag
='-undefined suppress'
7093 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7094 allow_undefined_flag
='-flat_namespace -undefined suppress'
7096 case ${MACOSX_DEPLOYMENT_TARGET} in
7098 allow_undefined_flag
='-flat_namespace -undefined suppress'
7101 allow_undefined_flag
='-undefined dynamic_lookup'
7107 lt_int_apple_cc_single_mod
=no
7108 output_verbose_link_cmd
='echo'
7109 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
7110 lt_int_apple_cc_single_mod
=yes
7112 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7113 archive_cmds
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7115 archive_cmds
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7117 module_cmds
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7118 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7119 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7120 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7122 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7124 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}'
7126 hardcode_automatic
=yes
7127 hardcode_shlibpath_var
=unsupported
7128 whole_archive_flag_spec
='-all_load $convenience'
7129 link_all_deplibs
=yes
7136 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7137 hardcode_libdir_flag_spec
='-L$libdir'
7138 hardcode_shlibpath_var
=no
7145 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7146 # support. Future versions do this automatically, but an explicit c++rt0.o
7147 # does not break anything, and helps significantly (at the cost of a little
7150 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7151 hardcode_libdir_flag_spec
='-R$libdir'
7153 hardcode_shlibpath_var
=no
7156 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7158 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7160 hardcode_minus_L
=yes
7161 hardcode_shlibpath_var
=no
7164 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7165 freebsd
* | kfreebsd
*-gnu)
7166 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7167 hardcode_libdir_flag_spec
='-R$libdir'
7169 hardcode_shlibpath_var
=no
7173 if test "$GCC" = yes; then
7174 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'
7176 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'
7178 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7179 hardcode_libdir_separator
=:
7182 # hardcode_minus_L: Not really in the search PATH,
7183 # but as the default location of the library.
7184 hardcode_minus_L
=yes
7185 export_dynamic_flag_spec
='${wl}-E'
7189 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7192 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7195 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7201 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7204 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7208 if test "$with_gnu_ld" = no
; then
7211 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7212 hardcode_libdir_flag_spec_ld
='+b $libdir'
7213 hardcode_libdir_separator
=:
7215 hardcode_shlibpath_var
=no
7218 hardcode_libdir_flag_spec
='-L$libdir'
7220 hardcode_shlibpath_var
=no
7222 # hardcode_minus_L: Not really in the search PATH,
7223 # but as the default location of the library.
7224 hardcode_minus_L
=yes
7227 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7228 hardcode_libdir_separator
=:
7230 export_dynamic_flag_spec
='${wl}-E'
7232 # hardcode_minus_L: Not really in the search PATH,
7233 # but as the default location of the library.
7234 hardcode_minus_L
=yes
7240 irix5
* | irix6
* | nonstopux
*)
7241 if test "$GCC" = yes; then
7242 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'
7244 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'
7245 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7247 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7248 hardcode_libdir_separator
=:
7249 link_all_deplibs
=yes
7253 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7254 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7256 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7258 hardcode_libdir_flag_spec
='-R$libdir'
7260 hardcode_shlibpath_var
=no
7264 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7266 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7267 hardcode_libdir_separator
=:
7268 hardcode_shlibpath_var
=no
7273 hardcode_shlibpath_var
=no
7274 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7275 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7276 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7277 export_dynamic_flag_spec
='${wl}-E'
7280 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7281 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7282 hardcode_libdir_flag_spec
='-R$libdir'
7285 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7286 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7293 hardcode_libdir_flag_spec
='-L$libdir'
7294 hardcode_minus_L
=yes
7295 allow_undefined_flag
=unsupported
7296 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'
7297 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7301 if test "$GCC" = yes; then
7302 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7303 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'
7305 allow_undefined_flag
=' -expect_unresolved \*'
7306 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'
7308 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7309 hardcode_libdir_separator
=:
7312 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7313 if test "$GCC" = yes; then
7314 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7315 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'
7316 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7318 allow_undefined_flag
=' -expect_unresolved \*'
7319 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'
7320 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7321 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
7323 # Both c and cxx compiler support -rpath directly
7324 hardcode_libdir_flag_spec
='-rpath $libdir'
7326 hardcode_libdir_separator
=:
7330 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7331 hardcode_shlibpath_var
=no
7332 export_dynamic_flag_spec
='${wl}-Bexport'
7333 runpath_var
=LD_RUN_PATH
7334 hardcode_runpath_var
=yes
7338 no_undefined_flag
=' -z text'
7339 if test "$GCC" = yes; then
7340 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7341 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7342 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7344 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7345 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7346 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7348 hardcode_libdir_flag_spec
='-R$libdir'
7349 hardcode_shlibpath_var
=no
7351 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7352 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7353 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7355 link_all_deplibs
=yes
7359 if test "x$host_vendor" = xsequent
; then
7360 # Use $CC to link under sequent, because it throws in some extra .o
7361 # files that make .init and .fini sections work.
7362 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7364 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7366 hardcode_libdir_flag_spec
='-L$libdir'
7368 hardcode_minus_L
=yes
7369 hardcode_shlibpath_var
=no
7373 case $host_vendor in
7375 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7376 hardcode_direct
=yes # is this really true???
7379 ## LD is ld it makes a PLAMLIB
7380 ## CC just makes a GrossModule.
7381 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7382 reload_cmds
='$CC -r -o $output$reload_objs'
7386 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7387 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7390 runpath_var
='LD_RUN_PATH'
7391 hardcode_shlibpath_var
=no
7395 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7396 hardcode_shlibpath_var
=no
7397 export_dynamic_flag_spec
='-Bexport'
7401 if test -d /usr
/nec
; then
7402 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7403 hardcode_shlibpath_var
=no
7404 runpath_var
=LD_RUN_PATH
7405 hardcode_runpath_var
=yes
7411 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7414 hardcode_shlibpath_var
=no
7415 hardcode_runpath_var
=yes
7416 runpath_var
=LD_RUN_PATH
7419 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7420 no_undefined_flag
='${wl}-z ${wl}text'
7421 if test "$GCC" = yes; then
7422 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7424 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7426 runpath_var
='LD_RUN_PATH'
7427 hardcode_shlibpath_var
=no
7431 no_undefined_flag
=' -z text'
7432 # $CC -shared without GNU ld will not create a library from C++
7433 # object files and a static libstdc++, better avoid it by now
7434 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7435 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7436 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7437 hardcode_libdir_flag_spec
=
7438 hardcode_shlibpath_var
=no
7439 runpath_var
='LD_RUN_PATH'
7443 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7444 hardcode_libdir_flag_spec
='-L$libdir'
7445 hardcode_shlibpath_var
=no
7454 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7455 echo "${ECHO_T}$ld_shlibs" >&6
7456 test "$ld_shlibs" = no
&& can_build_shared
=no
7458 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7459 if test "$GCC" = yes; then
7460 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7464 # Do we need to explicitly link libc?
7466 case "x$archive_cmds_need_lc" in
7468 # Assume -lc should be added
7469 archive_cmds_need_lc
=yes
7471 if test "$enable_shared" = yes && test "$GCC" = yes; then
7472 case $archive_cmds in
7474 # FIXME: we may have to deal with multi-command sequences.
7477 # Test whether the compiler implicitly links with -lc since on some
7478 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7479 # to ld, don't add -lc before -lgcc.
7480 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7481 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7483 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7486 (eval $ac_compile) 2>&5
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); } 2>conftest.err
; then
7492 libobjs
=conftest.
$ac_objext
7494 wl
=$lt_prog_compiler_wl
7500 lt_save_allow_undefined_flag
=$allow_undefined_flag
7501 allow_undefined_flag
=
7502 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7503 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); }
7508 archive_cmds_need_lc
=no
7510 archive_cmds_need_lc
=yes
7512 allow_undefined_flag
=$lt_save_allow_undefined_flag
7514 cat conftest.err
1>&5
7517 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7518 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7525 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7526 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7528 libname_spec
='lib$name'
7536 shlibpath_overrides_runpath
=unknown
7538 dynamic_linker
="$host_os ld.so"
7539 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7540 if test "$GCC" = yes; then
7541 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7542 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7543 # if the path contains ";" then we assume it to be the separator
7544 # otherwise default to the standard path separator (i.e. ":") - it is
7545 # assumed that no part of a normal pathname contains ";" but that should
7546 # okay in the real world where ";" in dirpaths is itself problematic.
7547 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7549 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7552 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7554 need_lib_prefix
=unknown
7555 hardcode_into_libs
=no
7557 # when you set need_version to no, make sure it does not cause -set_version
7558 # flags to be left without arguments
7559 need_version
=unknown
7564 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7565 shlibpath_var
=LIBPATH
7567 # AIX 3 has no versioning support, so we append a major version to the name.
7568 soname_spec
='${libname}${release}${shared_ext}$major'
7575 hardcode_into_libs
=yes
7576 if test "$host_cpu" = ia64
; then
7577 # AIX 5 supports IA64
7578 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7579 shlibpath_var
=LD_LIBRARY_PATH
7581 # With GCC up to 2.95.x, collect2 would create an import file
7582 # for dependence libraries. The import file would start with
7583 # the line `#! .'. This would cause the generated library to
7584 # depend on `.', always an invalid library. This was fixed in
7585 # development snapshots of GCC prior to 3.0.
7587 aix4 | aix4.
[01] | aix4.
[01].
*)
7588 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7590 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7597 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7598 # soname into executable. Probably we can add versioning support to
7599 # collect2, so additional links can be useful in future.
7600 if test "$aix_use_runtimelinking" = yes; then
7601 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7602 # instead of lib<name>.a to let people know that these are not
7603 # typical AIX shared libraries.
7604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7606 # We preserve .a as extension for shared libraries through AIX4.2
7607 # and later when we are not doing run time linking.
7608 library_names_spec
='${libname}${release}.a $libname.a'
7609 soname_spec
='${libname}${release}${shared_ext}$major'
7611 shlibpath_var
=LIBPATH
7616 library_names_spec
='$libname.ixlibrary $libname.a'
7617 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7618 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'
7622 library_names_spec
='${libname}${shared_ext}'
7623 dynamic_linker
="$host_os ld.so"
7624 shlibpath_var
=LIBRARY_PATH
7630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7631 soname_spec
='${libname}${release}${shared_ext}$major'
7632 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7633 shlibpath_var
=LD_LIBRARY_PATH
7634 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7635 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7636 # the default ld.so.conf also contains /usr/contrib/lib and
7637 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7638 # libtool to hard-code these into programs
7641 cygwin
* | mingw
* | pw32
*)
7642 version_type
=windows
7647 case $GCC,$host_os in
7648 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7649 library_names_spec
='$libname.dll.a'
7650 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7651 postinstall_cmds
='base_file=`basename \${file}`~
7652 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7653 dldir=$destdir/`dirname \$dlpath`~
7654 test -d \$dldir || mkdir -p \$dldir~
7655 $install_prog $dir/$dlname \$dldir/$dlname'
7656 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7657 dlpath=$dir/\$dldll~
7659 shlibpath_overrides_runpath
=yes
7663 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7664 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7665 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7668 # MinGW DLLs use traditional 'lib' prefix
7669 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7670 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7671 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7672 # It is most probably a Windows format PATH printed by
7673 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7674 # path with ; separators, and with drive letters. We can handle the
7675 # drive letters (cygwin fileutils understands them), so leave them,
7676 # especially as we might pass files found there to a mingw objdump,
7677 # which wouldn't understand a cygwinified path. Ahh.
7678 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7680 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7684 # pw32 DLLs use 'pw' prefix rather than 'lib'
7685 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7691 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7694 dynamic_linker
='Win32 ld.exe'
7695 # FIXME: first we should search . and the directory the executable is in
7699 darwin
* | rhapsody
*)
7700 dynamic_linker
="$host_os dyld"
7704 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7705 soname_spec
='${libname}${release}${major}$shared_ext'
7706 shlibpath_overrides_runpath
=yes
7707 shlibpath_var
=DYLD_LIBRARY_PATH
7708 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
7709 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7710 if test "$GCC" = yes; then
7711 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"`
7713 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
7715 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
7722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7723 soname_spec
='${libname}${release}${shared_ext}$major'
7724 shlibpath_var
=LD_LIBRARY_PATH
7735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7736 soname_spec
='${libname}${release}${shared_ext}$major'
7737 shlibpath_var
=LD_LIBRARY_PATH
7738 shlibpath_overrides_runpath
=no
7739 hardcode_into_libs
=yes
7740 dynamic_linker
='GNU ld.so'
7744 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7745 version_type
=freebsd-
$objformat
7746 case $version_type in
7748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7753 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7757 shlibpath_var
=LD_LIBRARY_PATH
7760 shlibpath_overrides_runpath
=yes
7762 freebsd3.01
* | freebsdelf3.01
*)
7763 shlibpath_overrides_runpath
=yes
7764 hardcode_into_libs
=yes
7767 shlibpath_overrides_runpath
=no
7768 hardcode_into_libs
=yes
7777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7778 soname_spec
='${libname}${release}${shared_ext}$major'
7779 shlibpath_var
=LD_LIBRARY_PATH
7780 hardcode_into_libs
=yes
7783 hpux9
* | hpux10
* | hpux11
*)
7784 # Give a soname corresponding to the major version so that dld.sl refuses to
7785 # link against other versions.
7792 hardcode_into_libs
=yes
7793 dynamic_linker
="$host_os dld.so"
7794 shlibpath_var
=LD_LIBRARY_PATH
7795 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7797 soname_spec
='${libname}${release}${shared_ext}$major'
7798 if test "X$HPUX_IA64_MODE" = X32
; then
7799 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7801 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
7803 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7807 hardcode_into_libs
=yes
7808 dynamic_linker
="$host_os dld.sl"
7809 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
7810 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7812 soname_spec
='${libname}${release}${shared_ext}$major'
7813 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7814 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7818 dynamic_linker
="$host_os dld.sl"
7819 shlibpath_var
=SHLIB_PATH
7820 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
7821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7822 soname_spec
='${libname}${release}${shared_ext}$major'
7825 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7826 postinstall_cmds
='chmod 555 $lib'
7829 irix5
* | irix6
* | nonstopux
*)
7831 nonstopux
*) version_type
=nonstopux
;;
7833 if test "$lt_cv_prog_gnu_ld" = yes; then
7841 soname_spec
='${libname}${release}${shared_ext}$major'
7842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7844 irix5
* | nonstopux
*)
7848 case $LD in # libtool.m4 will add one of these switches to LD
7849 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
7850 libsuff
= shlibsuff
= libmagic
=32-bit;;
7851 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
7852 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
7853 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
7854 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
7855 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
7859 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
7860 shlibpath_overrides_runpath
=no
7861 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7862 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
7863 hardcode_into_libs
=yes
7866 # No shared lib support for Linux oldld, aout, or coff.
7867 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
7871 # This must be Linux ELF.
7876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7877 soname_spec
='${libname}${release}${shared_ext}$major'
7878 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7879 shlibpath_var
=LD_LIBRARY_PATH
7880 shlibpath_overrides_runpath
=no
7881 # This implies no fast_install, which is unacceptable.
7882 # Some rework will be needed to allow for fast_install
7883 # before this can be enabled.
7884 hardcode_into_libs
=yes
7886 # find out which ABI we are using
7889 x86_64
*|s390x
*|powerpc64
*)
7890 echo '#line 7890 "configure"' > conftest.
$ac_ext
7891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7892 (eval $ac_compile) 2>&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; then
7896 case `/usr/bin/file conftest.$ac_objext` in
7899 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
7907 # Append ld.so.conf contents to the search path
7908 if test -f /etc
/ld.so.conf
; then
7909 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
7910 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
7913 # We used to test for /lib/ld.so.1 and disable shared libraries on
7914 # powerpc, because MkLinux only supported shared libraries with the
7915 # GNU dynamic linker. Since this was broken with cross compilers,
7916 # most powerpc-linux boxes support dynamic linking these days and
7917 # people can always --disable-shared, the test was removed, and we
7918 # assume the GNU/Linux dynamic linker is in use.
7919 dynamic_linker
='GNU/Linux ld.so'
7926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7927 soname_spec
='${libname}${release}${shared_ext}$major'
7928 shlibpath_var
=LD_LIBRARY_PATH
7929 shlibpath_overrides_runpath
=no
7930 hardcode_into_libs
=yes
7931 dynamic_linker
='GNU ld.so'
7938 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7940 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7941 dynamic_linker
='NetBSD (a.out) ld.so'
7943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7944 soname_spec
='${libname}${release}${shared_ext}$major'
7945 dynamic_linker
='NetBSD ld.elf_so'
7947 shlibpath_var
=LD_LIBRARY_PATH
7948 shlibpath_overrides_runpath
=yes
7949 hardcode_into_libs
=yes
7954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7955 shlibpath_var
=LD_LIBRARY_PATH
7956 shlibpath_overrides_runpath
=yes
7963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7964 soname_spec
='${libname}${release}${shared_ext}$major'
7965 shlibpath_var
=LD_LIBRARY_PATH
7966 shlibpath_overrides_runpath
=yes
7973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7974 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7975 shlibpath_var
=LD_LIBRARY_PATH
7976 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7978 openbsd2.
[89] | openbsd2.
[89].
*)
7979 shlibpath_overrides_runpath
=no
7982 shlibpath_overrides_runpath
=yes
7986 shlibpath_overrides_runpath
=yes
7991 libname_spec
='$name'
7994 library_names_spec
='$libname${shared_ext} $libname.a'
7995 dynamic_linker
='OS/2 ld.exe'
7996 shlibpath_var
=LIBPATH
7999 osf3
* | osf4
* | osf5
*)
8003 soname_spec
='${libname}${release}${shared_ext}$major'
8004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8005 shlibpath_var
=LD_LIBRARY_PATH
8006 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8007 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8012 soname_spec
='${libname}${release}${shared_ext}$major'
8013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8014 shlibpath_var
=LD_LIBRARY_PATH
8021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8022 soname_spec
='${libname}${release}${shared_ext}$major'
8023 shlibpath_var
=LD_LIBRARY_PATH
8024 shlibpath_overrides_runpath
=yes
8025 hardcode_into_libs
=yes
8026 # ldd complains unless libraries are executable
8027 postinstall_cmds
='chmod +x $lib'
8032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8033 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8034 shlibpath_var
=LD_LIBRARY_PATH
8035 shlibpath_overrides_runpath
=yes
8036 if test "$with_gnu_ld" = yes; then
8042 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8045 soname_spec
='${libname}${release}${shared_ext}$major'
8046 shlibpath_var
=LD_LIBRARY_PATH
8047 case $host_vendor in
8049 shlibpath_overrides_runpath
=no
8051 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8052 runpath_var
=LD_RUN_PATH
8060 shlibpath_overrides_runpath
=no
8061 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8067 if test -d /usr
/nec
;then
8069 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8070 soname_spec
='$libname${shared_ext}.$major'
8071 shlibpath_var
=LD_LIBRARY_PATH
8077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8078 soname_spec
='${libname}${release}${shared_ext}$major'
8079 shlibpath_var
=LD_LIBRARY_PATH
8086 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8087 echo "${ECHO_T}$dynamic_linker" >&6
8088 test "$dynamic_linker" = no
&& can_build_shared
=no
8090 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8091 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8093 if test -n "$hardcode_libdir_flag_spec" || \
8094 test -n "$runpath_var " || \
8095 test "X$hardcode_automatic"="Xyes" ; then
8097 # We can hardcode non-existant directories.
8098 if test "$hardcode_direct" != no
&&
8099 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8100 # have to relink, otherwise we might link with an installed library
8101 # when we should be linking with a yet-to-be-installed one
8102 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8103 test "$hardcode_minus_L" != no
; then
8104 # Linking always hardcodes the temporary library directory.
8105 hardcode_action
=relink
8107 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8108 hardcode_action
=immediate
8111 # We cannot hardcode anything, or else we can only hardcode existing
8113 hardcode_action
=unsupported
8115 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8116 echo "${ECHO_T}$hardcode_action" >&6
8118 if test "$hardcode_action" = relink
; then
8119 # Fast installation is not supported
8120 enable_fast_install
=no
8121 elif test "$shlibpath_overrides_runpath" = yes ||
8122 test "$enable_shared" = no
; then
8123 # Fast installation is not necessary
8124 enable_fast_install
=needless
8129 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8130 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8131 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8132 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8133 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8134 echo "$as_me:$LINENO: result: yes" >&5
8135 echo "${ECHO_T}yes" >&6
8137 # FIXME - insert some real tests, host_os isn't really good enough
8140 if test -n "$STRIP" ; then
8141 striplib
="$STRIP -x"
8142 echo "$as_me:$LINENO: result: yes" >&5
8143 echo "${ECHO_T}yes" >&6
8145 echo "$as_me:$LINENO: result: no" >&5
8146 echo "${ECHO_T}no" >&6
8150 echo "$as_me:$LINENO: result: no" >&5
8151 echo "${ECHO_T}no" >&6
8156 if test "x$enable_dlopen" != xyes
; then
8157 enable_dlopen
=unknown
8158 enable_dlopen_self
=unknown
8159 enable_dlopen_self_static
=unknown
8166 lt_cv_dlopen
="load_add_on"
8168 lt_cv_dlopen_self
=yes
8172 lt_cv_dlopen
="LoadLibrary"
8177 lt_cv_dlopen
="dlopen"
8182 # if libdl is installed we need to link against it
8183 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8184 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8185 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 ac_check_lib_save_LIBS
=$LIBS
8190 cat >conftest.
$ac_ext <<_ACEOF
8193 cat confdefs.h
>>conftest.
$ac_ext
8194 cat >>conftest.
$ac_ext <<_ACEOF
8195 /* end confdefs.h. */
8197 /* Override any gcc2 internal prototype to avoid an error. */
8201 /* We use char because int might match the return type of a gcc2
8202 builtin and then its argument prototype would still apply. */
8212 rm -f conftest.
$ac_objext conftest
$ac_exeext
8213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8214 (eval $ac_link) 2>conftest.er1
8216 grep -v '^ *+' conftest.er1
>conftest.err
8218 cat conftest.err
>&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); } &&
8221 { ac_try
='test -z "$ac_c_werror_flag"
8222 || test ! -s conftest.err'
8223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); }; } &&
8228 { ac_try
='test -s conftest$ac_exeext'
8229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); }; }; then
8234 ac_cv_lib_dl_dlopen
=yes
8236 echo "$as_me: failed program was:" >&5
8237 sed 's/^/| /' conftest.
$ac_ext >&5
8239 ac_cv_lib_dl_dlopen
=no
8241 rm -f conftest.err conftest.
$ac_objext \
8242 conftest
$ac_exeext conftest.
$ac_ext
8243 LIBS
=$ac_check_lib_save_LIBS
8245 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8246 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8247 if test $ac_cv_lib_dl_dlopen = yes; then
8248 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8253 lt_cv_dlopen_self
=yes
8260 echo "$as_me:$LINENO: checking for shl_load" >&5
8261 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8262 if test "${ac_cv_func_shl_load+set}" = set; then
8263 echo $ECHO_N "(cached) $ECHO_C" >&6
8265 cat >conftest.
$ac_ext <<_ACEOF
8268 cat confdefs.h
>>conftest.
$ac_ext
8269 cat >>conftest.
$ac_ext <<_ACEOF
8270 /* end confdefs.h. */
8271 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8273 #define shl_load innocuous_shl_load
8275 /* System header to define __stub macros and hopefully few prototypes,
8276 which can conflict with char shl_load (); below.
8277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8278 <limits.h> exists even on freestanding compilers. */
8281 # include <limits.h>
8283 # include <assert.h>
8288 /* Override any gcc2 internal prototype to avoid an error. */
8293 /* We use char because int might match the return type of a gcc2
8294 builtin and then its argument prototype would still apply. */
8296 /* The GNU C library defines this for functions which it implements
8297 to always fail with ENOSYS. Some functions are actually named
8298 something starting with __ and the normal name is an alias. */
8299 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8302 char (*f) () = shl_load;
8311 return f != shl_load;
8316 rm -f conftest.
$ac_objext conftest
$ac_exeext
8317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8318 (eval $ac_link) 2>conftest.er1
8320 grep -v '^ *+' conftest.er1
>conftest.err
8322 cat conftest.err
>&5
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); } &&
8325 { ac_try
='test -z "$ac_c_werror_flag"
8326 || test ! -s conftest.err'
8327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); }; } &&
8332 { ac_try
='test -s conftest$ac_exeext'
8333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); }; }; then
8338 ac_cv_func_shl_load
=yes
8340 echo "$as_me: failed program was:" >&5
8341 sed 's/^/| /' conftest.
$ac_ext >&5
8343 ac_cv_func_shl_load
=no
8345 rm -f conftest.err conftest.
$ac_objext \
8346 conftest
$ac_exeext conftest.
$ac_ext
8348 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8349 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8350 if test $ac_cv_func_shl_load = yes; then
8351 lt_cv_dlopen
="shl_load"
8353 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8354 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8355 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 ac_check_lib_save_LIBS
=$LIBS
8360 cat >conftest.
$ac_ext <<_ACEOF
8363 cat confdefs.h
>>conftest.
$ac_ext
8364 cat >>conftest.
$ac_ext <<_ACEOF
8365 /* end confdefs.h. */
8367 /* Override any gcc2 internal prototype to avoid an error. */
8371 /* We use char because int might match the return type of a gcc2
8372 builtin and then its argument prototype would still apply. */
8382 rm -f conftest.
$ac_objext conftest
$ac_exeext
8383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8384 (eval $ac_link) 2>conftest.er1
8386 grep -v '^ *+' conftest.er1
>conftest.err
8388 cat conftest.err
>&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); } &&
8391 { ac_try
='test -z "$ac_c_werror_flag"
8392 || test ! -s conftest.err'
8393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 (exit $ac_status); }; } &&
8398 { ac_try
='test -s conftest$ac_exeext'
8399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); }; }; then
8404 ac_cv_lib_dld_shl_load
=yes
8406 echo "$as_me: failed program was:" >&5
8407 sed 's/^/| /' conftest.
$ac_ext >&5
8409 ac_cv_lib_dld_shl_load
=no
8411 rm -f conftest.err conftest.
$ac_objext \
8412 conftest
$ac_exeext conftest.
$ac_ext
8413 LIBS
=$ac_check_lib_save_LIBS
8415 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8416 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8417 if test $ac_cv_lib_dld_shl_load = yes; then
8418 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8420 echo "$as_me:$LINENO: checking for dlopen" >&5
8421 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8422 if test "${ac_cv_func_dlopen+set}" = set; then
8423 echo $ECHO_N "(cached) $ECHO_C" >&6
8425 cat >conftest.
$ac_ext <<_ACEOF
8428 cat confdefs.h
>>conftest.
$ac_ext
8429 cat >>conftest.
$ac_ext <<_ACEOF
8430 /* end confdefs.h. */
8431 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8433 #define dlopen innocuous_dlopen
8435 /* System header to define __stub macros and hopefully few prototypes,
8436 which can conflict with char dlopen (); below.
8437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8438 <limits.h> exists even on freestanding compilers. */
8441 # include <limits.h>
8443 # include <assert.h>
8448 /* Override any gcc2 internal prototype to avoid an error. */
8453 /* We use char because int might match the return type of a gcc2
8454 builtin and then its argument prototype would still apply. */
8456 /* The GNU C library defines this for functions which it implements
8457 to always fail with ENOSYS. Some functions are actually named
8458 something starting with __ and the normal name is an alias. */
8459 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8462 char (*f) () = dlopen;
8476 rm -f conftest.
$ac_objext conftest
$ac_exeext
8477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8478 (eval $ac_link) 2>conftest.er1
8480 grep -v '^ *+' conftest.er1
>conftest.err
8482 cat conftest.err
>&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); } &&
8485 { ac_try
='test -z "$ac_c_werror_flag"
8486 || test ! -s conftest.err'
8487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); }; } &&
8492 { ac_try
='test -s conftest$ac_exeext'
8493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); }; }; then
8498 ac_cv_func_dlopen
=yes
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.
$ac_ext >&5
8503 ac_cv_func_dlopen
=no
8505 rm -f conftest.err conftest.
$ac_objext \
8506 conftest
$ac_exeext conftest.
$ac_ext
8508 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8509 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8510 if test $ac_cv_func_dlopen = yes; then
8511 lt_cv_dlopen
="dlopen"
8513 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8514 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8515 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8516 echo $ECHO_N "(cached) $ECHO_C" >&6
8518 ac_check_lib_save_LIBS
=$LIBS
8520 cat >conftest.
$ac_ext <<_ACEOF
8523 cat confdefs.h
>>conftest.
$ac_ext
8524 cat >>conftest.
$ac_ext <<_ACEOF
8525 /* end confdefs.h. */
8527 /* Override any gcc2 internal prototype to avoid an error. */
8531 /* We use char because int might match the return type of a gcc2
8532 builtin and then its argument prototype would still apply. */
8542 rm -f conftest.
$ac_objext conftest
$ac_exeext
8543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8544 (eval $ac_link) 2>conftest.er1
8546 grep -v '^ *+' conftest.er1
>conftest.err
8548 cat conftest.err
>&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); } &&
8551 { ac_try
='test -z "$ac_c_werror_flag"
8552 || test ! -s conftest.err'
8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); }; } &&
8558 { ac_try
='test -s conftest$ac_exeext'
8559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); }; }; then
8564 ac_cv_lib_dl_dlopen
=yes
8566 echo "$as_me: failed program was:" >&5
8567 sed 's/^/| /' conftest.
$ac_ext >&5
8569 ac_cv_lib_dl_dlopen
=no
8571 rm -f conftest.err conftest.
$ac_objext \
8572 conftest
$ac_exeext conftest.
$ac_ext
8573 LIBS
=$ac_check_lib_save_LIBS
8575 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8576 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8577 if test $ac_cv_lib_dl_dlopen = yes; then
8578 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8580 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8581 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8582 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8583 echo $ECHO_N "(cached) $ECHO_C" >&6
8585 ac_check_lib_save_LIBS
=$LIBS
8587 cat >conftest.
$ac_ext <<_ACEOF
8590 cat confdefs.h
>>conftest.
$ac_ext
8591 cat >>conftest.
$ac_ext <<_ACEOF
8592 /* end confdefs.h. */
8594 /* Override any gcc2 internal prototype to avoid an error. */
8598 /* We use char because int might match the return type of a gcc2
8599 builtin and then its argument prototype would still apply. */
8609 rm -f conftest.
$ac_objext conftest
$ac_exeext
8610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8611 (eval $ac_link) 2>conftest.er1
8613 grep -v '^ *+' conftest.er1
>conftest.err
8615 cat conftest.err
>&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); } &&
8618 { ac_try
='test -z "$ac_c_werror_flag"
8619 || test ! -s conftest.err'
8620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); }; } &&
8625 { ac_try
='test -s conftest$ac_exeext'
8626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 (exit $ac_status); }; }; then
8631 ac_cv_lib_svld_dlopen
=yes
8633 echo "$as_me: failed program was:" >&5
8634 sed 's/^/| /' conftest.
$ac_ext >&5
8636 ac_cv_lib_svld_dlopen
=no
8638 rm -f conftest.err conftest.
$ac_objext \
8639 conftest
$ac_exeext conftest.
$ac_ext
8640 LIBS
=$ac_check_lib_save_LIBS
8642 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8643 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8644 if test $ac_cv_lib_svld_dlopen = yes; then
8645 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8647 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8648 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8649 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 ac_check_lib_save_LIBS
=$LIBS
8654 cat >conftest.
$ac_ext <<_ACEOF
8657 cat confdefs.h
>>conftest.
$ac_ext
8658 cat >>conftest.
$ac_ext <<_ACEOF
8659 /* end confdefs.h. */
8661 /* Override any gcc2 internal prototype to avoid an error. */
8665 /* We use char because int might match the return type of a gcc2
8666 builtin and then its argument prototype would still apply. */
8676 rm -f conftest.
$ac_objext conftest
$ac_exeext
8677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8678 (eval $ac_link) 2>conftest.er1
8680 grep -v '^ *+' conftest.er1
>conftest.err
8682 cat conftest.err
>&5
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); } &&
8685 { ac_try
='test -z "$ac_c_werror_flag"
8686 || test ! -s conftest.err'
8687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); }; } &&
8692 { ac_try
='test -s conftest$ac_exeext'
8693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); }; }; then
8698 ac_cv_lib_dld_dld_link
=yes
8700 echo "$as_me: failed program was:" >&5
8701 sed 's/^/| /' conftest.
$ac_ext >&5
8703 ac_cv_lib_dld_dld_link
=no
8705 rm -f conftest.err conftest.
$ac_objext \
8706 conftest
$ac_exeext conftest.
$ac_ext
8707 LIBS
=$ac_check_lib_save_LIBS
8709 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8710 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8711 if test $ac_cv_lib_dld_dld_link = yes; then
8712 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
8733 if test "x$lt_cv_dlopen" != xno
; then
8739 case $lt_cv_dlopen in
8741 save_CPPFLAGS
="$CPPFLAGS"
8742 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
8744 save_LDFLAGS
="$LDFLAGS"
8745 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
8748 LIBS
="$lt_cv_dlopen_libs $LIBS"
8750 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8751 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8752 if test "${lt_cv_dlopen_self+set}" = set; then
8753 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 if test "$cross_compiling" = yes; then :
8756 lt_cv_dlopen_self
=cross
8758 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8759 lt_status
=$lt_dlunknown
8760 cat > conftest.
$ac_ext <<EOF
8761 #line 8761 "configure"
8762 #include "confdefs.h"
8771 # define LT_DLGLOBAL RTLD_GLOBAL
8774 # define LT_DLGLOBAL DL_GLOBAL
8776 # define LT_DLGLOBAL 0
8780 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8781 find out it does not work in some platform. */
8782 #ifndef LT_DLLAZY_OR_NOW
8784 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8787 # define LT_DLLAZY_OR_NOW DL_LAZY
8790 # define LT_DLLAZY_OR_NOW RTLD_NOW
8793 # define LT_DLLAZY_OR_NOW DL_NOW
8795 # define LT_DLLAZY_OR_NOW 0
8803 extern "C" void exit (int);
8806 void fnord() { int i=42;}
8809 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8810 int status = $lt_dlunknown;
8814 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8815 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8816 /* dlclose (self); */
8822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8823 (eval $ac_link) 2>&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8827 (.
/conftest
; exit; ) 2>/dev
/null
8830 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
8831 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
8832 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
8835 # compilation failed
8836 lt_cv_dlopen_self
=no
8843 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8844 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8846 if test "x$lt_cv_dlopen_self" = xyes
; then
8847 LDFLAGS
="$LDFLAGS $link_static_flag"
8848 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8849 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8850 if test "${lt_cv_dlopen_self_static+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 if test "$cross_compiling" = yes; then :
8854 lt_cv_dlopen_self_static
=cross
8856 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8857 lt_status
=$lt_dlunknown
8858 cat > conftest.
$ac_ext <<EOF
8859 #line 8859 "configure"
8860 #include "confdefs.h"
8869 # define LT_DLGLOBAL RTLD_GLOBAL
8872 # define LT_DLGLOBAL DL_GLOBAL
8874 # define LT_DLGLOBAL 0
8878 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8879 find out it does not work in some platform. */
8880 #ifndef LT_DLLAZY_OR_NOW
8882 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8885 # define LT_DLLAZY_OR_NOW DL_LAZY
8888 # define LT_DLLAZY_OR_NOW RTLD_NOW
8891 # define LT_DLLAZY_OR_NOW DL_NOW
8893 # define LT_DLLAZY_OR_NOW 0
8901 extern "C" void exit (int);
8904 void fnord() { int i=42;}
8907 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8908 int status = $lt_dlunknown;
8912 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8913 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8914 /* dlclose (self); */
8920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8921 (eval $ac_link) 2>&5
8923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8925 (.
/conftest
; exit; ) 2>/dev
/null
8928 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
8929 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
8930 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
8933 # compilation failed
8934 lt_cv_dlopen_self_static
=no
8941 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8942 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8945 CPPFLAGS
="$save_CPPFLAGS"
8946 LDFLAGS
="$save_LDFLAGS"
8951 case $lt_cv_dlopen_self in
8952 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
8953 *) enable_dlopen_self
=unknown
;;
8956 case $lt_cv_dlopen_self_static in
8957 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
8958 *) enable_dlopen_self_static
=unknown
;;
8963 # Report which librarie types wil actually be built
8964 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8965 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8966 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8967 echo "${ECHO_T}$can_build_shared" >&6
8969 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8970 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8971 test "$can_build_shared" = "no" && enable_shared
=no
8973 # On AIX, shared libraries and static libraries use the same namespace, and
8974 # are all built from PIC.
8977 test "$enable_shared" = yes && enable_static
=no
8978 if test -n "$RANLIB"; then
8979 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
8980 postinstall_cmds
='$RANLIB $lib'
8985 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
8986 test "$enable_shared" = yes && enable_static
=no
8989 darwin
* | rhapsody
*)
8990 if test "$GCC" = yes; then
8991 archive_cmds_need_lc
=no
8993 rhapsody
* | darwin1.
[012])
8994 allow_undefined_flag
='-undefined suppress'
8997 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8998 allow_undefined_flag
='-flat_namespace -undefined suppress'
9000 case ${MACOSX_DEPLOYMENT_TARGET} in
9002 allow_undefined_flag
='-flat_namespace -undefined suppress'
9005 allow_undefined_flag
='-undefined dynamic_lookup'
9011 output_verbose_link_cmd
='echo'
9012 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9013 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9014 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9015 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}'
9016 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}'
9018 hardcode_automatic
=yes
9019 hardcode_shlibpath_var
=unsupported
9020 whole_archive_flag_spec
='-all_load $convenience'
9021 link_all_deplibs
=yes
9027 echo "$as_me:$LINENO: result: $enable_shared" >&5
9028 echo "${ECHO_T}$enable_shared" >&6
9030 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9031 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9032 # Make sure either enable_shared or enable_static is yes.
9033 test "$enable_shared" = yes || enable_static
=yes
9034 echo "$as_me:$LINENO: result: $enable_static" >&5
9035 echo "${ECHO_T}$enable_static" >&6
9037 # The else clause should only fire when bootstrapping the
9038 # libtool distribution, otherwise you forgot to ship ltmain.sh
9039 # with your package, and you will get complaints that there are
9040 # no rules to generate ltmain.sh.
9041 if test -f "$ltmain"; then
9042 # See if we are running on zsh, and set the options which allow our commands through
9043 # without removal of \ escapes.
9044 if test -n "${ZSH_VERSION+set}" ; then
9045 setopt NO_GLOB_SUBST
9047 # Now quote all the things that may contain metacharacters while being
9048 # careful not to overquote the AC_SUBSTed values. We take copies of the
9049 # variables and quote the copies for generation of the libtool script.
9050 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9052 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9053 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9054 deplibs_check_method reload_flag reload_cmds need_locks \
9055 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9056 lt_cv_sys_global_symbol_to_c_name_address \
9057 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9058 old_postinstall_cmds old_postuninstall_cmds \
9062 lt_prog_compiler_wl \
9063 lt_prog_compiler_pic \
9064 lt_prog_compiler_static \
9065 lt_prog_compiler_no_builtin_flag \
9066 export_dynamic_flag_spec \
9067 thread_safe_flag_spec \
9068 whole_archive_flag_spec \
9069 enable_shared_with_static_runtimes \
9071 old_archive_from_new_cmds \
9076 compiler_lib_search_path \
9078 archive_expsym_cmds \
9080 postuninstall_cmds \
9081 old_archive_from_expsyms_cmds \
9082 allow_undefined_flag \
9084 export_symbols_cmds \
9085 hardcode_libdir_flag_spec \
9086 hardcode_libdir_flag_spec_ld \
9087 hardcode_libdir_separator \
9088 hardcode_automatic \
9090 module_expsym_cmds \
9091 lt_cv_prog_compiler_c_o \
9096 old_archive_cmds | \
9097 old_archive_from_new_cmds | \
9099 archive_expsym_cmds | \
9101 module_expsym_cmds | \
9102 old_archive_from_expsyms_cmds | \
9103 export_symbols_cmds | \
9104 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9105 postinstall_cmds | postuninstall_cmds | \
9106 old_postinstall_cmds | old_postuninstall_cmds | \
9107 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9108 # Double-quote double-evaled strings.
9109 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9112 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9118 *'\$0 --fallback-echo"')
9119 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9124 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9126 { echo "$as_me:$LINENO: creating $ofile" >&5
9127 echo "$as_me: creating $ofile" >&6;}
9129 cat <<__EOF__ >> "$cfgfile"
9132 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9133 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9134 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9136 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9137 # Free Software Foundation, Inc.
9139 # This file is part of GNU Libtool:
9140 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9142 # This program is free software; you can redistribute it and/or modify
9143 # it under the terms of the GNU General Public License as published by
9144 # the Free Software Foundation; either version 2 of the License, or
9145 # (at your option) any later version.
9147 # This program is distributed in the hope that it will be useful, but
9148 # WITHOUT ANY WARRANTY; without even the implied warranty of
9149 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9150 # General Public License for more details.
9152 # You should have received a copy of the GNU General Public License
9153 # along with this program; if not, write to the Free Software
9154 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9156 # As a special exception to the GNU General Public License, if you
9157 # distribute this file as part of a program that contains a
9158 # configuration script generated by Autoconf, you may include it under
9159 # the same distribution terms that you use for the rest of that program.
9161 # A sed program that does not truncate output.
9164 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9165 Xsed="$SED -e s/^X//"
9167 # The HP-UX ksh and POSIX shell print the target directory to stdout
9169 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9171 # The names of the tagged configurations supported by this script.
9174 # ### BEGIN LIBTOOL CONFIG
9176 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9178 # Shell to use when invoking shell scripts.
9181 # Whether or not to build shared libraries.
9182 build_libtool_libs=$enable_shared
9184 # Whether or not to build static libraries.
9185 build_old_libs=$enable_static
9187 # Whether or not to add -lc for building shared libraries.
9188 build_libtool_need_lc=$archive_cmds_need_lc
9190 # Whether or not to disallow shared libs when runtime libs are static
9191 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9193 # Whether or not to optimize for fast installation.
9194 fast_install=$enable_fast_install
9197 host_alias=$host_alias
9200 # An echo program that does not interpret backslashes.
9205 AR_FLAGS=$lt_AR_FLAGS
9210 # A language-specific compiler.
9213 # Is the compiler the GNU C compiler?
9219 # The linker used to build libraries.
9222 # Whether we need hard or soft links.
9225 # A BSD-compatible nm program.
9228 # A symbol stripping program
9231 # Used to examine libraries when file_magic_cmd begins "file"
9232 MAGIC_CMD=$MAGIC_CMD
9234 # Used on cygwin: DLL creation program.
9237 # Used on cygwin: object dumper.
9240 # Used on cygwin: assembler.
9243 # The name of the directory that contains temporary libtool files.
9246 # How to create reloadable object files.
9247 reload_flag=$lt_reload_flag
9248 reload_cmds=$lt_reload_cmds
9250 # How to pass a linker flag through the compiler.
9251 wl=$lt_lt_prog_compiler_wl
9253 # Object file suffix (normally "o").
9256 # Old archive suffix (normally "a").
9259 # Shared library suffix (normally ".so").
9260 shrext_cmds='$shrext_cmds'
9262 # Executable file suffix (normally "").
9265 # Additional compiler flags for building library objects.
9266 pic_flag=$lt_lt_prog_compiler_pic
9269 # What is the maximum length of a command?
9270 max_cmd_len=$lt_cv_sys_max_cmd_len
9272 # Does compiler simultaneously support -c and -o options?
9273 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9275 # Must we lock files when doing compilation ?
9276 need_locks=$lt_need_locks
9278 # Do we need the lib prefix for modules?
9279 need_lib_prefix=$need_lib_prefix
9281 # Do we need a version for libraries?
9282 need_version=$need_version
9284 # Whether dlopen is supported.
9285 dlopen_support=$enable_dlopen
9287 # Whether dlopen of programs is supported.
9288 dlopen_self=$enable_dlopen_self
9290 # Whether dlopen of statically linked programs is supported.
9291 dlopen_self_static=$enable_dlopen_self_static
9293 # Compiler flag to prevent dynamic linking.
9294 link_static_flag=$lt_lt_prog_compiler_static
9296 # Compiler flag to turn off builtin functions.
9297 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9299 # Compiler flag to allow reflexive dlopens.
9300 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9302 # Compiler flag to generate shared objects directly from archives.
9303 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9305 # Compiler flag to generate thread-safe objects.
9306 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9308 # Library versioning type.
9309 version_type=$version_type
9311 # Format of library name prefix.
9312 libname_spec=$lt_libname_spec
9314 # List of archive names. First name is the real one, the rest are links.
9315 # The last name is the one that the linker finds with -lNAME.
9316 library_names_spec=$lt_library_names_spec
9318 # The coded name of the library, if different from the real name.
9319 soname_spec=$lt_soname_spec
9321 # Commands used to build and install an old-style archive.
9323 old_archive_cmds=$lt_old_archive_cmds
9324 old_postinstall_cmds=$lt_old_postinstall_cmds
9325 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9327 # Create an old-style archive from a shared archive.
9328 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9330 # Create a temporary old-style archive to link instead of a shared archive.
9331 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9333 # Commands used to build and install a shared archive.
9334 archive_cmds=$lt_archive_cmds
9335 archive_expsym_cmds=$lt_archive_expsym_cmds
9336 postinstall_cmds=$lt_postinstall_cmds
9337 postuninstall_cmds=$lt_postuninstall_cmds
9339 # Commands used to build a loadable module (assumed same as above if empty)
9340 module_cmds=$lt_module_cmds
9341 module_expsym_cmds=$lt_module_expsym_cmds
9343 # Commands to strip libraries.
9344 old_striplib=$lt_old_striplib
9345 striplib=$lt_striplib
9347 # Dependencies to place before the objects being linked to create a
9349 predep_objects=$lt_predep_objects
9351 # Dependencies to place after the objects being linked to create a
9353 postdep_objects=$lt_postdep_objects
9355 # Dependencies to place before the objects being linked to create a
9359 # Dependencies to place after the objects being linked to create a
9361 postdeps=$lt_postdeps
9363 # The library search path used internally by the compiler when linking
9365 compiler_lib_search_path=$lt_compiler_lib_search_path
9367 # Method to check whether dependent libraries are shared objects.
9368 deplibs_check_method=$lt_deplibs_check_method
9370 # Command to use when deplibs_check_method == file_magic.
9371 file_magic_cmd=$lt_file_magic_cmd
9373 # Flag that allows shared libraries with undefined symbols to be built.
9374 allow_undefined_flag=$lt_allow_undefined_flag
9376 # Flag that forces no undefined symbols.
9377 no_undefined_flag=$lt_no_undefined_flag
9379 # Commands used to finish a libtool library installation in a directory.
9380 finish_cmds=$lt_finish_cmds
9382 # Same as above, but a single script fragment to be evaled but not shown.
9383 finish_eval=$lt_finish_eval
9385 # Take the output of nm and produce a listing of raw symbols and C names.
9386 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9388 # Transform the output of nm in a proper C declaration
9389 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9391 # Transform the output of nm in a C name address pair
9392 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9394 # This is the shared library runtime path variable.
9395 runpath_var=$runpath_var
9397 # This is the shared library path variable.
9398 shlibpath_var=$shlibpath_var
9400 # Is shlibpath searched before the hard-coded library search path?
9401 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9403 # How to hardcode a shared library path into an executable.
9404 hardcode_action=$hardcode_action
9406 # Whether we should hardcode library paths into libraries.
9407 hardcode_into_libs=$hardcode_into_libs
9409 # Flag to hardcode \$libdir into a binary during linking.
9410 # This must work even if \$libdir does not exist.
9411 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9413 # If ld is used when linking, flag to hardcode \$libdir into
9414 # a binary during linking. This must work even if \$libdir does
9416 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9418 # Whether we need a single -rpath flag with a separated argument.
9419 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9421 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9423 hardcode_direct=$hardcode_direct
9425 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9427 hardcode_minus_L=$hardcode_minus_L
9429 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9430 # the resulting binary.
9431 hardcode_shlibpath_var=$hardcode_shlibpath_var
9433 # Set to yes if building a shared library automatically hardcodes DIR into the library
9434 # and all subsequent libraries and executables linked against it.
9435 hardcode_automatic=$hardcode_automatic
9437 # Variables whose values should be saved in libtool wrapper scripts and
9438 # restored at relink time.
9439 variables_saved_for_relink="$variables_saved_for_relink"
9441 # Whether libtool must link a program against all its dependency libraries.
9442 link_all_deplibs=$link_all_deplibs
9444 # Compile-time system search path for libraries
9445 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9447 # Run-time system search path for libraries
9448 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9450 # Fix the shell variable \$srcfile for the compiler.
9451 fix_srcfile_path="$fix_srcfile_path"
9453 # Set to yes if exported symbols are required.
9454 always_export_symbols=$always_export_symbols
9456 # The commands to list exported symbols.
9457 export_symbols_cmds=$lt_export_symbols_cmds
9459 # The commands to extract the exported symbol list from a shared archive.
9460 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9462 # Symbols that should not be listed in the preloaded symbols.
9463 exclude_expsyms=$lt_exclude_expsyms
9465 # Symbols that must always be exported.
9466 include_expsyms=$lt_include_expsyms
9468 # ### END LIBTOOL CONFIG
9475 cat <<\EOF
>> "$cfgfile"
9477 # AIX sometimes has problems with the GCC collect2 program. For some
9478 # reason, if we set the COLLECT_NAMES environment variable, the problems
9479 # vanish in a puff of smoke.
9480 if test "X${COLLECT_NAMES+set}" != Xset
; then
9482 export COLLECT_NAMES
9488 # We use sed instead of cat because bash on DJGPP gets confused if
9489 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9490 # text mode, it properly converts lines to CR/LF. This bash problem
9491 # is reportedly fixed, but why not run on old versions too?
9492 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9494 mv -f "$cfgfile" "$ofile" || \
9495 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9499 # If there is no Makefile yet, we rely on a make rule to execute
9500 # `config.status --recheck' to rerun these tests and create the
9501 # libtool script then.
9502 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9503 if test -f "$ltmain_in"; then
9504 test -f Makefile
&& make "$ltmain"
9510 ac_cpp
='$CXXCPP $CPPFLAGS'
9511 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9512 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9513 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9518 # Check whether --with-tags or --without-tags was given.
9519 if test "${with_tags+set}" = set; then
9520 withval
="$with_tags"
9524 if test -f "$ltmain" && test -n "$tagnames"; then
9525 if test ! -f "${ofile}"; then
9526 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9527 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9530 if test -z "$LTCC"; then
9531 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9532 if test -z "$LTCC"; then
9533 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9534 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9536 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9537 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9541 # Extract list of available tagged configurations in $ofile.
9542 # Note that this assumes the entire list is on one line.
9543 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9545 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9546 for tagname
in $tagnames; do
9548 # Check whether tagname contains only valid characters
9549 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9551 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9552 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9553 { (exit 1); exit 1; }; }
9557 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9559 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9560 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9561 { (exit 1); exit 1; }; }
9564 # Update the list of available tags.
9565 if test -n "$tagname"; then
9566 echo appending configuration tag
\"$tagname\" to
$ofile
9570 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9572 ac_cpp
='$CXXCPP $CPPFLAGS'
9573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9580 archive_cmds_need_lc_CXX
=no
9581 allow_undefined_flag_CXX
=
9582 always_export_symbols_CXX
=no
9583 archive_expsym_cmds_CXX
=
9584 export_dynamic_flag_spec_CXX
=
9585 hardcode_direct_CXX
=no
9586 hardcode_libdir_flag_spec_CXX
=
9587 hardcode_libdir_flag_spec_ld_CXX
=
9588 hardcode_libdir_separator_CXX
=
9589 hardcode_minus_L_CXX
=no
9590 hardcode_automatic_CXX
=no
9592 module_expsym_cmds_CXX
=
9593 link_all_deplibs_CXX
=unknown
9594 old_archive_cmds_CXX
=$old_archive_cmds
9595 no_undefined_flag_CXX
=
9596 whole_archive_flag_spec_CXX
=
9597 enable_shared_with_static_runtimes_CXX
=no
9599 # Dependencies to place before and after the object being linked:
9601 postdep_objects_CXX
=
9604 compiler_lib_search_path_CXX
=
9606 # Source file extension for C++ test sources.
9609 # Object file extension for compiled C++ test sources.
9613 # Code to be used in simple compile tests
9614 lt_simple_compile_test_code
="int some_variable = 0;\n"
9616 # Code to be used in simple link tests
9617 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
9619 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9621 # If no C compiler was specified, use CC.
9624 # Allow CC to be a program name with arguments.
9628 # Allow CC to be a program name with arguments.
9633 lt_save_with_gnu_ld
=$with_gnu_ld
9634 lt_save_path_LD
=$lt_cv_path_LD
9635 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9636 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
9638 unset lt_cv_prog_gnu_ld
9640 if test -n "${lt_cv_path_LDCXX+set}"; then
9641 lt_cv_path_LD
=$lt_cv_path_LDCXX
9645 test -z "${LDCXX+set}" || LD
=$LDCXX
9649 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9651 # We don't want -fno-exception wen compiling C++ code, so set the
9652 # no_builtin_flag separately
9653 if test "$GXX" = yes; then
9654 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
9656 lt_prog_compiler_no_builtin_flag_CXX
=
9659 if test "$GXX" = yes; then
9660 # Set up default GNU C++ configuration
9663 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9664 if test "${with_gnu_ld+set}" = set; then
9665 withval
="$with_gnu_ld"
9666 test "$withval" = no || with_gnu_ld
=yes
9671 if test "$GCC" = yes; then
9672 # Check if gcc -print-prog-name=ld gives a path.
9673 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9674 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9677 # gcc leaves a trailing carriage return which upsets mingw
9678 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9680 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9683 # Accept absolute paths.
9685 re_direlt
='/[^/][^/]*/\.\./'
9686 # Canonicalize the pathname of ld
9687 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
9688 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9689 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9691 test -z "$LD" && LD
="$ac_prog"
9694 # If it fails, then pretend we aren't using GCC.
9698 # If it is relative, then search for the first ld in PATH.
9702 elif test "$with_gnu_ld" = yes; then
9703 echo "$as_me:$LINENO: checking for GNU ld" >&5
9704 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9706 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9707 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9709 if test "${lt_cv_path_LD+set}" = set; then
9710 echo $ECHO_N "(cached) $ECHO_C" >&6
9712 if test -z "$LD"; then
9713 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9714 for ac_dir
in $PATH; do
9716 test -z "$ac_dir" && ac_dir
=.
9717 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9718 lt_cv_path_LD
="$ac_dir/$ac_prog"
9719 # Check to see if the program is GNU ld. I'd rather use --version,
9720 # but apparently some GNU ld's only accept -v.
9721 # Break only if it was the GNU/non-GNU ld that we prefer.
9722 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9723 *GNU
* |
*'with BFD'*)
9724 test "$with_gnu_ld" != no
&& break
9727 test "$with_gnu_ld" != yes && break
9734 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
9739 if test -n "$LD"; then
9740 echo "$as_me:$LINENO: result: $LD" >&5
9741 echo "${ECHO_T}$LD" >&6
9743 echo "$as_me:$LINENO: result: no" >&5
9744 echo "${ECHO_T}no" >&6
9746 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9747 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9748 { (exit 1); exit 1; }; }
9749 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9750 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9751 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9752 echo $ECHO_N "(cached) $ECHO_C" >&6
9754 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9755 case `$LD -v 2>&1 </dev/null` in
9756 *GNU
* |
*'with BFD'*)
9757 lt_cv_prog_gnu_ld
=yes
9760 lt_cv_prog_gnu_ld
=no
9764 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9765 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9766 with_gnu_ld
=$lt_cv_prog_gnu_ld
9770 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9771 # archiving commands below assume that GNU ld is being used.
9772 if test "$with_gnu_ld" = yes; then
9773 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9774 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'
9776 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
9777 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
9779 # If archive_cmds runs LD, not CC, wlarc should be empty
9780 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9781 # investigate it a little bit more. (MM)
9784 # ancient GNU ld didn't support --whole-archive et. al.
9785 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9786 grep 'no-whole-archive' > /dev
/null
; then
9787 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9789 whole_archive_flag_spec_CXX
=
9795 # A generic and very simple default shared library creation
9796 # command for GNU C++ for the case where it uses the native
9797 # linker, instead of GNU ld. If possible, this setting should
9798 # overridden to take advantage of the native linker features on
9799 # the platform it is being used on.
9800 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9803 # Commands to make compiler produce verbose output that lists
9804 # what "hidden" libraries, object files and flags are used when
9805 # linking a shared library.
9806 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9814 # PORTME: fill in a description of your system's C++ link characteristics
9815 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9816 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9820 # FIXME: insert proper C++ library support
9824 if test "$host_cpu" = ia64
; then
9825 # On IA64, the linker does run time linking by default, so we don't
9826 # have to do anything special.
9827 aix_use_runtimelinking
=no
9828 exp_sym_flag
='-Bexport'
9831 aix_use_runtimelinking
=no
9833 # Test if we are trying to use run time linking or normal
9834 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9835 # need to do runtime linking.
9836 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9837 for ld_flag
in $LDFLAGS; do
9840 aix_use_runtimelinking
=yes
9847 exp_sym_flag
='-bexport'
9848 no_entry_flag
='-bnoentry'
9851 # When large executables or shared objects are built, AIX ld can
9852 # have problems creating the table of contents. If linking a library
9853 # or program results in "error TOC overflow" add -mminimal-toc to
9854 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9855 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9858 hardcode_direct_CXX
=yes
9859 hardcode_libdir_separator_CXX
=':'
9860 link_all_deplibs_CXX
=yes
9862 if test "$GXX" = yes; then
9863 case $host_os in aix4.012|aix4.012.
*)
9864 # We only want to do this on AIX 4.2 and lower, the check
9865 # below for broken collect2 doesn't work under 4.3+
9866 collect2name
=`${CC} -print-prog-name=collect2`
9867 if test -f "$collect2name" && \
9868 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9870 # We have reworked collect2
9871 hardcode_direct_CXX
=yes
9873 # We have old collect2
9874 hardcode_direct_CXX
=unsupported
9875 # It fails to find uninstalled libraries when the uninstalled
9876 # path is not listed in the libpath. Setting hardcode_minus_L
9877 # to unsupported forces relinking
9878 hardcode_minus_L_CXX
=yes
9879 hardcode_libdir_flag_spec_CXX
='-L$libdir'
9880 hardcode_libdir_separator_CXX
=
9883 shared_flag
='-shared'
9886 if test "$host_cpu" = ia64
; then
9887 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9888 # chokes on -Wl,-G. The following line is correct:
9891 if test "$aix_use_runtimelinking" = yes; then
9892 shared_flag
='${wl}-G'
9894 shared_flag
='${wl}-bM:SRE'
9899 # It seems that -bexpall does not export symbols beginning with
9900 # underscore (_), so it is better to generate a list of symbols to export.
9901 always_export_symbols_CXX
=yes
9902 if test "$aix_use_runtimelinking" = yes; then
9903 # Warning - without using the other runtime loading flags (-brtl),
9904 # -berok will link without error, but may produce a broken library.
9905 allow_undefined_flag_CXX
='-berok'
9906 # Determine the default libpath from the value encoded in an empty executable.
9907 cat >conftest.
$ac_ext <<_ACEOF
9910 cat confdefs.h
>>conftest.
$ac_ext
9911 cat >>conftest.
$ac_ext <<_ACEOF
9912 /* end confdefs.h. */
9922 rm -f conftest.
$ac_objext conftest
$ac_exeext
9923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9924 (eval $ac_link) 2>conftest.er1
9926 grep -v '^ *+' conftest.er1
>conftest.err
9928 cat conftest.err
>&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); } &&
9931 { ac_try
='test -z "$ac_cxx_werror_flag"
9932 || test ! -s conftest.err'
9933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); }; } &&
9938 { ac_try
='test -s conftest$ac_exeext'
9939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); }; }; then
9945 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9947 # Check for a 64-bit object if we didn't find anything.
9948 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; }
9951 echo "$as_me: failed program was:" >&5
9952 sed 's/^/| /' conftest.
$ac_ext >&5
9955 rm -f conftest.err conftest.
$ac_objext \
9956 conftest
$ac_exeext conftest.
$ac_ext
9957 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9959 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
9961 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9963 if test "$host_cpu" = ia64; then
9964 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
9965 allow_undefined_flag_CXX="-z nodefs"
9966 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
9968 # Determine the default libpath from the value encoded in an empty executable.
9969 cat >conftest.$ac_ext <<_ACEOF
9972 cat confdefs.h >>conftest.$ac_ext
9973 cat >>conftest.$ac_ext <<_ACEOF
9974 /* end confdefs.h. */
9984 rm -f conftest.$ac_objext conftest$ac_exeext
9985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9986 (eval $ac_link) 2>conftest.er1
9988 grep -v '^ *+' conftest.er1 >conftest.err
9990 cat conftest.err >&5
9991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9992 (exit $ac_status); } &&
9993 { ac_try='test -z "$ac_cxx_werror_flag"
9994 || test ! -s conftest.err'
9995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9998 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9999 (exit $ac_status); }; } &&
10000 { ac_try='test -s conftest$ac_exeext'
10001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10002 (eval $ac_try) 2>&5
10004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10005 (exit $ac_status); }; }; then
10007 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10009 # Check for a 64-bit object if we didn't find anything.
10010 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; }
10013 echo "$as_me: failed program was
:" >&5
10014 sed 's/^/| /' conftest.$ac_ext >&5
10017 rm -f conftest.err conftest.$ac_objext \
10018 conftest$ac_exeext conftest.$ac_ext
10019 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10021 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10022 # Warning - without using the other run time loading flags,
10023 # -berok will link without error, but may produce a broken library.
10024 no_undefined_flag_CXX=' ${wl}-bernotok'
10025 allow_undefined_flag_CXX=' ${wl}-berok'
10026 # -bexpall does not export symbols beginning with underscore (_)
10027 always_export_symbols_CXX=yes
10028 # Exported symbols can be pulled into shared objects from archives
10029 whole_archive_flag_spec_CXX=' '
10030 archive_cmds_need_lc_CXX=yes
10031 # This is similar to how AIX traditionally builds it's shared libraries.
10032 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10037 case $cc_basename in
10039 # FIXME: insert proper C++ library support
10045 cygwin* | mingw* | pw32*)
10046 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10047 # as there is no search path for DLLs.
10048 hardcode_libdir_flag_spec_CXX='-L$libdir'
10049 allow_undefined_flag_CXX=unsupported
10050 always_export_symbols_CXX=no
10051 enable_shared_with_static_runtimes_CXX=yes
10053 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10054 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10055 # If the export-symbols file already is a .def file (1st line
10056 # is EXPORTS), use it as is; otherwise, prepend...
10057 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10058 cp $export_symbols $output_objdir/$soname.def;
10060 echo EXPORTS > $output_objdir/$soname.def;
10061 cat $export_symbols >> $output_objdir/$soname.def;
10063 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10069 darwin* | rhapsody*)
10070 if test "$GXX" = yes; then
10071 archive_cmds_need_lc_CXX=no
10073 rhapsody* | darwin1.[012])
10074 allow_undefined_flag_CXX='-undefined suppress'
10077 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10078 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10080 case ${MACOSX_DEPLOYMENT_TARGET} in
10082 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10085 allow_undefined_flag_CXX='-undefined dynamic_lookup'
10091 lt_int_apple_cc_single_mod=no
10092 output_verbose_link_cmd='echo'
10093 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10094 lt_int_apple_cc_single_mod=yes
10096 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10097 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10099 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10101 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10103 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10104 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10105 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}'
10107 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10109 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}'
10110 hardcode_direct_CXX
=no
10111 hardcode_automatic_CXX
=yes
10112 hardcode_shlibpath_var_CXX
=unsupported
10113 whole_archive_flag_spec_CXX
='-all_load $convenience'
10114 link_all_deplibs_CXX
=yes
10121 case $cc_basename in
10123 # FIXME: insert proper C++ library support
10127 # Green Hills C++ Compiler
10128 # FIXME: insert proper C++ library support
10132 # FIXME: insert proper C++ library support
10138 # C++ shared libraries reported to be fairly broken before switch to ELF
10142 archive_cmds_need_lc_CXX
=no
10144 freebsd
* | kfreebsd
*-gnu)
10145 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10152 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10153 hardcode_libdir_separator_CXX
=:
10154 export_dynamic_flag_spec_CXX
='${wl}-E'
10155 hardcode_direct_CXX
=yes
10156 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10157 # but as the default
10158 # location of the library.
10160 case $cc_basename in
10162 # FIXME: insert proper C++ library support
10166 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'
10167 # Commands to make compiler produce verbose output that lists
10168 # what "hidden" libraries, object files and flags are used when
10169 # linking a shared library.
10171 # There doesn't appear to be a way to prevent this compiler from
10172 # explicitly linking system object files so we need to strip them
10173 # from the output so that they don't get included in the library
10175 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'
10178 if test "$GXX" = yes; then
10179 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'
10181 # FIXME: insert proper C++ library support
10188 if test $with_gnu_ld = no
; then
10189 case "$host_cpu" in
10191 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10192 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10193 hardcode_libdir_separator_CXX
=:
10196 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10199 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10200 hardcode_libdir_separator_CXX
=:
10201 export_dynamic_flag_spec_CXX
='${wl}-E'
10205 case "$host_cpu" in
10207 hardcode_direct_CXX
=no
10208 hardcode_shlibpath_var_CXX
=no
10211 hardcode_direct_CXX
=no
10212 hardcode_shlibpath_var_CXX
=no
10213 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10214 # but as the default
10215 # location of the library.
10218 hardcode_direct_CXX
=yes
10219 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10220 # but as the default
10221 # location of the library.
10225 case $cc_basename in
10227 # FIXME: insert proper C++ library support
10231 case "$host_cpu" in
10233 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10236 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10239 # Commands to make compiler produce verbose output that lists
10240 # what "hidden" libraries, object files and flags are used when
10241 # linking a shared library.
10243 # There doesn't appear to be a way to prevent this compiler from
10244 # explicitly linking system object files so we need to strip them
10245 # from the output so that they don't get included in the library
10247 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'
10250 if test "$GXX" = yes; then
10251 if test $with_gnu_ld = no
; then
10252 case "$host_cpu" in
10254 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10257 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'
10262 # FIXME: insert proper C++ library support
10269 case $cc_basename in
10272 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10274 # Archives containing C++ object files must be created using
10275 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10276 # necessary to make sure instantiated templates are included
10278 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10281 if test "$GXX" = yes; then
10282 if test "$with_gnu_ld" = no
; then
10283 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10285 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'
10288 link_all_deplibs_CXX
=yes
10291 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10292 hardcode_libdir_separator_CXX
=:
10295 case $cc_basename in
10297 # Kuck and Associates, Inc. (KAI) C++ Compiler
10299 # KCC will only create a shared library if the output file
10300 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10301 # to its proper name (with version) after linking.
10302 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'
10303 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'
10304 # Commands to make compiler produce verbose output that lists
10305 # what "hidden" libraries, object files and flags are used when
10306 # linking a shared library.
10308 # There doesn't appear to be a way to prevent this compiler from
10309 # explicitly linking system object files so we need to strip them
10310 # from the output so that they don't get included in the library
10312 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'
10314 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10315 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10317 # Archives containing C++ object files must be created using
10318 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10319 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10324 archive_cmds_need_lc_CXX
=no
10325 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10326 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'
10327 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10328 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10329 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10333 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10334 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'
10336 runpath_var
=LD_RUN_PATH
10337 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10338 hardcode_libdir_separator_CXX
=:
10340 # Commands to make compiler produce verbose output that lists
10341 # what "hidden" libraries, object files and flags are used when
10342 # linking a shared library.
10344 # There doesn't appear to be a way to prevent this compiler from
10345 # explicitly linking system object files so we need to strip them
10346 # from the output so that they don't get included in the library
10348 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'
10353 # FIXME: insert proper C++ library support
10357 # FIXME: insert proper C++ library support
10361 case $cc_basename in
10363 # FIXME: insert proper C++ library support
10367 # FIXME: insert proper C++ library support
10373 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10374 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10376 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10377 hardcode_direct_CXX
=yes
10378 hardcode_shlibpath_var_CXX
=no
10380 # Workaround some broken pre-1.5 toolchains
10381 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10384 case $cc_basename in
10386 # Kuck and Associates, Inc. (KAI) C++ Compiler
10388 # KCC will only create a shared library if the output file
10389 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10390 # to its proper name (with version) after linking.
10391 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'
10393 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10394 hardcode_libdir_separator_CXX
=:
10396 # Archives containing C++ object files must be created using
10397 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10398 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10402 # Rational C++ 2.4.1
10403 # FIXME: insert proper C++ library support
10407 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10408 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10410 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10411 hardcode_libdir_separator_CXX
=:
10413 # Commands to make compiler produce verbose output that lists
10414 # what "hidden" libraries, object files and flags are used when
10415 # linking a shared library.
10417 # There doesn't appear to be a way to prevent this compiler from
10418 # explicitly linking system object files so we need to strip them
10419 # from the output so that they don't get included in the library
10421 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'
10424 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10425 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10426 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10428 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10429 hardcode_libdir_separator_CXX
=:
10431 # Commands to make compiler produce verbose output that lists
10432 # what "hidden" libraries, object files and flags are used when
10433 # linking a shared library.
10434 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10437 # FIXME: insert proper C++ library support
10444 case $cc_basename in
10446 # Kuck and Associates, Inc. (KAI) C++ Compiler
10448 # KCC will only create a shared library if the output file
10449 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10450 # to its proper name (with version) after linking.
10451 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'
10453 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10454 hardcode_libdir_separator_CXX
=:
10456 # Archives containing C++ object files must be created using
10457 # the KAI C++ compiler.
10458 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10461 # Rational C++ 2.4.1
10462 # FIXME: insert proper C++ library support
10466 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10467 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10468 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10469 echo "-hidden">> $lib.exp~
10470 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
10473 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10474 hardcode_libdir_separator_CXX
=:
10476 # Commands to make compiler produce verbose output that lists
10477 # what "hidden" libraries, object files and flags are used when
10478 # linking a shared library.
10480 # There doesn't appear to be a way to prevent this compiler from
10481 # explicitly linking system object files so we need to strip them
10482 # from the output so that they don't get included in the library
10484 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'
10487 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10488 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10489 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10491 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10492 hardcode_libdir_separator_CXX
=:
10494 # Commands to make compiler produce verbose output that lists
10495 # what "hidden" libraries, object files and flags are used when
10496 # linking a shared library.
10497 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10500 # FIXME: insert proper C++ library support
10507 # FIXME: insert proper C++ library support
10511 archive_cmds_need_lc_CXX
=no
10512 case $cc_basename in
10514 # FIXME: insert proper C++ library support
10518 # FIXME: insert proper C++ library support
10524 case $cc_basename in
10527 # FIXME: insert proper C++ library support
10532 # FIXME: insert proper C++ library support
10536 # FIXME: insert proper C++ library support
10542 case $cc_basename in
10544 # Sun C++ 4.2, 5.x and Centerline C++
10545 no_undefined_flag_CXX
=' -zdefs'
10546 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10547 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10548 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10550 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10551 hardcode_shlibpath_var_CXX
=no
10553 solaris2.0
-5 | solaris2.0
-5.
*) ;;
10555 # The C++ compiler is used as linker so we must use $wl
10556 # flag to pass the commands to the underlying system
10558 # Supported since Solaris 2.6 (maybe 2.5.1?)
10559 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10562 link_all_deplibs_CXX
=yes
10564 # Commands to make compiler produce verbose output that lists
10565 # what "hidden" libraries, object files and flags are used when
10566 # linking a shared library.
10568 # There doesn't appear to be a way to prevent this compiler from
10569 # explicitly linking system object files so we need to strip them
10570 # from the output so that they don't get included in the library
10572 output_verbose_link_cmd
='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10574 # Archives containing C++ object files must be created using
10575 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10576 # necessary to make sure instantiated templates are included
10578 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10581 # Green Hills C++ Compiler
10582 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10584 # The C++ compiler must be used to create the archive.
10585 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10588 # GNU C++ compiler with Solaris linker
10589 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10590 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10591 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10592 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10593 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10594 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10596 # Commands to make compiler produce verbose output that lists
10597 # what "hidden" libraries, object files and flags are used when
10598 # linking a shared library.
10599 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10601 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10603 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10604 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10605 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10607 # Commands to make compiler produce verbose output that lists
10608 # what "hidden" libraries, object files and flags are used when
10609 # linking a shared library.
10610 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10613 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
10618 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10619 archive_cmds_need_lc_CXX
=no
10622 case $cc_basename in
10624 # NonStop-UX NCC 3.20
10625 # FIXME: insert proper C++ library support
10629 # FIXME: insert proper C++ library support
10635 # FIXME: insert proper C++ library support
10639 # FIXME: insert proper C++ library support
10643 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10644 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10645 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
10651 cat > conftest.
$ac_ext <<EOF
10655 Foo (void) { a = 0; }
10661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10662 (eval $ac_compile) 2>&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; then
10666 # Parse the compiler output and extract the necessary
10667 # objects, libraries and library flags.
10669 # Sentinel used to keep track of whether or not we are before
10670 # the conftest object file.
10671 pre_test_object_deps_done
=no
10673 # The `*' in the case matches for architectures that use `case' in
10674 # $output_verbose_cmd can trigger glob expansion during the loop
10675 # eval without this substitution.
10676 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10678 for p
in `eval $output_verbose_link_cmd`; do
10682 # Some compilers place space between "-{L,R}" and the path.
10683 # Remove the space.
10684 if test $p = "-L" \
10685 ||
test $p = "-R"; then
10692 if test "$pre_test_object_deps_done" = no
; then
10695 # Internal compiler library paths should come after those
10696 # provided the user. The postdeps already come after the
10697 # user supplied libs so there is no need to process them.
10698 if test -z "$compiler_lib_search_path_CXX"; then
10699 compiler_lib_search_path_CXX
="${prev}${p}"
10701 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
10704 # The "-l" case would never come before the object being
10705 # linked, so don't bother handling this case.
10708 if test -z "$postdeps_CXX"; then
10709 postdeps_CXX
="${prev}${p}"
10711 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
10717 # This assumes that the test object file only shows up
10718 # once in the compiler output.
10719 if test "$p" = "conftest.$objext"; then
10720 pre_test_object_deps_done
=yes
10724 if test "$pre_test_object_deps_done" = no
; then
10725 if test -z "$predep_objects_CXX"; then
10726 predep_objects_CXX
="$p"
10728 predep_objects_CXX
="$predep_objects_CXX $p"
10731 if test -z "$postdep_objects_CXX"; then
10732 postdep_objects_CXX
="$p"
10734 postdep_objects_CXX
="$postdep_objects_CXX $p"
10739 *) ;; # Ignore the rest.
10747 echo "libtool.m4: error: problem compiling CXX test program"
10750 $rm -f confest.
$objext
10752 case " $postdeps_CXX " in
10753 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
10756 lt_prog_compiler_wl_CXX
=
10757 lt_prog_compiler_pic_CXX
=
10758 lt_prog_compiler_static_CXX
=
10760 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10761 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10763 # C++ specific cases for pic, static, wl, etc.
10764 if test "$GXX" = yes; then
10765 lt_prog_compiler_wl_CXX
='-Wl,'
10766 lt_prog_compiler_static_CXX
='-static'
10770 # All AIX code is PIC.
10771 if test "$host_cpu" = ia64
; then
10772 # AIX 5 now supports IA64 processor
10773 lt_prog_compiler_static_CXX
='-Bstatic'
10777 # FIXME: we need at least 68020 code to build shared libraries, but
10778 # adding the `-m68020' flag to GCC prevents building anything better,
10780 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
10782 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10783 # PIC is the default for these OSes.
10785 mingw
* | os2
* | pw32
*)
10786 # This hack is so that the source file can tell whether it is being
10787 # built for inclusion in a dll (and should export symbols for example).
10788 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
10790 darwin
* | rhapsody
*)
10791 # PIC is the default on this platform
10792 # Common symbols not allowed in MH_DYLIB files
10793 lt_prog_compiler_pic_CXX
='-fno-common'
10796 # DJGPP does not support shared libraries at all
10797 lt_prog_compiler_pic_CXX
=
10800 if test -d /usr
/nec
; then
10801 lt_prog_compiler_pic_CXX
=-Kconform_pic
10805 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10806 # not for PA HP-UX.
10807 case "$host_cpu" in
10811 lt_prog_compiler_pic_CXX
='-fPIC'
10816 lt_prog_compiler_pic_CXX
='-fPIC'
10822 # All AIX code is PIC.
10823 if test "$host_cpu" = ia64
; then
10824 # AIX 5 now supports IA64 processor
10825 lt_prog_compiler_static_CXX
='-Bstatic'
10827 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
10831 case $cc_basename in
10833 # Green Hills C++ Compiler
10834 # _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"
10839 case $cc_basename in
10841 lt_prog_compiler_pic_CXX
='-KPIC'
10844 # Green Hills C++ Compiler
10845 lt_prog_compiler_pic_CXX
='-pic'
10851 freebsd
* | kfreebsd
*-gnu)
10852 # FreeBSD uses GNU C++
10854 hpux9
* | hpux10
* | hpux11
*)
10855 case $cc_basename in
10857 lt_prog_compiler_wl_CXX
='-Wl,'
10858 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10859 if test "$host_cpu" != ia64
; then
10860 lt_prog_compiler_pic_CXX
='+Z'
10864 lt_prog_compiler_wl_CXX
='-Wl,'
10865 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10866 case "$host_cpu" in
10871 lt_prog_compiler_pic_CXX
='+Z'
10879 irix5
* | irix6
* | nonstopux
*)
10880 case $cc_basename in
10882 lt_prog_compiler_wl_CXX
='-Wl,'
10883 lt_prog_compiler_static_CXX
='-non_shared'
10884 # CC pic flag -KPIC is the default.
10891 case $cc_basename in
10894 lt_prog_compiler_wl_CXX
='--backend -Wl,'
10895 lt_prog_compiler_pic_CXX
='-fPIC'
10899 lt_prog_compiler_wl_CXX
='-Wl,'
10900 lt_prog_compiler_pic_CXX
='-KPIC'
10901 lt_prog_compiler_static_CXX
='-static'
10905 # Make sure the PIC flag is empty. It appears that all Alpha
10906 # Linux and Compaq Tru64 Unix objects are PIC.
10907 lt_prog_compiler_pic_CXX
=
10908 lt_prog_compiler_static_CXX
='-non_shared'
10919 case $cc_basename in
10921 lt_prog_compiler_pic_CXX
='-W c,exportall'
10929 osf3
* | osf4
* | osf5
*)
10930 case $cc_basename in
10932 lt_prog_compiler_wl_CXX
='--backend -Wl,'
10935 # Rational C++ 2.4.1
10936 lt_prog_compiler_pic_CXX
='-pic'
10939 # Digital/Compaq C++
10940 lt_prog_compiler_wl_CXX
='-Wl,'
10941 # Make sure the PIC flag is empty. It appears that all Alpha
10942 # Linux and Compaq Tru64 Unix objects are PIC.
10943 lt_prog_compiler_pic_CXX
=
10944 lt_prog_compiler_static_CXX
='-non_shared'
10953 case $cc_basename in
10955 lt_prog_compiler_pic_CXX
='-fPIC'
10962 case $cc_basename in
10964 # Sun C++ 4.2, 5.x and Centerline C++
10965 lt_prog_compiler_pic_CXX
='-KPIC'
10966 lt_prog_compiler_static_CXX
='-Bstatic'
10967 lt_prog_compiler_wl_CXX
='-Qoption ld '
10970 # Green Hills C++ Compiler
10971 lt_prog_compiler_pic_CXX
='-PIC'
10978 case $cc_basename in
10981 lt_prog_compiler_pic_CXX
='-pic'
10982 lt_prog_compiler_static_CXX
='-Bstatic'
10986 lt_prog_compiler_pic_CXX
='-pic'
10993 case $cc_basename in
10995 # NonStop-UX NCC 3.20
10996 lt_prog_compiler_pic_CXX
='-KPIC'
11007 lt_prog_compiler_can_build_shared_CXX
=no
11012 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11013 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11016 # Check to make sure the PIC flag actually works.
11018 if test -n "$lt_prog_compiler_pic_CXX"; then
11020 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11021 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11022 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11023 echo $ECHO_N "(cached) $ECHO_C" >&6
11025 lt_prog_compiler_pic_works_CXX
=no
11026 ac_outfile
=conftest.
$ac_objext
11027 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11028 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11029 # Insert the option either (1) after the last *FLAGS variable, or
11030 # (2) before a word containing "conftest.", or (3) at the end.
11031 # Note that $ac_compile itself does not contain backslashes and begins
11032 # with a dollar sign (not a hyphen), so the echo should work correctly.
11033 # The option is referenced via a variable to avoid confusing sed.
11034 lt_compile
=`echo "$ac_compile" | $SED \
11035 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11036 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11037 -e 's:$: $lt_compiler_flag:'`
11038 (eval echo "\"\$as_me:11038: $lt_compile\"" >&5)
11039 (eval "$lt_compile" 2>conftest.err
)
11041 cat conftest.err
>&5
11042 echo "$as_me:11042: \$? = $ac_status" >&5
11043 if (exit $ac_status) && test -s "$ac_outfile"; then
11044 # The compiler can only warn and ignore the option if not recognized
11045 # So say no if there are warnings
11046 if test ! -s conftest.err
; then
11047 lt_prog_compiler_pic_works_CXX
=yes
11053 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11054 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11056 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11057 case $lt_prog_compiler_pic_CXX in
11059 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11062 lt_prog_compiler_pic_CXX
=
11063 lt_prog_compiler_can_build_shared_CXX
=no
11068 # For platforms which do not support PIC, -DPIC is meaningless:
11070 lt_prog_compiler_pic_CXX
=
11073 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11077 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11078 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11079 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11080 echo $ECHO_N "(cached) $ECHO_C" >&6
11082 lt_cv_prog_compiler_c_o_CXX
=no
11083 $rm -r conftest
2>/dev
/null
11087 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11089 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11090 # Insert the option either (1) after the last *FLAGS variable, or
11091 # (2) before a word containing "conftest.", or (3) at the end.
11092 # Note that $ac_compile itself does not contain backslashes and begins
11093 # with a dollar sign (not a hyphen), so the echo should work correctly.
11094 lt_compile
=`echo "$ac_compile" | $SED \
11095 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11096 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11097 -e 's:$: $lt_compiler_flag:'`
11098 (eval echo "\"\$as_me:11098: $lt_compile\"" >&5)
11099 (eval "$lt_compile" 2>out
/conftest.err
)
11101 cat out
/conftest.err
>&5
11102 echo "$as_me:11102: \$? = $ac_status" >&5
11103 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11105 # The compiler can only warn and ignore the option if not recognized
11106 # So say no if there are warnings
11107 if test ! -s out
/conftest.err
; then
11108 lt_cv_prog_compiler_c_o_CXX
=yes
11113 # SGI C++ compiler will create directory out/ii_files/ for
11114 # template instantiation
11115 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11116 $rm out
/* && rmdir out
11122 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11123 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11126 hard_links
="nottested"
11127 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11128 # do not overwrite the value of need_locks provided by the user
11129 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11130 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11133 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11135 ln conftest.a conftest.b
2>&5 || hard_links
=no
11136 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11137 echo "$as_me:$LINENO: result: $hard_links" >&5
11138 echo "${ECHO_T}$hard_links" >&6
11139 if test "$hard_links" = no
; then
11140 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11141 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11148 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11149 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11151 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11154 # If we're using GNU nm, then we don't want the "-C" option.
11155 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11156 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11157 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'
11159 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'
11163 export_symbols_cmds_CXX
="$ltdll_cmds"
11166 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11169 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11173 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11174 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11175 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11177 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11178 if test "$GCC" = yes; then
11179 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11183 # Do we need to explicitly link libc?
11185 case "x$archive_cmds_need_lc_CXX" in
11187 # Assume -lc should be added
11188 archive_cmds_need_lc_CXX
=yes
11190 if test "$enable_shared" = yes && test "$GCC" = yes; then
11191 case $archive_cmds_CXX in
11193 # FIXME: we may have to deal with multi-command sequences.
11196 # Test whether the compiler implicitly links with -lc since on some
11197 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11198 # to ld, don't add -lc before -lgcc.
11199 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11200 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11202 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11205 (eval $ac_compile) 2>&5
11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208 (exit $ac_status); } 2>conftest.err
; then
11211 libobjs
=conftest.
$ac_objext
11213 wl
=$lt_prog_compiler_wl_CXX
11219 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11220 allow_undefined_flag_CXX
=
11221 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11222 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }
11227 archive_cmds_need_lc_CXX
=no
11229 archive_cmds_need_lc_CXX
=yes
11231 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11233 cat conftest.err
1>&5
11236 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11237 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11244 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11245 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11246 library_names_spec
=
11247 libname_spec
='lib$name'
11251 postuninstall_cmds
=
11255 shlibpath_overrides_runpath
=unknown
11257 dynamic_linker
="$host_os ld.so"
11258 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11259 if test "$GCC" = yes; then
11260 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11261 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11262 # if the path contains ";" then we assume it to be the separator
11263 # otherwise default to the standard path separator (i.e. ":") - it is
11264 # assumed that no part of a normal pathname contains ";" but that should
11265 # okay in the real world where ";" in dirpaths is itself problematic.
11266 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11268 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11271 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11273 need_lib_prefix
=unknown
11274 hardcode_into_libs
=no
11276 # when you set need_version to no, make sure it does not cause -set_version
11277 # flags to be left without arguments
11278 need_version
=unknown
11283 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11284 shlibpath_var
=LIBPATH
11286 # AIX 3 has no versioning support, so we append a major version to the name.
11287 soname_spec
='${libname}${release}${shared_ext}$major'
11294 hardcode_into_libs
=yes
11295 if test "$host_cpu" = ia64
; then
11296 # AIX 5 supports IA64
11297 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11298 shlibpath_var
=LD_LIBRARY_PATH
11300 # With GCC up to 2.95.x, collect2 would create an import file
11301 # for dependence libraries. The import file would start with
11302 # the line `#! .'. This would cause the generated library to
11303 # depend on `.', always an invalid library. This was fixed in
11304 # development snapshots of GCC prior to 3.0.
11306 aix4 | aix4.
[01] | aix4.
[01].
*)
11307 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11309 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11312 can_build_shared
=no
11316 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11317 # soname into executable. Probably we can add versioning support to
11318 # collect2, so additional links can be useful in future.
11319 if test "$aix_use_runtimelinking" = yes; then
11320 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11321 # instead of lib<name>.a to let people know that these are not
11322 # typical AIX shared libraries.
11323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11325 # We preserve .a as extension for shared libraries through AIX4.2
11326 # and later when we are not doing run time linking.
11327 library_names_spec
='${libname}${release}.a $libname.a'
11328 soname_spec
='${libname}${release}${shared_ext}$major'
11330 shlibpath_var
=LIBPATH
11335 library_names_spec
='$libname.ixlibrary $libname.a'
11336 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11337 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'
11341 library_names_spec
='${libname}${shared_ext}'
11342 dynamic_linker
="$host_os ld.so"
11343 shlibpath_var
=LIBRARY_PATH
11349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11350 soname_spec
='${libname}${release}${shared_ext}$major'
11351 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11352 shlibpath_var
=LD_LIBRARY_PATH
11353 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11354 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11355 # the default ld.so.conf also contains /usr/contrib/lib and
11356 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11357 # libtool to hard-code these into programs
11360 cygwin
* | mingw
* | pw32
*)
11361 version_type
=windows
11366 case $GCC,$host_os in
11367 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11368 library_names_spec
='$libname.dll.a'
11369 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11370 postinstall_cmds
='base_file=`basename \${file}`~
11371 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11372 dldir=$destdir/`dirname \$dlpath`~
11373 test -d \$dldir || mkdir -p \$dldir~
11374 $install_prog $dir/$dlname \$dldir/$dlname'
11375 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11376 dlpath=$dir/\$dldll~
11378 shlibpath_overrides_runpath
=yes
11382 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11383 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11384 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11387 # MinGW DLLs use traditional 'lib' prefix
11388 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11389 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11390 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11391 # It is most probably a Windows format PATH printed by
11392 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11393 # path with ; separators, and with drive letters. We can handle the
11394 # drive letters (cygwin fileutils understands them), so leave them,
11395 # especially as we might pass files found there to a mingw objdump,
11396 # which wouldn't understand a cygwinified path. Ahh.
11397 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11399 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11403 # pw32 DLLs use 'pw' prefix rather than 'lib'
11404 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11410 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11413 dynamic_linker
='Win32 ld.exe'
11414 # FIXME: first we should search . and the directory the executable is in
11418 darwin
* | rhapsody
*)
11419 dynamic_linker
="$host_os dyld"
11420 version_type
=darwin
11423 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11424 soname_spec
='${libname}${release}${major}$shared_ext'
11425 shlibpath_overrides_runpath
=yes
11426 shlibpath_var
=DYLD_LIBRARY_PATH
11427 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
11428 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11429 if test "$GCC" = yes; then
11430 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"`
11432 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11434 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11442 soname_spec
='${libname}${release}${shared_ext}$major'
11443 shlibpath_var
=LD_LIBRARY_PATH
11454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11455 soname_spec
='${libname}${release}${shared_ext}$major'
11456 shlibpath_var
=LD_LIBRARY_PATH
11457 shlibpath_overrides_runpath
=no
11458 hardcode_into_libs
=yes
11459 dynamic_linker
='GNU ld.so'
11463 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11464 version_type
=freebsd-
$objformat
11465 case $version_type in
11467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11472 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11476 shlibpath_var
=LD_LIBRARY_PATH
11479 shlibpath_overrides_runpath
=yes
11481 freebsd3.01
* | freebsdelf3.01
*)
11482 shlibpath_overrides_runpath
=yes
11483 hardcode_into_libs
=yes
11486 shlibpath_overrides_runpath
=no
11487 hardcode_into_libs
=yes
11496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11497 soname_spec
='${libname}${release}${shared_ext}$major'
11498 shlibpath_var
=LD_LIBRARY_PATH
11499 hardcode_into_libs
=yes
11502 hpux9
* | hpux10
* | hpux11
*)
11503 # Give a soname corresponding to the major version so that dld.sl refuses to
11504 # link against other versions.
11508 case "$host_cpu" in
11511 hardcode_into_libs
=yes
11512 dynamic_linker
="$host_os dld.so"
11513 shlibpath_var
=LD_LIBRARY_PATH
11514 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11516 soname_spec
='${libname}${release}${shared_ext}$major'
11517 if test "X$HPUX_IA64_MODE" = X32
; then
11518 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11520 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11522 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11526 hardcode_into_libs
=yes
11527 dynamic_linker
="$host_os dld.sl"
11528 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11529 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11531 soname_spec
='${libname}${release}${shared_ext}$major'
11532 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11533 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11537 dynamic_linker
="$host_os dld.sl"
11538 shlibpath_var
=SHLIB_PATH
11539 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11541 soname_spec
='${libname}${release}${shared_ext}$major'
11544 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11545 postinstall_cmds
='chmod 555 $lib'
11548 irix5
* | irix6
* | nonstopux
*)
11550 nonstopux
*) version_type
=nonstopux
;;
11552 if test "$lt_cv_prog_gnu_ld" = yes; then
11560 soname_spec
='${libname}${release}${shared_ext}$major'
11561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11563 irix5
* | nonstopux
*)
11564 libsuff
= shlibsuff
=
11567 case $LD in # libtool.m4 will add one of these switches to LD
11568 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11569 libsuff
= shlibsuff
= libmagic
=32-bit;;
11570 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11571 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11572 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11573 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11574 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11578 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11579 shlibpath_overrides_runpath
=no
11580 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11581 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11582 hardcode_into_libs
=yes
11585 # No shared lib support for Linux oldld, aout, or coff.
11586 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11590 # This must be Linux ELF.
11595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11596 soname_spec
='${libname}${release}${shared_ext}$major'
11597 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11598 shlibpath_var
=LD_LIBRARY_PATH
11599 shlibpath_overrides_runpath
=no
11600 # This implies no fast_install, which is unacceptable.
11601 # Some rework will be needed to allow for fast_install
11602 # before this can be enabled.
11603 hardcode_into_libs
=yes
11605 # find out which ABI we are using
11607 case "$host_cpu" in
11608 x86_64
*|s390x
*|powerpc64
*)
11609 echo '#line 11609 "configure"' > conftest.
$ac_ext
11610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11611 (eval $ac_compile) 2>&5
11613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 (exit $ac_status); }; then
11615 case `/usr/bin/file conftest.$ac_objext` in
11618 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11626 # Append ld.so.conf contents to the search path
11627 if test -f /etc
/ld.so.conf
; then
11628 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
11629 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
11632 # We used to test for /lib/ld.so.1 and disable shared libraries on
11633 # powerpc, because MkLinux only supported shared libraries with the
11634 # GNU dynamic linker. Since this was broken with cross compilers,
11635 # most powerpc-linux boxes support dynamic linking these days and
11636 # people can always --disable-shared, the test was removed, and we
11637 # assume the GNU/Linux dynamic linker is in use.
11638 dynamic_linker
='GNU/Linux ld.so'
11645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11646 soname_spec
='${libname}${release}${shared_ext}$major'
11647 shlibpath_var
=LD_LIBRARY_PATH
11648 shlibpath_overrides_runpath
=no
11649 hardcode_into_libs
=yes
11650 dynamic_linker
='GNU ld.so'
11657 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11659 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11660 dynamic_linker
='NetBSD (a.out) ld.so'
11662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11663 soname_spec
='${libname}${release}${shared_ext}$major'
11664 dynamic_linker
='NetBSD ld.elf_so'
11666 shlibpath_var
=LD_LIBRARY_PATH
11667 shlibpath_overrides_runpath
=yes
11668 hardcode_into_libs
=yes
11673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11674 shlibpath_var
=LD_LIBRARY_PATH
11675 shlibpath_overrides_runpath
=yes
11682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11683 soname_spec
='${libname}${release}${shared_ext}$major'
11684 shlibpath_var
=LD_LIBRARY_PATH
11685 shlibpath_overrides_runpath
=yes
11692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11693 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11694 shlibpath_var
=LD_LIBRARY_PATH
11695 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11697 openbsd2.
[89] | openbsd2.
[89].
*)
11698 shlibpath_overrides_runpath
=no
11701 shlibpath_overrides_runpath
=yes
11705 shlibpath_overrides_runpath
=yes
11710 libname_spec
='$name'
11713 library_names_spec
='$libname${shared_ext} $libname.a'
11714 dynamic_linker
='OS/2 ld.exe'
11715 shlibpath_var
=LIBPATH
11718 osf3
* | osf4
* | osf5
*)
11722 soname_spec
='${libname}${release}${shared_ext}$major'
11723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11724 shlibpath_var
=LD_LIBRARY_PATH
11725 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11726 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11731 soname_spec
='${libname}${release}${shared_ext}$major'
11732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11733 shlibpath_var
=LD_LIBRARY_PATH
11740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11741 soname_spec
='${libname}${release}${shared_ext}$major'
11742 shlibpath_var
=LD_LIBRARY_PATH
11743 shlibpath_overrides_runpath
=yes
11744 hardcode_into_libs
=yes
11745 # ldd complains unless libraries are executable
11746 postinstall_cmds
='chmod +x $lib'
11751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11752 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11753 shlibpath_var
=LD_LIBRARY_PATH
11754 shlibpath_overrides_runpath
=yes
11755 if test "$with_gnu_ld" = yes; then
11761 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11764 soname_spec
='${libname}${release}${shared_ext}$major'
11765 shlibpath_var
=LD_LIBRARY_PATH
11766 case $host_vendor in
11768 shlibpath_overrides_runpath
=no
11770 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11771 runpath_var
=LD_RUN_PATH
11779 shlibpath_overrides_runpath
=no
11780 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11786 if test -d /usr
/nec
;then
11788 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11789 soname_spec
='$libname${shared_ext}.$major'
11790 shlibpath_var
=LD_LIBRARY_PATH
11796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11797 soname_spec
='${libname}${release}${shared_ext}$major'
11798 shlibpath_var
=LD_LIBRARY_PATH
11805 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11806 echo "${ECHO_T}$dynamic_linker" >&6
11807 test "$dynamic_linker" = no
&& can_build_shared
=no
11809 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11810 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11811 hardcode_action_CXX
=
11812 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11813 test -n "$runpath_var CXX" || \
11814 test "X$hardcode_automatic_CXX"="Xyes" ; then
11816 # We can hardcode non-existant directories.
11817 if test "$hardcode_direct_CXX" != no
&&
11818 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11819 # have to relink, otherwise we might link with an installed library
11820 # when we should be linking with a yet-to-be-installed one
11821 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11822 test "$hardcode_minus_L_CXX" != no
; then
11823 # Linking always hardcodes the temporary library directory.
11824 hardcode_action_CXX
=relink
11826 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11827 hardcode_action_CXX
=immediate
11830 # We cannot hardcode anything, or else we can only hardcode existing
11832 hardcode_action_CXX
=unsupported
11834 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11835 echo "${ECHO_T}$hardcode_action_CXX" >&6
11837 if test "$hardcode_action_CXX" = relink
; then
11838 # Fast installation is not supported
11839 enable_fast_install
=no
11840 elif test "$shlibpath_overrides_runpath" = yes ||
11841 test "$enable_shared" = no
; then
11842 # Fast installation is not necessary
11843 enable_fast_install
=needless
11848 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11849 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11850 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11851 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11852 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11853 echo "$as_me:$LINENO: result: yes" >&5
11854 echo "${ECHO_T}yes" >&6
11856 # FIXME - insert some real tests, host_os isn't really good enough
11859 if test -n "$STRIP" ; then
11860 striplib
="$STRIP -x"
11861 echo "$as_me:$LINENO: result: yes" >&5
11862 echo "${ECHO_T}yes" >&6
11864 echo "$as_me:$LINENO: result: no" >&5
11865 echo "${ECHO_T}no" >&6
11869 echo "$as_me:$LINENO: result: no" >&5
11870 echo "${ECHO_T}no" >&6
11875 if test "x$enable_dlopen" != xyes
; then
11876 enable_dlopen
=unknown
11877 enable_dlopen_self
=unknown
11878 enable_dlopen_self_static
=unknown
11885 lt_cv_dlopen
="load_add_on"
11887 lt_cv_dlopen_self
=yes
11891 lt_cv_dlopen
="LoadLibrary"
11896 lt_cv_dlopen
="dlopen"
11901 # if libdl is installed we need to link against it
11902 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11903 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11904 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11905 echo $ECHO_N "(cached) $ECHO_C" >&6
11907 ac_check_lib_save_LIBS
=$LIBS
11909 cat >conftest.
$ac_ext <<_ACEOF
11912 cat confdefs.h
>>conftest.
$ac_ext
11913 cat >>conftest.
$ac_ext <<_ACEOF
11914 /* end confdefs.h. */
11916 /* Override any gcc2 internal prototype to avoid an error. */
11920 /* We use char because int might match the return type of a gcc2
11921 builtin and then its argument prototype would still apply. */
11931 rm -f conftest.
$ac_objext conftest
$ac_exeext
11932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11933 (eval $ac_link) 2>conftest.er1
11935 grep -v '^ *+' conftest.er1
>conftest.err
11937 cat conftest.err
>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try
='test -z "$ac_cxx_werror_flag"
11941 || test ! -s conftest.err'
11942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11943 (eval $ac_try) 2>&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); }; } &&
11947 { ac_try
='test -s conftest$ac_exeext'
11948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11949 (eval $ac_try) 2>&5
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); }; }; then
11953 ac_cv_lib_dl_dlopen
=yes
11955 echo "$as_me: failed program was:" >&5
11956 sed 's/^/| /' conftest.
$ac_ext >&5
11958 ac_cv_lib_dl_dlopen
=no
11960 rm -f conftest.err conftest.
$ac_objext \
11961 conftest
$ac_exeext conftest.
$ac_ext
11962 LIBS
=$ac_check_lib_save_LIBS
11964 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11965 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11966 if test $ac_cv_lib_dl_dlopen = yes; then
11967 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11970 lt_cv_dlopen
="dyld"
11972 lt_cv_dlopen_self
=yes
11979 echo "$as_me:$LINENO: checking for shl_load" >&5
11980 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11981 if test "${ac_cv_func_shl_load+set}" = set; then
11982 echo $ECHO_N "(cached) $ECHO_C" >&6
11984 cat >conftest.
$ac_ext <<_ACEOF
11987 cat confdefs.h
>>conftest.
$ac_ext
11988 cat >>conftest.
$ac_ext <<_ACEOF
11989 /* end confdefs.h. */
11990 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11992 #define shl_load innocuous_shl_load
11994 /* System header to define __stub macros and hopefully few prototypes,
11995 which can conflict with char shl_load (); below.
11996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11997 <limits.h> exists even on freestanding compilers. */
12000 # include <limits.h>
12002 # include <assert.h>
12007 /* Override any gcc2 internal prototype to avoid an error. */
12012 /* We use char because int might match the return type of a gcc2
12013 builtin and then its argument prototype would still apply. */
12015 /* The GNU C library defines this for functions which it implements
12016 to always fail with ENOSYS. Some functions are actually named
12017 something starting with __ and the normal name is an alias. */
12018 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12021 char (*f) () = shl_load;
12030 return f != shl_load;
12035 rm -f conftest.
$ac_objext conftest
$ac_exeext
12036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12037 (eval $ac_link) 2>conftest.er1
12039 grep -v '^ *+' conftest.er1
>conftest.err
12041 cat conftest.err
>&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } &&
12044 { ac_try
='test -z "$ac_cxx_werror_flag"
12045 || test ! -s conftest.err'
12046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12047 (eval $ac_try) 2>&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); }; } &&
12051 { ac_try
='test -s conftest$ac_exeext'
12052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12053 (eval $ac_try) 2>&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); }; }; then
12057 ac_cv_func_shl_load
=yes
12059 echo "$as_me: failed program was:" >&5
12060 sed 's/^/| /' conftest.
$ac_ext >&5
12062 ac_cv_func_shl_load
=no
12064 rm -f conftest.err conftest.
$ac_objext \
12065 conftest
$ac_exeext conftest.
$ac_ext
12067 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12068 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12069 if test $ac_cv_func_shl_load = yes; then
12070 lt_cv_dlopen
="shl_load"
12072 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12073 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12074 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12077 ac_check_lib_save_LIBS
=$LIBS
12079 cat >conftest.
$ac_ext <<_ACEOF
12082 cat confdefs.h
>>conftest.
$ac_ext
12083 cat >>conftest.
$ac_ext <<_ACEOF
12084 /* end confdefs.h. */
12086 /* Override any gcc2 internal prototype to avoid an error. */
12090 /* We use char because int might match the return type of a gcc2
12091 builtin and then its argument prototype would still apply. */
12101 rm -f conftest.
$ac_objext conftest
$ac_exeext
12102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12103 (eval $ac_link) 2>conftest.er1
12105 grep -v '^ *+' conftest.er1
>conftest.err
12107 cat conftest.err
>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } &&
12110 { ac_try
='test -z "$ac_cxx_werror_flag"
12111 || test ! -s conftest.err'
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12113 (eval $ac_try) 2>&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; } &&
12117 { ac_try
='test -s conftest$ac_exeext'
12118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12119 (eval $ac_try) 2>&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); }; }; then
12123 ac_cv_lib_dld_shl_load
=yes
12125 echo "$as_me: failed program was:" >&5
12126 sed 's/^/| /' conftest.
$ac_ext >&5
12128 ac_cv_lib_dld_shl_load
=no
12130 rm -f conftest.err conftest.
$ac_objext \
12131 conftest
$ac_exeext conftest.
$ac_ext
12132 LIBS
=$ac_check_lib_save_LIBS
12134 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12135 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12136 if test $ac_cv_lib_dld_shl_load = yes; then
12137 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12139 echo "$as_me:$LINENO: checking for dlopen" >&5
12140 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12141 if test "${ac_cv_func_dlopen+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 cat >conftest.
$ac_ext <<_ACEOF
12147 cat confdefs.h
>>conftest.
$ac_ext
12148 cat >>conftest.
$ac_ext <<_ACEOF
12149 /* end confdefs.h. */
12150 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12152 #define dlopen innocuous_dlopen
12154 /* System header to define __stub macros and hopefully few prototypes,
12155 which can conflict with char dlopen (); below.
12156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12157 <limits.h> exists even on freestanding compilers. */
12160 # include <limits.h>
12162 # include <assert.h>
12167 /* Override any gcc2 internal prototype to avoid an error. */
12172 /* We use char because int might match the return type of a gcc2
12173 builtin and then its argument prototype would still apply. */
12175 /* The GNU C library defines this for functions which it implements
12176 to always fail with ENOSYS. Some functions are actually named
12177 something starting with __ and the normal name is an alias. */
12178 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12181 char (*f) () = dlopen;
12190 return f != dlopen;
12195 rm -f conftest.
$ac_objext conftest
$ac_exeext
12196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12197 (eval $ac_link) 2>conftest.er1
12199 grep -v '^ *+' conftest.er1
>conftest.err
12201 cat conftest.err
>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } &&
12204 { ac_try
='test -z "$ac_cxx_werror_flag"
12205 || test ! -s conftest.err'
12206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12207 (eval $ac_try) 2>&5
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); }; } &&
12211 { ac_try
='test -s conftest$ac_exeext'
12212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12213 (eval $ac_try) 2>&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); }; }; then
12217 ac_cv_func_dlopen
=yes
12219 echo "$as_me: failed program was:" >&5
12220 sed 's/^/| /' conftest.
$ac_ext >&5
12222 ac_cv_func_dlopen
=no
12224 rm -f conftest.err conftest.
$ac_objext \
12225 conftest
$ac_exeext conftest.
$ac_ext
12227 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12228 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12229 if test $ac_cv_func_dlopen = yes; then
12230 lt_cv_dlopen
="dlopen"
12232 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12233 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12234 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 ac_check_lib_save_LIBS
=$LIBS
12239 cat >conftest.
$ac_ext <<_ACEOF
12242 cat confdefs.h
>>conftest.
$ac_ext
12243 cat >>conftest.
$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12246 /* Override any gcc2 internal prototype to avoid an error. */
12250 /* We use char because int might match the return type of a gcc2
12251 builtin and then its argument prototype would still apply. */
12261 rm -f conftest.
$ac_objext conftest
$ac_exeext
12262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12263 (eval $ac_link) 2>conftest.er1
12265 grep -v '^ *+' conftest.er1
>conftest.err
12267 cat conftest.err
>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); } &&
12270 { ac_try
='test -z "$ac_cxx_werror_flag"
12271 || test ! -s conftest.err'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; } &&
12277 { ac_try
='test -s conftest$ac_exeext'
12278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12279 (eval $ac_try) 2>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); }; }; then
12283 ac_cv_lib_dl_dlopen
=yes
12285 echo "$as_me: failed program was:" >&5
12286 sed 's/^/| /' conftest.
$ac_ext >&5
12288 ac_cv_lib_dl_dlopen
=no
12290 rm -f conftest.err conftest.
$ac_objext \
12291 conftest
$ac_exeext conftest.
$ac_ext
12292 LIBS
=$ac_check_lib_save_LIBS
12294 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12295 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12296 if test $ac_cv_lib_dl_dlopen = yes; then
12297 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12299 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12300 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12301 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12304 ac_check_lib_save_LIBS
=$LIBS
12305 LIBS
="-lsvld $LIBS"
12306 cat >conftest.
$ac_ext <<_ACEOF
12309 cat confdefs.h
>>conftest.
$ac_ext
12310 cat >>conftest.
$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12313 /* Override any gcc2 internal prototype to avoid an error. */
12317 /* We use char because int might match the return type of a gcc2
12318 builtin and then its argument prototype would still apply. */
12328 rm -f conftest.
$ac_objext conftest
$ac_exeext
12329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12330 (eval $ac_link) 2>conftest.er1
12332 grep -v '^ *+' conftest.er1
>conftest.err
12334 cat conftest.err
>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); } &&
12337 { ac_try
='test -z "$ac_cxx_werror_flag"
12338 || test ! -s conftest.err'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; } &&
12344 { ac_try
='test -s conftest$ac_exeext'
12345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 (eval $ac_try) 2>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; }; then
12350 ac_cv_lib_svld_dlopen
=yes
12352 echo "$as_me: failed program was:" >&5
12353 sed 's/^/| /' conftest.
$ac_ext >&5
12355 ac_cv_lib_svld_dlopen
=no
12357 rm -f conftest.err conftest.
$ac_objext \
12358 conftest
$ac_exeext conftest.
$ac_ext
12359 LIBS
=$ac_check_lib_save_LIBS
12361 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12362 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12363 if test $ac_cv_lib_svld_dlopen = yes; then
12364 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12366 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12367 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12368 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12369 echo $ECHO_N "(cached) $ECHO_C" >&6
12371 ac_check_lib_save_LIBS
=$LIBS
12373 cat >conftest.
$ac_ext <<_ACEOF
12376 cat confdefs.h
>>conftest.
$ac_ext
12377 cat >>conftest.
$ac_ext <<_ACEOF
12378 /* end confdefs.h. */
12380 /* Override any gcc2 internal prototype to avoid an error. */
12384 /* We use char because int might match the return type of a gcc2
12385 builtin and then its argument prototype would still apply. */
12395 rm -f conftest.
$ac_objext conftest
$ac_exeext
12396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12397 (eval $ac_link) 2>conftest.er1
12399 grep -v '^ *+' conftest.er1
>conftest.err
12401 cat conftest.err
>&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); } &&
12404 { ac_try
='test -z "$ac_cxx_werror_flag"
12405 || test ! -s conftest.err'
12406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12407 (eval $ac_try) 2>&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }; } &&
12411 { ac_try
='test -s conftest$ac_exeext'
12412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12413 (eval $ac_try) 2>&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); }; }; then
12417 ac_cv_lib_dld_dld_link
=yes
12419 echo "$as_me: failed program was:" >&5
12420 sed 's/^/| /' conftest.
$ac_ext >&5
12422 ac_cv_lib_dld_dld_link
=no
12424 rm -f conftest.err conftest.
$ac_objext \
12425 conftest
$ac_exeext conftest.
$ac_ext
12426 LIBS
=$ac_check_lib_save_LIBS
12428 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12429 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12430 if test $ac_cv_lib_dld_dld_link = yes; then
12431 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12452 if test "x$lt_cv_dlopen" != xno
; then
12458 case $lt_cv_dlopen in
12460 save_CPPFLAGS
="$CPPFLAGS"
12461 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12463 save_LDFLAGS
="$LDFLAGS"
12464 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12467 LIBS
="$lt_cv_dlopen_libs $LIBS"
12469 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12470 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12471 if test "${lt_cv_dlopen_self+set}" = set; then
12472 echo $ECHO_N "(cached) $ECHO_C" >&6
12474 if test "$cross_compiling" = yes; then :
12475 lt_cv_dlopen_self
=cross
12477 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12478 lt_status
=$lt_dlunknown
12479 cat > conftest.
$ac_ext <<EOF
12480 #line 12480 "configure"
12481 #include "confdefs.h"
12490 # define LT_DLGLOBAL RTLD_GLOBAL
12493 # define LT_DLGLOBAL DL_GLOBAL
12495 # define LT_DLGLOBAL 0
12499 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12500 find out it does not work in some platform. */
12501 #ifndef LT_DLLAZY_OR_NOW
12503 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12506 # define LT_DLLAZY_OR_NOW DL_LAZY
12509 # define LT_DLLAZY_OR_NOW RTLD_NOW
12512 # define LT_DLLAZY_OR_NOW DL_NOW
12514 # define LT_DLLAZY_OR_NOW 0
12522 extern "C" void exit (int);
12525 void fnord() { int i=42;}
12528 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12529 int status = $lt_dlunknown;
12533 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12534 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12535 /* dlclose (self); */
12541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12542 (eval $ac_link) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12546 (.
/conftest
; exit; ) 2>/dev
/null
12548 case x
$lt_status in
12549 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12550 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12551 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12554 # compilation failed
12555 lt_cv_dlopen_self
=no
12562 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12563 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12565 if test "x$lt_cv_dlopen_self" = xyes
; then
12566 LDFLAGS
="$LDFLAGS $link_static_flag"
12567 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12568 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12569 if test "${lt_cv_dlopen_self_static+set}" = set; then
12570 echo $ECHO_N "(cached) $ECHO_C" >&6
12572 if test "$cross_compiling" = yes; then :
12573 lt_cv_dlopen_self_static
=cross
12575 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12576 lt_status
=$lt_dlunknown
12577 cat > conftest.
$ac_ext <<EOF
12578 #line 12578 "configure"
12579 #include "confdefs.h"
12588 # define LT_DLGLOBAL RTLD_GLOBAL
12591 # define LT_DLGLOBAL DL_GLOBAL
12593 # define LT_DLGLOBAL 0
12597 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12598 find out it does not work in some platform. */
12599 #ifndef LT_DLLAZY_OR_NOW
12601 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12604 # define LT_DLLAZY_OR_NOW DL_LAZY
12607 # define LT_DLLAZY_OR_NOW RTLD_NOW
12610 # define LT_DLLAZY_OR_NOW DL_NOW
12612 # define LT_DLLAZY_OR_NOW 0
12620 extern "C" void exit (int);
12623 void fnord() { int i=42;}
12626 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12627 int status = $lt_dlunknown;
12631 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12632 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12633 /* dlclose (self); */
12639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12640 (eval $ac_link) 2>&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12644 (.
/conftest
; exit; ) 2>/dev
/null
12646 case x
$lt_status in
12647 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12648 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12649 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
12652 # compilation failed
12653 lt_cv_dlopen_self_static
=no
12660 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12661 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12664 CPPFLAGS
="$save_CPPFLAGS"
12665 LDFLAGS
="$save_LDFLAGS"
12670 case $lt_cv_dlopen_self in
12671 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12672 *) enable_dlopen_self
=unknown
;;
12675 case $lt_cv_dlopen_self_static in
12676 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12677 *) enable_dlopen_self_static
=unknown
;;
12682 # The else clause should only fire when bootstrapping the
12683 # libtool distribution, otherwise you forgot to ship ltmain.sh
12684 # with your package, and you will get complaints that there are
12685 # no rules to generate ltmain.sh.
12686 if test -f "$ltmain"; then
12687 # See if we are running on zsh, and set the options which allow our commands through
12688 # without removal of \ escapes.
12689 if test -n "${ZSH_VERSION+set}" ; then
12690 setopt NO_GLOB_SUBST
12692 # Now quote all the things that may contain metacharacters while being
12693 # careful not to overquote the AC_SUBSTed values. We take copies of the
12694 # variables and quote the copies for generation of the libtool script.
12695 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
12697 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12698 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12699 deplibs_check_method reload_flag reload_cmds need_locks \
12700 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12701 lt_cv_sys_global_symbol_to_c_name_address \
12702 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12703 old_postinstall_cmds old_postuninstall_cmds \
12707 lt_prog_compiler_wl_CXX \
12708 lt_prog_compiler_pic_CXX \
12709 lt_prog_compiler_static_CXX \
12710 lt_prog_compiler_no_builtin_flag_CXX \
12711 export_dynamic_flag_spec_CXX \
12712 thread_safe_flag_spec_CXX \
12713 whole_archive_flag_spec_CXX \
12714 enable_shared_with_static_runtimes_CXX \
12715 old_archive_cmds_CXX \
12716 old_archive_from_new_cmds_CXX \
12717 predep_objects_CXX \
12718 postdep_objects_CXX \
12721 compiler_lib_search_path_CXX \
12723 archive_expsym_cmds_CXX \
12724 postinstall_cmds_CXX \
12725 postuninstall_cmds_CXX \
12726 old_archive_from_expsyms_cmds_CXX \
12727 allow_undefined_flag_CXX \
12728 no_undefined_flag_CXX \
12729 export_symbols_cmds_CXX \
12730 hardcode_libdir_flag_spec_CXX \
12731 hardcode_libdir_flag_spec_ld_CXX \
12732 hardcode_libdir_separator_CXX \
12733 hardcode_automatic_CXX \
12735 module_expsym_cmds_CXX \
12736 lt_cv_prog_compiler_c_o_CXX \
12737 exclude_expsyms_CXX \
12738 include_expsyms_CXX
; do
12741 old_archive_cmds_CXX | \
12742 old_archive_from_new_cmds_CXX | \
12743 archive_cmds_CXX | \
12744 archive_expsym_cmds_CXX | \
12745 module_cmds_CXX | \
12746 module_expsym_cmds_CXX | \
12747 old_archive_from_expsyms_cmds_CXX | \
12748 export_symbols_cmds_CXX | \
12749 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12750 postinstall_cmds | postuninstall_cmds | \
12751 old_postinstall_cmds | old_postuninstall_cmds | \
12752 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12753 # Double-quote double-evaled strings.
12754 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12757 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12763 *'\$0 --fallback-echo"')
12764 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12770 cat <<__EOF__ >> "$cfgfile"
12771 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12773 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12775 # Shell to use when invoking shell scripts.
12778 # Whether or not to build shared libraries.
12779 build_libtool_libs=$enable_shared
12781 # Whether or not to build static libraries.
12782 build_old_libs=$enable_static
12784 # Whether or not to add -lc for building shared libraries.
12785 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12787 # Whether or not to disallow shared libs when runtime libs are static
12788 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12790 # Whether or not to optimize for fast installation.
12791 fast_install=$enable_fast_install
12794 host_alias=$host_alias
12797 # An echo program that does not interpret backslashes.
12802 AR_FLAGS=$lt_AR_FLAGS
12807 # A language-specific compiler.
12808 CC=$lt_compiler_CXX
12810 # Is the compiler the GNU C compiler?
12816 # The linker used to build libraries.
12819 # Whether we need hard or soft links.
12822 # A BSD-compatible nm program.
12825 # A symbol stripping program
12828 # Used to examine libraries when file_magic_cmd begins "file"
12829 MAGIC_CMD=$MAGIC_CMD
12831 # Used on cygwin: DLL creation program.
12834 # Used on cygwin: object dumper.
12837 # Used on cygwin: assembler.
12840 # The name of the directory that contains temporary libtool files.
12843 # How to create reloadable object files.
12844 reload_flag=$lt_reload_flag
12845 reload_cmds=$lt_reload_cmds
12847 # How to pass a linker flag through the compiler.
12848 wl=$lt_lt_prog_compiler_wl_CXX
12850 # Object file suffix (normally "o").
12851 objext="$ac_objext"
12853 # Old archive suffix (normally "a").
12856 # Shared library suffix (normally ".so").
12857 shrext_cmds='$shrext_cmds'
12859 # Executable file suffix (normally "").
12862 # Additional compiler flags for building library objects.
12863 pic_flag=$lt_lt_prog_compiler_pic_CXX
12866 # What is the maximum length of a command?
12867 max_cmd_len=$lt_cv_sys_max_cmd_len
12869 # Does compiler simultaneously support -c and -o options?
12870 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12872 # Must we lock files when doing compilation ?
12873 need_locks=$lt_need_locks
12875 # Do we need the lib prefix for modules?
12876 need_lib_prefix=$need_lib_prefix
12878 # Do we need a version for libraries?
12879 need_version=$need_version
12881 # Whether dlopen is supported.
12882 dlopen_support=$enable_dlopen
12884 # Whether dlopen of programs is supported.
12885 dlopen_self=$enable_dlopen_self
12887 # Whether dlopen of statically linked programs is supported.
12888 dlopen_self_static=$enable_dlopen_self_static
12890 # Compiler flag to prevent dynamic linking.
12891 link_static_flag=$lt_lt_prog_compiler_static_CXX
12893 # Compiler flag to turn off builtin functions.
12894 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12896 # Compiler flag to allow reflexive dlopens.
12897 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12899 # Compiler flag to generate shared objects directly from archives.
12900 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12902 # Compiler flag to generate thread-safe objects.
12903 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12905 # Library versioning type.
12906 version_type=$version_type
12908 # Format of library name prefix.
12909 libname_spec=$lt_libname_spec
12911 # List of archive names. First name is the real one, the rest are links.
12912 # The last name is the one that the linker finds with -lNAME.
12913 library_names_spec=$lt_library_names_spec
12915 # The coded name of the library, if different from the real name.
12916 soname_spec=$lt_soname_spec
12918 # Commands used to build and install an old-style archive.
12920 old_archive_cmds=$lt_old_archive_cmds_CXX
12921 old_postinstall_cmds=$lt_old_postinstall_cmds
12922 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12924 # Create an old-style archive from a shared archive.
12925 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12927 # Create a temporary old-style archive to link instead of a shared archive.
12928 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12930 # Commands used to build and install a shared archive.
12931 archive_cmds=$lt_archive_cmds_CXX
12932 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12933 postinstall_cmds=$lt_postinstall_cmds
12934 postuninstall_cmds=$lt_postuninstall_cmds
12936 # Commands used to build a loadable module (assumed same as above if empty)
12937 module_cmds=$lt_module_cmds_CXX
12938 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12940 # Commands to strip libraries.
12941 old_striplib=$lt_old_striplib
12942 striplib=$lt_striplib
12944 # Dependencies to place before the objects being linked to create a
12946 predep_objects=$lt_predep_objects_CXX
12948 # Dependencies to place after the objects being linked to create a
12950 postdep_objects=$lt_postdep_objects_CXX
12952 # Dependencies to place before the objects being linked to create a
12954 predeps=$lt_predeps_CXX
12956 # Dependencies to place after the objects being linked to create a
12958 postdeps=$lt_postdeps_CXX
12960 # The library search path used internally by the compiler when linking
12961 # a shared library.
12962 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12964 # Method to check whether dependent libraries are shared objects.
12965 deplibs_check_method=$lt_deplibs_check_method
12967 # Command to use when deplibs_check_method == file_magic.
12968 file_magic_cmd=$lt_file_magic_cmd
12970 # Flag that allows shared libraries with undefined symbols to be built.
12971 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12973 # Flag that forces no undefined symbols.
12974 no_undefined_flag=$lt_no_undefined_flag_CXX
12976 # Commands used to finish a libtool library installation in a directory.
12977 finish_cmds=$lt_finish_cmds
12979 # Same as above, but a single script fragment to be evaled but not shown.
12980 finish_eval=$lt_finish_eval
12982 # Take the output of nm and produce a listing of raw symbols and C names.
12983 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12985 # Transform the output of nm in a proper C declaration
12986 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12988 # Transform the output of nm in a C name address pair
12989 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12991 # This is the shared library runtime path variable.
12992 runpath_var=$runpath_var
12994 # This is the shared library path variable.
12995 shlibpath_var=$shlibpath_var
12997 # Is shlibpath searched before the hard-coded library search path?
12998 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13000 # How to hardcode a shared library path into an executable.
13001 hardcode_action=$hardcode_action_CXX
13003 # Whether we should hardcode library paths into libraries.
13004 hardcode_into_libs=$hardcode_into_libs
13006 # Flag to hardcode \$libdir into a binary during linking.
13007 # This must work even if \$libdir does not exist.
13008 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13010 # If ld is used when linking, flag to hardcode \$libdir into
13011 # a binary during linking. This must work even if \$libdir does
13013 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13015 # Whether we need a single -rpath flag with a separated argument.
13016 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13018 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13019 # resulting binary.
13020 hardcode_direct=$hardcode_direct_CXX
13022 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13023 # resulting binary.
13024 hardcode_minus_L=$hardcode_minus_L_CXX
13026 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13027 # the resulting binary.
13028 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13030 # Set to yes if building a shared library automatically hardcodes DIR into the library
13031 # and all subsequent libraries and executables linked against it.
13032 hardcode_automatic=$hardcode_automatic_CXX
13034 # Variables whose values should be saved in libtool wrapper scripts and
13035 # restored at relink time.
13036 variables_saved_for_relink="$variables_saved_for_relink"
13038 # Whether libtool must link a program against all its dependency libraries.
13039 link_all_deplibs=$link_all_deplibs_CXX
13041 # Compile-time system search path for libraries
13042 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13044 # Run-time system search path for libraries
13045 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13047 # Fix the shell variable \$srcfile for the compiler.
13048 fix_srcfile_path="$fix_srcfile_path_CXX"
13050 # Set to yes if exported symbols are required.
13051 always_export_symbols=$always_export_symbols_CXX
13053 # The commands to list exported symbols.
13054 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13056 # The commands to extract the exported symbol list from a shared archive.
13057 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13059 # Symbols that should not be listed in the preloaded symbols.
13060 exclude_expsyms=$lt_exclude_expsyms_CXX
13062 # Symbols that must always be exported.
13063 include_expsyms=$lt_include_expsyms_CXX
13065 # ### END LIBTOOL TAG CONFIG: $tagname
13071 # If there is no Makefile yet, we rely on a make rule to execute
13072 # `config.status --recheck' to rerun these tests and create the
13073 # libtool script then.
13074 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13075 if test -f "$ltmain_in"; then
13076 test -f Makefile
&& make "$ltmain"
13082 ac_cpp
='$CXXCPP $CPPFLAGS'
13083 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13084 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13085 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13091 with_gnu_ldcxx
=$with_gnu_ld
13092 with_gnu_ld
=$lt_save_with_gnu_ld
13093 lt_cv_path_LDCXX
=$lt_cv_path_LD
13094 lt_cv_path_LD
=$lt_save_path_LD
13095 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13096 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13104 if test -n "$F77" && test "X$F77" != "Xno"; then
13107 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13108 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13109 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13112 archive_cmds_need_lc_F77
=no
13113 allow_undefined_flag_F77
=
13114 always_export_symbols_F77
=no
13115 archive_expsym_cmds_F77
=
13116 export_dynamic_flag_spec_F77
=
13117 hardcode_direct_F77
=no
13118 hardcode_libdir_flag_spec_F77
=
13119 hardcode_libdir_flag_spec_ld_F77
=
13120 hardcode_libdir_separator_F77
=
13121 hardcode_minus_L_F77
=no
13122 hardcode_automatic_F77
=no
13124 module_expsym_cmds_F77
=
13125 link_all_deplibs_F77
=unknown
13126 old_archive_cmds_F77
=$old_archive_cmds
13127 no_undefined_flag_F77
=
13128 whole_archive_flag_spec_F77
=
13129 enable_shared_with_static_runtimes_F77
=no
13131 # Source file extension for f77 test sources.
13134 # Object file extension for compiled f77 test sources.
13138 # Code to be used in simple compile tests
13139 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13141 # Code to be used in simple link tests
13142 lt_simple_link_test_code
=" program t\n end\n"
13144 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13146 # If no C compiler was specified, use CC.
13149 # Allow CC to be a program name with arguments.
13153 # Allow CC to be a program name with arguments.
13158 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13160 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13161 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13162 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13163 echo "${ECHO_T}$can_build_shared" >&6
13165 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13166 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13167 test "$can_build_shared" = "no" && enable_shared
=no
13169 # On AIX, shared libraries and static libraries use the same namespace, and
13170 # are all built from PIC.
13173 test "$enable_shared" = yes && enable_static
=no
13174 if test -n "$RANLIB"; then
13175 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13176 postinstall_cmds
='$RANLIB $lib'
13180 test "$enable_shared" = yes && enable_static
=no
13183 echo "$as_me:$LINENO: result: $enable_shared" >&5
13184 echo "${ECHO_T}$enable_shared" >&6
13186 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13187 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13188 # Make sure either enable_shared or enable_static is yes.
13189 test "$enable_shared" = yes || enable_static
=yes
13190 echo "$as_me:$LINENO: result: $enable_static" >&5
13191 echo "${ECHO_T}$enable_static" >&6
13193 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13198 lt_prog_compiler_wl_F77
=
13199 lt_prog_compiler_pic_F77
=
13200 lt_prog_compiler_static_F77
=
13202 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13203 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13205 if test "$GCC" = yes; then
13206 lt_prog_compiler_wl_F77
='-Wl,'
13207 lt_prog_compiler_static_F77
='-static'
13211 # All AIX code is PIC.
13212 if test "$host_cpu" = ia64
; then
13213 # AIX 5 now supports IA64 processor
13214 lt_prog_compiler_static_F77
='-Bstatic'
13219 # FIXME: we need at least 68020 code to build shared libraries, but
13220 # adding the `-m68020' flag to GCC prevents building anything better,
13222 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13225 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13226 # PIC is the default for these OSes.
13229 mingw
* | pw32
* | os2
*)
13230 # This hack is so that the source file can tell whether it is being
13231 # built for inclusion in a dll (and should export symbols for example).
13232 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13235 darwin
* | rhapsody
*)
13236 # PIC is the default on this platform
13237 # Common symbols not allowed in MH_DYLIB files
13238 lt_prog_compiler_pic_F77
='-fno-common'
13242 # Just because we use GCC doesn't mean we suddenly get shared libraries
13243 # on systems that don't support them.
13244 lt_prog_compiler_can_build_shared_F77
=no
13249 if test -d /usr
/nec
; then
13250 lt_prog_compiler_pic_F77
=-Kconform_pic
13255 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13256 # not for PA HP-UX.
13257 case "$host_cpu" in
13262 lt_prog_compiler_pic_F77
='-fPIC'
13268 lt_prog_compiler_pic_F77
='-fPIC'
13272 # PORTME Check for flag to pass linker flags through the system compiler.
13275 lt_prog_compiler_wl_F77
='-Wl,'
13276 if test "$host_cpu" = ia64
; then
13277 # AIX 5 now supports IA64 processor
13278 lt_prog_compiler_static_F77
='-Bstatic'
13280 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13284 mingw
* | pw32
* | os2
*)
13285 # This hack is so that the source file can tell whether it is being
13286 # built for inclusion in a dll (and should export symbols for example).
13287 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13290 hpux9
* | hpux10
* | hpux11
*)
13291 lt_prog_compiler_wl_F77
='-Wl,'
13292 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13293 # not for PA HP-UX.
13294 case "$host_cpu" in
13299 lt_prog_compiler_pic_F77
='+Z'
13302 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13303 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13306 irix5
* | irix6
* | nonstopux
*)
13307 lt_prog_compiler_wl_F77
='-Wl,'
13308 # PIC (with -KPIC) is the default.
13309 lt_prog_compiler_static_F77
='-non_shared'
13313 lt_prog_compiler_pic_F77
='-KPIC'
13314 lt_prog_compiler_static_F77
='-Bstatic'
13320 lt_prog_compiler_wl_F77
='-Wl,'
13321 lt_prog_compiler_pic_F77
='-KPIC'
13322 lt_prog_compiler_static_F77
='-static'
13325 lt_prog_compiler_wl_F77
='-Wl,'
13326 # All Alpha code is PIC.
13327 lt_prog_compiler_static_F77
='-non_shared'
13332 osf3
* | osf4
* | osf5
*)
13333 lt_prog_compiler_wl_F77
='-Wl,'
13334 # All OSF/1 code is PIC.
13335 lt_prog_compiler_static_F77
='-non_shared'
13339 lt_prog_compiler_pic_F77
='-Kpic'
13340 lt_prog_compiler_static_F77
='-dn'
13344 lt_prog_compiler_wl_F77
='-Wl,'
13345 lt_prog_compiler_pic_F77
='-KPIC'
13346 lt_prog_compiler_static_F77
='-Bstatic'
13350 lt_prog_compiler_wl_F77
='-Qoption ld '
13351 lt_prog_compiler_pic_F77
='-PIC'
13352 lt_prog_compiler_static_F77
='-Bstatic'
13355 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13356 lt_prog_compiler_wl_F77
='-Wl,'
13357 lt_prog_compiler_pic_F77
='-KPIC'
13358 lt_prog_compiler_static_F77
='-Bstatic'
13362 if test -d /usr
/nec
;then
13363 lt_prog_compiler_pic_F77
='-Kconform_pic'
13364 lt_prog_compiler_static_F77
='-Bstatic'
13369 lt_prog_compiler_pic_F77
='-pic'
13370 lt_prog_compiler_static_F77
='-Bstatic'
13374 lt_prog_compiler_can_build_shared_F77
=no
13379 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13380 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13383 # Check to make sure the PIC flag actually works.
13385 if test -n "$lt_prog_compiler_pic_F77"; then
13387 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13388 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13389 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 lt_prog_compiler_pic_works_F77
=no
13393 ac_outfile
=conftest.
$ac_objext
13394 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13395 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13396 # Insert the option either (1) after the last *FLAGS variable, or
13397 # (2) before a word containing "conftest.", or (3) at the end.
13398 # Note that $ac_compile itself does not contain backslashes and begins
13399 # with a dollar sign (not a hyphen), so the echo should work correctly.
13400 # The option is referenced via a variable to avoid confusing sed.
13401 lt_compile
=`echo "$ac_compile" | $SED \
13402 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13403 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13404 -e 's:$: $lt_compiler_flag:'`
13405 (eval echo "\"\$as_me:13405: $lt_compile\"" >&5)
13406 (eval "$lt_compile" 2>conftest.err
)
13408 cat conftest.err
>&5
13409 echo "$as_me:13409: \$? = $ac_status" >&5
13410 if (exit $ac_status) && test -s "$ac_outfile"; then
13411 # The compiler can only warn and ignore the option if not recognized
13412 # So say no if there are warnings
13413 if test ! -s conftest.err
; then
13414 lt_prog_compiler_pic_works_F77
=yes
13420 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13421 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13423 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13424 case $lt_prog_compiler_pic_F77 in
13426 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13429 lt_prog_compiler_pic_F77
=
13430 lt_prog_compiler_can_build_shared_F77
=no
13435 # For platforms which do not support PIC, -DPIC is meaningless:
13437 lt_prog_compiler_pic_F77
=
13440 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13444 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13445 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13446 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13447 echo $ECHO_N "(cached) $ECHO_C" >&6
13449 lt_cv_prog_compiler_c_o_F77
=no
13450 $rm -r conftest
2>/dev
/null
13454 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13456 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13457 # Insert the option either (1) after the last *FLAGS variable, or
13458 # (2) before a word containing "conftest.", or (3) at the end.
13459 # Note that $ac_compile itself does not contain backslashes and begins
13460 # with a dollar sign (not a hyphen), so the echo should work correctly.
13461 lt_compile
=`echo "$ac_compile" | $SED \
13462 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13464 -e 's:$: $lt_compiler_flag:'`
13465 (eval echo "\"\$as_me:13465: $lt_compile\"" >&5)
13466 (eval "$lt_compile" 2>out
/conftest.err
)
13468 cat out
/conftest.err
>&5
13469 echo "$as_me:13469: \$? = $ac_status" >&5
13470 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13472 # The compiler can only warn and ignore the option if not recognized
13473 # So say no if there are warnings
13474 if test ! -s out
/conftest.err
; then
13475 lt_cv_prog_compiler_c_o_F77
=yes
13480 # SGI C++ compiler will create directory out/ii_files/ for
13481 # template instantiation
13482 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13483 $rm out
/* && rmdir out
13489 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13490 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13493 hard_links
="nottested"
13494 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13495 # do not overwrite the value of need_locks provided by the user
13496 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13497 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13500 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13502 ln conftest.a conftest.b
2>&5 || hard_links
=no
13503 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13504 echo "$as_me:$LINENO: result: $hard_links" >&5
13505 echo "${ECHO_T}$hard_links" >&6
13506 if test "$hard_links" = no
; then
13507 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13508 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13515 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13516 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13519 allow_undefined_flag_F77
=
13520 enable_shared_with_static_runtimes_F77
=no
13522 archive_expsym_cmds_F77
=
13523 old_archive_From_new_cmds_F77
=
13524 old_archive_from_expsyms_cmds_F77
=
13525 export_dynamic_flag_spec_F77
=
13526 whole_archive_flag_spec_F77
=
13527 thread_safe_flag_spec_F77
=
13528 hardcode_libdir_flag_spec_F77
=
13529 hardcode_libdir_flag_spec_ld_F77
=
13530 hardcode_libdir_separator_F77
=
13531 hardcode_direct_F77
=no
13532 hardcode_minus_L_F77
=no
13533 hardcode_shlibpath_var_F77
=unsupported
13534 link_all_deplibs_F77
=unknown
13535 hardcode_automatic_F77
=no
13537 module_expsym_cmds_F77
=
13538 always_export_symbols_F77
=no
13539 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13540 # include_expsyms should be a list of space-separated symbols to be *always*
13541 # included in the symbol list
13542 include_expsyms_F77
=
13543 # exclude_expsyms can be an extended regexp of symbols to exclude
13544 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13545 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13546 # as well as any symbol that contains `d'.
13547 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13548 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13549 # platforms (ab)use it in PIC code, but their linkers get confused if
13550 # the symbol is explicitly referenced. Since portable code cannot
13551 # rely on this symbol name, it's probably fine to never include it in
13552 # preloaded symbol tables.
13553 extract_expsyms_cmds
=
13556 cygwin
* | mingw
* | pw32
*)
13557 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13558 # When not using gcc, we currently assume that we are using
13559 # Microsoft Visual C++.
13560 if test "$GCC" != yes; then
13570 if test "$with_gnu_ld" = yes; then
13571 # If archive_cmds runs LD, not CC, wlarc should be empty
13574 # See if GNU ld supports shared libraries.
13576 aix3
* | aix4
* | aix5
*)
13577 # On AIX/PPC, the GNU linker is very broken
13578 if test "$host_cpu" != ia64
; then
13582 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13583 *** to be unable to reliably create shared libraries on AIX.
13584 *** Therefore, libtool is disabling shared libraries support. If you
13585 *** really care for shared libraries, you may want to modify your PATH
13586 *** so that a non-GNU linker is found, and then restart.
13593 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)'
13594 hardcode_libdir_flag_spec_F77
='-L$libdir'
13595 hardcode_minus_L_F77
=yes
13597 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13598 # that the semantics of dynamic libraries on AmigaOS, at least up
13599 # to version 4, is to share data among multiple programs linked
13600 # with the same dynamic library. Since this doesn't match the
13601 # behavior of shared libraries on other platforms, we can't use
13607 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13608 allow_undefined_flag_F77
=unsupported
13609 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13610 # support --undefined. This deserves some investigation. FIXME
13611 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13617 cygwin
* | mingw
* | pw32
*)
13618 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13619 # as there is no search path for DLLs.
13620 hardcode_libdir_flag_spec_F77
='-L$libdir'
13621 allow_undefined_flag_F77
=unsupported
13622 always_export_symbols_F77
=no
13623 enable_shared_with_static_runtimes_F77
=yes
13624 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13626 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13627 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13628 # If the export-symbols file already is a .def file (1st line
13629 # is EXPORTS), use it as is; otherwise, prepend...
13630 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13631 cp $export_symbols $output_objdir/$soname.def;
13633 echo EXPORTS > $output_objdir/$soname.def;
13634 cat $export_symbols >> $output_objdir/$soname.def;
13636 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13643 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13644 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13647 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13648 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13653 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13657 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13658 *** create shared libraries on Solaris systems. Therefore, libtool
13659 *** is disabling shared libraries support. We urge you to upgrade GNU
13660 *** binutils to release 2.9.1 or newer. Another option is to modify
13661 *** your PATH or compiler configuration so that the native linker is
13662 *** used, and then restart.
13665 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13666 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13667 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13674 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13676 hardcode_direct_F77
=yes
13677 hardcode_shlibpath_var_F77
=no
13681 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13682 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13683 archive_cmds_F77
="$tmp_archive_cmds"
13684 supports_anon_versioning
=no
13685 case `$LD -v 2>/dev/null` in
13686 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13687 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13688 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13689 *\
2.11.
*) ;; # other 2.11 versions
13690 *) supports_anon_versioning
=yes ;;
13692 if test $supports_anon_versioning = yes; then
13693 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13694 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13695 $echo "local: *; };" >> $output_objdir/$libname.ver~
13696 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13698 archive_expsym_cmds_F77
="$tmp_archive_cmds"
13706 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13707 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13708 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13715 if test "$ld_shlibs_F77" = yes; then
13716 runpath_var
=LD_RUN_PATH
13717 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13718 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13719 # ancient GNU ld didn't support --whole-archive et. al.
13720 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13721 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13723 whole_archive_flag_spec_F77
=
13727 # PORTME fill in a description of your system's linker (not GNU ld)
13730 allow_undefined_flag_F77
=unsupported
13731 always_export_symbols_F77
=yes
13732 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'
13733 # Note: this linker hardcodes the directories in LIBPATH if there
13734 # are no directories specified by -L.
13735 hardcode_minus_L_F77
=yes
13736 if test "$GCC" = yes && test -z "$link_static_flag"; then
13737 # Neither direct hardcoding nor static linking is supported with a
13739 hardcode_direct_F77
=unsupported
13744 if test "$host_cpu" = ia64
; then
13745 # On IA64, the linker does run time linking by default, so we don't
13746 # have to do anything special.
13747 aix_use_runtimelinking
=no
13748 exp_sym_flag
='-Bexport'
13751 # If we're using GNU nm, then we don't want the "-C" option.
13752 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13753 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13754 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'
13756 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'
13758 aix_use_runtimelinking
=no
13760 # Test if we are trying to use run time linking or normal
13761 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13762 # need to do runtime linking.
13763 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13764 for ld_flag
in $LDFLAGS; do
13765 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13766 aix_use_runtimelinking
=yes
13772 exp_sym_flag
='-bexport'
13773 no_entry_flag
='-bnoentry'
13776 # When large executables or shared objects are built, AIX ld can
13777 # have problems creating the table of contents. If linking a library
13778 # or program results in "error TOC overflow" add -mminimal-toc to
13779 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13780 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13782 archive_cmds_F77
=''
13783 hardcode_direct_F77
=yes
13784 hardcode_libdir_separator_F77
=':'
13785 link_all_deplibs_F77
=yes
13787 if test "$GCC" = yes; then
13788 case $host_os in aix4.012|aix4.012.
*)
13789 # We only want to do this on AIX 4.2 and lower, the check
13790 # below for broken collect2 doesn't work under 4.3+
13791 collect2name
=`${CC} -print-prog-name=collect2`
13792 if test -f "$collect2name" && \
13793 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13795 # We have reworked collect2
13796 hardcode_direct_F77
=yes
13798 # We have old collect2
13799 hardcode_direct_F77
=unsupported
13800 # It fails to find uninstalled libraries when the uninstalled
13801 # path is not listed in the libpath. Setting hardcode_minus_L
13802 # to unsupported forces relinking
13803 hardcode_minus_L_F77
=yes
13804 hardcode_libdir_flag_spec_F77
='-L$libdir'
13805 hardcode_libdir_separator_F77
=
13808 shared_flag
='-shared'
13811 if test "$host_cpu" = ia64
; then
13812 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13813 # chokes on -Wl,-G. The following line is correct:
13816 if test "$aix_use_runtimelinking" = yes; then
13817 shared_flag
='${wl}-G'
13819 shared_flag
='${wl}-bM:SRE'
13824 # It seems that -bexpall does not export symbols beginning with
13825 # underscore (_), so it is better to generate a list of symbols to export.
13826 always_export_symbols_F77
=yes
13827 if test "$aix_use_runtimelinking" = yes; then
13828 # Warning - without using the other runtime loading flags (-brtl),
13829 # -berok will link without error, but may produce a broken library.
13830 allow_undefined_flag_F77
='-berok'
13831 # Determine the default libpath from the value encoded in an empty executable.
13832 cat >conftest.
$ac_ext <<_ACEOF
13837 rm -f conftest.
$ac_objext conftest
$ac_exeext
13838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13839 (eval $ac_link) 2>conftest.er1
13841 grep -v '^ *+' conftest.er1
>conftest.err
13843 cat conftest.err
>&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); } &&
13846 { ac_try
='test -z "$ac_f77_werror_flag"
13847 || test ! -s conftest.err'
13848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13849 (eval $ac_try) 2>&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); }; } &&
13853 { ac_try
='test -s conftest$ac_exeext'
13854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13855 (eval $ac_try) 2>&5
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 (exit $ac_status); }; }; then
13860 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13862 # Check for a 64-bit object if we didn't find anything.
13863 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; }
13866 echo "$as_me: failed program was:" >&5
13867 sed 's/^/| /' conftest.
$ac_ext >&5
13870 rm -f conftest.err conftest.
$ac_objext \
13871 conftest
$ac_exeext conftest.
$ac_ext
13872 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13874 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13875 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13877 if test "$host_cpu" = ia64; then
13878 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
13879 allow_undefined_flag_F77="-z nodefs"
13880 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
13882 # Determine the default libpath from the value encoded in an empty executable.
13883 cat >conftest.$ac_ext <<_ACEOF
13888 rm -f conftest.$ac_objext conftest$ac_exeext
13889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13890 (eval $ac_link) 2>conftest.er1
13892 grep -v '^ *+' conftest.er1 >conftest.err
13894 cat conftest.err >&5
13895 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13896 (exit $ac_status); } &&
13897 { ac_try='test -z "$ac_f77_werror_flag"
13898 || test ! -s conftest.err'
13899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13900 (eval $ac_try) 2>&5
13902 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13903 (exit $ac_status); }; } &&
13904 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13911 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13913 # Check for a 64-bit object if we didn't find anything.
13914 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; }
13917 echo "$as_me: failed program was
:" >&5
13918 sed 's/^/| /' conftest.$ac_ext >&5
13921 rm -f conftest.err conftest.$ac_objext \
13922 conftest$ac_exeext conftest.$ac_ext
13923 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
13925 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13926 # Warning - without using the other run time loading flags,
13927 # -berok will link without error, but may produce a broken library.
13928 no_undefined_flag_F77=' ${wl}-bernotok'
13929 allow_undefined_flag_F77=' ${wl}-berok'
13930 # -bexpall does not export symbols beginning with underscore (_)
13931 always_export_symbols_F77=yes
13932 # Exported symbols can be pulled into shared objects from archives
13933 whole_archive_flag_spec_F77=' '
13934 archive_cmds_need_lc_F77=yes
13935 # This is similar to how AIX traditionally builds it's shared libraries.
13936 archive_expsym_cmds_F77="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13942 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)'
13943 hardcode_libdir_flag_spec_F77
='-L$libdir'
13944 hardcode_minus_L_F77
=yes
13945 # see comment about different semantics on the GNU ld section
13950 export_dynamic_flag_spec_F77
=-rdynamic
13953 cygwin
* | mingw
* | pw32
*)
13954 # When not using gcc, we currently assume that we are using
13955 # Microsoft Visual C++.
13956 # hardcode_libdir_flag_spec is actually meaningless, as there is
13957 # no search path for DLLs.
13958 hardcode_libdir_flag_spec_F77
=' '
13959 allow_undefined_flag_F77
=unsupported
13960 # Tell ltmain to make .lib files, not .a files.
13962 # Tell ltmain to make .dll files, not .so files.
13964 # FIXME: Setting linknames here is a bad hack.
13965 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13966 # The linker will automatically build a .lib file if we build a DLL.
13967 old_archive_From_new_cmds_F77
='true'
13968 # FIXME: Should let the user specify the lib program.
13969 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
13970 fix_srcfile_path
='`cygpath -w "$srcfile"`'
13971 enable_shared_with_static_runtimes_F77
=yes
13974 darwin
* | rhapsody
*)
13975 if test "$GXX" = yes ; then
13976 archive_cmds_need_lc_F77
=no
13978 rhapsody
* | darwin1.
[012])
13979 allow_undefined_flag_F77
='-undefined suppress'
13982 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13983 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
13985 case ${MACOSX_DEPLOYMENT_TARGET} in
13987 allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
13990 allow_undefined_flag_F77
='-undefined dynamic_lookup'
13996 lt_int_apple_cc_single_mod
=no
13997 output_verbose_link_cmd
='echo'
13998 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
13999 lt_int_apple_cc_single_mod
=yes
14001 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14002 archive_cmds_F77
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14004 archive_cmds_F77
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14006 module_cmds_F77
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14007 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14008 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
14009 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14011 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14013 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}'
14014 hardcode_direct_F77
=no
14015 hardcode_automatic_F77
=yes
14016 hardcode_shlibpath_var_F77
=unsupported
14017 whole_archive_flag_spec_F77
='-all_load $convenience'
14018 link_all_deplibs_F77
=yes
14025 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14026 hardcode_libdir_flag_spec_F77
='-L$libdir'
14027 hardcode_shlibpath_var_F77
=no
14034 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14035 # support. Future versions do this automatically, but an explicit c++rt0.o
14036 # does not break anything, and helps significantly (at the cost of a little
14039 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14040 hardcode_libdir_flag_spec_F77
='-R$libdir'
14041 hardcode_direct_F77
=yes
14042 hardcode_shlibpath_var_F77
=no
14045 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14047 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14048 hardcode_direct_F77
=yes
14049 hardcode_minus_L_F77
=yes
14050 hardcode_shlibpath_var_F77
=no
14053 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14054 freebsd
* | kfreebsd
*-gnu)
14055 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14056 hardcode_libdir_flag_spec_F77
='-R$libdir'
14057 hardcode_direct_F77
=yes
14058 hardcode_shlibpath_var_F77
=no
14062 if test "$GCC" = yes; then
14063 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'
14065 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'
14067 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14068 hardcode_libdir_separator_F77
=:
14069 hardcode_direct_F77
=yes
14071 # hardcode_minus_L: Not really in the search PATH,
14072 # but as the default location of the library.
14073 hardcode_minus_L_F77
=yes
14074 export_dynamic_flag_spec_F77
='${wl}-E'
14078 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14079 case "$host_cpu" in
14081 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14084 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14088 case "$host_cpu" in
14090 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14093 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14097 if test "$with_gnu_ld" = no
; then
14098 case "$host_cpu" in
14100 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14101 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14102 hardcode_libdir_separator_F77
=:
14103 hardcode_direct_F77
=no
14104 hardcode_shlibpath_var_F77
=no
14107 hardcode_libdir_flag_spec_F77
='-L$libdir'
14108 hardcode_direct_F77
=no
14109 hardcode_shlibpath_var_F77
=no
14111 # hardcode_minus_L: Not really in the search PATH,
14112 # but as the default location of the library.
14113 hardcode_minus_L_F77
=yes
14116 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14117 hardcode_libdir_separator_F77
=:
14118 hardcode_direct_F77
=yes
14119 export_dynamic_flag_spec_F77
='${wl}-E'
14121 # hardcode_minus_L: Not really in the search PATH,
14122 # but as the default location of the library.
14123 hardcode_minus_L_F77
=yes
14129 irix5
* | irix6
* | nonstopux
*)
14130 if test "$GCC" = yes; then
14131 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'
14133 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'
14134 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14136 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14137 hardcode_libdir_separator_F77
=:
14138 link_all_deplibs_F77
=yes
14142 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14143 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14145 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14147 hardcode_libdir_flag_spec_F77
='-R$libdir'
14148 hardcode_direct_F77
=yes
14149 hardcode_shlibpath_var_F77
=no
14153 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14154 hardcode_direct_F77
=yes
14155 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14156 hardcode_libdir_separator_F77
=:
14157 hardcode_shlibpath_var_F77
=no
14161 hardcode_direct_F77
=yes
14162 hardcode_shlibpath_var_F77
=no
14163 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14164 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14165 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14166 export_dynamic_flag_spec_F77
='${wl}-E'
14169 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14170 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14171 hardcode_libdir_flag_spec_F77
='-R$libdir'
14174 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14175 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14182 hardcode_libdir_flag_spec_F77
='-L$libdir'
14183 hardcode_minus_L_F77
=yes
14184 allow_undefined_flag_F77
=unsupported
14185 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'
14186 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14190 if test "$GCC" = yes; then
14191 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14192 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'
14194 allow_undefined_flag_F77
=' -expect_unresolved \*'
14195 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'
14197 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14198 hardcode_libdir_separator_F77
=:
14201 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14202 if test "$GCC" = yes; then
14203 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14204 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'
14205 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14207 allow_undefined_flag_F77
=' -expect_unresolved \*'
14208 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'
14209 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~
14210 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
14212 # Both c and cxx compiler support -rpath directly
14213 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14215 hardcode_libdir_separator_F77
=:
14219 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14220 hardcode_shlibpath_var_F77
=no
14221 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14222 runpath_var
=LD_RUN_PATH
14223 hardcode_runpath_var
=yes
14227 no_undefined_flag_F77
=' -z text'
14228 if test "$GCC" = yes; then
14229 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14230 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14231 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14233 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14234 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14235 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14237 hardcode_libdir_flag_spec_F77
='-R$libdir'
14238 hardcode_shlibpath_var_F77
=no
14240 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14241 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14242 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14244 link_all_deplibs_F77
=yes
14248 if test "x$host_vendor" = xsequent
; then
14249 # Use $CC to link under sequent, because it throws in some extra .o
14250 # files that make .init and .fini sections work.
14251 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14253 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14255 hardcode_libdir_flag_spec_F77
='-L$libdir'
14256 hardcode_direct_F77
=yes
14257 hardcode_minus_L_F77
=yes
14258 hardcode_shlibpath_var_F77
=no
14262 case $host_vendor in
14264 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14265 hardcode_direct_F77
=yes # is this really true???
14268 ## LD is ld it makes a PLAMLIB
14269 ## CC just makes a GrossModule.
14270 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14271 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14272 hardcode_direct_F77
=no
14275 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14276 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14279 runpath_var
='LD_RUN_PATH'
14280 hardcode_shlibpath_var_F77
=no
14284 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14285 hardcode_shlibpath_var_F77
=no
14286 export_dynamic_flag_spec_F77
='-Bexport'
14290 if test -d /usr
/nec
; then
14291 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14292 hardcode_shlibpath_var_F77
=no
14293 runpath_var
=LD_RUN_PATH
14294 hardcode_runpath_var
=yes
14300 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14301 hardcode_direct_F77
=yes
14302 hardcode_minus_L_F77
=no
14303 hardcode_shlibpath_var_F77
=no
14304 hardcode_runpath_var
=yes
14305 runpath_var
=LD_RUN_PATH
14308 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14309 no_undefined_flag_F77
='${wl}-z ${wl}text'
14310 if test "$GCC" = yes; then
14311 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14313 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14315 runpath_var
='LD_RUN_PATH'
14316 hardcode_shlibpath_var_F77
=no
14320 no_undefined_flag_F77
=' -z text'
14321 # $CC -shared without GNU ld will not create a library from C++
14322 # object files and a static libstdc++, better avoid it by now
14323 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14324 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14325 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14326 hardcode_libdir_flag_spec_F77
=
14327 hardcode_shlibpath_var_F77
=no
14328 runpath_var
='LD_RUN_PATH'
14332 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14333 hardcode_libdir_flag_spec_F77
='-L$libdir'
14334 hardcode_shlibpath_var_F77
=no
14343 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14344 echo "${ECHO_T}$ld_shlibs_F77" >&6
14345 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14347 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14348 if test "$GCC" = yes; then
14349 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14353 # Do we need to explicitly link libc?
14355 case "x$archive_cmds_need_lc_F77" in
14357 # Assume -lc should be added
14358 archive_cmds_need_lc_F77
=yes
14360 if test "$enable_shared" = yes && test "$GCC" = yes; then
14361 case $archive_cmds_F77 in
14363 # FIXME: we may have to deal with multi-command sequences.
14366 # Test whether the compiler implicitly links with -lc since on some
14367 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14368 # to ld, don't add -lc before -lgcc.
14369 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14370 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14372 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14375 (eval $ac_compile) 2>&5
14377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378 (exit $ac_status); } 2>conftest.err
; then
14381 libobjs
=conftest.
$ac_objext
14383 wl
=$lt_prog_compiler_wl_F77
14389 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14390 allow_undefined_flag_F77
=
14391 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14392 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }
14397 archive_cmds_need_lc_F77
=no
14399 archive_cmds_need_lc_F77
=yes
14401 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14403 cat conftest.err
1>&5
14406 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14407 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14414 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14415 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14416 library_names_spec
=
14417 libname_spec
='lib$name'
14421 postuninstall_cmds
=
14425 shlibpath_overrides_runpath
=unknown
14427 dynamic_linker
="$host_os ld.so"
14428 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14429 if test "$GCC" = yes; then
14430 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14431 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14432 # if the path contains ";" then we assume it to be the separator
14433 # otherwise default to the standard path separator (i.e. ":") - it is
14434 # assumed that no part of a normal pathname contains ";" but that should
14435 # okay in the real world where ";" in dirpaths is itself problematic.
14436 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14438 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14441 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14443 need_lib_prefix
=unknown
14444 hardcode_into_libs
=no
14446 # when you set need_version to no, make sure it does not cause -set_version
14447 # flags to be left without arguments
14448 need_version
=unknown
14453 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14454 shlibpath_var
=LIBPATH
14456 # AIX 3 has no versioning support, so we append a major version to the name.
14457 soname_spec
='${libname}${release}${shared_ext}$major'
14464 hardcode_into_libs
=yes
14465 if test "$host_cpu" = ia64
; then
14466 # AIX 5 supports IA64
14467 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14468 shlibpath_var
=LD_LIBRARY_PATH
14470 # With GCC up to 2.95.x, collect2 would create an import file
14471 # for dependence libraries. The import file would start with
14472 # the line `#! .'. This would cause the generated library to
14473 # depend on `.', always an invalid library. This was fixed in
14474 # development snapshots of GCC prior to 3.0.
14476 aix4 | aix4.
[01] | aix4.
[01].
*)
14477 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14479 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14482 can_build_shared
=no
14486 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14487 # soname into executable. Probably we can add versioning support to
14488 # collect2, so additional links can be useful in future.
14489 if test "$aix_use_runtimelinking" = yes; then
14490 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14491 # instead of lib<name>.a to let people know that these are not
14492 # typical AIX shared libraries.
14493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14495 # We preserve .a as extension for shared libraries through AIX4.2
14496 # and later when we are not doing run time linking.
14497 library_names_spec
='${libname}${release}.a $libname.a'
14498 soname_spec
='${libname}${release}${shared_ext}$major'
14500 shlibpath_var
=LIBPATH
14505 library_names_spec
='$libname.ixlibrary $libname.a'
14506 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14507 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'
14511 library_names_spec
='${libname}${shared_ext}'
14512 dynamic_linker
="$host_os ld.so"
14513 shlibpath_var
=LIBRARY_PATH
14519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14520 soname_spec
='${libname}${release}${shared_ext}$major'
14521 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14522 shlibpath_var
=LD_LIBRARY_PATH
14523 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14524 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14525 # the default ld.so.conf also contains /usr/contrib/lib and
14526 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14527 # libtool to hard-code these into programs
14530 cygwin
* | mingw
* | pw32
*)
14531 version_type
=windows
14536 case $GCC,$host_os in
14537 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14538 library_names_spec
='$libname.dll.a'
14539 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14540 postinstall_cmds
='base_file=`basename \${file}`~
14541 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14542 dldir=$destdir/`dirname \$dlpath`~
14543 test -d \$dldir || mkdir -p \$dldir~
14544 $install_prog $dir/$dlname \$dldir/$dlname'
14545 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14546 dlpath=$dir/\$dldll~
14548 shlibpath_overrides_runpath
=yes
14552 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14553 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14554 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14557 # MinGW DLLs use traditional 'lib' prefix
14558 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14559 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14560 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14561 # It is most probably a Windows format PATH printed by
14562 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14563 # path with ; separators, and with drive letters. We can handle the
14564 # drive letters (cygwin fileutils understands them), so leave them,
14565 # especially as we might pass files found there to a mingw objdump,
14566 # which wouldn't understand a cygwinified path. Ahh.
14567 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14569 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14573 # pw32 DLLs use 'pw' prefix rather than 'lib'
14574 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14580 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14583 dynamic_linker
='Win32 ld.exe'
14584 # FIXME: first we should search . and the directory the executable is in
14588 darwin
* | rhapsody
*)
14589 dynamic_linker
="$host_os dyld"
14590 version_type
=darwin
14593 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14594 soname_spec
='${libname}${release}${major}$shared_ext'
14595 shlibpath_overrides_runpath
=yes
14596 shlibpath_var
=DYLD_LIBRARY_PATH
14597 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
14598 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14599 if test "$GCC" = yes; then
14600 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"`
14602 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14604 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14612 soname_spec
='${libname}${release}${shared_ext}$major'
14613 shlibpath_var
=LD_LIBRARY_PATH
14624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14625 soname_spec
='${libname}${release}${shared_ext}$major'
14626 shlibpath_var
=LD_LIBRARY_PATH
14627 shlibpath_overrides_runpath
=no
14628 hardcode_into_libs
=yes
14629 dynamic_linker
='GNU ld.so'
14633 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14634 version_type
=freebsd-
$objformat
14635 case $version_type in
14637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14642 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14646 shlibpath_var
=LD_LIBRARY_PATH
14649 shlibpath_overrides_runpath
=yes
14651 freebsd3.01
* | freebsdelf3.01
*)
14652 shlibpath_overrides_runpath
=yes
14653 hardcode_into_libs
=yes
14656 shlibpath_overrides_runpath
=no
14657 hardcode_into_libs
=yes
14666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14667 soname_spec
='${libname}${release}${shared_ext}$major'
14668 shlibpath_var
=LD_LIBRARY_PATH
14669 hardcode_into_libs
=yes
14672 hpux9
* | hpux10
* | hpux11
*)
14673 # Give a soname corresponding to the major version so that dld.sl refuses to
14674 # link against other versions.
14678 case "$host_cpu" in
14681 hardcode_into_libs
=yes
14682 dynamic_linker
="$host_os dld.so"
14683 shlibpath_var
=LD_LIBRARY_PATH
14684 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14686 soname_spec
='${libname}${release}${shared_ext}$major'
14687 if test "X$HPUX_IA64_MODE" = X32
; then
14688 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14690 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14692 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14696 hardcode_into_libs
=yes
14697 dynamic_linker
="$host_os dld.sl"
14698 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14699 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14701 soname_spec
='${libname}${release}${shared_ext}$major'
14702 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14703 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14707 dynamic_linker
="$host_os dld.sl"
14708 shlibpath_var
=SHLIB_PATH
14709 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14711 soname_spec
='${libname}${release}${shared_ext}$major'
14714 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14715 postinstall_cmds
='chmod 555 $lib'
14718 irix5
* | irix6
* | nonstopux
*)
14720 nonstopux
*) version_type
=nonstopux
;;
14722 if test "$lt_cv_prog_gnu_ld" = yes; then
14730 soname_spec
='${libname}${release}${shared_ext}$major'
14731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14733 irix5
* | nonstopux
*)
14734 libsuff
= shlibsuff
=
14737 case $LD in # libtool.m4 will add one of these switches to LD
14738 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14739 libsuff
= shlibsuff
= libmagic
=32-bit;;
14740 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14741 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14742 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14743 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14744 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14748 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14749 shlibpath_overrides_runpath
=no
14750 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14751 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14752 hardcode_into_libs
=yes
14755 # No shared lib support for Linux oldld, aout, or coff.
14756 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14760 # This must be Linux ELF.
14765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14766 soname_spec
='${libname}${release}${shared_ext}$major'
14767 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14768 shlibpath_var
=LD_LIBRARY_PATH
14769 shlibpath_overrides_runpath
=no
14770 # This implies no fast_install, which is unacceptable.
14771 # Some rework will be needed to allow for fast_install
14772 # before this can be enabled.
14773 hardcode_into_libs
=yes
14775 # find out which ABI we are using
14777 case "$host_cpu" in
14778 x86_64
*|s390x
*|powerpc64
*)
14779 echo '#line 14779 "configure"' > conftest.
$ac_ext
14780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14781 (eval $ac_compile) 2>&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); }; then
14785 case `/usr/bin/file conftest.$ac_objext` in
14788 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14796 # Append ld.so.conf contents to the search path
14797 if test -f /etc
/ld.so.conf
; then
14798 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
14799 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14802 # We used to test for /lib/ld.so.1 and disable shared libraries on
14803 # powerpc, because MkLinux only supported shared libraries with the
14804 # GNU dynamic linker. Since this was broken with cross compilers,
14805 # most powerpc-linux boxes support dynamic linking these days and
14806 # people can always --disable-shared, the test was removed, and we
14807 # assume the GNU/Linux dynamic linker is in use.
14808 dynamic_linker
='GNU/Linux ld.so'
14815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14816 soname_spec
='${libname}${release}${shared_ext}$major'
14817 shlibpath_var
=LD_LIBRARY_PATH
14818 shlibpath_overrides_runpath
=no
14819 hardcode_into_libs
=yes
14820 dynamic_linker
='GNU ld.so'
14827 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14829 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14830 dynamic_linker
='NetBSD (a.out) ld.so'
14832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14833 soname_spec
='${libname}${release}${shared_ext}$major'
14834 dynamic_linker
='NetBSD ld.elf_so'
14836 shlibpath_var
=LD_LIBRARY_PATH
14837 shlibpath_overrides_runpath
=yes
14838 hardcode_into_libs
=yes
14843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14844 shlibpath_var
=LD_LIBRARY_PATH
14845 shlibpath_overrides_runpath
=yes
14852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14853 soname_spec
='${libname}${release}${shared_ext}$major'
14854 shlibpath_var
=LD_LIBRARY_PATH
14855 shlibpath_overrides_runpath
=yes
14862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14863 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14864 shlibpath_var
=LD_LIBRARY_PATH
14865 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14867 openbsd2.
[89] | openbsd2.
[89].
*)
14868 shlibpath_overrides_runpath
=no
14871 shlibpath_overrides_runpath
=yes
14875 shlibpath_overrides_runpath
=yes
14880 libname_spec
='$name'
14883 library_names_spec
='$libname${shared_ext} $libname.a'
14884 dynamic_linker
='OS/2 ld.exe'
14885 shlibpath_var
=LIBPATH
14888 osf3
* | osf4
* | osf5
*)
14892 soname_spec
='${libname}${release}${shared_ext}$major'
14893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14894 shlibpath_var
=LD_LIBRARY_PATH
14895 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14896 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14901 soname_spec
='${libname}${release}${shared_ext}$major'
14902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14903 shlibpath_var
=LD_LIBRARY_PATH
14910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14911 soname_spec
='${libname}${release}${shared_ext}$major'
14912 shlibpath_var
=LD_LIBRARY_PATH
14913 shlibpath_overrides_runpath
=yes
14914 hardcode_into_libs
=yes
14915 # ldd complains unless libraries are executable
14916 postinstall_cmds
='chmod +x $lib'
14921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14922 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14923 shlibpath_var
=LD_LIBRARY_PATH
14924 shlibpath_overrides_runpath
=yes
14925 if test "$with_gnu_ld" = yes; then
14931 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14934 soname_spec
='${libname}${release}${shared_ext}$major'
14935 shlibpath_var
=LD_LIBRARY_PATH
14936 case $host_vendor in
14938 shlibpath_overrides_runpath
=no
14940 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14941 runpath_var
=LD_RUN_PATH
14949 shlibpath_overrides_runpath
=no
14950 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14956 if test -d /usr
/nec
;then
14958 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14959 soname_spec
='$libname${shared_ext}.$major'
14960 shlibpath_var
=LD_LIBRARY_PATH
14966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14967 soname_spec
='${libname}${release}${shared_ext}$major'
14968 shlibpath_var
=LD_LIBRARY_PATH
14975 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14976 echo "${ECHO_T}$dynamic_linker" >&6
14977 test "$dynamic_linker" = no
&& can_build_shared
=no
14979 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14980 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14981 hardcode_action_F77
=
14982 if test -n "$hardcode_libdir_flag_spec_F77" || \
14983 test -n "$runpath_var F77" || \
14984 test "X$hardcode_automatic_F77"="Xyes" ; then
14986 # We can hardcode non-existant directories.
14987 if test "$hardcode_direct_F77" != no
&&
14988 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14989 # have to relink, otherwise we might link with an installed library
14990 # when we should be linking with a yet-to-be-installed one
14991 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14992 test "$hardcode_minus_L_F77" != no
; then
14993 # Linking always hardcodes the temporary library directory.
14994 hardcode_action_F77
=relink
14996 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14997 hardcode_action_F77
=immediate
15000 # We cannot hardcode anything, or else we can only hardcode existing
15002 hardcode_action_F77
=unsupported
15004 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15005 echo "${ECHO_T}$hardcode_action_F77" >&6
15007 if test "$hardcode_action_F77" = relink
; then
15008 # Fast installation is not supported
15009 enable_fast_install
=no
15010 elif test "$shlibpath_overrides_runpath" = yes ||
15011 test "$enable_shared" = no
; then
15012 # Fast installation is not necessary
15013 enable_fast_install
=needless
15018 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15019 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15020 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15021 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15022 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15023 echo "$as_me:$LINENO: result: yes" >&5
15024 echo "${ECHO_T}yes" >&6
15026 # FIXME - insert some real tests, host_os isn't really good enough
15029 if test -n "$STRIP" ; then
15030 striplib
="$STRIP -x"
15031 echo "$as_me:$LINENO: result: yes" >&5
15032 echo "${ECHO_T}yes" >&6
15034 echo "$as_me:$LINENO: result: no" >&5
15035 echo "${ECHO_T}no" >&6
15039 echo "$as_me:$LINENO: result: no" >&5
15040 echo "${ECHO_T}no" >&6
15047 # The else clause should only fire when bootstrapping the
15048 # libtool distribution, otherwise you forgot to ship ltmain.sh
15049 # with your package, and you will get complaints that there are
15050 # no rules to generate ltmain.sh.
15051 if test -f "$ltmain"; then
15052 # See if we are running on zsh, and set the options which allow our commands through
15053 # without removal of \ escapes.
15054 if test -n "${ZSH_VERSION+set}" ; then
15055 setopt NO_GLOB_SUBST
15057 # Now quote all the things that may contain metacharacters while being
15058 # careful not to overquote the AC_SUBSTed values. We take copies of the
15059 # variables and quote the copies for generation of the libtool script.
15060 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15062 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15063 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15064 deplibs_check_method reload_flag reload_cmds need_locks \
15065 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15066 lt_cv_sys_global_symbol_to_c_name_address \
15067 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15068 old_postinstall_cmds old_postuninstall_cmds \
15072 lt_prog_compiler_wl_F77 \
15073 lt_prog_compiler_pic_F77 \
15074 lt_prog_compiler_static_F77 \
15075 lt_prog_compiler_no_builtin_flag_F77 \
15076 export_dynamic_flag_spec_F77 \
15077 thread_safe_flag_spec_F77 \
15078 whole_archive_flag_spec_F77 \
15079 enable_shared_with_static_runtimes_F77 \
15080 old_archive_cmds_F77 \
15081 old_archive_from_new_cmds_F77 \
15082 predep_objects_F77 \
15083 postdep_objects_F77 \
15086 compiler_lib_search_path_F77 \
15088 archive_expsym_cmds_F77 \
15089 postinstall_cmds_F77 \
15090 postuninstall_cmds_F77 \
15091 old_archive_from_expsyms_cmds_F77 \
15092 allow_undefined_flag_F77 \
15093 no_undefined_flag_F77 \
15094 export_symbols_cmds_F77 \
15095 hardcode_libdir_flag_spec_F77 \
15096 hardcode_libdir_flag_spec_ld_F77 \
15097 hardcode_libdir_separator_F77 \
15098 hardcode_automatic_F77 \
15100 module_expsym_cmds_F77 \
15101 lt_cv_prog_compiler_c_o_F77 \
15102 exclude_expsyms_F77 \
15103 include_expsyms_F77
; do
15106 old_archive_cmds_F77 | \
15107 old_archive_from_new_cmds_F77 | \
15108 archive_cmds_F77 | \
15109 archive_expsym_cmds_F77 | \
15110 module_cmds_F77 | \
15111 module_expsym_cmds_F77 | \
15112 old_archive_from_expsyms_cmds_F77 | \
15113 export_symbols_cmds_F77 | \
15114 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15115 postinstall_cmds | postuninstall_cmds | \
15116 old_postinstall_cmds | old_postuninstall_cmds | \
15117 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15118 # Double-quote double-evaled strings.
15119 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15122 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15128 *'\$0 --fallback-echo"')
15129 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15135 cat <<__EOF__ >> "$cfgfile"
15136 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15138 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15140 # Shell to use when invoking shell scripts.
15143 # Whether or not to build shared libraries.
15144 build_libtool_libs=$enable_shared
15146 # Whether or not to build static libraries.
15147 build_old_libs=$enable_static
15149 # Whether or not to add -lc for building shared libraries.
15150 build_libtool_need_lc=$archive_cmds_need_lc_F77
15152 # Whether or not to disallow shared libs when runtime libs are static
15153 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15155 # Whether or not to optimize for fast installation.
15156 fast_install=$enable_fast_install
15159 host_alias=$host_alias
15162 # An echo program that does not interpret backslashes.
15167 AR_FLAGS=$lt_AR_FLAGS
15172 # A language-specific compiler.
15173 CC=$lt_compiler_F77
15175 # Is the compiler the GNU C compiler?
15181 # The linker used to build libraries.
15184 # Whether we need hard or soft links.
15187 # A BSD-compatible nm program.
15190 # A symbol stripping program
15193 # Used to examine libraries when file_magic_cmd begins "file"
15194 MAGIC_CMD=$MAGIC_CMD
15196 # Used on cygwin: DLL creation program.
15199 # Used on cygwin: object dumper.
15202 # Used on cygwin: assembler.
15205 # The name of the directory that contains temporary libtool files.
15208 # How to create reloadable object files.
15209 reload_flag=$lt_reload_flag
15210 reload_cmds=$lt_reload_cmds
15212 # How to pass a linker flag through the compiler.
15213 wl=$lt_lt_prog_compiler_wl_F77
15215 # Object file suffix (normally "o").
15216 objext="$ac_objext"
15218 # Old archive suffix (normally "a").
15221 # Shared library suffix (normally ".so").
15222 shrext_cmds='$shrext_cmds'
15224 # Executable file suffix (normally "").
15227 # Additional compiler flags for building library objects.
15228 pic_flag=$lt_lt_prog_compiler_pic_F77
15231 # What is the maximum length of a command?
15232 max_cmd_len=$lt_cv_sys_max_cmd_len
15234 # Does compiler simultaneously support -c and -o options?
15235 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15237 # Must we lock files when doing compilation ?
15238 need_locks=$lt_need_locks
15240 # Do we need the lib prefix for modules?
15241 need_lib_prefix=$need_lib_prefix
15243 # Do we need a version for libraries?
15244 need_version=$need_version
15246 # Whether dlopen is supported.
15247 dlopen_support=$enable_dlopen
15249 # Whether dlopen of programs is supported.
15250 dlopen_self=$enable_dlopen_self
15252 # Whether dlopen of statically linked programs is supported.
15253 dlopen_self_static=$enable_dlopen_self_static
15255 # Compiler flag to prevent dynamic linking.
15256 link_static_flag=$lt_lt_prog_compiler_static_F77
15258 # Compiler flag to turn off builtin functions.
15259 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15261 # Compiler flag to allow reflexive dlopens.
15262 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15264 # Compiler flag to generate shared objects directly from archives.
15265 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15267 # Compiler flag to generate thread-safe objects.
15268 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15270 # Library versioning type.
15271 version_type=$version_type
15273 # Format of library name prefix.
15274 libname_spec=$lt_libname_spec
15276 # List of archive names. First name is the real one, the rest are links.
15277 # The last name is the one that the linker finds with -lNAME.
15278 library_names_spec=$lt_library_names_spec
15280 # The coded name of the library, if different from the real name.
15281 soname_spec=$lt_soname_spec
15283 # Commands used to build and install an old-style archive.
15285 old_archive_cmds=$lt_old_archive_cmds_F77
15286 old_postinstall_cmds=$lt_old_postinstall_cmds
15287 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15289 # Create an old-style archive from a shared archive.
15290 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15292 # Create a temporary old-style archive to link instead of a shared archive.
15293 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15295 # Commands used to build and install a shared archive.
15296 archive_cmds=$lt_archive_cmds_F77
15297 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15298 postinstall_cmds=$lt_postinstall_cmds
15299 postuninstall_cmds=$lt_postuninstall_cmds
15301 # Commands used to build a loadable module (assumed same as above if empty)
15302 module_cmds=$lt_module_cmds_F77
15303 module_expsym_cmds=$lt_module_expsym_cmds_F77
15305 # Commands to strip libraries.
15306 old_striplib=$lt_old_striplib
15307 striplib=$lt_striplib
15309 # Dependencies to place before the objects being linked to create a
15311 predep_objects=$lt_predep_objects_F77
15313 # Dependencies to place after the objects being linked to create a
15315 postdep_objects=$lt_postdep_objects_F77
15317 # Dependencies to place before the objects being linked to create a
15319 predeps=$lt_predeps_F77
15321 # Dependencies to place after the objects being linked to create a
15323 postdeps=$lt_postdeps_F77
15325 # The library search path used internally by the compiler when linking
15326 # a shared library.
15327 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15329 # Method to check whether dependent libraries are shared objects.
15330 deplibs_check_method=$lt_deplibs_check_method
15332 # Command to use when deplibs_check_method == file_magic.
15333 file_magic_cmd=$lt_file_magic_cmd
15335 # Flag that allows shared libraries with undefined symbols to be built.
15336 allow_undefined_flag=$lt_allow_undefined_flag_F77
15338 # Flag that forces no undefined symbols.
15339 no_undefined_flag=$lt_no_undefined_flag_F77
15341 # Commands used to finish a libtool library installation in a directory.
15342 finish_cmds=$lt_finish_cmds
15344 # Same as above, but a single script fragment to be evaled but not shown.
15345 finish_eval=$lt_finish_eval
15347 # Take the output of nm and produce a listing of raw symbols and C names.
15348 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15350 # Transform the output of nm in a proper C declaration
15351 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15353 # Transform the output of nm in a C name address pair
15354 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15356 # This is the shared library runtime path variable.
15357 runpath_var=$runpath_var
15359 # This is the shared library path variable.
15360 shlibpath_var=$shlibpath_var
15362 # Is shlibpath searched before the hard-coded library search path?
15363 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15365 # How to hardcode a shared library path into an executable.
15366 hardcode_action=$hardcode_action_F77
15368 # Whether we should hardcode library paths into libraries.
15369 hardcode_into_libs=$hardcode_into_libs
15371 # Flag to hardcode \$libdir into a binary during linking.
15372 # This must work even if \$libdir does not exist.
15373 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15375 # If ld is used when linking, flag to hardcode \$libdir into
15376 # a binary during linking. This must work even if \$libdir does
15378 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15380 # Whether we need a single -rpath flag with a separated argument.
15381 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15383 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15384 # resulting binary.
15385 hardcode_direct=$hardcode_direct_F77
15387 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15388 # resulting binary.
15389 hardcode_minus_L=$hardcode_minus_L_F77
15391 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15392 # the resulting binary.
15393 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15395 # Set to yes if building a shared library automatically hardcodes DIR into the library
15396 # and all subsequent libraries and executables linked against it.
15397 hardcode_automatic=$hardcode_automatic_F77
15399 # Variables whose values should be saved in libtool wrapper scripts and
15400 # restored at relink time.
15401 variables_saved_for_relink="$variables_saved_for_relink"
15403 # Whether libtool must link a program against all its dependency libraries.
15404 link_all_deplibs=$link_all_deplibs_F77
15406 # Compile-time system search path for libraries
15407 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15409 # Run-time system search path for libraries
15410 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15412 # Fix the shell variable \$srcfile for the compiler.
15413 fix_srcfile_path="$fix_srcfile_path_F77"
15415 # Set to yes if exported symbols are required.
15416 always_export_symbols=$always_export_symbols_F77
15418 # The commands to list exported symbols.
15419 export_symbols_cmds=$lt_export_symbols_cmds_F77
15421 # The commands to extract the exported symbol list from a shared archive.
15422 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15424 # Symbols that should not be listed in the preloaded symbols.
15425 exclude_expsyms=$lt_exclude_expsyms_F77
15427 # Symbols that must always be exported.
15428 include_expsyms=$lt_include_expsyms_F77
15430 # ### END LIBTOOL TAG CONFIG: $tagname
15436 # If there is no Makefile yet, we rely on a make rule to execute
15437 # `config.status --recheck' to rerun these tests and create the
15438 # libtool script then.
15439 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15440 if test -f "$ltmain_in"; then
15441 test -f Makefile
&& make "$ltmain"
15447 ac_cpp
='$CXXCPP $CPPFLAGS'
15448 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15449 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15450 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15460 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15464 # Source file extension for Java test sources.
15467 # Object file extension for compiled Java test sources.
15471 # Code to be used in simple compile tests
15472 lt_simple_compile_test_code
="class foo {}\n"
15474 # Code to be used in simple link tests
15475 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
15477 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15479 # If no C compiler was specified, use CC.
15482 # Allow CC to be a program name with arguments.
15486 # Allow CC to be a program name with arguments.
15492 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15493 archive_cmds_need_lc_GCJ
=no
15496 lt_prog_compiler_no_builtin_flag_GCJ
=
15498 if test "$GCC" = yes; then
15499 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15502 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15503 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15504 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15505 echo $ECHO_N "(cached) $ECHO_C" >&6
15507 lt_cv_prog_compiler_rtti_exceptions
=no
15508 ac_outfile
=conftest.
$ac_objext
15509 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15510 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15511 # Insert the option either (1) after the last *FLAGS variable, or
15512 # (2) before a word containing "conftest.", or (3) at the end.
15513 # Note that $ac_compile itself does not contain backslashes and begins
15514 # with a dollar sign (not a hyphen), so the echo should work correctly.
15515 # The option is referenced via a variable to avoid confusing sed.
15516 lt_compile
=`echo "$ac_compile" | $SED \
15517 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15518 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15519 -e 's:$: $lt_compiler_flag:'`
15520 (eval echo "\"\$as_me:15520: $lt_compile\"" >&5)
15521 (eval "$lt_compile" 2>conftest.err
)
15523 cat conftest.err
>&5
15524 echo "$as_me:15524: \$? = $ac_status" >&5
15525 if (exit $ac_status) && test -s "$ac_outfile"; then
15526 # The compiler can only warn and ignore the option if not recognized
15527 # So say no if there are warnings
15528 if test ! -s conftest.err
; then
15529 lt_cv_prog_compiler_rtti_exceptions
=yes
15535 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15536 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15538 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15539 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15546 lt_prog_compiler_wl_GCJ
=
15547 lt_prog_compiler_pic_GCJ
=
15548 lt_prog_compiler_static_GCJ
=
15550 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15551 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15553 if test "$GCC" = yes; then
15554 lt_prog_compiler_wl_GCJ
='-Wl,'
15555 lt_prog_compiler_static_GCJ
='-static'
15559 # All AIX code is PIC.
15560 if test "$host_cpu" = ia64
; then
15561 # AIX 5 now supports IA64 processor
15562 lt_prog_compiler_static_GCJ
='-Bstatic'
15567 # FIXME: we need at least 68020 code to build shared libraries, but
15568 # adding the `-m68020' flag to GCC prevents building anything better,
15570 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15573 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15574 # PIC is the default for these OSes.
15577 mingw
* | pw32
* | os2
*)
15578 # This hack is so that the source file can tell whether it is being
15579 # built for inclusion in a dll (and should export symbols for example).
15580 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15583 darwin
* | rhapsody
*)
15584 # PIC is the default on this platform
15585 # Common symbols not allowed in MH_DYLIB files
15586 lt_prog_compiler_pic_GCJ
='-fno-common'
15590 # Just because we use GCC doesn't mean we suddenly get shared libraries
15591 # on systems that don't support them.
15592 lt_prog_compiler_can_build_shared_GCJ
=no
15597 if test -d /usr
/nec
; then
15598 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15603 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15604 # not for PA HP-UX.
15605 case "$host_cpu" in
15610 lt_prog_compiler_pic_GCJ
='-fPIC'
15616 lt_prog_compiler_pic_GCJ
='-fPIC'
15620 # PORTME Check for flag to pass linker flags through the system compiler.
15623 lt_prog_compiler_wl_GCJ
='-Wl,'
15624 if test "$host_cpu" = ia64
; then
15625 # AIX 5 now supports IA64 processor
15626 lt_prog_compiler_static_GCJ
='-Bstatic'
15628 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15632 mingw
* | pw32
* | os2
*)
15633 # This hack is so that the source file can tell whether it is being
15634 # built for inclusion in a dll (and should export symbols for example).
15635 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15638 hpux9
* | hpux10
* | hpux11
*)
15639 lt_prog_compiler_wl_GCJ
='-Wl,'
15640 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15641 # not for PA HP-UX.
15642 case "$host_cpu" in
15647 lt_prog_compiler_pic_GCJ
='+Z'
15650 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15651 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15654 irix5
* | irix6
* | nonstopux
*)
15655 lt_prog_compiler_wl_GCJ
='-Wl,'
15656 # PIC (with -KPIC) is the default.
15657 lt_prog_compiler_static_GCJ
='-non_shared'
15661 lt_prog_compiler_pic_GCJ
='-KPIC'
15662 lt_prog_compiler_static_GCJ
='-Bstatic'
15668 lt_prog_compiler_wl_GCJ
='-Wl,'
15669 lt_prog_compiler_pic_GCJ
='-KPIC'
15670 lt_prog_compiler_static_GCJ
='-static'
15673 lt_prog_compiler_wl_GCJ
='-Wl,'
15674 # All Alpha code is PIC.
15675 lt_prog_compiler_static_GCJ
='-non_shared'
15680 osf3
* | osf4
* | osf5
*)
15681 lt_prog_compiler_wl_GCJ
='-Wl,'
15682 # All OSF/1 code is PIC.
15683 lt_prog_compiler_static_GCJ
='-non_shared'
15687 lt_prog_compiler_pic_GCJ
='-Kpic'
15688 lt_prog_compiler_static_GCJ
='-dn'
15692 lt_prog_compiler_wl_GCJ
='-Wl,'
15693 lt_prog_compiler_pic_GCJ
='-KPIC'
15694 lt_prog_compiler_static_GCJ
='-Bstatic'
15698 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15699 lt_prog_compiler_pic_GCJ
='-PIC'
15700 lt_prog_compiler_static_GCJ
='-Bstatic'
15703 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15704 lt_prog_compiler_wl_GCJ
='-Wl,'
15705 lt_prog_compiler_pic_GCJ
='-KPIC'
15706 lt_prog_compiler_static_GCJ
='-Bstatic'
15710 if test -d /usr
/nec
;then
15711 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15712 lt_prog_compiler_static_GCJ
='-Bstatic'
15717 lt_prog_compiler_pic_GCJ
='-pic'
15718 lt_prog_compiler_static_GCJ
='-Bstatic'
15722 lt_prog_compiler_can_build_shared_GCJ
=no
15727 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15728 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15731 # Check to make sure the PIC flag actually works.
15733 if test -n "$lt_prog_compiler_pic_GCJ"; then
15735 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15736 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15737 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15740 lt_prog_compiler_pic_works_GCJ
=no
15741 ac_outfile
=conftest.
$ac_objext
15742 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15743 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15744 # Insert the option either (1) after the last *FLAGS variable, or
15745 # (2) before a word containing "conftest.", or (3) at the end.
15746 # Note that $ac_compile itself does not contain backslashes and begins
15747 # with a dollar sign (not a hyphen), so the echo should work correctly.
15748 # The option is referenced via a variable to avoid confusing sed.
15749 lt_compile
=`echo "$ac_compile" | $SED \
15750 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15752 -e 's:$: $lt_compiler_flag:'`
15753 (eval echo "\"\$as_me:15753: $lt_compile\"" >&5)
15754 (eval "$lt_compile" 2>conftest.err
)
15756 cat conftest.err
>&5
15757 echo "$as_me:15757: \$? = $ac_status" >&5
15758 if (exit $ac_status) && test -s "$ac_outfile"; then
15759 # The compiler can only warn and ignore the option if not recognized
15760 # So say no if there are warnings
15761 if test ! -s conftest.err
; then
15762 lt_prog_compiler_pic_works_GCJ
=yes
15768 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15769 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15771 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15772 case $lt_prog_compiler_pic_GCJ in
15774 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15777 lt_prog_compiler_pic_GCJ
=
15778 lt_prog_compiler_can_build_shared_GCJ
=no
15783 # For platforms which do not support PIC, -DPIC is meaningless:
15785 lt_prog_compiler_pic_GCJ
=
15788 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15792 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15793 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15794 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15795 echo $ECHO_N "(cached) $ECHO_C" >&6
15797 lt_cv_prog_compiler_c_o_GCJ
=no
15798 $rm -r conftest
2>/dev
/null
15802 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15804 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15805 # Insert the option either (1) after the last *FLAGS variable, or
15806 # (2) before a word containing "conftest.", or (3) at the end.
15807 # Note that $ac_compile itself does not contain backslashes and begins
15808 # with a dollar sign (not a hyphen), so the echo should work correctly.
15809 lt_compile
=`echo "$ac_compile" | $SED \
15810 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15811 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15812 -e 's:$: $lt_compiler_flag:'`
15813 (eval echo "\"\$as_me:15813: $lt_compile\"" >&5)
15814 (eval "$lt_compile" 2>out
/conftest.err
)
15816 cat out
/conftest.err
>&5
15817 echo "$as_me:15817: \$? = $ac_status" >&5
15818 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15820 # The compiler can only warn and ignore the option if not recognized
15821 # So say no if there are warnings
15822 if test ! -s out
/conftest.err
; then
15823 lt_cv_prog_compiler_c_o_GCJ
=yes
15828 # SGI C++ compiler will create directory out/ii_files/ for
15829 # template instantiation
15830 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15831 $rm out
/* && rmdir out
15837 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15838 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15841 hard_links
="nottested"
15842 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
15843 # do not overwrite the value of need_locks provided by the user
15844 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15845 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15848 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15850 ln conftest.a conftest.b
2>&5 || hard_links
=no
15851 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15852 echo "$as_me:$LINENO: result: $hard_links" >&5
15853 echo "${ECHO_T}$hard_links" >&6
15854 if test "$hard_links" = no
; then
15855 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15856 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15863 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15864 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15867 allow_undefined_flag_GCJ
=
15868 enable_shared_with_static_runtimes_GCJ
=no
15870 archive_expsym_cmds_GCJ
=
15871 old_archive_From_new_cmds_GCJ
=
15872 old_archive_from_expsyms_cmds_GCJ
=
15873 export_dynamic_flag_spec_GCJ
=
15874 whole_archive_flag_spec_GCJ
=
15875 thread_safe_flag_spec_GCJ
=
15876 hardcode_libdir_flag_spec_GCJ
=
15877 hardcode_libdir_flag_spec_ld_GCJ
=
15878 hardcode_libdir_separator_GCJ
=
15879 hardcode_direct_GCJ
=no
15880 hardcode_minus_L_GCJ
=no
15881 hardcode_shlibpath_var_GCJ
=unsupported
15882 link_all_deplibs_GCJ
=unknown
15883 hardcode_automatic_GCJ
=no
15885 module_expsym_cmds_GCJ
=
15886 always_export_symbols_GCJ
=no
15887 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15888 # include_expsyms should be a list of space-separated symbols to be *always*
15889 # included in the symbol list
15890 include_expsyms_GCJ
=
15891 # exclude_expsyms can be an extended regexp of symbols to exclude
15892 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15893 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15894 # as well as any symbol that contains `d'.
15895 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
15896 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15897 # platforms (ab)use it in PIC code, but their linkers get confused if
15898 # the symbol is explicitly referenced. Since portable code cannot
15899 # rely on this symbol name, it's probably fine to never include it in
15900 # preloaded symbol tables.
15901 extract_expsyms_cmds
=
15904 cygwin
* | mingw
* | pw32
*)
15905 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15906 # When not using gcc, we currently assume that we are using
15907 # Microsoft Visual C++.
15908 if test "$GCC" != yes; then
15918 if test "$with_gnu_ld" = yes; then
15919 # If archive_cmds runs LD, not CC, wlarc should be empty
15922 # See if GNU ld supports shared libraries.
15924 aix3
* | aix4
* | aix5
*)
15925 # On AIX/PPC, the GNU linker is very broken
15926 if test "$host_cpu" != ia64
; then
15930 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15931 *** to be unable to reliably create shared libraries on AIX.
15932 *** Therefore, libtool is disabling shared libraries support. If you
15933 *** really care for shared libraries, you may want to modify your PATH
15934 *** so that a non-GNU linker is found, and then restart.
15941 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)'
15942 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
15943 hardcode_minus_L_GCJ
=yes
15945 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15946 # that the semantics of dynamic libraries on AmigaOS, at least up
15947 # to version 4, is to share data among multiple programs linked
15948 # with the same dynamic library. Since this doesn't match the
15949 # behavior of shared libraries on other platforms, we can't use
15955 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15956 allow_undefined_flag_GCJ
=unsupported
15957 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15958 # support --undefined. This deserves some investigation. FIXME
15959 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15965 cygwin
* | mingw
* | pw32
*)
15966 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15967 # as there is no search path for DLLs.
15968 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
15969 allow_undefined_flag_GCJ
=unsupported
15970 always_export_symbols_GCJ
=no
15971 enable_shared_with_static_runtimes_GCJ
=yes
15972 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15974 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15975 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15976 # If the export-symbols file already is a .def file (1st line
15977 # is EXPORTS), use it as is; otherwise, prepend...
15978 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15979 cp $export_symbols $output_objdir/$soname.def;
15981 echo EXPORTS > $output_objdir/$soname.def;
15982 cat $export_symbols >> $output_objdir/$soname.def;
15984 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15991 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15992 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15995 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15996 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16001 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16005 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16006 *** create shared libraries on Solaris systems. Therefore, libtool
16007 *** is disabling shared libraries support. We urge you to upgrade GNU
16008 *** binutils to release 2.9.1 or newer. Another option is to modify
16009 *** your PATH or compiler configuration so that the native linker is
16010 *** used, and then restart.
16013 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16014 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16015 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16022 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16024 hardcode_direct_GCJ
=yes
16025 hardcode_shlibpath_var_GCJ
=no
16029 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16030 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16031 archive_cmds_GCJ
="$tmp_archive_cmds"
16032 supports_anon_versioning
=no
16033 case `$LD -v 2>/dev/null` in
16034 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16035 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16036 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16037 *\
2.11.
*) ;; # other 2.11 versions
16038 *) supports_anon_versioning
=yes ;;
16040 if test $supports_anon_versioning = yes; then
16041 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16042 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16043 $echo "local: *; };" >> $output_objdir/$libname.ver~
16044 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16046 archive_expsym_cmds_GCJ
="$tmp_archive_cmds"
16054 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16055 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16056 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16063 if test "$ld_shlibs_GCJ" = yes; then
16064 runpath_var
=LD_RUN_PATH
16065 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16066 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16067 # ancient GNU ld didn't support --whole-archive et. al.
16068 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16069 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16071 whole_archive_flag_spec_GCJ
=
16075 # PORTME fill in a description of your system's linker (not GNU ld)
16078 allow_undefined_flag_GCJ
=unsupported
16079 always_export_symbols_GCJ
=yes
16080 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'
16081 # Note: this linker hardcodes the directories in LIBPATH if there
16082 # are no directories specified by -L.
16083 hardcode_minus_L_GCJ
=yes
16084 if test "$GCC" = yes && test -z "$link_static_flag"; then
16085 # Neither direct hardcoding nor static linking is supported with a
16087 hardcode_direct_GCJ
=unsupported
16092 if test "$host_cpu" = ia64
; then
16093 # On IA64, the linker does run time linking by default, so we don't
16094 # have to do anything special.
16095 aix_use_runtimelinking
=no
16096 exp_sym_flag
='-Bexport'
16099 # If we're using GNU nm, then we don't want the "-C" option.
16100 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16101 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16102 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'
16104 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'
16106 aix_use_runtimelinking
=no
16108 # Test if we are trying to use run time linking or normal
16109 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16110 # need to do runtime linking.
16111 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16112 for ld_flag
in $LDFLAGS; do
16113 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16114 aix_use_runtimelinking
=yes
16120 exp_sym_flag
='-bexport'
16121 no_entry_flag
='-bnoentry'
16124 # When large executables or shared objects are built, AIX ld can
16125 # have problems creating the table of contents. If linking a library
16126 # or program results in "error TOC overflow" add -mminimal-toc to
16127 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16128 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16130 archive_cmds_GCJ
=''
16131 hardcode_direct_GCJ
=yes
16132 hardcode_libdir_separator_GCJ
=':'
16133 link_all_deplibs_GCJ
=yes
16135 if test "$GCC" = yes; then
16136 case $host_os in aix4.012|aix4.012.
*)
16137 # We only want to do this on AIX 4.2 and lower, the check
16138 # below for broken collect2 doesn't work under 4.3+
16139 collect2name
=`${CC} -print-prog-name=collect2`
16140 if test -f "$collect2name" && \
16141 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16143 # We have reworked collect2
16144 hardcode_direct_GCJ
=yes
16146 # We have old collect2
16147 hardcode_direct_GCJ
=unsupported
16148 # It fails to find uninstalled libraries when the uninstalled
16149 # path is not listed in the libpath. Setting hardcode_minus_L
16150 # to unsupported forces relinking
16151 hardcode_minus_L_GCJ
=yes
16152 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16153 hardcode_libdir_separator_GCJ
=
16156 shared_flag
='-shared'
16159 if test "$host_cpu" = ia64
; then
16160 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16161 # chokes on -Wl,-G. The following line is correct:
16164 if test "$aix_use_runtimelinking" = yes; then
16165 shared_flag
='${wl}-G'
16167 shared_flag
='${wl}-bM:SRE'
16172 # It seems that -bexpall does not export symbols beginning with
16173 # underscore (_), so it is better to generate a list of symbols to export.
16174 always_export_symbols_GCJ
=yes
16175 if test "$aix_use_runtimelinking" = yes; then
16176 # Warning - without using the other runtime loading flags (-brtl),
16177 # -berok will link without error, but may produce a broken library.
16178 allow_undefined_flag_GCJ
='-berok'
16179 # Determine the default libpath from the value encoded in an empty executable.
16180 cat >conftest.
$ac_ext <<_ACEOF
16183 cat confdefs.h
>>conftest.
$ac_ext
16184 cat >>conftest.
$ac_ext <<_ACEOF
16185 /* end confdefs.h. */
16195 rm -f conftest.
$ac_objext conftest
$ac_exeext
16196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16197 (eval $ac_link) 2>conftest.er1
16199 grep -v '^ *+' conftest.er1
>conftest.err
16201 cat conftest.err
>&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } &&
16204 { ac_try
='test -z "$ac_cxx_werror_flag"
16205 || test ! -s conftest.err'
16206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16207 (eval $ac_try) 2>&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); }; } &&
16211 { ac_try
='test -s conftest$ac_exeext'
16212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16213 (eval $ac_try) 2>&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); }; }; then
16218 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16220 # Check for a 64-bit object if we didn't find anything.
16221 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; }
16224 echo "$as_me: failed program was:" >&5
16225 sed 's/^/| /' conftest.
$ac_ext >&5
16228 rm -f conftest.err conftest.
$ac_objext \
16229 conftest
$ac_exeext conftest.
$ac_ext
16230 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16232 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16233 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16235 if test "$host_cpu" = ia64; then
16236 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
16237 allow_undefined_flag_GCJ="-z nodefs"
16238 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
16240 # Determine the default libpath from the value encoded in an empty executable.
16241 cat >conftest.$ac_ext <<_ACEOF
16244 cat confdefs.h >>conftest.$ac_ext
16245 cat >>conftest.$ac_ext <<_ACEOF
16246 /* end confdefs.h. */
16256 rm -f conftest.$ac_objext conftest$ac_exeext
16257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16258 (eval $ac_link) 2>conftest.er1
16260 grep -v '^ *+' conftest.er1 >conftest.err
16262 cat conftest.err >&5
16263 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16264 (exit $ac_status); } &&
16265 { ac_try='test -z "$ac_cxx_werror_flag"
16266 || test ! -s conftest.err'
16267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16268 (eval $ac_try) 2>&5
16270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16271 (exit $ac_status); }; } &&
16272 { ac_try='test -s conftest$ac_exeext'
16273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16274 (eval $ac_try) 2>&5
16276 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16277 (exit $ac_status); }; }; then
16279 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16281 # Check for a 64-bit object if we didn't find anything.
16282 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; }
16285 echo "$as_me: failed program was
:" >&5
16286 sed 's/^/| /' conftest.$ac_ext >&5
16289 rm -f conftest.err conftest.$ac_objext \
16290 conftest$ac_exeext conftest.$ac_ext
16291 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16293 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16294 # Warning - without using the other run time loading flags,
16295 # -berok will link without error, but may produce a broken library.
16296 no_undefined_flag_GCJ=' ${wl}-bernotok'
16297 allow_undefined_flag_GCJ=' ${wl}-berok'
16298 # -bexpall does not export symbols beginning with underscore (_)
16299 always_export_symbols_GCJ=yes
16300 # Exported symbols can be pulled into shared objects from archives
16301 whole_archive_flag_spec_GCJ=' '
16302 archive_cmds_need_lc_GCJ=yes
16303 # This is similar to how AIX traditionally builds it's shared libraries.
16304 archive_expsym_cmds_GCJ="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16310 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)'
16311 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16312 hardcode_minus_L_GCJ
=yes
16313 # see comment about different semantics on the GNU ld section
16318 export_dynamic_flag_spec_GCJ
=-rdynamic
16321 cygwin
* | mingw
* | pw32
*)
16322 # When not using gcc, we currently assume that we are using
16323 # Microsoft Visual C++.
16324 # hardcode_libdir_flag_spec is actually meaningless, as there is
16325 # no search path for DLLs.
16326 hardcode_libdir_flag_spec_GCJ
=' '
16327 allow_undefined_flag_GCJ
=unsupported
16328 # Tell ltmain to make .lib files, not .a files.
16330 # Tell ltmain to make .dll files, not .so files.
16332 # FIXME: Setting linknames here is a bad hack.
16333 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16334 # The linker will automatically build a .lib file if we build a DLL.
16335 old_archive_From_new_cmds_GCJ
='true'
16336 # FIXME: Should let the user specify the lib program.
16337 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16338 fix_srcfile_path
='`cygpath -w "$srcfile"`'
16339 enable_shared_with_static_runtimes_GCJ
=yes
16342 darwin
* | rhapsody
*)
16343 if test "$GXX" = yes ; then
16344 archive_cmds_need_lc_GCJ
=no
16346 rhapsody
* | darwin1.
[012])
16347 allow_undefined_flag_GCJ
='-undefined suppress'
16350 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16351 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16353 case ${MACOSX_DEPLOYMENT_TARGET} in
16355 allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16358 allow_undefined_flag_GCJ
='-undefined dynamic_lookup'
16364 lt_int_apple_cc_single_mod
=no
16365 output_verbose_link_cmd
='echo'
16366 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
16367 lt_int_apple_cc_single_mod
=yes
16369 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16370 archive_cmds_GCJ
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16372 archive_cmds_GCJ
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16374 module_cmds_GCJ
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16375 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16376 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16377 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16379 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16381 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}'
16382 hardcode_direct_GCJ
=no
16383 hardcode_automatic_GCJ
=yes
16384 hardcode_shlibpath_var_GCJ
=unsupported
16385 whole_archive_flag_spec_GCJ
='-all_load $convenience'
16386 link_all_deplibs_GCJ
=yes
16393 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16394 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16395 hardcode_shlibpath_var_GCJ
=no
16402 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16403 # support. Future versions do this automatically, but an explicit c++rt0.o
16404 # does not break anything, and helps significantly (at the cost of a little
16407 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16408 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16409 hardcode_direct_GCJ
=yes
16410 hardcode_shlibpath_var_GCJ
=no
16413 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16415 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16416 hardcode_direct_GCJ
=yes
16417 hardcode_minus_L_GCJ
=yes
16418 hardcode_shlibpath_var_GCJ
=no
16421 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16422 freebsd
* | kfreebsd
*-gnu)
16423 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16424 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16425 hardcode_direct_GCJ
=yes
16426 hardcode_shlibpath_var_GCJ
=no
16430 if test "$GCC" = yes; then
16431 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'
16433 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'
16435 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16436 hardcode_libdir_separator_GCJ
=:
16437 hardcode_direct_GCJ
=yes
16439 # hardcode_minus_L: Not really in the search PATH,
16440 # but as the default location of the library.
16441 hardcode_minus_L_GCJ
=yes
16442 export_dynamic_flag_spec_GCJ
='${wl}-E'
16446 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16447 case "$host_cpu" in
16449 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16452 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16456 case "$host_cpu" in
16458 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16461 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16465 if test "$with_gnu_ld" = no
; then
16466 case "$host_cpu" in
16468 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16469 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16470 hardcode_libdir_separator_GCJ
=:
16471 hardcode_direct_GCJ
=no
16472 hardcode_shlibpath_var_GCJ
=no
16475 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16476 hardcode_direct_GCJ
=no
16477 hardcode_shlibpath_var_GCJ
=no
16479 # hardcode_minus_L: Not really in the search PATH,
16480 # but as the default location of the library.
16481 hardcode_minus_L_GCJ
=yes
16484 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16485 hardcode_libdir_separator_GCJ
=:
16486 hardcode_direct_GCJ
=yes
16487 export_dynamic_flag_spec_GCJ
='${wl}-E'
16489 # hardcode_minus_L: Not really in the search PATH,
16490 # but as the default location of the library.
16491 hardcode_minus_L_GCJ
=yes
16497 irix5
* | irix6
* | nonstopux
*)
16498 if test "$GCC" = yes; then
16499 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'
16501 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'
16502 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16504 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16505 hardcode_libdir_separator_GCJ
=:
16506 link_all_deplibs_GCJ
=yes
16510 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16511 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16513 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16515 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16516 hardcode_direct_GCJ
=yes
16517 hardcode_shlibpath_var_GCJ
=no
16521 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16522 hardcode_direct_GCJ
=yes
16523 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16524 hardcode_libdir_separator_GCJ
=:
16525 hardcode_shlibpath_var_GCJ
=no
16529 hardcode_direct_GCJ
=yes
16530 hardcode_shlibpath_var_GCJ
=no
16531 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16532 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16533 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16534 export_dynamic_flag_spec_GCJ
='${wl}-E'
16537 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16538 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16539 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16542 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16543 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16550 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16551 hardcode_minus_L_GCJ
=yes
16552 allow_undefined_flag_GCJ
=unsupported
16553 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'
16554 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16558 if test "$GCC" = yes; then
16559 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16560 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'
16562 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16563 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'
16565 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16566 hardcode_libdir_separator_GCJ
=:
16569 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16570 if test "$GCC" = yes; then
16571 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16572 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'
16573 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16575 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16576 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'
16577 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~
16578 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
16580 # Both c and cxx compiler support -rpath directly
16581 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16583 hardcode_libdir_separator_GCJ
=:
16587 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16588 hardcode_shlibpath_var_GCJ
=no
16589 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16590 runpath_var
=LD_RUN_PATH
16591 hardcode_runpath_var
=yes
16595 no_undefined_flag_GCJ
=' -z text'
16596 if test "$GCC" = yes; then
16597 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16598 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16599 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16601 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16602 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16603 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16605 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16606 hardcode_shlibpath_var_GCJ
=no
16608 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16609 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16610 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16612 link_all_deplibs_GCJ
=yes
16616 if test "x$host_vendor" = xsequent
; then
16617 # Use $CC to link under sequent, because it throws in some extra .o
16618 # files that make .init and .fini sections work.
16619 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16621 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16623 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16624 hardcode_direct_GCJ
=yes
16625 hardcode_minus_L_GCJ
=yes
16626 hardcode_shlibpath_var_GCJ
=no
16630 case $host_vendor in
16632 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16633 hardcode_direct_GCJ
=yes # is this really true???
16636 ## LD is ld it makes a PLAMLIB
16637 ## CC just makes a GrossModule.
16638 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16639 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16640 hardcode_direct_GCJ
=no
16643 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16644 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16647 runpath_var
='LD_RUN_PATH'
16648 hardcode_shlibpath_var_GCJ
=no
16652 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16653 hardcode_shlibpath_var_GCJ
=no
16654 export_dynamic_flag_spec_GCJ
='-Bexport'
16658 if test -d /usr
/nec
; then
16659 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16660 hardcode_shlibpath_var_GCJ
=no
16661 runpath_var
=LD_RUN_PATH
16662 hardcode_runpath_var
=yes
16668 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16669 hardcode_direct_GCJ
=yes
16670 hardcode_minus_L_GCJ
=no
16671 hardcode_shlibpath_var_GCJ
=no
16672 hardcode_runpath_var
=yes
16673 runpath_var
=LD_RUN_PATH
16676 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16677 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
16678 if test "$GCC" = yes; then
16679 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16681 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16683 runpath_var
='LD_RUN_PATH'
16684 hardcode_shlibpath_var_GCJ
=no
16688 no_undefined_flag_GCJ
=' -z text'
16689 # $CC -shared without GNU ld will not create a library from C++
16690 # object files and a static libstdc++, better avoid it by now
16691 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16692 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16693 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16694 hardcode_libdir_flag_spec_GCJ
=
16695 hardcode_shlibpath_var_GCJ
=no
16696 runpath_var
='LD_RUN_PATH'
16700 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16701 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16702 hardcode_shlibpath_var_GCJ
=no
16711 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16712 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16713 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
16715 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16716 if test "$GCC" = yes; then
16717 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16721 # Do we need to explicitly link libc?
16723 case "x$archive_cmds_need_lc_GCJ" in
16725 # Assume -lc should be added
16726 archive_cmds_need_lc_GCJ
=yes
16728 if test "$enable_shared" = yes && test "$GCC" = yes; then
16729 case $archive_cmds_GCJ in
16731 # FIXME: we may have to deal with multi-command sequences.
16734 # Test whether the compiler implicitly links with -lc since on some
16735 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16736 # to ld, don't add -lc before -lgcc.
16737 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16738 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16740 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16743 (eval $ac_compile) 2>&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); } 2>conftest.err
; then
16749 libobjs
=conftest.
$ac_objext
16751 wl
=$lt_prog_compiler_wl_GCJ
16757 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
16758 allow_undefined_flag_GCJ
=
16759 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16760 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }
16765 archive_cmds_need_lc_GCJ
=no
16767 archive_cmds_need_lc_GCJ
=yes
16769 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
16771 cat conftest.err
1>&5
16774 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16775 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16782 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16783 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16784 library_names_spec
=
16785 libname_spec
='lib$name'
16789 postuninstall_cmds
=
16793 shlibpath_overrides_runpath
=unknown
16795 dynamic_linker
="$host_os ld.so"
16796 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16797 if test "$GCC" = yes; then
16798 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16799 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16800 # if the path contains ";" then we assume it to be the separator
16801 # otherwise default to the standard path separator (i.e. ":") - it is
16802 # assumed that no part of a normal pathname contains ";" but that should
16803 # okay in the real world where ";" in dirpaths is itself problematic.
16804 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16806 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16809 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16811 need_lib_prefix
=unknown
16812 hardcode_into_libs
=no
16814 # when you set need_version to no, make sure it does not cause -set_version
16815 # flags to be left without arguments
16816 need_version
=unknown
16821 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16822 shlibpath_var
=LIBPATH
16824 # AIX 3 has no versioning support, so we append a major version to the name.
16825 soname_spec
='${libname}${release}${shared_ext}$major'
16832 hardcode_into_libs
=yes
16833 if test "$host_cpu" = ia64
; then
16834 # AIX 5 supports IA64
16835 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16836 shlibpath_var
=LD_LIBRARY_PATH
16838 # With GCC up to 2.95.x, collect2 would create an import file
16839 # for dependence libraries. The import file would start with
16840 # the line `#! .'. This would cause the generated library to
16841 # depend on `.', always an invalid library. This was fixed in
16842 # development snapshots of GCC prior to 3.0.
16844 aix4 | aix4.
[01] | aix4.
[01].
*)
16845 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16847 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16850 can_build_shared
=no
16854 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16855 # soname into executable. Probably we can add versioning support to
16856 # collect2, so additional links can be useful in future.
16857 if test "$aix_use_runtimelinking" = yes; then
16858 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16859 # instead of lib<name>.a to let people know that these are not
16860 # typical AIX shared libraries.
16861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16863 # We preserve .a as extension for shared libraries through AIX4.2
16864 # and later when we are not doing run time linking.
16865 library_names_spec
='${libname}${release}.a $libname.a'
16866 soname_spec
='${libname}${release}${shared_ext}$major'
16868 shlibpath_var
=LIBPATH
16873 library_names_spec
='$libname.ixlibrary $libname.a'
16874 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16875 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'
16879 library_names_spec
='${libname}${shared_ext}'
16880 dynamic_linker
="$host_os ld.so"
16881 shlibpath_var
=LIBRARY_PATH
16887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16888 soname_spec
='${libname}${release}${shared_ext}$major'
16889 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16890 shlibpath_var
=LD_LIBRARY_PATH
16891 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16892 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16893 # the default ld.so.conf also contains /usr/contrib/lib and
16894 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16895 # libtool to hard-code these into programs
16898 cygwin
* | mingw
* | pw32
*)
16899 version_type
=windows
16904 case $GCC,$host_os in
16905 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16906 library_names_spec
='$libname.dll.a'
16907 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16908 postinstall_cmds
='base_file=`basename \${file}`~
16909 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16910 dldir=$destdir/`dirname \$dlpath`~
16911 test -d \$dldir || mkdir -p \$dldir~
16912 $install_prog $dir/$dlname \$dldir/$dlname'
16913 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16914 dlpath=$dir/\$dldll~
16916 shlibpath_overrides_runpath
=yes
16920 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16921 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16922 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16925 # MinGW DLLs use traditional 'lib' prefix
16926 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16927 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16928 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16929 # It is most probably a Windows format PATH printed by
16930 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16931 # path with ; separators, and with drive letters. We can handle the
16932 # drive letters (cygwin fileutils understands them), so leave them,
16933 # especially as we might pass files found there to a mingw objdump,
16934 # which wouldn't understand a cygwinified path. Ahh.
16935 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16937 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16941 # pw32 DLLs use 'pw' prefix rather than 'lib'
16942 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16948 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16951 dynamic_linker
='Win32 ld.exe'
16952 # FIXME: first we should search . and the directory the executable is in
16956 darwin
* | rhapsody
*)
16957 dynamic_linker
="$host_os dyld"
16958 version_type
=darwin
16961 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16962 soname_spec
='${libname}${release}${major}$shared_ext'
16963 shlibpath_overrides_runpath
=yes
16964 shlibpath_var
=DYLD_LIBRARY_PATH
16965 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
16966 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16967 if test "$GCC" = yes; then
16968 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"`
16970 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16972 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16980 soname_spec
='${libname}${release}${shared_ext}$major'
16981 shlibpath_var
=LD_LIBRARY_PATH
16992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16993 soname_spec
='${libname}${release}${shared_ext}$major'
16994 shlibpath_var
=LD_LIBRARY_PATH
16995 shlibpath_overrides_runpath
=no
16996 hardcode_into_libs
=yes
16997 dynamic_linker
='GNU ld.so'
17001 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17002 version_type
=freebsd-
$objformat
17003 case $version_type in
17005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17010 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17014 shlibpath_var
=LD_LIBRARY_PATH
17017 shlibpath_overrides_runpath
=yes
17019 freebsd3.01
* | freebsdelf3.01
*)
17020 shlibpath_overrides_runpath
=yes
17021 hardcode_into_libs
=yes
17024 shlibpath_overrides_runpath
=no
17025 hardcode_into_libs
=yes
17034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17035 soname_spec
='${libname}${release}${shared_ext}$major'
17036 shlibpath_var
=LD_LIBRARY_PATH
17037 hardcode_into_libs
=yes
17040 hpux9
* | hpux10
* | hpux11
*)
17041 # Give a soname corresponding to the major version so that dld.sl refuses to
17042 # link against other versions.
17046 case "$host_cpu" in
17049 hardcode_into_libs
=yes
17050 dynamic_linker
="$host_os dld.so"
17051 shlibpath_var
=LD_LIBRARY_PATH
17052 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17054 soname_spec
='${libname}${release}${shared_ext}$major'
17055 if test "X$HPUX_IA64_MODE" = X32
; then
17056 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17058 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17060 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17064 hardcode_into_libs
=yes
17065 dynamic_linker
="$host_os dld.sl"
17066 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17067 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17069 soname_spec
='${libname}${release}${shared_ext}$major'
17070 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17071 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17075 dynamic_linker
="$host_os dld.sl"
17076 shlibpath_var
=SHLIB_PATH
17077 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17079 soname_spec
='${libname}${release}${shared_ext}$major'
17082 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17083 postinstall_cmds
='chmod 555 $lib'
17086 irix5
* | irix6
* | nonstopux
*)
17088 nonstopux
*) version_type
=nonstopux
;;
17090 if test "$lt_cv_prog_gnu_ld" = yes; then
17098 soname_spec
='${libname}${release}${shared_ext}$major'
17099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17101 irix5
* | nonstopux
*)
17102 libsuff
= shlibsuff
=
17105 case $LD in # libtool.m4 will add one of these switches to LD
17106 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17107 libsuff
= shlibsuff
= libmagic
=32-bit;;
17108 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17109 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17110 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17111 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17112 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17116 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17117 shlibpath_overrides_runpath
=no
17118 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17119 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17120 hardcode_into_libs
=yes
17123 # No shared lib support for Linux oldld, aout, or coff.
17124 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17128 # This must be Linux ELF.
17133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17134 soname_spec
='${libname}${release}${shared_ext}$major'
17135 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17136 shlibpath_var
=LD_LIBRARY_PATH
17137 shlibpath_overrides_runpath
=no
17138 # This implies no fast_install, which is unacceptable.
17139 # Some rework will be needed to allow for fast_install
17140 # before this can be enabled.
17141 hardcode_into_libs
=yes
17143 # find out which ABI we are using
17145 case "$host_cpu" in
17146 x86_64
*|s390x
*|powerpc64
*)
17147 echo '#line 17147 "configure"' > conftest.
$ac_ext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149 (eval $ac_compile) 2>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; then
17153 case `/usr/bin/file conftest.$ac_objext` in
17156 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17164 # Append ld.so.conf contents to the search path
17165 if test -f /etc
/ld.so.conf
; then
17166 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
17167 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17170 # We used to test for /lib/ld.so.1 and disable shared libraries on
17171 # powerpc, because MkLinux only supported shared libraries with the
17172 # GNU dynamic linker. Since this was broken with cross compilers,
17173 # most powerpc-linux boxes support dynamic linking these days and
17174 # people can always --disable-shared, the test was removed, and we
17175 # assume the GNU/Linux dynamic linker is in use.
17176 dynamic_linker
='GNU/Linux ld.so'
17183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17184 soname_spec
='${libname}${release}${shared_ext}$major'
17185 shlibpath_var
=LD_LIBRARY_PATH
17186 shlibpath_overrides_runpath
=no
17187 hardcode_into_libs
=yes
17188 dynamic_linker
='GNU ld.so'
17195 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17197 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17198 dynamic_linker
='NetBSD (a.out) ld.so'
17200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17201 soname_spec
='${libname}${release}${shared_ext}$major'
17202 dynamic_linker
='NetBSD ld.elf_so'
17204 shlibpath_var
=LD_LIBRARY_PATH
17205 shlibpath_overrides_runpath
=yes
17206 hardcode_into_libs
=yes
17211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17212 shlibpath_var
=LD_LIBRARY_PATH
17213 shlibpath_overrides_runpath
=yes
17220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17221 soname_spec
='${libname}${release}${shared_ext}$major'
17222 shlibpath_var
=LD_LIBRARY_PATH
17223 shlibpath_overrides_runpath
=yes
17230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17231 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17232 shlibpath_var
=LD_LIBRARY_PATH
17233 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17235 openbsd2.
[89] | openbsd2.
[89].
*)
17236 shlibpath_overrides_runpath
=no
17239 shlibpath_overrides_runpath
=yes
17243 shlibpath_overrides_runpath
=yes
17248 libname_spec
='$name'
17251 library_names_spec
='$libname${shared_ext} $libname.a'
17252 dynamic_linker
='OS/2 ld.exe'
17253 shlibpath_var
=LIBPATH
17256 osf3
* | osf4
* | osf5
*)
17260 soname_spec
='${libname}${release}${shared_ext}$major'
17261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17262 shlibpath_var
=LD_LIBRARY_PATH
17263 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17264 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17269 soname_spec
='${libname}${release}${shared_ext}$major'
17270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17271 shlibpath_var
=LD_LIBRARY_PATH
17278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17279 soname_spec
='${libname}${release}${shared_ext}$major'
17280 shlibpath_var
=LD_LIBRARY_PATH
17281 shlibpath_overrides_runpath
=yes
17282 hardcode_into_libs
=yes
17283 # ldd complains unless libraries are executable
17284 postinstall_cmds
='chmod +x $lib'
17289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17290 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17291 shlibpath_var
=LD_LIBRARY_PATH
17292 shlibpath_overrides_runpath
=yes
17293 if test "$with_gnu_ld" = yes; then
17299 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17302 soname_spec
='${libname}${release}${shared_ext}$major'
17303 shlibpath_var
=LD_LIBRARY_PATH
17304 case $host_vendor in
17306 shlibpath_overrides_runpath
=no
17308 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17309 runpath_var
=LD_RUN_PATH
17317 shlibpath_overrides_runpath
=no
17318 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17324 if test -d /usr
/nec
;then
17326 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17327 soname_spec
='$libname${shared_ext}.$major'
17328 shlibpath_var
=LD_LIBRARY_PATH
17334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17335 soname_spec
='${libname}${release}${shared_ext}$major'
17336 shlibpath_var
=LD_LIBRARY_PATH
17343 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17344 echo "${ECHO_T}$dynamic_linker" >&6
17345 test "$dynamic_linker" = no
&& can_build_shared
=no
17347 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17348 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17349 hardcode_action_GCJ
=
17350 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17351 test -n "$runpath_var GCJ" || \
17352 test "X$hardcode_automatic_GCJ"="Xyes" ; then
17354 # We can hardcode non-existant directories.
17355 if test "$hardcode_direct_GCJ" != no
&&
17356 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17357 # have to relink, otherwise we might link with an installed library
17358 # when we should be linking with a yet-to-be-installed one
17359 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17360 test "$hardcode_minus_L_GCJ" != no
; then
17361 # Linking always hardcodes the temporary library directory.
17362 hardcode_action_GCJ
=relink
17364 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17365 hardcode_action_GCJ
=immediate
17368 # We cannot hardcode anything, or else we can only hardcode existing
17370 hardcode_action_GCJ
=unsupported
17372 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17373 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17375 if test "$hardcode_action_GCJ" = relink
; then
17376 # Fast installation is not supported
17377 enable_fast_install
=no
17378 elif test "$shlibpath_overrides_runpath" = yes ||
17379 test "$enable_shared" = no
; then
17380 # Fast installation is not necessary
17381 enable_fast_install
=needless
17386 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17387 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17388 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17389 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17390 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17391 echo "$as_me:$LINENO: result: yes" >&5
17392 echo "${ECHO_T}yes" >&6
17394 # FIXME - insert some real tests, host_os isn't really good enough
17397 if test -n "$STRIP" ; then
17398 striplib
="$STRIP -x"
17399 echo "$as_me:$LINENO: result: yes" >&5
17400 echo "${ECHO_T}yes" >&6
17402 echo "$as_me:$LINENO: result: no" >&5
17403 echo "${ECHO_T}no" >&6
17407 echo "$as_me:$LINENO: result: no" >&5
17408 echo "${ECHO_T}no" >&6
17413 if test "x$enable_dlopen" != xyes
; then
17414 enable_dlopen
=unknown
17415 enable_dlopen_self
=unknown
17416 enable_dlopen_self_static
=unknown
17423 lt_cv_dlopen
="load_add_on"
17425 lt_cv_dlopen_self
=yes
17429 lt_cv_dlopen
="LoadLibrary"
17434 lt_cv_dlopen
="dlopen"
17439 # if libdl is installed we need to link against it
17440 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17441 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17442 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17443 echo $ECHO_N "(cached) $ECHO_C" >&6
17445 ac_check_lib_save_LIBS
=$LIBS
17447 cat >conftest.
$ac_ext <<_ACEOF
17450 cat confdefs.h
>>conftest.
$ac_ext
17451 cat >>conftest.
$ac_ext <<_ACEOF
17452 /* end confdefs.h. */
17454 /* Override any gcc2 internal prototype to avoid an error. */
17458 /* We use char because int might match the return type of a gcc2
17459 builtin and then its argument prototype would still apply. */
17469 rm -f conftest.
$ac_objext conftest
$ac_exeext
17470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17471 (eval $ac_link) 2>conftest.er1
17473 grep -v '^ *+' conftest.er1
>conftest.err
17475 cat conftest.err
>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); } &&
17478 { ac_try
='test -z "$ac_cxx_werror_flag"
17479 || test ! -s conftest.err'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; } &&
17485 { ac_try
='test -s conftest$ac_exeext'
17486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 (eval $ac_try) 2>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; }; then
17491 ac_cv_lib_dl_dlopen
=yes
17493 echo "$as_me: failed program was:" >&5
17494 sed 's/^/| /' conftest.
$ac_ext >&5
17496 ac_cv_lib_dl_dlopen
=no
17498 rm -f conftest.err conftest.
$ac_objext \
17499 conftest
$ac_exeext conftest.
$ac_ext
17500 LIBS
=$ac_check_lib_save_LIBS
17502 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17503 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17504 if test $ac_cv_lib_dl_dlopen = yes; then
17505 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17508 lt_cv_dlopen
="dyld"
17510 lt_cv_dlopen_self
=yes
17517 echo "$as_me:$LINENO: checking for shl_load" >&5
17518 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17519 if test "${ac_cv_func_shl_load+set}" = set; then
17520 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 cat >conftest.
$ac_ext <<_ACEOF
17525 cat confdefs.h
>>conftest.
$ac_ext
17526 cat >>conftest.
$ac_ext <<_ACEOF
17527 /* end confdefs.h. */
17528 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17530 #define shl_load innocuous_shl_load
17532 /* System header to define __stub macros and hopefully few prototypes,
17533 which can conflict with char shl_load (); below.
17534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17535 <limits.h> exists even on freestanding compilers. */
17538 # include <limits.h>
17540 # include <assert.h>
17545 /* Override any gcc2 internal prototype to avoid an error. */
17550 /* We use char because int might match the return type of a gcc2
17551 builtin and then its argument prototype would still apply. */
17553 /* The GNU C library defines this for functions which it implements
17554 to always fail with ENOSYS. Some functions are actually named
17555 something starting with __ and the normal name is an alias. */
17556 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17559 char (*f) () = shl_load;
17568 return f != shl_load;
17573 rm -f conftest.
$ac_objext conftest
$ac_exeext
17574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17575 (eval $ac_link) 2>conftest.er1
17577 grep -v '^ *+' conftest.er1
>conftest.err
17579 cat conftest.err
>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } &&
17582 { ac_try
='test -z "$ac_cxx_werror_flag"
17583 || test ! -s conftest.err'
17584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17585 (eval $ac_try) 2>&5
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); }; } &&
17589 { ac_try
='test -s conftest$ac_exeext'
17590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17591 (eval $ac_try) 2>&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); }; }; then
17595 ac_cv_func_shl_load
=yes
17597 echo "$as_me: failed program was:" >&5
17598 sed 's/^/| /' conftest.
$ac_ext >&5
17600 ac_cv_func_shl_load
=no
17602 rm -f conftest.err conftest.
$ac_objext \
17603 conftest
$ac_exeext conftest.
$ac_ext
17605 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17606 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17607 if test $ac_cv_func_shl_load = yes; then
17608 lt_cv_dlopen
="shl_load"
17610 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17611 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17612 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17613 echo $ECHO_N "(cached) $ECHO_C" >&6
17615 ac_check_lib_save_LIBS
=$LIBS
17617 cat >conftest.
$ac_ext <<_ACEOF
17620 cat confdefs.h
>>conftest.
$ac_ext
17621 cat >>conftest.
$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17624 /* Override any gcc2 internal prototype to avoid an error. */
17628 /* We use char because int might match the return type of a gcc2
17629 builtin and then its argument prototype would still apply. */
17639 rm -f conftest.
$ac_objext conftest
$ac_exeext
17640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17641 (eval $ac_link) 2>conftest.er1
17643 grep -v '^ *+' conftest.er1
>conftest.err
17645 cat conftest.err
>&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); } &&
17648 { ac_try
='test -z "$ac_cxx_werror_flag"
17649 || test ! -s conftest.err'
17650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17651 (eval $ac_try) 2>&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); }; } &&
17655 { ac_try
='test -s conftest$ac_exeext'
17656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17657 (eval $ac_try) 2>&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; }; then
17661 ac_cv_lib_dld_shl_load
=yes
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.
$ac_ext >&5
17666 ac_cv_lib_dld_shl_load
=no
17668 rm -f conftest.err conftest.
$ac_objext \
17669 conftest
$ac_exeext conftest.
$ac_ext
17670 LIBS
=$ac_check_lib_save_LIBS
17672 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17673 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17674 if test $ac_cv_lib_dld_shl_load = yes; then
17675 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
17677 echo "$as_me:$LINENO: checking for dlopen" >&5
17678 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17679 if test "${ac_cv_func_dlopen+set}" = set; then
17680 echo $ECHO_N "(cached) $ECHO_C" >&6
17682 cat >conftest.
$ac_ext <<_ACEOF
17685 cat confdefs.h
>>conftest.
$ac_ext
17686 cat >>conftest.
$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17690 #define dlopen innocuous_dlopen
17692 /* System header to define __stub macros and hopefully few prototypes,
17693 which can conflict with char dlopen (); below.
17694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17695 <limits.h> exists even on freestanding compilers. */
17698 # include <limits.h>
17700 # include <assert.h>
17705 /* Override any gcc2 internal prototype to avoid an error. */
17710 /* We use char because int might match the return type of a gcc2
17711 builtin and then its argument prototype would still apply. */
17713 /* The GNU C library defines this for functions which it implements
17714 to always fail with ENOSYS. Some functions are actually named
17715 something starting with __ and the normal name is an alias. */
17716 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17719 char (*f) () = dlopen;
17728 return f != dlopen;
17733 rm -f conftest.
$ac_objext conftest
$ac_exeext
17734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17735 (eval $ac_link) 2>conftest.er1
17737 grep -v '^ *+' conftest.er1
>conftest.err
17739 cat conftest.err
>&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); } &&
17742 { ac_try
='test -z "$ac_cxx_werror_flag"
17743 || test ! -s conftest.err'
17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17745 (eval $ac_try) 2>&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }; } &&
17749 { ac_try
='test -s conftest$ac_exeext'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; }; then
17755 ac_cv_func_dlopen
=yes
17757 echo "$as_me: failed program was:" >&5
17758 sed 's/^/| /' conftest.
$ac_ext >&5
17760 ac_cv_func_dlopen
=no
17762 rm -f conftest.err conftest.
$ac_objext \
17763 conftest
$ac_exeext conftest.
$ac_ext
17765 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17766 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17767 if test $ac_cv_func_dlopen = yes; then
17768 lt_cv_dlopen
="dlopen"
17770 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17771 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17772 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17773 echo $ECHO_N "(cached) $ECHO_C" >&6
17775 ac_check_lib_save_LIBS
=$LIBS
17777 cat >conftest.
$ac_ext <<_ACEOF
17780 cat confdefs.h
>>conftest.
$ac_ext
17781 cat >>conftest.
$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17784 /* Override any gcc2 internal prototype to avoid an error. */
17788 /* We use char because int might match the return type of a gcc2
17789 builtin and then its argument prototype would still apply. */
17799 rm -f conftest.
$ac_objext conftest
$ac_exeext
17800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17801 (eval $ac_link) 2>conftest.er1
17803 grep -v '^ *+' conftest.er1
>conftest.err
17805 cat conftest.err
>&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); } &&
17808 { ac_try
='test -z "$ac_cxx_werror_flag"
17809 || test ! -s conftest.err'
17810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17811 (eval $ac_try) 2>&5
17813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814 (exit $ac_status); }; } &&
17815 { ac_try
='test -s conftest$ac_exeext'
17816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817 (eval $ac_try) 2>&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); }; }; then
17821 ac_cv_lib_dl_dlopen
=yes
17823 echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.
$ac_ext >&5
17826 ac_cv_lib_dl_dlopen
=no
17828 rm -f conftest.err conftest.
$ac_objext \
17829 conftest
$ac_exeext conftest.
$ac_ext
17830 LIBS
=$ac_check_lib_save_LIBS
17832 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17833 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17834 if test $ac_cv_lib_dl_dlopen = yes; then
17835 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17837 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17838 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17839 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17842 ac_check_lib_save_LIBS
=$LIBS
17843 LIBS
="-lsvld $LIBS"
17844 cat >conftest.
$ac_ext <<_ACEOF
17847 cat confdefs.h
>>conftest.
$ac_ext
17848 cat >>conftest.
$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17851 /* Override any gcc2 internal prototype to avoid an error. */
17855 /* We use char because int might match the return type of a gcc2
17856 builtin and then its argument prototype would still apply. */
17866 rm -f conftest.
$ac_objext conftest
$ac_exeext
17867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17868 (eval $ac_link) 2>conftest.er1
17870 grep -v '^ *+' conftest.er1
>conftest.err
17872 cat conftest.err
>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } &&
17875 { ac_try
='test -z "$ac_cxx_werror_flag"
17876 || test ! -s conftest.err'
17877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17878 (eval $ac_try) 2>&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); }; } &&
17882 { ac_try
='test -s conftest$ac_exeext'
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; }; then
17888 ac_cv_lib_svld_dlopen
=yes
17890 echo "$as_me: failed program was:" >&5
17891 sed 's/^/| /' conftest.
$ac_ext >&5
17893 ac_cv_lib_svld_dlopen
=no
17895 rm -f conftest.err conftest.
$ac_objext \
17896 conftest
$ac_exeext conftest.
$ac_ext
17897 LIBS
=$ac_check_lib_save_LIBS
17899 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17900 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17901 if test $ac_cv_lib_svld_dlopen = yes; then
17902 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17904 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17905 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17906 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17907 echo $ECHO_N "(cached) $ECHO_C" >&6
17909 ac_check_lib_save_LIBS
=$LIBS
17911 cat >conftest.
$ac_ext <<_ACEOF
17914 cat confdefs.h
>>conftest.
$ac_ext
17915 cat >>conftest.
$ac_ext <<_ACEOF
17916 /* end confdefs.h. */
17918 /* Override any gcc2 internal prototype to avoid an error. */
17922 /* We use char because int might match the return type of a gcc2
17923 builtin and then its argument prototype would still apply. */
17933 rm -f conftest.
$ac_objext conftest
$ac_exeext
17934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17935 (eval $ac_link) 2>conftest.er1
17937 grep -v '^ *+' conftest.er1
>conftest.err
17939 cat conftest.err
>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } &&
17942 { ac_try
='test -z "$ac_cxx_werror_flag"
17943 || test ! -s conftest.err'
17944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17945 (eval $ac_try) 2>&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); }; } &&
17949 { ac_try
='test -s conftest$ac_exeext'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17955 ac_cv_lib_dld_dld_link
=yes
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.
$ac_ext >&5
17960 ac_cv_lib_dld_dld_link
=no
17962 rm -f conftest.err conftest.
$ac_objext \
17963 conftest
$ac_exeext conftest.
$ac_ext
17964 LIBS
=$ac_check_lib_save_LIBS
17966 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17967 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17968 if test $ac_cv_lib_dld_dld_link = yes; then
17969 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
17990 if test "x$lt_cv_dlopen" != xno
; then
17996 case $lt_cv_dlopen in
17998 save_CPPFLAGS
="$CPPFLAGS"
17999 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
18001 save_LDFLAGS
="$LDFLAGS"
18002 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
18005 LIBS
="$lt_cv_dlopen_libs $LIBS"
18007 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18008 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18009 if test "${lt_cv_dlopen_self+set}" = set; then
18010 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 if test "$cross_compiling" = yes; then :
18013 lt_cv_dlopen_self
=cross
18015 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18016 lt_status
=$lt_dlunknown
18017 cat > conftest.
$ac_ext <<EOF
18018 #line 18018 "configure"
18019 #include "confdefs.h"
18028 # define LT_DLGLOBAL RTLD_GLOBAL
18031 # define LT_DLGLOBAL DL_GLOBAL
18033 # define LT_DLGLOBAL 0
18037 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18038 find out it does not work in some platform. */
18039 #ifndef LT_DLLAZY_OR_NOW
18041 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18044 # define LT_DLLAZY_OR_NOW DL_LAZY
18047 # define LT_DLLAZY_OR_NOW RTLD_NOW
18050 # define LT_DLLAZY_OR_NOW DL_NOW
18052 # define LT_DLLAZY_OR_NOW 0
18060 extern "C" void exit (int);
18063 void fnord() { int i=42;}
18066 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18067 int status = $lt_dlunknown;
18071 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18072 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18073 /* dlclose (self); */
18079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18080 (eval $ac_link) 2>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18084 (.
/conftest
; exit; ) 2>/dev
/null
18086 case x
$lt_status in
18087 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18088 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18089 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18092 # compilation failed
18093 lt_cv_dlopen_self
=no
18100 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18101 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18103 if test "x$lt_cv_dlopen_self" = xyes
; then
18104 LDFLAGS
="$LDFLAGS $link_static_flag"
18105 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18106 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18107 if test "${lt_cv_dlopen_self_static+set}" = set; then
18108 echo $ECHO_N "(cached) $ECHO_C" >&6
18110 if test "$cross_compiling" = yes; then :
18111 lt_cv_dlopen_self_static
=cross
18113 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18114 lt_status
=$lt_dlunknown
18115 cat > conftest.
$ac_ext <<EOF
18116 #line 18116 "configure"
18117 #include "confdefs.h"
18126 # define LT_DLGLOBAL RTLD_GLOBAL
18129 # define LT_DLGLOBAL DL_GLOBAL
18131 # define LT_DLGLOBAL 0
18135 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18136 find out it does not work in some platform. */
18137 #ifndef LT_DLLAZY_OR_NOW
18139 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18142 # define LT_DLLAZY_OR_NOW DL_LAZY
18145 # define LT_DLLAZY_OR_NOW RTLD_NOW
18148 # define LT_DLLAZY_OR_NOW DL_NOW
18150 # define LT_DLLAZY_OR_NOW 0
18158 extern "C" void exit (int);
18161 void fnord() { int i=42;}
18164 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18165 int status = $lt_dlunknown;
18169 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18170 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18171 /* dlclose (self); */
18177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18178 (eval $ac_link) 2>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18182 (.
/conftest
; exit; ) 2>/dev
/null
18184 case x
$lt_status in
18185 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18186 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18187 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18190 # compilation failed
18191 lt_cv_dlopen_self_static
=no
18198 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18199 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18202 CPPFLAGS
="$save_CPPFLAGS"
18203 LDFLAGS
="$save_LDFLAGS"
18208 case $lt_cv_dlopen_self in
18209 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18210 *) enable_dlopen_self
=unknown
;;
18213 case $lt_cv_dlopen_self_static in
18214 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18215 *) enable_dlopen_self_static
=unknown
;;
18220 # The else clause should only fire when bootstrapping the
18221 # libtool distribution, otherwise you forgot to ship ltmain.sh
18222 # with your package, and you will get complaints that there are
18223 # no rules to generate ltmain.sh.
18224 if test -f "$ltmain"; then
18225 # See if we are running on zsh, and set the options which allow our commands through
18226 # without removal of \ escapes.
18227 if test -n "${ZSH_VERSION+set}" ; then
18228 setopt NO_GLOB_SUBST
18230 # Now quote all the things that may contain metacharacters while being
18231 # careful not to overquote the AC_SUBSTed values. We take copies of the
18232 # variables and quote the copies for generation of the libtool script.
18233 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18235 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18236 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18237 deplibs_check_method reload_flag reload_cmds need_locks \
18238 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18239 lt_cv_sys_global_symbol_to_c_name_address \
18240 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18241 old_postinstall_cmds old_postuninstall_cmds \
18245 lt_prog_compiler_wl_GCJ \
18246 lt_prog_compiler_pic_GCJ \
18247 lt_prog_compiler_static_GCJ \
18248 lt_prog_compiler_no_builtin_flag_GCJ \
18249 export_dynamic_flag_spec_GCJ \
18250 thread_safe_flag_spec_GCJ \
18251 whole_archive_flag_spec_GCJ \
18252 enable_shared_with_static_runtimes_GCJ \
18253 old_archive_cmds_GCJ \
18254 old_archive_from_new_cmds_GCJ \
18255 predep_objects_GCJ \
18256 postdep_objects_GCJ \
18259 compiler_lib_search_path_GCJ \
18261 archive_expsym_cmds_GCJ \
18262 postinstall_cmds_GCJ \
18263 postuninstall_cmds_GCJ \
18264 old_archive_from_expsyms_cmds_GCJ \
18265 allow_undefined_flag_GCJ \
18266 no_undefined_flag_GCJ \
18267 export_symbols_cmds_GCJ \
18268 hardcode_libdir_flag_spec_GCJ \
18269 hardcode_libdir_flag_spec_ld_GCJ \
18270 hardcode_libdir_separator_GCJ \
18271 hardcode_automatic_GCJ \
18273 module_expsym_cmds_GCJ \
18274 lt_cv_prog_compiler_c_o_GCJ \
18275 exclude_expsyms_GCJ \
18276 include_expsyms_GCJ
; do
18279 old_archive_cmds_GCJ | \
18280 old_archive_from_new_cmds_GCJ | \
18281 archive_cmds_GCJ | \
18282 archive_expsym_cmds_GCJ | \
18283 module_cmds_GCJ | \
18284 module_expsym_cmds_GCJ | \
18285 old_archive_from_expsyms_cmds_GCJ | \
18286 export_symbols_cmds_GCJ | \
18287 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18288 postinstall_cmds | postuninstall_cmds | \
18289 old_postinstall_cmds | old_postuninstall_cmds | \
18290 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18291 # Double-quote double-evaled strings.
18292 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18295 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18301 *'\$0 --fallback-echo"')
18302 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18308 cat <<__EOF__ >> "$cfgfile"
18309 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18311 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18313 # Shell to use when invoking shell scripts.
18316 # Whether or not to build shared libraries.
18317 build_libtool_libs=$enable_shared
18319 # Whether or not to build static libraries.
18320 build_old_libs=$enable_static
18322 # Whether or not to add -lc for building shared libraries.
18323 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18325 # Whether or not to disallow shared libs when runtime libs are static
18326 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18328 # Whether or not to optimize for fast installation.
18329 fast_install=$enable_fast_install
18332 host_alias=$host_alias
18335 # An echo program that does not interpret backslashes.
18340 AR_FLAGS=$lt_AR_FLAGS
18345 # A language-specific compiler.
18346 CC=$lt_compiler_GCJ
18348 # Is the compiler the GNU C compiler?
18354 # The linker used to build libraries.
18357 # Whether we need hard or soft links.
18360 # A BSD-compatible nm program.
18363 # A symbol stripping program
18366 # Used to examine libraries when file_magic_cmd begins "file"
18367 MAGIC_CMD=$MAGIC_CMD
18369 # Used on cygwin: DLL creation program.
18372 # Used on cygwin: object dumper.
18375 # Used on cygwin: assembler.
18378 # The name of the directory that contains temporary libtool files.
18381 # How to create reloadable object files.
18382 reload_flag=$lt_reload_flag
18383 reload_cmds=$lt_reload_cmds
18385 # How to pass a linker flag through the compiler.
18386 wl=$lt_lt_prog_compiler_wl_GCJ
18388 # Object file suffix (normally "o").
18389 objext="$ac_objext"
18391 # Old archive suffix (normally "a").
18394 # Shared library suffix (normally ".so").
18395 shrext_cmds='$shrext_cmds'
18397 # Executable file suffix (normally "").
18400 # Additional compiler flags for building library objects.
18401 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18404 # What is the maximum length of a command?
18405 max_cmd_len=$lt_cv_sys_max_cmd_len
18407 # Does compiler simultaneously support -c and -o options?
18408 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18410 # Must we lock files when doing compilation ?
18411 need_locks=$lt_need_locks
18413 # Do we need the lib prefix for modules?
18414 need_lib_prefix=$need_lib_prefix
18416 # Do we need a version for libraries?
18417 need_version=$need_version
18419 # Whether dlopen is supported.
18420 dlopen_support=$enable_dlopen
18422 # Whether dlopen of programs is supported.
18423 dlopen_self=$enable_dlopen_self
18425 # Whether dlopen of statically linked programs is supported.
18426 dlopen_self_static=$enable_dlopen_self_static
18428 # Compiler flag to prevent dynamic linking.
18429 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18431 # Compiler flag to turn off builtin functions.
18432 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18434 # Compiler flag to allow reflexive dlopens.
18435 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18437 # Compiler flag to generate shared objects directly from archives.
18438 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18440 # Compiler flag to generate thread-safe objects.
18441 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18443 # Library versioning type.
18444 version_type=$version_type
18446 # Format of library name prefix.
18447 libname_spec=$lt_libname_spec
18449 # List of archive names. First name is the real one, the rest are links.
18450 # The last name is the one that the linker finds with -lNAME.
18451 library_names_spec=$lt_library_names_spec
18453 # The coded name of the library, if different from the real name.
18454 soname_spec=$lt_soname_spec
18456 # Commands used to build and install an old-style archive.
18458 old_archive_cmds=$lt_old_archive_cmds_GCJ
18459 old_postinstall_cmds=$lt_old_postinstall_cmds
18460 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18462 # Create an old-style archive from a shared archive.
18463 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18465 # Create a temporary old-style archive to link instead of a shared archive.
18466 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18468 # Commands used to build and install a shared archive.
18469 archive_cmds=$lt_archive_cmds_GCJ
18470 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18471 postinstall_cmds=$lt_postinstall_cmds
18472 postuninstall_cmds=$lt_postuninstall_cmds
18474 # Commands used to build a loadable module (assumed same as above if empty)
18475 module_cmds=$lt_module_cmds_GCJ
18476 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18478 # Commands to strip libraries.
18479 old_striplib=$lt_old_striplib
18480 striplib=$lt_striplib
18482 # Dependencies to place before the objects being linked to create a
18484 predep_objects=$lt_predep_objects_GCJ
18486 # Dependencies to place after the objects being linked to create a
18488 postdep_objects=$lt_postdep_objects_GCJ
18490 # Dependencies to place before the objects being linked to create a
18492 predeps=$lt_predeps_GCJ
18494 # Dependencies to place after the objects being linked to create a
18496 postdeps=$lt_postdeps_GCJ
18498 # The library search path used internally by the compiler when linking
18499 # a shared library.
18500 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18502 # Method to check whether dependent libraries are shared objects.
18503 deplibs_check_method=$lt_deplibs_check_method
18505 # Command to use when deplibs_check_method == file_magic.
18506 file_magic_cmd=$lt_file_magic_cmd
18508 # Flag that allows shared libraries with undefined symbols to be built.
18509 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18511 # Flag that forces no undefined symbols.
18512 no_undefined_flag=$lt_no_undefined_flag_GCJ
18514 # Commands used to finish a libtool library installation in a directory.
18515 finish_cmds=$lt_finish_cmds
18517 # Same as above, but a single script fragment to be evaled but not shown.
18518 finish_eval=$lt_finish_eval
18520 # Take the output of nm and produce a listing of raw symbols and C names.
18521 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18523 # Transform the output of nm in a proper C declaration
18524 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18526 # Transform the output of nm in a C name address pair
18527 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18529 # This is the shared library runtime path variable.
18530 runpath_var=$runpath_var
18532 # This is the shared library path variable.
18533 shlibpath_var=$shlibpath_var
18535 # Is shlibpath searched before the hard-coded library search path?
18536 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18538 # How to hardcode a shared library path into an executable.
18539 hardcode_action=$hardcode_action_GCJ
18541 # Whether we should hardcode library paths into libraries.
18542 hardcode_into_libs=$hardcode_into_libs
18544 # Flag to hardcode \$libdir into a binary during linking.
18545 # This must work even if \$libdir does not exist.
18546 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18548 # If ld is used when linking, flag to hardcode \$libdir into
18549 # a binary during linking. This must work even if \$libdir does
18551 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18553 # Whether we need a single -rpath flag with a separated argument.
18554 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18556 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18557 # resulting binary.
18558 hardcode_direct=$hardcode_direct_GCJ
18560 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18561 # resulting binary.
18562 hardcode_minus_L=$hardcode_minus_L_GCJ
18564 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18565 # the resulting binary.
18566 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18568 # Set to yes if building a shared library automatically hardcodes DIR into the library
18569 # and all subsequent libraries and executables linked against it.
18570 hardcode_automatic=$hardcode_automatic_GCJ
18572 # Variables whose values should be saved in libtool wrapper scripts and
18573 # restored at relink time.
18574 variables_saved_for_relink="$variables_saved_for_relink"
18576 # Whether libtool must link a program against all its dependency libraries.
18577 link_all_deplibs=$link_all_deplibs_GCJ
18579 # Compile-time system search path for libraries
18580 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18582 # Run-time system search path for libraries
18583 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18585 # Fix the shell variable \$srcfile for the compiler.
18586 fix_srcfile_path="$fix_srcfile_path_GCJ"
18588 # Set to yes if exported symbols are required.
18589 always_export_symbols=$always_export_symbols_GCJ
18591 # The commands to list exported symbols.
18592 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18594 # The commands to extract the exported symbol list from a shared archive.
18595 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18597 # Symbols that should not be listed in the preloaded symbols.
18598 exclude_expsyms=$lt_exclude_expsyms_GCJ
18600 # Symbols that must always be exported.
18601 include_expsyms=$lt_include_expsyms_GCJ
18603 # ### END LIBTOOL TAG CONFIG: $tagname
18609 # If there is no Makefile yet, we rely on a make rule to execute
18610 # `config.status --recheck' to rerun these tests and create the
18611 # libtool script then.
18612 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18613 if test -f "$ltmain_in"; then
18614 test -f Makefile
&& make "$ltmain"
18620 ac_cpp
='$CXXCPP $CPPFLAGS'
18621 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18622 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18623 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18636 # Source file extension for RC test sources.
18639 # Object file extension for compiled RC test sources.
18643 # Code to be used in simple compile tests
18644 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18646 # Code to be used in simple link tests
18647 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18649 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18651 # If no C compiler was specified, use CC.
18654 # Allow CC to be a program name with arguments.
18658 # Allow CC to be a program name with arguments.
18663 lt_cv_prog_compiler_c_o_RC
=yes
18665 # The else clause should only fire when bootstrapping the
18666 # libtool distribution, otherwise you forgot to ship ltmain.sh
18667 # with your package, and you will get complaints that there are
18668 # no rules to generate ltmain.sh.
18669 if test -f "$ltmain"; then
18670 # See if we are running on zsh, and set the options which allow our commands through
18671 # without removal of \ escapes.
18672 if test -n "${ZSH_VERSION+set}" ; then
18673 setopt NO_GLOB_SUBST
18675 # Now quote all the things that may contain metacharacters while being
18676 # careful not to overquote the AC_SUBSTed values. We take copies of the
18677 # variables and quote the copies for generation of the libtool script.
18678 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18680 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18681 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18682 deplibs_check_method reload_flag reload_cmds need_locks \
18683 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18684 lt_cv_sys_global_symbol_to_c_name_address \
18685 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18686 old_postinstall_cmds old_postuninstall_cmds \
18690 lt_prog_compiler_wl_RC \
18691 lt_prog_compiler_pic_RC \
18692 lt_prog_compiler_static_RC \
18693 lt_prog_compiler_no_builtin_flag_RC \
18694 export_dynamic_flag_spec_RC \
18695 thread_safe_flag_spec_RC \
18696 whole_archive_flag_spec_RC \
18697 enable_shared_with_static_runtimes_RC \
18698 old_archive_cmds_RC \
18699 old_archive_from_new_cmds_RC \
18700 predep_objects_RC \
18701 postdep_objects_RC \
18704 compiler_lib_search_path_RC \
18706 archive_expsym_cmds_RC \
18707 postinstall_cmds_RC \
18708 postuninstall_cmds_RC \
18709 old_archive_from_expsyms_cmds_RC \
18710 allow_undefined_flag_RC \
18711 no_undefined_flag_RC \
18712 export_symbols_cmds_RC \
18713 hardcode_libdir_flag_spec_RC \
18714 hardcode_libdir_flag_spec_ld_RC \
18715 hardcode_libdir_separator_RC \
18716 hardcode_automatic_RC \
18718 module_expsym_cmds_RC \
18719 lt_cv_prog_compiler_c_o_RC \
18720 exclude_expsyms_RC \
18721 include_expsyms_RC
; do
18724 old_archive_cmds_RC | \
18725 old_archive_from_new_cmds_RC | \
18726 archive_cmds_RC | \
18727 archive_expsym_cmds_RC | \
18729 module_expsym_cmds_RC | \
18730 old_archive_from_expsyms_cmds_RC | \
18731 export_symbols_cmds_RC | \
18732 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18733 postinstall_cmds | postuninstall_cmds | \
18734 old_postinstall_cmds | old_postuninstall_cmds | \
18735 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18736 # Double-quote double-evaled strings.
18737 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18740 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18746 *'\$0 --fallback-echo"')
18747 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18753 cat <<__EOF__ >> "$cfgfile"
18754 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18756 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18758 # Shell to use when invoking shell scripts.
18761 # Whether or not to build shared libraries.
18762 build_libtool_libs=$enable_shared
18764 # Whether or not to build static libraries.
18765 build_old_libs=$enable_static
18767 # Whether or not to add -lc for building shared libraries.
18768 build_libtool_need_lc=$archive_cmds_need_lc_RC
18770 # Whether or not to disallow shared libs when runtime libs are static
18771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18773 # Whether or not to optimize for fast installation.
18774 fast_install=$enable_fast_install
18777 host_alias=$host_alias
18780 # An echo program that does not interpret backslashes.
18785 AR_FLAGS=$lt_AR_FLAGS
18790 # A language-specific compiler.
18793 # Is the compiler the GNU C compiler?
18799 # The linker used to build libraries.
18802 # Whether we need hard or soft links.
18805 # A BSD-compatible nm program.
18808 # A symbol stripping program
18811 # Used to examine libraries when file_magic_cmd begins "file"
18812 MAGIC_CMD=$MAGIC_CMD
18814 # Used on cygwin: DLL creation program.
18817 # Used on cygwin: object dumper.
18820 # Used on cygwin: assembler.
18823 # The name of the directory that contains temporary libtool files.
18826 # How to create reloadable object files.
18827 reload_flag=$lt_reload_flag
18828 reload_cmds=$lt_reload_cmds
18830 # How to pass a linker flag through the compiler.
18831 wl=$lt_lt_prog_compiler_wl_RC
18833 # Object file suffix (normally "o").
18834 objext="$ac_objext"
18836 # Old archive suffix (normally "a").
18839 # Shared library suffix (normally ".so").
18840 shrext_cmds='$shrext_cmds'
18842 # Executable file suffix (normally "").
18845 # Additional compiler flags for building library objects.
18846 pic_flag=$lt_lt_prog_compiler_pic_RC
18849 # What is the maximum length of a command?
18850 max_cmd_len=$lt_cv_sys_max_cmd_len
18852 # Does compiler simultaneously support -c and -o options?
18853 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18855 # Must we lock files when doing compilation ?
18856 need_locks=$lt_need_locks
18858 # Do we need the lib prefix for modules?
18859 need_lib_prefix=$need_lib_prefix
18861 # Do we need a version for libraries?
18862 need_version=$need_version
18864 # Whether dlopen is supported.
18865 dlopen_support=$enable_dlopen
18867 # Whether dlopen of programs is supported.
18868 dlopen_self=$enable_dlopen_self
18870 # Whether dlopen of statically linked programs is supported.
18871 dlopen_self_static=$enable_dlopen_self_static
18873 # Compiler flag to prevent dynamic linking.
18874 link_static_flag=$lt_lt_prog_compiler_static_RC
18876 # Compiler flag to turn off builtin functions.
18877 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18879 # Compiler flag to allow reflexive dlopens.
18880 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18882 # Compiler flag to generate shared objects directly from archives.
18883 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18885 # Compiler flag to generate thread-safe objects.
18886 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18888 # Library versioning type.
18889 version_type=$version_type
18891 # Format of library name prefix.
18892 libname_spec=$lt_libname_spec
18894 # List of archive names. First name is the real one, the rest are links.
18895 # The last name is the one that the linker finds with -lNAME.
18896 library_names_spec=$lt_library_names_spec
18898 # The coded name of the library, if different from the real name.
18899 soname_spec=$lt_soname_spec
18901 # Commands used to build and install an old-style archive.
18903 old_archive_cmds=$lt_old_archive_cmds_RC
18904 old_postinstall_cmds=$lt_old_postinstall_cmds
18905 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18907 # Create an old-style archive from a shared archive.
18908 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18910 # Create a temporary old-style archive to link instead of a shared archive.
18911 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18913 # Commands used to build and install a shared archive.
18914 archive_cmds=$lt_archive_cmds_RC
18915 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18916 postinstall_cmds=$lt_postinstall_cmds
18917 postuninstall_cmds=$lt_postuninstall_cmds
18919 # Commands used to build a loadable module (assumed same as above if empty)
18920 module_cmds=$lt_module_cmds_RC
18921 module_expsym_cmds=$lt_module_expsym_cmds_RC
18923 # Commands to strip libraries.
18924 old_striplib=$lt_old_striplib
18925 striplib=$lt_striplib
18927 # Dependencies to place before the objects being linked to create a
18929 predep_objects=$lt_predep_objects_RC
18931 # Dependencies to place after the objects being linked to create a
18933 postdep_objects=$lt_postdep_objects_RC
18935 # Dependencies to place before the objects being linked to create a
18937 predeps=$lt_predeps_RC
18939 # Dependencies to place after the objects being linked to create a
18941 postdeps=$lt_postdeps_RC
18943 # The library search path used internally by the compiler when linking
18944 # a shared library.
18945 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18947 # Method to check whether dependent libraries are shared objects.
18948 deplibs_check_method=$lt_deplibs_check_method
18950 # Command to use when deplibs_check_method == file_magic.
18951 file_magic_cmd=$lt_file_magic_cmd
18953 # Flag that allows shared libraries with undefined symbols to be built.
18954 allow_undefined_flag=$lt_allow_undefined_flag_RC
18956 # Flag that forces no undefined symbols.
18957 no_undefined_flag=$lt_no_undefined_flag_RC
18959 # Commands used to finish a libtool library installation in a directory.
18960 finish_cmds=$lt_finish_cmds
18962 # Same as above, but a single script fragment to be evaled but not shown.
18963 finish_eval=$lt_finish_eval
18965 # Take the output of nm and produce a listing of raw symbols and C names.
18966 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18968 # Transform the output of nm in a proper C declaration
18969 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18971 # Transform the output of nm in a C name address pair
18972 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18974 # This is the shared library runtime path variable.
18975 runpath_var=$runpath_var
18977 # This is the shared library path variable.
18978 shlibpath_var=$shlibpath_var
18980 # Is shlibpath searched before the hard-coded library search path?
18981 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18983 # How to hardcode a shared library path into an executable.
18984 hardcode_action=$hardcode_action_RC
18986 # Whether we should hardcode library paths into libraries.
18987 hardcode_into_libs=$hardcode_into_libs
18989 # Flag to hardcode \$libdir into a binary during linking.
18990 # This must work even if \$libdir does not exist.
18991 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18993 # If ld is used when linking, flag to hardcode \$libdir into
18994 # a binary during linking. This must work even if \$libdir does
18996 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18998 # Whether we need a single -rpath flag with a separated argument.
18999 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19001 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19002 # resulting binary.
19003 hardcode_direct=$hardcode_direct_RC
19005 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19006 # resulting binary.
19007 hardcode_minus_L=$hardcode_minus_L_RC
19009 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19010 # the resulting binary.
19011 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19013 # Set to yes if building a shared library automatically hardcodes DIR into the library
19014 # and all subsequent libraries and executables linked against it.
19015 hardcode_automatic=$hardcode_automatic_RC
19017 # Variables whose values should be saved in libtool wrapper scripts and
19018 # restored at relink time.
19019 variables_saved_for_relink="$variables_saved_for_relink"
19021 # Whether libtool must link a program against all its dependency libraries.
19022 link_all_deplibs=$link_all_deplibs_RC
19024 # Compile-time system search path for libraries
19025 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19027 # Run-time system search path for libraries
19028 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19030 # Fix the shell variable \$srcfile for the compiler.
19031 fix_srcfile_path="$fix_srcfile_path_RC"
19033 # Set to yes if exported symbols are required.
19034 always_export_symbols=$always_export_symbols_RC
19036 # The commands to list exported symbols.
19037 export_symbols_cmds=$lt_export_symbols_cmds_RC
19039 # The commands to extract the exported symbol list from a shared archive.
19040 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19042 # Symbols that should not be listed in the preloaded symbols.
19043 exclude_expsyms=$lt_exclude_expsyms_RC
19045 # Symbols that must always be exported.
19046 include_expsyms=$lt_include_expsyms_RC
19048 # ### END LIBTOOL TAG CONFIG: $tagname
19054 # If there is no Makefile yet, we rely on a make rule to execute
19055 # `config.status --recheck' to rerun these tests and create the
19056 # libtool script then.
19057 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19058 if test -f "$ltmain_in"; then
19059 test -f Makefile
&& make "$ltmain"
19065 ac_cpp
='$CXXCPP $CPPFLAGS'
19066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19075 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19076 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19077 { (exit 1); exit 1; }; }
19081 # Append the new tag name to the list of available tags.
19082 if test -n "$tagname" ; then
19083 available_tags
="$available_tags $tagname"
19089 # Now substitute the updated list of available tags.
19090 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19091 mv "${ofile}T" "$ofile"
19095 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19096 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19097 { (exit 1); exit 1; }; }
19103 # This can be used to rebuild libtool when needed
19104 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19106 # Always use our own libtool.
19107 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19109 # Prevent multiple expansion
19130 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19131 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19132 if test "${ac_cv_c_bigendian+set}" = set; then
19133 echo $ECHO_N "(cached) $ECHO_C" >&6
19135 # See if sys/param.h defines the BYTE_ORDER macro.
19136 cat >conftest.
$ac_ext <<_ACEOF
19139 cat confdefs.h
>>conftest.
$ac_ext
19140 cat >>conftest.
$ac_ext <<_ACEOF
19141 /* end confdefs.h. */
19142 #include <sys/types.h>
19143 #include <sys/param.h>
19148 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19149 bogus endian macros
19156 rm -f conftest.
$ac_objext
19157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19158 (eval $ac_compile) 2>conftest.er1
19160 grep -v '^ *+' conftest.er1
>conftest.err
19162 cat conftest.err
>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } &&
19165 { ac_try
='test -z "$ac_cxx_werror_flag"
19166 || test ! -s conftest.err'
19167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19168 (eval $ac_try) 2>&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); }; } &&
19172 { ac_try
='test -s conftest.$ac_objext'
19173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19174 (eval $ac_try) 2>&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); }; }; then
19178 # It does; now see whether it defined to BIG_ENDIAN or not.
19179 cat >conftest.
$ac_ext <<_ACEOF
19182 cat confdefs.h
>>conftest.
$ac_ext
19183 cat >>conftest.
$ac_ext <<_ACEOF
19184 /* end confdefs.h. */
19185 #include <sys/types.h>
19186 #include <sys/param.h>
19191 #if BYTE_ORDER != BIG_ENDIAN
19199 rm -f conftest.
$ac_objext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19201 (eval $ac_compile) 2>conftest.er1
19203 grep -v '^ *+' conftest.er1
>conftest.err
19205 cat conftest.err
>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try
='test -z "$ac_cxx_werror_flag"
19209 || test ! -s conftest.err'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try
='test -s conftest.$ac_objext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_cv_c_bigendian
=yes
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.
$ac_ext >&5
19226 ac_cv_c_bigendian
=no
19228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.
$ac_ext >&5
19233 # It does not; compile a test program.
19234 if test "$cross_compiling" = yes; then
19235 # try to guess the endianness by grepping values into an object file
19236 ac_cv_c_bigendian
=unknown
19237 cat >conftest.
$ac_ext <<_ACEOF
19240 cat confdefs.h
>>conftest.
$ac_ext
19241 cat >>conftest.
$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19244 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19245 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
19246 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19247 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19248 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
19252 _ascii (); _ebcdic ();
19257 rm -f conftest.
$ac_objext
19258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19259 (eval $ac_compile) 2>conftest.er1
19261 grep -v '^ *+' conftest.er1
>conftest.err
19263 cat conftest.err
>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try
='test -z "$ac_cxx_werror_flag"
19267 || test ! -s conftest.err'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269 (eval $ac_try) 2>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; } &&
19273 { ac_try
='test -s conftest.$ac_objext'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; }; then
19279 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
19280 ac_cv_c_bigendian
=yes
19282 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
19283 if test "$ac_cv_c_bigendian" = unknown
; then
19284 ac_cv_c_bigendian
=no
19286 # finding both strings is unlikely to happen, but who knows?
19287 ac_cv_c_bigendian
=unknown
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.
$ac_ext >&5
19295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19297 cat >conftest.
$ac_ext <<_ACEOF
19300 cat confdefs.h
>>conftest.
$ac_ext
19301 cat >>conftest.
$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19306 /* Are we little or big endian? From Harbison&Steele. */
19310 char c[sizeof (long)];
19313 exit (u.c[sizeof (long) - 1] == 1);
19316 rm -f conftest
$ac_exeext
19317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19318 (eval $ac_link) 2>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; }; then
19327 ac_cv_c_bigendian
=no
19329 echo "$as_me: program exited with status $ac_status" >&5
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.
$ac_ext >&5
19333 ( exit $ac_status )
19334 ac_cv_c_bigendian
=yes
19336 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19341 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19342 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19343 case $ac_cv_c_bigendian in
19346 cat >>confdefs.h
<<\_ACEOF
19347 #define WORDS_BIGENDIAN 1
19353 { { echo "$as_me:$LINENO: error: unknown endianness
19354 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
19355 echo "$as_me: error: unknown endianness
19356 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
19357 { (exit 1); exit 1; }; } ;;
19361 for ac_prog
in 'bison -y' byacc
19363 # Extract the first word of "$ac_prog", so it can be a program name with args.
19364 set dummy
$ac_prog; ac_word
=$2
19365 echo "$as_me:$LINENO: checking for $ac_word" >&5
19366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19367 if test "${ac_cv_prog_YACC+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19370 if test -n "$YACC"; then
19371 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
19373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19374 for as_dir
in $PATH
19377 test -z "$as_dir" && as_dir
=.
19378 for ac_exec_ext
in '' $ac_executable_extensions; do
19379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19380 ac_cv_prog_YACC
="$ac_prog"
19381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19389 YACC
=$ac_cv_prog_YACC
19390 if test -n "$YACC"; then
19391 echo "$as_me:$LINENO: result: $YACC" >&5
19392 echo "${ECHO_T}$YACC" >&6
19394 echo "$as_me:$LINENO: result: no" >&5
19395 echo "${ECHO_T}no" >&6
19398 test -n "$YACC" && break
19400 test -n "$YACC" || YACC
="yacc"
19402 for ac_prog
in flex
lex
19404 # Extract the first word of "$ac_prog", so it can be a program name with args.
19405 set dummy
$ac_prog; ac_word
=$2
19406 echo "$as_me:$LINENO: checking for $ac_word" >&5
19407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19408 if test "${ac_cv_prog_LEX+set}" = set; then
19409 echo $ECHO_N "(cached) $ECHO_C" >&6
19411 if test -n "$LEX"; then
19412 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
19414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19415 for as_dir
in $PATH
19418 test -z "$as_dir" && as_dir
=.
19419 for ac_exec_ext
in '' $ac_executable_extensions; do
19420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19421 ac_cv_prog_LEX
="$ac_prog"
19422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19430 LEX
=$ac_cv_prog_LEX
19431 if test -n "$LEX"; then
19432 echo "$as_me:$LINENO: result: $LEX" >&5
19433 echo "${ECHO_T}$LEX" >&6
19435 echo "$as_me:$LINENO: result: no" >&5
19436 echo "${ECHO_T}no" >&6
19439 test -n "$LEX" && break
19441 test -n "$LEX" || LEX
=":"
19443 if test -z "$LEXLIB"
19445 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
19446 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
19447 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19450 ac_check_lib_save_LIBS
=$LIBS
19452 cat >conftest.
$ac_ext <<_ACEOF
19455 cat confdefs.h
>>conftest.
$ac_ext
19456 cat >>conftest.
$ac_ext <<_ACEOF
19457 /* end confdefs.h. */
19459 /* Override any gcc2 internal prototype to avoid an error. */
19463 /* We use char because int might match the return type of a gcc2
19464 builtin and then its argument prototype would still apply. */
19474 rm -f conftest.
$ac_objext conftest
$ac_exeext
19475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19476 (eval $ac_link) 2>conftest.er1
19478 grep -v '^ *+' conftest.er1
>conftest.err
19480 cat conftest.err
>&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } &&
19483 { ac_try
='test -z "$ac_cxx_werror_flag"
19484 || test ! -s conftest.err'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; } &&
19490 { ac_try
='test -s conftest$ac_exeext'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; }; then
19496 ac_cv_lib_fl_yywrap
=yes
19498 echo "$as_me: failed program was:" >&5
19499 sed 's/^/| /' conftest.
$ac_ext >&5
19501 ac_cv_lib_fl_yywrap
=no
19503 rm -f conftest.err conftest.
$ac_objext \
19504 conftest
$ac_exeext conftest.
$ac_ext
19505 LIBS
=$ac_check_lib_save_LIBS
19507 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
19508 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
19509 if test $ac_cv_lib_fl_yywrap = yes; then
19512 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
19513 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
19514 if test "${ac_cv_lib_l_yywrap+set}" = set; then
19515 echo $ECHO_N "(cached) $ECHO_C" >&6
19517 ac_check_lib_save_LIBS
=$LIBS
19519 cat >conftest.
$ac_ext <<_ACEOF
19522 cat confdefs.h
>>conftest.
$ac_ext
19523 cat >>conftest.
$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19526 /* Override any gcc2 internal prototype to avoid an error. */
19530 /* We use char because int might match the return type of a gcc2
19531 builtin and then its argument prototype would still apply. */
19541 rm -f conftest.
$ac_objext conftest
$ac_exeext
19542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19543 (eval $ac_link) 2>conftest.er1
19545 grep -v '^ *+' conftest.er1
>conftest.err
19547 cat conftest.err
>&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } &&
19550 { ac_try
='test -z "$ac_cxx_werror_flag"
19551 || test ! -s conftest.err'
19552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19553 (eval $ac_try) 2>&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); }; } &&
19557 { ac_try
='test -s conftest$ac_exeext'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; }; then
19563 ac_cv_lib_l_yywrap
=yes
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.
$ac_ext >&5
19568 ac_cv_lib_l_yywrap
=no
19570 rm -f conftest.err conftest.
$ac_objext \
19571 conftest
$ac_exeext conftest.
$ac_ext
19572 LIBS
=$ac_check_lib_save_LIBS
19574 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
19575 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
19576 if test $ac_cv_lib_l_yywrap = yes; then
19584 if test "x$LEX" != "x:"; then
19585 echo "$as_me:$LINENO: checking lex output file root" >&5
19586 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
19587 if test "${ac_cv_prog_lex_root+set}" = set; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19590 # The minimal lex program is just a single line: %%. But some broken lexes
19591 # (Solaris, I think it was) want two %% lines, so accommodate them.
19592 cat >conftest.l
<<_ACEOF
19596 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
19597 (eval $LEX conftest.l
) 2>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); }
19601 if test -f lex.yy.c
; then
19602 ac_cv_prog_lex_root
=lex.yy
19603 elif test -f lexyy.c
; then
19604 ac_cv_prog_lex_root
=lexyy
19606 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
19607 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
19608 { (exit 1); exit 1; }; }
19611 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
19612 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
19614 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
19616 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
19617 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
19618 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
19619 echo $ECHO_N "(cached) $ECHO_C" >&6
19621 # POSIX says lex can declare yytext either as a pointer or an array; the
19622 # default is implementation-dependent. Figure out which it is, since
19623 # not all implementations provide the %pointer and %array declarations.
19624 ac_cv_prog_lex_yytext_pointer
=no
19625 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
19627 LIBS
="$LIBS $LEXLIB"
19628 cat >conftest.
$ac_ext <<_ACEOF
19629 `cat $LEX_OUTPUT_ROOT.c`
19631 rm -f conftest.
$ac_objext conftest
$ac_exeext
19632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19633 (eval $ac_link) 2>conftest.er1
19635 grep -v '^ *+' conftest.er1
>conftest.err
19637 cat conftest.err
>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } &&
19640 { ac_try
='test -z "$ac_cxx_werror_flag"
19641 || test ! -s conftest.err'
19642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19643 (eval $ac_try) 2>&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }; } &&
19647 { ac_try
='test -s conftest$ac_exeext'
19648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649 (eval $ac_try) 2>&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); }; }; then
19653 ac_cv_prog_lex_yytext_pointer
=yes
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.
$ac_ext >&5
19659 rm -f conftest.err conftest.
$ac_objext \
19660 conftest
$ac_exeext conftest.
$ac_ext
19662 rm -f "${LEX_OUTPUT_ROOT}.c"
19665 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
19666 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
19667 if test $ac_cv_prog_lex_yytext_pointer = yes; then
19669 cat >>confdefs.h
<<\_ACEOF
19670 #define YYTEXT_POINTER 1
19676 if test "$LEX" = :; then
19677 LEX
=${am_missing_run}flex
19680 case "${host_os}" in
19685 case "${host_cpu}" in
19690 echo "#ifndef BUILD_H" >build.h
19691 echo "#define BUILD_H" >>build.h
19692 echo "#define CSQL" >>build.h
19693 echo "#define ${OSTYPE}" >>build.h
19694 echo "#define ${CPUTYPE}" >>build.h
19695 echo "#endif " >>build.h
19712 for ac_header
in stdio.h sys
/mman.h sys
/shm.h sys
/errno.h
crypt.h unistd.h \
19713 string.h sys
/types.h sys
/stat.h fcntl.h pthread.h math.h \
19716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19718 echo "$as_me:$LINENO: checking for $ac_header" >&5
19719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19726 # Is the header compilable?
19727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19729 cat >conftest.
$ac_ext <<_ACEOF
19732 cat confdefs.h
>>conftest.
$ac_ext
19733 cat >>conftest.
$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19736 #include <$ac_header>
19738 rm -f conftest.
$ac_objext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19740 (eval $ac_compile) 2>conftest.er1
19742 grep -v '^ *+' conftest.er1
>conftest.err
19744 cat conftest.err
>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } &&
19747 { ac_try
='test -z "$ac_cxx_werror_flag"
19748 || test ! -s conftest.err'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; } &&
19754 { ac_try
='test -s conftest.$ac_objext'
19755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19756 (eval $ac_try) 2>&5
19758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759 (exit $ac_status); }; }; then
19760 ac_header_compiler
=yes
19762 echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.
$ac_ext >&5
19765 ac_header_compiler
=no
19767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19769 echo "${ECHO_T}$ac_header_compiler" >&6
19771 # Is the header present?
19772 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19773 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19774 cat >conftest.
$ac_ext <<_ACEOF
19777 cat confdefs.h
>>conftest.
$ac_ext
19778 cat >>conftest.
$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 #include <$ac_header>
19782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19783 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19785 grep -v '^ *+' conftest.er1
>conftest.err
19787 cat conftest.err
>&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); } >/dev
/null
; then
19790 if test -s conftest.err
; then
19791 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19792 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19799 if test -z "$ac_cpp_err"; then
19800 ac_header_preproc
=yes
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.
$ac_ext >&5
19805 ac_header_preproc
=no
19807 rm -f conftest.err conftest.
$ac_ext
19808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19809 echo "${ECHO_T}$ac_header_preproc" >&6
19811 # So? What about this header?
19812 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19814 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19815 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19817 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19818 ac_header_preproc
=yes
19821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19823 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19825 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19826 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19827 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19828 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19830 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19831 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19832 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19835 ## ------------------------------------------ ##
19836 ## Report this to the AC_PACKAGE_NAME lists. ##
19837 ## ------------------------------------------ ##
19840 sed "s/^/$as_me: WARNING: /" >&2
19843 echo "$as_me:$LINENO: checking for $ac_header" >&5
19844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19848 eval "$as_ac_Header=\$ac_header_preproc"
19850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19855 cat >>confdefs.h
<<_ACEOF
19856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19866 ac_config_files
="$ac_config_files Makefile src/Makefile include/Makefile src/server/Makefile src/sql/Makefile src/adapter/Makefile src/gateway/Makefile src/cache/Makefile src/network/Makefile src/sqllog/Makefile src/tools/Makefile src/jdbc/Makefile src/odbc/Makefile"
19867 cat >confcache
<<\_ACEOF
19868 # This file is a shell script that caches the results of configure
19869 # tests run on this system so they can be shared between configure
19870 # scripts and configure runs, see configure's option --config-cache.
19871 # It is not useful on other systems. If it contains results you don't
19872 # want to keep, you may remove or edit it.
19874 # config.status only pays attention to the cache file if you give it
19875 # the --recheck option to rerun configure.
19877 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19878 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19879 # following values.
19883 # The following way of writing the cache mishandles newlines in values,
19884 # but we know of no workaround that is simple, portable, and efficient.
19885 # So, don't put newlines in cache variables' values.
19886 # Ultrix sh set writes to stderr and can't be redirected directly,
19887 # and sets the high bit in the cache file unless we assign to the vars.
19890 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19892 # `set' does not quote correctly, so add quotes (double-quote
19893 # substitution turns \\\\ into \\, and sed turns \\ into \).
19896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19899 # `set' quotes correctly as required by POSIX, so do not add quotes.
19901 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19908 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19910 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19912 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19913 if test -w $cache_file; then
19914 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19915 cat confcache
>$cache_file
19917 echo "not updating unwritable cache $cache_file"
19922 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19923 # Let make expand exec_prefix.
19924 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19926 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19927 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19928 # trailing colons and then remove the whole line if VPATH becomes empty
19929 # (actually we leave an empty line to preserve line numbers).
19930 if test "x$srcdir" = x.
; then
19931 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19932 s/:*\$(srcdir):*/:/;
19933 s/:*\${srcdir}:*/:/;
19935 s/^\([^=]*=[ ]*\):*/\1/;
19941 DEFS
=-DHAVE_CONFIG_H
19945 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19946 # 1. Remove the extension, and $U if already installed.
19947 ac_i
=`echo "$ac_i" |
19948 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19950 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19951 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19953 LIBOBJS
=$ac_libobjs
19955 LTLIBOBJS
=$ac_ltlibobjs
19958 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19959 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19960 Usually this means the macro was only invoked conditionally." >&5
19961 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19962 Usually this means the macro was only invoked conditionally." >&2;}
19963 { (exit 1); exit 1; }; }
19965 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19966 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19967 Usually this means the macro was only invoked conditionally." >&5
19968 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19969 Usually this means the macro was only invoked conditionally." >&2;}
19970 { (exit 1); exit 1; }; }
19972 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19973 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19974 Usually this means the macro was only invoked conditionally." >&5
19975 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19976 Usually this means the macro was only invoked conditionally." >&2;}
19977 { (exit 1); exit 1; }; }
19980 : ${CONFIG_STATUS=./config.status}
19981 ac_clean_files_save
=$ac_clean_files
19982 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19983 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19984 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19985 cat >$CONFIG_STATUS <<_ACEOF
19987 # Generated by $as_me.
19988 # Run this file to recreate the current configuration.
19989 # Compiler output produced by configure, useful for debugging
19990 # configure, is in config.log if it exists.
19993 ac_cs_recheck=false
19995 SHELL=\${CONFIG_SHELL-$SHELL}
19998 cat >>$CONFIG_STATUS <<\_ACEOF
19999 ## --------------------- ##
20000 ## M4sh Initialization. ##
20001 ## --------------------- ##
20003 # Be Bourne compatible
20004 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20007 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20008 # is contrary to our usage. Disable this feature.
20009 alias -g '${1+"$@"}'='"$@"'
20010 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20013 DUALCASE
=1; export DUALCASE
# for MKS sh
20015 # Support unset when possible.
20016 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20023 # Work around bugs in pre-3.0 UWIN ksh.
20024 $as_unset ENV MAIL MAILPATH
20031 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20032 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20033 LC_TELEPHONE LC_TIME
20035 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20036 eval $as_var=C
; export $as_var
20042 # Required to use basename.
20043 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20049 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20050 as_basename
=basename
20056 # Name of the executable.
20057 as_me
=`$as_basename "$0" ||
20058 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20059 X"$0" : 'X\(//\)$' \| \
20060 X"$0" : 'X\(/\)$' \| \
20061 . : '\(.\)' 2>/dev/null ||
20063 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20064 /^X\/\(\/\/\)$/{ s//\1/; q; }
20065 /^X\/\(\/\).*/{ s//\1/; q; }
20069 # PATH needs CR, and LINENO needs CR and PATH.
20070 # Avoid depending upon Character Ranges.
20071 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20072 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20073 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20074 as_cr_digits
='0123456789'
20075 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20077 # The user is always right.
20078 if test "${PATH_SEPARATOR+set}" != set; then
20079 echo "#! /bin/sh" >conf$$.sh
20080 echo "exit 0" >>conf$$.sh
20082 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20091 as_lineno_1
=$LINENO
20092 as_lineno_2
=$LINENO
20093 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20094 test "x$as_lineno_1" != "x$as_lineno_2" &&
20095 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20096 # Find who we are. Look in the path if we contain no path at all
20099 *[\\/]* ) as_myself
=$0 ;;
20100 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20101 for as_dir
in $PATH
20104 test -z "$as_dir" && as_dir
=.
20105 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20110 # We did not find ourselves, most probably we were run as `sh COMMAND'
20111 # in which case we are not to be found in the path.
20112 if test "x$as_myself" = x
; then
20115 if test ! -f "$as_myself"; then
20116 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20117 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20118 { (exit 1); exit 1; }; }
20120 case $CONFIG_SHELL in
20122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20123 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20126 test -z "$as_dir" && as_dir
=.
20127 for as_base
in sh bash ksh sh5
; do
20130 if ("$as_dir/$as_base" -c '
20131 as_lineno_1=$LINENO
20132 as_lineno_2=$LINENO
20133 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20134 test "x$as_lineno_1" != "x$as_lineno_2" &&
20135 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20136 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20137 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20138 CONFIG_SHELL
=$as_dir/$as_base
20139 export CONFIG_SHELL
20140 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20148 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20149 # uniformly replaced by the line number. The first 'sed' inserts a
20150 # line-number line before each line; the second 'sed' does the real
20151 # work. The second script uses 'N' to pair each line-number line
20152 # with the numbered line, and appends trailing '-' during
20153 # substitution so that $LINENO is not a special case at line end.
20154 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20155 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20156 sed '=' <$as_myself |
20161 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20164 s,^['$as_cr_digits']*\n,,
20165 ' >$as_me.lineno
&&
20166 chmod +x
$as_me.lineno ||
20167 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20168 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20169 { (exit 1); exit 1; }; }
20171 # Don't try to exec as it changes $[0], causing all sort of problems
20172 # (the dirname of $[0] is not the place where we might find the
20173 # original and so on. Autoconf is especially sensible to this).
20175 # Exit status is that of the last command.
20180 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20181 *c
*,-n*) ECHO_N
= ECHO_C
='
20183 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20184 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20187 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20193 rm -f conf$$ conf$$.exe conf$$.
file
20195 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20196 # We could just check for DJGPP; but this test a) works b) is more generic
20197 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20198 if test -f conf$$.exe
; then
20199 # Don't use ln at all; we don't have any links
20204 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20209 rm -f conf$$ conf$$.exe conf$$.
file
20211 if mkdir
-p .
2>/dev
/null
; then
20214 test -d .
/-p && rmdir .
/-p
20218 as_executable_p
="test -f"
20220 # Sed expression to map a string onto a valid CPP name.
20221 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20223 # Sed expression to map a string onto a valid variable name.
20224 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20228 # We need space, tab and new line, in precisely that order.
20238 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20239 # report actual input values of CONFIG_FILES etc. instead of their
20240 # values after options handling. Logging --version etc. is OK.
20244 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20245 ## Running $as_me. ##
20250 This file was extended by $as_me, which was
20251 generated by GNU Autoconf 2.59. Invocation command line was
20253 CONFIG_FILES = $CONFIG_FILES
20254 CONFIG_HEADERS = $CONFIG_HEADERS
20255 CONFIG_LINKS = $CONFIG_LINKS
20256 CONFIG_COMMANDS = $CONFIG_COMMANDS
20260 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20264 # Files that config.status was made for.
20265 if test -n "$ac_config_files"; then
20266 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20269 if test -n "$ac_config_headers"; then
20270 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20273 if test -n "$ac_config_links"; then
20274 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20277 if test -n "$ac_config_commands"; then
20278 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20281 cat >>$CONFIG_STATUS <<\_ACEOF
20284 \`$as_me' instantiates files from templates according to the
20285 current configuration.
20287 Usage: $0 [OPTIONS] [FILE]...
20289 -h, --help print this help, then exit
20290 -V, --version print version number, then exit
20291 -q, --quiet do not print progress messages
20292 -d, --debug don't remove temporary files
20293 --recheck update $as_me by reconfiguring in the same conditions
20294 --file=FILE[:TEMPLATE]
20295 instantiate the configuration file FILE
20296 --header=FILE[:TEMPLATE]
20297 instantiate the configuration header FILE
20299 Configuration files:
20302 Configuration headers:
20305 Configuration commands:
20308 Report bugs to <bug-autoconf@gnu.org>."
20311 cat >>$CONFIG_STATUS <<_ACEOF
20314 configured by $0, generated by GNU Autoconf 2.59,
20315 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20317 Copyright (C) 2003 Free Software Foundation, Inc.
20318 This config.status script is free software; the Free Software Foundation
20319 gives unlimited permission to copy, distribute and modify it."
20324 cat >>$CONFIG_STATUS <<\_ACEOF
20325 # If no file are specified by the user, then we need to provide default
20326 # value. By we need to know if files were specified by the user.
20332 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20333 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20341 *) # This is not an option, so the user has probably given explicit
20344 ac_need_defaults
=false
;;
20348 # Handling of the options.
20350 cat >>$CONFIG_STATUS <<\_ACEOF
20351 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20353 --version |
--vers* |
-V )
20354 echo "$ac_cs_version"; exit 0 ;;
20356 # Conflict between --help and --header
20357 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20358 Try \`$0 --help' for more information." >&5
20359 echo "$as_me: error: ambiguous option: $1
20360 Try \`$0 --help' for more information." >&2;}
20361 { (exit 1); exit 1; }; };;
20362 --help |
--hel |
-h )
20363 echo "$ac_cs_usage"; exit 0 ;;
20364 --debug |
--d* |
-d )
20366 --file |
--fil |
--fi |
--f )
20368 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20369 ac_need_defaults
=false
;;
20370 --header |
--heade |
--head |
--hea )
20372 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20373 ac_need_defaults
=false
;;
20374 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20375 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20378 # This is an error.
20379 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20380 Try \`$0 --help' for more information." >&5
20381 echo "$as_me: error: unrecognized option: $1
20382 Try \`$0 --help' for more information." >&2;}
20383 { (exit 1); exit 1; }; } ;;
20385 *) ac_config_targets
="$ac_config_targets $1" ;;
20391 ac_configure_extra_args
=
20393 if $ac_cs_silent; then
20395 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20399 cat >>$CONFIG_STATUS <<_ACEOF
20400 if \$ac_cs_recheck; then
20401 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20402 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20407 cat >>$CONFIG_STATUS <<_ACEOF
20409 # INIT-COMMANDS section.
20412 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20418 cat >>$CONFIG_STATUS <<\_ACEOF
20419 for ac_config_target
in $ac_config_targets
20421 case "$ac_config_target" in
20422 # Handling of arguments.
20423 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20424 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20425 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20426 "src/server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/server/Makefile" ;;
20427 "src/sql/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/sql/Makefile" ;;
20428 "src/adapter/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/adapter/Makefile" ;;
20429 "src/gateway/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/gateway/Makefile" ;;
20430 "src/cache/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/cache/Makefile" ;;
20431 "src/network/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/network/Makefile" ;;
20432 "src/sqllog/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/sqllog/Makefile" ;;
20433 "src/tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/tools/Makefile" ;;
20434 "src/jdbc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/jdbc/Makefile" ;;
20435 "src/odbc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/odbc/Makefile" ;;
20436 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20437 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20438 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20439 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20440 { (exit 1); exit 1; }; };;
20444 # If the user did not use the arguments to specify the items to instantiate,
20445 # then the envvar interface is used. Set only those that are not.
20446 # We use the long form for the default assignment because of an extremely
20447 # bizarre bug on SunOS 4.1.3.
20448 if $ac_need_defaults; then
20449 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20450 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20451 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20454 # Have a temporary directory for convenience. Make it in the build tree
20455 # simply because there is no reason to put it here, and in addition,
20456 # creating and moving files from /tmp can sometimes cause problems.
20457 # Create a temporary directory, and hook for its removal unless debugging.
20460 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20461 trap '{ (exit 1); exit 1; }' 1 2 13 15
20464 # Create a (secure) tmp directory for tmp files.
20467 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20468 test -n "$tmp" && test -d "$tmp"
20471 tmp
=.
/confstat$$
-$RANDOM
20472 (umask 077 && mkdir
$tmp)
20475 echo "$me: cannot create a temporary directory in ." >&2
20476 { (exit 1); exit 1; }
20481 cat >>$CONFIG_STATUS <<_ACEOF
20484 # CONFIG_FILES section.
20487 # No need to generate the scripts if there are no CONFIG_FILES.
20488 # This happens for instance when ./config.status config.h
20489 if test -n "\$CONFIG_FILES"; then
20490 # Protect against being on the right side of a sed subst in config.status.
20491 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20492 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20493 s,@SHELL@,$SHELL,;t t
20494 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20495 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20496 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20497 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20498 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20499 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20500 s,@exec_prefix@,$exec_prefix,;t t
20501 s,@prefix@,$prefix,;t t
20502 s,@program_transform_name@,$program_transform_name,;t t
20503 s,@bindir@,$bindir,;t t
20504 s,@sbindir@,$sbindir,;t t
20505 s,@libexecdir@,$libexecdir,;t t
20506 s,@datadir@,$datadir,;t t
20507 s,@sysconfdir@,$sysconfdir,;t t
20508 s,@sharedstatedir@,$sharedstatedir,;t t
20509 s,@localstatedir@,$localstatedir,;t t
20510 s,@libdir@,$libdir,;t t
20511 s,@includedir@,$includedir,;t t
20512 s,@oldincludedir@,$oldincludedir,;t t
20513 s,@infodir@,$infodir,;t t
20514 s,@mandir@,$mandir,;t t
20515 s,@build_alias@,$build_alias,;t t
20516 s,@host_alias@,$host_alias,;t t
20517 s,@target_alias@,$target_alias,;t t
20518 s,@DEFS@,$DEFS,;t t
20519 s,@ECHO_C@,$ECHO_C,;t t
20520 s,@ECHO_N@,$ECHO_N,;t t
20521 s,@ECHO_T@,$ECHO_T,;t t
20522 s,@LIBS@,$LIBS,;t t
20523 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20524 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20525 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20526 s,@CYGPATH_W@,$CYGPATH_W,;t t
20527 s,@PACKAGE@,$PACKAGE,;t t
20528 s,@VERSION@,$VERSION,;t t
20529 s,@ACLOCAL@,$ACLOCAL,;t t
20530 s,@AUTOCONF@,$AUTOCONF,;t t
20531 s,@AUTOMAKE@,$AUTOMAKE,;t t
20532 s,@AUTOHEADER@,$AUTOHEADER,;t t
20533 s,@MAKEINFO@,$MAKEINFO,;t t
20534 s,@install_sh@,$install_sh,;t t
20535 s,@STRIP@,$STRIP,;t t
20536 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20537 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20538 s,@mkdir_p@,$mkdir_p,;t t
20540 s,@SET_MAKE@,$SET_MAKE,;t t
20541 s,@am__leading_dot@,$am__leading_dot,;t t
20542 s,@AMTAR@,$AMTAR,;t t
20543 s,@am__tar@,$am__tar,;t t
20544 s,@am__untar@,$am__untar,;t t
20546 s,@CXXFLAGS@,$CXXFLAGS,;t t
20547 s,@LDFLAGS@,$LDFLAGS,;t t
20548 s,@CPPFLAGS@,$CPPFLAGS,;t t
20549 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20550 s,@EXEEXT@,$EXEEXT,;t t
20551 s,@OBJEXT@,$OBJEXT,;t t
20552 s,@DEPDIR@,$DEPDIR,;t t
20553 s,@am__include@,$am__include,;t t
20554 s,@am__quote@,$am__quote,;t t
20555 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20556 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20557 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20558 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20559 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20560 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20561 s,@build@,$build,;t t
20562 s,@build_cpu@,$build_cpu,;t t
20563 s,@build_vendor@,$build_vendor,;t t
20564 s,@build_os@,$build_os,;t t
20565 s,@host@,$host,;t t
20566 s,@host_cpu@,$host_cpu,;t t
20567 s,@host_vendor@,$host_vendor,;t t
20568 s,@host_os@,$host_os,;t t
20570 s,@CFLAGS@,$CFLAGS,;t t
20571 s,@ac_ct_CC@,$ac_ct_CC,;t t
20572 s,@CCDEPMODE@,$CCDEPMODE,;t t
20573 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20574 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20575 s,@EGREP@,$EGREP,;t t
20576 s,@LN_S@,$LN_S,;t t
20577 s,@ECHO@,$ECHO,;t t
20579 s,@ac_ct_AR@,$ac_ct_AR,;t t
20580 s,@RANLIB@,$RANLIB,;t t
20581 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20583 s,@CXXCPP@,$CXXCPP,;t t
20585 s,@FFLAGS@,$FFLAGS,;t t
20586 s,@ac_ct_F77@,$ac_ct_F77,;t t
20587 s,@LIBTOOL@,$LIBTOOL,;t t
20588 s,@YACC@,$YACC,;t t
20590 s,@LEXLIB@,$LEXLIB,;t t
20591 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20592 s,@LIBOBJS@,$LIBOBJS,;t t
20593 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20598 cat >>$CONFIG_STATUS <<\_ACEOF
20599 # Split the substitutions into bite-sized pieces for seds with
20600 # small command number limits, like on Digital OSF/1 and HP-UX.
20601 ac_max_sed_lines
=48
20602 ac_sed_frag
=1 # Number of current file.
20603 ac_beg
=1 # First line for current file.
20604 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20607 while $ac_more_lines; do
20608 if test $ac_beg -gt 1; then
20609 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20611 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20613 if test ! -s $tmp/subs.frag
; then
20614 ac_more_lines
=false
20616 # The purpose of the label and of the branching condition is to
20617 # speed up the sed processing (if there are no `@' at all, there
20618 # is no need to browse any of the substitutions).
20619 # These are the two extra sed commands mentioned above.
20621 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20622 if test -z "$ac_sed_cmds"; then
20623 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20625 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20627 ac_sed_frag
=`expr $ac_sed_frag + 1`
20629 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20632 if test -z "$ac_sed_cmds"; then
20635 fi # test -n "$CONFIG_FILES"
20638 cat >>$CONFIG_STATUS <<\_ACEOF
20639 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20640 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20642 - |
*:- |
*:-:* ) # input from stdin
20644 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20645 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20646 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20647 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20648 * ) ac_file_in
=$ac_file.
in ;;
20651 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20652 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20654 X"$ac_file" : 'X\(//\)[^/]' \| \
20655 X"$ac_file" : 'X\(//\)$' \| \
20656 X"$ac_file" : 'X\(/\)' \| \
20657 . : '\(.\)' 2>/dev/null ||
20659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20660 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20661 /^X\(\/\/\)$/{ s//\1/; q; }
20662 /^X\(\/\).*/{ s//\1/; q; }
20664 { if $as_mkdir_p; then
20669 while test ! -d "$as_dir"; do
20670 as_dirs
="$as_dir $as_dirs"
20671 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20672 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20673 X"$as_dir" : 'X\(//\)[^/]' \| \
20674 X"$as_dir" : 'X\(//\)$' \| \
20675 X"$as_dir" : 'X\(/\)' \| \
20676 . : '\(.\)' 2>/dev/null ||
20678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20680 /^X\(\/\/\)$/{ s//\1/; q; }
20681 /^X\(\/\).*/{ s//\1/; q; }
20684 test ! -n "$as_dirs" || mkdir
$as_dirs
20685 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20686 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20687 { (exit 1); exit 1; }; }; }
20691 if test "$ac_dir" != .
; then
20692 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20693 # A "../" for each directory in $ac_dir_suffix.
20694 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20696 ac_dir_suffix
= ac_top_builddir
=
20700 .
) # No --srcdir option. We are building in place.
20702 if test -z "$ac_top_builddir"; then
20705 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20707 [\\/]* | ?
:[\\/]* ) # Absolute path.
20708 ac_srcdir
=$srcdir$ac_dir_suffix;
20709 ac_top_srcdir
=$srcdir ;;
20710 *) # Relative path.
20711 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20712 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20715 # Do not use `cd foo && pwd` to compute absolute paths, because
20716 # the directories may not exist.
20718 .
) ac_abs_builddir
="$ac_dir";;
20721 .
) ac_abs_builddir
=`pwd`;;
20722 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20723 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20726 case $ac_abs_builddir in
20727 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20729 case ${ac_top_builddir}.
in
20730 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20731 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20732 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20735 case $ac_abs_builddir in
20736 .
) ac_abs_srcdir
=$ac_srcdir;;
20739 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20740 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20741 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20744 case $ac_abs_builddir in
20745 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20747 case $ac_top_srcdir in
20748 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20749 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20750 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20756 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20757 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20760 if test x
"$ac_file" != x-
; then
20761 { echo "$as_me:$LINENO: creating $ac_file" >&5
20762 echo "$as_me: creating $ac_file" >&6;}
20765 # Let's still pretend it is `configure' which instantiates (i.e., don't
20766 # use $as_me), people would be surprised to read:
20767 # /* config.h. Generated by config.status. */
20768 if test x
"$ac_file" = x-
; then
20771 configure_input
="$ac_file. "
20773 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20774 sed 's,.*/,,'` by configure."
20776 # First look for the input files in the build tree, otherwise in the
20778 ac_file_inputs
=`IFS=:
20779 for f in $ac_file_in; do
20781 -) echo $tmp/stdin ;;
20783 # Absolute (can't be DOS-style, as IFS=:)
20784 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20785 echo "$as_me: error: cannot find input file: $f" >&2;}
20786 { (exit 1); exit 1; }; }
20789 if test -f "$f"; then
20792 elif test -f "$srcdir/$f"; then
20797 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20798 echo "$as_me: error: cannot find input file: $f" >&2;}
20799 { (exit 1); exit 1; }; }
20802 done` ||
{ (exit 1); exit 1; }
20804 cat >>$CONFIG_STATUS <<_ACEOF
20808 cat >>$CONFIG_STATUS <<\_ACEOF
20810 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20811 s
,@configure_input@
,$configure_input,;t t
20812 s
,@srcdir@
,$ac_srcdir,;t t
20813 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20814 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20815 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20816 s
,@builddir@
,$ac_builddir,;t t
20817 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20818 s
,@top_builddir@
,$ac_top_builddir,;t t
20819 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20820 s
,@INSTALL@
,$ac_INSTALL,;t t
20821 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20823 if test x"$ac_file" != x-; then
20824 mv $tmp/out $ac_file
20832 cat >>$CONFIG_STATUS <<\_ACEOF
20835 # CONFIG_HEADER section.
20838 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20839 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20841 # ac_d sets the value in "#define NAME VALUE" lines.
20842 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20843 ac_dB
='[ ].*$,\1#\2'
20846 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20847 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20848 ac_uB
='$,\1#\2define\3'
20852 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20853 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20855 - |
*:- |
*:-:* ) # input from stdin
20857 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20858 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20859 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20860 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20861 * ) ac_file_in
=$ac_file.
in ;;
20864 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20865 echo "$as_me: creating $ac_file" >&6;}
20867 # First look for the input files in the build tree, otherwise in the
20869 ac_file_inputs
=`IFS=:
20870 for f in $ac_file_in; do
20872 -) echo $tmp/stdin ;;
20874 # Absolute (can't be DOS-style, as IFS=:)
20875 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20876 echo "$as_me: error: cannot find input file: $f" >&2;}
20877 { (exit 1); exit 1; }; }
20878 # Do quote $f, to prevent DOS paths from being IFS'd.
20881 if test -f "$f"; then
20884 elif test -f "$srcdir/$f"; then
20889 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20890 echo "$as_me: error: cannot find input file: $f" >&2;}
20891 { (exit 1); exit 1; }; }
20894 done` ||
{ (exit 1); exit 1; }
20895 # Remove the trailing spaces.
20896 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20900 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20901 # `conftest.undefs', that substitutes the proper values into
20902 # config.h.in to produce config.h. The first handles `#define'
20903 # templates, and the second `#undef' templates.
20904 # And first: Protect against being on the right side of a sed subst in
20905 # config.status. Protect against being in an unquoted here document
20906 # in config.status.
20907 rm -f conftest.defines conftest.undefs
20908 # Using a here document instead of a string reduces the quoting nightmare.
20909 # Putting comments in sed scripts is not portable.
20911 # `end' is used to avoid that the second main sed command (meant for
20912 # 0-ary CPP macros) applies to n-ary macro definitions.
20913 # See the Autoconf documentation for `clear'.
20914 cat >confdef2sed.
sed <<\_ACEOF
20919 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20921 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20924 # If some macros were called several times there might be several times
20925 # the same #defines, which is useless. Nevertheless, we may not want to
20926 # sort them, since we want the *last* AC-DEFINE to be honored.
20927 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20928 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20929 rm -f confdef2sed.sed
20931 # This sed command replaces #undef with comments. This is necessary, for
20932 # example, in the case of _POSIX_SOURCE, which is predefined and required
20933 # on some systems where configure will not decide to define it.
20934 cat >>conftest.undefs <<\_ACEOF
20935 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20938 # Break up conftest.defines because some shells have a limit on the size
20939 # of here documents, and old seds have small limits too (100 cmds).
20940 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20941 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20942 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20943 echo ' :' >>$CONFIG_STATUS
20944 rm -f conftest.tail
20945 while grep . conftest.defines >/dev/null
20947 # Write a limited-size here document to $tmp/defines.sed.
20948 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20949 # Speed up: don't consider the non `#define' lines.
20950 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20951 # Work around the forget-to-reset-the-flag bug.
20952 echo 't clr' >>$CONFIG_STATUS
20953 echo ': clr' >>$CONFIG_STATUS
20954 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20956 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20958 mv $tmp/out $tmp/in
20960 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20961 rm -f conftest.defines
20962 mv conftest.
tail conftest.defines
20964 rm -f conftest.defines
20965 echo ' fi # grep' >>$CONFIG_STATUS
20966 echo >>$CONFIG_STATUS
20968 # Break up conftest.undefs because some shells have a limit on the size
20969 # of here documents, and old seds have small limits too (100 cmds).
20970 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20971 rm -f conftest.
tail
20972 while grep . conftest.undefs
>/dev
/null
20974 # Write a limited-size here document to $tmp/undefs.sed.
20975 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20976 # Speed up: don't consider the non
`#undef'
20977 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20978 # Work around the forget-to-reset-the-flag bug.
20979 echo 't clr' >>$CONFIG_STATUS
20980 echo ': clr' >>$CONFIG_STATUS
20981 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20983 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20985 mv $tmp/out $tmp/in
20987 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20988 rm -f conftest.undefs
20989 mv conftest.tail conftest.undefs
20991 rm -f conftest.undefs
20993 cat >>$CONFIG_STATUS <<\_ACEOF
20994 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20995 # use $as_me), people would be surprised to read:
20996 # /* config.h. Generated by config.status. */
20997 if test x
"$ac_file" = x-
; then
20998 echo "/* Generated by configure. */" >$tmp/config.h
21000 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21002 cat $tmp/in >>$tmp/config.h
21004 if test x
"$ac_file" != x-
; then
21005 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21006 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21007 echo "$as_me: $ac_file is unchanged" >&6;}
21009 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21010 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21011 X"$ac_file" : 'X\(//\)[^/]' \| \
21012 X"$ac_file" : 'X\(//\)$' \| \
21013 X"$ac_file" : 'X\(/\)' \| \
21014 . : '\(.\)' 2>/dev/null ||
21016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21017 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21018 /^X\(\/\/\)$/{ s//\1/; q; }
21019 /^X\(\/\).*/{ s//\1/; q; }
21021 { if $as_mkdir_p; then
21026 while test ! -d "$as_dir"; do
21027 as_dirs
="$as_dir $as_dirs"
21028 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21029 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21030 X"$as_dir" : 'X\(//\)[^/]' \| \
21031 X"$as_dir" : 'X\(//\)$' \| \
21032 X"$as_dir" : 'X\(/\)' \| \
21033 . : '\(.\)' 2>/dev/null ||
21035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21036 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21037 /^X\(\/\/\)$/{ s//\1/; q; }
21038 /^X\(\/\).*/{ s//\1/; q; }
21041 test ! -n "$as_dirs" || mkdir
$as_dirs
21042 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21043 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21044 { (exit 1); exit 1; }; }; }
21047 mv $tmp/config.h
$ac_file
21051 rm -f $tmp/config.h
21053 # Compute $ac_file's index in $config_headers.
21055 for _am_header
in $config_headers :; do
21056 case $_am_header in
21057 $ac_file |
$ac_file:* )
21060 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21063 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21064 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21065 X$ac_file : 'X\(//\)[^/]' \| \
21066 X$ac_file : 'X\(//\)$' \| \
21067 X$ac_file : 'X\(/\)' \| \
21068 . : '\(.\)' 2>/dev/null ||
21070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21071 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21072 /^X\(\/\/\)$/{ s//\1/; q; }
21073 /^X\(\/\).*/{ s//\1/; q; }
21074 s/.*/./; q'`/stamp-h
$_am_stamp_count
21077 cat >>$CONFIG_STATUS <<\_ACEOF
21080 # CONFIG_COMMANDS section.
21082 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21083 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21084 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21085 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21086 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21087 X"$ac_dest" : 'X\(//\)[^/]' \| \
21088 X"$ac_dest" : 'X\(//\)$' \| \
21089 X"$ac_dest" : 'X\(/\)' \| \
21090 . : '\(.\)' 2>/dev/null ||
21092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21093 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21094 /^X\(\/\/\)$/{ s//\1/; q; }
21095 /^X\(\/\).*/{ s//\1/; q; }
21097 { if $as_mkdir_p; then
21102 while test ! -d "$as_dir"; do
21103 as_dirs
="$as_dir $as_dirs"
21104 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21106 X"$as_dir" : 'X\(//\)[^/]' \| \
21107 X"$as_dir" : 'X\(//\)$' \| \
21108 X"$as_dir" : 'X\(/\)' \| \
21109 . : '\(.\)' 2>/dev/null ||
21111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21112 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21113 /^X\(\/\/\)$/{ s//\1/; q; }
21114 /^X\(\/\).*/{ s//\1/; q; }
21117 test ! -n "$as_dirs" || mkdir
$as_dirs
21118 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21119 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21120 { (exit 1); exit 1; }; }; }
21124 if test "$ac_dir" != .
; then
21125 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21126 # A "../" for each directory in $ac_dir_suffix.
21127 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21129 ac_dir_suffix
= ac_top_builddir
=
21133 .
) # No --srcdir option. We are building in place.
21135 if test -z "$ac_top_builddir"; then
21138 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21140 [\\/]* | ?
:[\\/]* ) # Absolute path.
21141 ac_srcdir
=$srcdir$ac_dir_suffix;
21142 ac_top_srcdir
=$srcdir ;;
21143 *) # Relative path.
21144 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21145 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21148 # Do not use `cd foo && pwd` to compute absolute paths, because
21149 # the directories may not exist.
21151 .
) ac_abs_builddir
="$ac_dir";;
21154 .
) ac_abs_builddir
=`pwd`;;
21155 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21156 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21159 case $ac_abs_builddir in
21160 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21162 case ${ac_top_builddir}.
in
21163 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21164 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21165 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21168 case $ac_abs_builddir in
21169 .
) ac_abs_srcdir
=$ac_srcdir;;
21172 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21173 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21174 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21177 case $ac_abs_builddir in
21178 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21180 case $ac_top_srcdir in
21181 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21182 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21183 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21188 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21189 echo "$as_me: executing $ac_dest commands" >&6;}
21191 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21192 # Strip MF so we end up with the name of the file.
21193 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21194 # Check whether this is an Automake generated Makefile or not.
21195 # We used to match only the files named `Makefile.in', but
21196 # some people rename them; so instead we look at the file content.
21197 # Grep'ing the first line is not enough: some people post-process
21198 # each Makefile.in and add a new line on top of each file to say so.
21199 # So let's grep whole file.
21200 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21201 dirpart
=`(dirname "$mf") 2>/dev/null ||
21202 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21203 X"$mf" : 'X\(//\)[^/]' \| \
21204 X"$mf" : 'X\(//\)$' \| \
21205 X"$mf" : 'X\(/\)' \| \
21206 . : '\(.\)' 2>/dev/null ||
21208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21209 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21210 /^X\(\/\/\)$/{ s//\1/; q; }
21211 /^X\(\/\).*/{ s//\1/; q; }
21216 # Extract the definition of DEPDIR, am__include, and am__quote
21217 # from the Makefile without running `make'.
21218 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21219 test -z "$DEPDIR" && continue
21220 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21221 test -z "am__include" && continue
21222 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21223 # When using ansi2knr, U may be empty or an underscore; expand it
21224 U
=`sed -n 's/^U = //p' < "$mf"`
21225 # Find all dependency output files, they are included files with
21226 # $(DEPDIR) in their names. We invoke sed twice because it is the
21227 # simplest approach to changing $(DEPDIR) to its actual value in the
21229 for file in `sed -n "
21230 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21231 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21232 # Make sure the directory exists.
21233 test -f "$dirpart/$file" && continue
21234 fdir
=`(dirname "$file") 2>/dev/null ||
21235 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21236 X"$file" : 'X\(//\)[^/]' \| \
21237 X"$file" : 'X\(//\)$' \| \
21238 X"$file" : 'X\(/\)' \| \
21239 . : '\(.\)' 2>/dev/null ||
21241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21242 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21243 /^X\(\/\/\)$/{ s//\1/; q; }
21244 /^X\(\/\).*/{ s//\1/; q; }
21246 { if $as_mkdir_p; then
21247 mkdir
-p $dirpart/$fdir
21249 as_dir
=$dirpart/$fdir
21251 while test ! -d "$as_dir"; do
21252 as_dirs
="$as_dir $as_dirs"
21253 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21255 X"$as_dir" : 'X\(//\)[^/]' \| \
21256 X"$as_dir" : 'X\(//\)$' \| \
21257 X"$as_dir" : 'X\(/\)' \| \
21258 . : '\(.\)' 2>/dev/null ||
21260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21261 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21262 /^X\(\/\/\)$/{ s//\1/; q; }
21263 /^X\(\/\).*/{ s//\1/; q; }
21266 test ! -n "$as_dirs" || mkdir
$as_dirs
21267 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21268 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21269 { (exit 1); exit 1; }; }; }
21271 # echo "creating $dirpart/$file"
21272 echo '# dummy' > "$dirpart/$file"
21280 cat >>$CONFIG_STATUS <<\_ACEOF
21282 { (exit 0); exit 0; }
21284 chmod +x
$CONFIG_STATUS
21285 ac_clean_files
=$ac_clean_files_save
21288 # configure is writing to config.log, and then calls config.status.
21289 # config.status does its own redirection, appending to config.log.
21290 # Unfortunately, on DOS this fails, as config.log is still kept open
21291 # by configure, so config.status won't be able to write to it; its
21292 # output is simply discarded. So we exec the FD to /dev/null,
21293 # effectively closing config.log, so it can be properly (re)opened and
21294 # appended to by config.status. When coming back to configure, we
21295 # need to make the FD available again.
21296 if test "$no_create" != yes; then
21298 ac_config_status_args
=
21299 test "$silent" = yes &&
21300 ac_config_status_args
="$ac_config_status_args --quiet"
21302 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21304 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21305 # would make configure fail if this is the last instruction.
21306 $ac_cs_success ||
{ (exit 1); exit 1; }