2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $echo works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
289 echo_test_string
="`eval $cmd`" &&
290 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
299 test "X$echo_testing_string" = "X$echo_test_string"; then
302 # The Solaris, AIX, and Digital Unix default echo programs unquote
303 # backslashes. This makes it impossible to quote backslashes using
304 # echo "$something" | sed 's/\\/\\\\/g'
306 # So, first we look for a working echo in the user's PATH.
308 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
309 for dir
in $PATH /usr
/ucb
; do
311 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
312 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314 test "X$echo_testing_string" = "X$echo_test_string"; then
321 if test "X$echo" = Xecho
; then
322 # We didn't find a better echo, so look for alternatives.
323 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
325 test "X$echo_testing_string" = "X$echo_test_string"; then
326 # This shell has a builtin print -r that does the trick.
328 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
329 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
330 # If we have ksh, try running configure again with it.
331 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
332 export ORIGINAL_CONFIG_SHELL
333 CONFIG_SHELL
=/bin
/ksh
335 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
339 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
341 test "X$echo_testing_string" = "X$echo_test_string"; then
344 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345 test "X$echo_testing_string" = 'X\t' &&
346 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347 test "X$echo_testing_string" = "X$echo_test_string"; then
348 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
350 SHELL
="$CONFIG_SHELL"
352 echo="$CONFIG_SHELL $0 --fallback-echo"
353 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 echo="$CONFIG_SHELL $0 --fallback-echo"
359 # maybe with a smaller string...
362 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
370 if test "$prev" != 'sed 50q "$0"'; then
371 echo_test_string
=`eval $prev`
372 export echo_test_string
373 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375 # Oops. We lost completely, so just stick with echo.
384 # Copy echo and quote the copy suitably for passing to libtool from
385 # the Makefile, instead of quoting the original, which is used later.
387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 tagnames
=${tagnames+${tagnames},}CXX
396 tagnames
=${tagnames+${tagnames},}F77
399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400 # so uname gets run too.
401 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
408 ac_default_prefix
=/usr
/local
409 ac_config_libobj_dir
=.
414 SHELL
=${CONFIG_SHELL-/bin/sh}
416 # Maximum number of lines to put in a shell here document.
417 # This variable seems obsolete. It should probably be removed, and
418 # only ac_max_sed_lines should be used.
419 : ${ac_max_here_lines=38}
421 # Identity of this package.
428 ac_unique_file
="vasprintf.c"
429 # Factoring default headers for most tests.
430 ac_includes_default
="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ALLOCA ALLOCA_H DVIPS TEXI2PDF PERL LIBOBJS LTLIBOBJS'
469 # Initialize some variables set by options.
471 ac_init_version
=false
472 # The variables have the same names as the options, with
473 # dashes changed to underlines.
481 program_transform_name
=s
,x
,x
,
489 # Installation directory options.
490 # These are left unexpanded so users can "make install exec_prefix=/foo"
491 # and all the variables that are supposed to be based on exec_prefix
492 # by default will actually change.
493 # Use braces instead of parens because sh, perl, etc. also accept them.
494 bindir
='${exec_prefix}/bin'
495 sbindir
='${exec_prefix}/sbin'
496 libexecdir
='${exec_prefix}/libexec'
497 datadir
='${prefix}/share'
498 sysconfdir
='${prefix}/etc'
499 sharedstatedir
='${prefix}/com'
500 localstatedir
='${prefix}/var'
501 libdir
='${exec_prefix}/lib'
502 includedir
='${prefix}/include'
503 oldincludedir
='/usr/include'
504 infodir
='${prefix}/info'
505 mandir
='${prefix}/man'
510 # If the previous option needs an argument, assign it.
511 if test -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
517 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
519 # Accept the important Cygnus configure options, so we can diagnose typos.
523 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
525 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
528 -build |
--build |
--buil |
--bui |
--bu)
529 ac_prev
=build_alias
;;
530 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
531 build_alias
=$ac_optarg ;;
533 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
534 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
535 ac_prev
=cache_file
;;
536 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
537 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
538 cache_file
=$ac_optarg ;;
541 cache_file
=config.cache
;;
543 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
545 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
547 datadir
=$ac_optarg ;;
549 -disable-* |
--disable-*)
550 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554 { (exit 1); exit 1; }; }
555 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
556 eval "enable_$ac_feature=no" ;;
558 -enable-* |
--enable-*)
559 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560 # Reject names that are not valid shell variable names.
561 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
562 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563 { (exit 1); exit 1; }; }
564 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
566 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569 eval "enable_$ac_feature='$ac_optarg'" ;;
571 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
572 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
573 |
--exec |
--exe |
--ex)
574 ac_prev
=exec_prefix
;;
575 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
576 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
577 |
--exec=* |
--exe=* |
--ex=*)
578 exec_prefix
=$ac_optarg ;;
580 -gas |
--gas |
--ga |
--g)
581 # Obsolete; use --with-gas.
584 -help |
--help |
--hel |
--he |
-h)
586 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
587 ac_init_help
=recursive
;;
588 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
589 ac_init_help
=short
;;
591 -host |
--host |
--hos |
--ho)
592 ac_prev
=host_alias
;;
593 -host=* |
--host=* |
--hos=* |
--ho=*)
594 host_alias
=$ac_optarg ;;
596 -includedir |
--includedir |
--includedi |
--included |
--include \
597 |
--includ |
--inclu |
--incl |
--inc)
598 ac_prev
=includedir
;;
599 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
600 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
601 includedir
=$ac_optarg ;;
603 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
605 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
606 infodir
=$ac_optarg ;;
608 -libdir |
--libdir |
--libdi |
--libd)
610 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
613 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
614 |
--libexe |
--libex |
--libe)
615 ac_prev
=libexecdir
;;
616 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
617 |
--libexe=* |
--libex=* |
--libe=*)
618 libexecdir
=$ac_optarg ;;
620 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
621 |
--localstate |
--localstat |
--localsta |
--localst \
622 |
--locals |
--local |
--loca |
--loc |
--lo)
623 ac_prev
=localstatedir
;;
624 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
625 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
626 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
627 localstatedir
=$ac_optarg ;;
629 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
631 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
635 # Obsolete; use --without-fp.
638 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
639 |
--no-cr |
--no-c |
-n)
642 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
643 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
646 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
647 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
648 |
--oldin |
--oldi |
--old |
--ol |
--o)
649 ac_prev
=oldincludedir
;;
650 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
651 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
652 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
653 oldincludedir
=$ac_optarg ;;
655 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
657 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
660 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
661 |
--program-pre |
--program-pr |
--program-p)
662 ac_prev
=program_prefix
;;
663 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
664 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
665 program_prefix
=$ac_optarg ;;
667 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
668 |
--program-suf |
--program-su |
--program-s)
669 ac_prev
=program_suffix
;;
670 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
671 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
672 program_suffix
=$ac_optarg ;;
674 -program-transform-name |
--program-transform-name \
675 |
--program-transform-nam |
--program-transform-na \
676 |
--program-transform-n |
--program-transform- \
677 |
--program-transform |
--program-transfor \
678 |
--program-transfo |
--program-transf \
679 |
--program-trans |
--program-tran \
680 |
--progr-tra |
--program-tr |
--program-t)
681 ac_prev
=program_transform_name
;;
682 -program-transform-name=* |
--program-transform-name=* \
683 |
--program-transform-nam=* |
--program-transform-na=* \
684 |
--program-transform-n=* |
--program-transform-=* \
685 |
--program-transform=* |
--program-transfor=* \
686 |
--program-transfo=* |
--program-transf=* \
687 |
--program-trans=* |
--program-tran=* \
688 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
689 program_transform_name
=$ac_optarg ;;
691 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
692 |
-silent |
--silent |
--silen |
--sile |
--sil)
695 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
697 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
699 sbindir
=$ac_optarg ;;
701 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
702 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
703 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
705 ac_prev
=sharedstatedir
;;
706 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
707 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
708 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
710 sharedstatedir
=$ac_optarg ;;
712 -site |
--site |
--sit)
714 -site=* |
--site=* |
--sit=*)
717 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
719 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
722 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
723 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
724 ac_prev
=sysconfdir
;;
725 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
726 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
727 sysconfdir
=$ac_optarg ;;
729 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
730 ac_prev
=target_alias
;;
731 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
732 target_alias
=$ac_optarg ;;
734 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
737 -version |
--version |
--versio |
--versi |
--vers |
-V)
741 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742 # Reject names that are not valid shell variable names.
743 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
744 { echo "$as_me: error: invalid package name: $ac_package" >&2
745 { (exit 1); exit 1; }; }
746 ac_package
=`echo $ac_package| sed 's/-/_/g'`
748 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751 eval "with_$ac_package='$ac_optarg'" ;;
753 -without-* |
--without-*)
754 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
757 { echo "$as_me: error: invalid package name: $ac_package" >&2
758 { (exit 1); exit 1; }; }
759 ac_package
=`echo $ac_package | sed 's/-/_/g'`
760 eval "with_$ac_package=no" ;;
763 # Obsolete; use --with-x.
766 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
767 |
--x-incl |
--x-inc |
--x-in |
--x-i)
768 ac_prev
=x_includes
;;
769 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
770 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
771 x_includes
=$ac_optarg ;;
773 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
774 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
775 ac_prev
=x_libraries
;;
776 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
777 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
778 x_libraries
=$ac_optarg ;;
780 -*) { echo "$as_me: error: unrecognized option: $ac_option
781 Try \`$0 --help' for more information." >&2
782 { (exit 1); exit 1; }; }
786 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
789 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790 { (exit 1); exit 1; }; }
791 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792 eval "$ac_envvar='$ac_optarg'"
796 # FIXME: should be removed in autoconf 3.0.
797 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
798 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
799 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
800 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
806 if test -n "$ac_prev"; then
807 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
808 { echo "$as_me: error: missing argument to $ac_option" >&2
809 { (exit 1); exit 1; }; }
812 # Be sure to have absolute paths.
813 for ac_var
in exec_prefix prefix
815 eval ac_val
=$
`echo $ac_var`
817 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
818 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819 { (exit 1); exit 1; }; };;
823 # Be sure to have absolute paths.
824 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825 localstatedir libdir includedir oldincludedir infodir mandir
827 eval ac_val
=$
`echo $ac_var`
829 [\\/$
]* | ?
:[\\/]* ) ;;
830 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831 { (exit 1); exit 1; }; };;
835 # There might be people who depend on the old broken behavior: `$host'
836 # used to hold the argument of --host etc.
837 # FIXME: To remove some day.
842 # FIXME: To remove some day.
843 if test "x$host_alias" != x
; then
844 if test "x$build_alias" = x
; then
845 cross_compiling
=maybe
846 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
847 If a cross compiler is detected then cross compile mode will be used." >&2
848 elif test "x$build_alias" != "x$host_alias"; then
854 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
856 test "$silent" = yes && exec 6>/dev
/null
859 # Find the source files, if location was not specified.
860 if test -z "$srcdir"; then
861 ac_srcdir_defaulted
=yes
862 # Try the directory containing this script, then its parent.
863 ac_confdir
=`(dirname "$0") 2>/dev/null ||
864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865 X"$0" : 'X\(//\)[^/]' \| \
866 X"$0" : 'X\(//\)$' \| \
867 X"$0" : 'X\(/\)' \| \
868 . : '\(.\)' 2>/dev/null ||
870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872 /^X\(\/\/\)$/{ s//\1/; q; }
873 /^X\(\/\).*/{ s//\1/; q; }
876 if test ! -r $srcdir/$ac_unique_file; then
880 ac_srcdir_defaulted
=no
882 if test ! -r $srcdir/$ac_unique_file; then
883 if test "$ac_srcdir_defaulted" = yes; then
884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885 { (exit 1); exit 1; }; }
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888 { (exit 1); exit 1; }; }
891 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
892 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893 { (exit 1); exit 1; }; }
894 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895 ac_env_build_alias_set
=${build_alias+set}
896 ac_env_build_alias_value
=$build_alias
897 ac_cv_env_build_alias_set
=${build_alias+set}
898 ac_cv_env_build_alias_value
=$build_alias
899 ac_env_host_alias_set
=${host_alias+set}
900 ac_env_host_alias_value
=$host_alias
901 ac_cv_env_host_alias_set
=${host_alias+set}
902 ac_cv_env_host_alias_value
=$host_alias
903 ac_env_target_alias_set
=${target_alias+set}
904 ac_env_target_alias_value
=$target_alias
905 ac_cv_env_target_alias_set
=${target_alias+set}
906 ac_cv_env_target_alias_value
=$target_alias
907 ac_env_CC_set
=${CC+set}
909 ac_cv_env_CC_set
=${CC+set}
910 ac_cv_env_CC_value
=$CC
911 ac_env_CFLAGS_set
=${CFLAGS+set}
912 ac_env_CFLAGS_value
=$CFLAGS
913 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
914 ac_cv_env_CFLAGS_value
=$CFLAGS
915 ac_env_LDFLAGS_set
=${LDFLAGS+set}
916 ac_env_LDFLAGS_value
=$LDFLAGS
917 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_cv_env_LDFLAGS_value
=$LDFLAGS
919 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
920 ac_env_CPPFLAGS_value
=$CPPFLAGS
921 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_env_CXX_set
=${CXX+set}
924 ac_env_CXX_value
=$CXX
925 ac_cv_env_CXX_set
=${CXX+set}
926 ac_cv_env_CXX_value
=$CXX
927 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
928 ac_env_CXXFLAGS_value
=$CXXFLAGS
929 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
930 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
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 CC C compiler
command
1047 CFLAGS C compiler flags
1048 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1049 nonstandard directory
<lib dir
>
1050 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1051 headers
in a nonstandard directory
<include dir
>
1052 CXX C
++ compiler
command
1053 CXXFLAGS C
++ compiler flags
1055 CXXCPP C
++ preprocessor
1056 F77 Fortran
77 compiler
command
1057 FFLAGS Fortran
77 compiler flags
1059 Use these variables to override the choices made by
`configure' or to help
1060 it to find libraries and programs with nonstandard names/locations.
1065 if test "$ac_init_help" = "recursive"; then
1066 # If there are subdirs, report their specific --help.
1068 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1069 test -d $ac_dir || continue
1072 if test "$ac_dir" != .; then
1073 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1074 # A "../" for each directory in $ac_dir_suffix.
1075 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1077 ac_dir_suffix= ac_top_builddir=
1081 .) # No --srcdir option. We are building in place.
1083 if test -z "$ac_top_builddir"; then
1086 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1088 [\\/]* | ?:[\\/]* ) # Absolute path.
1089 ac_srcdir=$srcdir$ac_dir_suffix;
1090 ac_top_srcdir=$srcdir ;;
1092 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1093 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1096 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1097 # the directories may not exist.
1099 .) ac_abs_builddir="$ac_dir";;
1102 .) ac_abs_builddir=`pwd`;;
1103 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1104 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1107 case $ac_abs_builddir in
1108 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1110 case ${ac_top_builddir}. in
1111 .) ac_abs_top_builddir=$ac_abs_builddir;;
1112 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1113 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1116 case $ac_abs_builddir in
1117 .) ac_abs_srcdir=$ac_srcdir;;
1120 .) ac_abs_srcdir=$ac_abs_builddir;;
1121 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1122 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1125 case $ac_abs_builddir in
1126 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1128 case $ac_top_srcdir in
1129 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1130 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1131 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1136 # Check for guested configure; otherwise get Cygnus style configure.
1137 if test -f $ac_srcdir/configure.gnu; then
1139 $SHELL $ac_srcdir/configure.gnu --help=recursive
1140 elif test -f $ac_srcdir/configure; then
1142 $SHELL $ac_srcdir/configure --help=recursive
1143 elif test -f $ac_srcdir/configure.ac ||
1144 test -f $ac_srcdir/configure.in; then
1146 $ac_configure --help
1148 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1154 test -n "$ac_init_help" && exit 0
1155 if $ac_init_version; then
1158 Copyright (C) 2003 Free Software Foundation, Inc.
1159 This configure script is free software; the Free Software Foundation
1160 gives unlimited permission to copy, distribute and modify it.
1166 This file contains any messages produced by compilers while
1167 running configure, to aid debugging if configure makes a mistake.
1169 It was created by $as_me, which was
1170 generated by GNU Autoconf 2.59. Invocation command line was
1181 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1182 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1183 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1184 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1185 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1187 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1188 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1190 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1191 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1192 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1193 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1194 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1195 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1196 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1204 test -z "$as_dir" && as_dir=.
1205 echo "PATH: $as_dir"
1220 # Keep a trace of the command line.
1221 # Strip out --no-create and --no-recursion so they do not pile up.
1222 # Strip out --silent because we don't want to record it for future runs.
1223 # Also quote any args containing shell meta-characters.
1224 # Make two passes to allow for proper duplicate-argument suppression.
1229 ac_must_keep_next=false
1235 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1237 | -silent | --silent | --silen | --sile | --sil)
1239 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1240 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1243 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1245 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1246 if test $ac_must_keep_next = true; then
1247 ac_must_keep_next=false # Got value, back to normal.
1250 *=* | --config-cache | -C | -disable-* | --disable-* \
1251 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1252 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1253 | -with-* | --with-* | -without-* | --without-* | --x)
1254 case "$ac_configure_args0 " in
1255 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1258 -* ) ac_must_keep_next=true ;;
1261 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1262 # Get rid of the leading space.
1268 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1269 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1271 # When interrupted or exit'd, cleanup temporary files, and complete
1272 # config.log. We remove comments because anyway the quotes in there
1273 # would cause problems or look ugly.
1274 # WARNING: Be sure not to use single quotes in there, as some shells,
1275 # such as our DU 5.0 friend, will then `close
' the trap.
1276 trap 'exit_status
=$?
1277 # Save into config.log some information that might help in debugging.
1282 ## ---------------- ##
1283 ## Cache variables. ##
1284 ## ---------------- ##
1287 # The following way of writing the cache mishandles newlines in values,
1290 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1293 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1305 ## ----------------- ##
1306 ## Output variables. ##
1307 ## ----------------- ##
1310 for ac_var
in $ac_subst_vars
1312 eval ac_val
=$
`echo $ac_var`
1313 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -n "$ac_subst_files"; then
1324 for ac_var
in $ac_subst_files
1326 eval ac_val
=$
`echo $ac_var`
1327 echo "$ac_var='"'"'$ac_val'"'"'"
1332 if test -s confdefs.h
; then
1339 sed "/^$/d" confdefs.h |
sort
1342 test "$ac_signal" != 0 &&
1343 echo "$as_me: caught signal $ac_signal"
1344 echo "$as_me: exit $exit_status"
1346 rm -f core
*.core
&&
1347 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1350 for ac_signal in 1 2 13 15; do
1351 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1355 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1356 rm -rf conftest* confdefs.h
1357 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1360 # Predefined preprocessor variables.
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_NAME "$PACKAGE_NAME"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1372 cat >>confdefs.h <<_ACEOF
1373 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1377 cat >>confdefs.h <<_ACEOF
1378 #define PACKAGE_STRING "$PACKAGE_STRING"
1382 cat >>confdefs.h <<_ACEOF
1383 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1387 # Let the site file select an alternate cache file if it wants to.
1388 # Prefer explicitly selected file to automatically selected ones.
1389 if test -z "$CONFIG_SITE"; then
1390 if test "x$prefix" != xNONE; then
1391 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1393 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1396 for ac_site_file in $CONFIG_SITE; do
1397 if test -r "$ac_site_file"; then
1398 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1399 echo "$as_me: loading site script $ac_site_file" >&6;}
1400 sed 's
/^
/|
/' "$ac_site_file" >&5
1405 if test -r "$cache_file"; then
1406 # Some versions of bash will fail to source /dev/null (special
1407 # files actually), so we avoid doing that.
1408 if test -f "$cache_file"; then
1409 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1410 echo "$as_me: loading cache $cache_file" >&6;}
1412 [\\/]* | ?:[\\/]* ) . $cache_file;;
1413 *) . ./$cache_file;;
1417 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1418 echo "$as_me: creating cache $cache_file" >&6;}
1422 # Check that the precious variables saved in the cache have kept the same
1424 ac_cache_corrupted=false
1425 for ac_var in `(set) 2>&1 |
1426 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1427 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1428 eval ac_new_set=\$ac_env_${ac_var}_set
1429 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1430 eval ac_new_val="\$ac_env_${ac_var}_value"
1431 case $ac_old_set,$ac_new_set in
1433 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1434 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1435 ac_cache_corrupted=: ;;
1437 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1438 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1439 ac_cache_corrupted=: ;;
1442 if test "x$ac_old_val" != "x$ac_new_val"; then
1443 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1444 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1445 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1446 echo "$as_me: former value: $ac_old_val" >&2;}
1447 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1448 echo "$as_me: current value: $ac_new_val" >&2;}
1449 ac_cache_corrupted=:
1452 # Pass precious variables to config.status.
1453 if test "$ac_new_set" = set; then
1455 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1456 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1457 *) ac_arg=$ac_var=$ac_new_val ;;
1459 case " $ac_configure_args " in
1460 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1461 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1465 if $ac_cache_corrupted; then
1466 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1467 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1468 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1469 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1470 { (exit 1); exit 1; }; }
1474 ac_cpp='$CPP $CPPFLAGS'
1475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1476 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1499 for ac_dir in ../../build-aux $srcdir/../../build-aux; do
1500 if test -f $ac_dir/install-sh; then
1502 ac_install_sh="$ac_aux_dir/install-sh -c"
1504 elif test -f $ac_dir/install.sh; then
1506 ac_install_sh="$ac_aux_dir/install.sh -c"
1508 elif test -f $ac_dir/shtool; then
1510 ac_install_sh="$ac_aux_dir/shtool install -c"
1514 if test -z "$ac_aux_dir"; then
1515 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../build-aux $srcdir/../../build-aux" >&5
1516 echo "$as_me: error: cannot find install-sh or install.sh in ../../build-aux $srcdir/../../build-aux" >&2;}
1517 { (exit 1); exit 1; }; }
1519 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1520 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1521 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1523 am__api_version="1.9"
1524 # Find a good install program. We prefer a C program (faster),
1525 # so one script is as good as another. But avoid the broken or
1526 # incompatible versions:
1527 # SysV /etc/install, /usr/sbin/install
1528 # SunOS /usr/etc/install
1529 # IRIX /sbin/install
1531 # AmigaOS /C/install, which installs bootblocks on floppy discs
1532 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1533 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1534 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1535 # OS/2's system install, which has a completely different semantic
1536 # ./install, which can be erroneously created by make from ./install.sh.
1537 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1538 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1539 if test -z "$INSTALL"; then
1540 if test "${ac_cv_path_install+set}" = set; then
1541 echo $ECHO_N "(cached) $ECHO_C" >&6
1543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1547 test -z "$as_dir" && as_dir
=.
1548 # Account for people who put trailing slashes in PATH elements.
1550 .
/ | .
// |
/cC
/* | \
1551 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1552 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1555 # OSF1 and SCO ODT 3.0 have their own names for install.
1556 # Don't use installbsd from OSF since it installs stuff as root
1558 for ac_prog
in ginstall scoinst
install; do
1559 for ac_exec_ext
in '' $ac_executable_extensions; do
1560 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1561 if test $ac_prog = install &&
1562 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1563 # AIX install. It has an incompatible calling convention.
1565 elif test $ac_prog = install &&
1566 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1567 # program-specific install script used by HP pwplus--don't use.
1570 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1582 if test "${ac_cv_path_install+set}" = set; then
1583 INSTALL
=$ac_cv_path_install
1585 # As a last resort, use the slow shell script. We don't cache a
1586 # path for INSTALL within a source directory, because that will
1587 # break other packages using the cache if that directory is
1588 # removed, or if the path is relative.
1589 INSTALL
=$ac_install_sh
1592 echo "$as_me:$LINENO: result: $INSTALL" >&5
1593 echo "${ECHO_T}$INSTALL" >&6
1595 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1596 # It thinks the first close brace ends the variable substitution.
1597 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1599 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1601 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1603 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1604 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1607 echo timestamp
> conftest.
file
1608 # Do `set' in a subshell so we don't clobber the current shell's
1609 # arguments. Must try -L first in case configure is actually a
1610 # symlink; some systems play weird games with the mod time of symlinks
1611 # (eg FreeBSD returns the mod time of the symlink's containing
1614 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1615 if test "$*" = "X"; then
1617 set X
`ls -t $srcdir/configure conftest.file`
1620 if test "$*" != "X $srcdir/configure conftest.file" \
1621 && test "$*" != "X conftest.file $srcdir/configure"; then
1623 # If neither matched, then we have a broken ls. This can happen
1624 # if, for instance, CONFIG_SHELL is bash and it inherits a
1625 # broken ls alias from the environment. This has actually
1626 # happened. Such a system could not be considered "sane".
1627 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1628 alias in your environment" >&5
1629 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1630 alias in your environment" >&2;}
1631 { (exit 1); exit 1; }; }
1634 test "$2" = conftest.
file
1640 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1641 Check your system clock" >&5
1642 echo "$as_me: error: newly created file is older than distributed files!
1643 Check your system clock" >&2;}
1644 { (exit 1); exit 1; }; }
1646 echo "$as_me:$LINENO: result: yes" >&5
1647 echo "${ECHO_T}yes" >&6
1648 test "$program_prefix" != NONE
&&
1649 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1650 # Use a double $ so make ignores it.
1651 test "$program_suffix" != NONE
&&
1652 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1653 # Double any \ or $. echo might interpret backslashes.
1654 # By default was `s,x,x', remove it if useless.
1655 cat <<\_ACEOF
>conftest.
sed
1656 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1658 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1661 # expand $ac_aux_dir to an absolute path
1662 am_aux_dir
=`cd $ac_aux_dir && pwd`
1664 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1665 # Use eval to expand $SHELL
1666 if eval "$MISSING --run true"; then
1667 am_missing_run
="$MISSING --run "
1670 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1671 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1674 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1675 # We used to keeping the `.' as first argument, in order to
1676 # allow $(mkdir_p) to be used without argument. As in
1677 # $(mkdir_p) $(somedir)
1678 # where $(somedir) is conditionally defined. However this is wrong
1680 # 1. if the package is installed by a user who cannot write `.'
1681 # make install will fail,
1682 # 2. the above comment should most certainly read
1683 # $(mkdir_p) $(DESTDIR)$(somedir)
1684 # so it does not work when $(somedir) is undefined and
1685 # $(DESTDIR) is not.
1686 # To support the latter case, we have to write
1687 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1688 # so the `.' trick is pointless.
1689 mkdir_p
='mkdir -p --'
1691 # On NextStep and OpenStep, the `mkdir' command does not
1692 # recognize any option. It will interpret all options as
1693 # directories to create, and then abort because `.' already
1695 for d
in .
/-p .
/--version;
1697 test -d $d && rmdir $d
1699 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1700 if test -f "$ac_aux_dir/mkinstalldirs"; then
1701 mkdir_p
='$(mkinstalldirs)'
1703 mkdir_p
='$(install_sh) -d'
1707 for ac_prog
in gawk mawk nawk
awk
1709 # Extract the first word of "$ac_prog", so it can be a program name with args.
1710 set dummy
$ac_prog; ac_word
=$2
1711 echo "$as_me:$LINENO: checking for $ac_word" >&5
1712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1713 if test "${ac_cv_prog_AWK+set}" = set; then
1714 echo $ECHO_N "(cached) $ECHO_C" >&6
1716 if test -n "$AWK"; then
1717 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1723 test -z "$as_dir" && as_dir
=.
1724 for ac_exec_ext
in '' $ac_executable_extensions; do
1725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1726 ac_cv_prog_AWK
="$ac_prog"
1727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736 if test -n "$AWK"; then
1737 echo "$as_me:$LINENO: result: $AWK" >&5
1738 echo "${ECHO_T}$AWK" >&6
1740 echo "$as_me:$LINENO: result: no" >&5
1741 echo "${ECHO_T}no" >&6
1744 test -n "$AWK" && break
1747 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1748 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1749 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1750 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 cat >conftest.
make <<\_ACEOF
1755 @
echo 'ac_maketemp="$(MAKE)"'
1757 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1758 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1759 if test -n "$ac_maketemp"; then
1760 eval ac_cv_prog_make_
${ac_make}_set
=yes
1762 eval ac_cv_prog_make_
${ac_make}_set
=no
1766 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1767 echo "$as_me:$LINENO: result: yes" >&5
1768 echo "${ECHO_T}yes" >&6
1771 echo "$as_me:$LINENO: result: no" >&5
1772 echo "${ECHO_T}no" >&6
1773 SET_MAKE
="MAKE=${MAKE-make}"
1776 rm -rf .tst
2>/dev
/null
1777 mkdir .tst
2>/dev
/null
1778 if test -d .tst
; then
1783 rmdir .tst
2>/dev
/null
1785 # test to see if srcdir already configured
1786 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1787 test -f $srcdir/config.status
; then
1788 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1789 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1790 { (exit 1); exit 1; }; }
1793 # test whether we have cygpath
1794 if test -z "$CYGPATH_W"; then
1795 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1796 CYGPATH_W
='cygpath -w'
1803 # Define the identity of the package.
1808 cat >>confdefs.h
<<_ACEOF
1809 #define PACKAGE "$PACKAGE"
1813 cat >>confdefs.h
<<_ACEOF
1814 #define VERSION "$VERSION"
1817 # Some tools Automake needs.
1819 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1822 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1825 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1828 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1831 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1833 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1835 # Installed binaries are usually stripped using `strip' when the user
1836 # run `make install-strip'. However `strip' might not be the right
1837 # tool to use in cross-compilation environments, therefore Automake
1838 # will honor the `STRIP' environment variable to overrule this program.
1839 if test "$cross_compiling" != no
; then
1840 if test -n "$ac_tool_prefix"; then
1841 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1842 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1843 echo "$as_me:$LINENO: checking for $ac_word" >&5
1844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1845 if test "${ac_cv_prog_STRIP+set}" = set; then
1846 echo $ECHO_N "(cached) $ECHO_C" >&6
1848 if test -n "$STRIP"; then
1849 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1855 test -z "$as_dir" && as_dir
=.
1856 for ac_exec_ext
in '' $ac_executable_extensions; do
1857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1858 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1867 STRIP
=$ac_cv_prog_STRIP
1868 if test -n "$STRIP"; then
1869 echo "$as_me:$LINENO: result: $STRIP" >&5
1870 echo "${ECHO_T}$STRIP" >&6
1872 echo "$as_me:$LINENO: result: no" >&5
1873 echo "${ECHO_T}no" >&6
1877 if test -z "$ac_cv_prog_STRIP"; then
1879 # Extract the first word of "strip", so it can be a program name with args.
1880 set dummy strip
; ac_word
=$2
1881 echo "$as_me:$LINENO: checking for $ac_word" >&5
1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1884 echo $ECHO_N "(cached) $ECHO_C" >&6
1886 if test -n "$ac_ct_STRIP"; then
1887 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1893 test -z "$as_dir" && as_dir
=.
1894 for ac_exec_ext
in '' $ac_executable_extensions; do
1895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896 ac_cv_prog_ac_ct_STRIP
="strip"
1897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1906 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1907 if test -n "$ac_ct_STRIP"; then
1908 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1909 echo "${ECHO_T}$ac_ct_STRIP" >&6
1911 echo "$as_me:$LINENO: result: no" >&5
1912 echo "${ECHO_T}no" >&6
1917 STRIP
="$ac_cv_prog_STRIP"
1921 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1923 # We need awk for the "check" target. The system "awk" is bad on
1925 # Always define AMTAR for backward compatibility.
1927 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1929 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1935 ac_config_headers
="$ac_config_headers config.h"
1939 ac_cpp
='$CPP $CPPFLAGS'
1940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1943 if test -n "$ac_tool_prefix"; then
1944 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1945 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1946 echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1948 if test "${ac_cv_prog_CC+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 if test -n "$CC"; then
1952 ac_cv_prog_CC
="$CC" # Let the user override the test.
1954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir
=.
1959 for ac_exec_ext
in '' $ac_executable_extensions; do
1960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1971 if test -n "$CC"; then
1972 echo "$as_me:$LINENO: result: $CC" >&5
1973 echo "${ECHO_T}$CC" >&6
1975 echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1980 if test -z "$ac_cv_prog_CC"; then
1982 # Extract the first word of "gcc", so it can be a program name with args.
1983 set dummy gcc
; ac_word
=$2
1984 echo "$as_me:$LINENO: checking for $ac_word" >&5
1985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1986 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1989 if test -n "$ac_ct_CC"; then
1990 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir
=.
1997 for ac_exec_ext
in '' $ac_executable_extensions; do
1998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1999 ac_cv_prog_ac_ct_CC
="gcc"
2000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2008 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2009 if test -n "$ac_ct_CC"; then
2010 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2011 echo "${ECHO_T}$ac_ct_CC" >&6
2013 echo "$as_me:$LINENO: result: no" >&5
2014 echo "${ECHO_T}no" >&6
2022 if test -z "$CC"; then
2023 if test -n "$ac_tool_prefix"; then
2024 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2025 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2026 echo "$as_me:$LINENO: checking for $ac_word" >&5
2027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2028 if test "${ac_cv_prog_CC+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 if test -n "$CC"; then
2032 ac_cv_prog_CC
="$CC" # Let the user override the test.
2034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2038 test -z "$as_dir" && as_dir
=.
2039 for ac_exec_ext
in '' $ac_executable_extensions; do
2040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2041 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 if test -n "$CC"; then
2052 echo "$as_me:$LINENO: result: $CC" >&5
2053 echo "${ECHO_T}$CC" >&6
2055 echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6
2060 if test -z "$ac_cv_prog_CC"; then
2062 # Extract the first word of "cc", so it can be a program name with args.
2063 set dummy cc
; ac_word
=$2
2064 echo "$as_me:$LINENO: checking for $ac_word" >&5
2065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2066 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 if test -n "$ac_ct_CC"; then
2070 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2076 test -z "$as_dir" && as_dir
=.
2077 for ac_exec_ext
in '' $ac_executable_extensions; do
2078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2079 ac_cv_prog_ac_ct_CC
="cc"
2080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2089 if test -n "$ac_ct_CC"; then
2090 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2091 echo "${ECHO_T}$ac_ct_CC" >&6
2093 echo "$as_me:$LINENO: result: no" >&5
2094 echo "${ECHO_T}no" >&6
2103 if test -z "$CC"; then
2104 # Extract the first word of "cc", so it can be a program name with args.
2105 set dummy cc
; ac_word
=$2
2106 echo "$as_me:$LINENO: checking for $ac_word" >&5
2107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2108 if test "${ac_cv_prog_CC+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 if test -n "$CC"; then
2112 ac_cv_prog_CC
="$CC" # Let the user override the test.
2115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir
=.
2120 for ac_exec_ext
in '' $ac_executable_extensions; do
2121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2123 ac_prog_rejected
=yes
2127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 if test $ac_prog_rejected = yes; then
2134 # We found a bogon in the path, so make sure we never use it.
2135 set dummy
$ac_cv_prog_CC
2137 if test $# != 0; then
2138 # We chose a different compiler from the bogus one.
2139 # However, it has the same basename, so the bogon will be chosen
2140 # first if we set CC to just the basename; use the full file name.
2142 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2148 if test -n "$CC"; then
2149 echo "$as_me:$LINENO: result: $CC" >&5
2150 echo "${ECHO_T}$CC" >&6
2152 echo "$as_me:$LINENO: result: no" >&5
2153 echo "${ECHO_T}no" >&6
2157 if test -z "$CC"; then
2158 if test -n "$ac_tool_prefix"; then
2161 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2162 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2163 echo "$as_me:$LINENO: checking for $ac_word" >&5
2164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2165 if test "${ac_cv_prog_CC+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 if test -n "$CC"; then
2169 ac_cv_prog_CC
="$CC" # Let the user override the test.
2171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir
=.
2176 for ac_exec_ext
in '' $ac_executable_extensions; do
2177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2178 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 if test -n "$CC"; then
2189 echo "$as_me:$LINENO: result: $CC" >&5
2190 echo "${ECHO_T}$CC" >&6
2192 echo "$as_me:$LINENO: result: no" >&5
2193 echo "${ECHO_T}no" >&6
2196 test -n "$CC" && break
2199 if test -z "$CC"; then
2203 # Extract the first word of "$ac_prog", so it can be a program name with args.
2204 set dummy
$ac_prog; ac_word
=$2
2205 echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2207 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 if test -n "$ac_ct_CC"; then
2211 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2217 test -z "$as_dir" && as_dir
=.
2218 for ac_exec_ext
in '' $ac_executable_extensions; do
2219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2220 ac_cv_prog_ac_ct_CC
="$ac_prog"
2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2230 if test -n "$ac_ct_CC"; then
2231 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2232 echo "${ECHO_T}$ac_ct_CC" >&6
2234 echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6
2238 test -n "$ac_ct_CC" && break
2247 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2248 See \`config.log' for more details." >&5
2249 echo "$as_me: error: no acceptable C compiler found in \$PATH
2250 See \`config.log' for more details." >&2;}
2251 { (exit 1); exit 1; }; }
2253 # Provide some information about the compiler.
2254 echo "$as_me:$LINENO:" \
2255 "checking for C compiler version" >&5
2256 ac_compiler
=`set X $ac_compile; echo $2`
2257 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2258 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); }
2262 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2263 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); }
2267 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2268 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }
2273 cat >conftest.
$ac_ext <<_ACEOF
2276 cat confdefs.h
>>conftest.
$ac_ext
2277 cat >>conftest.
$ac_ext <<_ACEOF
2278 /* end confdefs.h. */
2288 ac_clean_files_save
=$ac_clean_files
2289 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2290 # Try to create an executable without -o first, disregard a.out.
2291 # It will help us diagnose broken compilers, and finding out an intuition
2293 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2294 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2295 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2296 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2297 (eval $ac_link_default) 2>&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; then
2301 # Find the output, starting from the most likely. This scheme is
2302 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2305 # Be careful to initialize this variable, since it used to be cached.
2306 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2308 # b.out is created by i960 compilers.
2309 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2311 test -f "$ac_file" ||
continue
2313 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2316 # This is the source file.
2319 # We found the default executable, but exeext='' is most
2323 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2324 # FIXME: I believe we export ac_cv_exeext for Libtool,
2325 # but it would be cool to find out if it's true. Does anybody
2326 # maintain Libtool? --akim.
2334 echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.
$ac_ext >&5
2337 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2338 See \`config.log' for more details." >&5
2339 echo "$as_me: error: C compiler cannot create executables
2340 See \`config.log' for more details." >&2;}
2341 { (exit 77); exit 77; }; }
2344 ac_exeext
=$ac_cv_exeext
2345 echo "$as_me:$LINENO: result: $ac_file" >&5
2346 echo "${ECHO_T}$ac_file" >&6
2348 # Check the compiler produces executables we can run. If not, either
2349 # the compiler is broken, or we cross compile.
2350 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2351 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2352 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2353 # If not cross compiling, check that we can run a simple program.
2354 if test "$cross_compiling" != yes; then
2355 if { ac_try
='./$ac_file'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2363 if test "$cross_compiling" = maybe
; then
2366 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2367 If you meant to cross compile, use \`--host'.
2368 See \`config.log' for more details." >&5
2369 echo "$as_me: error: cannot run C compiled programs.
2370 If you meant to cross compile, use \`--host'.
2371 See \`config.log' for more details." >&2;}
2372 { (exit 1); exit 1; }; }
2376 echo "$as_me:$LINENO: result: yes" >&5
2377 echo "${ECHO_T}yes" >&6
2379 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2380 ac_clean_files
=$ac_clean_files_save
2381 # Check the compiler produces executables we can run. If not, either
2382 # the compiler is broken, or we cross compile.
2383 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2384 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2385 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2386 echo "${ECHO_T}$cross_compiling" >&6
2388 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2389 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2391 (eval $ac_link) 2>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }; then
2395 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2396 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2397 # work properly (i.e., refer to `conftest.exe'), while it won't with
2399 for ac_file
in conftest.exe conftest conftest.
*; do
2400 test -f "$ac_file" ||
continue
2402 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2403 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2410 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2411 See \`config.log' for more details." >&5
2412 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2413 See \`config.log' for more details." >&2;}
2414 { (exit 1); exit 1; }; }
2417 rm -f conftest
$ac_cv_exeext
2418 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2419 echo "${ECHO_T}$ac_cv_exeext" >&6
2421 rm -f conftest.
$ac_ext
2422 EXEEXT
=$ac_cv_exeext
2424 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2425 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2426 if test "${ac_cv_objext+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 cat >conftest.
$ac_ext <<_ACEOF
2432 cat confdefs.h
>>conftest.
$ac_ext
2433 cat >>conftest.
$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2444 rm -f conftest.o conftest.obj
2445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2446 (eval $ac_compile) 2>&5
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); }; then
2450 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2452 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2453 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2458 echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.
$ac_ext >&5
2461 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2462 See \`config.log' for more details." >&5
2463 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2464 See \`config.log' for more details." >&2;}
2465 { (exit 1); exit 1; }; }
2468 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2470 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2471 echo "${ECHO_T}$ac_cv_objext" >&6
2472 OBJEXT
=$ac_cv_objext
2474 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2475 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2476 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 cat >conftest.
$ac_ext <<_ACEOF
2482 cat confdefs.h
>>conftest.
$ac_ext
2483 cat >>conftest.
$ac_ext <<_ACEOF
2484 /* end confdefs.h. */
2497 rm -f conftest.
$ac_objext
2498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2499 (eval $ac_compile) 2>conftest.er1
2501 grep -v '^ *+' conftest.er1
>conftest.err
2503 cat conftest.err
>&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); } &&
2506 { ac_try
='test -z "$ac_c_werror_flag"
2507 || test ! -s conftest.err'
2508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }; } &&
2513 { ac_try
='test -s conftest.$ac_objext'
2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; }; then
2521 echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.
$ac_ext >&5
2526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2527 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2530 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2531 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2532 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2533 ac_test_CFLAGS
=${CFLAGS+set}
2534 ac_save_CFLAGS
=$CFLAGS
2536 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2537 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2538 if test "${ac_cv_prog_cc_g+set}" = set; then
2539 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 cat >conftest.
$ac_ext <<_ACEOF
2544 cat confdefs.h
>>conftest.
$ac_ext
2545 cat >>conftest.
$ac_ext <<_ACEOF
2546 /* end confdefs.h. */
2556 rm -f conftest.
$ac_objext
2557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2558 (eval $ac_compile) 2>conftest.er1
2560 grep -v '^ *+' conftest.er1
>conftest.err
2562 cat conftest.err
>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); } &&
2565 { ac_try
='test -z "$ac_c_werror_flag"
2566 || test ! -s conftest.err'
2567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; } &&
2572 { ac_try
='test -s conftest.$ac_objext'
2573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; }; then
2580 echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.
$ac_ext >&5
2585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2587 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2588 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2589 if test "$ac_test_CFLAGS" = set; then
2590 CFLAGS
=$ac_save_CFLAGS
2591 elif test $ac_cv_prog_cc_g = yes; then
2592 if test "$GCC" = yes; then
2598 if test "$GCC" = yes; then
2604 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2605 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2606 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2609 ac_cv_prog_cc_stdc
=no
2611 cat >conftest.
$ac_ext <<_ACEOF
2614 cat confdefs.h
>>conftest.
$ac_ext
2615 cat >>conftest.
$ac_ext <<_ACEOF
2616 /* end confdefs.h. */
2619 #include <sys/types.h>
2620 #include <sys/stat.h>
2621 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2622 struct buf { int x; };
2623 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2624 static char *e (p, i)
2630 static char *f (char * (*g) (char **, int), char **p, ...)
2635 s = g (p, va_arg (v,int));
2640 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2641 function prototypes and stuff, but not '\xHH' hex character constants.
2642 These don't provoke an error unfortunately, instead are silently treated
2643 as 'x'. The following induces an error, until -std1 is added to get
2644 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2645 array size at least. It's necessary to write '\x00'==0 to get something
2646 that's true only with -std1. */
2647 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2649 int test (int i, double x);
2650 struct s1 {int (*f) (int a);};
2651 struct s2 {int (*f) (double a);};
2652 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2658 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2663 # Don't try gcc -ansi; that turns off useful extensions and
2664 # breaks some systems' header files.
2665 # AIX -qlanglvl=ansi
2666 # Ultrix and OSF/1 -std1
2667 # HP-UX 10.20 and later -Ae
2668 # HP-UX older versions -Aa -D_HPUX_SOURCE
2669 # SVR4 -Xc -D__EXTENSIONS__
2670 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2672 CC
="$ac_save_CC $ac_arg"
2673 rm -f conftest.
$ac_objext
2674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2675 (eval $ac_compile) 2>conftest.er1
2677 grep -v '^ *+' conftest.er1
>conftest.err
2679 cat conftest.err
>&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); } &&
2682 { ac_try
='test -z "$ac_c_werror_flag"
2683 || test ! -s conftest.err'
2684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); }; } &&
2689 { ac_try
='test -s conftest.$ac_objext'
2690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }; }; then
2695 ac_cv_prog_cc_stdc
=$ac_arg
2698 echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.
$ac_ext >&5
2702 rm -f conftest.err conftest.
$ac_objext
2704 rm -f conftest.
$ac_ext conftest.
$ac_objext
2709 case "x$ac_cv_prog_cc_stdc" in
2711 echo "$as_me:$LINENO: result: none needed" >&5
2712 echo "${ECHO_T}none needed" >&6 ;;
2714 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2715 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2716 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2719 # Some people use a C++ compiler to compile C. Since we use `exit',
2720 # in C++ we need to declare it. In case someone uses the same compiler
2721 # for both compiling C and C++ we need to have the C++ compiler decide
2722 # the declaration of exit, since it's the most demanding environment.
2723 cat >conftest.
$ac_ext <<_ACEOF
2728 rm -f conftest.
$ac_objext
2729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2730 (eval $ac_compile) 2>conftest.er1
2732 grep -v '^ *+' conftest.er1
>conftest.err
2734 cat conftest.err
>&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); } &&
2737 { ac_try
='test -z "$ac_c_werror_flag"
2738 || test ! -s conftest.err'
2739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }; } &&
2744 { ac_try
='test -s conftest.$ac_objext'
2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; }; then
2750 for ac_declaration
in \
2752 'extern "C" void std::exit (int) throw (); using std::exit;' \
2753 'extern "C" void std::exit (int); using std::exit;' \
2754 'extern "C" void exit (int) throw ();' \
2755 'extern "C" void exit (int);' \
2758 cat >conftest.
$ac_ext <<_ACEOF
2761 cat confdefs.h
>>conftest.
$ac_ext
2762 cat >>conftest.
$ac_ext <<_ACEOF
2763 /* end confdefs.h. */
2774 rm -f conftest.
$ac_objext
2775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2776 (eval $ac_compile) 2>conftest.er1
2778 grep -v '^ *+' conftest.er1
>conftest.err
2780 cat conftest.err
>&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); } &&
2783 { ac_try
='test -z "$ac_c_werror_flag"
2784 || test ! -s conftest.err'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; } &&
2790 { ac_try
='test -s conftest.$ac_objext'
2791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }; }; then
2798 echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.
$ac_ext >&5
2803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2804 cat >conftest.
$ac_ext <<_ACEOF
2807 cat confdefs.h
>>conftest.
$ac_ext
2808 cat >>conftest.
$ac_ext <<_ACEOF
2809 /* end confdefs.h. */
2819 rm -f conftest.
$ac_objext
2820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2821 (eval $ac_compile) 2>conftest.er1
2823 grep -v '^ *+' conftest.er1
>conftest.err
2825 cat conftest.err
>&5
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); } &&
2828 { ac_try
='test -z "$ac_c_werror_flag"
2829 || test ! -s conftest.err'
2830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); }; } &&
2835 { ac_try
='test -s conftest.$ac_objext'
2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; }; then
2843 echo "$as_me: failed program was:" >&5
2844 sed 's/^/| /' conftest.
$ac_ext >&5
2847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2850 if test -n "$ac_declaration"; then
2851 echo '#ifdef __cplusplus' >>confdefs.h
2852 echo $ac_declaration >>confdefs.h
2853 echo '#endif' >>confdefs.h
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.
$ac_ext >&5
2861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2863 ac_cpp
='$CPP $CPPFLAGS'
2864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2867 DEPDIR
="${am__leading_dot}deps"
2869 ac_config_commands
="$ac_config_commands depfiles"
2872 am_make
=${MAKE-make}
2873 cat > confinc
<< 'END'
2878 # If we don't find an include directive, just comment out the code.
2879 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2880 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2884 # First try GNU make style include.
2885 echo "include confinc" > confmf
2886 # We grep out `Entering directory' and `Leaving directory'
2887 # messages which can occur if `w' ends up in MAKEFLAGS.
2888 # In particular we don't look at `^make:' because GNU make might
2889 # be invoked under some other name (usually "gmake"), in which
2890 # case it prints its new name instead of `make'.
2891 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2896 # Now try BSD make style include.
2897 if test "$am__include" = "#"; then
2898 echo '.include "confinc"' > confmf
2899 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2900 am__include
=.include
2907 echo "$as_me:$LINENO: result: $_am_result" >&5
2908 echo "${ECHO_T}$_am_result" >&6
2909 rm -f confinc confmf
2911 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2912 if test "${enable_dependency_tracking+set}" = set; then
2913 enableval
="$enable_dependency_tracking"
2916 if test "x$enable_dependency_tracking" != xno
; then
2917 am_depcomp
="$ac_aux_dir/depcomp"
2922 if test "x$enable_dependency_tracking" != xno; then
2933 depcc
="$CC" am_compiler_list
=
2935 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2936 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2937 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2938 echo $ECHO_N "(cached) $ECHO_C" >&6
2940 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2941 # We make a subdir and do the tests there. Otherwise we can end up
2942 # making bogus files that we don't know about and never remove. For
2943 # instance it was reported that on HP-UX the gcc test will end up
2944 # making a dummy file named `D' -- because `-MD' means `put the output
2947 # Copy depcomp to subdir because otherwise we won't find it if we're
2948 # using a relative directory.
2949 cp "$am_depcomp" conftest.dir
2951 # We will build objects and dependencies in a subdirectory because
2952 # it helps to detect inapplicable dependency modes. For instance
2953 # both Tru64's cc and ICC support -MD to output dependencies as a
2954 # side effect of compilation, but ICC will put the dependencies in
2955 # the current directory while Tru64 will put them in the object
2959 am_cv_CC_dependencies_compiler_type
=none
2960 if test "$am_compiler_list" = ""; then
2961 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2963 for depmode
in $am_compiler_list; do
2964 # Setup a source with many dependencies, because some compilers
2965 # like to wrap large dependency lists on column 80 (with \), and
2966 # we should not choose a depcomp mode which is confused by this.
2968 # We need to recreate these files for each test, as the compiler may
2969 # overwrite some of them when testing with obscure command lines.
2970 # This happens at least with the AIX C compiler.
2972 for i
in 1 2 3 4 5 6; do
2973 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2974 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2975 # Solaris 8's {/usr,}/bin/sh.
2976 touch sub
/conftst
$i.h
2978 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2982 # after this tag, mechanisms are not by side-effect, so they'll
2983 # only be used when explicitly requested
2984 if test "x$enable_dependency_tracking" = xyes
; then
2992 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2993 # mode. It turns out that the SunPro C++ compiler does not properly
2994 # handle `-M -o', and we need to detect this.
2995 if depmode
=$depmode \
2996 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2997 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2998 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2999 >/dev
/null
2>conftest.err
&&
3000 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3001 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3002 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3003 # icc doesn't choke on unknown options, it will just issue warnings
3004 # or remarks (even with -Werror). So we grep stderr for any message
3005 # that says an option was ignored or not supported.
3006 # When given -MP, icc 7.0 and 7.1 complain thusly:
3007 # icc: Command line warning: ignoring option '-M'; no argument required
3008 # The diagnosis changed in icc 8.0:
3009 # icc: Command line remark: option '-MP' not supported
3010 if (grep 'ignoring option' conftest.err ||
3011 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3012 am_cv_CC_dependencies_compiler_type
=$depmode
3021 am_cv_CC_dependencies_compiler_type
=none
3025 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3026 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3027 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3032 test "x$enable_dependency_tracking" != xno \
3033 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3035 am__fastdepCC_FALSE
='#'
3037 am__fastdepCC_TRUE
='#'
3038 am__fastdepCC_FALSE
=
3043 ac_cpp
='$CXXCPP $CPPFLAGS'
3044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3047 if test -n "$ac_tool_prefix"; then
3048 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3050 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3051 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3052 echo "$as_me:$LINENO: checking for $ac_word" >&5
3053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3054 if test "${ac_cv_prog_CXX+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3057 if test -n "$CXX"; then
3058 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir
=.
3065 for ac_exec_ext
in '' $ac_executable_extensions; do
3066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3077 if test -n "$CXX"; then
3078 echo "$as_me:$LINENO: result: $CXX" >&5
3079 echo "${ECHO_T}$CXX" >&6
3081 echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3085 test -n "$CXX" && break
3088 if test -z "$CXX"; then
3090 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3092 # Extract the first word of "$ac_prog", so it can be a program name with args.
3093 set dummy
$ac_prog; ac_word
=$2
3094 echo "$as_me:$LINENO: checking for $ac_word" >&5
3095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3096 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3097 echo $ECHO_N "(cached) $ECHO_C" >&6
3099 if test -n "$ac_ct_CXX"; then
3100 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir
=.
3107 for ac_exec_ext
in '' $ac_executable_extensions; do
3108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3109 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3118 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3119 if test -n "$ac_ct_CXX"; then
3120 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3121 echo "${ECHO_T}$ac_ct_CXX" >&6
3123 echo "$as_me:$LINENO: result: no" >&5
3124 echo "${ECHO_T}no" >&6
3127 test -n "$ac_ct_CXX" && break
3129 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3135 # Provide some information about the compiler.
3136 echo "$as_me:$LINENO:" \
3137 "checking for C++ compiler version" >&5
3138 ac_compiler
=`set X $ac_compile; echo $2`
3139 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3140 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); }
3144 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3145 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }
3149 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3150 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }
3155 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3156 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3157 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3160 cat >conftest.
$ac_ext <<_ACEOF
3163 cat confdefs.h
>>conftest.
$ac_ext
3164 cat >>conftest.
$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3178 rm -f conftest.
$ac_objext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180 (eval $ac_compile) 2>conftest.er1
3182 grep -v '^ *+' conftest.er1
>conftest.err
3184 cat conftest.err
>&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } &&
3187 { ac_try
='test -z "$ac_cxx_werror_flag"
3188 || test ! -s conftest.err'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; } &&
3194 { ac_try
='test -s conftest.$ac_objext'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3202 echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.
$ac_ext >&5
3207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3208 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3211 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3212 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3213 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3214 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3215 ac_save_CXXFLAGS
=$CXXFLAGS
3217 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3218 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3219 if test "${ac_cv_prog_cxx_g+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 cat >conftest.
$ac_ext <<_ACEOF
3225 cat confdefs.h
>>conftest.
$ac_ext
3226 cat >>conftest.
$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3237 rm -f conftest.
$ac_objext
3238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3239 (eval $ac_compile) 2>conftest.er1
3241 grep -v '^ *+' conftest.er1
>conftest.err
3243 cat conftest.err
>&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); } &&
3246 { ac_try
='test -z "$ac_cxx_werror_flag"
3247 || test ! -s conftest.err'
3248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); }; } &&
3253 { ac_try
='test -s conftest.$ac_objext'
3254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); }; }; then
3259 ac_cv_prog_cxx_g
=yes
3261 echo "$as_me: failed program was:" >&5
3262 sed 's/^/| /' conftest.
$ac_ext >&5
3266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3268 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3269 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3270 if test "$ac_test_CXXFLAGS" = set; then
3271 CXXFLAGS
=$ac_save_CXXFLAGS
3272 elif test $ac_cv_prog_cxx_g = yes; then
3273 if test "$GXX" = yes; then
3279 if test "$GXX" = yes; then
3285 for ac_declaration
in \
3287 'extern "C" void std::exit (int) throw (); using std::exit;' \
3288 'extern "C" void std::exit (int); using std::exit;' \
3289 'extern "C" void exit (int) throw ();' \
3290 'extern "C" void exit (int);' \
3293 cat >conftest.
$ac_ext <<_ACEOF
3296 cat confdefs.h
>>conftest.
$ac_ext
3297 cat >>conftest.
$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3309 rm -f conftest.
$ac_objext
3310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3311 (eval $ac_compile) 2>conftest.er1
3313 grep -v '^ *+' conftest.er1
>conftest.err
3315 cat conftest.err
>&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } &&
3318 { ac_try
='test -z "$ac_cxx_werror_flag"
3319 || test ! -s conftest.err'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; } &&
3325 { ac_try
='test -s conftest.$ac_objext'
3326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }; }; then
3333 echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.
$ac_ext >&5
3338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3339 cat >conftest.
$ac_ext <<_ACEOF
3342 cat confdefs.h
>>conftest.
$ac_ext
3343 cat >>conftest.
$ac_ext <<_ACEOF
3344 /* end confdefs.h. */
3354 rm -f conftest.
$ac_objext
3355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3356 (eval $ac_compile) 2>conftest.er1
3358 grep -v '^ *+' conftest.er1
>conftest.err
3360 cat conftest.err
>&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); } &&
3363 { ac_try
='test -z "$ac_cxx_werror_flag"
3364 || test ! -s conftest.err'
3365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); }; } &&
3370 { ac_try
='test -s conftest.$ac_objext'
3371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }; }; then
3378 echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.
$ac_ext >&5
3382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3385 if test -n "$ac_declaration"; then
3386 echo '#ifdef __cplusplus' >>confdefs.h
3387 echo $ac_declaration >>confdefs.h
3388 echo '#endif' >>confdefs.h
3392 ac_cpp
='$CPP $CPPFLAGS'
3393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3397 depcc
="$CXX" am_compiler_list
=
3399 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3400 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3401 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3405 # We make a subdir and do the tests there. Otherwise we can end up
3406 # making bogus files that we don't know about and never remove. For
3407 # instance it was reported that on HP-UX the gcc test will end up
3408 # making a dummy file named `D' -- because `-MD' means `put the output
3411 # Copy depcomp to subdir because otherwise we won't find it if we're
3412 # using a relative directory.
3413 cp "$am_depcomp" conftest.dir
3415 # We will build objects and dependencies in a subdirectory because
3416 # it helps to detect inapplicable dependency modes. For instance
3417 # both Tru64's cc and ICC support -MD to output dependencies as a
3418 # side effect of compilation, but ICC will put the dependencies in
3419 # the current directory while Tru64 will put them in the object
3423 am_cv_CXX_dependencies_compiler_type
=none
3424 if test "$am_compiler_list" = ""; then
3425 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3427 for depmode
in $am_compiler_list; do
3428 # Setup a source with many dependencies, because some compilers
3429 # like to wrap large dependency lists on column 80 (with \), and
3430 # we should not choose a depcomp mode which is confused by this.
3432 # We need to recreate these files for each test, as the compiler may
3433 # overwrite some of them when testing with obscure command lines.
3434 # This happens at least with the AIX C compiler.
3436 for i
in 1 2 3 4 5 6; do
3437 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3438 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3439 # Solaris 8's {/usr,}/bin/sh.
3440 touch sub
/conftst
$i.h
3442 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3446 # after this tag, mechanisms are not by side-effect, so they'll
3447 # only be used when explicitly requested
3448 if test "x$enable_dependency_tracking" = xyes
; then
3456 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3457 # mode. It turns out that the SunPro C++ compiler does not properly
3458 # handle `-M -o', and we need to detect this.
3459 if depmode
=$depmode \
3460 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3461 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3462 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3463 >/dev
/null
2>conftest.err
&&
3464 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3465 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3466 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3467 # icc doesn't choke on unknown options, it will just issue warnings
3468 # or remarks (even with -Werror). So we grep stderr for any message
3469 # that says an option was ignored or not supported.
3470 # When given -MP, icc 7.0 and 7.1 complain thusly:
3471 # icc: Command line warning: ignoring option '-M'; no argument required
3472 # The diagnosis changed in icc 8.0:
3473 # icc: Command line remark: option '-MP' not supported
3474 if (grep 'ignoring option' conftest.err ||
3475 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3476 am_cv_CXX_dependencies_compiler_type
=$depmode
3485 am_cv_CXX_dependencies_compiler_type
=none
3489 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3490 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3491 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3496 test "x$enable_dependency_tracking" != xno \
3497 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3498 am__fastdepCXX_TRUE
=
3499 am__fastdepCXX_FALSE
='#'
3501 am__fastdepCXX_TRUE
='#'
3502 am__fastdepCXX_FALSE
=
3506 # Find a good install program. We prefer a C program (faster),
3507 # so one script is as good as another. But avoid the broken or
3508 # incompatible versions:
3509 # SysV /etc/install, /usr/sbin/install
3510 # SunOS /usr/etc/install
3511 # IRIX /sbin/install
3513 # AmigaOS /C/install, which installs bootblocks on floppy discs
3514 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3515 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3516 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3517 # OS/2's system install, which has a completely different semantic
3518 # ./install, which can be erroneously created by make from ./install.sh.
3519 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3520 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3521 if test -z "$INSTALL"; then
3522 if test "${ac_cv_path_install+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir
=.
3530 # Account for people who put trailing slashes in PATH elements.
3532 .
/ | .
// |
/cC
/* | \
3533 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3534 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3537 # OSF1 and SCO ODT 3.0 have their own names for install.
3538 # Don't use installbsd from OSF since it installs stuff as root
3540 for ac_prog
in ginstall scoinst
install; do
3541 for ac_exec_ext
in '' $ac_executable_extensions; do
3542 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3543 if test $ac_prog = install &&
3544 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3545 # AIX install. It has an incompatible calling convention.
3547 elif test $ac_prog = install &&
3548 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3549 # program-specific install script used by HP pwplus--don't use.
3552 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3564 if test "${ac_cv_path_install+set}" = set; then
3565 INSTALL
=$ac_cv_path_install
3567 # As a last resort, use the slow shell script. We don't cache a
3568 # path for INSTALL within a source directory, because that will
3569 # break other packages using the cache if that directory is
3570 # removed, or if the path is relative.
3571 INSTALL
=$ac_install_sh
3574 echo "$as_me:$LINENO: result: $INSTALL" >&5
3575 echo "${ECHO_T}$INSTALL" >&6
3577 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3578 # It thinks the first close brace ends the variable substitution.
3579 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3581 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3583 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3586 # Make sure we can run config.sub.
3587 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3588 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3589 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3590 { (exit 1); exit 1; }; }
3592 echo "$as_me:$LINENO: checking build system type" >&5
3593 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3594 if test "${ac_cv_build+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 ac_cv_build_alias
=$build_alias
3598 test -z "$ac_cv_build_alias" &&
3599 ac_cv_build_alias
=`$ac_config_guess`
3600 test -z "$ac_cv_build_alias" &&
3601 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3602 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3603 { (exit 1); exit 1; }; }
3604 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3605 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3606 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3607 { (exit 1); exit 1; }; }
3610 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3611 echo "${ECHO_T}$ac_cv_build" >&6
3613 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3614 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3615 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3618 echo "$as_me:$LINENO: checking host system type" >&5
3619 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3620 if test "${ac_cv_host+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 ac_cv_host_alias
=$host_alias
3624 test -z "$ac_cv_host_alias" &&
3625 ac_cv_host_alias
=$ac_cv_build_alias
3626 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3627 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3628 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3629 { (exit 1); exit 1; }; }
3632 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3633 echo "${ECHO_T}$ac_cv_host" >&6
3635 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3636 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3637 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3646 # Check whether --enable-shared or --disable-shared was given.
3647 if test "${enable_shared+set}" = set; then
3648 enableval
="$enable_shared"
3649 p
=${PACKAGE-default}
3651 yes) enable_shared
=yes ;;
3652 no
) enable_shared
=no
;;
3655 # Look at the argument we got. We use all the common list separators.
3656 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3657 for pkg
in $enableval; do
3659 if test "X$pkg" = "X$p"; then
3670 # Check whether --enable-static or --disable-static was given.
3671 if test "${enable_static+set}" = set; then
3672 enableval
="$enable_static"
3673 p
=${PACKAGE-default}
3675 yes) enable_static
=yes ;;
3676 no
) enable_static
=no
;;
3679 # Look at the argument we got. We use all the common list separators.
3680 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3681 for pkg
in $enableval; do
3683 if test "X$pkg" = "X$p"; then
3694 # Check whether --enable-fast-install or --disable-fast-install was given.
3695 if test "${enable_fast_install+set}" = set; then
3696 enableval
="$enable_fast_install"
3697 p
=${PACKAGE-default}
3699 yes) enable_fast_install
=yes ;;
3700 no
) enable_fast_install
=no
;;
3702 enable_fast_install
=no
3703 # Look at the argument we got. We use all the common list separators.
3704 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3705 for pkg
in $enableval; do
3707 if test "X$pkg" = "X$p"; then
3708 enable_fast_install
=yes
3715 enable_fast_install
=yes
3718 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3719 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3720 if test "${lt_cv_path_SED+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 # Loop through the user's path and test for sed and gsed.
3724 # Then use that list of sed's as ones to test for truncation.
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir
=.
3730 for lt_ac_prog
in sed gsed
; do
3731 for ac_exec_ext
in '' $ac_executable_extensions; do
3732 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3733 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3740 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3741 # along with /bin/sed that truncates output.
3742 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3743 test ! -f $lt_ac_sed && continue
3744 cat /dev
/null
> conftest.
in
3746 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3747 # Check for GNU sed and select it if it is found.
3748 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3749 lt_cv_path_SED
=$lt_ac_sed
3753 cat conftest.
in conftest.
in >conftest.tmp
3754 mv conftest.tmp conftest.
in
3755 cp conftest.
in conftest.
nl
3757 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3758 cmp -s conftest.out conftest.
nl ||
break
3759 # 10000 chars as input seems more than enough
3760 test $lt_ac_count -gt 10 && break
3761 lt_ac_count
=`expr $lt_ac_count + 1`
3762 if test $lt_ac_count -gt $lt_ac_max; then
3763 lt_ac_max
=$lt_ac_count
3764 lt_cv_path_SED
=$lt_ac_sed
3772 echo "$as_me:$LINENO: result: $SED" >&5
3773 echo "${ECHO_T}$SED" >&6
3775 echo "$as_me:$LINENO: checking for egrep" >&5
3776 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3777 if test "${ac_cv_prog_egrep+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3780 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3781 then ac_cv_prog_egrep
='grep -E'
3782 else ac_cv_prog_egrep
='egrep'
3785 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3786 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3787 EGREP
=$ac_cv_prog_egrep
3791 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3792 if test "${with_gnu_ld+set}" = set; then
3793 withval
="$with_gnu_ld"
3794 test "$withval" = no || with_gnu_ld
=yes
3799 if test "$GCC" = yes; then
3800 # Check if gcc -print-prog-name=ld gives a path.
3801 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3802 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3805 # gcc leaves a trailing carriage return which upsets mingw
3806 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3808 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3811 # Accept absolute paths.
3813 re_direlt
='/[^/][^/]*/\.\./'
3814 # Canonicalize the pathname of ld
3815 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3816 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3817 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3819 test -z "$LD" && LD
="$ac_prog"
3822 # If it fails, then pretend we aren't using GCC.
3826 # If it is relative, then search for the first ld in PATH.
3830 elif test "$with_gnu_ld" = yes; then
3831 echo "$as_me:$LINENO: checking for GNU ld" >&5
3832 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3834 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3835 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3837 if test "${lt_cv_path_LD+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 if test -z "$LD"; then
3841 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3842 for ac_dir
in $PATH; do
3844 test -z "$ac_dir" && ac_dir
=.
3845 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3846 lt_cv_path_LD
="$ac_dir/$ac_prog"
3847 # Check to see if the program is GNU ld. I'd rather use --version,
3848 # but apparently some GNU ld's only accept -v.
3849 # Break only if it was the GNU/non-GNU ld that we prefer.
3850 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3851 *GNU
* |
*'with BFD'*)
3852 test "$with_gnu_ld" != no
&& break
3855 test "$with_gnu_ld" != yes && break
3862 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3867 if test -n "$LD"; then
3868 echo "$as_me:$LINENO: result: $LD" >&5
3869 echo "${ECHO_T}$LD" >&6
3871 echo "$as_me:$LINENO: result: no" >&5
3872 echo "${ECHO_T}no" >&6
3874 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3875 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3876 { (exit 1); exit 1; }; }
3877 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3878 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3879 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3883 case `$LD -v 2>&1 </dev/null` in
3884 *GNU
* |
*'with BFD'*)
3885 lt_cv_prog_gnu_ld
=yes
3888 lt_cv_prog_gnu_ld
=no
3892 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3893 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3894 with_gnu_ld
=$lt_cv_prog_gnu_ld
3897 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3898 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3899 if test "${lt_cv_ld_reload_flag+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 lt_cv_ld_reload_flag
='-r'
3904 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3905 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3906 reload_flag
=$lt_cv_ld_reload_flag
3907 case $reload_flag in
3909 *) reload_flag
=" $reload_flag" ;;
3911 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3914 if test "$GCC" = yes; then
3915 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
3917 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3922 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3923 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3924 if test "${lt_cv_path_NM+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 if test -n "$NM"; then
3928 # Let the user override the test.
3931 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3932 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3934 test -z "$ac_dir" && ac_dir
=.
3935 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3936 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3937 # Check to see if the nm accepts a BSD-compat flag.
3938 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3939 # nm: unknown option "B" ignored
3940 # Tru64's nm complains that /dev/null is an invalid object file
3941 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3942 */dev
/null
* |
*'Invalid file or object type'*)
3943 lt_cv_path_NM
="$tmp_nm -B"
3947 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3949 lt_cv_path_NM
="$tmp_nm -p"
3953 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3954 continue # so that we can try to find one that supports BSD flags
3961 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3964 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3965 echo "${ECHO_T}$lt_cv_path_NM" >&6
3968 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3969 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3971 if test "$LN_S" = "ln -s"; then
3972 echo "$as_me:$LINENO: result: yes" >&5
3973 echo "${ECHO_T}yes" >&6
3975 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3976 echo "${ECHO_T}no, using $LN_S" >&6
3979 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3980 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3981 if test "${lt_cv_deplibs_check_method+set}" = set; then
3982 echo $ECHO_N "(cached) $ECHO_C" >&6
3984 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3985 lt_cv_file_magic_test_file
=
3986 lt_cv_deplibs_check_method
='unknown'
3987 # Need to set the preceding variable on all platforms that support
3988 # interlibrary dependencies.
3989 # 'none' -- dependencies not supported.
3990 # `unknown' -- same as none, but documents that we really don't know.
3991 # 'pass_all' -- all dependencies passed with no checks.
3992 # 'test_compile' -- check by making test program.
3993 # 'file_magic [[regex]]' -- check by looking for files in library path
3994 # which responds to the $file_magic_cmd with a given extended regex.
3995 # If you have `file' or equivalent on your system and you're not sure
3996 # whether `pass_all' will *always* work, you probably want this one.
4000 lt_cv_deplibs_check_method
=pass_all
4004 lt_cv_deplibs_check_method
=pass_all
4008 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4009 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4010 lt_cv_file_magic_test_file
=/shlib
/libc.so
4014 # func_win32_libid is a shell function defined in ltmain.sh
4015 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4016 lt_cv_file_magic_cmd
='func_win32_libid'
4020 # Base MSYS/MinGW do not provide the 'file' command needed by
4021 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4022 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4023 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4026 darwin
* | rhapsody
*)
4027 lt_cv_deplibs_check_method
=pass_all
4030 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4031 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4034 # Not sure whether the presence of OpenBSD here was a mistake.
4035 # Let's accept both of them until this is cleared up.
4036 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4037 lt_cv_file_magic_cmd
=/usr
/bin
/file
4038 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4042 lt_cv_deplibs_check_method
=pass_all
4047 lt_cv_deplibs_check_method
=pass_all
4050 hpux10.20
* | hpux11
*)
4051 lt_cv_file_magic_cmd
=/usr
/bin
/file
4054 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4055 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4058 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]'
4059 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4062 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4063 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4068 irix5
* | irix6
* | nonstopux
*)
4070 *-32|
*"-32 ") libmagic
=32-bit;;
4071 *-n32|
*"-n32 ") libmagic
=N32
;;
4072 *-64|
*"-64 ") libmagic
=64-bit;;
4073 *) libmagic
=never-match
;;
4075 lt_cv_deplibs_check_method
=pass_all
4078 # This must be Linux ELF.
4080 lt_cv_deplibs_check_method
=pass_all
4084 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4085 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4087 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4092 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4093 lt_cv_file_magic_cmd
=/usr
/bin
/file
4094 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4098 lt_cv_deplibs_check_method
=unknown
4102 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4103 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4105 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4109 osf3
* | osf4
* | osf5
*)
4110 lt_cv_deplibs_check_method
=pass_all
4114 lt_cv_deplibs_check_method
=pass_all
4118 lt_cv_deplibs_check_method
=pass_all
4121 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4122 case $host_vendor in
4124 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]'
4125 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4128 lt_cv_deplibs_check_method
=pass_all
4131 lt_cv_file_magic_cmd
='/bin/file'
4132 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4135 lt_cv_file_magic_cmd
='/bin/file'
4136 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4137 lt_cv_file_magic_test_file
=/lib
/libc.so
4140 lt_cv_deplibs_check_method
=pass_all
4145 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
4146 lt_cv_deplibs_check_method
=pass_all
4151 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4152 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4153 file_magic_cmd
=$lt_cv_file_magic_cmd
4154 deplibs_check_method
=$lt_cv_deplibs_check_method
4155 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4158 # If no C compiler was specified, use CC.
4161 # Allow CC to be a program name with arguments.
4165 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4166 if test "${enable_libtool_lock+set}" = set; then
4167 enableval
="$enable_libtool_lock"
4170 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4172 # Some flags need to be propagated to the compiler or linker for good
4176 # Find out which ABI we are using.
4177 echo 'int i;' > conftest.
$ac_ext
4178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4179 (eval $ac_compile) 2>&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; then
4183 case `/usr/bin/file conftest.$ac_objext` in
4195 # Find out which ABI we are using.
4196 echo '#line 4196 "configure"' > conftest.
$ac_ext
4197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4198 (eval $ac_compile) 2>&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; then
4202 if test "$lt_cv_prog_gnu_ld" = yes; then
4203 case `/usr/bin/file conftest.$ac_objext` in
4205 LD
="${LD-ld} -melf32bsmip"
4208 LD
="${LD-ld} -melf32bmipn32"
4211 LD
="${LD-ld} -melf64bmip"
4215 case `/usr/bin/file conftest.$ac_objext` in
4231 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4232 # Find out which ABI we are using.
4233 echo 'int i;' > conftest.
$ac_ext
4234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4235 (eval $ac_compile) 2>&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); }; then
4239 case "`/usr/bin/file conftest.o`" in
4243 LD
="${LD-ld} -m elf_i386"
4245 ppc64-
*linux
*|powerpc64-
*linux
*)
4246 LD
="${LD-ld} -m elf32ppclinux"
4249 LD
="${LD-ld} -m elf_s390"
4252 LD
="${LD-ld} -m elf32_sparc"
4259 LD
="${LD-ld} -m elf_x86_64"
4261 ppc
*-*linux
*|powerpc
*-*linux
*)
4262 LD
="${LD-ld} -m elf64ppc"
4265 LD
="${LD-ld} -m elf64_s390"
4268 LD
="${LD-ld} -m elf64_sparc"
4278 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4279 SAVE_CFLAGS
="$CFLAGS"
4280 CFLAGS
="$CFLAGS -belf"
4281 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4282 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4283 if test "${lt_cv_cc_needs_belf+set}" = set; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 ac_cpp
='$CPP $CPPFLAGS'
4288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4292 cat >conftest.
$ac_ext <<_ACEOF
4295 cat confdefs.h
>>conftest.
$ac_ext
4296 cat >>conftest.
$ac_ext <<_ACEOF
4297 /* end confdefs.h. */
4307 rm -f conftest.
$ac_objext conftest
$ac_exeext
4308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4309 (eval $ac_link) 2>conftest.er1
4311 grep -v '^ *+' conftest.er1
>conftest.err
4313 cat conftest.err
>&5
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); } &&
4316 { ac_try
='test -z "$ac_c_werror_flag"
4317 || test ! -s conftest.err'
4318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); }; } &&
4323 { ac_try
='test -s conftest$ac_exeext'
4324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); }; }; then
4329 lt_cv_cc_needs_belf
=yes
4331 echo "$as_me: failed program was:" >&5
4332 sed 's/^/| /' conftest.
$ac_ext >&5
4334 lt_cv_cc_needs_belf
=no
4336 rm -f conftest.err conftest.
$ac_objext \
4337 conftest
$ac_exeext conftest.
$ac_ext
4339 ac_cpp
='$CPP $CPPFLAGS'
4340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4345 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4346 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4347 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4348 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4349 CFLAGS
="$SAVE_CFLAGS"
4352 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
4353 if test -n "$ac_tool_prefix"; then
4354 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4355 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4356 echo "$as_me:$LINENO: checking for $ac_word" >&5
4357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4358 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4359 echo $ECHO_N "(cached) $ECHO_C" >&6
4361 if test -n "$DLLTOOL"; then
4362 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4368 test -z "$as_dir" && as_dir
=.
4369 for ac_exec_ext
in '' $ac_executable_extensions; do
4370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4371 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4380 DLLTOOL
=$ac_cv_prog_DLLTOOL
4381 if test -n "$DLLTOOL"; then
4382 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4383 echo "${ECHO_T}$DLLTOOL" >&6
4385 echo "$as_me:$LINENO: result: no" >&5
4386 echo "${ECHO_T}no" >&6
4390 if test -z "$ac_cv_prog_DLLTOOL"; then
4391 ac_ct_DLLTOOL
=$DLLTOOL
4392 # Extract the first word of "dlltool", so it can be a program name with args.
4393 set dummy dlltool
; ac_word
=$2
4394 echo "$as_me:$LINENO: checking for $ac_word" >&5
4395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4396 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 if test -n "$ac_ct_DLLTOOL"; then
4400 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir
=.
4407 for ac_exec_ext
in '' $ac_executable_extensions; do
4408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
4419 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4420 if test -n "$ac_ct_DLLTOOL"; then
4421 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4422 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4428 DLLTOOL
=$ac_ct_DLLTOOL
4430 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4433 if test -n "$ac_tool_prefix"; then
4434 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4435 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4436 echo "$as_me:$LINENO: checking for $ac_word" >&5
4437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4438 if test "${ac_cv_prog_AS+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 if test -n "$AS"; then
4442 ac_cv_prog_AS
="$AS" # Let the user override the test.
4444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir
=.
4449 for ac_exec_ext
in '' $ac_executable_extensions; do
4450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4451 ac_cv_prog_AS
="${ac_tool_prefix}as"
4452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 if test -n "$AS"; then
4462 echo "$as_me:$LINENO: result: $AS" >&5
4463 echo "${ECHO_T}$AS" >&6
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4470 if test -z "$ac_cv_prog_AS"; then
4472 # Extract the first word of "as", so it can be a program name with args.
4473 set dummy as
; ac_word
=$2
4474 echo "$as_me:$LINENO: checking for $ac_word" >&5
4475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4476 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4477 echo $ECHO_N "(cached) $ECHO_C" >&6
4479 if test -n "$ac_ct_AS"; then
4480 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4486 test -z "$as_dir" && as_dir
=.
4487 for ac_exec_ext
in '' $ac_executable_extensions; do
4488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4489 ac_cv_prog_ac_ct_AS
="as"
4490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
4499 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4500 if test -n "$ac_ct_AS"; then
4501 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4502 echo "${ECHO_T}$ac_ct_AS" >&6
4504 echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6
4513 if test -n "$ac_tool_prefix"; then
4514 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4515 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4516 echo "$as_me:$LINENO: checking for $ac_word" >&5
4517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4518 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4519 echo $ECHO_N "(cached) $ECHO_C" >&6
4521 if test -n "$OBJDUMP"; then
4522 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4528 test -z "$as_dir" && as_dir
=.
4529 for ac_exec_ext
in '' $ac_executable_extensions; do
4530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 OBJDUMP
=$ac_cv_prog_OBJDUMP
4541 if test -n "$OBJDUMP"; then
4542 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4543 echo "${ECHO_T}$OBJDUMP" >&6
4545 echo "$as_me:$LINENO: result: no" >&5
4546 echo "${ECHO_T}no" >&6
4550 if test -z "$ac_cv_prog_OBJDUMP"; then
4551 ac_ct_OBJDUMP
=$OBJDUMP
4552 # Extract the first word of "objdump", so it can be a program name with args.
4553 set dummy objdump
; ac_word
=$2
4554 echo "$as_me:$LINENO: checking for $ac_word" >&5
4555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4556 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 if test -n "$ac_ct_OBJDUMP"; then
4560 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4566 test -z "$as_dir" && as_dir
=.
4567 for ac_exec_ext
in '' $ac_executable_extensions; do
4568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4569 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4576 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
4579 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4580 if test -n "$ac_ct_OBJDUMP"; then
4581 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4582 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4584 echo "$as_me:$LINENO: result: no" >&5
4585 echo "${ECHO_T}no" >&6
4588 OBJDUMP
=$ac_ct_OBJDUMP
4590 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4597 need_locks
="$enable_libtool_lock"
4601 ac_cpp
='$CPP $CPPFLAGS'
4602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4605 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4606 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4607 # On Suns, sometimes $CPP names a directory.
4608 if test -n "$CPP" && test -d "$CPP"; then
4611 if test -z "$CPP"; then
4612 if test "${ac_cv_prog_CPP+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 # Double quotes because CPP needs to be expanded
4616 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4619 for ac_c_preproc_warn_flag
in '' yes
4621 # Use a header file that comes with gcc, so configuring glibc
4622 # with a fresh cross-compiler works.
4623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4624 # <limits.h> exists even on freestanding compilers.
4625 # On the NeXT, cc -E runs the code through the compiler's parser,
4626 # not just through cpp. "Syntax error" is here to catch this case.
4627 cat >conftest.
$ac_ext <<_ACEOF
4630 cat confdefs.h
>>conftest.
$ac_ext
4631 cat >>conftest.
$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4634 # include <limits.h>
4636 # include <assert.h>
4640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4643 grep -v '^ *+' conftest.er1
>conftest.err
4645 cat conftest.err
>&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); } >/dev
/null
; then
4648 if test -s conftest.err
; then
4649 ac_cpp_err
=$ac_c_preproc_warn_flag
4650 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4657 if test -z "$ac_cpp_err"; then
4660 echo "$as_me: failed program was:" >&5
4661 sed 's/^/| /' conftest.
$ac_ext >&5
4663 # Broken: fails on valid input.
4666 rm -f conftest.err conftest.
$ac_ext
4668 # OK, works on sane cases. Now check whether non-existent headers
4669 # can be detected and how.
4670 cat >conftest.
$ac_ext <<_ACEOF
4673 cat confdefs.h
>>conftest.
$ac_ext
4674 cat >>conftest.
$ac_ext <<_ACEOF
4675 /* end confdefs.h. */
4676 #include <ac_nonexistent.h>
4678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4679 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4681 grep -v '^ *+' conftest.er1
>conftest.err
4683 cat conftest.err
>&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); } >/dev
/null
; then
4686 if test -s conftest.err
; then
4687 ac_cpp_err
=$ac_c_preproc_warn_flag
4688 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4695 if test -z "$ac_cpp_err"; then
4696 # Broken: success on invalid input.
4699 echo "$as_me: failed program was:" >&5
4700 sed 's/^/| /' conftest.
$ac_ext >&5
4702 # Passes both tests.
4706 rm -f conftest.err conftest.
$ac_ext
4709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4710 rm -f conftest.err conftest.
$ac_ext
4711 if $ac_preproc_ok; then
4723 echo "$as_me:$LINENO: result: $CPP" >&5
4724 echo "${ECHO_T}$CPP" >&6
4726 for ac_c_preproc_warn_flag
in '' yes
4728 # Use a header file that comes with gcc, so configuring glibc
4729 # with a fresh cross-compiler works.
4730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4731 # <limits.h> exists even on freestanding compilers.
4732 # On the NeXT, cc -E runs the code through the compiler's parser,
4733 # not just through cpp. "Syntax error" is here to catch this case.
4734 cat >conftest.
$ac_ext <<_ACEOF
4737 cat confdefs.h
>>conftest.
$ac_ext
4738 cat >>conftest.
$ac_ext <<_ACEOF
4739 /* end confdefs.h. */
4741 # include <limits.h>
4743 # include <assert.h>
4747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4748 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4750 grep -v '^ *+' conftest.er1
>conftest.err
4752 cat conftest.err
>&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } >/dev
/null
; then
4755 if test -s conftest.err
; then
4756 ac_cpp_err
=$ac_c_preproc_warn_flag
4757 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4764 if test -z "$ac_cpp_err"; then
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.
$ac_ext >&5
4770 # Broken: fails on valid input.
4773 rm -f conftest.err conftest.
$ac_ext
4775 # OK, works on sane cases. Now check whether non-existent headers
4776 # can be detected and how.
4777 cat >conftest.
$ac_ext <<_ACEOF
4780 cat confdefs.h
>>conftest.
$ac_ext
4781 cat >>conftest.
$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4783 #include <ac_nonexistent.h>
4785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4786 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4788 grep -v '^ *+' conftest.er1
>conftest.err
4790 cat conftest.err
>&5
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); } >/dev
/null
; then
4793 if test -s conftest.err
; then
4794 ac_cpp_err
=$ac_c_preproc_warn_flag
4795 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4802 if test -z "$ac_cpp_err"; then
4803 # Broken: success on invalid input.
4806 echo "$as_me: failed program was:" >&5
4807 sed 's/^/| /' conftest.
$ac_ext >&5
4809 # Passes both tests.
4813 rm -f conftest.err conftest.
$ac_ext
4816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4817 rm -f conftest.err conftest.
$ac_ext
4818 if $ac_preproc_ok; then
4821 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4822 See \`config.log' for more details." >&5
4823 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4824 See \`config.log' for more details." >&2;}
4825 { (exit 1); exit 1; }; }
4829 ac_cpp
='$CPP $CPPFLAGS'
4830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4835 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4836 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4837 if test "${ac_cv_header_stdc+set}" = set; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 cat >conftest.
$ac_ext <<_ACEOF
4843 cat confdefs.h
>>conftest.
$ac_ext
4844 cat >>conftest.
$ac_ext <<_ACEOF
4845 /* end confdefs.h. */
4859 rm -f conftest.
$ac_objext
4860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4861 (eval $ac_compile) 2>conftest.er1
4863 grep -v '^ *+' conftest.er1
>conftest.err
4865 cat conftest.err
>&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); } &&
4868 { ac_try
='test -z "$ac_c_werror_flag"
4869 || test ! -s conftest.err'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; } &&
4875 { ac_try
='test -s conftest.$ac_objext'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; }; then
4881 ac_cv_header_stdc
=yes
4883 echo "$as_me: failed program was:" >&5
4884 sed 's/^/| /' conftest.
$ac_ext >&5
4886 ac_cv_header_stdc
=no
4888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4890 if test $ac_cv_header_stdc = yes; then
4891 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4892 cat >conftest.
$ac_ext <<_ACEOF
4895 cat confdefs.h
>>conftest.
$ac_ext
4896 cat >>conftest.
$ac_ext <<_ACEOF
4897 /* end confdefs.h. */
4901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4902 $EGREP "memchr" >/dev
/null
2>&1; then
4905 ac_cv_header_stdc
=no
4911 if test $ac_cv_header_stdc = yes; then
4912 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4913 cat >conftest.
$ac_ext <<_ACEOF
4916 cat confdefs.h
>>conftest.
$ac_ext
4917 cat >>conftest.
$ac_ext <<_ACEOF
4918 /* end confdefs.h. */
4922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4923 $EGREP "free" >/dev
/null
2>&1; then
4926 ac_cv_header_stdc
=no
4932 if test $ac_cv_header_stdc = yes; then
4933 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4934 if test "$cross_compiling" = yes; then
4937 cat >conftest.
$ac_ext <<_ACEOF
4940 cat confdefs.h
>>conftest.
$ac_ext
4941 cat >>conftest.
$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4944 #if ((' ' & 0x0FF) == 0x020)
4945 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4946 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4948 # define ISLOWER(c) \
4949 (('a' <= (c) && (c) <= 'i') \
4950 || ('j' <= (c) && (c) <= 'r') \
4951 || ('s' <= (c) && (c) <= 'z'))
4952 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4955 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4960 for (i = 0; i < 256; i++)
4961 if (XOR (islower (i), ISLOWER (i))
4962 || toupper (i) != TOUPPER (i))
4967 rm -f conftest
$ac_exeext
4968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4969 (eval $ac_link) 2>&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); }; }; then
4980 echo "$as_me: program exited with status $ac_status" >&5
4981 echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.
$ac_ext >&5
4985 ac_cv_header_stdc
=no
4987 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4991 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4992 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4993 if test $ac_cv_header_stdc = yes; then
4995 cat >>confdefs.h
<<\_ACEOF
4996 #define STDC_HEADERS 1
5001 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5011 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5012 inttypes.h stdint.h unistd.h
5014 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5015 echo "$as_me:$LINENO: checking for $ac_header" >&5
5016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5018 echo $ECHO_N "(cached) $ECHO_C" >&6
5020 cat >conftest.
$ac_ext <<_ACEOF
5023 cat confdefs.h
>>conftest.
$ac_ext
5024 cat >>conftest.
$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5026 $ac_includes_default
5028 #include <$ac_header>
5030 rm -f conftest.
$ac_objext
5031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5032 (eval $ac_compile) 2>conftest.er1
5034 grep -v '^ *+' conftest.er1
>conftest.err
5036 cat conftest.err
>&5
5037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038 (exit $ac_status); } &&
5039 { ac_try
='test -z "$ac_c_werror_flag"
5040 || test ! -s conftest.err'
5041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; } &&
5046 { ac_try
='test -s conftest.$ac_objext'
5047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); }; }; then
5052 eval "$as_ac_Header=yes"
5054 echo "$as_me: failed program was:" >&5
5055 sed 's/^/| /' conftest.
$ac_ext >&5
5057 eval "$as_ac_Header=no"
5059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5064 cat >>confdefs.h
<<_ACEOF
5065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5074 for ac_header
in dlfcn.h
5076 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5078 echo "$as_me:$LINENO: checking for $ac_header" >&5
5079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5081 echo $ECHO_N "(cached) $ECHO_C" >&6
5083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5086 # Is the header compilable?
5087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5089 cat >conftest.
$ac_ext <<_ACEOF
5092 cat confdefs.h
>>conftest.
$ac_ext
5093 cat >>conftest.
$ac_ext <<_ACEOF
5094 /* end confdefs.h. */
5095 $ac_includes_default
5096 #include <$ac_header>
5098 rm -f conftest.
$ac_objext
5099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5100 (eval $ac_compile) 2>conftest.er1
5102 grep -v '^ *+' conftest.er1
>conftest.err
5104 cat conftest.err
>&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } &&
5107 { ac_try
='test -z "$ac_c_werror_flag"
5108 || test ! -s conftest.err'
5109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); }; } &&
5114 { ac_try
='test -s conftest.$ac_objext'
5115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5119 (exit $ac_status); }; }; then
5120 ac_header_compiler
=yes
5122 echo "$as_me: failed program was:" >&5
5123 sed 's/^/| /' conftest.
$ac_ext >&5
5125 ac_header_compiler
=no
5127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5129 echo "${ECHO_T}$ac_header_compiler" >&6
5131 # Is the header present?
5132 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5134 cat >conftest.
$ac_ext <<_ACEOF
5137 cat confdefs.h
>>conftest.
$ac_ext
5138 cat >>conftest.
$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5140 #include <$ac_header>
5142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5143 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5145 grep -v '^ *+' conftest.er1
>conftest.err
5147 cat conftest.err
>&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); } >/dev
/null
; then
5150 if test -s conftest.err
; then
5151 ac_cpp_err
=$ac_c_preproc_warn_flag
5152 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5159 if test -z "$ac_cpp_err"; then
5160 ac_header_preproc
=yes
5162 echo "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.
$ac_ext >&5
5165 ac_header_preproc
=no
5167 rm -f conftest.err conftest.
$ac_ext
5168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5169 echo "${ECHO_T}$ac_header_preproc" >&6
5171 # So? What about this header?
5172 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5177 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5178 ac_header_preproc
=yes
5181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5185 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5186 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5187 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5188 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5191 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5192 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5195 ## ------------------------------------------ ##
5196 ## Report this to the AC_PACKAGE_NAME lists. ##
5197 ## ------------------------------------------ ##
5200 sed "s/^/$as_me: WARNING: /" >&2
5203 echo "$as_me:$LINENO: checking for $ac_header" >&5
5204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 eval "$as_ac_Header=\$ac_header_preproc"
5210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5215 cat >>confdefs.h
<<_ACEOF
5216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5225 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5226 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5227 (test "X$CXX" != "Xg++"))) ; then
5229 ac_cpp
='$CXXCPP $CPPFLAGS'
5230 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5231 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5232 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5233 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5234 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5235 if test -z "$CXXCPP"; then
5236 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5239 # Double quotes because CXXCPP needs to be expanded
5240 for CXXCPP
in "$CXX -E" "/lib/cpp"
5243 for ac_cxx_preproc_warn_flag
in '' yes
5245 # Use a header file that comes with gcc, so configuring glibc
5246 # with a fresh cross-compiler works.
5247 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5248 # <limits.h> exists even on freestanding compilers.
5249 # On the NeXT, cc -E runs the code through the compiler's parser,
5250 # not just through cpp. "Syntax error" is here to catch this case.
5251 cat >conftest.
$ac_ext <<_ACEOF
5254 cat confdefs.h
>>conftest.
$ac_ext
5255 cat >>conftest.
$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5258 # include <limits.h>
5260 # include <assert.h>
5264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5265 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5267 grep -v '^ *+' conftest.er1
>conftest.err
5269 cat conftest.err
>&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } >/dev
/null
; then
5272 if test -s conftest.err
; then
5273 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5274 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5281 if test -z "$ac_cpp_err"; then
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.
$ac_ext >&5
5287 # Broken: fails on valid input.
5290 rm -f conftest.err conftest.
$ac_ext
5292 # OK, works on sane cases. Now check whether non-existent headers
5293 # can be detected and how.
5294 cat >conftest.
$ac_ext <<_ACEOF
5297 cat confdefs.h
>>conftest.
$ac_ext
5298 cat >>conftest.
$ac_ext <<_ACEOF
5299 /* end confdefs.h. */
5300 #include <ac_nonexistent.h>
5302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5305 grep -v '^ *+' conftest.er1
>conftest.err
5307 cat conftest.err
>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); } >/dev
/null
; then
5310 if test -s conftest.err
; then
5311 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5312 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5319 if test -z "$ac_cpp_err"; then
5320 # Broken: success on invalid input.
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.
$ac_ext >&5
5326 # Passes both tests.
5330 rm -f conftest.err conftest.
$ac_ext
5333 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5334 rm -f conftest.err conftest.
$ac_ext
5335 if $ac_preproc_ok; then
5340 ac_cv_prog_CXXCPP
=$CXXCPP
5343 CXXCPP
=$ac_cv_prog_CXXCPP
5345 ac_cv_prog_CXXCPP
=$CXXCPP
5347 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5348 echo "${ECHO_T}$CXXCPP" >&6
5350 for ac_cxx_preproc_warn_flag
in '' yes
5352 # Use a header file that comes with gcc, so configuring glibc
5353 # with a fresh cross-compiler works.
5354 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5355 # <limits.h> exists even on freestanding compilers.
5356 # On the NeXT, cc -E runs the code through the compiler's parser,
5357 # not just through cpp. "Syntax error" is here to catch this case.
5358 cat >conftest.
$ac_ext <<_ACEOF
5361 cat confdefs.h
>>conftest.
$ac_ext
5362 cat >>conftest.
$ac_ext <<_ACEOF
5363 /* end confdefs.h. */
5365 # include <limits.h>
5367 # include <assert.h>
5371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5372 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5374 grep -v '^ *+' conftest.er1
>conftest.err
5376 cat conftest.err
>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } >/dev
/null
; then
5379 if test -s conftest.err
; then
5380 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5381 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5388 if test -z "$ac_cpp_err"; then
5391 echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.
$ac_ext >&5
5394 # Broken: fails on valid input.
5397 rm -f conftest.err conftest.
$ac_ext
5399 # OK, works on sane cases. Now check whether non-existent headers
5400 # can be detected and how.
5401 cat >conftest.
$ac_ext <<_ACEOF
5404 cat confdefs.h
>>conftest.
$ac_ext
5405 cat >>conftest.
$ac_ext <<_ACEOF
5406 /* end confdefs.h. */
5407 #include <ac_nonexistent.h>
5409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5410 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5412 grep -v '^ *+' conftest.er1
>conftest.err
5414 cat conftest.err
>&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); } >/dev
/null
; then
5417 if test -s conftest.err
; then
5418 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5419 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5426 if test -z "$ac_cpp_err"; then
5427 # Broken: success on invalid input.
5430 echo "$as_me: failed program was:" >&5
5431 sed 's/^/| /' conftest.
$ac_ext >&5
5433 # Passes both tests.
5437 rm -f conftest.err conftest.
$ac_ext
5440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5441 rm -f conftest.err conftest.
$ac_ext
5442 if $ac_preproc_ok; then
5445 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5446 See \`config.log' for more details." >&5
5447 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5448 See \`config.log' for more details." >&2;}
5449 { (exit 1); exit 1; }; }
5453 ac_cpp
='$CXXCPP $CPPFLAGS'
5454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5462 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5463 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5464 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5465 if test -n "$ac_tool_prefix"; then
5466 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5469 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5470 echo "$as_me:$LINENO: checking for $ac_word" >&5
5471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5472 if test "${ac_cv_prog_F77+set}" = set; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 if test -n "$F77"; then
5476 ac_cv_prog_F77
="$F77" # Let the user override the test.
5478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir
=.
5483 for ac_exec_ext
in '' $ac_executable_extensions; do
5484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 if test -n "$F77"; then
5496 echo "$as_me:$LINENO: result: $F77" >&5
5497 echo "${ECHO_T}$F77" >&6
5499 echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6
5503 test -n "$F77" && break
5506 if test -z "$F77"; then
5508 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5510 # Extract the first word of "$ac_prog", so it can be a program name with args.
5511 set dummy
$ac_prog; ac_word
=$2
5512 echo "$as_me:$LINENO: checking for $ac_word" >&5
5513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5514 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5517 if test -n "$ac_ct_F77"; then
5518 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5524 test -z "$as_dir" && as_dir
=.
5525 for ac_exec_ext
in '' $ac_executable_extensions; do
5526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_F77
="$ac_prog"
5528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5537 if test -n "$ac_ct_F77"; then
5538 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5539 echo "${ECHO_T}$ac_ct_F77" >&6
5541 echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6
5545 test -n "$ac_ct_F77" && break
5552 # Provide some information about the compiler.
5553 echo "$as_me:5553:" \
5554 "checking for Fortran 77 compiler version" >&5
5555 ac_compiler
=`set X $ac_compile; echo $2`
5556 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5557 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); }
5561 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5562 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); }
5566 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5567 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }
5573 # If we don't use `.F' as extension, the preprocessor is not run on the
5574 # input file. (Note that this only needs to work for GNU compilers.)
5577 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5578 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5579 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5580 echo $ECHO_N "(cached) $ECHO_C" >&6
5582 cat >conftest.
$ac_ext <<_ACEOF
5590 rm -f conftest.
$ac_objext
5591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5592 (eval $ac_compile) 2>conftest.er1
5594 grep -v '^ *+' conftest.er1
>conftest.err
5596 cat conftest.err
>&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } &&
5599 { ac_try
='test -z "$ac_f77_werror_flag"
5600 || test ! -s conftest.err'
5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; } &&
5606 { ac_try
='test -s conftest.$ac_objext'
5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; }; then
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.
$ac_ext >&5
5619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5620 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5623 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5624 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5626 ac_test_FFLAGS
=${FFLAGS+set}
5627 ac_save_FFLAGS
=$FFLAGS
5629 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5630 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5631 if test "${ac_cv_prog_f77_g+set}" = set; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5635 cat >conftest.
$ac_ext <<_ACEOF
5640 rm -f conftest.
$ac_objext
5641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5642 (eval $ac_compile) 2>conftest.er1
5644 grep -v '^ *+' conftest.er1
>conftest.err
5646 cat conftest.err
>&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } &&
5649 { ac_try
='test -z "$ac_f77_werror_flag"
5650 || test ! -s conftest.err'
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }; } &&
5656 { ac_try
='test -s conftest.$ac_objext'
5657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); }; }; then
5662 ac_cv_prog_f77_g
=yes
5664 echo "$as_me: failed program was:" >&5
5665 sed 's/^/| /' conftest.
$ac_ext >&5
5669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5672 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5673 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5674 if test "$ac_test_FFLAGS" = set; then
5675 FFLAGS
=$ac_save_FFLAGS
5676 elif test $ac_cv_prog_f77_g = yes; then
5677 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5683 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5690 G77
=`test $ac_compiler_gnu = yes && echo yes`
5692 ac_cpp
='$CPP $CPPFLAGS'
5693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5699 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5701 # find the maximum length of command line arguments
5702 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5703 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5704 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 # On DJGPP, this test can blow up pretty badly due to problems in libc
5713 # (any single argument exceeding 2000 bytes causes a buffer overrun
5714 # during glob expansion). Even if it were fixed, the result of this
5715 # check would be larger than it should be.
5716 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5720 # Under GNU Hurd, this test is not required because there is
5721 # no limit to the length of command line arguments.
5722 # Libtool will interpret -1 as no limit whatsoever
5723 lt_cv_sys_max_cmd_len
=-1;
5727 # On Win9x/ME, this test blows up -- it succeeds, but takes
5728 # about 5 minutes as the teststring grows exponentially.
5729 # Worse, since 9x/ME are not pre-emptively multitasking,
5730 # you end up with a "frozen" computer, even though with patience
5731 # the test eventually succeeds (with a max line length of 256k).
5732 # Instead, let's just punt: use the minimum linelength reported by
5733 # all of the supported platforms: 8192 (on NT/2K/XP).
5734 lt_cv_sys_max_cmd_len
=8192;
5738 # On AmigaOS with pdksh, this test takes hours, literally.
5739 # So we just punt and use a minimum line length of 8192.
5740 lt_cv_sys_max_cmd_len
=8192;
5743 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5744 # This has been around since 386BSD, at least. Likely further.
5745 if test -x /sbin
/sysctl
; then
5746 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5747 elif test -x /usr
/sbin
/sysctl
; then
5748 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5750 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5752 # And add a safety zone
5753 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5756 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5757 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5758 # nice to cause kernel panics so lets avoid the loop below.
5759 # First set a reasonable default.
5760 lt_cv_sys_max_cmd_len
=16384
5762 if test -x /sbin
/sysconfig
; then
5763 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5764 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5769 # If test is not a shell built-in, we'll probably end up computing a
5770 # maximum length that is only half of the actual maximum length, but
5772 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5773 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5774 = "XX$teststring") >/dev
/null
2>&1 &&
5775 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5776 lt_cv_sys_max_cmd_len
=$new_result &&
5777 test $i != 17 # 1/2 MB should be enough
5780 teststring
=$teststring$teststring
5783 # Add a significant safety factor because C++ compilers can tack on massive
5784 # amounts of additional arguments before passing them to the linker.
5785 # It appears as though 1/2 is a usable value.
5786 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5792 if test -n $lt_cv_sys_max_cmd_len ; then
5793 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5794 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5796 echo "$as_me:$LINENO: result: none" >&5
5797 echo "${ECHO_T}none" >&6
5803 # Check for command to grab the raw symbol name followed by C symbol from nm.
5804 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5805 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5806 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5807 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 # These are sane defaults that work on at least a few old systems.
5811 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5813 # Character class describing NM global symbol codes.
5814 symcode
='[BCDEGRST]'
5816 # Regexp to match symbols that can be accessed directly from C.
5817 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5819 # Transform an extracted symbol line into a proper C declaration
5820 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5822 # Transform an extracted symbol line into symbol name and symbol address
5823 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5825 # Define system-specific variables.
5830 cygwin
* | mingw
* | pw32
*)
5831 symcode
='[ABCDGISTW]'
5833 hpux
*) # Its linker distinguishes data from code symbols
5834 if test "$host_cpu" = ia64
; then
5835 symcode
='[ABCDEGRST]'
5837 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5838 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5841 if test "$host_cpu" = ia64
; then
5842 symcode
='[ABCDGIRSTW]'
5843 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5844 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5848 symcode
='[BCDEGRST]'
5851 symcode
='[BCDEGQRST]'
5861 # Handle CRLF in mingw tool chain
5865 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5869 # If we're using GNU nm, then use its standard symbol codes.
5870 case `$NM -V 2>&1` in
5871 *GNU
* |
*'with BFD'*)
5872 symcode
='[ABCDGIRSTW]' ;;
5875 # Try without a prefix undercore, then with it.
5876 for ac_symprfx
in "" "_"; do
5878 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5879 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5881 # Write the raw and C identifiers.
5882 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5884 # Check to see that the pipe works correctly.
5888 cat > conftest.
$ac_ext <<EOF
5893 void nm_test_func(){}
5897 int main(){nm_test_var='a';nm_test_func();return(0);}
5900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5901 (eval $ac_compile) 2>&5
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); }; then
5905 # Now try to grab the symbols.
5907 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5908 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); } && test -s "$nlist"; then
5912 # Try sorting and uniquifying the output.
5913 if sort "$nlist" |
uniq > "$nlist"T
; then
5914 mv -f "$nlist"T
"$nlist"
5919 # Make sure that we snagged all the symbols we need.
5920 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5921 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5922 cat <<EOF > conftest.$ac_ext
5928 # Now generate the symbol file.
5929 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5931 cat <<EOF >> conftest.$ac_ext
5932 #if defined (__STDC__) && __STDC__
5933 # define lt_ptr_t void *
5935 # define lt_ptr_t char *
5939 /* The mapping between symbol names and symbols. */
5944 lt_preloaded_symbols[] =
5947 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5948 cat <<\EOF
>> conftest.
$ac_ext
5956 # Now try linking the two files.
5957 mv conftest.
$ac_objext conftstm.
$ac_objext
5958 lt_save_LIBS
="$LIBS"
5959 lt_save_CFLAGS
="$CFLAGS"
5960 LIBS
="conftstm.$ac_objext"
5961 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5963 (eval $ac_link) 2>&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5969 LIBS
="$lt_save_LIBS"
5970 CFLAGS
="$lt_save_CFLAGS"
5972 echo "cannot find nm_test_func in $nlist" >&5
5975 echo "cannot find nm_test_var in $nlist" >&5
5978 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5981 echo "$progname: failed program was:" >&5
5982 cat conftest.
$ac_ext >&5
5984 rm -f conftest
* conftst
*
5986 # Do not use the global_symbol_pipe unless it works.
5987 if test "$pipe_works" = yes; then
5990 lt_cv_sys_global_symbol_pipe
=
5996 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5997 lt_cv_sys_global_symbol_to_cdecl
=
5999 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6000 echo "$as_me:$LINENO: result: failed" >&5
6001 echo "${ECHO_T}failed" >&6
6003 echo "$as_me:$LINENO: result: ok" >&5
6004 echo "${ECHO_T}ok" >&6
6007 echo "$as_me:$LINENO: checking for objdir" >&5
6008 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6009 if test "${lt_cv_objdir+set}" = set; then
6010 echo $ECHO_N "(cached) $ECHO_C" >&6
6012 rm -f .libs
2>/dev
/null
6013 mkdir .libs
2>/dev
/null
6014 if test -d .libs
; then
6017 # MS-DOS does not allow filenames that begin with a dot.
6020 rmdir .libs
2>/dev
/null
6022 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6023 echo "${ECHO_T}$lt_cv_objdir" >&6
6024 objdir
=$lt_cv_objdir
6032 # AIX sometimes has problems with the GCC collect2 program. For some
6033 # reason, if we set the COLLECT_NAMES environment variable, the problems
6034 # vanish in a puff of smoke.
6035 if test "X${COLLECT_NAMES+set}" != Xset
; then
6037 export COLLECT_NAMES
6042 # Sed substitution that helps us do robust quoting. It backslashifies
6043 # metacharacters that are still active within double-quoted strings.
6044 Xsed
='sed -e s/^X//'
6045 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6047 # Same as above, but do not quote variable references.
6048 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6050 # Sed substitution to delay expansion of an escaped shell variable in a
6051 # double_quote_subst'ed string.
6052 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6054 # Sed substitution to avoid accidental globbing in evaled expressions
6055 no_glob_subst
='s/\*/\\\*/g'
6061 default_ofile
=libtool
6062 can_build_shared
=yes
6064 # All known linkers require a `.a' archive for static linking (except M$VC,
6065 # which needs '.lib').
6067 ltmain
="$ac_aux_dir/ltmain.sh"
6068 ofile
="$default_ofile"
6069 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6071 if test -n "$ac_tool_prefix"; then
6072 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6073 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6074 echo "$as_me:$LINENO: checking for $ac_word" >&5
6075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6076 if test "${ac_cv_prog_AR+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 if test -n "$AR"; then
6080 ac_cv_prog_AR
="$AR" # Let the user override the test.
6082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir
=.
6087 for ac_exec_ext
in '' $ac_executable_extensions; do
6088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 if test -n "$AR"; then
6100 echo "$as_me:$LINENO: result: $AR" >&5
6101 echo "${ECHO_T}$AR" >&6
6103 echo "$as_me:$LINENO: result: no" >&5
6104 echo "${ECHO_T}no" >&6
6108 if test -z "$ac_cv_prog_AR"; then
6110 # Extract the first word of "ar", so it can be a program name with args.
6111 set dummy
ar; ac_word
=$2
6112 echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6114 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6117 if test -n "$ac_ct_AR"; then
6118 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6124 test -z "$as_dir" && as_dir
=.
6125 for ac_exec_ext
in '' $ac_executable_extensions; do
6126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6127 ac_cv_prog_ac_ct_AR
="ar"
6128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6137 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6138 if test -n "$ac_ct_AR"; then
6139 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6140 echo "${ECHO_T}$ac_ct_AR" >&6
6142 echo "$as_me:$LINENO: result: no" >&5
6143 echo "${ECHO_T}no" >&6
6151 if test -n "$ac_tool_prefix"; then
6152 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6153 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6154 echo "$as_me:$LINENO: checking for $ac_word" >&5
6155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6156 if test "${ac_cv_prog_RANLIB+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 if test -n "$RANLIB"; then
6160 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6166 test -z "$as_dir" && as_dir
=.
6167 for ac_exec_ext
in '' $ac_executable_extensions; do
6168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6169 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 RANLIB
=$ac_cv_prog_RANLIB
6179 if test -n "$RANLIB"; then
6180 echo "$as_me:$LINENO: result: $RANLIB" >&5
6181 echo "${ECHO_T}$RANLIB" >&6
6183 echo "$as_me:$LINENO: result: no" >&5
6184 echo "${ECHO_T}no" >&6
6188 if test -z "$ac_cv_prog_RANLIB"; then
6189 ac_ct_RANLIB
=$RANLIB
6190 # Extract the first word of "ranlib", so it can be a program name with args.
6191 set dummy ranlib
; ac_word
=$2
6192 echo "$as_me:$LINENO: checking for $ac_word" >&5
6193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6194 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6195 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 if test -n "$ac_ct_RANLIB"; then
6198 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6204 test -z "$as_dir" && as_dir
=.
6205 for ac_exec_ext
in '' $ac_executable_extensions; do
6206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6214 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6217 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6218 if test -n "$ac_ct_RANLIB"; then
6219 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6220 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6222 echo "$as_me:$LINENO: result: no" >&5
6223 echo "${ECHO_T}no" >&6
6226 RANLIB
=$ac_ct_RANLIB
6228 RANLIB
="$ac_cv_prog_RANLIB"
6231 if test -n "$ac_tool_prefix"; then
6232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6233 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6234 echo "$as_me:$LINENO: checking for $ac_word" >&5
6235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6236 if test "${ac_cv_prog_STRIP+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 if test -n "$STRIP"; then
6240 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6246 test -z "$as_dir" && as_dir
=.
6247 for ac_exec_ext
in '' $ac_executable_extensions; do
6248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6249 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 STRIP
=$ac_cv_prog_STRIP
6259 if test -n "$STRIP"; then
6260 echo "$as_me:$LINENO: result: $STRIP" >&5
6261 echo "${ECHO_T}$STRIP" >&6
6263 echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6
6268 if test -z "$ac_cv_prog_STRIP"; then
6270 # Extract the first word of "strip", so it can be a program name with args.
6271 set dummy strip
; ac_word
=$2
6272 echo "$as_me:$LINENO: checking for $ac_word" >&5
6273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6274 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6275 echo $ECHO_N "(cached) $ECHO_C" >&6
6277 if test -n "$ac_ct_STRIP"; then
6278 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir
=.
6285 for ac_exec_ext
in '' $ac_executable_extensions; do
6286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6287 ac_cv_prog_ac_ct_STRIP
="strip"
6288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6294 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6297 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6298 if test -n "$ac_ct_STRIP"; then
6299 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6300 echo "${ECHO_T}$ac_ct_STRIP" >&6
6302 echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6
6308 STRIP
="$ac_cv_prog_STRIP"
6313 old_CFLAGS
="$CFLAGS"
6315 # Set sane defaults for various variables
6316 test -z "$AR" && AR
=ar
6317 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6318 test -z "$AS" && AS
=as
6319 test -z "$CC" && CC
=cc
6320 test -z "$LTCC" && LTCC
=$CC
6321 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6322 test -z "$LD" && LD
=ld
6323 test -z "$LN_S" && LN_S
="ln -s"
6324 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6325 test -z "$NM" && NM
=nm
6326 test -z "$SED" && SED
=sed
6327 test -z "$OBJDUMP" && OBJDUMP
=objdump
6328 test -z "$RANLIB" && RANLIB
=:
6329 test -z "$STRIP" && STRIP
=:
6330 test -z "$ac_objext" && ac_objext
=o
6332 # Determine commands to create old-style static archives.
6333 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6334 old_postinstall_cmds
='chmod 644 $oldlib'
6335 old_postuninstall_cmds
=
6337 if test -n "$RANLIB"; then
6340 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6343 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6346 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6349 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
6351 # Only perform the check for file, if the check method requires it
6352 case $deplibs_check_method in
6354 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6355 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6356 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6357 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6358 echo $ECHO_N "(cached) $ECHO_C" >&6
6362 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6365 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6366 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6367 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6368 for ac_dir
in $ac_dummy; do
6370 test -z "$ac_dir" && ac_dir
=.
6371 if test -f $ac_dir/${ac_tool_prefix}file; then
6372 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6373 if test -n "$file_magic_test_file"; then
6374 case $deplibs_check_method in
6376 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6377 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6378 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6379 $EGREP "$file_magic_regex" > /dev
/null
; then
6384 *** Warning: the command libtool uses to detect shared libraries,
6385 *** $file_magic_cmd, produces output that libtool cannot recognize.
6386 *** The result is that libtool may fail to recognize shared libraries
6387 *** as such. This will affect the creation of libtool libraries that
6388 *** depend on shared libraries, but programs linked with such libtool
6389 *** libraries will work regardless of this problem. Nevertheless, you
6390 *** may want to report the problem to your system manager and/or to
6391 *** bug-libtool@gnu.org
6401 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6406 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6407 if test -n "$MAGIC_CMD"; then
6408 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6409 echo "${ECHO_T}$MAGIC_CMD" >&6
6411 echo "$as_me:$LINENO: result: no" >&5
6412 echo "${ECHO_T}no" >&6
6415 if test -z "$lt_cv_path_MAGIC_CMD"; then
6416 if test -n "$ac_tool_prefix"; then
6417 echo "$as_me:$LINENO: checking for file" >&5
6418 echo $ECHO_N "checking for file... $ECHO_C" >&6
6419 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6420 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6427 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6428 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6429 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6430 for ac_dir
in $ac_dummy; do
6432 test -z "$ac_dir" && ac_dir
=.
6433 if test -f $ac_dir/file; then
6434 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6435 if test -n "$file_magic_test_file"; then
6436 case $deplibs_check_method in
6438 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6439 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6440 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6441 $EGREP "$file_magic_regex" > /dev
/null
; then
6446 *** Warning: the command libtool uses to detect shared libraries,
6447 *** $file_magic_cmd, produces output that libtool cannot recognize.
6448 *** The result is that libtool may fail to recognize shared libraries
6449 *** as such. This will affect the creation of libtool libraries that
6450 *** depend on shared libraries, but programs linked with such libtool
6451 *** libraries will work regardless of this problem. Nevertheless, you
6452 *** may want to report the problem to your system manager and/or to
6453 *** bug-libtool@gnu.org
6463 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6468 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6469 if test -n "$MAGIC_CMD"; then
6470 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6471 echo "${ECHO_T}$MAGIC_CMD" >&6
6473 echo "$as_me:$LINENO: result: no" >&5
6474 echo "${ECHO_T}no" >&6
6487 enable_win32_dll
=yes
6489 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6490 if test "${enable_libtool_lock+set}" = set; then
6491 enableval
="$enable_libtool_lock"
6494 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6497 # Check whether --with-pic or --without-pic was given.
6498 if test "${with_pic+set}" = set; then
6504 test -z "$pic_mode" && pic_mode
=default
6506 # Use C for the default configuration in the libtool script
6510 ac_cpp
='$CPP $CPPFLAGS'
6511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6516 # Source file extension for C test sources.
6519 # Object file extension for compiled C test sources.
6523 # Code to be used in simple compile tests
6524 lt_simple_compile_test_code
="int some_variable = 0;\n"
6526 # Code to be used in simple link tests
6527 lt_simple_link_test_code
='int main(){return(0);}\n'
6530 # If no C compiler was specified, use CC.
6533 # Allow CC to be a program name with arguments.
6538 # Check for any special shared library compilation flags.
6541 if test "$GCC" = no
; then
6544 lt_prog_cc_shlib
='-belf'
6548 if test -n "$lt_prog_cc_shlib"; then
6549 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6550 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6551 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6553 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6554 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6555 lt_cv_prog_cc_can_build_shared
=no
6561 # Check to make sure the static flag actually works.
6563 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6564 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6565 if test "${lt_prog_compiler_static_works+set}" = set; then
6566 echo $ECHO_N "(cached) $ECHO_C" >&6
6568 lt_prog_compiler_static_works
=no
6569 save_LDFLAGS
="$LDFLAGS"
6570 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6571 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6572 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6573 # The compiler can only warn and ignore the option if not recognized
6574 # So say no if there are warnings
6575 if test -s conftest.err
; then
6576 # Append any errors to the config.log.
6577 cat conftest.err
1>&5
6579 lt_prog_compiler_static_works
=yes
6583 LDFLAGS
="$save_LDFLAGS"
6586 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6587 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6589 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6592 lt_prog_compiler_static
=
6598 ## There is no encapsulation within the following macros, do not change
6599 ## the running order or otherwise move them around unless you know exactly
6600 ## what you are doing...
6602 lt_prog_compiler_no_builtin_flag
=
6604 if test "$GCC" = yes; then
6605 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6608 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6609 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6610 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6611 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 lt_cv_prog_compiler_rtti_exceptions
=no
6614 ac_outfile
=conftest.
$ac_objext
6615 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6616 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6617 # Insert the option either (1) after the last *FLAGS variable, or
6618 # (2) before a word containing "conftest.", or (3) at the end.
6619 # Note that $ac_compile itself does not contain backslashes and begins
6620 # with a dollar sign (not a hyphen), so the echo should work correctly.
6621 # The option is referenced via a variable to avoid confusing sed.
6622 lt_compile
=`echo "$ac_compile" | $SED \
6623 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6625 -e 's:$: $lt_compiler_flag:'`
6626 (eval echo "\"\$as_me:6626: $lt_compile\"" >&5)
6627 (eval "$lt_compile" 2>conftest.err
)
6629 cat conftest.err
>&5
6630 echo "$as_me:6630: \$? = $ac_status" >&5
6631 if (exit $ac_status) && test -s "$ac_outfile"; then
6632 # The compiler can only warn and ignore the option if not recognized
6633 # So say no if there are warnings
6634 if test ! -s conftest.err
; then
6635 lt_cv_prog_compiler_rtti_exceptions
=yes
6641 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6642 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6644 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6645 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6652 lt_prog_compiler_wl
=
6653 lt_prog_compiler_pic
=
6654 lt_prog_compiler_static
=
6656 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6657 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6659 if test "$GCC" = yes; then
6660 lt_prog_compiler_wl
='-Wl,'
6661 lt_prog_compiler_static
='-static'
6665 # All AIX code is PIC.
6666 if test "$host_cpu" = ia64
; then
6667 # AIX 5 now supports IA64 processor
6668 lt_prog_compiler_static
='-Bstatic'
6673 # FIXME: we need at least 68020 code to build shared libraries, but
6674 # adding the `-m68020' flag to GCC prevents building anything better,
6676 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6679 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6680 # PIC is the default for these OSes.
6683 mingw
* | pw32
* | os2
*)
6684 # This hack is so that the source file can tell whether it is being
6685 # built for inclusion in a dll (and should export symbols for example).
6686 lt_prog_compiler_pic
='-DDLL_EXPORT'
6689 darwin
* | rhapsody
*)
6690 # PIC is the default on this platform
6691 # Common symbols not allowed in MH_DYLIB files
6692 lt_prog_compiler_pic
='-fno-common'
6696 # Just because we use GCC doesn't mean we suddenly get shared libraries
6697 # on systems that don't support them.
6698 lt_prog_compiler_can_build_shared
=no
6703 if test -d /usr
/nec
; then
6704 lt_prog_compiler_pic
=-Kconform_pic
6709 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6716 lt_prog_compiler_pic
='-fPIC'
6722 lt_prog_compiler_pic
='-fPIC'
6726 # PORTME Check for flag to pass linker flags through the system compiler.
6729 lt_prog_compiler_wl
='-Wl,'
6730 if test "$host_cpu" = ia64
; then
6731 # AIX 5 now supports IA64 processor
6732 lt_prog_compiler_static
='-Bstatic'
6734 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6738 # PIC is the default on this platform
6739 # Common symbols not allowed in MH_DYLIB files
6740 case "$cc_basename" in
6742 lt_prog_compiler_pic
='-qnocommon'
6743 lt_prog_compiler_wl
='-Wl,'
6748 mingw
* | pw32
* | os2
*)
6749 # This hack is so that the source file can tell whether it is being
6750 # built for inclusion in a dll (and should export symbols for example).
6751 lt_prog_compiler_pic
='-DDLL_EXPORT'
6754 hpux9
* | hpux10
* | hpux11
*)
6755 lt_prog_compiler_wl
='-Wl,'
6756 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6763 lt_prog_compiler_pic
='+Z'
6766 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6767 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6770 irix5
* | irix6
* | nonstopux
*)
6771 lt_prog_compiler_wl
='-Wl,'
6772 # PIC (with -KPIC) is the default.
6773 lt_prog_compiler_static
='-non_shared'
6777 lt_prog_compiler_pic
='-KPIC'
6778 lt_prog_compiler_static
='-Bstatic'
6782 case $cc_basename in
6784 lt_prog_compiler_wl
='-Wl,'
6785 lt_prog_compiler_pic
='-KPIC'
6786 lt_prog_compiler_static
='-static'
6788 pgcc | pgf77 | pgf90
)
6789 # Portland Group compilers (*not* the Pentium gcc compiler,
6790 # which looks to be a dead project)
6791 lt_prog_compiler_wl
='-Wl,'
6792 lt_prog_compiler_pic
='-fpic'
6793 lt_prog_compiler_static
='-static'
6796 lt_prog_compiler_wl
='-Wl,'
6797 # All Alpha code is PIC.
6798 lt_prog_compiler_static
='-non_shared'
6801 lt_prog_compiler_wl
='-lopt='
6806 osf3
* | osf4
* | osf5
*)
6807 lt_prog_compiler_wl
='-Wl,'
6808 # All OSF/1 code is PIC.
6809 lt_prog_compiler_static
='-non_shared'
6813 lt_prog_compiler_pic
='-Kpic'
6814 lt_prog_compiler_static
='-dn'
6818 lt_prog_compiler_wl
='-Wl,'
6819 lt_prog_compiler_pic
='-KPIC'
6820 lt_prog_compiler_static
='-Bstatic'
6824 lt_prog_compiler_wl
='-Qoption ld '
6825 lt_prog_compiler_pic
='-PIC'
6826 lt_prog_compiler_static
='-Bstatic'
6829 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6830 lt_prog_compiler_wl
='-Wl,'
6831 lt_prog_compiler_pic
='-KPIC'
6832 lt_prog_compiler_static
='-Bstatic'
6836 if test -d /usr
/nec
;then
6837 lt_prog_compiler_pic
='-Kconform_pic'
6838 lt_prog_compiler_static
='-Bstatic'
6843 lt_prog_compiler_wl
='-Wl,'
6844 lt_prog_compiler_can_build_shared
=no
6848 lt_prog_compiler_pic
='-pic'
6849 lt_prog_compiler_static
='-Bstatic'
6853 lt_prog_compiler_can_build_shared
=no
6858 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6859 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6862 # Check to make sure the PIC flag actually works.
6864 if test -n "$lt_prog_compiler_pic"; then
6866 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6867 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6868 if test "${lt_prog_compiler_pic_works+set}" = set; then
6869 echo $ECHO_N "(cached) $ECHO_C" >&6
6871 lt_prog_compiler_pic_works
=no
6872 ac_outfile
=conftest.
$ac_objext
6873 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6874 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6875 # Insert the option either (1) after the last *FLAGS variable, or
6876 # (2) before a word containing "conftest.", or (3) at the end.
6877 # Note that $ac_compile itself does not contain backslashes and begins
6878 # with a dollar sign (not a hyphen), so the echo should work correctly.
6879 # The option is referenced via a variable to avoid confusing sed.
6880 lt_compile
=`echo "$ac_compile" | $SED \
6881 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6883 -e 's:$: $lt_compiler_flag:'`
6884 (eval echo "\"\$as_me:6884: $lt_compile\"" >&5)
6885 (eval "$lt_compile" 2>conftest.err
)
6887 cat conftest.err
>&5
6888 echo "$as_me:6888: \$? = $ac_status" >&5
6889 if (exit $ac_status) && test -s "$ac_outfile"; then
6890 # The compiler can only warn and ignore the option if not recognized
6891 # So say no if there are warnings
6892 if test ! -s conftest.err
; then
6893 lt_prog_compiler_pic_works
=yes
6899 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6900 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6902 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6903 case $lt_prog_compiler_pic in
6905 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6908 lt_prog_compiler_pic
=
6909 lt_prog_compiler_can_build_shared
=no
6914 # For platforms which do not support PIC, -DPIC is meaningless:
6916 lt_prog_compiler_pic
=
6919 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6923 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6924 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6925 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6928 lt_cv_prog_compiler_c_o
=no
6929 $rm -r conftest
2>/dev
/null
6933 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6935 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6936 # Insert the option either (1) after the last *FLAGS variable, or
6937 # (2) before a word containing "conftest.", or (3) at the end.
6938 # Note that $ac_compile itself does not contain backslashes and begins
6939 # with a dollar sign (not a hyphen), so the echo should work correctly.
6940 lt_compile
=`echo "$ac_compile" | $SED \
6941 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6942 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6943 -e 's:$: $lt_compiler_flag:'`
6944 (eval echo "\"\$as_me:6944: $lt_compile\"" >&5)
6945 (eval "$lt_compile" 2>out
/conftest.err
)
6947 cat out
/conftest.err
>&5
6948 echo "$as_me:6948: \$? = $ac_status" >&5
6949 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6951 # The compiler can only warn and ignore the option if not recognized
6952 # So say no if there are warnings
6953 if test ! -s out
/conftest.err
; then
6954 lt_cv_prog_compiler_c_o
=yes
6959 # SGI C++ compiler will create directory out/ii_files/ for
6960 # template instantiation
6961 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6962 $rm out
/* && rmdir out
6968 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6969 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6972 hard_links
="nottested"
6973 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6974 # do not overwrite the value of need_locks provided by the user
6975 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6976 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6979 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6981 ln conftest.a conftest.b
2>&5 || hard_links
=no
6982 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6983 echo "$as_me:$LINENO: result: $hard_links" >&5
6984 echo "${ECHO_T}$hard_links" >&6
6985 if test "$hard_links" = no
; then
6986 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6987 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6994 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6995 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6998 allow_undefined_flag
=
6999 enable_shared_with_static_runtimes
=no
7001 archive_expsym_cmds
=
7002 old_archive_From_new_cmds
=
7003 old_archive_from_expsyms_cmds
=
7004 export_dynamic_flag_spec
=
7005 whole_archive_flag_spec
=
7006 thread_safe_flag_spec
=
7007 hardcode_libdir_flag_spec
=
7008 hardcode_libdir_flag_spec_ld
=
7009 hardcode_libdir_separator
=
7012 hardcode_shlibpath_var
=unsupported
7013 link_all_deplibs
=unknown
7014 hardcode_automatic
=no
7017 always_export_symbols
=no
7018 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7019 # include_expsyms should be a list of space-separated symbols to be *always*
7020 # included in the symbol list
7022 # exclude_expsyms can be an extended regexp of symbols to exclude
7023 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7024 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7025 # as well as any symbol that contains `d'.
7026 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7027 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7028 # platforms (ab)use it in PIC code, but their linkers get confused if
7029 # the symbol is explicitly referenced. Since portable code cannot
7030 # rely on this symbol name, it's probably fine to never include it in
7031 # preloaded symbol tables.
7032 extract_expsyms_cmds
=
7035 cygwin
* | mingw
* | pw32
*)
7036 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7037 # When not using gcc, we currently assume that we are using
7038 # Microsoft Visual C++.
7039 if test "$GCC" != yes; then
7049 if test "$with_gnu_ld" = yes; then
7050 # If archive_cmds runs LD, not CC, wlarc should be empty
7053 # See if GNU ld supports shared libraries.
7055 aix3
* | aix4
* | aix5
*)
7056 # On AIX/PPC, the GNU linker is very broken
7057 if test "$host_cpu" != ia64
; then
7061 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7062 *** to be unable to reliably create shared libraries on AIX.
7063 *** Therefore, libtool is disabling shared libraries support. If you
7064 *** really care for shared libraries, you may want to modify your PATH
7065 *** so that a non-GNU linker is found, and then restart.
7072 archive_cmds
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7073 hardcode_libdir_flag_spec
='-L$libdir'
7074 hardcode_minus_L
=yes
7076 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7077 # that the semantics of dynamic libraries on AmigaOS, at least up
7078 # to version 4, is to share data among multiple programs linked
7079 # with the same dynamic library. Since this doesn't match the
7080 # behavior of shared libraries on other platforms, we can't use
7086 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7087 allow_undefined_flag
=unsupported
7088 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7089 # support --undefined. This deserves some investigation. FIXME
7090 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7096 cygwin
* | mingw
* | pw32
*)
7097 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7098 # as there is no search path for DLLs.
7099 hardcode_libdir_flag_spec
='-L$libdir'
7100 allow_undefined_flag
=unsupported
7101 always_export_symbols
=no
7102 enable_shared_with_static_runtimes
=yes
7103 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7105 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7106 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7107 # If the export-symbols file already is a .def file (1st line
7108 # is EXPORTS), use it as is; otherwise, prepend...
7109 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7110 cp $export_symbols $output_objdir/$soname.def;
7112 echo EXPORTS > $output_objdir/$soname.def;
7113 cat $export_symbols >> $output_objdir/$soname.def;
7115 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7122 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7123 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7126 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7127 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7132 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7136 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7137 *** create shared libraries on Solaris systems. Therefore, libtool
7138 *** is disabling shared libraries support. We urge you to upgrade GNU
7139 *** binutils to release 2.9.1 or newer. Another option is to modify
7140 *** your PATH or compiler configuration so that the native linker is
7141 *** used, and then restart.
7144 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7145 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7146 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7153 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7156 hardcode_shlibpath_var
=no
7160 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7162 case $CC,$host_cpu in
7163 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
7164 tmp_addflag
=' -fpic' ;;
7165 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7166 tmp_addflag
=' -i_dynamic' ;;
7167 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7168 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7169 ifc
* | ifort
*) # Intel Fortran compiler
7170 tmp_addflag
=' -nofor_main' ;;
7172 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7173 supports_anon_versioning
=no
7174 case `$LD -v 2>/dev/null` in
7175 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7176 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7177 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7178 *\
2.11.
*) ;; # other 2.11 versions
7179 *) supports_anon_versioning
=yes ;;
7181 if test $supports_anon_versioning = yes; then
7182 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7183 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7184 $echo "local: *; };" >> $output_objdir/$libname.ver~
7185 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7187 archive_expsym_cmds
=$archive_cmds
7195 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7196 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7197 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7204 if test "$ld_shlibs" = yes; then
7205 runpath_var
=LD_RUN_PATH
7206 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7207 export_dynamic_flag_spec
='${wl}--export-dynamic'
7208 # ancient GNU ld didn't support --whole-archive et. al.
7209 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7210 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7212 whole_archive_flag_spec
=
7216 # PORTME fill in a description of your system's linker (not GNU ld)
7219 allow_undefined_flag
=unsupported
7220 always_export_symbols
=yes
7221 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7222 # Note: this linker hardcodes the directories in LIBPATH if there
7223 # are no directories specified by -L.
7224 hardcode_minus_L
=yes
7225 if test "$GCC" = yes && test -z "$link_static_flag"; then
7226 # Neither direct hardcoding nor static linking is supported with a
7228 hardcode_direct
=unsupported
7233 if test "$host_cpu" = ia64
; then
7234 # On IA64, the linker does run time linking by default, so we don't
7235 # have to do anything special.
7236 aix_use_runtimelinking
=no
7237 exp_sym_flag
='-Bexport'
7240 # If we're using GNU nm, then we don't want the "-C" option.
7241 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7242 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7243 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
7245 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
7247 aix_use_runtimelinking
=no
7249 # Test if we are trying to use run time linking or normal
7250 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7251 # need to do runtime linking.
7252 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7253 for ld_flag
in $LDFLAGS; do
7254 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7255 aix_use_runtimelinking
=yes
7261 exp_sym_flag
='-bexport'
7262 no_entry_flag
='-bnoentry'
7265 # When large executables or shared objects are built, AIX ld can
7266 # have problems creating the table of contents. If linking a library
7267 # or program results in "error TOC overflow" add -mminimal-toc to
7268 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7269 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7273 hardcode_libdir_separator
=':'
7274 link_all_deplibs
=yes
7276 if test "$GCC" = yes; then
7277 case $host_os in aix4.
[012]|aix4.
[012].
*)
7278 # We only want to do this on AIX 4.2 and lower, the check
7279 # below for broken collect2 doesn't work under 4.3+
7280 collect2name
=`${CC} -print-prog-name=collect2`
7281 if test -f "$collect2name" && \
7282 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7284 # We have reworked collect2
7287 # We have old collect2
7288 hardcode_direct
=unsupported
7289 # It fails to find uninstalled libraries when the uninstalled
7290 # path is not listed in the libpath. Setting hardcode_minus_L
7291 # to unsupported forces relinking
7292 hardcode_minus_L
=yes
7293 hardcode_libdir_flag_spec
='-L$libdir'
7294 hardcode_libdir_separator
=
7297 shared_flag
='-shared'
7298 if test "$aix_use_runtimelinking" = yes; then
7299 shared_flag
="$shared_flag "'${wl}-G'
7303 if test "$host_cpu" = ia64
; then
7304 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7305 # chokes on -Wl,-G. The following line is correct:
7308 if test "$aix_use_runtimelinking" = yes; then
7309 shared_flag
='${wl}-G'
7311 shared_flag
='${wl}-bM:SRE'
7316 # It seems that -bexpall does not export symbols beginning with
7317 # underscore (_), so it is better to generate a list of symbols to export.
7318 always_export_symbols
=yes
7319 if test "$aix_use_runtimelinking" = yes; then
7320 # Warning - without using the other runtime loading flags (-brtl),
7321 # -berok will link without error, but may produce a broken library.
7322 allow_undefined_flag
='-berok'
7323 # Determine the default libpath from the value encoded in an empty executable.
7324 cat >conftest.
$ac_ext <<_ACEOF
7327 cat confdefs.h
>>conftest.
$ac_ext
7328 cat >>conftest.
$ac_ext <<_ACEOF
7329 /* end confdefs.h. */
7339 rm -f conftest.
$ac_objext conftest
$ac_exeext
7340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7341 (eval $ac_link) 2>conftest.er1
7343 grep -v '^ *+' conftest.er1
>conftest.err
7345 cat conftest.err
>&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); } &&
7348 { ac_try
='test -z "$ac_c_werror_flag"
7349 || test ! -s conftest.err'
7350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); }; } &&
7355 { ac_try
='test -s conftest$ac_exeext'
7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); }; }; then
7362 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7364 # Check for a 64-bit object if we didn't find anything.
7365 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7368 echo "$as_me: failed program was:" >&5
7369 sed 's/^/| /' conftest.
$ac_ext >&5
7372 rm -f conftest.err conftest.
$ac_objext \
7373 conftest
$ac_exeext conftest.
$ac_ext
7374 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7376 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7377 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7379 if test "$host_cpu" = ia64; then
7380 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7381 allow_undefined_flag="-z nodefs"
7382 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
7384 # Determine the default libpath from the value encoded in an empty executable.
7385 cat >conftest.$ac_ext <<_ACEOF
7388 cat confdefs.h >>conftest.$ac_ext
7389 cat >>conftest.$ac_ext <<_ACEOF
7390 /* end confdefs.h. */
7400 rm -f conftest.$ac_objext conftest$ac_exeext
7401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7402 (eval $ac_link) 2>conftest.er1
7404 grep -v '^ *+' conftest.er1 >conftest.err
7406 cat conftest.err >&5
7407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7408 (exit $ac_status); } &&
7409 { ac_try='test -z "$ac_c_werror_flag"
7410 || test ! -s conftest.err'
7411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7415 (exit $ac_status); }; } &&
7416 { ac_try='test -s conftest$ac_exeext'
7417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7420 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7421 (exit $ac_status); }; }; then
7423 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7425 # Check for a 64-bit object if we didn't find anything.
7426 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7429 echo "$as_me: failed program was
:" >&5
7430 sed 's/^/| /' conftest.$ac_ext >&5
7433 rm -f conftest.err conftest.$ac_objext \
7434 conftest$ac_exeext conftest.$ac_ext
7435 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7437 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7438 # Warning - without using the other run time loading flags,
7439 # -berok will link without error, but may produce a broken library.
7440 no_undefined_flag=' ${wl}-bernotok'
7441 allow_undefined_flag=' ${wl}-berok'
7442 # -bexpall does not export symbols beginning with underscore (_)
7443 always_export_symbols=yes
7444 # Exported symbols can be pulled into shared objects from archives
7445 whole_archive_flag_spec=' '
7446 archive_cmds_need_lc=yes
7447 # This is similar to how AIX traditionally builds it's shared libraries.
7448 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7454 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7455 hardcode_libdir_flag_spec
='-L$libdir'
7456 hardcode_minus_L
=yes
7457 # see comment about different semantics on the GNU ld section
7462 export_dynamic_flag_spec
=-rdynamic
7465 cygwin
* | mingw
* | pw32
*)
7466 # When not using gcc, we currently assume that we are using
7467 # Microsoft Visual C++.
7468 # hardcode_libdir_flag_spec is actually meaningless, as there is
7469 # no search path for DLLs.
7470 hardcode_libdir_flag_spec
=' '
7471 allow_undefined_flag
=unsupported
7472 # Tell ltmain to make .lib files, not .a files.
7474 # Tell ltmain to make .dll files, not .so files.
7476 # FIXME: Setting linknames here is a bad hack.
7477 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7478 # The linker will automatically build a .lib file if we build a DLL.
7479 old_archive_From_new_cmds
='true'
7480 # FIXME: Should let the user specify the lib program.
7481 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7482 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7483 enable_shared_with_static_runtimes
=yes
7486 darwin
* | rhapsody
*)
7488 rhapsody
* | darwin1.
[012])
7489 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7492 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7493 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7495 case ${MACOSX_DEPLOYMENT_TARGET} in
7497 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7500 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7506 archive_cmds_need_lc
=no
7508 hardcode_automatic
=yes
7509 hardcode_shlibpath_var
=unsupported
7510 whole_archive_flag_spec
=''
7511 link_all_deplibs
=yes
7512 if test "$GCC" = yes ; then
7513 output_verbose_link_cmd
='echo'
7514 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7515 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7516 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7517 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7518 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7520 case "$cc_basename" in
7522 output_verbose_link_cmd
='echo'
7523 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7524 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7525 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7526 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7527 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7537 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7538 hardcode_libdir_flag_spec
='-L$libdir'
7539 hardcode_shlibpath_var
=no
7546 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7547 # support. Future versions do this automatically, but an explicit c++rt0.o
7548 # does not break anything, and helps significantly (at the cost of a little
7551 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7552 hardcode_libdir_flag_spec
='-R$libdir'
7554 hardcode_shlibpath_var
=no
7557 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7559 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7561 hardcode_minus_L
=yes
7562 hardcode_shlibpath_var
=no
7565 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7566 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7567 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7568 hardcode_libdir_flag_spec
='-R$libdir'
7570 hardcode_shlibpath_var
=no
7574 if test "$GCC" = yes; then
7575 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7577 archive_cmds
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7579 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7580 hardcode_libdir_separator
=:
7583 # hardcode_minus_L: Not really in the search PATH,
7584 # but as the default location of the library.
7585 hardcode_minus_L
=yes
7586 export_dynamic_flag_spec
='${wl}-E'
7590 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7593 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7596 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7602 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7605 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7609 if test "$with_gnu_ld" = no
; then
7612 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7613 hardcode_libdir_flag_spec_ld
='+b $libdir'
7614 hardcode_libdir_separator
=:
7616 hardcode_shlibpath_var
=no
7619 hardcode_libdir_flag_spec
='-L$libdir'
7621 hardcode_shlibpath_var
=no
7623 # hardcode_minus_L: Not really in the search PATH,
7624 # but as the default location of the library.
7625 hardcode_minus_L
=yes
7628 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7629 hardcode_libdir_separator
=:
7631 export_dynamic_flag_spec
='${wl}-E'
7633 # hardcode_minus_L: Not really in the search PATH,
7634 # but as the default location of the library.
7635 hardcode_minus_L
=yes
7641 irix5
* | irix6
* | nonstopux
*)
7642 if test "$GCC" = yes; then
7643 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7645 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7646 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7648 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7649 hardcode_libdir_separator
=:
7650 link_all_deplibs
=yes
7654 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7655 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7657 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7659 hardcode_libdir_flag_spec
='-R$libdir'
7661 hardcode_shlibpath_var
=no
7665 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7667 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7668 hardcode_libdir_separator
=:
7669 hardcode_shlibpath_var
=no
7674 hardcode_shlibpath_var
=no
7675 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7676 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7677 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7678 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7679 export_dynamic_flag_spec
='${wl}-E'
7682 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7683 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7684 hardcode_libdir_flag_spec
='-R$libdir'
7687 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7688 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7695 hardcode_libdir_flag_spec
='-L$libdir'
7696 hardcode_minus_L
=yes
7697 allow_undefined_flag
=unsupported
7698 archive_cmds
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7699 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7703 if test "$GCC" = yes; then
7704 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7705 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7707 allow_undefined_flag
=' -expect_unresolved \*'
7708 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7710 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7711 hardcode_libdir_separator
=:
7714 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7715 if test "$GCC" = yes; then
7716 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7717 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7718 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7720 allow_undefined_flag
=' -expect_unresolved \*'
7721 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7722 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7723 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
7725 # Both c and cxx compiler support -rpath directly
7726 hardcode_libdir_flag_spec
='-rpath $libdir'
7728 hardcode_libdir_separator
=:
7732 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7733 hardcode_shlibpath_var
=no
7734 export_dynamic_flag_spec
='${wl}-Bexport'
7735 runpath_var
=LD_RUN_PATH
7736 hardcode_runpath_var
=yes
7740 no_undefined_flag
=' -z text'
7741 if test "$GCC" = yes; then
7742 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7743 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7744 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7746 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7747 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7748 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7750 hardcode_libdir_flag_spec
='-R$libdir'
7751 hardcode_shlibpath_var
=no
7753 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7754 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7755 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
7757 link_all_deplibs
=yes
7761 if test "x$host_vendor" = xsequent
; then
7762 # Use $CC to link under sequent, because it throws in some extra .o
7763 # files that make .init and .fini sections work.
7764 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7766 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7768 hardcode_libdir_flag_spec
='-L$libdir'
7770 hardcode_minus_L
=yes
7771 hardcode_shlibpath_var
=no
7775 case $host_vendor in
7777 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7778 hardcode_direct
=yes # is this really true???
7781 ## LD is ld it makes a PLAMLIB
7782 ## CC just makes a GrossModule.
7783 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7784 reload_cmds
='$CC -r -o $output$reload_objs'
7788 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7789 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7792 runpath_var
='LD_RUN_PATH'
7793 hardcode_shlibpath_var
=no
7797 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7798 hardcode_shlibpath_var
=no
7799 export_dynamic_flag_spec
='-Bexport'
7803 if test -d /usr
/nec
; then
7804 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7805 hardcode_shlibpath_var
=no
7806 runpath_var
=LD_RUN_PATH
7807 hardcode_runpath_var
=yes
7813 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7816 hardcode_shlibpath_var
=no
7817 hardcode_runpath_var
=yes
7818 runpath_var
=LD_RUN_PATH
7821 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7822 no_undefined_flag
='${wl}-z ${wl}text'
7823 if test "$GCC" = yes; then
7824 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7826 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7828 runpath_var
='LD_RUN_PATH'
7829 hardcode_shlibpath_var
=no
7833 no_undefined_flag
=' -z text'
7834 # $CC -shared without GNU ld will not create a library from C++
7835 # object files and a static libstdc++, better avoid it by now
7836 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7837 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7838 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7839 hardcode_libdir_flag_spec
=
7840 hardcode_shlibpath_var
=no
7841 runpath_var
='LD_RUN_PATH'
7845 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7846 hardcode_libdir_flag_spec
='-L$libdir'
7847 hardcode_shlibpath_var
=no
7856 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7857 echo "${ECHO_T}$ld_shlibs" >&6
7858 test "$ld_shlibs" = no
&& can_build_shared
=no
7860 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7861 if test "$GCC" = yes; then
7862 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7866 # Do we need to explicitly link libc?
7868 case "x$archive_cmds_need_lc" in
7870 # Assume -lc should be added
7871 archive_cmds_need_lc
=yes
7873 if test "$enable_shared" = yes && test "$GCC" = yes; then
7874 case $archive_cmds in
7876 # FIXME: we may have to deal with multi-command sequences.
7879 # Test whether the compiler implicitly links with -lc since on some
7880 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7881 # to ld, don't add -lc before -lgcc.
7882 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7883 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7885 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7888 (eval $ac_compile) 2>&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); } 2>conftest.err
; then
7894 libobjs
=conftest.
$ac_objext
7896 wl
=$lt_prog_compiler_wl
7902 lt_save_allow_undefined_flag
=$allow_undefined_flag
7903 allow_undefined_flag
=
7904 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7905 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); }
7910 archive_cmds_need_lc
=no
7912 archive_cmds_need_lc
=yes
7914 allow_undefined_flag
=$lt_save_allow_undefined_flag
7916 cat conftest.err
1>&5
7919 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7920 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7927 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7928 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7930 libname_spec
='lib$name'
7938 shlibpath_overrides_runpath
=unknown
7940 dynamic_linker
="$host_os ld.so"
7941 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7942 if test "$GCC" = yes; then
7943 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7944 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7945 # if the path contains ";" then we assume it to be the separator
7946 # otherwise default to the standard path separator (i.e. ":") - it is
7947 # assumed that no part of a normal pathname contains ";" but that should
7948 # okay in the real world where ";" in dirpaths is itself problematic.
7949 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7951 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7954 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7956 need_lib_prefix
=unknown
7957 hardcode_into_libs
=no
7959 # when you set need_version to no, make sure it does not cause -set_version
7960 # flags to be left without arguments
7961 need_version
=unknown
7966 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7967 shlibpath_var
=LIBPATH
7969 # AIX 3 has no versioning support, so we append a major version to the name.
7970 soname_spec
='${libname}${release}${shared_ext}$major'
7977 hardcode_into_libs
=yes
7978 if test "$host_cpu" = ia64
; then
7979 # AIX 5 supports IA64
7980 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7981 shlibpath_var
=LD_LIBRARY_PATH
7983 # With GCC up to 2.95.x, collect2 would create an import file
7984 # for dependence libraries. The import file would start with
7985 # the line `#! .'. This would cause the generated library to
7986 # depend on `.', always an invalid library. This was fixed in
7987 # development snapshots of GCC prior to 3.0.
7989 aix4 | aix4.
[01] | aix4.
[01].
*)
7990 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7992 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7999 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8000 # soname into executable. Probably we can add versioning support to
8001 # collect2, so additional links can be useful in future.
8002 if test "$aix_use_runtimelinking" = yes; then
8003 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8004 # instead of lib<name>.a to let people know that these are not
8005 # typical AIX shared libraries.
8006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8008 # We preserve .a as extension for shared libraries through AIX4.2
8009 # and later when we are not doing run time linking.
8010 library_names_spec
='${libname}${release}.a $libname.a'
8011 soname_spec
='${libname}${release}${shared_ext}$major'
8013 shlibpath_var
=LIBPATH
8018 library_names_spec
='$libname.ixlibrary $libname.a'
8019 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8020 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8024 library_names_spec
='${libname}${shared_ext}'
8025 dynamic_linker
="$host_os ld.so"
8026 shlibpath_var
=LIBRARY_PATH
8032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8033 soname_spec
='${libname}${release}${shared_ext}$major'
8034 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8035 shlibpath_var
=LD_LIBRARY_PATH
8036 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8037 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8038 # the default ld.so.conf also contains /usr/contrib/lib and
8039 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8040 # libtool to hard-code these into programs
8043 cygwin
* | mingw
* | pw32
*)
8044 version_type
=windows
8049 case $GCC,$host_os in
8050 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8051 library_names_spec
='$libname.dll.a'
8052 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8053 postinstall_cmds
='base_file=`basename \${file}`~
8054 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8055 dldir=$destdir/`dirname \$dlpath`~
8056 test -d \$dldir || mkdir -p \$dldir~
8057 $install_prog $dir/$dlname \$dldir/$dlname'
8058 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8059 dlpath=$dir/\$dldll~
8061 shlibpath_overrides_runpath
=yes
8065 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8066 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8067 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8070 # MinGW DLLs use traditional 'lib' prefix
8071 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8072 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8073 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8074 # It is most probably a Windows format PATH printed by
8075 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8076 # path with ; separators, and with drive letters. We can handle the
8077 # drive letters (cygwin fileutils understands them), so leave them,
8078 # especially as we might pass files found there to a mingw objdump,
8079 # which wouldn't understand a cygwinified path. Ahh.
8080 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8082 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8086 # pw32 DLLs use 'pw' prefix rather than 'lib'
8087 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8093 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8096 dynamic_linker
='Win32 ld.exe'
8097 # FIXME: first we should search . and the directory the executable is in
8101 darwin
* | rhapsody
*)
8102 dynamic_linker
="$host_os dyld"
8106 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8107 soname_spec
='${libname}${release}${major}$shared_ext'
8108 shlibpath_overrides_runpath
=yes
8109 shlibpath_var
=DYLD_LIBRARY_PATH
8110 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
8111 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8112 if test "$GCC" = yes; then
8113 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8115 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8117 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8125 soname_spec
='${libname}${release}${shared_ext}$major'
8126 shlibpath_var
=LD_LIBRARY_PATH
8137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8138 soname_spec
='${libname}${release}${shared_ext}$major'
8139 shlibpath_var
=LD_LIBRARY_PATH
8140 shlibpath_overrides_runpath
=no
8141 hardcode_into_libs
=yes
8142 dynamic_linker
='GNU ld.so'
8145 freebsd
* | dragonfly
*)
8146 # DragonFly does not have aout. When/if they implement a new
8147 # versioning mechanism, adjust this.
8148 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8149 version_type
=freebsd-
$objformat
8150 case $version_type in
8152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8157 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8161 shlibpath_var
=LD_LIBRARY_PATH
8164 shlibpath_overrides_runpath
=yes
8166 freebsd3.
[01]* | freebsdelf3.
[01]*)
8167 shlibpath_overrides_runpath
=yes
8168 hardcode_into_libs
=yes
8171 shlibpath_overrides_runpath
=no
8172 hardcode_into_libs
=yes
8181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8182 soname_spec
='${libname}${release}${shared_ext}$major'
8183 shlibpath_var
=LD_LIBRARY_PATH
8184 hardcode_into_libs
=yes
8187 hpux9
* | hpux10
* | hpux11
*)
8188 # Give a soname corresponding to the major version so that dld.sl refuses to
8189 # link against other versions.
8196 hardcode_into_libs
=yes
8197 dynamic_linker
="$host_os dld.so"
8198 shlibpath_var
=LD_LIBRARY_PATH
8199 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8201 soname_spec
='${libname}${release}${shared_ext}$major'
8202 if test "X$HPUX_IA64_MODE" = X32
; then
8203 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8205 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8207 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8211 hardcode_into_libs
=yes
8212 dynamic_linker
="$host_os dld.sl"
8213 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8214 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8216 soname_spec
='${libname}${release}${shared_ext}$major'
8217 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8218 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8222 dynamic_linker
="$host_os dld.sl"
8223 shlibpath_var
=SHLIB_PATH
8224 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8226 soname_spec
='${libname}${release}${shared_ext}$major'
8229 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8230 postinstall_cmds
='chmod 555 $lib'
8233 irix5
* | irix6
* | nonstopux
*)
8235 nonstopux
*) version_type
=nonstopux
;;
8237 if test "$lt_cv_prog_gnu_ld" = yes; then
8245 soname_spec
='${libname}${release}${shared_ext}$major'
8246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8248 irix5
* | nonstopux
*)
8252 case $LD in # libtool.m4 will add one of these switches to LD
8253 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8254 libsuff
= shlibsuff
= libmagic
=32-bit;;
8255 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8256 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8257 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8258 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8259 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8263 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8264 shlibpath_overrides_runpath
=no
8265 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8266 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8267 hardcode_into_libs
=yes
8270 # No shared lib support for Linux oldld, aout, or coff.
8271 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8275 # This must be Linux ELF.
8280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8281 soname_spec
='${libname}${release}${shared_ext}$major'
8282 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8283 shlibpath_var
=LD_LIBRARY_PATH
8284 shlibpath_overrides_runpath
=no
8285 # This implies no fast_install, which is unacceptable.
8286 # Some rework will be needed to allow for fast_install
8287 # before this can be enabled.
8288 hardcode_into_libs
=yes
8290 # Append ld.so.conf contents to the search path
8291 if test -f /etc
/ld.so.conf
; then
8292 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8293 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8296 # We used to test for /lib/ld.so.1 and disable shared libraries on
8297 # powerpc, because MkLinux only supported shared libraries with the
8298 # GNU dynamic linker. Since this was broken with cross compilers,
8299 # most powerpc-linux boxes support dynamic linking these days and
8300 # people can always --disable-shared, the test was removed, and we
8301 # assume the GNU/Linux dynamic linker is in use.
8302 dynamic_linker
='GNU/Linux ld.so'
8309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8310 soname_spec
='${libname}${release}${shared_ext}$major'
8311 shlibpath_var
=LD_LIBRARY_PATH
8312 shlibpath_overrides_runpath
=no
8313 hardcode_into_libs
=yes
8314 dynamic_linker
='GNU ld.so'
8321 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8323 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8324 dynamic_linker
='NetBSD (a.out) ld.so'
8326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8327 soname_spec
='${libname}${release}${shared_ext}$major'
8328 dynamic_linker
='NetBSD ld.elf_so'
8330 shlibpath_var
=LD_LIBRARY_PATH
8331 shlibpath_overrides_runpath
=yes
8332 hardcode_into_libs
=yes
8337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8338 shlibpath_var
=LD_LIBRARY_PATH
8339 shlibpath_overrides_runpath
=yes
8346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8347 soname_spec
='${libname}${release}${shared_ext}$major'
8348 shlibpath_var
=LD_LIBRARY_PATH
8349 shlibpath_overrides_runpath
=yes
8356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8357 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8358 shlibpath_var
=LD_LIBRARY_PATH
8359 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8361 openbsd2.
[89] | openbsd2.
[89].
*)
8362 shlibpath_overrides_runpath
=no
8365 shlibpath_overrides_runpath
=yes
8369 shlibpath_overrides_runpath
=yes
8374 libname_spec
='$name'
8377 library_names_spec
='$libname${shared_ext} $libname.a'
8378 dynamic_linker
='OS/2 ld.exe'
8379 shlibpath_var
=LIBPATH
8382 osf3
* | osf4
* | osf5
*)
8386 soname_spec
='${libname}${release}${shared_ext}$major'
8387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8388 shlibpath_var
=LD_LIBRARY_PATH
8389 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8390 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8395 soname_spec
='${libname}${release}${shared_ext}$major'
8396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8397 shlibpath_var
=LD_LIBRARY_PATH
8404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8405 soname_spec
='${libname}${release}${shared_ext}$major'
8406 shlibpath_var
=LD_LIBRARY_PATH
8407 shlibpath_overrides_runpath
=yes
8408 hardcode_into_libs
=yes
8409 # ldd complains unless libraries are executable
8410 postinstall_cmds
='chmod +x $lib'
8415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8416 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8417 shlibpath_var
=LD_LIBRARY_PATH
8418 shlibpath_overrides_runpath
=yes
8419 if test "$with_gnu_ld" = yes; then
8425 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8428 soname_spec
='${libname}${release}${shared_ext}$major'
8429 shlibpath_var
=LD_LIBRARY_PATH
8430 case $host_vendor in
8432 shlibpath_overrides_runpath
=no
8434 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8435 runpath_var
=LD_RUN_PATH
8443 shlibpath_overrides_runpath
=no
8444 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8450 if test -d /usr
/nec
;then
8452 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8453 soname_spec
='$libname${shared_ext}.$major'
8454 shlibpath_var
=LD_LIBRARY_PATH
8460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8461 soname_spec
='${libname}${release}${shared_ext}$major'
8462 shlibpath_var
=LD_LIBRARY_PATH
8469 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8470 echo "${ECHO_T}$dynamic_linker" >&6
8471 test "$dynamic_linker" = no
&& can_build_shared
=no
8473 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8474 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8476 if test -n "$hardcode_libdir_flag_spec" || \
8477 test -n "$runpath_var" || \
8478 test "X$hardcode_automatic" = "Xyes" ; then
8480 # We can hardcode non-existant directories.
8481 if test "$hardcode_direct" != no
&&
8482 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8483 # have to relink, otherwise we might link with an installed library
8484 # when we should be linking with a yet-to-be-installed one
8485 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8486 test "$hardcode_minus_L" != no
; then
8487 # Linking always hardcodes the temporary library directory.
8488 hardcode_action
=relink
8490 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8491 hardcode_action
=immediate
8494 # We cannot hardcode anything, or else we can only hardcode existing
8496 hardcode_action
=unsupported
8498 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8499 echo "${ECHO_T}$hardcode_action" >&6
8501 if test "$hardcode_action" = relink
; then
8502 # Fast installation is not supported
8503 enable_fast_install
=no
8504 elif test "$shlibpath_overrides_runpath" = yes ||
8505 test "$enable_shared" = no
; then
8506 # Fast installation is not necessary
8507 enable_fast_install
=needless
8512 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8513 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8514 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8515 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8516 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8517 echo "$as_me:$LINENO: result: yes" >&5
8518 echo "${ECHO_T}yes" >&6
8520 # FIXME - insert some real tests, host_os isn't really good enough
8523 if test -n "$STRIP" ; then
8524 striplib
="$STRIP -x"
8525 echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6
8528 echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6
8533 echo "$as_me:$LINENO: result: no" >&5
8534 echo "${ECHO_T}no" >&6
8539 if test "x$enable_dlopen" != xyes
; then
8540 enable_dlopen
=unknown
8541 enable_dlopen_self
=unknown
8542 enable_dlopen_self_static
=unknown
8549 lt_cv_dlopen
="load_add_on"
8551 lt_cv_dlopen_self
=yes
8555 lt_cv_dlopen
="LoadLibrary"
8560 lt_cv_dlopen
="dlopen"
8565 # if libdl is installed we need to link against it
8566 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8567 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8568 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8571 ac_check_lib_save_LIBS
=$LIBS
8573 cat >conftest.
$ac_ext <<_ACEOF
8576 cat confdefs.h
>>conftest.
$ac_ext
8577 cat >>conftest.
$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8580 /* Override any gcc2 internal prototype to avoid an error. */
8584 /* We use char because int might match the return type of a gcc2
8585 builtin and then its argument prototype would still apply. */
8595 rm -f conftest.
$ac_objext conftest
$ac_exeext
8596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8597 (eval $ac_link) 2>conftest.er1
8599 grep -v '^ *+' conftest.er1
>conftest.err
8601 cat conftest.err
>&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); } &&
8604 { ac_try
='test -z "$ac_c_werror_flag"
8605 || test ! -s conftest.err'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; } &&
8611 { ac_try
='test -s conftest$ac_exeext'
8612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); }; }; then
8617 ac_cv_lib_dl_dlopen
=yes
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.
$ac_ext >&5
8622 ac_cv_lib_dl_dlopen
=no
8624 rm -f conftest.err conftest.
$ac_objext \
8625 conftest
$ac_exeext conftest.
$ac_ext
8626 LIBS
=$ac_check_lib_save_LIBS
8628 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8629 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8630 if test $ac_cv_lib_dl_dlopen = yes; then
8631 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8636 lt_cv_dlopen_self
=yes
8643 echo "$as_me:$LINENO: checking for shl_load" >&5
8644 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8645 if test "${ac_cv_func_shl_load+set}" = set; then
8646 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 cat >conftest.
$ac_ext <<_ACEOF
8651 cat confdefs.h
>>conftest.
$ac_ext
8652 cat >>conftest.
$ac_ext <<_ACEOF
8653 /* end confdefs.h. */
8654 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8656 #define shl_load innocuous_shl_load
8658 /* System header to define __stub macros and hopefully few prototypes,
8659 which can conflict with char shl_load (); below.
8660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8661 <limits.h> exists even on freestanding compilers. */
8664 # include <limits.h>
8666 # include <assert.h>
8671 /* Override any gcc2 internal prototype to avoid an error. */
8676 /* We use char because int might match the return type of a gcc2
8677 builtin and then its argument prototype would still apply. */
8679 /* The GNU C library defines this for functions which it implements
8680 to always fail with ENOSYS. Some functions are actually named
8681 something starting with __ and the normal name is an alias. */
8682 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8685 char (*f) () = shl_load;
8694 return f != shl_load;
8699 rm -f conftest.
$ac_objext conftest
$ac_exeext
8700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8701 (eval $ac_link) 2>conftest.er1
8703 grep -v '^ *+' conftest.er1
>conftest.err
8705 cat conftest.err
>&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); } &&
8708 { ac_try
='test -z "$ac_c_werror_flag"
8709 || test ! -s conftest.err'
8710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); }; } &&
8715 { ac_try
='test -s conftest$ac_exeext'
8716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); }; }; then
8721 ac_cv_func_shl_load
=yes
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.
$ac_ext >&5
8726 ac_cv_func_shl_load
=no
8728 rm -f conftest.err conftest.
$ac_objext \
8729 conftest
$ac_exeext conftest.
$ac_ext
8731 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8732 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8733 if test $ac_cv_func_shl_load = yes; then
8734 lt_cv_dlopen
="shl_load"
8736 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8737 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8738 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8739 echo $ECHO_N "(cached) $ECHO_C" >&6
8741 ac_check_lib_save_LIBS
=$LIBS
8743 cat >conftest.
$ac_ext <<_ACEOF
8746 cat confdefs.h
>>conftest.
$ac_ext
8747 cat >>conftest.
$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8750 /* Override any gcc2 internal prototype to avoid an error. */
8754 /* We use char because int might match the return type of a gcc2
8755 builtin and then its argument prototype would still apply. */
8765 rm -f conftest.
$ac_objext conftest
$ac_exeext
8766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8767 (eval $ac_link) 2>conftest.er1
8769 grep -v '^ *+' conftest.er1
>conftest.err
8771 cat conftest.err
>&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } &&
8774 { ac_try
='test -z "$ac_c_werror_flag"
8775 || test ! -s conftest.err'
8776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); }; } &&
8781 { ac_try
='test -s conftest$ac_exeext'
8782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; }; then
8787 ac_cv_lib_dld_shl_load
=yes
8789 echo "$as_me: failed program was:" >&5
8790 sed 's/^/| /' conftest.
$ac_ext >&5
8792 ac_cv_lib_dld_shl_load
=no
8794 rm -f conftest.err conftest.
$ac_objext \
8795 conftest
$ac_exeext conftest.
$ac_ext
8796 LIBS
=$ac_check_lib_save_LIBS
8798 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8799 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8800 if test $ac_cv_lib_dld_shl_load = yes; then
8801 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8803 echo "$as_me:$LINENO: checking for dlopen" >&5
8804 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8805 if test "${ac_cv_func_dlopen+set}" = set; then
8806 echo $ECHO_N "(cached) $ECHO_C" >&6
8808 cat >conftest.
$ac_ext <<_ACEOF
8811 cat confdefs.h
>>conftest.
$ac_ext
8812 cat >>conftest.
$ac_ext <<_ACEOF
8813 /* end confdefs.h. */
8814 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8816 #define dlopen innocuous_dlopen
8818 /* System header to define __stub macros and hopefully few prototypes,
8819 which can conflict with char dlopen (); below.
8820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8821 <limits.h> exists even on freestanding compilers. */
8824 # include <limits.h>
8826 # include <assert.h>
8831 /* Override any gcc2 internal prototype to avoid an error. */
8836 /* We use char because int might match the return type of a gcc2
8837 builtin and then its argument prototype would still apply. */
8839 /* The GNU C library defines this for functions which it implements
8840 to always fail with ENOSYS. Some functions are actually named
8841 something starting with __ and the normal name is an alias. */
8842 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8845 char (*f) () = dlopen;
8859 rm -f conftest.
$ac_objext conftest
$ac_exeext
8860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8861 (eval $ac_link) 2>conftest.er1
8863 grep -v '^ *+' conftest.er1
>conftest.err
8865 cat conftest.err
>&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); } &&
8868 { ac_try
='test -z "$ac_c_werror_flag"
8869 || test ! -s conftest.err'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; } &&
8875 { ac_try
='test -s conftest$ac_exeext'
8876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; }; then
8881 ac_cv_func_dlopen
=yes
8883 echo "$as_me: failed program was:" >&5
8884 sed 's/^/| /' conftest.
$ac_ext >&5
8886 ac_cv_func_dlopen
=no
8888 rm -f conftest.err conftest.
$ac_objext \
8889 conftest
$ac_exeext conftest.
$ac_ext
8891 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8892 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8893 if test $ac_cv_func_dlopen = yes; then
8894 lt_cv_dlopen
="dlopen"
8896 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8897 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8898 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8899 echo $ECHO_N "(cached) $ECHO_C" >&6
8901 ac_check_lib_save_LIBS
=$LIBS
8903 cat >conftest.
$ac_ext <<_ACEOF
8906 cat confdefs.h
>>conftest.
$ac_ext
8907 cat >>conftest.
$ac_ext <<_ACEOF
8908 /* end confdefs.h. */
8910 /* Override any gcc2 internal prototype to avoid an error. */
8914 /* We use char because int might match the return type of a gcc2
8915 builtin and then its argument prototype would still apply. */
8925 rm -f conftest.
$ac_objext conftest
$ac_exeext
8926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8927 (eval $ac_link) 2>conftest.er1
8929 grep -v '^ *+' conftest.er1
>conftest.err
8931 cat conftest.err
>&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); } &&
8934 { ac_try
='test -z "$ac_c_werror_flag"
8935 || test ! -s conftest.err'
8936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); }; } &&
8941 { ac_try
='test -s conftest$ac_exeext'
8942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); }; }; then
8947 ac_cv_lib_dl_dlopen
=yes
8949 echo "$as_me: failed program was:" >&5
8950 sed 's/^/| /' conftest.
$ac_ext >&5
8952 ac_cv_lib_dl_dlopen
=no
8954 rm -f conftest.err conftest.
$ac_objext \
8955 conftest
$ac_exeext conftest.
$ac_ext
8956 LIBS
=$ac_check_lib_save_LIBS
8958 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8959 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8960 if test $ac_cv_lib_dl_dlopen = yes; then
8961 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8963 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8964 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8965 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8966 echo $ECHO_N "(cached) $ECHO_C" >&6
8968 ac_check_lib_save_LIBS
=$LIBS
8970 cat >conftest.
$ac_ext <<_ACEOF
8973 cat confdefs.h
>>conftest.
$ac_ext
8974 cat >>conftest.
$ac_ext <<_ACEOF
8975 /* end confdefs.h. */
8977 /* Override any gcc2 internal prototype to avoid an error. */
8981 /* We use char because int might match the return type of a gcc2
8982 builtin and then its argument prototype would still apply. */
8992 rm -f conftest.
$ac_objext conftest
$ac_exeext
8993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8994 (eval $ac_link) 2>conftest.er1
8996 grep -v '^ *+' conftest.er1
>conftest.err
8998 cat conftest.err
>&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); } &&
9001 { ac_try
='test -z "$ac_c_werror_flag"
9002 || test ! -s conftest.err'
9003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); }; } &&
9008 { ac_try
='test -s conftest$ac_exeext'
9009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013 (exit $ac_status); }; }; then
9014 ac_cv_lib_svld_dlopen
=yes
9016 echo "$as_me: failed program was:" >&5
9017 sed 's/^/| /' conftest.
$ac_ext >&5
9019 ac_cv_lib_svld_dlopen
=no
9021 rm -f conftest.err conftest.
$ac_objext \
9022 conftest
$ac_exeext conftest.
$ac_ext
9023 LIBS
=$ac_check_lib_save_LIBS
9025 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9026 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9027 if test $ac_cv_lib_svld_dlopen = yes; then
9028 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9030 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9031 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9032 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9035 ac_check_lib_save_LIBS
=$LIBS
9037 cat >conftest.
$ac_ext <<_ACEOF
9040 cat confdefs.h
>>conftest.
$ac_ext
9041 cat >>conftest.
$ac_ext <<_ACEOF
9042 /* end confdefs.h. */
9044 /* Override any gcc2 internal prototype to avoid an error. */
9048 /* We use char because int might match the return type of a gcc2
9049 builtin and then its argument prototype would still apply. */
9059 rm -f conftest.
$ac_objext conftest
$ac_exeext
9060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9061 (eval $ac_link) 2>conftest.er1
9063 grep -v '^ *+' conftest.er1
>conftest.err
9065 cat conftest.err
>&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); } &&
9068 { ac_try
='test -z "$ac_c_werror_flag"
9069 || test ! -s conftest.err'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; } &&
9075 { ac_try
='test -s conftest$ac_exeext'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; }; then
9081 ac_cv_lib_dld_dld_link
=yes
9083 echo "$as_me: failed program was:" >&5
9084 sed 's/^/| /' conftest.
$ac_ext >&5
9086 ac_cv_lib_dld_dld_link
=no
9088 rm -f conftest.err conftest.
$ac_objext \
9089 conftest
$ac_exeext conftest.
$ac_ext
9090 LIBS
=$ac_check_lib_save_LIBS
9092 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9093 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9094 if test $ac_cv_lib_dld_dld_link = yes; then
9095 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9116 if test "x$lt_cv_dlopen" != xno
; then
9122 case $lt_cv_dlopen in
9124 save_CPPFLAGS
="$CPPFLAGS"
9125 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9127 save_LDFLAGS
="$LDFLAGS"
9128 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9131 LIBS
="$lt_cv_dlopen_libs $LIBS"
9133 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9134 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9135 if test "${lt_cv_dlopen_self+set}" = set; then
9136 echo $ECHO_N "(cached) $ECHO_C" >&6
9138 if test "$cross_compiling" = yes; then :
9139 lt_cv_dlopen_self
=cross
9141 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9142 lt_status
=$lt_dlunknown
9143 cat > conftest.
$ac_ext <<EOF
9144 #line 9144 "configure"
9145 #include "confdefs.h"
9154 # define LT_DLGLOBAL RTLD_GLOBAL
9157 # define LT_DLGLOBAL DL_GLOBAL
9159 # define LT_DLGLOBAL 0
9163 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9164 find out it does not work in some platform. */
9165 #ifndef LT_DLLAZY_OR_NOW
9167 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9170 # define LT_DLLAZY_OR_NOW DL_LAZY
9173 # define LT_DLLAZY_OR_NOW RTLD_NOW
9176 # define LT_DLLAZY_OR_NOW DL_NOW
9178 # define LT_DLLAZY_OR_NOW 0
9186 extern "C" void exit (int);
9189 void fnord() { int i=42;}
9192 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9193 int status = $lt_dlunknown;
9197 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9198 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9199 /* dlclose (self); */
9205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9206 (eval $ac_link) 2>&5
9208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9209 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9210 (.
/conftest
; exit; ) 2>/dev
/null
9213 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9214 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9215 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
9218 # compilation failed
9219 lt_cv_dlopen_self
=no
9226 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9227 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9229 if test "x$lt_cv_dlopen_self" = xyes
; then
9230 LDFLAGS
="$LDFLAGS $link_static_flag"
9231 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9232 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9233 if test "${lt_cv_dlopen_self_static+set}" = set; then
9234 echo $ECHO_N "(cached) $ECHO_C" >&6
9236 if test "$cross_compiling" = yes; then :
9237 lt_cv_dlopen_self_static
=cross
9239 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9240 lt_status
=$lt_dlunknown
9241 cat > conftest.
$ac_ext <<EOF
9242 #line 9242 "configure"
9243 #include "confdefs.h"
9252 # define LT_DLGLOBAL RTLD_GLOBAL
9255 # define LT_DLGLOBAL DL_GLOBAL
9257 # define LT_DLGLOBAL 0
9261 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9262 find out it does not work in some platform. */
9263 #ifndef LT_DLLAZY_OR_NOW
9265 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9268 # define LT_DLLAZY_OR_NOW DL_LAZY
9271 # define LT_DLLAZY_OR_NOW RTLD_NOW
9274 # define LT_DLLAZY_OR_NOW DL_NOW
9276 # define LT_DLLAZY_OR_NOW 0
9284 extern "C" void exit (int);
9287 void fnord() { int i=42;}
9290 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9291 int status = $lt_dlunknown;
9295 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9296 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9297 /* dlclose (self); */
9303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9304 (eval $ac_link) 2>&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9308 (.
/conftest
; exit; ) 2>/dev
/null
9311 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9312 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9313 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
9316 # compilation failed
9317 lt_cv_dlopen_self_static
=no
9324 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9325 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9328 CPPFLAGS
="$save_CPPFLAGS"
9329 LDFLAGS
="$save_LDFLAGS"
9334 case $lt_cv_dlopen_self in
9335 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9336 *) enable_dlopen_self
=unknown
;;
9339 case $lt_cv_dlopen_self_static in
9340 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9341 *) enable_dlopen_self_static
=unknown
;;
9346 # Report which librarie types wil actually be built
9347 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9348 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9349 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9350 echo "${ECHO_T}$can_build_shared" >&6
9352 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9353 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9354 test "$can_build_shared" = "no" && enable_shared
=no
9356 # On AIX, shared libraries and static libraries use the same namespace, and
9357 # are all built from PIC.
9360 test "$enable_shared" = yes && enable_static
=no
9361 if test -n "$RANLIB"; then
9362 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9363 postinstall_cmds
='$RANLIB $lib'
9368 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9369 test "$enable_shared" = yes && enable_static
=no
9373 echo "$as_me:$LINENO: result: $enable_shared" >&5
9374 echo "${ECHO_T}$enable_shared" >&6
9376 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9377 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9378 # Make sure either enable_shared or enable_static is yes.
9379 test "$enable_shared" = yes || enable_static
=yes
9380 echo "$as_me:$LINENO: result: $enable_static" >&5
9381 echo "${ECHO_T}$enable_static" >&6
9383 # The else clause should only fire when bootstrapping the
9384 # libtool distribution, otherwise you forgot to ship ltmain.sh
9385 # with your package, and you will get complaints that there are
9386 # no rules to generate ltmain.sh.
9387 if test -f "$ltmain"; then
9388 # See if we are running on zsh, and set the options which allow our commands through
9389 # without removal of \ escapes.
9390 if test -n "${ZSH_VERSION+set}" ; then
9391 setopt NO_GLOB_SUBST
9393 # Now quote all the things that may contain metacharacters while being
9394 # careful not to overquote the AC_SUBSTed values. We take copies of the
9395 # variables and quote the copies for generation of the libtool script.
9396 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9398 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9399 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9400 deplibs_check_method reload_flag reload_cmds need_locks \
9401 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9402 lt_cv_sys_global_symbol_to_c_name_address \
9403 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9404 old_postinstall_cmds old_postuninstall_cmds \
9408 lt_prog_compiler_wl \
9409 lt_prog_compiler_pic \
9410 lt_prog_compiler_static \
9411 lt_prog_compiler_no_builtin_flag \
9412 export_dynamic_flag_spec \
9413 thread_safe_flag_spec \
9414 whole_archive_flag_spec \
9415 enable_shared_with_static_runtimes \
9417 old_archive_from_new_cmds \
9422 compiler_lib_search_path \
9424 archive_expsym_cmds \
9426 postuninstall_cmds \
9427 old_archive_from_expsyms_cmds \
9428 allow_undefined_flag \
9430 export_symbols_cmds \
9431 hardcode_libdir_flag_spec \
9432 hardcode_libdir_flag_spec_ld \
9433 hardcode_libdir_separator \
9434 hardcode_automatic \
9436 module_expsym_cmds \
9437 lt_cv_prog_compiler_c_o \
9442 old_archive_cmds | \
9443 old_archive_from_new_cmds | \
9445 archive_expsym_cmds | \
9447 module_expsym_cmds | \
9448 old_archive_from_expsyms_cmds | \
9449 export_symbols_cmds | \
9450 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9451 postinstall_cmds | postuninstall_cmds | \
9452 old_postinstall_cmds | old_postuninstall_cmds | \
9453 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9454 # Double-quote double-evaled strings.
9455 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9458 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9464 *'\$0 --fallback-echo"')
9465 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9470 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9472 { echo "$as_me:$LINENO: creating $ofile" >&5
9473 echo "$as_me: creating $ofile" >&6;}
9475 cat <<__EOF__ >> "$cfgfile"
9478 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9479 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9480 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9482 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9483 # Free Software Foundation, Inc.
9485 # This file is part of GNU Libtool:
9486 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9488 # This program is free software; you can redistribute it and/or modify
9489 # it under the terms of the GNU General Public License as published by
9490 # the Free Software Foundation; either version 2 of the License, or
9491 # (at your option) any later version.
9493 # This program is distributed in the hope that it will be useful, but
9494 # WITHOUT ANY WARRANTY; without even the implied warranty of
9495 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9496 # General Public License for more details.
9498 # You should have received a copy of the GNU General Public License
9499 # along with this program; if not, write to the Free Software
9500 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9502 # As a special exception to the GNU General Public License, if you
9503 # distribute this file as part of a program that contains a
9504 # configuration script generated by Autoconf, you may include it under
9505 # the same distribution terms that you use for the rest of that program.
9507 # A sed program that does not truncate output.
9510 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9511 Xsed="$SED -e s/^X//"
9513 # The HP-UX ksh and POSIX shell print the target directory to stdout
9515 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9517 # The names of the tagged configurations supported by this script.
9520 # ### BEGIN LIBTOOL CONFIG
9522 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9524 # Shell to use when invoking shell scripts.
9527 # Whether or not to build shared libraries.
9528 build_libtool_libs=$enable_shared
9530 # Whether or not to build static libraries.
9531 build_old_libs=$enable_static
9533 # Whether or not to add -lc for building shared libraries.
9534 build_libtool_need_lc=$archive_cmds_need_lc
9536 # Whether or not to disallow shared libs when runtime libs are static
9537 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9539 # Whether or not to optimize for fast installation.
9540 fast_install=$enable_fast_install
9543 host_alias=$host_alias
9548 build_alias=$build_alias
9552 # An echo program that does not interpret backslashes.
9557 AR_FLAGS=$lt_AR_FLAGS
9562 # A language-specific compiler.
9565 # Is the compiler the GNU C compiler?
9571 # The linker used to build libraries.
9574 # Whether we need hard or soft links.
9577 # A BSD-compatible nm program.
9580 # A symbol stripping program
9583 # Used to examine libraries when file_magic_cmd begins "file"
9584 MAGIC_CMD=$MAGIC_CMD
9586 # Used on cygwin: DLL creation program.
9589 # Used on cygwin: object dumper.
9592 # Used on cygwin: assembler.
9595 # The name of the directory that contains temporary libtool files.
9598 # How to create reloadable object files.
9599 reload_flag=$lt_reload_flag
9600 reload_cmds=$lt_reload_cmds
9602 # How to pass a linker flag through the compiler.
9603 wl=$lt_lt_prog_compiler_wl
9605 # Object file suffix (normally "o").
9608 # Old archive suffix (normally "a").
9611 # Shared library suffix (normally ".so").
9612 shrext_cmds='$shrext_cmds'
9614 # Executable file suffix (normally "").
9617 # Additional compiler flags for building library objects.
9618 pic_flag=$lt_lt_prog_compiler_pic
9621 # What is the maximum length of a command?
9622 max_cmd_len=$lt_cv_sys_max_cmd_len
9624 # Does compiler simultaneously support -c and -o options?
9625 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9627 # Must we lock files when doing compilation ?
9628 need_locks=$lt_need_locks
9630 # Do we need the lib prefix for modules?
9631 need_lib_prefix=$need_lib_prefix
9633 # Do we need a version for libraries?
9634 need_version=$need_version
9636 # Whether dlopen is supported.
9637 dlopen_support=$enable_dlopen
9639 # Whether dlopen of programs is supported.
9640 dlopen_self=$enable_dlopen_self
9642 # Whether dlopen of statically linked programs is supported.
9643 dlopen_self_static=$enable_dlopen_self_static
9645 # Compiler flag to prevent dynamic linking.
9646 link_static_flag=$lt_lt_prog_compiler_static
9648 # Compiler flag to turn off builtin functions.
9649 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9651 # Compiler flag to allow reflexive dlopens.
9652 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9654 # Compiler flag to generate shared objects directly from archives.
9655 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9657 # Compiler flag to generate thread-safe objects.
9658 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9660 # Library versioning type.
9661 version_type=$version_type
9663 # Format of library name prefix.
9664 libname_spec=$lt_libname_spec
9666 # List of archive names. First name is the real one, the rest are links.
9667 # The last name is the one that the linker finds with -lNAME.
9668 library_names_spec=$lt_library_names_spec
9670 # The coded name of the library, if different from the real name.
9671 soname_spec=$lt_soname_spec
9673 # Commands used to build and install an old-style archive.
9675 old_archive_cmds=$lt_old_archive_cmds
9676 old_postinstall_cmds=$lt_old_postinstall_cmds
9677 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9679 # Create an old-style archive from a shared archive.
9680 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9682 # Create a temporary old-style archive to link instead of a shared archive.
9683 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9685 # Commands used to build and install a shared archive.
9686 archive_cmds=$lt_archive_cmds
9687 archive_expsym_cmds=$lt_archive_expsym_cmds
9688 postinstall_cmds=$lt_postinstall_cmds
9689 postuninstall_cmds=$lt_postuninstall_cmds
9691 # Commands used to build a loadable module (assumed same as above if empty)
9692 module_cmds=$lt_module_cmds
9693 module_expsym_cmds=$lt_module_expsym_cmds
9695 # Commands to strip libraries.
9696 old_striplib=$lt_old_striplib
9697 striplib=$lt_striplib
9699 # Dependencies to place before the objects being linked to create a
9701 predep_objects=$lt_predep_objects
9703 # Dependencies to place after the objects being linked to create a
9705 postdep_objects=$lt_postdep_objects
9707 # Dependencies to place before the objects being linked to create a
9711 # Dependencies to place after the objects being linked to create a
9713 postdeps=$lt_postdeps
9715 # The library search path used internally by the compiler when linking
9717 compiler_lib_search_path=$lt_compiler_lib_search_path
9719 # Method to check whether dependent libraries are shared objects.
9720 deplibs_check_method=$lt_deplibs_check_method
9722 # Command to use when deplibs_check_method == file_magic.
9723 file_magic_cmd=$lt_file_magic_cmd
9725 # Flag that allows shared libraries with undefined symbols to be built.
9726 allow_undefined_flag=$lt_allow_undefined_flag
9728 # Flag that forces no undefined symbols.
9729 no_undefined_flag=$lt_no_undefined_flag
9731 # Commands used to finish a libtool library installation in a directory.
9732 finish_cmds=$lt_finish_cmds
9734 # Same as above, but a single script fragment to be evaled but not shown.
9735 finish_eval=$lt_finish_eval
9737 # Take the output of nm and produce a listing of raw symbols and C names.
9738 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9740 # Transform the output of nm in a proper C declaration
9741 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9743 # Transform the output of nm in a C name address pair
9744 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9746 # This is the shared library runtime path variable.
9747 runpath_var=$runpath_var
9749 # This is the shared library path variable.
9750 shlibpath_var=$shlibpath_var
9752 # Is shlibpath searched before the hard-coded library search path?
9753 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9755 # How to hardcode a shared library path into an executable.
9756 hardcode_action=$hardcode_action
9758 # Whether we should hardcode library paths into libraries.
9759 hardcode_into_libs=$hardcode_into_libs
9761 # Flag to hardcode \$libdir into a binary during linking.
9762 # This must work even if \$libdir does not exist.
9763 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9765 # If ld is used when linking, flag to hardcode \$libdir into
9766 # a binary during linking. This must work even if \$libdir does
9768 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9770 # Whether we need a single -rpath flag with a separated argument.
9771 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9773 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9775 hardcode_direct=$hardcode_direct
9777 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9779 hardcode_minus_L=$hardcode_minus_L
9781 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9782 # the resulting binary.
9783 hardcode_shlibpath_var=$hardcode_shlibpath_var
9785 # Set to yes if building a shared library automatically hardcodes DIR into the library
9786 # and all subsequent libraries and executables linked against it.
9787 hardcode_automatic=$hardcode_automatic
9789 # Variables whose values should be saved in libtool wrapper scripts and
9790 # restored at relink time.
9791 variables_saved_for_relink="$variables_saved_for_relink"
9793 # Whether libtool must link a program against all its dependency libraries.
9794 link_all_deplibs=$link_all_deplibs
9796 # Compile-time system search path for libraries
9797 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9799 # Run-time system search path for libraries
9800 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9802 # Fix the shell variable \$srcfile for the compiler.
9803 fix_srcfile_path="$fix_srcfile_path"
9805 # Set to yes if exported symbols are required.
9806 always_export_symbols=$always_export_symbols
9808 # The commands to list exported symbols.
9809 export_symbols_cmds=$lt_export_symbols_cmds
9811 # The commands to extract the exported symbol list from a shared archive.
9812 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9814 # Symbols that should not be listed in the preloaded symbols.
9815 exclude_expsyms=$lt_exclude_expsyms
9817 # Symbols that must always be exported.
9818 include_expsyms=$lt_include_expsyms
9820 # ### END LIBTOOL CONFIG
9827 cat <<\EOF
>> "$cfgfile"
9829 # AIX sometimes has problems with the GCC collect2 program. For some
9830 # reason, if we set the COLLECT_NAMES environment variable, the problems
9831 # vanish in a puff of smoke.
9832 if test "X${COLLECT_NAMES+set}" != Xset
; then
9834 export COLLECT_NAMES
9840 # We use sed instead of cat because bash on DJGPP gets confused if
9841 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9842 # text mode, it properly converts lines to CR/LF. This bash problem
9843 # is reportedly fixed, but why not run on old versions too?
9844 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9846 mv -f "$cfgfile" "$ofile" || \
9847 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9851 # If there is no Makefile yet, we rely on a make rule to execute
9852 # `config.status --recheck' to rerun these tests and create the
9853 # libtool script then.
9854 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9855 if test -f "$ltmain_in"; then
9856 test -f Makefile
&& make "$ltmain"
9862 ac_cpp
='$CPP $CPPFLAGS'
9863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9870 # Check whether --with-tags or --without-tags was given.
9871 if test "${with_tags+set}" = set; then
9872 withval
="$with_tags"
9876 if test -f "$ltmain" && test -n "$tagnames"; then
9877 if test ! -f "${ofile}"; then
9878 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9879 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9882 if test -z "$LTCC"; then
9883 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9884 if test -z "$LTCC"; then
9885 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9886 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9888 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9889 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9893 # Extract list of available tagged configurations in $ofile.
9894 # Note that this assumes the entire list is on one line.
9895 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9897 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9898 for tagname
in $tagnames; do
9900 # Check whether tagname contains only valid characters
9901 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9903 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9904 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9905 { (exit 1); exit 1; }; }
9909 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9911 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9912 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9913 { (exit 1); exit 1; }; }
9916 # Update the list of available tags.
9917 if test -n "$tagname"; then
9918 echo appending configuration tag
\"$tagname\" to
$ofile
9922 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9923 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9924 (test "X$CXX" != "Xg++"))) ; then
9926 ac_cpp
='$CXXCPP $CPPFLAGS'
9927 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9928 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9929 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9934 archive_cmds_need_lc_CXX
=no
9935 allow_undefined_flag_CXX
=
9936 always_export_symbols_CXX
=no
9937 archive_expsym_cmds_CXX
=
9938 export_dynamic_flag_spec_CXX
=
9939 hardcode_direct_CXX
=no
9940 hardcode_libdir_flag_spec_CXX
=
9941 hardcode_libdir_flag_spec_ld_CXX
=
9942 hardcode_libdir_separator_CXX
=
9943 hardcode_minus_L_CXX
=no
9944 hardcode_automatic_CXX
=no
9946 module_expsym_cmds_CXX
=
9947 link_all_deplibs_CXX
=unknown
9948 old_archive_cmds_CXX
=$old_archive_cmds
9949 no_undefined_flag_CXX
=
9950 whole_archive_flag_spec_CXX
=
9951 enable_shared_with_static_runtimes_CXX
=no
9953 # Dependencies to place before and after the object being linked:
9955 postdep_objects_CXX
=
9958 compiler_lib_search_path_CXX
=
9960 # Source file extension for C++ test sources.
9963 # Object file extension for compiled C++ test sources.
9967 # Code to be used in simple compile tests
9968 lt_simple_compile_test_code
="int some_variable = 0;\n"
9970 # Code to be used in simple link tests
9971 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
9973 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9975 # If no C compiler was specified, use CC.
9978 # Allow CC to be a program name with arguments.
9982 # Allow CC to be a program name with arguments.
9987 lt_save_with_gnu_ld
=$with_gnu_ld
9988 lt_save_path_LD
=$lt_cv_path_LD
9989 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9990 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
9992 unset lt_cv_prog_gnu_ld
9994 if test -n "${lt_cv_path_LDCXX+set}"; then
9995 lt_cv_path_LD
=$lt_cv_path_LDCXX
9999 test -z "${LDCXX+set}" || LD
=$LDCXX
10003 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
10005 # We don't want -fno-exception wen compiling C++ code, so set the
10006 # no_builtin_flag separately
10007 if test "$GXX" = yes; then
10008 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10010 lt_prog_compiler_no_builtin_flag_CXX
=
10013 if test "$GXX" = yes; then
10014 # Set up default GNU C++ configuration
10017 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10018 if test "${with_gnu_ld+set}" = set; then
10019 withval
="$with_gnu_ld"
10020 test "$withval" = no || with_gnu_ld
=yes
10025 if test "$GCC" = yes; then
10026 # Check if gcc -print-prog-name=ld gives a path.
10027 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10028 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10031 # gcc leaves a trailing carriage return which upsets mingw
10032 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10034 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10037 # Accept absolute paths.
10039 re_direlt
='/[^/][^/]*/\.\./'
10040 # Canonicalize the pathname of ld
10041 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10042 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10043 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10045 test -z "$LD" && LD
="$ac_prog"
10048 # If it fails, then pretend we aren't using GCC.
10052 # If it is relative, then search for the first ld in PATH.
10053 with_gnu_ld
=unknown
10056 elif test "$with_gnu_ld" = yes; then
10057 echo "$as_me:$LINENO: checking for GNU ld" >&5
10058 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10060 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10061 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10063 if test "${lt_cv_path_LD+set}" = set; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 if test -z "$LD"; then
10067 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10068 for ac_dir
in $PATH; do
10070 test -z "$ac_dir" && ac_dir
=.
10071 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10072 lt_cv_path_LD
="$ac_dir/$ac_prog"
10073 # Check to see if the program is GNU ld. I'd rather use --version,
10074 # but apparently some GNU ld's only accept -v.
10075 # Break only if it was the GNU/non-GNU ld that we prefer.
10076 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10077 *GNU
* |
*'with BFD'*)
10078 test "$with_gnu_ld" != no
&& break
10081 test "$with_gnu_ld" != yes && break
10088 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10092 LD
="$lt_cv_path_LD"
10093 if test -n "$LD"; then
10094 echo "$as_me:$LINENO: result: $LD" >&5
10095 echo "${ECHO_T}$LD" >&6
10097 echo "$as_me:$LINENO: result: no" >&5
10098 echo "${ECHO_T}no" >&6
10100 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10101 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10102 { (exit 1); exit 1; }; }
10103 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10104 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10105 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10106 echo $ECHO_N "(cached) $ECHO_C" >&6
10108 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10109 case `$LD -v 2>&1 </dev/null` in
10110 *GNU
* |
*'with BFD'*)
10111 lt_cv_prog_gnu_ld
=yes
10114 lt_cv_prog_gnu_ld
=no
10118 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10119 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10120 with_gnu_ld
=$lt_cv_prog_gnu_ld
10124 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10125 # archiving commands below assume that GNU ld is being used.
10126 if test "$with_gnu_ld" = yes; then
10127 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10128 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10130 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10131 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10133 # If archive_cmds runs LD, not CC, wlarc should be empty
10134 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10135 # investigate it a little bit more. (MM)
10138 # ancient GNU ld didn't support --whole-archive et. al.
10139 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10140 grep 'no-whole-archive' > /dev
/null
; then
10141 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10143 whole_archive_flag_spec_CXX
=
10149 # A generic and very simple default shared library creation
10150 # command for GNU C++ for the case where it uses the native
10151 # linker, instead of GNU ld. If possible, this setting should
10152 # overridden to take advantage of the native linker features on
10153 # the platform it is being used on.
10154 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10157 # Commands to make compiler produce verbose output that lists
10158 # what "hidden" libraries, object files and flags are used when
10159 # linking a shared library.
10160 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10168 # PORTME: fill in a description of your system's C++ link characteristics
10169 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10170 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10174 # FIXME: insert proper C++ library support
10178 if test "$host_cpu" = ia64
; then
10179 # On IA64, the linker does run time linking by default, so we don't
10180 # have to do anything special.
10181 aix_use_runtimelinking
=no
10182 exp_sym_flag
='-Bexport'
10185 aix_use_runtimelinking
=no
10187 # Test if we are trying to use run time linking or normal
10188 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10189 # need to do runtime linking.
10190 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10191 for ld_flag
in $LDFLAGS; do
10194 aix_use_runtimelinking
=yes
10201 exp_sym_flag
='-bexport'
10202 no_entry_flag
='-bnoentry'
10205 # When large executables or shared objects are built, AIX ld can
10206 # have problems creating the table of contents. If linking a library
10207 # or program results in "error TOC overflow" add -mminimal-toc to
10208 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10209 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10211 archive_cmds_CXX
=''
10212 hardcode_direct_CXX
=yes
10213 hardcode_libdir_separator_CXX
=':'
10214 link_all_deplibs_CXX
=yes
10216 if test "$GXX" = yes; then
10217 case $host_os in aix4.
[012]|aix4.
[012].
*)
10218 # We only want to do this on AIX 4.2 and lower, the check
10219 # below for broken collect2 doesn't work under 4.3+
10220 collect2name
=`${CC} -print-prog-name=collect2`
10221 if test -f "$collect2name" && \
10222 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10224 # We have reworked collect2
10225 hardcode_direct_CXX
=yes
10227 # We have old collect2
10228 hardcode_direct_CXX
=unsupported
10229 # It fails to find uninstalled libraries when the uninstalled
10230 # path is not listed in the libpath. Setting hardcode_minus_L
10231 # to unsupported forces relinking
10232 hardcode_minus_L_CXX
=yes
10233 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10234 hardcode_libdir_separator_CXX
=
10237 shared_flag
='-shared'
10238 if test "$aix_use_runtimelinking" = yes; then
10239 shared_flag
="$shared_flag "'${wl}-G'
10243 if test "$host_cpu" = ia64
; then
10244 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10245 # chokes on -Wl,-G. The following line is correct:
10248 if test "$aix_use_runtimelinking" = yes; then
10249 shared_flag
='${wl}-G'
10251 shared_flag
='${wl}-bM:SRE'
10256 # It seems that -bexpall does not export symbols beginning with
10257 # underscore (_), so it is better to generate a list of symbols to export.
10258 always_export_symbols_CXX
=yes
10259 if test "$aix_use_runtimelinking" = yes; then
10260 # Warning - without using the other runtime loading flags (-brtl),
10261 # -berok will link without error, but may produce a broken library.
10262 allow_undefined_flag_CXX
='-berok'
10263 # Determine the default libpath from the value encoded in an empty executable.
10264 cat >conftest.
$ac_ext <<_ACEOF
10267 cat confdefs.h
>>conftest.
$ac_ext
10268 cat >>conftest.
$ac_ext <<_ACEOF
10269 /* end confdefs.h. */
10279 rm -f conftest.
$ac_objext conftest
$ac_exeext
10280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10281 (eval $ac_link) 2>conftest.er1
10283 grep -v '^ *+' conftest.er1
>conftest.err
10285 cat conftest.err
>&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); } &&
10288 { ac_try
='test -z "$ac_cxx_werror_flag"
10289 || test ! -s conftest.err'
10290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10291 (eval $ac_try) 2>&5
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); }; } &&
10295 { ac_try
='test -s conftest$ac_exeext'
10296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10297 (eval $ac_try) 2>&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); }; }; then
10302 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10304 # Check for a 64-bit object if we didn't find anything.
10305 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10308 echo "$as_me: failed program was:" >&5
10309 sed 's/^/| /' conftest.
$ac_ext >&5
10312 rm -f conftest.err conftest.
$ac_objext \
10313 conftest
$ac_exeext conftest.
$ac_ext
10314 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10316 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10318 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10320 if test "$host_cpu" = ia64; then
10321 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10322 allow_undefined_flag_CXX="-z nodefs"
10323 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
10325 # Determine the default libpath from the value encoded in an empty executable.
10326 cat >conftest.$ac_ext <<_ACEOF
10329 cat confdefs.h >>conftest.$ac_ext
10330 cat >>conftest.$ac_ext <<_ACEOF
10331 /* end confdefs.h. */
10341 rm -f conftest.$ac_objext conftest$ac_exeext
10342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10343 (eval $ac_link) 2>conftest.er1
10345 grep -v '^ *+' conftest.er1 >conftest.err
10347 cat conftest.err >&5
10348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10349 (exit $ac_status); } &&
10350 { ac_try='test -z "$ac_cxx_werror_flag"
10351 || test ! -s conftest.err'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10356 (exit $ac_status); }; } &&
10357 { ac_try='test -s conftest$ac_exeext'
10358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10359 (eval $ac_try) 2>&5
10361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10362 (exit $ac_status); }; }; then
10364 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10366 # Check for a 64-bit object if we didn't find anything.
10367 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10370 echo "$as_me: failed program was
:" >&5
10371 sed 's/^/| /' conftest.$ac_ext >&5
10374 rm -f conftest.err conftest.$ac_objext \
10375 conftest$ac_exeext conftest.$ac_ext
10376 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10378 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10379 # Warning - without using the other run time loading flags,
10380 # -berok will link without error, but may produce a broken library.
10381 no_undefined_flag_CXX=' ${wl}-bernotok'
10382 allow_undefined_flag_CXX=' ${wl}-berok'
10383 # -bexpall does not export symbols beginning with underscore (_)
10384 always_export_symbols_CXX=yes
10385 # Exported symbols can be pulled into shared objects from archives
10386 whole_archive_flag_spec_CXX=' '
10387 archive_cmds_need_lc_CXX=yes
10388 # This is similar to how AIX traditionally builds it's shared libraries.
10389 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10394 case $cc_basename in
10396 # FIXME: insert proper C++ library support
10403 cygwin* | mingw* | pw32*)
10404 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10405 # as there is no search path for DLLs.
10406 hardcode_libdir_flag_spec_CXX='-L$libdir'
10407 allow_undefined_flag_CXX=unsupported
10408 always_export_symbols_CXX=no
10409 enable_shared_with_static_runtimes_CXX=yes
10411 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10412 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10413 # If the export-symbols file already is a .def file (1st line
10414 # is EXPORTS), use it as is; otherwise, prepend...
10415 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10416 cp $export_symbols $output_objdir/$soname.def;
10418 echo EXPORTS > $output_objdir/$soname.def;
10419 cat $export_symbols >> $output_objdir/$soname.def;
10421 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10426 darwin* | rhapsody*)
10428 rhapsody* | darwin1.[012])
10429 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10432 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10433 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10435 case ${MACOSX_DEPLOYMENT_TARGET} in
10437 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10440 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10446 archive_cmds_need_lc_CXX=no
10447 hardcode_direct_CXX=no
10448 hardcode_automatic_CXX=yes
10449 hardcode_shlibpath_var_CXX=unsupported
10450 whole_archive_flag_spec_CXX=''
10451 link_all_deplibs_CXX=yes
10453 if test "$GXX" = yes ; then
10454 lt_int_apple_cc_single_mod=no
10455 output_verbose_link_cmd='echo'
10456 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10457 lt_int_apple_cc_single_mod=yes
10459 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10460 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10462 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10464 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10465 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10466 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10467 archive_expsym_cmds_CXX='sed -e "s
,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10469 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10471 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10473 case "$cc_basename" in
10475 output_verbose_link_cmd
='echo'
10476 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10477 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10478 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10479 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10480 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10490 case $cc_basename in
10492 # FIXME: insert proper C++ library support
10496 # Green Hills C++ Compiler
10497 # FIXME: insert proper C++ library support
10501 # FIXME: insert proper C++ library support
10507 # C++ shared libraries reported to be fairly broken before switch to ELF
10511 archive_cmds_need_lc_CXX
=no
10513 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10514 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10521 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10522 hardcode_libdir_separator_CXX
=:
10523 export_dynamic_flag_spec_CXX
='${wl}-E'
10524 hardcode_direct_CXX
=yes
10525 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10526 # but as the default
10527 # location of the library.
10529 case $cc_basename in
10531 # FIXME: insert proper C++ library support
10535 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10536 # Commands to make compiler produce verbose output that lists
10537 # what "hidden" libraries, object files and flags are used when
10538 # linking a shared library.
10540 # There doesn't appear to be a way to prevent this compiler from
10541 # explicitly linking system object files so we need to strip them
10542 # from the output so that they don't get included in the library
10544 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10547 if test "$GXX" = yes; then
10548 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10550 # FIXME: insert proper C++ library support
10557 if test $with_gnu_ld = no
; then
10558 case "$host_cpu" in
10560 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10561 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10562 hardcode_libdir_separator_CXX
=:
10565 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10568 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10569 hardcode_libdir_separator_CXX
=:
10570 export_dynamic_flag_spec_CXX
='${wl}-E'
10574 case "$host_cpu" in
10576 hardcode_direct_CXX
=no
10577 hardcode_shlibpath_var_CXX
=no
10580 hardcode_direct_CXX
=no
10581 hardcode_shlibpath_var_CXX
=no
10582 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10583 # but as the default
10584 # location of the library.
10587 hardcode_direct_CXX
=yes
10588 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10589 # but as the default
10590 # location of the library.
10594 case $cc_basename in
10596 # FIXME: insert proper C++ library support
10600 case "$host_cpu" in
10602 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10605 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10608 # Commands to make compiler produce verbose output that lists
10609 # what "hidden" libraries, object files and flags are used when
10610 # linking a shared library.
10612 # There doesn't appear to be a way to prevent this compiler from
10613 # explicitly linking system object files so we need to strip them
10614 # from the output so that they don't get included in the library
10616 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10619 if test "$GXX" = yes; then
10620 if test $with_gnu_ld = no
; then
10621 case "$host_cpu" in
10623 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10626 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10631 # FIXME: insert proper C++ library support
10638 case $cc_basename in
10641 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10643 # Archives containing C++ object files must be created using
10644 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10645 # necessary to make sure instantiated templates are included
10647 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10650 if test "$GXX" = yes; then
10651 if test "$with_gnu_ld" = no
; then
10652 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10654 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10657 link_all_deplibs_CXX
=yes
10660 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10661 hardcode_libdir_separator_CXX
=:
10664 case $cc_basename in
10666 # Kuck and Associates, Inc. (KAI) C++ Compiler
10668 # KCC will only create a shared library if the output file
10669 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10670 # to its proper name (with version) after linking.
10671 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10672 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
10673 # Commands to make compiler produce verbose output that lists
10674 # what "hidden" libraries, object files and flags are used when
10675 # linking a shared library.
10677 # There doesn't appear to be a way to prevent this compiler from
10678 # explicitly linking system object files so we need to strip them
10679 # from the output so that they don't get included in the library
10681 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10683 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10684 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10686 # Archives containing C++ object files must be created using
10687 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10688 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10693 # version 8.0 and above of icpc choke on multiply defined symbols
10694 # if we add $predep_objects and $postdep_objects, however 7.1 and
10695 # earlier do not add the objects themselves.
10696 case `$CC -V 2>&1` in
10698 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10699 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10701 *) # Version 8.0 or newer
10704 ia64
*) tmp_idyn
=' -i_dynamic';;
10706 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10707 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10710 archive_cmds_need_lc_CXX
=no
10711 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10712 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10713 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10716 # Portland Group C++ compiler
10717 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10718 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
10720 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10721 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10725 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10726 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10728 runpath_var
=LD_RUN_PATH
10729 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10730 hardcode_libdir_separator_CXX
=:
10732 # Commands to make compiler produce verbose output that lists
10733 # what "hidden" libraries, object files and flags are used when
10734 # linking a shared library.
10736 # There doesn't appear to be a way to prevent this compiler from
10737 # explicitly linking system object files so we need to strip them
10738 # from the output so that they don't get included in the library
10740 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10745 # FIXME: insert proper C++ library support
10749 # FIXME: insert proper C++ library support
10753 case $cc_basename in
10755 # FIXME: insert proper C++ library support
10759 # FIXME: insert proper C++ library support
10765 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10766 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10768 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10769 hardcode_direct_CXX
=yes
10770 hardcode_shlibpath_var_CXX
=no
10772 # Workaround some broken pre-1.5 toolchains
10773 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10776 # C++ shared libraries are fairly broken
10780 hardcode_direct_CXX
=yes
10781 hardcode_shlibpath_var_CXX
=no
10782 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10783 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10784 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10785 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10786 export_dynamic_flag_spec_CXX
='${wl}-E'
10787 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10789 output_verbose_link_cmd
='echo'
10792 case $cc_basename in
10794 # Kuck and Associates, Inc. (KAI) C++ Compiler
10796 # KCC will only create a shared library if the output file
10797 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10798 # to its proper name (with version) after linking.
10799 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10801 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10802 hardcode_libdir_separator_CXX
=:
10804 # Archives containing C++ object files must be created using
10805 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10806 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10810 # Rational C++ 2.4.1
10811 # FIXME: insert proper C++ library support
10815 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10816 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10818 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10819 hardcode_libdir_separator_CXX
=:
10821 # Commands to make compiler produce verbose output that lists
10822 # what "hidden" libraries, object files and flags are used when
10823 # linking a shared library.
10825 # There doesn't appear to be a way to prevent this compiler from
10826 # explicitly linking system object files so we need to strip them
10827 # from the output so that they don't get included in the library
10829 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10832 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10833 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10834 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10836 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10837 hardcode_libdir_separator_CXX
=:
10839 # Commands to make compiler produce verbose output that lists
10840 # what "hidden" libraries, object files and flags are used when
10841 # linking a shared library.
10842 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10845 # FIXME: insert proper C++ library support
10852 case $cc_basename in
10854 # Kuck and Associates, Inc. (KAI) C++ Compiler
10856 # KCC will only create a shared library if the output file
10857 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10858 # to its proper name (with version) after linking.
10859 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10861 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10862 hardcode_libdir_separator_CXX
=:
10864 # Archives containing C++ object files must be created using
10865 # the KAI C++ compiler.
10866 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10869 # Rational C++ 2.4.1
10870 # FIXME: insert proper C++ library support
10874 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10875 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10876 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10877 echo "-hidden">> $lib.exp~
10878 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
10881 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10882 hardcode_libdir_separator_CXX
=:
10884 # Commands to make compiler produce verbose output that lists
10885 # what "hidden" libraries, object files and flags are used when
10886 # linking a shared library.
10888 # There doesn't appear to be a way to prevent this compiler from
10889 # explicitly linking system object files so we need to strip them
10890 # from the output so that they don't get included in the library
10892 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10895 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10896 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10897 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10899 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10900 hardcode_libdir_separator_CXX
=:
10902 # Commands to make compiler produce verbose output that lists
10903 # what "hidden" libraries, object files and flags are used when
10904 # linking a shared library.
10905 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10908 # FIXME: insert proper C++ library support
10915 # FIXME: insert proper C++ library support
10919 archive_cmds_need_lc_CXX
=no
10920 case $cc_basename in
10922 # FIXME: insert proper C++ library support
10926 # FIXME: insert proper C++ library support
10932 case $cc_basename in
10935 # FIXME: insert proper C++ library support
10940 # FIXME: insert proper C++ library support
10944 # FIXME: insert proper C++ library support
10950 case $cc_basename in
10952 # Sun C++ 4.2, 5.x and Centerline C++
10953 no_undefined_flag_CXX
=' -zdefs'
10954 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10955 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10956 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10958 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10959 hardcode_shlibpath_var_CXX
=no
10961 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10963 # The C++ compiler is used as linker so we must use $wl
10964 # flag to pass the commands to the underlying system
10966 # Supported since Solaris 2.6 (maybe 2.5.1?)
10967 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10970 link_all_deplibs_CXX
=yes
10972 # Commands to make compiler produce verbose output that lists
10973 # what "hidden" libraries, object files and flags are used when
10974 # linking a shared library.
10976 # There doesn't appear to be a way to prevent this compiler from
10977 # explicitly linking system object files so we need to strip them
10978 # from the output so that they don't get included in the library
10980 output_verbose_link_cmd
='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10982 # Archives containing C++ object files must be created using
10983 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10984 # necessary to make sure instantiated templates are included
10986 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10989 # Green Hills C++ Compiler
10990 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10992 # The C++ compiler must be used to create the archive.
10993 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10996 # GNU C++ compiler with Solaris linker
10997 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10998 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10999 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11000 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11001 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11002 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11004 # Commands to make compiler produce verbose output that lists
11005 # what "hidden" libraries, object files and flags are used when
11006 # linking a shared library.
11007 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11009 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11011 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11012 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11013 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11015 # Commands to make compiler produce verbose output that lists
11016 # what "hidden" libraries, object files and flags are used when
11017 # linking a shared library.
11018 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11021 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11026 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
11027 archive_cmds_need_lc_CXX
=no
11030 case $cc_basename in
11032 # NonStop-UX NCC 3.20
11033 # FIXME: insert proper C++ library support
11037 # FIXME: insert proper C++ library support
11043 # FIXME: insert proper C++ library support
11047 # FIXME: insert proper C++ library support
11051 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11052 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11053 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11059 ## There is no encapsulation within the following macros, do not change
11060 ## the running order or otherwise move them around unless you know exactly
11061 ## what you are doing...
11063 cat > conftest.
$ac_ext <<EOF
11067 Foo (void) { a = 0; }
11073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11074 (eval $ac_compile) 2>&5
11076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077 (exit $ac_status); }; then
11078 # Parse the compiler output and extract the necessary
11079 # objects, libraries and library flags.
11081 # Sentinel used to keep track of whether or not we are before
11082 # the conftest object file.
11083 pre_test_object_deps_done
=no
11085 # The `*' in the case matches for architectures that use `case' in
11086 # $output_verbose_cmd can trigger glob expansion during the loop
11087 # eval without this substitution.
11088 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11090 for p
in `eval $output_verbose_link_cmd`; do
11094 # Some compilers place space between "-{L,R}" and the path.
11095 # Remove the space.
11096 if test $p = "-L" \
11097 ||
test $p = "-R"; then
11104 if test "$pre_test_object_deps_done" = no
; then
11107 # Internal compiler library paths should come after those
11108 # provided the user. The postdeps already come after the
11109 # user supplied libs so there is no need to process them.
11110 if test -z "$compiler_lib_search_path_CXX"; then
11111 compiler_lib_search_path_CXX
="${prev}${p}"
11113 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11116 # The "-l" case would never come before the object being
11117 # linked, so don't bother handling this case.
11120 if test -z "$postdeps_CXX"; then
11121 postdeps_CXX
="${prev}${p}"
11123 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11129 # This assumes that the test object file only shows up
11130 # once in the compiler output.
11131 if test "$p" = "conftest.$objext"; then
11132 pre_test_object_deps_done
=yes
11136 if test "$pre_test_object_deps_done" = no
; then
11137 if test -z "$predep_objects_CXX"; then
11138 predep_objects_CXX
="$p"
11140 predep_objects_CXX
="$predep_objects_CXX $p"
11143 if test -z "$postdep_objects_CXX"; then
11144 postdep_objects_CXX
="$p"
11146 postdep_objects_CXX
="$postdep_objects_CXX $p"
11151 *) ;; # Ignore the rest.
11159 echo "libtool.m4: error: problem compiling CXX test program"
11162 $rm -f confest.
$objext
11164 case " $postdeps_CXX " in
11165 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11168 lt_prog_compiler_wl_CXX
=
11169 lt_prog_compiler_pic_CXX
=
11170 lt_prog_compiler_static_CXX
=
11172 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11173 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11175 # C++ specific cases for pic, static, wl, etc.
11176 if test "$GXX" = yes; then
11177 lt_prog_compiler_wl_CXX
='-Wl,'
11178 lt_prog_compiler_static_CXX
='-static'
11182 # All AIX code is PIC.
11183 if test "$host_cpu" = ia64
; then
11184 # AIX 5 now supports IA64 processor
11185 lt_prog_compiler_static_CXX
='-Bstatic'
11189 # FIXME: we need at least 68020 code to build shared libraries, but
11190 # adding the `-m68020' flag to GCC prevents building anything better,
11192 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11194 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11195 # PIC is the default for these OSes.
11197 mingw
* | os2
* | pw32
*)
11198 # This hack is so that the source file can tell whether it is being
11199 # built for inclusion in a dll (and should export symbols for example).
11200 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11202 darwin
* | rhapsody
*)
11203 # PIC is the default on this platform
11204 # Common symbols not allowed in MH_DYLIB files
11205 lt_prog_compiler_pic_CXX
='-fno-common'
11208 # DJGPP does not support shared libraries at all
11209 lt_prog_compiler_pic_CXX
=
11212 if test -d /usr
/nec
; then
11213 lt_prog_compiler_pic_CXX
=-Kconform_pic
11217 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11218 # not for PA HP-UX.
11219 case "$host_cpu" in
11223 lt_prog_compiler_pic_CXX
='-fPIC'
11228 lt_prog_compiler_pic_CXX
='-fPIC'
11234 # All AIX code is PIC.
11235 if test "$host_cpu" = ia64
; then
11236 # AIX 5 now supports IA64 processor
11237 lt_prog_compiler_static_CXX
='-Bstatic'
11239 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11243 case $cc_basename in
11245 # Green Hills C++ Compiler
11246 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
11251 # PIC is the default on this platform
11252 # Common symbols not allowed in MH_DYLIB files
11253 case "$cc_basename" in
11255 lt_prog_compiler_pic_CXX
='-qnocommon'
11256 lt_prog_compiler_wl_CXX
='-Wl,'
11261 case $cc_basename in
11263 lt_prog_compiler_pic_CXX
='-KPIC'
11266 # Green Hills C++ Compiler
11267 lt_prog_compiler_pic_CXX
='-pic'
11273 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11274 # FreeBSD uses GNU C++
11276 hpux9
* | hpux10
* | hpux11
*)
11277 case $cc_basename in
11279 lt_prog_compiler_wl_CXX
='-Wl,'
11280 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11281 if test "$host_cpu" != ia64
; then
11282 lt_prog_compiler_pic_CXX
='+Z'
11286 lt_prog_compiler_wl_CXX
='-Wl,'
11287 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11288 case "$host_cpu" in
11293 lt_prog_compiler_pic_CXX
='+Z'
11301 irix5
* | irix6
* | nonstopux
*)
11302 case $cc_basename in
11304 lt_prog_compiler_wl_CXX
='-Wl,'
11305 lt_prog_compiler_static_CXX
='-non_shared'
11306 # CC pic flag -KPIC is the default.
11313 case $cc_basename in
11316 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11317 lt_prog_compiler_pic_CXX
='-fPIC'
11321 lt_prog_compiler_wl_CXX
='-Wl,'
11322 lt_prog_compiler_pic_CXX
='-KPIC'
11323 lt_prog_compiler_static_CXX
='-static'
11326 # Portland Group C++ compiler.
11327 lt_prog_compiler_wl_CXX
='-Wl,'
11328 lt_prog_compiler_pic_CXX
='-fpic'
11329 lt_prog_compiler_static_CXX
='-static'
11333 # Make sure the PIC flag is empty. It appears that all Alpha
11334 # Linux and Compaq Tru64 Unix objects are PIC.
11335 lt_prog_compiler_pic_CXX
=
11336 lt_prog_compiler_static_CXX
='-non_shared'
11347 case $cc_basename in
11349 lt_prog_compiler_pic_CXX
='-W c,exportall'
11357 osf3
* | osf4
* | osf5
*)
11358 case $cc_basename in
11360 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11363 # Rational C++ 2.4.1
11364 lt_prog_compiler_pic_CXX
='-pic'
11367 # Digital/Compaq C++
11368 lt_prog_compiler_wl_CXX
='-Wl,'
11369 # Make sure the PIC flag is empty. It appears that all Alpha
11370 # Linux and Compaq Tru64 Unix objects are PIC.
11371 lt_prog_compiler_pic_CXX
=
11372 lt_prog_compiler_static_CXX
='-non_shared'
11381 case $cc_basename in
11383 lt_prog_compiler_pic_CXX
='-fPIC'
11390 case $cc_basename in
11392 # Sun C++ 4.2, 5.x and Centerline C++
11393 lt_prog_compiler_pic_CXX
='-KPIC'
11394 lt_prog_compiler_static_CXX
='-Bstatic'
11395 lt_prog_compiler_wl_CXX
='-Qoption ld '
11398 # Green Hills C++ Compiler
11399 lt_prog_compiler_pic_CXX
='-PIC'
11406 case $cc_basename in
11409 lt_prog_compiler_pic_CXX
='-pic'
11410 lt_prog_compiler_static_CXX
='-Bstatic'
11414 lt_prog_compiler_pic_CXX
='-pic'
11421 case $cc_basename in
11423 # NonStop-UX NCC 3.20
11424 lt_prog_compiler_pic_CXX
='-KPIC'
11435 lt_prog_compiler_can_build_shared_CXX
=no
11440 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11441 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11444 # Check to make sure the PIC flag actually works.
11446 if test -n "$lt_prog_compiler_pic_CXX"; then
11448 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11449 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11450 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11453 lt_prog_compiler_pic_works_CXX
=no
11454 ac_outfile
=conftest.
$ac_objext
11455 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11456 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11457 # Insert the option either (1) after the last *FLAGS variable, or
11458 # (2) before a word containing "conftest.", or (3) at the end.
11459 # Note that $ac_compile itself does not contain backslashes and begins
11460 # with a dollar sign (not a hyphen), so the echo should work correctly.
11461 # The option is referenced via a variable to avoid confusing sed.
11462 lt_compile
=`echo "$ac_compile" | $SED \
11463 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11465 -e 's:$: $lt_compiler_flag:'`
11466 (eval echo "\"\$as_me:11466: $lt_compile\"" >&5)
11467 (eval "$lt_compile" 2>conftest.err
)
11469 cat conftest.err
>&5
11470 echo "$as_me:11470: \$? = $ac_status" >&5
11471 if (exit $ac_status) && test -s "$ac_outfile"; then
11472 # The compiler can only warn and ignore the option if not recognized
11473 # So say no if there are warnings
11474 if test ! -s conftest.err
; then
11475 lt_prog_compiler_pic_works_CXX
=yes
11481 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11482 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11484 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11485 case $lt_prog_compiler_pic_CXX in
11487 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11490 lt_prog_compiler_pic_CXX
=
11491 lt_prog_compiler_can_build_shared_CXX
=no
11496 # For platforms which do not support PIC, -DPIC is meaningless:
11498 lt_prog_compiler_pic_CXX
=
11501 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11505 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11506 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11507 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11508 echo $ECHO_N "(cached) $ECHO_C" >&6
11510 lt_cv_prog_compiler_c_o_CXX
=no
11511 $rm -r conftest
2>/dev
/null
11515 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11517 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11518 # Insert the option either (1) after the last *FLAGS variable, or
11519 # (2) before a word containing "conftest.", or (3) at the end.
11520 # Note that $ac_compile itself does not contain backslashes and begins
11521 # with a dollar sign (not a hyphen), so the echo should work correctly.
11522 lt_compile
=`echo "$ac_compile" | $SED \
11523 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11525 -e 's:$: $lt_compiler_flag:'`
11526 (eval echo "\"\$as_me:11526: $lt_compile\"" >&5)
11527 (eval "$lt_compile" 2>out
/conftest.err
)
11529 cat out
/conftest.err
>&5
11530 echo "$as_me:11530: \$? = $ac_status" >&5
11531 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11533 # The compiler can only warn and ignore the option if not recognized
11534 # So say no if there are warnings
11535 if test ! -s out
/conftest.err
; then
11536 lt_cv_prog_compiler_c_o_CXX
=yes
11541 # SGI C++ compiler will create directory out/ii_files/ for
11542 # template instantiation
11543 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11544 $rm out
/* && rmdir out
11550 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11551 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11554 hard_links
="nottested"
11555 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11556 # do not overwrite the value of need_locks provided by the user
11557 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11558 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11561 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11563 ln conftest.a conftest.b
2>&5 || hard_links
=no
11564 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11565 echo "$as_me:$LINENO: result: $hard_links" >&5
11566 echo "${ECHO_T}$hard_links" >&6
11567 if test "$hard_links" = no
; then
11568 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11569 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11576 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11577 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11579 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11582 # If we're using GNU nm, then we don't want the "-C" option.
11583 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11584 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11585 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11587 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11591 export_symbols_cmds_CXX
="$ltdll_cmds"
11594 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11597 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11601 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11602 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11603 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11605 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11606 if test "$GCC" = yes; then
11607 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11611 # Do we need to explicitly link libc?
11613 case "x$archive_cmds_need_lc_CXX" in
11615 # Assume -lc should be added
11616 archive_cmds_need_lc_CXX
=yes
11618 if test "$enable_shared" = yes && test "$GCC" = yes; then
11619 case $archive_cmds_CXX in
11621 # FIXME: we may have to deal with multi-command sequences.
11624 # Test whether the compiler implicitly links with -lc since on some
11625 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11626 # to ld, don't add -lc before -lgcc.
11627 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11628 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11630 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11633 (eval $ac_compile) 2>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); } 2>conftest.err
; then
11639 libobjs
=conftest.
$ac_objext
11641 wl
=$lt_prog_compiler_wl_CXX
11647 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11648 allow_undefined_flag_CXX
=
11649 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11650 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); }
11655 archive_cmds_need_lc_CXX
=no
11657 archive_cmds_need_lc_CXX
=yes
11659 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11661 cat conftest.err
1>&5
11664 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11665 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11672 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11673 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11674 library_names_spec
=
11675 libname_spec
='lib$name'
11679 postuninstall_cmds
=
11683 shlibpath_overrides_runpath
=unknown
11685 dynamic_linker
="$host_os ld.so"
11686 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11687 if test "$GCC" = yes; then
11688 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11689 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11690 # if the path contains ";" then we assume it to be the separator
11691 # otherwise default to the standard path separator (i.e. ":") - it is
11692 # assumed that no part of a normal pathname contains ";" but that should
11693 # okay in the real world where ";" in dirpaths is itself problematic.
11694 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11696 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11699 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11701 need_lib_prefix
=unknown
11702 hardcode_into_libs
=no
11704 # when you set need_version to no, make sure it does not cause -set_version
11705 # flags to be left without arguments
11706 need_version
=unknown
11711 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11712 shlibpath_var
=LIBPATH
11714 # AIX 3 has no versioning support, so we append a major version to the name.
11715 soname_spec
='${libname}${release}${shared_ext}$major'
11722 hardcode_into_libs
=yes
11723 if test "$host_cpu" = ia64
; then
11724 # AIX 5 supports IA64
11725 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11726 shlibpath_var
=LD_LIBRARY_PATH
11728 # With GCC up to 2.95.x, collect2 would create an import file
11729 # for dependence libraries. The import file would start with
11730 # the line `#! .'. This would cause the generated library to
11731 # depend on `.', always an invalid library. This was fixed in
11732 # development snapshots of GCC prior to 3.0.
11734 aix4 | aix4.
[01] | aix4.
[01].
*)
11735 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11737 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11740 can_build_shared
=no
11744 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11745 # soname into executable. Probably we can add versioning support to
11746 # collect2, so additional links can be useful in future.
11747 if test "$aix_use_runtimelinking" = yes; then
11748 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11749 # instead of lib<name>.a to let people know that these are not
11750 # typical AIX shared libraries.
11751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11753 # We preserve .a as extension for shared libraries through AIX4.2
11754 # and later when we are not doing run time linking.
11755 library_names_spec
='${libname}${release}.a $libname.a'
11756 soname_spec
='${libname}${release}${shared_ext}$major'
11758 shlibpath_var
=LIBPATH
11763 library_names_spec
='$libname.ixlibrary $libname.a'
11764 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11765 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11769 library_names_spec
='${libname}${shared_ext}'
11770 dynamic_linker
="$host_os ld.so"
11771 shlibpath_var
=LIBRARY_PATH
11777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778 soname_spec
='${libname}${release}${shared_ext}$major'
11779 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11780 shlibpath_var
=LD_LIBRARY_PATH
11781 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11782 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11783 # the default ld.so.conf also contains /usr/contrib/lib and
11784 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11785 # libtool to hard-code these into programs
11788 cygwin
* | mingw
* | pw32
*)
11789 version_type
=windows
11794 case $GCC,$host_os in
11795 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11796 library_names_spec
='$libname.dll.a'
11797 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11798 postinstall_cmds
='base_file=`basename \${file}`~
11799 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11800 dldir=$destdir/`dirname \$dlpath`~
11801 test -d \$dldir || mkdir -p \$dldir~
11802 $install_prog $dir/$dlname \$dldir/$dlname'
11803 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11804 dlpath=$dir/\$dldll~
11806 shlibpath_overrides_runpath
=yes
11810 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11811 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11812 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11815 # MinGW DLLs use traditional 'lib' prefix
11816 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11817 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11818 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11819 # It is most probably a Windows format PATH printed by
11820 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11821 # path with ; separators, and with drive letters. We can handle the
11822 # drive letters (cygwin fileutils understands them), so leave them,
11823 # especially as we might pass files found there to a mingw objdump,
11824 # which wouldn't understand a cygwinified path. Ahh.
11825 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11827 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11831 # pw32 DLLs use 'pw' prefix rather than 'lib'
11832 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11838 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11841 dynamic_linker
='Win32 ld.exe'
11842 # FIXME: first we should search . and the directory the executable is in
11846 darwin
* | rhapsody
*)
11847 dynamic_linker
="$host_os dyld"
11848 version_type
=darwin
11851 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11852 soname_spec
='${libname}${release}${major}$shared_ext'
11853 shlibpath_overrides_runpath
=yes
11854 shlibpath_var
=DYLD_LIBRARY_PATH
11855 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
11856 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11857 if test "$GCC" = yes; then
11858 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11860 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11862 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11870 soname_spec
='${libname}${release}${shared_ext}$major'
11871 shlibpath_var
=LD_LIBRARY_PATH
11882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11883 soname_spec
='${libname}${release}${shared_ext}$major'
11884 shlibpath_var
=LD_LIBRARY_PATH
11885 shlibpath_overrides_runpath
=no
11886 hardcode_into_libs
=yes
11887 dynamic_linker
='GNU ld.so'
11890 freebsd
* | dragonfly
*)
11891 # DragonFly does not have aout. When/if they implement a new
11892 # versioning mechanism, adjust this.
11893 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11894 version_type
=freebsd-
$objformat
11895 case $version_type in
11897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11902 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11906 shlibpath_var
=LD_LIBRARY_PATH
11909 shlibpath_overrides_runpath
=yes
11911 freebsd3.
[01]* | freebsdelf3.
[01]*)
11912 shlibpath_overrides_runpath
=yes
11913 hardcode_into_libs
=yes
11916 shlibpath_overrides_runpath
=no
11917 hardcode_into_libs
=yes
11926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11927 soname_spec
='${libname}${release}${shared_ext}$major'
11928 shlibpath_var
=LD_LIBRARY_PATH
11929 hardcode_into_libs
=yes
11932 hpux9
* | hpux10
* | hpux11
*)
11933 # Give a soname corresponding to the major version so that dld.sl refuses to
11934 # link against other versions.
11938 case "$host_cpu" in
11941 hardcode_into_libs
=yes
11942 dynamic_linker
="$host_os dld.so"
11943 shlibpath_var
=LD_LIBRARY_PATH
11944 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11946 soname_spec
='${libname}${release}${shared_ext}$major'
11947 if test "X$HPUX_IA64_MODE" = X32
; then
11948 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11950 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11952 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11956 hardcode_into_libs
=yes
11957 dynamic_linker
="$host_os dld.sl"
11958 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11959 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11961 soname_spec
='${libname}${release}${shared_ext}$major'
11962 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11963 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11967 dynamic_linker
="$host_os dld.sl"
11968 shlibpath_var
=SHLIB_PATH
11969 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11971 soname_spec
='${libname}${release}${shared_ext}$major'
11974 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11975 postinstall_cmds
='chmod 555 $lib'
11978 irix5
* | irix6
* | nonstopux
*)
11980 nonstopux
*) version_type
=nonstopux
;;
11982 if test "$lt_cv_prog_gnu_ld" = yes; then
11990 soname_spec
='${libname}${release}${shared_ext}$major'
11991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11993 irix5
* | nonstopux
*)
11994 libsuff
= shlibsuff
=
11997 case $LD in # libtool.m4 will add one of these switches to LD
11998 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11999 libsuff
= shlibsuff
= libmagic
=32-bit;;
12000 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12001 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12002 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12003 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12004 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12008 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12009 shlibpath_overrides_runpath
=no
12010 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12011 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12012 hardcode_into_libs
=yes
12015 # No shared lib support for Linux oldld, aout, or coff.
12016 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12020 # This must be Linux ELF.
12025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12026 soname_spec
='${libname}${release}${shared_ext}$major'
12027 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12028 shlibpath_var
=LD_LIBRARY_PATH
12029 shlibpath_overrides_runpath
=no
12030 # This implies no fast_install, which is unacceptable.
12031 # Some rework will be needed to allow for fast_install
12032 # before this can be enabled.
12033 hardcode_into_libs
=yes
12035 # Append ld.so.conf contents to the search path
12036 if test -f /etc
/ld.so.conf
; then
12037 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12038 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12041 # We used to test for /lib/ld.so.1 and disable shared libraries on
12042 # powerpc, because MkLinux only supported shared libraries with the
12043 # GNU dynamic linker. Since this was broken with cross compilers,
12044 # most powerpc-linux boxes support dynamic linking these days and
12045 # people can always --disable-shared, the test was removed, and we
12046 # assume the GNU/Linux dynamic linker is in use.
12047 dynamic_linker
='GNU/Linux ld.so'
12054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12055 soname_spec
='${libname}${release}${shared_ext}$major'
12056 shlibpath_var
=LD_LIBRARY_PATH
12057 shlibpath_overrides_runpath
=no
12058 hardcode_into_libs
=yes
12059 dynamic_linker
='GNU ld.so'
12066 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12068 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12069 dynamic_linker
='NetBSD (a.out) ld.so'
12071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12072 soname_spec
='${libname}${release}${shared_ext}$major'
12073 dynamic_linker
='NetBSD ld.elf_so'
12075 shlibpath_var
=LD_LIBRARY_PATH
12076 shlibpath_overrides_runpath
=yes
12077 hardcode_into_libs
=yes
12082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12083 shlibpath_var
=LD_LIBRARY_PATH
12084 shlibpath_overrides_runpath
=yes
12091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12092 soname_spec
='${libname}${release}${shared_ext}$major'
12093 shlibpath_var
=LD_LIBRARY_PATH
12094 shlibpath_overrides_runpath
=yes
12101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12102 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12103 shlibpath_var
=LD_LIBRARY_PATH
12104 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12106 openbsd2.
[89] | openbsd2.
[89].
*)
12107 shlibpath_overrides_runpath
=no
12110 shlibpath_overrides_runpath
=yes
12114 shlibpath_overrides_runpath
=yes
12119 libname_spec
='$name'
12122 library_names_spec
='$libname${shared_ext} $libname.a'
12123 dynamic_linker
='OS/2 ld.exe'
12124 shlibpath_var
=LIBPATH
12127 osf3
* | osf4
* | osf5
*)
12131 soname_spec
='${libname}${release}${shared_ext}$major'
12132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12133 shlibpath_var
=LD_LIBRARY_PATH
12134 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12135 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12140 soname_spec
='${libname}${release}${shared_ext}$major'
12141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12142 shlibpath_var
=LD_LIBRARY_PATH
12149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12150 soname_spec
='${libname}${release}${shared_ext}$major'
12151 shlibpath_var
=LD_LIBRARY_PATH
12152 shlibpath_overrides_runpath
=yes
12153 hardcode_into_libs
=yes
12154 # ldd complains unless libraries are executable
12155 postinstall_cmds
='chmod +x $lib'
12160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12161 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12162 shlibpath_var
=LD_LIBRARY_PATH
12163 shlibpath_overrides_runpath
=yes
12164 if test "$with_gnu_ld" = yes; then
12170 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12173 soname_spec
='${libname}${release}${shared_ext}$major'
12174 shlibpath_var
=LD_LIBRARY_PATH
12175 case $host_vendor in
12177 shlibpath_overrides_runpath
=no
12179 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12180 runpath_var
=LD_RUN_PATH
12188 shlibpath_overrides_runpath
=no
12189 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12195 if test -d /usr
/nec
;then
12197 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12198 soname_spec
='$libname${shared_ext}.$major'
12199 shlibpath_var
=LD_LIBRARY_PATH
12205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12206 soname_spec
='${libname}${release}${shared_ext}$major'
12207 shlibpath_var
=LD_LIBRARY_PATH
12214 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12215 echo "${ECHO_T}$dynamic_linker" >&6
12216 test "$dynamic_linker" = no
&& can_build_shared
=no
12218 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12219 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12220 hardcode_action_CXX
=
12221 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12222 test -n "$runpath_var_CXX" || \
12223 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12225 # We can hardcode non-existant directories.
12226 if test "$hardcode_direct_CXX" != no
&&
12227 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12228 # have to relink, otherwise we might link with an installed library
12229 # when we should be linking with a yet-to-be-installed one
12230 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12231 test "$hardcode_minus_L_CXX" != no
; then
12232 # Linking always hardcodes the temporary library directory.
12233 hardcode_action_CXX
=relink
12235 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12236 hardcode_action_CXX
=immediate
12239 # We cannot hardcode anything, or else we can only hardcode existing
12241 hardcode_action_CXX
=unsupported
12243 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12244 echo "${ECHO_T}$hardcode_action_CXX" >&6
12246 if test "$hardcode_action_CXX" = relink
; then
12247 # Fast installation is not supported
12248 enable_fast_install
=no
12249 elif test "$shlibpath_overrides_runpath" = yes ||
12250 test "$enable_shared" = no
; then
12251 # Fast installation is not necessary
12252 enable_fast_install
=needless
12257 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12258 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12259 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12260 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12261 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12262 echo "$as_me:$LINENO: result: yes" >&5
12263 echo "${ECHO_T}yes" >&6
12265 # FIXME - insert some real tests, host_os isn't really good enough
12268 if test -n "$STRIP" ; then
12269 striplib
="$STRIP -x"
12270 echo "$as_me:$LINENO: result: yes" >&5
12271 echo "${ECHO_T}yes" >&6
12273 echo "$as_me:$LINENO: result: no" >&5
12274 echo "${ECHO_T}no" >&6
12278 echo "$as_me:$LINENO: result: no" >&5
12279 echo "${ECHO_T}no" >&6
12284 if test "x$enable_dlopen" != xyes
; then
12285 enable_dlopen
=unknown
12286 enable_dlopen_self
=unknown
12287 enable_dlopen_self_static
=unknown
12294 lt_cv_dlopen
="load_add_on"
12296 lt_cv_dlopen_self
=yes
12300 lt_cv_dlopen
="LoadLibrary"
12305 lt_cv_dlopen
="dlopen"
12310 # if libdl is installed we need to link against it
12311 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12312 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12313 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12314 echo $ECHO_N "(cached) $ECHO_C" >&6
12316 ac_check_lib_save_LIBS
=$LIBS
12318 cat >conftest.
$ac_ext <<_ACEOF
12321 cat confdefs.h
>>conftest.
$ac_ext
12322 cat >>conftest.
$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12325 /* Override any gcc2 internal prototype to avoid an error. */
12329 /* We use char because int might match the return type of a gcc2
12330 builtin and then its argument prototype would still apply. */
12340 rm -f conftest.
$ac_objext conftest
$ac_exeext
12341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12342 (eval $ac_link) 2>conftest.er1
12344 grep -v '^ *+' conftest.er1
>conftest.err
12346 cat conftest.err
>&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); } &&
12349 { ac_try
='test -z "$ac_cxx_werror_flag"
12350 || test ! -s conftest.err'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; } &&
12356 { ac_try
='test -s conftest$ac_exeext'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12362 ac_cv_lib_dl_dlopen
=yes
12364 echo "$as_me: failed program was:" >&5
12365 sed 's/^/| /' conftest.
$ac_ext >&5
12367 ac_cv_lib_dl_dlopen
=no
12369 rm -f conftest.err conftest.
$ac_objext \
12370 conftest
$ac_exeext conftest.
$ac_ext
12371 LIBS
=$ac_check_lib_save_LIBS
12373 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12374 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12375 if test $ac_cv_lib_dl_dlopen = yes; then
12376 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12379 lt_cv_dlopen
="dyld"
12381 lt_cv_dlopen_self
=yes
12388 echo "$as_me:$LINENO: checking for shl_load" >&5
12389 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12390 if test "${ac_cv_func_shl_load+set}" = set; then
12391 echo $ECHO_N "(cached) $ECHO_C" >&6
12393 cat >conftest.
$ac_ext <<_ACEOF
12396 cat confdefs.h
>>conftest.
$ac_ext
12397 cat >>conftest.
$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12399 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12401 #define shl_load innocuous_shl_load
12403 /* System header to define __stub macros and hopefully few prototypes,
12404 which can conflict with char shl_load (); below.
12405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12406 <limits.h> exists even on freestanding compilers. */
12409 # include <limits.h>
12411 # include <assert.h>
12416 /* Override any gcc2 internal prototype to avoid an error. */
12421 /* We use char because int might match the return type of a gcc2
12422 builtin and then its argument prototype would still apply. */
12424 /* The GNU C library defines this for functions which it implements
12425 to always fail with ENOSYS. Some functions are actually named
12426 something starting with __ and the normal name is an alias. */
12427 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12430 char (*f) () = shl_load;
12439 return f != shl_load;
12444 rm -f conftest.
$ac_objext conftest
$ac_exeext
12445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12446 (eval $ac_link) 2>conftest.er1
12448 grep -v '^ *+' conftest.er1
>conftest.err
12450 cat conftest.err
>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); } &&
12453 { ac_try
='test -z "$ac_cxx_werror_flag"
12454 || test ! -s conftest.err'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; } &&
12460 { ac_try
='test -s conftest$ac_exeext'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; }; then
12466 ac_cv_func_shl_load
=yes
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.
$ac_ext >&5
12471 ac_cv_func_shl_load
=no
12473 rm -f conftest.err conftest.
$ac_objext \
12474 conftest
$ac_exeext conftest.
$ac_ext
12476 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12477 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12478 if test $ac_cv_func_shl_load = yes; then
12479 lt_cv_dlopen
="shl_load"
12481 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12482 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12483 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 ac_check_lib_save_LIBS
=$LIBS
12488 cat >conftest.
$ac_ext <<_ACEOF
12491 cat confdefs.h
>>conftest.
$ac_ext
12492 cat >>conftest.
$ac_ext <<_ACEOF
12493 /* end confdefs.h. */
12495 /* Override any gcc2 internal prototype to avoid an error. */
12499 /* We use char because int might match the return type of a gcc2
12500 builtin and then its argument prototype would still apply. */
12510 rm -f conftest.
$ac_objext conftest
$ac_exeext
12511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12512 (eval $ac_link) 2>conftest.er1
12514 grep -v '^ *+' conftest.er1
>conftest.err
12516 cat conftest.err
>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); } &&
12519 { ac_try
='test -z "$ac_cxx_werror_flag"
12520 || test ! -s conftest.err'
12521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12522 (eval $ac_try) 2>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); }; } &&
12526 { ac_try
='test -s conftest$ac_exeext'
12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528 (eval $ac_try) 2>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; }; then
12532 ac_cv_lib_dld_shl_load
=yes
12534 echo "$as_me: failed program was:" >&5
12535 sed 's/^/| /' conftest.
$ac_ext >&5
12537 ac_cv_lib_dld_shl_load
=no
12539 rm -f conftest.err conftest.
$ac_objext \
12540 conftest
$ac_exeext conftest.
$ac_ext
12541 LIBS
=$ac_check_lib_save_LIBS
12543 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12544 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12545 if test $ac_cv_lib_dld_shl_load = yes; then
12546 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12548 echo "$as_me:$LINENO: checking for dlopen" >&5
12549 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12550 if test "${ac_cv_func_dlopen+set}" = set; then
12551 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 cat >conftest.
$ac_ext <<_ACEOF
12556 cat confdefs.h
>>conftest.
$ac_ext
12557 cat >>conftest.
$ac_ext <<_ACEOF
12558 /* end confdefs.h. */
12559 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12561 #define dlopen innocuous_dlopen
12563 /* System header to define __stub macros and hopefully few prototypes,
12564 which can conflict with char dlopen (); below.
12565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12566 <limits.h> exists even on freestanding compilers. */
12569 # include <limits.h>
12571 # include <assert.h>
12576 /* Override any gcc2 internal prototype to avoid an error. */
12581 /* We use char because int might match the return type of a gcc2
12582 builtin and then its argument prototype would still apply. */
12584 /* The GNU C library defines this for functions which it implements
12585 to always fail with ENOSYS. Some functions are actually named
12586 something starting with __ and the normal name is an alias. */
12587 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12590 char (*f) () = dlopen;
12599 return f != dlopen;
12604 rm -f conftest.
$ac_objext conftest
$ac_exeext
12605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12606 (eval $ac_link) 2>conftest.er1
12608 grep -v '^ *+' conftest.er1
>conftest.err
12610 cat conftest.err
>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } &&
12613 { ac_try
='test -z "$ac_cxx_werror_flag"
12614 || test ! -s conftest.err'
12615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12616 (eval $ac_try) 2>&5
12618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619 (exit $ac_status); }; } &&
12620 { ac_try
='test -s conftest$ac_exeext'
12621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12622 (eval $ac_try) 2>&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); }; }; then
12626 ac_cv_func_dlopen
=yes
12628 echo "$as_me: failed program was:" >&5
12629 sed 's/^/| /' conftest.
$ac_ext >&5
12631 ac_cv_func_dlopen
=no
12633 rm -f conftest.err conftest.
$ac_objext \
12634 conftest
$ac_exeext conftest.
$ac_ext
12636 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12637 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12638 if test $ac_cv_func_dlopen = yes; then
12639 lt_cv_dlopen
="dlopen"
12641 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12642 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12643 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 ac_check_lib_save_LIBS
=$LIBS
12648 cat >conftest.
$ac_ext <<_ACEOF
12651 cat confdefs.h
>>conftest.
$ac_ext
12652 cat >>conftest.
$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12655 /* Override any gcc2 internal prototype to avoid an error. */
12659 /* We use char because int might match the return type of a gcc2
12660 builtin and then its argument prototype would still apply. */
12670 rm -f conftest.
$ac_objext conftest
$ac_exeext
12671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12672 (eval $ac_link) 2>conftest.er1
12674 grep -v '^ *+' conftest.er1
>conftest.err
12676 cat conftest.err
>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); } &&
12679 { ac_try
='test -z "$ac_cxx_werror_flag"
12680 || test ! -s conftest.err'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; } &&
12686 { ac_try
='test -s conftest$ac_exeext'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; }; then
12692 ac_cv_lib_dl_dlopen
=yes
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.
$ac_ext >&5
12697 ac_cv_lib_dl_dlopen
=no
12699 rm -f conftest.err conftest.
$ac_objext \
12700 conftest
$ac_exeext conftest.
$ac_ext
12701 LIBS
=$ac_check_lib_save_LIBS
12703 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12704 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12705 if test $ac_cv_lib_dl_dlopen = yes; then
12706 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12708 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12709 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12710 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12713 ac_check_lib_save_LIBS
=$LIBS
12714 LIBS
="-lsvld $LIBS"
12715 cat >conftest.
$ac_ext <<_ACEOF
12718 cat confdefs.h
>>conftest.
$ac_ext
12719 cat >>conftest.
$ac_ext <<_ACEOF
12720 /* end confdefs.h. */
12722 /* Override any gcc2 internal prototype to avoid an error. */
12726 /* We use char because int might match the return type of a gcc2
12727 builtin and then its argument prototype would still apply. */
12737 rm -f conftest.
$ac_objext conftest
$ac_exeext
12738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12739 (eval $ac_link) 2>conftest.er1
12741 grep -v '^ *+' conftest.er1
>conftest.err
12743 cat conftest.err
>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); } &&
12746 { ac_try
='test -z "$ac_cxx_werror_flag"
12747 || test ! -s conftest.err'
12748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749 (eval $ac_try) 2>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); }; } &&
12753 { ac_try
='test -s conftest$ac_exeext'
12754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12755 (eval $ac_try) 2>&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; }; then
12759 ac_cv_lib_svld_dlopen
=yes
12761 echo "$as_me: failed program was:" >&5
12762 sed 's/^/| /' conftest.
$ac_ext >&5
12764 ac_cv_lib_svld_dlopen
=no
12766 rm -f conftest.err conftest.
$ac_objext \
12767 conftest
$ac_exeext conftest.
$ac_ext
12768 LIBS
=$ac_check_lib_save_LIBS
12770 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12771 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12772 if test $ac_cv_lib_svld_dlopen = yes; then
12773 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12775 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12776 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12777 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12780 ac_check_lib_save_LIBS
=$LIBS
12782 cat >conftest.
$ac_ext <<_ACEOF
12785 cat confdefs.h
>>conftest.
$ac_ext
12786 cat >>conftest.
$ac_ext <<_ACEOF
12787 /* end confdefs.h. */
12789 /* Override any gcc2 internal prototype to avoid an error. */
12793 /* We use char because int might match the return type of a gcc2
12794 builtin and then its argument prototype would still apply. */
12804 rm -f conftest.
$ac_objext conftest
$ac_exeext
12805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12806 (eval $ac_link) 2>conftest.er1
12808 grep -v '^ *+' conftest.er1
>conftest.err
12810 cat conftest.err
>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } &&
12813 { ac_try
='test -z "$ac_cxx_werror_flag"
12814 || test ! -s conftest.err'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; } &&
12820 { ac_try
='test -s conftest$ac_exeext'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12826 ac_cv_lib_dld_dld_link
=yes
12828 echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.
$ac_ext >&5
12831 ac_cv_lib_dld_dld_link
=no
12833 rm -f conftest.err conftest.
$ac_objext \
12834 conftest
$ac_exeext conftest.
$ac_ext
12835 LIBS
=$ac_check_lib_save_LIBS
12837 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12838 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12839 if test $ac_cv_lib_dld_dld_link = yes; then
12840 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12861 if test "x$lt_cv_dlopen" != xno
; then
12867 case $lt_cv_dlopen in
12869 save_CPPFLAGS
="$CPPFLAGS"
12870 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12872 save_LDFLAGS
="$LDFLAGS"
12873 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12876 LIBS
="$lt_cv_dlopen_libs $LIBS"
12878 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12879 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12880 if test "${lt_cv_dlopen_self+set}" = set; then
12881 echo $ECHO_N "(cached) $ECHO_C" >&6
12883 if test "$cross_compiling" = yes; then :
12884 lt_cv_dlopen_self
=cross
12886 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12887 lt_status
=$lt_dlunknown
12888 cat > conftest.
$ac_ext <<EOF
12889 #line 12889 "configure"
12890 #include "confdefs.h"
12899 # define LT_DLGLOBAL RTLD_GLOBAL
12902 # define LT_DLGLOBAL DL_GLOBAL
12904 # define LT_DLGLOBAL 0
12908 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12909 find out it does not work in some platform. */
12910 #ifndef LT_DLLAZY_OR_NOW
12912 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12915 # define LT_DLLAZY_OR_NOW DL_LAZY
12918 # define LT_DLLAZY_OR_NOW RTLD_NOW
12921 # define LT_DLLAZY_OR_NOW DL_NOW
12923 # define LT_DLLAZY_OR_NOW 0
12931 extern "C" void exit (int);
12934 void fnord() { int i=42;}
12937 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12938 int status = $lt_dlunknown;
12942 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12943 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12944 /* dlclose (self); */
12950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12951 (eval $ac_link) 2>&5
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12955 (.
/conftest
; exit; ) 2>/dev
/null
12957 case x
$lt_status in
12958 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12959 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12960 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12963 # compilation failed
12964 lt_cv_dlopen_self
=no
12971 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12972 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12974 if test "x$lt_cv_dlopen_self" = xyes
; then
12975 LDFLAGS
="$LDFLAGS $link_static_flag"
12976 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12977 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12978 if test "${lt_cv_dlopen_self_static+set}" = set; then
12979 echo $ECHO_N "(cached) $ECHO_C" >&6
12981 if test "$cross_compiling" = yes; then :
12982 lt_cv_dlopen_self_static
=cross
12984 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12985 lt_status
=$lt_dlunknown
12986 cat > conftest.
$ac_ext <<EOF
12987 #line 12987 "configure"
12988 #include "confdefs.h"
12997 # define LT_DLGLOBAL RTLD_GLOBAL
13000 # define LT_DLGLOBAL DL_GLOBAL
13002 # define LT_DLGLOBAL 0
13006 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13007 find out it does not work in some platform. */
13008 #ifndef LT_DLLAZY_OR_NOW
13010 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13013 # define LT_DLLAZY_OR_NOW DL_LAZY
13016 # define LT_DLLAZY_OR_NOW RTLD_NOW
13019 # define LT_DLLAZY_OR_NOW DL_NOW
13021 # define LT_DLLAZY_OR_NOW 0
13029 extern "C" void exit (int);
13032 void fnord() { int i=42;}
13035 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13036 int status = $lt_dlunknown;
13040 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13041 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13042 /* dlclose (self); */
13048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13049 (eval $ac_link) 2>&5
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13053 (.
/conftest
; exit; ) 2>/dev
/null
13055 case x
$lt_status in
13056 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13057 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13058 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
13061 # compilation failed
13062 lt_cv_dlopen_self_static
=no
13069 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13070 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13073 CPPFLAGS
="$save_CPPFLAGS"
13074 LDFLAGS
="$save_LDFLAGS"
13079 case $lt_cv_dlopen_self in
13080 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13081 *) enable_dlopen_self
=unknown
;;
13084 case $lt_cv_dlopen_self_static in
13085 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13086 *) enable_dlopen_self_static
=unknown
;;
13091 # The else clause should only fire when bootstrapping the
13092 # libtool distribution, otherwise you forgot to ship ltmain.sh
13093 # with your package, and you will get complaints that there are
13094 # no rules to generate ltmain.sh.
13095 if test -f "$ltmain"; then
13096 # See if we are running on zsh, and set the options which allow our commands through
13097 # without removal of \ escapes.
13098 if test -n "${ZSH_VERSION+set}" ; then
13099 setopt NO_GLOB_SUBST
13101 # Now quote all the things that may contain metacharacters while being
13102 # careful not to overquote the AC_SUBSTed values. We take copies of the
13103 # variables and quote the copies for generation of the libtool script.
13104 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13106 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13107 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13108 deplibs_check_method reload_flag reload_cmds need_locks \
13109 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13110 lt_cv_sys_global_symbol_to_c_name_address \
13111 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13112 old_postinstall_cmds old_postuninstall_cmds \
13116 lt_prog_compiler_wl_CXX \
13117 lt_prog_compiler_pic_CXX \
13118 lt_prog_compiler_static_CXX \
13119 lt_prog_compiler_no_builtin_flag_CXX \
13120 export_dynamic_flag_spec_CXX \
13121 thread_safe_flag_spec_CXX \
13122 whole_archive_flag_spec_CXX \
13123 enable_shared_with_static_runtimes_CXX \
13124 old_archive_cmds_CXX \
13125 old_archive_from_new_cmds_CXX \
13126 predep_objects_CXX \
13127 postdep_objects_CXX \
13130 compiler_lib_search_path_CXX \
13132 archive_expsym_cmds_CXX \
13133 postinstall_cmds_CXX \
13134 postuninstall_cmds_CXX \
13135 old_archive_from_expsyms_cmds_CXX \
13136 allow_undefined_flag_CXX \
13137 no_undefined_flag_CXX \
13138 export_symbols_cmds_CXX \
13139 hardcode_libdir_flag_spec_CXX \
13140 hardcode_libdir_flag_spec_ld_CXX \
13141 hardcode_libdir_separator_CXX \
13142 hardcode_automatic_CXX \
13144 module_expsym_cmds_CXX \
13145 lt_cv_prog_compiler_c_o_CXX \
13146 exclude_expsyms_CXX \
13147 include_expsyms_CXX
; do
13150 old_archive_cmds_CXX | \
13151 old_archive_from_new_cmds_CXX | \
13152 archive_cmds_CXX | \
13153 archive_expsym_cmds_CXX | \
13154 module_cmds_CXX | \
13155 module_expsym_cmds_CXX | \
13156 old_archive_from_expsyms_cmds_CXX | \
13157 export_symbols_cmds_CXX | \
13158 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13159 postinstall_cmds | postuninstall_cmds | \
13160 old_postinstall_cmds | old_postuninstall_cmds | \
13161 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13162 # Double-quote double-evaled strings.
13163 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13166 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13172 *'\$0 --fallback-echo"')
13173 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13179 cat <<__EOF__ >> "$cfgfile"
13180 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13182 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13184 # Shell to use when invoking shell scripts.
13187 # Whether or not to build shared libraries.
13188 build_libtool_libs=$enable_shared
13190 # Whether or not to build static libraries.
13191 build_old_libs=$enable_static
13193 # Whether or not to add -lc for building shared libraries.
13194 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13196 # Whether or not to disallow shared libs when runtime libs are static
13197 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13199 # Whether or not to optimize for fast installation.
13200 fast_install=$enable_fast_install
13203 host_alias=$host_alias
13207 # The build system.
13208 build_alias=$build_alias
13212 # An echo program that does not interpret backslashes.
13217 AR_FLAGS=$lt_AR_FLAGS
13222 # A language-specific compiler.
13223 CC=$lt_compiler_CXX
13225 # Is the compiler the GNU C compiler?
13231 # The linker used to build libraries.
13234 # Whether we need hard or soft links.
13237 # A BSD-compatible nm program.
13240 # A symbol stripping program
13243 # Used to examine libraries when file_magic_cmd begins "file"
13244 MAGIC_CMD=$MAGIC_CMD
13246 # Used on cygwin: DLL creation program.
13249 # Used on cygwin: object dumper.
13252 # Used on cygwin: assembler.
13255 # The name of the directory that contains temporary libtool files.
13258 # How to create reloadable object files.
13259 reload_flag=$lt_reload_flag
13260 reload_cmds=$lt_reload_cmds
13262 # How to pass a linker flag through the compiler.
13263 wl=$lt_lt_prog_compiler_wl_CXX
13265 # Object file suffix (normally "o").
13266 objext="$ac_objext"
13268 # Old archive suffix (normally "a").
13271 # Shared library suffix (normally ".so").
13272 shrext_cmds='$shrext_cmds'
13274 # Executable file suffix (normally "").
13277 # Additional compiler flags for building library objects.
13278 pic_flag=$lt_lt_prog_compiler_pic_CXX
13281 # What is the maximum length of a command?
13282 max_cmd_len=$lt_cv_sys_max_cmd_len
13284 # Does compiler simultaneously support -c and -o options?
13285 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13287 # Must we lock files when doing compilation ?
13288 need_locks=$lt_need_locks
13290 # Do we need the lib prefix for modules?
13291 need_lib_prefix=$need_lib_prefix
13293 # Do we need a version for libraries?
13294 need_version=$need_version
13296 # Whether dlopen is supported.
13297 dlopen_support=$enable_dlopen
13299 # Whether dlopen of programs is supported.
13300 dlopen_self=$enable_dlopen_self
13302 # Whether dlopen of statically linked programs is supported.
13303 dlopen_self_static=$enable_dlopen_self_static
13305 # Compiler flag to prevent dynamic linking.
13306 link_static_flag=$lt_lt_prog_compiler_static_CXX
13308 # Compiler flag to turn off builtin functions.
13309 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13311 # Compiler flag to allow reflexive dlopens.
13312 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13314 # Compiler flag to generate shared objects directly from archives.
13315 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13317 # Compiler flag to generate thread-safe objects.
13318 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13320 # Library versioning type.
13321 version_type=$version_type
13323 # Format of library name prefix.
13324 libname_spec=$lt_libname_spec
13326 # List of archive names. First name is the real one, the rest are links.
13327 # The last name is the one that the linker finds with -lNAME.
13328 library_names_spec=$lt_library_names_spec
13330 # The coded name of the library, if different from the real name.
13331 soname_spec=$lt_soname_spec
13333 # Commands used to build and install an old-style archive.
13335 old_archive_cmds=$lt_old_archive_cmds_CXX
13336 old_postinstall_cmds=$lt_old_postinstall_cmds
13337 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13339 # Create an old-style archive from a shared archive.
13340 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13342 # Create a temporary old-style archive to link instead of a shared archive.
13343 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13345 # Commands used to build and install a shared archive.
13346 archive_cmds=$lt_archive_cmds_CXX
13347 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13348 postinstall_cmds=$lt_postinstall_cmds
13349 postuninstall_cmds=$lt_postuninstall_cmds
13351 # Commands used to build a loadable module (assumed same as above if empty)
13352 module_cmds=$lt_module_cmds_CXX
13353 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13355 # Commands to strip libraries.
13356 old_striplib=$lt_old_striplib
13357 striplib=$lt_striplib
13359 # Dependencies to place before the objects being linked to create a
13361 predep_objects=$lt_predep_objects_CXX
13363 # Dependencies to place after the objects being linked to create a
13365 postdep_objects=$lt_postdep_objects_CXX
13367 # Dependencies to place before the objects being linked to create a
13369 predeps=$lt_predeps_CXX
13371 # Dependencies to place after the objects being linked to create a
13373 postdeps=$lt_postdeps_CXX
13375 # The library search path used internally by the compiler when linking
13376 # a shared library.
13377 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13379 # Method to check whether dependent libraries are shared objects.
13380 deplibs_check_method=$lt_deplibs_check_method
13382 # Command to use when deplibs_check_method == file_magic.
13383 file_magic_cmd=$lt_file_magic_cmd
13385 # Flag that allows shared libraries with undefined symbols to be built.
13386 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13388 # Flag that forces no undefined symbols.
13389 no_undefined_flag=$lt_no_undefined_flag_CXX
13391 # Commands used to finish a libtool library installation in a directory.
13392 finish_cmds=$lt_finish_cmds
13394 # Same as above, but a single script fragment to be evaled but not shown.
13395 finish_eval=$lt_finish_eval
13397 # Take the output of nm and produce a listing of raw symbols and C names.
13398 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13400 # Transform the output of nm in a proper C declaration
13401 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13403 # Transform the output of nm in a C name address pair
13404 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13406 # This is the shared library runtime path variable.
13407 runpath_var=$runpath_var
13409 # This is the shared library path variable.
13410 shlibpath_var=$shlibpath_var
13412 # Is shlibpath searched before the hard-coded library search path?
13413 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13415 # How to hardcode a shared library path into an executable.
13416 hardcode_action=$hardcode_action_CXX
13418 # Whether we should hardcode library paths into libraries.
13419 hardcode_into_libs=$hardcode_into_libs
13421 # Flag to hardcode \$libdir into a binary during linking.
13422 # This must work even if \$libdir does not exist.
13423 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13425 # If ld is used when linking, flag to hardcode \$libdir into
13426 # a binary during linking. This must work even if \$libdir does
13428 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13430 # Whether we need a single -rpath flag with a separated argument.
13431 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13433 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13434 # resulting binary.
13435 hardcode_direct=$hardcode_direct_CXX
13437 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13438 # resulting binary.
13439 hardcode_minus_L=$hardcode_minus_L_CXX
13441 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13442 # the resulting binary.
13443 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13445 # Set to yes if building a shared library automatically hardcodes DIR into the library
13446 # and all subsequent libraries and executables linked against it.
13447 hardcode_automatic=$hardcode_automatic_CXX
13449 # Variables whose values should be saved in libtool wrapper scripts and
13450 # restored at relink time.
13451 variables_saved_for_relink="$variables_saved_for_relink"
13453 # Whether libtool must link a program against all its dependency libraries.
13454 link_all_deplibs=$link_all_deplibs_CXX
13456 # Compile-time system search path for libraries
13457 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13459 # Run-time system search path for libraries
13460 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13462 # Fix the shell variable \$srcfile for the compiler.
13463 fix_srcfile_path="$fix_srcfile_path_CXX"
13465 # Set to yes if exported symbols are required.
13466 always_export_symbols=$always_export_symbols_CXX
13468 # The commands to list exported symbols.
13469 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13471 # The commands to extract the exported symbol list from a shared archive.
13472 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13474 # Symbols that should not be listed in the preloaded symbols.
13475 exclude_expsyms=$lt_exclude_expsyms_CXX
13477 # Symbols that must always be exported.
13478 include_expsyms=$lt_include_expsyms_CXX
13480 # ### END LIBTOOL TAG CONFIG: $tagname
13486 # If there is no Makefile yet, we rely on a make rule to execute
13487 # `config.status --recheck' to rerun these tests and create the
13488 # libtool script then.
13489 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13490 if test -f "$ltmain_in"; then
13491 test -f Makefile
&& make "$ltmain"
13497 ac_cpp
='$CPP $CPPFLAGS'
13498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13506 with_gnu_ldcxx
=$with_gnu_ld
13507 with_gnu_ld
=$lt_save_with_gnu_ld
13508 lt_cv_path_LDCXX
=$lt_cv_path_LD
13509 lt_cv_path_LD
=$lt_save_path_LD
13510 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13511 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13519 if test -n "$F77" && test "X$F77" != "Xno"; then
13522 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13523 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13524 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13527 archive_cmds_need_lc_F77
=no
13528 allow_undefined_flag_F77
=
13529 always_export_symbols_F77
=no
13530 archive_expsym_cmds_F77
=
13531 export_dynamic_flag_spec_F77
=
13532 hardcode_direct_F77
=no
13533 hardcode_libdir_flag_spec_F77
=
13534 hardcode_libdir_flag_spec_ld_F77
=
13535 hardcode_libdir_separator_F77
=
13536 hardcode_minus_L_F77
=no
13537 hardcode_automatic_F77
=no
13539 module_expsym_cmds_F77
=
13540 link_all_deplibs_F77
=unknown
13541 old_archive_cmds_F77
=$old_archive_cmds
13542 no_undefined_flag_F77
=
13543 whole_archive_flag_spec_F77
=
13544 enable_shared_with_static_runtimes_F77
=no
13546 # Source file extension for f77 test sources.
13549 # Object file extension for compiled f77 test sources.
13553 # Code to be used in simple compile tests
13554 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13556 # Code to be used in simple link tests
13557 lt_simple_link_test_code
=" program t\n end\n"
13559 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13561 # If no C compiler was specified, use CC.
13564 # Allow CC to be a program name with arguments.
13568 # Allow CC to be a program name with arguments.
13573 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13575 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13576 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13577 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13578 echo "${ECHO_T}$can_build_shared" >&6
13580 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13581 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13582 test "$can_build_shared" = "no" && enable_shared
=no
13584 # On AIX, shared libraries and static libraries use the same namespace, and
13585 # are all built from PIC.
13588 test "$enable_shared" = yes && enable_static
=no
13589 if test -n "$RANLIB"; then
13590 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13591 postinstall_cmds
='$RANLIB $lib'
13595 test "$enable_shared" = yes && enable_static
=no
13598 echo "$as_me:$LINENO: result: $enable_shared" >&5
13599 echo "${ECHO_T}$enable_shared" >&6
13601 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13602 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13603 # Make sure either enable_shared or enable_static is yes.
13604 test "$enable_shared" = yes || enable_static
=yes
13605 echo "$as_me:$LINENO: result: $enable_static" >&5
13606 echo "${ECHO_T}$enable_static" >&6
13608 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13613 lt_prog_compiler_wl_F77
=
13614 lt_prog_compiler_pic_F77
=
13615 lt_prog_compiler_static_F77
=
13617 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13618 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13620 if test "$GCC" = yes; then
13621 lt_prog_compiler_wl_F77
='-Wl,'
13622 lt_prog_compiler_static_F77
='-static'
13626 # All AIX code is PIC.
13627 if test "$host_cpu" = ia64
; then
13628 # AIX 5 now supports IA64 processor
13629 lt_prog_compiler_static_F77
='-Bstatic'
13634 # FIXME: we need at least 68020 code to build shared libraries, but
13635 # adding the `-m68020' flag to GCC prevents building anything better,
13637 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13640 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13641 # PIC is the default for these OSes.
13644 mingw
* | pw32
* | os2
*)
13645 # This hack is so that the source file can tell whether it is being
13646 # built for inclusion in a dll (and should export symbols for example).
13647 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13650 darwin
* | rhapsody
*)
13651 # PIC is the default on this platform
13652 # Common symbols not allowed in MH_DYLIB files
13653 lt_prog_compiler_pic_F77
='-fno-common'
13657 # Just because we use GCC doesn't mean we suddenly get shared libraries
13658 # on systems that don't support them.
13659 lt_prog_compiler_can_build_shared_F77
=no
13664 if test -d /usr
/nec
; then
13665 lt_prog_compiler_pic_F77
=-Kconform_pic
13670 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13671 # not for PA HP-UX.
13672 case "$host_cpu" in
13677 lt_prog_compiler_pic_F77
='-fPIC'
13683 lt_prog_compiler_pic_F77
='-fPIC'
13687 # PORTME Check for flag to pass linker flags through the system compiler.
13690 lt_prog_compiler_wl_F77
='-Wl,'
13691 if test "$host_cpu" = ia64
; then
13692 # AIX 5 now supports IA64 processor
13693 lt_prog_compiler_static_F77
='-Bstatic'
13695 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13699 # PIC is the default on this platform
13700 # Common symbols not allowed in MH_DYLIB files
13701 case "$cc_basename" in
13703 lt_prog_compiler_pic_F77
='-qnocommon'
13704 lt_prog_compiler_wl_F77
='-Wl,'
13709 mingw
* | pw32
* | os2
*)
13710 # This hack is so that the source file can tell whether it is being
13711 # built for inclusion in a dll (and should export symbols for example).
13712 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13715 hpux9
* | hpux10
* | hpux11
*)
13716 lt_prog_compiler_wl_F77
='-Wl,'
13717 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13718 # not for PA HP-UX.
13719 case "$host_cpu" in
13724 lt_prog_compiler_pic_F77
='+Z'
13727 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13728 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13731 irix5
* | irix6
* | nonstopux
*)
13732 lt_prog_compiler_wl_F77
='-Wl,'
13733 # PIC (with -KPIC) is the default.
13734 lt_prog_compiler_static_F77
='-non_shared'
13738 lt_prog_compiler_pic_F77
='-KPIC'
13739 lt_prog_compiler_static_F77
='-Bstatic'
13743 case $cc_basename in
13745 lt_prog_compiler_wl_F77
='-Wl,'
13746 lt_prog_compiler_pic_F77
='-KPIC'
13747 lt_prog_compiler_static_F77
='-static'
13749 pgcc | pgf77 | pgf90
)
13750 # Portland Group compilers (*not* the Pentium gcc compiler,
13751 # which looks to be a dead project)
13752 lt_prog_compiler_wl_F77
='-Wl,'
13753 lt_prog_compiler_pic_F77
='-fpic'
13754 lt_prog_compiler_static_F77
='-static'
13757 lt_prog_compiler_wl_F77
='-Wl,'
13758 # All Alpha code is PIC.
13759 lt_prog_compiler_static_F77
='-non_shared'
13762 lt_prog_compiler_wl_F77
='-lopt='
13767 osf3
* | osf4
* | osf5
*)
13768 lt_prog_compiler_wl_F77
='-Wl,'
13769 # All OSF/1 code is PIC.
13770 lt_prog_compiler_static_F77
='-non_shared'
13774 lt_prog_compiler_pic_F77
='-Kpic'
13775 lt_prog_compiler_static_F77
='-dn'
13779 lt_prog_compiler_wl_F77
='-Wl,'
13780 lt_prog_compiler_pic_F77
='-KPIC'
13781 lt_prog_compiler_static_F77
='-Bstatic'
13785 lt_prog_compiler_wl_F77
='-Qoption ld '
13786 lt_prog_compiler_pic_F77
='-PIC'
13787 lt_prog_compiler_static_F77
='-Bstatic'
13790 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13791 lt_prog_compiler_wl_F77
='-Wl,'
13792 lt_prog_compiler_pic_F77
='-KPIC'
13793 lt_prog_compiler_static_F77
='-Bstatic'
13797 if test -d /usr
/nec
;then
13798 lt_prog_compiler_pic_F77
='-Kconform_pic'
13799 lt_prog_compiler_static_F77
='-Bstatic'
13804 lt_prog_compiler_wl_F77
='-Wl,'
13805 lt_prog_compiler_can_build_shared_F77
=no
13809 lt_prog_compiler_pic_F77
='-pic'
13810 lt_prog_compiler_static_F77
='-Bstatic'
13814 lt_prog_compiler_can_build_shared_F77
=no
13819 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13820 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13823 # Check to make sure the PIC flag actually works.
13825 if test -n "$lt_prog_compiler_pic_F77"; then
13827 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13828 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13829 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 lt_prog_compiler_pic_works_F77
=no
13833 ac_outfile
=conftest.
$ac_objext
13834 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13835 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13836 # Insert the option either (1) after the last *FLAGS variable, or
13837 # (2) before a word containing "conftest.", or (3) at the end.
13838 # Note that $ac_compile itself does not contain backslashes and begins
13839 # with a dollar sign (not a hyphen), so the echo should work correctly.
13840 # The option is referenced via a variable to avoid confusing sed.
13841 lt_compile
=`echo "$ac_compile" | $SED \
13842 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13844 -e 's:$: $lt_compiler_flag:'`
13845 (eval echo "\"\$as_me:13845: $lt_compile\"" >&5)
13846 (eval "$lt_compile" 2>conftest.err
)
13848 cat conftest.err
>&5
13849 echo "$as_me:13849: \$? = $ac_status" >&5
13850 if (exit $ac_status) && test -s "$ac_outfile"; then
13851 # The compiler can only warn and ignore the option if not recognized
13852 # So say no if there are warnings
13853 if test ! -s conftest.err
; then
13854 lt_prog_compiler_pic_works_F77
=yes
13860 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13861 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13863 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13864 case $lt_prog_compiler_pic_F77 in
13866 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13869 lt_prog_compiler_pic_F77
=
13870 lt_prog_compiler_can_build_shared_F77
=no
13875 # For platforms which do not support PIC, -DPIC is meaningless:
13877 lt_prog_compiler_pic_F77
=
13880 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13884 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13885 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13886 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13887 echo $ECHO_N "(cached) $ECHO_C" >&6
13889 lt_cv_prog_compiler_c_o_F77
=no
13890 $rm -r conftest
2>/dev
/null
13894 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13896 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13897 # Insert the option either (1) after the last *FLAGS variable, or
13898 # (2) before a word containing "conftest.", or (3) at the end.
13899 # Note that $ac_compile itself does not contain backslashes and begins
13900 # with a dollar sign (not a hyphen), so the echo should work correctly.
13901 lt_compile
=`echo "$ac_compile" | $SED \
13902 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13903 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13904 -e 's:$: $lt_compiler_flag:'`
13905 (eval echo "\"\$as_me:13905: $lt_compile\"" >&5)
13906 (eval "$lt_compile" 2>out
/conftest.err
)
13908 cat out
/conftest.err
>&5
13909 echo "$as_me:13909: \$? = $ac_status" >&5
13910 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13912 # The compiler can only warn and ignore the option if not recognized
13913 # So say no if there are warnings
13914 if test ! -s out
/conftest.err
; then
13915 lt_cv_prog_compiler_c_o_F77
=yes
13920 # SGI C++ compiler will create directory out/ii_files/ for
13921 # template instantiation
13922 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13923 $rm out
/* && rmdir out
13929 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13930 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13933 hard_links
="nottested"
13934 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13935 # do not overwrite the value of need_locks provided by the user
13936 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13937 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13940 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13942 ln conftest.a conftest.b
2>&5 || hard_links
=no
13943 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13944 echo "$as_me:$LINENO: result: $hard_links" >&5
13945 echo "${ECHO_T}$hard_links" >&6
13946 if test "$hard_links" = no
; then
13947 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13948 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13955 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13956 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13959 allow_undefined_flag_F77
=
13960 enable_shared_with_static_runtimes_F77
=no
13962 archive_expsym_cmds_F77
=
13963 old_archive_From_new_cmds_F77
=
13964 old_archive_from_expsyms_cmds_F77
=
13965 export_dynamic_flag_spec_F77
=
13966 whole_archive_flag_spec_F77
=
13967 thread_safe_flag_spec_F77
=
13968 hardcode_libdir_flag_spec_F77
=
13969 hardcode_libdir_flag_spec_ld_F77
=
13970 hardcode_libdir_separator_F77
=
13971 hardcode_direct_F77
=no
13972 hardcode_minus_L_F77
=no
13973 hardcode_shlibpath_var_F77
=unsupported
13974 link_all_deplibs_F77
=unknown
13975 hardcode_automatic_F77
=no
13977 module_expsym_cmds_F77
=
13978 always_export_symbols_F77
=no
13979 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13980 # include_expsyms should be a list of space-separated symbols to be *always*
13981 # included in the symbol list
13982 include_expsyms_F77
=
13983 # exclude_expsyms can be an extended regexp of symbols to exclude
13984 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13985 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13986 # as well as any symbol that contains `d'.
13987 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13988 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13989 # platforms (ab)use it in PIC code, but their linkers get confused if
13990 # the symbol is explicitly referenced. Since portable code cannot
13991 # rely on this symbol name, it's probably fine to never include it in
13992 # preloaded symbol tables.
13993 extract_expsyms_cmds
=
13996 cygwin
* | mingw
* | pw32
*)
13997 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13998 # When not using gcc, we currently assume that we are using
13999 # Microsoft Visual C++.
14000 if test "$GCC" != yes; then
14010 if test "$with_gnu_ld" = yes; then
14011 # If archive_cmds runs LD, not CC, wlarc should be empty
14014 # See if GNU ld supports shared libraries.
14016 aix3
* | aix4
* | aix5
*)
14017 # On AIX/PPC, the GNU linker is very broken
14018 if test "$host_cpu" != ia64
; then
14022 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14023 *** to be unable to reliably create shared libraries on AIX.
14024 *** Therefore, libtool is disabling shared libraries support. If you
14025 *** really care for shared libraries, you may want to modify your PATH
14026 *** so that a non-GNU linker is found, and then restart.
14033 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14034 hardcode_libdir_flag_spec_F77
='-L$libdir'
14035 hardcode_minus_L_F77
=yes
14037 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14038 # that the semantics of dynamic libraries on AmigaOS, at least up
14039 # to version 4, is to share data among multiple programs linked
14040 # with the same dynamic library. Since this doesn't match the
14041 # behavior of shared libraries on other platforms, we can't use
14047 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14048 allow_undefined_flag_F77
=unsupported
14049 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14050 # support --undefined. This deserves some investigation. FIXME
14051 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14057 cygwin
* | mingw
* | pw32
*)
14058 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14059 # as there is no search path for DLLs.
14060 hardcode_libdir_flag_spec_F77
='-L$libdir'
14061 allow_undefined_flag_F77
=unsupported
14062 always_export_symbols_F77
=no
14063 enable_shared_with_static_runtimes_F77
=yes
14064 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14066 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14067 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14068 # If the export-symbols file already is a .def file (1st line
14069 # is EXPORTS), use it as is; otherwise, prepend...
14070 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14071 cp $export_symbols $output_objdir/$soname.def;
14073 echo EXPORTS > $output_objdir/$soname.def;
14074 cat $export_symbols >> $output_objdir/$soname.def;
14076 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14083 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14084 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14087 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14088 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14093 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14097 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14098 *** create shared libraries on Solaris systems. Therefore, libtool
14099 *** is disabling shared libraries support. We urge you to upgrade GNU
14100 *** binutils to release 2.9.1 or newer. Another option is to modify
14101 *** your PATH or compiler configuration so that the native linker is
14102 *** used, and then restart.
14105 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14106 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14107 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14114 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14116 hardcode_direct_F77
=yes
14117 hardcode_shlibpath_var_F77
=no
14121 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14123 case $CC,$host_cpu in
14124 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
14125 tmp_addflag
=' -fpic' ;;
14126 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14127 tmp_addflag
=' -i_dynamic' ;;
14128 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14129 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14130 ifc
* | ifort
*) # Intel Fortran compiler
14131 tmp_addflag
=' -nofor_main' ;;
14133 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14134 supports_anon_versioning
=no
14135 case `$LD -v 2>/dev/null` in
14136 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14137 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14138 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14139 *\
2.11.
*) ;; # other 2.11 versions
14140 *) supports_anon_versioning
=yes ;;
14142 if test $supports_anon_versioning = yes; then
14143 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14144 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14145 $echo "local: *; };" >> $output_objdir/$libname.ver~
14146 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14148 archive_expsym_cmds_F77
=$archive_cmds_F77
14156 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14157 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14158 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14165 if test "$ld_shlibs_F77" = yes; then
14166 runpath_var
=LD_RUN_PATH
14167 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14168 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14169 # ancient GNU ld didn't support --whole-archive et. al.
14170 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14171 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14173 whole_archive_flag_spec_F77
=
14177 # PORTME fill in a description of your system's linker (not GNU ld)
14180 allow_undefined_flag_F77
=unsupported
14181 always_export_symbols_F77
=yes
14182 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14183 # Note: this linker hardcodes the directories in LIBPATH if there
14184 # are no directories specified by -L.
14185 hardcode_minus_L_F77
=yes
14186 if test "$GCC" = yes && test -z "$link_static_flag"; then
14187 # Neither direct hardcoding nor static linking is supported with a
14189 hardcode_direct_F77
=unsupported
14194 if test "$host_cpu" = ia64
; then
14195 # On IA64, the linker does run time linking by default, so we don't
14196 # have to do anything special.
14197 aix_use_runtimelinking
=no
14198 exp_sym_flag
='-Bexport'
14201 # If we're using GNU nm, then we don't want the "-C" option.
14202 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14203 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14204 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14206 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14208 aix_use_runtimelinking
=no
14210 # Test if we are trying to use run time linking or normal
14211 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14212 # need to do runtime linking.
14213 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14214 for ld_flag
in $LDFLAGS; do
14215 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14216 aix_use_runtimelinking
=yes
14222 exp_sym_flag
='-bexport'
14223 no_entry_flag
='-bnoentry'
14226 # When large executables or shared objects are built, AIX ld can
14227 # have problems creating the table of contents. If linking a library
14228 # or program results in "error TOC overflow" add -mminimal-toc to
14229 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14230 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14232 archive_cmds_F77
=''
14233 hardcode_direct_F77
=yes
14234 hardcode_libdir_separator_F77
=':'
14235 link_all_deplibs_F77
=yes
14237 if test "$GCC" = yes; then
14238 case $host_os in aix4.
[012]|aix4.
[012].
*)
14239 # We only want to do this on AIX 4.2 and lower, the check
14240 # below for broken collect2 doesn't work under 4.3+
14241 collect2name
=`${CC} -print-prog-name=collect2`
14242 if test -f "$collect2name" && \
14243 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14245 # We have reworked collect2
14246 hardcode_direct_F77
=yes
14248 # We have old collect2
14249 hardcode_direct_F77
=unsupported
14250 # It fails to find uninstalled libraries when the uninstalled
14251 # path is not listed in the libpath. Setting hardcode_minus_L
14252 # to unsupported forces relinking
14253 hardcode_minus_L_F77
=yes
14254 hardcode_libdir_flag_spec_F77
='-L$libdir'
14255 hardcode_libdir_separator_F77
=
14258 shared_flag
='-shared'
14259 if test "$aix_use_runtimelinking" = yes; then
14260 shared_flag
="$shared_flag "'${wl}-G'
14264 if test "$host_cpu" = ia64
; then
14265 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14266 # chokes on -Wl,-G. The following line is correct:
14269 if test "$aix_use_runtimelinking" = yes; then
14270 shared_flag
='${wl}-G'
14272 shared_flag
='${wl}-bM:SRE'
14277 # It seems that -bexpall does not export symbols beginning with
14278 # underscore (_), so it is better to generate a list of symbols to export.
14279 always_export_symbols_F77
=yes
14280 if test "$aix_use_runtimelinking" = yes; then
14281 # Warning - without using the other runtime loading flags (-brtl),
14282 # -berok will link without error, but may produce a broken library.
14283 allow_undefined_flag_F77
='-berok'
14284 # Determine the default libpath from the value encoded in an empty executable.
14285 cat >conftest.
$ac_ext <<_ACEOF
14290 rm -f conftest.
$ac_objext conftest
$ac_exeext
14291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14292 (eval $ac_link) 2>conftest.er1
14294 grep -v '^ *+' conftest.er1
>conftest.err
14296 cat conftest.err
>&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); } &&
14299 { ac_try
='test -z "$ac_f77_werror_flag"
14300 || test ! -s conftest.err'
14301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 (eval $ac_try) 2>&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }; } &&
14306 { ac_try
='test -s conftest$ac_exeext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14313 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14315 # Check for a 64-bit object if we didn't find anything.
14316 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.
$ac_ext >&5
14323 rm -f conftest.err conftest.
$ac_objext \
14324 conftest
$ac_exeext conftest.
$ac_ext
14325 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14327 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14328 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14330 if test "$host_cpu" = ia64; then
14331 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
14332 allow_undefined_flag_F77="-z nodefs"
14333 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
14335 # Determine the default libpath from the value encoded in an empty executable.
14336 cat >conftest.$ac_ext <<_ACEOF
14341 rm -f conftest.$ac_objext conftest$ac_exeext
14342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14343 (eval $ac_link) 2>conftest.er1
14345 grep -v '^ *+' conftest.er1 >conftest.err
14347 cat conftest.err >&5
14348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14349 (exit $ac_status); } &&
14350 { ac_try='test -z "$ac_f77_werror_flag"
14351 || test ! -s conftest.err'
14352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14353 (eval $ac_try) 2>&5
14355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14356 (exit $ac_status); }; } &&
14357 { ac_try='test -s conftest$ac_exeext'
14358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359 (eval $ac_try) 2>&5
14361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14362 (exit $ac_status); }; }; then
14364 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14366 # Check for a 64-bit object if we didn't find anything.
14367 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14370 echo "$as_me: failed program was
:" >&5
14371 sed 's/^/| /' conftest.$ac_ext >&5
14374 rm -f conftest.err conftest.$ac_objext \
14375 conftest$ac_exeext conftest.$ac_ext
14376 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
14378 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14379 # Warning - without using the other run time loading flags,
14380 # -berok will link without error, but may produce a broken library.
14381 no_undefined_flag_F77=' ${wl}-bernotok'
14382 allow_undefined_flag_F77=' ${wl}-berok'
14383 # -bexpall does not export symbols beginning with underscore (_)
14384 always_export_symbols_F77=yes
14385 # Exported symbols can be pulled into shared objects from archives
14386 whole_archive_flag_spec_F77=' '
14387 archive_cmds_need_lc_F77=yes
14388 # This is similar to how AIX traditionally builds it's shared libraries.
14389 archive_expsym_cmds_F77="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14395 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14396 hardcode_libdir_flag_spec_F77
='-L$libdir'
14397 hardcode_minus_L_F77
=yes
14398 # see comment about different semantics on the GNU ld section
14403 export_dynamic_flag_spec_F77
=-rdynamic
14406 cygwin
* | mingw
* | pw32
*)
14407 # When not using gcc, we currently assume that we are using
14408 # Microsoft Visual C++.
14409 # hardcode_libdir_flag_spec is actually meaningless, as there is
14410 # no search path for DLLs.
14411 hardcode_libdir_flag_spec_F77
=' '
14412 allow_undefined_flag_F77
=unsupported
14413 # Tell ltmain to make .lib files, not .a files.
14415 # Tell ltmain to make .dll files, not .so files.
14417 # FIXME: Setting linknames here is a bad hack.
14418 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14419 # The linker will automatically build a .lib file if we build a DLL.
14420 old_archive_From_new_cmds_F77
='true'
14421 # FIXME: Should let the user specify the lib program.
14422 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14423 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14424 enable_shared_with_static_runtimes_F77
=yes
14427 darwin
* | rhapsody
*)
14429 rhapsody
* | darwin1.
[012])
14430 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14433 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14434 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14436 case ${MACOSX_DEPLOYMENT_TARGET} in
14438 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14441 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14447 archive_cmds_need_lc_F77
=no
14448 hardcode_direct_F77
=no
14449 hardcode_automatic_F77
=yes
14450 hardcode_shlibpath_var_F77
=unsupported
14451 whole_archive_flag_spec_F77
=''
14452 link_all_deplibs_F77
=yes
14453 if test "$GCC" = yes ; then
14454 output_verbose_link_cmd
='echo'
14455 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14456 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14457 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14458 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14459 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14461 case "$cc_basename" in
14463 output_verbose_link_cmd
='echo'
14464 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14465 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14466 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14467 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14468 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14478 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14479 hardcode_libdir_flag_spec_F77
='-L$libdir'
14480 hardcode_shlibpath_var_F77
=no
14487 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14488 # support. Future versions do this automatically, but an explicit c++rt0.o
14489 # does not break anything, and helps significantly (at the cost of a little
14492 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14493 hardcode_libdir_flag_spec_F77
='-R$libdir'
14494 hardcode_direct_F77
=yes
14495 hardcode_shlibpath_var_F77
=no
14498 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14500 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14501 hardcode_direct_F77
=yes
14502 hardcode_minus_L_F77
=yes
14503 hardcode_shlibpath_var_F77
=no
14506 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14507 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14508 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14509 hardcode_libdir_flag_spec_F77
='-R$libdir'
14510 hardcode_direct_F77
=yes
14511 hardcode_shlibpath_var_F77
=no
14515 if test "$GCC" = yes; then
14516 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14518 archive_cmds_F77
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14520 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14521 hardcode_libdir_separator_F77
=:
14522 hardcode_direct_F77
=yes
14524 # hardcode_minus_L: Not really in the search PATH,
14525 # but as the default location of the library.
14526 hardcode_minus_L_F77
=yes
14527 export_dynamic_flag_spec_F77
='${wl}-E'
14531 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14532 case "$host_cpu" in
14534 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14537 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14541 case "$host_cpu" in
14543 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14546 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14550 if test "$with_gnu_ld" = no
; then
14551 case "$host_cpu" in
14553 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14554 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14555 hardcode_libdir_separator_F77
=:
14556 hardcode_direct_F77
=no
14557 hardcode_shlibpath_var_F77
=no
14560 hardcode_libdir_flag_spec_F77
='-L$libdir'
14561 hardcode_direct_F77
=no
14562 hardcode_shlibpath_var_F77
=no
14564 # hardcode_minus_L: Not really in the search PATH,
14565 # but as the default location of the library.
14566 hardcode_minus_L_F77
=yes
14569 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14570 hardcode_libdir_separator_F77
=:
14571 hardcode_direct_F77
=yes
14572 export_dynamic_flag_spec_F77
='${wl}-E'
14574 # hardcode_minus_L: Not really in the search PATH,
14575 # but as the default location of the library.
14576 hardcode_minus_L_F77
=yes
14582 irix5
* | irix6
* | nonstopux
*)
14583 if test "$GCC" = yes; then
14584 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14586 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14587 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14589 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14590 hardcode_libdir_separator_F77
=:
14591 link_all_deplibs_F77
=yes
14595 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14596 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14598 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14600 hardcode_libdir_flag_spec_F77
='-R$libdir'
14601 hardcode_direct_F77
=yes
14602 hardcode_shlibpath_var_F77
=no
14606 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14607 hardcode_direct_F77
=yes
14608 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14609 hardcode_libdir_separator_F77
=:
14610 hardcode_shlibpath_var_F77
=no
14614 hardcode_direct_F77
=yes
14615 hardcode_shlibpath_var_F77
=no
14616 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14617 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14618 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14619 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14620 export_dynamic_flag_spec_F77
='${wl}-E'
14623 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14624 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14625 hardcode_libdir_flag_spec_F77
='-R$libdir'
14628 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14629 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14636 hardcode_libdir_flag_spec_F77
='-L$libdir'
14637 hardcode_minus_L_F77
=yes
14638 allow_undefined_flag_F77
=unsupported
14639 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
14640 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14644 if test "$GCC" = yes; then
14645 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14646 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14648 allow_undefined_flag_F77
=' -expect_unresolved \*'
14649 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14651 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14652 hardcode_libdir_separator_F77
=:
14655 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14656 if test "$GCC" = yes; then
14657 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14658 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14659 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14661 allow_undefined_flag_F77
=' -expect_unresolved \*'
14662 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14663 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14664 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
14666 # Both c and cxx compiler support -rpath directly
14667 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14669 hardcode_libdir_separator_F77
=:
14673 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14674 hardcode_shlibpath_var_F77
=no
14675 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14676 runpath_var
=LD_RUN_PATH
14677 hardcode_runpath_var
=yes
14681 no_undefined_flag_F77
=' -z text'
14682 if test "$GCC" = yes; then
14683 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14684 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14685 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14687 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14688 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14689 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14691 hardcode_libdir_flag_spec_F77
='-R$libdir'
14692 hardcode_shlibpath_var_F77
=no
14694 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14695 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14696 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
14698 link_all_deplibs_F77
=yes
14702 if test "x$host_vendor" = xsequent
; then
14703 # Use $CC to link under sequent, because it throws in some extra .o
14704 # files that make .init and .fini sections work.
14705 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14707 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14709 hardcode_libdir_flag_spec_F77
='-L$libdir'
14710 hardcode_direct_F77
=yes
14711 hardcode_minus_L_F77
=yes
14712 hardcode_shlibpath_var_F77
=no
14716 case $host_vendor in
14718 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14719 hardcode_direct_F77
=yes # is this really true???
14722 ## LD is ld it makes a PLAMLIB
14723 ## CC just makes a GrossModule.
14724 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14725 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14726 hardcode_direct_F77
=no
14729 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14730 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14733 runpath_var
='LD_RUN_PATH'
14734 hardcode_shlibpath_var_F77
=no
14738 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14739 hardcode_shlibpath_var_F77
=no
14740 export_dynamic_flag_spec_F77
='-Bexport'
14744 if test -d /usr
/nec
; then
14745 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14746 hardcode_shlibpath_var_F77
=no
14747 runpath_var
=LD_RUN_PATH
14748 hardcode_runpath_var
=yes
14754 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14755 hardcode_direct_F77
=yes
14756 hardcode_minus_L_F77
=no
14757 hardcode_shlibpath_var_F77
=no
14758 hardcode_runpath_var
=yes
14759 runpath_var
=LD_RUN_PATH
14762 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14763 no_undefined_flag_F77
='${wl}-z ${wl}text'
14764 if test "$GCC" = yes; then
14765 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14767 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14769 runpath_var
='LD_RUN_PATH'
14770 hardcode_shlibpath_var_F77
=no
14774 no_undefined_flag_F77
=' -z text'
14775 # $CC -shared without GNU ld will not create a library from C++
14776 # object files and a static libstdc++, better avoid it by now
14777 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14778 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14779 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14780 hardcode_libdir_flag_spec_F77
=
14781 hardcode_shlibpath_var_F77
=no
14782 runpath_var
='LD_RUN_PATH'
14786 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14787 hardcode_libdir_flag_spec_F77
='-L$libdir'
14788 hardcode_shlibpath_var_F77
=no
14797 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14798 echo "${ECHO_T}$ld_shlibs_F77" >&6
14799 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14801 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14802 if test "$GCC" = yes; then
14803 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14807 # Do we need to explicitly link libc?
14809 case "x$archive_cmds_need_lc_F77" in
14811 # Assume -lc should be added
14812 archive_cmds_need_lc_F77
=yes
14814 if test "$enable_shared" = yes && test "$GCC" = yes; then
14815 case $archive_cmds_F77 in
14817 # FIXME: we may have to deal with multi-command sequences.
14820 # Test whether the compiler implicitly links with -lc since on some
14821 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14822 # to ld, don't add -lc before -lgcc.
14823 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14824 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14826 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14829 (eval $ac_compile) 2>&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); } 2>conftest.err
; then
14835 libobjs
=conftest.
$ac_objext
14837 wl
=$lt_prog_compiler_wl_F77
14843 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14844 allow_undefined_flag_F77
=
14845 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14846 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); }
14851 archive_cmds_need_lc_F77
=no
14853 archive_cmds_need_lc_F77
=yes
14855 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14857 cat conftest.err
1>&5
14860 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14861 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14868 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14869 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14870 library_names_spec
=
14871 libname_spec
='lib$name'
14875 postuninstall_cmds
=
14879 shlibpath_overrides_runpath
=unknown
14881 dynamic_linker
="$host_os ld.so"
14882 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14883 if test "$GCC" = yes; then
14884 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14885 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14886 # if the path contains ";" then we assume it to be the separator
14887 # otherwise default to the standard path separator (i.e. ":") - it is
14888 # assumed that no part of a normal pathname contains ";" but that should
14889 # okay in the real world where ";" in dirpaths is itself problematic.
14890 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14892 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14895 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14897 need_lib_prefix
=unknown
14898 hardcode_into_libs
=no
14900 # when you set need_version to no, make sure it does not cause -set_version
14901 # flags to be left without arguments
14902 need_version
=unknown
14907 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14908 shlibpath_var
=LIBPATH
14910 # AIX 3 has no versioning support, so we append a major version to the name.
14911 soname_spec
='${libname}${release}${shared_ext}$major'
14918 hardcode_into_libs
=yes
14919 if test "$host_cpu" = ia64
; then
14920 # AIX 5 supports IA64
14921 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14922 shlibpath_var
=LD_LIBRARY_PATH
14924 # With GCC up to 2.95.x, collect2 would create an import file
14925 # for dependence libraries. The import file would start with
14926 # the line `#! .'. This would cause the generated library to
14927 # depend on `.', always an invalid library. This was fixed in
14928 # development snapshots of GCC prior to 3.0.
14930 aix4 | aix4.
[01] | aix4.
[01].
*)
14931 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14933 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14936 can_build_shared
=no
14940 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14941 # soname into executable. Probably we can add versioning support to
14942 # collect2, so additional links can be useful in future.
14943 if test "$aix_use_runtimelinking" = yes; then
14944 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14945 # instead of lib<name>.a to let people know that these are not
14946 # typical AIX shared libraries.
14947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14949 # We preserve .a as extension for shared libraries through AIX4.2
14950 # and later when we are not doing run time linking.
14951 library_names_spec
='${libname}${release}.a $libname.a'
14952 soname_spec
='${libname}${release}${shared_ext}$major'
14954 shlibpath_var
=LIBPATH
14959 library_names_spec
='$libname.ixlibrary $libname.a'
14960 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14961 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14965 library_names_spec
='${libname}${shared_ext}'
14966 dynamic_linker
="$host_os ld.so"
14967 shlibpath_var
=LIBRARY_PATH
14973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14974 soname_spec
='${libname}${release}${shared_ext}$major'
14975 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14976 shlibpath_var
=LD_LIBRARY_PATH
14977 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14978 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14979 # the default ld.so.conf also contains /usr/contrib/lib and
14980 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14981 # libtool to hard-code these into programs
14984 cygwin
* | mingw
* | pw32
*)
14985 version_type
=windows
14990 case $GCC,$host_os in
14991 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14992 library_names_spec
='$libname.dll.a'
14993 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14994 postinstall_cmds
='base_file=`basename \${file}`~
14995 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14996 dldir=$destdir/`dirname \$dlpath`~
14997 test -d \$dldir || mkdir -p \$dldir~
14998 $install_prog $dir/$dlname \$dldir/$dlname'
14999 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15000 dlpath=$dir/\$dldll~
15002 shlibpath_overrides_runpath
=yes
15006 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15007 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15008 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15011 # MinGW DLLs use traditional 'lib' prefix
15012 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15013 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15014 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15015 # It is most probably a Windows format PATH printed by
15016 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15017 # path with ; separators, and with drive letters. We can handle the
15018 # drive letters (cygwin fileutils understands them), so leave them,
15019 # especially as we might pass files found there to a mingw objdump,
15020 # which wouldn't understand a cygwinified path. Ahh.
15021 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15023 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15027 # pw32 DLLs use 'pw' prefix rather than 'lib'
15028 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15034 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15037 dynamic_linker
='Win32 ld.exe'
15038 # FIXME: first we should search . and the directory the executable is in
15042 darwin
* | rhapsody
*)
15043 dynamic_linker
="$host_os dyld"
15044 version_type
=darwin
15047 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15048 soname_spec
='${libname}${release}${major}$shared_ext'
15049 shlibpath_overrides_runpath
=yes
15050 shlibpath_var
=DYLD_LIBRARY_PATH
15051 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
15052 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15053 if test "$GCC" = yes; then
15054 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15056 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15058 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15066 soname_spec
='${libname}${release}${shared_ext}$major'
15067 shlibpath_var
=LD_LIBRARY_PATH
15078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15079 soname_spec
='${libname}${release}${shared_ext}$major'
15080 shlibpath_var
=LD_LIBRARY_PATH
15081 shlibpath_overrides_runpath
=no
15082 hardcode_into_libs
=yes
15083 dynamic_linker
='GNU ld.so'
15086 freebsd
* | dragonfly
*)
15087 # DragonFly does not have aout. When/if they implement a new
15088 # versioning mechanism, adjust this.
15089 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15090 version_type
=freebsd-
$objformat
15091 case $version_type in
15093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15098 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15102 shlibpath_var
=LD_LIBRARY_PATH
15105 shlibpath_overrides_runpath
=yes
15107 freebsd3.
[01]* | freebsdelf3.
[01]*)
15108 shlibpath_overrides_runpath
=yes
15109 hardcode_into_libs
=yes
15112 shlibpath_overrides_runpath
=no
15113 hardcode_into_libs
=yes
15122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15123 soname_spec
='${libname}${release}${shared_ext}$major'
15124 shlibpath_var
=LD_LIBRARY_PATH
15125 hardcode_into_libs
=yes
15128 hpux9
* | hpux10
* | hpux11
*)
15129 # Give a soname corresponding to the major version so that dld.sl refuses to
15130 # link against other versions.
15134 case "$host_cpu" in
15137 hardcode_into_libs
=yes
15138 dynamic_linker
="$host_os dld.so"
15139 shlibpath_var
=LD_LIBRARY_PATH
15140 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15142 soname_spec
='${libname}${release}${shared_ext}$major'
15143 if test "X$HPUX_IA64_MODE" = X32
; then
15144 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15146 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15148 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15152 hardcode_into_libs
=yes
15153 dynamic_linker
="$host_os dld.sl"
15154 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15155 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15157 soname_spec
='${libname}${release}${shared_ext}$major'
15158 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15159 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15163 dynamic_linker
="$host_os dld.sl"
15164 shlibpath_var
=SHLIB_PATH
15165 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15167 soname_spec
='${libname}${release}${shared_ext}$major'
15170 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15171 postinstall_cmds
='chmod 555 $lib'
15174 irix5
* | irix6
* | nonstopux
*)
15176 nonstopux
*) version_type
=nonstopux
;;
15178 if test "$lt_cv_prog_gnu_ld" = yes; then
15186 soname_spec
='${libname}${release}${shared_ext}$major'
15187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15189 irix5
* | nonstopux
*)
15190 libsuff
= shlibsuff
=
15193 case $LD in # libtool.m4 will add one of these switches to LD
15194 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15195 libsuff
= shlibsuff
= libmagic
=32-bit;;
15196 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15197 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15198 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15199 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15200 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15204 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15205 shlibpath_overrides_runpath
=no
15206 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15207 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15208 hardcode_into_libs
=yes
15211 # No shared lib support for Linux oldld, aout, or coff.
15212 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15216 # This must be Linux ELF.
15221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15222 soname_spec
='${libname}${release}${shared_ext}$major'
15223 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15224 shlibpath_var
=LD_LIBRARY_PATH
15225 shlibpath_overrides_runpath
=no
15226 # This implies no fast_install, which is unacceptable.
15227 # Some rework will be needed to allow for fast_install
15228 # before this can be enabled.
15229 hardcode_into_libs
=yes
15231 # Append ld.so.conf contents to the search path
15232 if test -f /etc
/ld.so.conf
; then
15233 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15234 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15237 # We used to test for /lib/ld.so.1 and disable shared libraries on
15238 # powerpc, because MkLinux only supported shared libraries with the
15239 # GNU dynamic linker. Since this was broken with cross compilers,
15240 # most powerpc-linux boxes support dynamic linking these days and
15241 # people can always --disable-shared, the test was removed, and we
15242 # assume the GNU/Linux dynamic linker is in use.
15243 dynamic_linker
='GNU/Linux ld.so'
15250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15251 soname_spec
='${libname}${release}${shared_ext}$major'
15252 shlibpath_var
=LD_LIBRARY_PATH
15253 shlibpath_overrides_runpath
=no
15254 hardcode_into_libs
=yes
15255 dynamic_linker
='GNU ld.so'
15262 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15264 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15265 dynamic_linker
='NetBSD (a.out) ld.so'
15267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15268 soname_spec
='${libname}${release}${shared_ext}$major'
15269 dynamic_linker
='NetBSD ld.elf_so'
15271 shlibpath_var
=LD_LIBRARY_PATH
15272 shlibpath_overrides_runpath
=yes
15273 hardcode_into_libs
=yes
15278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15279 shlibpath_var
=LD_LIBRARY_PATH
15280 shlibpath_overrides_runpath
=yes
15287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15288 soname_spec
='${libname}${release}${shared_ext}$major'
15289 shlibpath_var
=LD_LIBRARY_PATH
15290 shlibpath_overrides_runpath
=yes
15297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15298 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15299 shlibpath_var
=LD_LIBRARY_PATH
15300 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15302 openbsd2.
[89] | openbsd2.
[89].
*)
15303 shlibpath_overrides_runpath
=no
15306 shlibpath_overrides_runpath
=yes
15310 shlibpath_overrides_runpath
=yes
15315 libname_spec
='$name'
15318 library_names_spec
='$libname${shared_ext} $libname.a'
15319 dynamic_linker
='OS/2 ld.exe'
15320 shlibpath_var
=LIBPATH
15323 osf3
* | osf4
* | osf5
*)
15327 soname_spec
='${libname}${release}${shared_ext}$major'
15328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15329 shlibpath_var
=LD_LIBRARY_PATH
15330 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15331 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15336 soname_spec
='${libname}${release}${shared_ext}$major'
15337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15338 shlibpath_var
=LD_LIBRARY_PATH
15345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15346 soname_spec
='${libname}${release}${shared_ext}$major'
15347 shlibpath_var
=LD_LIBRARY_PATH
15348 shlibpath_overrides_runpath
=yes
15349 hardcode_into_libs
=yes
15350 # ldd complains unless libraries are executable
15351 postinstall_cmds
='chmod +x $lib'
15356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15357 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15358 shlibpath_var
=LD_LIBRARY_PATH
15359 shlibpath_overrides_runpath
=yes
15360 if test "$with_gnu_ld" = yes; then
15366 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15369 soname_spec
='${libname}${release}${shared_ext}$major'
15370 shlibpath_var
=LD_LIBRARY_PATH
15371 case $host_vendor in
15373 shlibpath_overrides_runpath
=no
15375 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15376 runpath_var
=LD_RUN_PATH
15384 shlibpath_overrides_runpath
=no
15385 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15391 if test -d /usr
/nec
;then
15393 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15394 soname_spec
='$libname${shared_ext}.$major'
15395 shlibpath_var
=LD_LIBRARY_PATH
15401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15402 soname_spec
='${libname}${release}${shared_ext}$major'
15403 shlibpath_var
=LD_LIBRARY_PATH
15410 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15411 echo "${ECHO_T}$dynamic_linker" >&6
15412 test "$dynamic_linker" = no
&& can_build_shared
=no
15414 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15415 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15416 hardcode_action_F77
=
15417 if test -n "$hardcode_libdir_flag_spec_F77" || \
15418 test -n "$runpath_var_F77" || \
15419 test "X$hardcode_automatic_F77" = "Xyes" ; then
15421 # We can hardcode non-existant directories.
15422 if test "$hardcode_direct_F77" != no
&&
15423 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15424 # have to relink, otherwise we might link with an installed library
15425 # when we should be linking with a yet-to-be-installed one
15426 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15427 test "$hardcode_minus_L_F77" != no
; then
15428 # Linking always hardcodes the temporary library directory.
15429 hardcode_action_F77
=relink
15431 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15432 hardcode_action_F77
=immediate
15435 # We cannot hardcode anything, or else we can only hardcode existing
15437 hardcode_action_F77
=unsupported
15439 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15440 echo "${ECHO_T}$hardcode_action_F77" >&6
15442 if test "$hardcode_action_F77" = relink
; then
15443 # Fast installation is not supported
15444 enable_fast_install
=no
15445 elif test "$shlibpath_overrides_runpath" = yes ||
15446 test "$enable_shared" = no
; then
15447 # Fast installation is not necessary
15448 enable_fast_install
=needless
15453 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15454 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15455 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15456 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15457 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15458 echo "$as_me:$LINENO: result: yes" >&5
15459 echo "${ECHO_T}yes" >&6
15461 # FIXME - insert some real tests, host_os isn't really good enough
15464 if test -n "$STRIP" ; then
15465 striplib
="$STRIP -x"
15466 echo "$as_me:$LINENO: result: yes" >&5
15467 echo "${ECHO_T}yes" >&6
15469 echo "$as_me:$LINENO: result: no" >&5
15470 echo "${ECHO_T}no" >&6
15474 echo "$as_me:$LINENO: result: no" >&5
15475 echo "${ECHO_T}no" >&6
15482 # The else clause should only fire when bootstrapping the
15483 # libtool distribution, otherwise you forgot to ship ltmain.sh
15484 # with your package, and you will get complaints that there are
15485 # no rules to generate ltmain.sh.
15486 if test -f "$ltmain"; then
15487 # See if we are running on zsh, and set the options which allow our commands through
15488 # without removal of \ escapes.
15489 if test -n "${ZSH_VERSION+set}" ; then
15490 setopt NO_GLOB_SUBST
15492 # Now quote all the things that may contain metacharacters while being
15493 # careful not to overquote the AC_SUBSTed values. We take copies of the
15494 # variables and quote the copies for generation of the libtool script.
15495 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15497 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15498 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15499 deplibs_check_method reload_flag reload_cmds need_locks \
15500 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15501 lt_cv_sys_global_symbol_to_c_name_address \
15502 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15503 old_postinstall_cmds old_postuninstall_cmds \
15507 lt_prog_compiler_wl_F77 \
15508 lt_prog_compiler_pic_F77 \
15509 lt_prog_compiler_static_F77 \
15510 lt_prog_compiler_no_builtin_flag_F77 \
15511 export_dynamic_flag_spec_F77 \
15512 thread_safe_flag_spec_F77 \
15513 whole_archive_flag_spec_F77 \
15514 enable_shared_with_static_runtimes_F77 \
15515 old_archive_cmds_F77 \
15516 old_archive_from_new_cmds_F77 \
15517 predep_objects_F77 \
15518 postdep_objects_F77 \
15521 compiler_lib_search_path_F77 \
15523 archive_expsym_cmds_F77 \
15524 postinstall_cmds_F77 \
15525 postuninstall_cmds_F77 \
15526 old_archive_from_expsyms_cmds_F77 \
15527 allow_undefined_flag_F77 \
15528 no_undefined_flag_F77 \
15529 export_symbols_cmds_F77 \
15530 hardcode_libdir_flag_spec_F77 \
15531 hardcode_libdir_flag_spec_ld_F77 \
15532 hardcode_libdir_separator_F77 \
15533 hardcode_automatic_F77 \
15535 module_expsym_cmds_F77 \
15536 lt_cv_prog_compiler_c_o_F77 \
15537 exclude_expsyms_F77 \
15538 include_expsyms_F77
; do
15541 old_archive_cmds_F77 | \
15542 old_archive_from_new_cmds_F77 | \
15543 archive_cmds_F77 | \
15544 archive_expsym_cmds_F77 | \
15545 module_cmds_F77 | \
15546 module_expsym_cmds_F77 | \
15547 old_archive_from_expsyms_cmds_F77 | \
15548 export_symbols_cmds_F77 | \
15549 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15550 postinstall_cmds | postuninstall_cmds | \
15551 old_postinstall_cmds | old_postuninstall_cmds | \
15552 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15553 # Double-quote double-evaled strings.
15554 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15557 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15563 *'\$0 --fallback-echo"')
15564 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15570 cat <<__EOF__ >> "$cfgfile"
15571 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15573 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15575 # Shell to use when invoking shell scripts.
15578 # Whether or not to build shared libraries.
15579 build_libtool_libs=$enable_shared
15581 # Whether or not to build static libraries.
15582 build_old_libs=$enable_static
15584 # Whether or not to add -lc for building shared libraries.
15585 build_libtool_need_lc=$archive_cmds_need_lc_F77
15587 # Whether or not to disallow shared libs when runtime libs are static
15588 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15590 # Whether or not to optimize for fast installation.
15591 fast_install=$enable_fast_install
15594 host_alias=$host_alias
15598 # The build system.
15599 build_alias=$build_alias
15603 # An echo program that does not interpret backslashes.
15608 AR_FLAGS=$lt_AR_FLAGS
15613 # A language-specific compiler.
15614 CC=$lt_compiler_F77
15616 # Is the compiler the GNU C compiler?
15622 # The linker used to build libraries.
15625 # Whether we need hard or soft links.
15628 # A BSD-compatible nm program.
15631 # A symbol stripping program
15634 # Used to examine libraries when file_magic_cmd begins "file"
15635 MAGIC_CMD=$MAGIC_CMD
15637 # Used on cygwin: DLL creation program.
15640 # Used on cygwin: object dumper.
15643 # Used on cygwin: assembler.
15646 # The name of the directory that contains temporary libtool files.
15649 # How to create reloadable object files.
15650 reload_flag=$lt_reload_flag
15651 reload_cmds=$lt_reload_cmds
15653 # How to pass a linker flag through the compiler.
15654 wl=$lt_lt_prog_compiler_wl_F77
15656 # Object file suffix (normally "o").
15657 objext="$ac_objext"
15659 # Old archive suffix (normally "a").
15662 # Shared library suffix (normally ".so").
15663 shrext_cmds='$shrext_cmds'
15665 # Executable file suffix (normally "").
15668 # Additional compiler flags for building library objects.
15669 pic_flag=$lt_lt_prog_compiler_pic_F77
15672 # What is the maximum length of a command?
15673 max_cmd_len=$lt_cv_sys_max_cmd_len
15675 # Does compiler simultaneously support -c and -o options?
15676 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15678 # Must we lock files when doing compilation ?
15679 need_locks=$lt_need_locks
15681 # Do we need the lib prefix for modules?
15682 need_lib_prefix=$need_lib_prefix
15684 # Do we need a version for libraries?
15685 need_version=$need_version
15687 # Whether dlopen is supported.
15688 dlopen_support=$enable_dlopen
15690 # Whether dlopen of programs is supported.
15691 dlopen_self=$enable_dlopen_self
15693 # Whether dlopen of statically linked programs is supported.
15694 dlopen_self_static=$enable_dlopen_self_static
15696 # Compiler flag to prevent dynamic linking.
15697 link_static_flag=$lt_lt_prog_compiler_static_F77
15699 # Compiler flag to turn off builtin functions.
15700 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15702 # Compiler flag to allow reflexive dlopens.
15703 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15705 # Compiler flag to generate shared objects directly from archives.
15706 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15708 # Compiler flag to generate thread-safe objects.
15709 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15711 # Library versioning type.
15712 version_type=$version_type
15714 # Format of library name prefix.
15715 libname_spec=$lt_libname_spec
15717 # List of archive names. First name is the real one, the rest are links.
15718 # The last name is the one that the linker finds with -lNAME.
15719 library_names_spec=$lt_library_names_spec
15721 # The coded name of the library, if different from the real name.
15722 soname_spec=$lt_soname_spec
15724 # Commands used to build and install an old-style archive.
15726 old_archive_cmds=$lt_old_archive_cmds_F77
15727 old_postinstall_cmds=$lt_old_postinstall_cmds
15728 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15730 # Create an old-style archive from a shared archive.
15731 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15733 # Create a temporary old-style archive to link instead of a shared archive.
15734 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15736 # Commands used to build and install a shared archive.
15737 archive_cmds=$lt_archive_cmds_F77
15738 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15739 postinstall_cmds=$lt_postinstall_cmds
15740 postuninstall_cmds=$lt_postuninstall_cmds
15742 # Commands used to build a loadable module (assumed same as above if empty)
15743 module_cmds=$lt_module_cmds_F77
15744 module_expsym_cmds=$lt_module_expsym_cmds_F77
15746 # Commands to strip libraries.
15747 old_striplib=$lt_old_striplib
15748 striplib=$lt_striplib
15750 # Dependencies to place before the objects being linked to create a
15752 predep_objects=$lt_predep_objects_F77
15754 # Dependencies to place after the objects being linked to create a
15756 postdep_objects=$lt_postdep_objects_F77
15758 # Dependencies to place before the objects being linked to create a
15760 predeps=$lt_predeps_F77
15762 # Dependencies to place after the objects being linked to create a
15764 postdeps=$lt_postdeps_F77
15766 # The library search path used internally by the compiler when linking
15767 # a shared library.
15768 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15770 # Method to check whether dependent libraries are shared objects.
15771 deplibs_check_method=$lt_deplibs_check_method
15773 # Command to use when deplibs_check_method == file_magic.
15774 file_magic_cmd=$lt_file_magic_cmd
15776 # Flag that allows shared libraries with undefined symbols to be built.
15777 allow_undefined_flag=$lt_allow_undefined_flag_F77
15779 # Flag that forces no undefined symbols.
15780 no_undefined_flag=$lt_no_undefined_flag_F77
15782 # Commands used to finish a libtool library installation in a directory.
15783 finish_cmds=$lt_finish_cmds
15785 # Same as above, but a single script fragment to be evaled but not shown.
15786 finish_eval=$lt_finish_eval
15788 # Take the output of nm and produce a listing of raw symbols and C names.
15789 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15791 # Transform the output of nm in a proper C declaration
15792 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15794 # Transform the output of nm in a C name address pair
15795 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15797 # This is the shared library runtime path variable.
15798 runpath_var=$runpath_var
15800 # This is the shared library path variable.
15801 shlibpath_var=$shlibpath_var
15803 # Is shlibpath searched before the hard-coded library search path?
15804 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15806 # How to hardcode a shared library path into an executable.
15807 hardcode_action=$hardcode_action_F77
15809 # Whether we should hardcode library paths into libraries.
15810 hardcode_into_libs=$hardcode_into_libs
15812 # Flag to hardcode \$libdir into a binary during linking.
15813 # This must work even if \$libdir does not exist.
15814 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15816 # If ld is used when linking, flag to hardcode \$libdir into
15817 # a binary during linking. This must work even if \$libdir does
15819 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15821 # Whether we need a single -rpath flag with a separated argument.
15822 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15824 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15825 # resulting binary.
15826 hardcode_direct=$hardcode_direct_F77
15828 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15829 # resulting binary.
15830 hardcode_minus_L=$hardcode_minus_L_F77
15832 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15833 # the resulting binary.
15834 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15836 # Set to yes if building a shared library automatically hardcodes DIR into the library
15837 # and all subsequent libraries and executables linked against it.
15838 hardcode_automatic=$hardcode_automatic_F77
15840 # Variables whose values should be saved in libtool wrapper scripts and
15841 # restored at relink time.
15842 variables_saved_for_relink="$variables_saved_for_relink"
15844 # Whether libtool must link a program against all its dependency libraries.
15845 link_all_deplibs=$link_all_deplibs_F77
15847 # Compile-time system search path for libraries
15848 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15850 # Run-time system search path for libraries
15851 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15853 # Fix the shell variable \$srcfile for the compiler.
15854 fix_srcfile_path="$fix_srcfile_path_F77"
15856 # Set to yes if exported symbols are required.
15857 always_export_symbols=$always_export_symbols_F77
15859 # The commands to list exported symbols.
15860 export_symbols_cmds=$lt_export_symbols_cmds_F77
15862 # The commands to extract the exported symbol list from a shared archive.
15863 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15865 # Symbols that should not be listed in the preloaded symbols.
15866 exclude_expsyms=$lt_exclude_expsyms_F77
15868 # Symbols that must always be exported.
15869 include_expsyms=$lt_include_expsyms_F77
15871 # ### END LIBTOOL TAG CONFIG: $tagname
15877 # If there is no Makefile yet, we rely on a make rule to execute
15878 # `config.status --recheck' to rerun these tests and create the
15879 # libtool script then.
15880 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15881 if test -f "$ltmain_in"; then
15882 test -f Makefile
&& make "$ltmain"
15888 ac_cpp
='$CPP $CPPFLAGS'
15889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15901 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15905 # Source file extension for Java test sources.
15908 # Object file extension for compiled Java test sources.
15912 # Code to be used in simple compile tests
15913 lt_simple_compile_test_code
="class foo {}\n"
15915 # Code to be used in simple link tests
15916 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15918 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15920 # If no C compiler was specified, use CC.
15923 # Allow CC to be a program name with arguments.
15927 # Allow CC to be a program name with arguments.
15933 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15934 archive_cmds_need_lc_GCJ
=no
15937 ## There is no encapsulation within the following macros, do not change
15938 ## the running order or otherwise move them around unless you know exactly
15939 ## what you are doing...
15941 lt_prog_compiler_no_builtin_flag_GCJ
=
15943 if test "$GCC" = yes; then
15944 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15947 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15948 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15949 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 lt_cv_prog_compiler_rtti_exceptions
=no
15953 ac_outfile
=conftest.
$ac_objext
15954 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15955 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15956 # Insert the option either (1) after the last *FLAGS variable, or
15957 # (2) before a word containing "conftest.", or (3) at the end.
15958 # Note that $ac_compile itself does not contain backslashes and begins
15959 # with a dollar sign (not a hyphen), so the echo should work correctly.
15960 # The option is referenced via a variable to avoid confusing sed.
15961 lt_compile
=`echo "$ac_compile" | $SED \
15962 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15964 -e 's:$: $lt_compiler_flag:'`
15965 (eval echo "\"\$as_me:15965: $lt_compile\"" >&5)
15966 (eval "$lt_compile" 2>conftest.err
)
15968 cat conftest.err
>&5
15969 echo "$as_me:15969: \$? = $ac_status" >&5
15970 if (exit $ac_status) && test -s "$ac_outfile"; then
15971 # The compiler can only warn and ignore the option if not recognized
15972 # So say no if there are warnings
15973 if test ! -s conftest.err
; then
15974 lt_cv_prog_compiler_rtti_exceptions
=yes
15980 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15981 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15983 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15984 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15991 lt_prog_compiler_wl_GCJ
=
15992 lt_prog_compiler_pic_GCJ
=
15993 lt_prog_compiler_static_GCJ
=
15995 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15996 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15998 if test "$GCC" = yes; then
15999 lt_prog_compiler_wl_GCJ
='-Wl,'
16000 lt_prog_compiler_static_GCJ
='-static'
16004 # All AIX code is PIC.
16005 if test "$host_cpu" = ia64
; then
16006 # AIX 5 now supports IA64 processor
16007 lt_prog_compiler_static_GCJ
='-Bstatic'
16012 # FIXME: we need at least 68020 code to build shared libraries, but
16013 # adding the `-m68020' flag to GCC prevents building anything better,
16015 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16018 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16019 # PIC is the default for these OSes.
16022 mingw
* | pw32
* | os2
*)
16023 # This hack is so that the source file can tell whether it is being
16024 # built for inclusion in a dll (and should export symbols for example).
16025 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16028 darwin
* | rhapsody
*)
16029 # PIC is the default on this platform
16030 # Common symbols not allowed in MH_DYLIB files
16031 lt_prog_compiler_pic_GCJ
='-fno-common'
16035 # Just because we use GCC doesn't mean we suddenly get shared libraries
16036 # on systems that don't support them.
16037 lt_prog_compiler_can_build_shared_GCJ
=no
16042 if test -d /usr
/nec
; then
16043 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16048 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16049 # not for PA HP-UX.
16050 case "$host_cpu" in
16055 lt_prog_compiler_pic_GCJ
='-fPIC'
16061 lt_prog_compiler_pic_GCJ
='-fPIC'
16065 # PORTME Check for flag to pass linker flags through the system compiler.
16068 lt_prog_compiler_wl_GCJ
='-Wl,'
16069 if test "$host_cpu" = ia64
; then
16070 # AIX 5 now supports IA64 processor
16071 lt_prog_compiler_static_GCJ
='-Bstatic'
16073 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16077 # PIC is the default on this platform
16078 # Common symbols not allowed in MH_DYLIB files
16079 case "$cc_basename" in
16081 lt_prog_compiler_pic_GCJ
='-qnocommon'
16082 lt_prog_compiler_wl_GCJ
='-Wl,'
16087 mingw
* | pw32
* | os2
*)
16088 # This hack is so that the source file can tell whether it is being
16089 # built for inclusion in a dll (and should export symbols for example).
16090 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16093 hpux9
* | hpux10
* | hpux11
*)
16094 lt_prog_compiler_wl_GCJ
='-Wl,'
16095 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16096 # not for PA HP-UX.
16097 case "$host_cpu" in
16102 lt_prog_compiler_pic_GCJ
='+Z'
16105 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16106 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16109 irix5
* | irix6
* | nonstopux
*)
16110 lt_prog_compiler_wl_GCJ
='-Wl,'
16111 # PIC (with -KPIC) is the default.
16112 lt_prog_compiler_static_GCJ
='-non_shared'
16116 lt_prog_compiler_pic_GCJ
='-KPIC'
16117 lt_prog_compiler_static_GCJ
='-Bstatic'
16121 case $cc_basename in
16123 lt_prog_compiler_wl_GCJ
='-Wl,'
16124 lt_prog_compiler_pic_GCJ
='-KPIC'
16125 lt_prog_compiler_static_GCJ
='-static'
16127 pgcc | pgf77 | pgf90
)
16128 # Portland Group compilers (*not* the Pentium gcc compiler,
16129 # which looks to be a dead project)
16130 lt_prog_compiler_wl_GCJ
='-Wl,'
16131 lt_prog_compiler_pic_GCJ
='-fpic'
16132 lt_prog_compiler_static_GCJ
='-static'
16135 lt_prog_compiler_wl_GCJ
='-Wl,'
16136 # All Alpha code is PIC.
16137 lt_prog_compiler_static_GCJ
='-non_shared'
16140 lt_prog_compiler_wl_GCJ
='-lopt='
16145 osf3
* | osf4
* | osf5
*)
16146 lt_prog_compiler_wl_GCJ
='-Wl,'
16147 # All OSF/1 code is PIC.
16148 lt_prog_compiler_static_GCJ
='-non_shared'
16152 lt_prog_compiler_pic_GCJ
='-Kpic'
16153 lt_prog_compiler_static_GCJ
='-dn'
16157 lt_prog_compiler_wl_GCJ
='-Wl,'
16158 lt_prog_compiler_pic_GCJ
='-KPIC'
16159 lt_prog_compiler_static_GCJ
='-Bstatic'
16163 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16164 lt_prog_compiler_pic_GCJ
='-PIC'
16165 lt_prog_compiler_static_GCJ
='-Bstatic'
16168 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16169 lt_prog_compiler_wl_GCJ
='-Wl,'
16170 lt_prog_compiler_pic_GCJ
='-KPIC'
16171 lt_prog_compiler_static_GCJ
='-Bstatic'
16175 if test -d /usr
/nec
;then
16176 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16177 lt_prog_compiler_static_GCJ
='-Bstatic'
16182 lt_prog_compiler_wl_GCJ
='-Wl,'
16183 lt_prog_compiler_can_build_shared_GCJ
=no
16187 lt_prog_compiler_pic_GCJ
='-pic'
16188 lt_prog_compiler_static_GCJ
='-Bstatic'
16192 lt_prog_compiler_can_build_shared_GCJ
=no
16197 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16198 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16201 # Check to make sure the PIC flag actually works.
16203 if test -n "$lt_prog_compiler_pic_GCJ"; then
16205 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16206 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16207 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16208 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 lt_prog_compiler_pic_works_GCJ
=no
16211 ac_outfile
=conftest.
$ac_objext
16212 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16213 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16214 # Insert the option either (1) after the last *FLAGS variable, or
16215 # (2) before a word containing "conftest.", or (3) at the end.
16216 # Note that $ac_compile itself does not contain backslashes and begins
16217 # with a dollar sign (not a hyphen), so the echo should work correctly.
16218 # The option is referenced via a variable to avoid confusing sed.
16219 lt_compile
=`echo "$ac_compile" | $SED \
16220 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16221 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16222 -e 's:$: $lt_compiler_flag:'`
16223 (eval echo "\"\$as_me:16223: $lt_compile\"" >&5)
16224 (eval "$lt_compile" 2>conftest.err
)
16226 cat conftest.err
>&5
16227 echo "$as_me:16227: \$? = $ac_status" >&5
16228 if (exit $ac_status) && test -s "$ac_outfile"; then
16229 # The compiler can only warn and ignore the option if not recognized
16230 # So say no if there are warnings
16231 if test ! -s conftest.err
; then
16232 lt_prog_compiler_pic_works_GCJ
=yes
16238 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16239 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16241 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16242 case $lt_prog_compiler_pic_GCJ in
16244 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16247 lt_prog_compiler_pic_GCJ
=
16248 lt_prog_compiler_can_build_shared_GCJ
=no
16253 # For platforms which do not support PIC, -DPIC is meaningless:
16255 lt_prog_compiler_pic_GCJ
=
16258 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16262 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16263 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16264 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16265 echo $ECHO_N "(cached) $ECHO_C" >&6
16267 lt_cv_prog_compiler_c_o_GCJ
=no
16268 $rm -r conftest
2>/dev
/null
16272 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16274 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16275 # Insert the option either (1) after the last *FLAGS variable, or
16276 # (2) before a word containing "conftest.", or (3) at the end.
16277 # Note that $ac_compile itself does not contain backslashes and begins
16278 # with a dollar sign (not a hyphen), so the echo should work correctly.
16279 lt_compile
=`echo "$ac_compile" | $SED \
16280 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16281 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16282 -e 's:$: $lt_compiler_flag:'`
16283 (eval echo "\"\$as_me:16283: $lt_compile\"" >&5)
16284 (eval "$lt_compile" 2>out
/conftest.err
)
16286 cat out
/conftest.err
>&5
16287 echo "$as_me:16287: \$? = $ac_status" >&5
16288 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16290 # The compiler can only warn and ignore the option if not recognized
16291 # So say no if there are warnings
16292 if test ! -s out
/conftest.err
; then
16293 lt_cv_prog_compiler_c_o_GCJ
=yes
16298 # SGI C++ compiler will create directory out/ii_files/ for
16299 # template instantiation
16300 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16301 $rm out
/* && rmdir out
16307 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16308 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16311 hard_links
="nottested"
16312 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16313 # do not overwrite the value of need_locks provided by the user
16314 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16315 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16318 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16320 ln conftest.a conftest.b
2>&5 || hard_links
=no
16321 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16322 echo "$as_me:$LINENO: result: $hard_links" >&5
16323 echo "${ECHO_T}$hard_links" >&6
16324 if test "$hard_links" = no
; then
16325 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16326 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16333 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16334 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16337 allow_undefined_flag_GCJ
=
16338 enable_shared_with_static_runtimes_GCJ
=no
16340 archive_expsym_cmds_GCJ
=
16341 old_archive_From_new_cmds_GCJ
=
16342 old_archive_from_expsyms_cmds_GCJ
=
16343 export_dynamic_flag_spec_GCJ
=
16344 whole_archive_flag_spec_GCJ
=
16345 thread_safe_flag_spec_GCJ
=
16346 hardcode_libdir_flag_spec_GCJ
=
16347 hardcode_libdir_flag_spec_ld_GCJ
=
16348 hardcode_libdir_separator_GCJ
=
16349 hardcode_direct_GCJ
=no
16350 hardcode_minus_L_GCJ
=no
16351 hardcode_shlibpath_var_GCJ
=unsupported
16352 link_all_deplibs_GCJ
=unknown
16353 hardcode_automatic_GCJ
=no
16355 module_expsym_cmds_GCJ
=
16356 always_export_symbols_GCJ
=no
16357 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16358 # include_expsyms should be a list of space-separated symbols to be *always*
16359 # included in the symbol list
16360 include_expsyms_GCJ
=
16361 # exclude_expsyms can be an extended regexp of symbols to exclude
16362 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16363 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16364 # as well as any symbol that contains `d'.
16365 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16366 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16367 # platforms (ab)use it in PIC code, but their linkers get confused if
16368 # the symbol is explicitly referenced. Since portable code cannot
16369 # rely on this symbol name, it's probably fine to never include it in
16370 # preloaded symbol tables.
16371 extract_expsyms_cmds
=
16374 cygwin
* | mingw
* | pw32
*)
16375 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16376 # When not using gcc, we currently assume that we are using
16377 # Microsoft Visual C++.
16378 if test "$GCC" != yes; then
16388 if test "$with_gnu_ld" = yes; then
16389 # If archive_cmds runs LD, not CC, wlarc should be empty
16392 # See if GNU ld supports shared libraries.
16394 aix3
* | aix4
* | aix5
*)
16395 # On AIX/PPC, the GNU linker is very broken
16396 if test "$host_cpu" != ia64
; then
16400 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16401 *** to be unable to reliably create shared libraries on AIX.
16402 *** Therefore, libtool is disabling shared libraries support. If you
16403 *** really care for shared libraries, you may want to modify your PATH
16404 *** so that a non-GNU linker is found, and then restart.
16411 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16412 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16413 hardcode_minus_L_GCJ
=yes
16415 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16416 # that the semantics of dynamic libraries on AmigaOS, at least up
16417 # to version 4, is to share data among multiple programs linked
16418 # with the same dynamic library. Since this doesn't match the
16419 # behavior of shared libraries on other platforms, we can't use
16425 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16426 allow_undefined_flag_GCJ
=unsupported
16427 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16428 # support --undefined. This deserves some investigation. FIXME
16429 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16435 cygwin
* | mingw
* | pw32
*)
16436 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16437 # as there is no search path for DLLs.
16438 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16439 allow_undefined_flag_GCJ
=unsupported
16440 always_export_symbols_GCJ
=no
16441 enable_shared_with_static_runtimes_GCJ
=yes
16442 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16444 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16445 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16446 # If the export-symbols file already is a .def file (1st line
16447 # is EXPORTS), use it as is; otherwise, prepend...
16448 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16449 cp $export_symbols $output_objdir/$soname.def;
16451 echo EXPORTS > $output_objdir/$soname.def;
16452 cat $export_symbols >> $output_objdir/$soname.def;
16454 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16461 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16462 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16465 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16466 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16471 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16475 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16476 *** create shared libraries on Solaris systems. Therefore, libtool
16477 *** is disabling shared libraries support. We urge you to upgrade GNU
16478 *** binutils to release 2.9.1 or newer. Another option is to modify
16479 *** your PATH or compiler configuration so that the native linker is
16480 *** used, and then restart.
16483 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16484 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16485 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16492 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16494 hardcode_direct_GCJ
=yes
16495 hardcode_shlibpath_var_GCJ
=no
16499 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16501 case $CC,$host_cpu in
16502 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
16503 tmp_addflag
=' -fpic' ;;
16504 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16505 tmp_addflag
=' -i_dynamic' ;;
16506 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16507 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16508 ifc
* | ifort
*) # Intel Fortran compiler
16509 tmp_addflag
=' -nofor_main' ;;
16511 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16512 supports_anon_versioning
=no
16513 case `$LD -v 2>/dev/null` in
16514 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16515 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16516 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16517 *\
2.11.
*) ;; # other 2.11 versions
16518 *) supports_anon_versioning
=yes ;;
16520 if test $supports_anon_versioning = yes; then
16521 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16522 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16523 $echo "local: *; };" >> $output_objdir/$libname.ver~
16524 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16526 archive_expsym_cmds_GCJ
=$archive_cmds_GCJ
16534 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16535 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16536 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16543 if test "$ld_shlibs_GCJ" = yes; then
16544 runpath_var
=LD_RUN_PATH
16545 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16546 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16547 # ancient GNU ld didn't support --whole-archive et. al.
16548 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16549 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16551 whole_archive_flag_spec_GCJ
=
16555 # PORTME fill in a description of your system's linker (not GNU ld)
16558 allow_undefined_flag_GCJ
=unsupported
16559 always_export_symbols_GCJ
=yes
16560 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16561 # Note: this linker hardcodes the directories in LIBPATH if there
16562 # are no directories specified by -L.
16563 hardcode_minus_L_GCJ
=yes
16564 if test "$GCC" = yes && test -z "$link_static_flag"; then
16565 # Neither direct hardcoding nor static linking is supported with a
16567 hardcode_direct_GCJ
=unsupported
16572 if test "$host_cpu" = ia64
; then
16573 # On IA64, the linker does run time linking by default, so we don't
16574 # have to do anything special.
16575 aix_use_runtimelinking
=no
16576 exp_sym_flag
='-Bexport'
16579 # If we're using GNU nm, then we don't want the "-C" option.
16580 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16581 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16582 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16584 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16586 aix_use_runtimelinking
=no
16588 # Test if we are trying to use run time linking or normal
16589 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16590 # need to do runtime linking.
16591 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16592 for ld_flag
in $LDFLAGS; do
16593 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16594 aix_use_runtimelinking
=yes
16600 exp_sym_flag
='-bexport'
16601 no_entry_flag
='-bnoentry'
16604 # When large executables or shared objects are built, AIX ld can
16605 # have problems creating the table of contents. If linking a library
16606 # or program results in "error TOC overflow" add -mminimal-toc to
16607 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16608 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16610 archive_cmds_GCJ
=''
16611 hardcode_direct_GCJ
=yes
16612 hardcode_libdir_separator_GCJ
=':'
16613 link_all_deplibs_GCJ
=yes
16615 if test "$GCC" = yes; then
16616 case $host_os in aix4.
[012]|aix4.
[012].
*)
16617 # We only want to do this on AIX 4.2 and lower, the check
16618 # below for broken collect2 doesn't work under 4.3+
16619 collect2name
=`${CC} -print-prog-name=collect2`
16620 if test -f "$collect2name" && \
16621 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16623 # We have reworked collect2
16624 hardcode_direct_GCJ
=yes
16626 # We have old collect2
16627 hardcode_direct_GCJ
=unsupported
16628 # It fails to find uninstalled libraries when the uninstalled
16629 # path is not listed in the libpath. Setting hardcode_minus_L
16630 # to unsupported forces relinking
16631 hardcode_minus_L_GCJ
=yes
16632 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16633 hardcode_libdir_separator_GCJ
=
16636 shared_flag
='-shared'
16637 if test "$aix_use_runtimelinking" = yes; then
16638 shared_flag
="$shared_flag "'${wl}-G'
16642 if test "$host_cpu" = ia64
; then
16643 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16644 # chokes on -Wl,-G. The following line is correct:
16647 if test "$aix_use_runtimelinking" = yes; then
16648 shared_flag
='${wl}-G'
16650 shared_flag
='${wl}-bM:SRE'
16655 # It seems that -bexpall does not export symbols beginning with
16656 # underscore (_), so it is better to generate a list of symbols to export.
16657 always_export_symbols_GCJ
=yes
16658 if test "$aix_use_runtimelinking" = yes; then
16659 # Warning - without using the other runtime loading flags (-brtl),
16660 # -berok will link without error, but may produce a broken library.
16661 allow_undefined_flag_GCJ
='-berok'
16662 # Determine the default libpath from the value encoded in an empty executable.
16663 cat >conftest.
$ac_ext <<_ACEOF
16666 cat confdefs.h
>>conftest.
$ac_ext
16667 cat >>conftest.
$ac_ext <<_ACEOF
16668 /* end confdefs.h. */
16678 rm -f conftest.
$ac_objext conftest
$ac_exeext
16679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16680 (eval $ac_link) 2>conftest.er1
16682 grep -v '^ *+' conftest.er1
>conftest.err
16684 cat conftest.err
>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } &&
16687 { ac_try
='test -z "$ac_c_werror_flag"
16688 || test ! -s conftest.err'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; } &&
16694 { ac_try
='test -s conftest$ac_exeext'
16695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16696 (eval $ac_try) 2>&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); }; }; then
16701 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16703 # Check for a 64-bit object if we didn't find anything.
16704 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16707 echo "$as_me: failed program was:" >&5
16708 sed 's/^/| /' conftest.
$ac_ext >&5
16711 rm -f conftest.err conftest.
$ac_objext \
16712 conftest
$ac_exeext conftest.
$ac_ext
16713 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16715 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16716 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16718 if test "$host_cpu" = ia64; then
16719 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
16720 allow_undefined_flag_GCJ="-z nodefs"
16721 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
16723 # Determine the default libpath from the value encoded in an empty executable.
16724 cat >conftest.$ac_ext <<_ACEOF
16727 cat confdefs.h >>conftest.$ac_ext
16728 cat >>conftest.$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16739 rm -f conftest.$ac_objext conftest$ac_exeext
16740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16741 (eval $ac_link) 2>conftest.er1
16743 grep -v '^ *+' conftest.er1 >conftest.err
16745 cat conftest.err >&5
16746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16747 (exit $ac_status); } &&
16748 { ac_try='test -z "$ac_c_werror_flag"
16749 || test ! -s conftest.err'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16754 (exit $ac_status); }; } &&
16755 { ac_try='test -s conftest$ac_exeext'
16756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16757 (eval $ac_try) 2>&5
16759 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16760 (exit $ac_status); }; }; then
16762 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16764 # Check for a 64-bit object if we didn't find anything.
16765 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16768 echo "$as_me: failed program was
:" >&5
16769 sed 's/^/| /' conftest.$ac_ext >&5
16772 rm -f conftest.err conftest.$ac_objext \
16773 conftest$ac_exeext conftest.$ac_ext
16774 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16776 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16777 # Warning - without using the other run time loading flags,
16778 # -berok will link without error, but may produce a broken library.
16779 no_undefined_flag_GCJ=' ${wl}-bernotok'
16780 allow_undefined_flag_GCJ=' ${wl}-berok'
16781 # -bexpall does not export symbols beginning with underscore (_)
16782 always_export_symbols_GCJ=yes
16783 # Exported symbols can be pulled into shared objects from archives
16784 whole_archive_flag_spec_GCJ=' '
16785 archive_cmds_need_lc_GCJ=yes
16786 # This is similar to how AIX traditionally builds it's shared libraries.
16787 archive_expsym_cmds_GCJ="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16793 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16794 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16795 hardcode_minus_L_GCJ
=yes
16796 # see comment about different semantics on the GNU ld section
16801 export_dynamic_flag_spec_GCJ
=-rdynamic
16804 cygwin
* | mingw
* | pw32
*)
16805 # When not using gcc, we currently assume that we are using
16806 # Microsoft Visual C++.
16807 # hardcode_libdir_flag_spec is actually meaningless, as there is
16808 # no search path for DLLs.
16809 hardcode_libdir_flag_spec_GCJ
=' '
16810 allow_undefined_flag_GCJ
=unsupported
16811 # Tell ltmain to make .lib files, not .a files.
16813 # Tell ltmain to make .dll files, not .so files.
16815 # FIXME: Setting linknames here is a bad hack.
16816 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16817 # The linker will automatically build a .lib file if we build a DLL.
16818 old_archive_From_new_cmds_GCJ
='true'
16819 # FIXME: Should let the user specify the lib program.
16820 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16821 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16822 enable_shared_with_static_runtimes_GCJ
=yes
16825 darwin
* | rhapsody
*)
16827 rhapsody
* | darwin1.
[012])
16828 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16831 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16832 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16834 case ${MACOSX_DEPLOYMENT_TARGET} in
16836 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16839 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16845 archive_cmds_need_lc_GCJ
=no
16846 hardcode_direct_GCJ
=no
16847 hardcode_automatic_GCJ
=yes
16848 hardcode_shlibpath_var_GCJ
=unsupported
16849 whole_archive_flag_spec_GCJ
=''
16850 link_all_deplibs_GCJ
=yes
16851 if test "$GCC" = yes ; then
16852 output_verbose_link_cmd
='echo'
16853 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16854 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16855 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16856 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16857 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16859 case "$cc_basename" in
16861 output_verbose_link_cmd
='echo'
16862 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16863 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16864 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16865 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16866 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16876 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16877 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16878 hardcode_shlibpath_var_GCJ
=no
16885 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16886 # support. Future versions do this automatically, but an explicit c++rt0.o
16887 # does not break anything, and helps significantly (at the cost of a little
16890 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16891 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16892 hardcode_direct_GCJ
=yes
16893 hardcode_shlibpath_var_GCJ
=no
16896 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16898 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16899 hardcode_direct_GCJ
=yes
16900 hardcode_minus_L_GCJ
=yes
16901 hardcode_shlibpath_var_GCJ
=no
16904 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16905 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16906 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16907 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16908 hardcode_direct_GCJ
=yes
16909 hardcode_shlibpath_var_GCJ
=no
16913 if test "$GCC" = yes; then
16914 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16916 archive_cmds_GCJ
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16918 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16919 hardcode_libdir_separator_GCJ
=:
16920 hardcode_direct_GCJ
=yes
16922 # hardcode_minus_L: Not really in the search PATH,
16923 # but as the default location of the library.
16924 hardcode_minus_L_GCJ
=yes
16925 export_dynamic_flag_spec_GCJ
='${wl}-E'
16929 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16930 case "$host_cpu" in
16932 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16935 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16939 case "$host_cpu" in
16941 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16944 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16948 if test "$with_gnu_ld" = no
; then
16949 case "$host_cpu" in
16951 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16952 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16953 hardcode_libdir_separator_GCJ
=:
16954 hardcode_direct_GCJ
=no
16955 hardcode_shlibpath_var_GCJ
=no
16958 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16959 hardcode_direct_GCJ
=no
16960 hardcode_shlibpath_var_GCJ
=no
16962 # hardcode_minus_L: Not really in the search PATH,
16963 # but as the default location of the library.
16964 hardcode_minus_L_GCJ
=yes
16967 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16968 hardcode_libdir_separator_GCJ
=:
16969 hardcode_direct_GCJ
=yes
16970 export_dynamic_flag_spec_GCJ
='${wl}-E'
16972 # hardcode_minus_L: Not really in the search PATH,
16973 # but as the default location of the library.
16974 hardcode_minus_L_GCJ
=yes
16980 irix5
* | irix6
* | nonstopux
*)
16981 if test "$GCC" = yes; then
16982 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16984 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16985 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16987 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16988 hardcode_libdir_separator_GCJ
=:
16989 link_all_deplibs_GCJ
=yes
16993 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16994 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16996 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16998 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16999 hardcode_direct_GCJ
=yes
17000 hardcode_shlibpath_var_GCJ
=no
17004 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17005 hardcode_direct_GCJ
=yes
17006 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17007 hardcode_libdir_separator_GCJ
=:
17008 hardcode_shlibpath_var_GCJ
=no
17012 hardcode_direct_GCJ
=yes
17013 hardcode_shlibpath_var_GCJ
=no
17014 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17015 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17016 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17017 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17018 export_dynamic_flag_spec_GCJ
='${wl}-E'
17021 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17022 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17023 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17026 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17027 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17034 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17035 hardcode_minus_L_GCJ
=yes
17036 allow_undefined_flag_GCJ
=unsupported
17037 archive_cmds_GCJ
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
17038 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17042 if test "$GCC" = yes; then
17043 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17044 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17046 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17047 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17049 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17050 hardcode_libdir_separator_GCJ
=:
17053 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17054 if test "$GCC" = yes; then
17055 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17056 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17057 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17059 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17060 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17061 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17062 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
17064 # Both c and cxx compiler support -rpath directly
17065 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17067 hardcode_libdir_separator_GCJ
=:
17071 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17072 hardcode_shlibpath_var_GCJ
=no
17073 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17074 runpath_var
=LD_RUN_PATH
17075 hardcode_runpath_var
=yes
17079 no_undefined_flag_GCJ
=' -z text'
17080 if test "$GCC" = yes; then
17081 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17082 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17083 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17085 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17086 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17087 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17089 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17090 hardcode_shlibpath_var_GCJ
=no
17092 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17093 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17094 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
17096 link_all_deplibs_GCJ
=yes
17100 if test "x$host_vendor" = xsequent
; then
17101 # Use $CC to link under sequent, because it throws in some extra .o
17102 # files that make .init and .fini sections work.
17103 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17105 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17107 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17108 hardcode_direct_GCJ
=yes
17109 hardcode_minus_L_GCJ
=yes
17110 hardcode_shlibpath_var_GCJ
=no
17114 case $host_vendor in
17116 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17117 hardcode_direct_GCJ
=yes # is this really true???
17120 ## LD is ld it makes a PLAMLIB
17121 ## CC just makes a GrossModule.
17122 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17123 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17124 hardcode_direct_GCJ
=no
17127 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17128 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17131 runpath_var
='LD_RUN_PATH'
17132 hardcode_shlibpath_var_GCJ
=no
17136 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17137 hardcode_shlibpath_var_GCJ
=no
17138 export_dynamic_flag_spec_GCJ
='-Bexport'
17142 if test -d /usr
/nec
; then
17143 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17144 hardcode_shlibpath_var_GCJ
=no
17145 runpath_var
=LD_RUN_PATH
17146 hardcode_runpath_var
=yes
17152 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17153 hardcode_direct_GCJ
=yes
17154 hardcode_minus_L_GCJ
=no
17155 hardcode_shlibpath_var_GCJ
=no
17156 hardcode_runpath_var
=yes
17157 runpath_var
=LD_RUN_PATH
17160 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17161 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
17162 if test "$GCC" = yes; then
17163 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17165 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17167 runpath_var
='LD_RUN_PATH'
17168 hardcode_shlibpath_var_GCJ
=no
17172 no_undefined_flag_GCJ
=' -z text'
17173 # $CC -shared without GNU ld will not create a library from C++
17174 # object files and a static libstdc++, better avoid it by now
17175 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17176 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17177 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17178 hardcode_libdir_flag_spec_GCJ
=
17179 hardcode_shlibpath_var_GCJ
=no
17180 runpath_var
='LD_RUN_PATH'
17184 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17185 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17186 hardcode_shlibpath_var_GCJ
=no
17195 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17196 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17197 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17199 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17200 if test "$GCC" = yes; then
17201 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17205 # Do we need to explicitly link libc?
17207 case "x$archive_cmds_need_lc_GCJ" in
17209 # Assume -lc should be added
17210 archive_cmds_need_lc_GCJ
=yes
17212 if test "$enable_shared" = yes && test "$GCC" = yes; then
17213 case $archive_cmds_GCJ in
17215 # FIXME: we may have to deal with multi-command sequences.
17218 # Test whether the compiler implicitly links with -lc since on some
17219 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17220 # to ld, don't add -lc before -lgcc.
17221 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17222 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17224 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17227 (eval $ac_compile) 2>&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } 2>conftest.err
; then
17233 libobjs
=conftest.
$ac_objext
17235 wl
=$lt_prog_compiler_wl_GCJ
17241 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17242 allow_undefined_flag_GCJ
=
17243 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17244 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); }
17249 archive_cmds_need_lc_GCJ
=no
17251 archive_cmds_need_lc_GCJ
=yes
17253 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17255 cat conftest.err
1>&5
17258 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17259 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17266 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17267 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17268 library_names_spec
=
17269 libname_spec
='lib$name'
17273 postuninstall_cmds
=
17277 shlibpath_overrides_runpath
=unknown
17279 dynamic_linker
="$host_os ld.so"
17280 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17281 if test "$GCC" = yes; then
17282 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17283 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17284 # if the path contains ";" then we assume it to be the separator
17285 # otherwise default to the standard path separator (i.e. ":") - it is
17286 # assumed that no part of a normal pathname contains ";" but that should
17287 # okay in the real world where ";" in dirpaths is itself problematic.
17288 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17290 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17293 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17295 need_lib_prefix
=unknown
17296 hardcode_into_libs
=no
17298 # when you set need_version to no, make sure it does not cause -set_version
17299 # flags to be left without arguments
17300 need_version
=unknown
17305 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17306 shlibpath_var
=LIBPATH
17308 # AIX 3 has no versioning support, so we append a major version to the name.
17309 soname_spec
='${libname}${release}${shared_ext}$major'
17316 hardcode_into_libs
=yes
17317 if test "$host_cpu" = ia64
; then
17318 # AIX 5 supports IA64
17319 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17320 shlibpath_var
=LD_LIBRARY_PATH
17322 # With GCC up to 2.95.x, collect2 would create an import file
17323 # for dependence libraries. The import file would start with
17324 # the line `#! .'. This would cause the generated library to
17325 # depend on `.', always an invalid library. This was fixed in
17326 # development snapshots of GCC prior to 3.0.
17328 aix4 | aix4.
[01] | aix4.
[01].
*)
17329 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17331 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17334 can_build_shared
=no
17338 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17339 # soname into executable. Probably we can add versioning support to
17340 # collect2, so additional links can be useful in future.
17341 if test "$aix_use_runtimelinking" = yes; then
17342 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17343 # instead of lib<name>.a to let people know that these are not
17344 # typical AIX shared libraries.
17345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17347 # We preserve .a as extension for shared libraries through AIX4.2
17348 # and later when we are not doing run time linking.
17349 library_names_spec
='${libname}${release}.a $libname.a'
17350 soname_spec
='${libname}${release}${shared_ext}$major'
17352 shlibpath_var
=LIBPATH
17357 library_names_spec
='$libname.ixlibrary $libname.a'
17358 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17359 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17363 library_names_spec
='${libname}${shared_ext}'
17364 dynamic_linker
="$host_os ld.so"
17365 shlibpath_var
=LIBRARY_PATH
17371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17372 soname_spec
='${libname}${release}${shared_ext}$major'
17373 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17374 shlibpath_var
=LD_LIBRARY_PATH
17375 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17376 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17377 # the default ld.so.conf also contains /usr/contrib/lib and
17378 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17379 # libtool to hard-code these into programs
17382 cygwin
* | mingw
* | pw32
*)
17383 version_type
=windows
17388 case $GCC,$host_os in
17389 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17390 library_names_spec
='$libname.dll.a'
17391 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17392 postinstall_cmds
='base_file=`basename \${file}`~
17393 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17394 dldir=$destdir/`dirname \$dlpath`~
17395 test -d \$dldir || mkdir -p \$dldir~
17396 $install_prog $dir/$dlname \$dldir/$dlname'
17397 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17398 dlpath=$dir/\$dldll~
17400 shlibpath_overrides_runpath
=yes
17404 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17405 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17406 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17409 # MinGW DLLs use traditional 'lib' prefix
17410 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17411 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17412 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17413 # It is most probably a Windows format PATH printed by
17414 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17415 # path with ; separators, and with drive letters. We can handle the
17416 # drive letters (cygwin fileutils understands them), so leave them,
17417 # especially as we might pass files found there to a mingw objdump,
17418 # which wouldn't understand a cygwinified path. Ahh.
17419 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17421 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17425 # pw32 DLLs use 'pw' prefix rather than 'lib'
17426 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17432 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17435 dynamic_linker
='Win32 ld.exe'
17436 # FIXME: first we should search . and the directory the executable is in
17440 darwin
* | rhapsody
*)
17441 dynamic_linker
="$host_os dyld"
17442 version_type
=darwin
17445 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17446 soname_spec
='${libname}${release}${major}$shared_ext'
17447 shlibpath_overrides_runpath
=yes
17448 shlibpath_var
=DYLD_LIBRARY_PATH
17449 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
17450 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17451 if test "$GCC" = yes; then
17452 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17454 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17456 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17464 soname_spec
='${libname}${release}${shared_ext}$major'
17465 shlibpath_var
=LD_LIBRARY_PATH
17476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17477 soname_spec
='${libname}${release}${shared_ext}$major'
17478 shlibpath_var
=LD_LIBRARY_PATH
17479 shlibpath_overrides_runpath
=no
17480 hardcode_into_libs
=yes
17481 dynamic_linker
='GNU ld.so'
17484 freebsd
* | dragonfly
*)
17485 # DragonFly does not have aout. When/if they implement a new
17486 # versioning mechanism, adjust this.
17487 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17488 version_type
=freebsd-
$objformat
17489 case $version_type in
17491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17496 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17500 shlibpath_var
=LD_LIBRARY_PATH
17503 shlibpath_overrides_runpath
=yes
17505 freebsd3.
[01]* | freebsdelf3.
[01]*)
17506 shlibpath_overrides_runpath
=yes
17507 hardcode_into_libs
=yes
17510 shlibpath_overrides_runpath
=no
17511 hardcode_into_libs
=yes
17520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17521 soname_spec
='${libname}${release}${shared_ext}$major'
17522 shlibpath_var
=LD_LIBRARY_PATH
17523 hardcode_into_libs
=yes
17526 hpux9
* | hpux10
* | hpux11
*)
17527 # Give a soname corresponding to the major version so that dld.sl refuses to
17528 # link against other versions.
17532 case "$host_cpu" in
17535 hardcode_into_libs
=yes
17536 dynamic_linker
="$host_os dld.so"
17537 shlibpath_var
=LD_LIBRARY_PATH
17538 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17540 soname_spec
='${libname}${release}${shared_ext}$major'
17541 if test "X$HPUX_IA64_MODE" = X32
; then
17542 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17544 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17546 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17550 hardcode_into_libs
=yes
17551 dynamic_linker
="$host_os dld.sl"
17552 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17553 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17555 soname_spec
='${libname}${release}${shared_ext}$major'
17556 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17557 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17561 dynamic_linker
="$host_os dld.sl"
17562 shlibpath_var
=SHLIB_PATH
17563 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17565 soname_spec
='${libname}${release}${shared_ext}$major'
17568 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17569 postinstall_cmds
='chmod 555 $lib'
17572 irix5
* | irix6
* | nonstopux
*)
17574 nonstopux
*) version_type
=nonstopux
;;
17576 if test "$lt_cv_prog_gnu_ld" = yes; then
17584 soname_spec
='${libname}${release}${shared_ext}$major'
17585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17587 irix5
* | nonstopux
*)
17588 libsuff
= shlibsuff
=
17591 case $LD in # libtool.m4 will add one of these switches to LD
17592 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17593 libsuff
= shlibsuff
= libmagic
=32-bit;;
17594 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17595 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17596 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17597 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17598 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17602 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17603 shlibpath_overrides_runpath
=no
17604 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17605 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17606 hardcode_into_libs
=yes
17609 # No shared lib support for Linux oldld, aout, or coff.
17610 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17614 # This must be Linux ELF.
17619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17620 soname_spec
='${libname}${release}${shared_ext}$major'
17621 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17622 shlibpath_var
=LD_LIBRARY_PATH
17623 shlibpath_overrides_runpath
=no
17624 # This implies no fast_install, which is unacceptable.
17625 # Some rework will be needed to allow for fast_install
17626 # before this can be enabled.
17627 hardcode_into_libs
=yes
17629 # Append ld.so.conf contents to the search path
17630 if test -f /etc
/ld.so.conf
; then
17631 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17632 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17635 # We used to test for /lib/ld.so.1 and disable shared libraries on
17636 # powerpc, because MkLinux only supported shared libraries with the
17637 # GNU dynamic linker. Since this was broken with cross compilers,
17638 # most powerpc-linux boxes support dynamic linking these days and
17639 # people can always --disable-shared, the test was removed, and we
17640 # assume the GNU/Linux dynamic linker is in use.
17641 dynamic_linker
='GNU/Linux ld.so'
17648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17649 soname_spec
='${libname}${release}${shared_ext}$major'
17650 shlibpath_var
=LD_LIBRARY_PATH
17651 shlibpath_overrides_runpath
=no
17652 hardcode_into_libs
=yes
17653 dynamic_linker
='GNU ld.so'
17660 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17662 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17663 dynamic_linker
='NetBSD (a.out) ld.so'
17665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17666 soname_spec
='${libname}${release}${shared_ext}$major'
17667 dynamic_linker
='NetBSD ld.elf_so'
17669 shlibpath_var
=LD_LIBRARY_PATH
17670 shlibpath_overrides_runpath
=yes
17671 hardcode_into_libs
=yes
17676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17677 shlibpath_var
=LD_LIBRARY_PATH
17678 shlibpath_overrides_runpath
=yes
17685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17686 soname_spec
='${libname}${release}${shared_ext}$major'
17687 shlibpath_var
=LD_LIBRARY_PATH
17688 shlibpath_overrides_runpath
=yes
17695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17696 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17697 shlibpath_var
=LD_LIBRARY_PATH
17698 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17700 openbsd2.
[89] | openbsd2.
[89].
*)
17701 shlibpath_overrides_runpath
=no
17704 shlibpath_overrides_runpath
=yes
17708 shlibpath_overrides_runpath
=yes
17713 libname_spec
='$name'
17716 library_names_spec
='$libname${shared_ext} $libname.a'
17717 dynamic_linker
='OS/2 ld.exe'
17718 shlibpath_var
=LIBPATH
17721 osf3
* | osf4
* | osf5
*)
17725 soname_spec
='${libname}${release}${shared_ext}$major'
17726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17727 shlibpath_var
=LD_LIBRARY_PATH
17728 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17729 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17734 soname_spec
='${libname}${release}${shared_ext}$major'
17735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17736 shlibpath_var
=LD_LIBRARY_PATH
17743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17744 soname_spec
='${libname}${release}${shared_ext}$major'
17745 shlibpath_var
=LD_LIBRARY_PATH
17746 shlibpath_overrides_runpath
=yes
17747 hardcode_into_libs
=yes
17748 # ldd complains unless libraries are executable
17749 postinstall_cmds
='chmod +x $lib'
17754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17755 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17756 shlibpath_var
=LD_LIBRARY_PATH
17757 shlibpath_overrides_runpath
=yes
17758 if test "$with_gnu_ld" = yes; then
17764 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17767 soname_spec
='${libname}${release}${shared_ext}$major'
17768 shlibpath_var
=LD_LIBRARY_PATH
17769 case $host_vendor in
17771 shlibpath_overrides_runpath
=no
17773 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17774 runpath_var
=LD_RUN_PATH
17782 shlibpath_overrides_runpath
=no
17783 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17789 if test -d /usr
/nec
;then
17791 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17792 soname_spec
='$libname${shared_ext}.$major'
17793 shlibpath_var
=LD_LIBRARY_PATH
17799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17800 soname_spec
='${libname}${release}${shared_ext}$major'
17801 shlibpath_var
=LD_LIBRARY_PATH
17808 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17809 echo "${ECHO_T}$dynamic_linker" >&6
17810 test "$dynamic_linker" = no
&& can_build_shared
=no
17812 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17813 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17814 hardcode_action_GCJ
=
17815 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17816 test -n "$runpath_var_GCJ" || \
17817 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17819 # We can hardcode non-existant directories.
17820 if test "$hardcode_direct_GCJ" != no
&&
17821 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17822 # have to relink, otherwise we might link with an installed library
17823 # when we should be linking with a yet-to-be-installed one
17824 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17825 test "$hardcode_minus_L_GCJ" != no
; then
17826 # Linking always hardcodes the temporary library directory.
17827 hardcode_action_GCJ
=relink
17829 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17830 hardcode_action_GCJ
=immediate
17833 # We cannot hardcode anything, or else we can only hardcode existing
17835 hardcode_action_GCJ
=unsupported
17837 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17838 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17840 if test "$hardcode_action_GCJ" = relink
; then
17841 # Fast installation is not supported
17842 enable_fast_install
=no
17843 elif test "$shlibpath_overrides_runpath" = yes ||
17844 test "$enable_shared" = no
; then
17845 # Fast installation is not necessary
17846 enable_fast_install
=needless
17851 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17852 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17853 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17854 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17855 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17856 echo "$as_me:$LINENO: result: yes" >&5
17857 echo "${ECHO_T}yes" >&6
17859 # FIXME - insert some real tests, host_os isn't really good enough
17862 if test -n "$STRIP" ; then
17863 striplib
="$STRIP -x"
17864 echo "$as_me:$LINENO: result: yes" >&5
17865 echo "${ECHO_T}yes" >&6
17867 echo "$as_me:$LINENO: result: no" >&5
17868 echo "${ECHO_T}no" >&6
17872 echo "$as_me:$LINENO: result: no" >&5
17873 echo "${ECHO_T}no" >&6
17878 if test "x$enable_dlopen" != xyes
; then
17879 enable_dlopen
=unknown
17880 enable_dlopen_self
=unknown
17881 enable_dlopen_self_static
=unknown
17888 lt_cv_dlopen
="load_add_on"
17890 lt_cv_dlopen_self
=yes
17894 lt_cv_dlopen
="LoadLibrary"
17899 lt_cv_dlopen
="dlopen"
17904 # if libdl is installed we need to link against it
17905 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17906 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17907 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17910 ac_check_lib_save_LIBS
=$LIBS
17912 cat >conftest.
$ac_ext <<_ACEOF
17915 cat confdefs.h
>>conftest.
$ac_ext
17916 cat >>conftest.
$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17919 /* Override any gcc2 internal prototype to avoid an error. */
17923 /* We use char because int might match the return type of a gcc2
17924 builtin and then its argument prototype would still apply. */
17934 rm -f conftest.
$ac_objext conftest
$ac_exeext
17935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17936 (eval $ac_link) 2>conftest.er1
17938 grep -v '^ *+' conftest.er1
>conftest.err
17940 cat conftest.err
>&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); } &&
17943 { ac_try
='test -z "$ac_c_werror_flag"
17944 || test ! -s conftest.err'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; } &&
17950 { ac_try
='test -s conftest$ac_exeext'
17951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17952 (eval $ac_try) 2>&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); }; }; then
17956 ac_cv_lib_dl_dlopen
=yes
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 ac_cv_lib_dl_dlopen
=no
17963 rm -f conftest.err conftest.
$ac_objext \
17964 conftest
$ac_exeext conftest.
$ac_ext
17965 LIBS
=$ac_check_lib_save_LIBS
17967 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17968 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17969 if test $ac_cv_lib_dl_dlopen = yes; then
17970 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17973 lt_cv_dlopen
="dyld"
17975 lt_cv_dlopen_self
=yes
17982 echo "$as_me:$LINENO: checking for shl_load" >&5
17983 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17984 if test "${ac_cv_func_shl_load+set}" = set; then
17985 echo $ECHO_N "(cached) $ECHO_C" >&6
17987 cat >conftest.
$ac_ext <<_ACEOF
17990 cat confdefs.h
>>conftest.
$ac_ext
17991 cat >>conftest.
$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17995 #define shl_load innocuous_shl_load
17997 /* System header to define __stub macros and hopefully few prototypes,
17998 which can conflict with char shl_load (); below.
17999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18000 <limits.h> exists even on freestanding compilers. */
18003 # include <limits.h>
18005 # include <assert.h>
18010 /* Override any gcc2 internal prototype to avoid an error. */
18015 /* We use char because int might match the return type of a gcc2
18016 builtin and then its argument prototype would still apply. */
18018 /* The GNU C library defines this for functions which it implements
18019 to always fail with ENOSYS. Some functions are actually named
18020 something starting with __ and the normal name is an alias. */
18021 #if defined (__stub_shl_load) || defined (__stub___shl_load)
18024 char (*f) () = shl_load;
18033 return f != shl_load;
18038 rm -f conftest.
$ac_objext conftest
$ac_exeext
18039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18040 (eval $ac_link) 2>conftest.er1
18042 grep -v '^ *+' conftest.er1
>conftest.err
18044 cat conftest.err
>&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } &&
18047 { ac_try
='test -z "$ac_c_werror_flag"
18048 || test ! -s conftest.err'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; } &&
18054 { ac_try
='test -s conftest$ac_exeext'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; }; then
18060 ac_cv_func_shl_load
=yes
18062 echo "$as_me: failed program was:" >&5
18063 sed 's/^/| /' conftest.
$ac_ext >&5
18065 ac_cv_func_shl_load
=no
18067 rm -f conftest.err conftest.
$ac_objext \
18068 conftest
$ac_exeext conftest.
$ac_ext
18070 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18071 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18072 if test $ac_cv_func_shl_load = yes; then
18073 lt_cv_dlopen
="shl_load"
18075 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18076 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18077 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18078 echo $ECHO_N "(cached) $ECHO_C" >&6
18080 ac_check_lib_save_LIBS
=$LIBS
18082 cat >conftest.
$ac_ext <<_ACEOF
18085 cat confdefs.h
>>conftest.
$ac_ext
18086 cat >>conftest.
$ac_ext <<_ACEOF
18087 /* end confdefs.h. */
18089 /* Override any gcc2 internal prototype to avoid an error. */
18093 /* We use char because int might match the return type of a gcc2
18094 builtin and then its argument prototype would still apply. */
18104 rm -f conftest.
$ac_objext conftest
$ac_exeext
18105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18106 (eval $ac_link) 2>conftest.er1
18108 grep -v '^ *+' conftest.er1
>conftest.err
18110 cat conftest.err
>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); } &&
18113 { ac_try
='test -z "$ac_c_werror_flag"
18114 || test ! -s conftest.err'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; } &&
18120 { ac_try
='test -s conftest$ac_exeext'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; }; then
18126 ac_cv_lib_dld_shl_load
=yes
18128 echo "$as_me: failed program was:" >&5
18129 sed 's/^/| /' conftest.
$ac_ext >&5
18131 ac_cv_lib_dld_shl_load
=no
18133 rm -f conftest.err conftest.
$ac_objext \
18134 conftest
$ac_exeext conftest.
$ac_ext
18135 LIBS
=$ac_check_lib_save_LIBS
18137 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18138 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18139 if test $ac_cv_lib_dld_shl_load = yes; then
18140 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
18142 echo "$as_me:$LINENO: checking for dlopen" >&5
18143 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18144 if test "${ac_cv_func_dlopen+set}" = set; then
18145 echo $ECHO_N "(cached) $ECHO_C" >&6
18147 cat >conftest.
$ac_ext <<_ACEOF
18150 cat confdefs.h
>>conftest.
$ac_ext
18151 cat >>conftest.
$ac_ext <<_ACEOF
18152 /* end confdefs.h. */
18153 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18155 #define dlopen innocuous_dlopen
18157 /* System header to define __stub macros and hopefully few prototypes,
18158 which can conflict with char dlopen (); below.
18159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18160 <limits.h> exists even on freestanding compilers. */
18163 # include <limits.h>
18165 # include <assert.h>
18170 /* Override any gcc2 internal prototype to avoid an error. */
18175 /* We use char because int might match the return type of a gcc2
18176 builtin and then its argument prototype would still apply. */
18178 /* The GNU C library defines this for functions which it implements
18179 to always fail with ENOSYS. Some functions are actually named
18180 something starting with __ and the normal name is an alias. */
18181 #if defined (__stub_dlopen) || defined (__stub___dlopen)
18184 char (*f) () = dlopen;
18193 return f != dlopen;
18198 rm -f conftest.
$ac_objext conftest
$ac_exeext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18200 (eval $ac_link) 2>conftest.er1
18202 grep -v '^ *+' conftest.er1
>conftest.err
18204 cat conftest.err
>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } &&
18207 { ac_try
='test -z "$ac_c_werror_flag"
18208 || test ! -s conftest.err'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; } &&
18214 { ac_try
='test -s conftest$ac_exeext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 ac_cv_func_dlopen
=yes
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.
$ac_ext >&5
18225 ac_cv_func_dlopen
=no
18227 rm -f conftest.err conftest.
$ac_objext \
18228 conftest
$ac_exeext conftest.
$ac_ext
18230 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18231 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18232 if test $ac_cv_func_dlopen = yes; then
18233 lt_cv_dlopen
="dlopen"
18235 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18236 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18237 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18238 echo $ECHO_N "(cached) $ECHO_C" >&6
18240 ac_check_lib_save_LIBS
=$LIBS
18242 cat >conftest.
$ac_ext <<_ACEOF
18245 cat confdefs.h
>>conftest.
$ac_ext
18246 cat >>conftest.
$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18249 /* Override any gcc2 internal prototype to avoid an error. */
18253 /* We use char because int might match the return type of a gcc2
18254 builtin and then its argument prototype would still apply. */
18264 rm -f conftest.
$ac_objext conftest
$ac_exeext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18266 (eval $ac_link) 2>conftest.er1
18268 grep -v '^ *+' conftest.er1
>conftest.err
18270 cat conftest.err
>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); } &&
18273 { ac_try
='test -z "$ac_c_werror_flag"
18274 || test ! -s conftest.err'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; } &&
18280 { ac_try
='test -s conftest$ac_exeext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18286 ac_cv_lib_dl_dlopen
=yes
18288 echo "$as_me: failed program was:" >&5
18289 sed 's/^/| /' conftest.
$ac_ext >&5
18291 ac_cv_lib_dl_dlopen
=no
18293 rm -f conftest.err conftest.
$ac_objext \
18294 conftest
$ac_exeext conftest.
$ac_ext
18295 LIBS
=$ac_check_lib_save_LIBS
18297 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18298 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18299 if test $ac_cv_lib_dl_dlopen = yes; then
18300 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18302 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18303 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18304 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18305 echo $ECHO_N "(cached) $ECHO_C" >&6
18307 ac_check_lib_save_LIBS
=$LIBS
18308 LIBS
="-lsvld $LIBS"
18309 cat >conftest.
$ac_ext <<_ACEOF
18312 cat confdefs.h
>>conftest.
$ac_ext
18313 cat >>conftest.
$ac_ext <<_ACEOF
18314 /* end confdefs.h. */
18316 /* Override any gcc2 internal prototype to avoid an error. */
18320 /* We use char because int might match the return type of a gcc2
18321 builtin and then its argument prototype would still apply. */
18331 rm -f conftest.
$ac_objext conftest
$ac_exeext
18332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18333 (eval $ac_link) 2>conftest.er1
18335 grep -v '^ *+' conftest.er1
>conftest.err
18337 cat conftest.err
>&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); } &&
18340 { ac_try
='test -z "$ac_c_werror_flag"
18341 || test ! -s conftest.err'
18342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18343 (eval $ac_try) 2>&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); }; } &&
18347 { ac_try
='test -s conftest$ac_exeext'
18348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349 (eval $ac_try) 2>&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); }; }; then
18353 ac_cv_lib_svld_dlopen
=yes
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.
$ac_ext >&5
18358 ac_cv_lib_svld_dlopen
=no
18360 rm -f conftest.err conftest.
$ac_objext \
18361 conftest
$ac_exeext conftest.
$ac_ext
18362 LIBS
=$ac_check_lib_save_LIBS
18364 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18365 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18366 if test $ac_cv_lib_svld_dlopen = yes; then
18367 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18369 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18370 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18371 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18372 echo $ECHO_N "(cached) $ECHO_C" >&6
18374 ac_check_lib_save_LIBS
=$LIBS
18376 cat >conftest.
$ac_ext <<_ACEOF
18379 cat confdefs.h
>>conftest.
$ac_ext
18380 cat >>conftest.
$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18383 /* Override any gcc2 internal prototype to avoid an error. */
18387 /* We use char because int might match the return type of a gcc2
18388 builtin and then its argument prototype would still apply. */
18398 rm -f conftest.
$ac_objext conftest
$ac_exeext
18399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18400 (eval $ac_link) 2>conftest.er1
18402 grep -v '^ *+' conftest.er1
>conftest.err
18404 cat conftest.err
>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } &&
18407 { ac_try
='test -z "$ac_c_werror_flag"
18408 || test ! -s conftest.err'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; } &&
18414 { ac_try
='test -s conftest$ac_exeext'
18415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416 (eval $ac_try) 2>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); }; }; then
18420 ac_cv_lib_dld_dld_link
=yes
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.
$ac_ext >&5
18425 ac_cv_lib_dld_dld_link
=no
18427 rm -f conftest.err conftest.
$ac_objext \
18428 conftest
$ac_exeext conftest.
$ac_ext
18429 LIBS
=$ac_check_lib_save_LIBS
18431 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18432 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18433 if test $ac_cv_lib_dld_dld_link = yes; then
18434 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
18455 if test "x$lt_cv_dlopen" != xno
; then
18461 case $lt_cv_dlopen in
18463 save_CPPFLAGS
="$CPPFLAGS"
18464 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
18466 save_LDFLAGS
="$LDFLAGS"
18467 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
18470 LIBS
="$lt_cv_dlopen_libs $LIBS"
18472 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18473 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18474 if test "${lt_cv_dlopen_self+set}" = set; then
18475 echo $ECHO_N "(cached) $ECHO_C" >&6
18477 if test "$cross_compiling" = yes; then :
18478 lt_cv_dlopen_self
=cross
18480 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18481 lt_status
=$lt_dlunknown
18482 cat > conftest.
$ac_ext <<EOF
18483 #line 18483 "configure"
18484 #include "confdefs.h"
18493 # define LT_DLGLOBAL RTLD_GLOBAL
18496 # define LT_DLGLOBAL DL_GLOBAL
18498 # define LT_DLGLOBAL 0
18502 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18503 find out it does not work in some platform. */
18504 #ifndef LT_DLLAZY_OR_NOW
18506 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18509 # define LT_DLLAZY_OR_NOW DL_LAZY
18512 # define LT_DLLAZY_OR_NOW RTLD_NOW
18515 # define LT_DLLAZY_OR_NOW DL_NOW
18517 # define LT_DLLAZY_OR_NOW 0
18525 extern "C" void exit (int);
18528 void fnord() { int i=42;}
18531 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18532 int status = $lt_dlunknown;
18536 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18537 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18538 /* dlclose (self); */
18544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18545 (eval $ac_link) 2>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18549 (.
/conftest
; exit; ) 2>/dev
/null
18551 case x
$lt_status in
18552 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18553 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18554 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18557 # compilation failed
18558 lt_cv_dlopen_self
=no
18565 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18566 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18568 if test "x$lt_cv_dlopen_self" = xyes
; then
18569 LDFLAGS
="$LDFLAGS $link_static_flag"
18570 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18571 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18572 if test "${lt_cv_dlopen_self_static+set}" = set; then
18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 if test "$cross_compiling" = yes; then :
18576 lt_cv_dlopen_self_static
=cross
18578 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18579 lt_status
=$lt_dlunknown
18580 cat > conftest.
$ac_ext <<EOF
18581 #line 18581 "configure"
18582 #include "confdefs.h"
18591 # define LT_DLGLOBAL RTLD_GLOBAL
18594 # define LT_DLGLOBAL DL_GLOBAL
18596 # define LT_DLGLOBAL 0
18600 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18601 find out it does not work in some platform. */
18602 #ifndef LT_DLLAZY_OR_NOW
18604 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18607 # define LT_DLLAZY_OR_NOW DL_LAZY
18610 # define LT_DLLAZY_OR_NOW RTLD_NOW
18613 # define LT_DLLAZY_OR_NOW DL_NOW
18615 # define LT_DLLAZY_OR_NOW 0
18623 extern "C" void exit (int);
18626 void fnord() { int i=42;}
18629 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18630 int status = $lt_dlunknown;
18634 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18635 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18636 /* dlclose (self); */
18642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18643 (eval $ac_link) 2>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18647 (.
/conftest
; exit; ) 2>/dev
/null
18649 case x
$lt_status in
18650 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18651 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18652 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18655 # compilation failed
18656 lt_cv_dlopen_self_static
=no
18663 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18664 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18667 CPPFLAGS
="$save_CPPFLAGS"
18668 LDFLAGS
="$save_LDFLAGS"
18673 case $lt_cv_dlopen_self in
18674 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18675 *) enable_dlopen_self
=unknown
;;
18678 case $lt_cv_dlopen_self_static in
18679 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18680 *) enable_dlopen_self_static
=unknown
;;
18685 # The else clause should only fire when bootstrapping the
18686 # libtool distribution, otherwise you forgot to ship ltmain.sh
18687 # with your package, and you will get complaints that there are
18688 # no rules to generate ltmain.sh.
18689 if test -f "$ltmain"; then
18690 # See if we are running on zsh, and set the options which allow our commands through
18691 # without removal of \ escapes.
18692 if test -n "${ZSH_VERSION+set}" ; then
18693 setopt NO_GLOB_SUBST
18695 # Now quote all the things that may contain metacharacters while being
18696 # careful not to overquote the AC_SUBSTed values. We take copies of the
18697 # variables and quote the copies for generation of the libtool script.
18698 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18700 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18701 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18702 deplibs_check_method reload_flag reload_cmds need_locks \
18703 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18704 lt_cv_sys_global_symbol_to_c_name_address \
18705 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18706 old_postinstall_cmds old_postuninstall_cmds \
18710 lt_prog_compiler_wl_GCJ \
18711 lt_prog_compiler_pic_GCJ \
18712 lt_prog_compiler_static_GCJ \
18713 lt_prog_compiler_no_builtin_flag_GCJ \
18714 export_dynamic_flag_spec_GCJ \
18715 thread_safe_flag_spec_GCJ \
18716 whole_archive_flag_spec_GCJ \
18717 enable_shared_with_static_runtimes_GCJ \
18718 old_archive_cmds_GCJ \
18719 old_archive_from_new_cmds_GCJ \
18720 predep_objects_GCJ \
18721 postdep_objects_GCJ \
18724 compiler_lib_search_path_GCJ \
18726 archive_expsym_cmds_GCJ \
18727 postinstall_cmds_GCJ \
18728 postuninstall_cmds_GCJ \
18729 old_archive_from_expsyms_cmds_GCJ \
18730 allow_undefined_flag_GCJ \
18731 no_undefined_flag_GCJ \
18732 export_symbols_cmds_GCJ \
18733 hardcode_libdir_flag_spec_GCJ \
18734 hardcode_libdir_flag_spec_ld_GCJ \
18735 hardcode_libdir_separator_GCJ \
18736 hardcode_automatic_GCJ \
18738 module_expsym_cmds_GCJ \
18739 lt_cv_prog_compiler_c_o_GCJ \
18740 exclude_expsyms_GCJ \
18741 include_expsyms_GCJ
; do
18744 old_archive_cmds_GCJ | \
18745 old_archive_from_new_cmds_GCJ | \
18746 archive_cmds_GCJ | \
18747 archive_expsym_cmds_GCJ | \
18748 module_cmds_GCJ | \
18749 module_expsym_cmds_GCJ | \
18750 old_archive_from_expsyms_cmds_GCJ | \
18751 export_symbols_cmds_GCJ | \
18752 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18753 postinstall_cmds | postuninstall_cmds | \
18754 old_postinstall_cmds | old_postuninstall_cmds | \
18755 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18756 # Double-quote double-evaled strings.
18757 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18760 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18766 *'\$0 --fallback-echo"')
18767 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18773 cat <<__EOF__ >> "$cfgfile"
18774 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18776 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18778 # Shell to use when invoking shell scripts.
18781 # Whether or not to build shared libraries.
18782 build_libtool_libs=$enable_shared
18784 # Whether or not to build static libraries.
18785 build_old_libs=$enable_static
18787 # Whether or not to add -lc for building shared libraries.
18788 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18790 # Whether or not to disallow shared libs when runtime libs are static
18791 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18793 # Whether or not to optimize for fast installation.
18794 fast_install=$enable_fast_install
18797 host_alias=$host_alias
18801 # The build system.
18802 build_alias=$build_alias
18806 # An echo program that does not interpret backslashes.
18811 AR_FLAGS=$lt_AR_FLAGS
18816 # A language-specific compiler.
18817 CC=$lt_compiler_GCJ
18819 # Is the compiler the GNU C compiler?
18825 # The linker used to build libraries.
18828 # Whether we need hard or soft links.
18831 # A BSD-compatible nm program.
18834 # A symbol stripping program
18837 # Used to examine libraries when file_magic_cmd begins "file"
18838 MAGIC_CMD=$MAGIC_CMD
18840 # Used on cygwin: DLL creation program.
18843 # Used on cygwin: object dumper.
18846 # Used on cygwin: assembler.
18849 # The name of the directory that contains temporary libtool files.
18852 # How to create reloadable object files.
18853 reload_flag=$lt_reload_flag
18854 reload_cmds=$lt_reload_cmds
18856 # How to pass a linker flag through the compiler.
18857 wl=$lt_lt_prog_compiler_wl_GCJ
18859 # Object file suffix (normally "o").
18860 objext="$ac_objext"
18862 # Old archive suffix (normally "a").
18865 # Shared library suffix (normally ".so").
18866 shrext_cmds='$shrext_cmds'
18868 # Executable file suffix (normally "").
18871 # Additional compiler flags for building library objects.
18872 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18875 # What is the maximum length of a command?
18876 max_cmd_len=$lt_cv_sys_max_cmd_len
18878 # Does compiler simultaneously support -c and -o options?
18879 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18881 # Must we lock files when doing compilation ?
18882 need_locks=$lt_need_locks
18884 # Do we need the lib prefix for modules?
18885 need_lib_prefix=$need_lib_prefix
18887 # Do we need a version for libraries?
18888 need_version=$need_version
18890 # Whether dlopen is supported.
18891 dlopen_support=$enable_dlopen
18893 # Whether dlopen of programs is supported.
18894 dlopen_self=$enable_dlopen_self
18896 # Whether dlopen of statically linked programs is supported.
18897 dlopen_self_static=$enable_dlopen_self_static
18899 # Compiler flag to prevent dynamic linking.
18900 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18902 # Compiler flag to turn off builtin functions.
18903 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18905 # Compiler flag to allow reflexive dlopens.
18906 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18908 # Compiler flag to generate shared objects directly from archives.
18909 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18911 # Compiler flag to generate thread-safe objects.
18912 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18914 # Library versioning type.
18915 version_type=$version_type
18917 # Format of library name prefix.
18918 libname_spec=$lt_libname_spec
18920 # List of archive names. First name is the real one, the rest are links.
18921 # The last name is the one that the linker finds with -lNAME.
18922 library_names_spec=$lt_library_names_spec
18924 # The coded name of the library, if different from the real name.
18925 soname_spec=$lt_soname_spec
18927 # Commands used to build and install an old-style archive.
18929 old_archive_cmds=$lt_old_archive_cmds_GCJ
18930 old_postinstall_cmds=$lt_old_postinstall_cmds
18931 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18933 # Create an old-style archive from a shared archive.
18934 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18936 # Create a temporary old-style archive to link instead of a shared archive.
18937 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18939 # Commands used to build and install a shared archive.
18940 archive_cmds=$lt_archive_cmds_GCJ
18941 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18942 postinstall_cmds=$lt_postinstall_cmds
18943 postuninstall_cmds=$lt_postuninstall_cmds
18945 # Commands used to build a loadable module (assumed same as above if empty)
18946 module_cmds=$lt_module_cmds_GCJ
18947 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18949 # Commands to strip libraries.
18950 old_striplib=$lt_old_striplib
18951 striplib=$lt_striplib
18953 # Dependencies to place before the objects being linked to create a
18955 predep_objects=$lt_predep_objects_GCJ
18957 # Dependencies to place after the objects being linked to create a
18959 postdep_objects=$lt_postdep_objects_GCJ
18961 # Dependencies to place before the objects being linked to create a
18963 predeps=$lt_predeps_GCJ
18965 # Dependencies to place after the objects being linked to create a
18967 postdeps=$lt_postdeps_GCJ
18969 # The library search path used internally by the compiler when linking
18970 # a shared library.
18971 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18973 # Method to check whether dependent libraries are shared objects.
18974 deplibs_check_method=$lt_deplibs_check_method
18976 # Command to use when deplibs_check_method == file_magic.
18977 file_magic_cmd=$lt_file_magic_cmd
18979 # Flag that allows shared libraries with undefined symbols to be built.
18980 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18982 # Flag that forces no undefined symbols.
18983 no_undefined_flag=$lt_no_undefined_flag_GCJ
18985 # Commands used to finish a libtool library installation in a directory.
18986 finish_cmds=$lt_finish_cmds
18988 # Same as above, but a single script fragment to be evaled but not shown.
18989 finish_eval=$lt_finish_eval
18991 # Take the output of nm and produce a listing of raw symbols and C names.
18992 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18994 # Transform the output of nm in a proper C declaration
18995 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18997 # Transform the output of nm in a C name address pair
18998 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19000 # This is the shared library runtime path variable.
19001 runpath_var=$runpath_var
19003 # This is the shared library path variable.
19004 shlibpath_var=$shlibpath_var
19006 # Is shlibpath searched before the hard-coded library search path?
19007 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19009 # How to hardcode a shared library path into an executable.
19010 hardcode_action=$hardcode_action_GCJ
19012 # Whether we should hardcode library paths into libraries.
19013 hardcode_into_libs=$hardcode_into_libs
19015 # Flag to hardcode \$libdir into a binary during linking.
19016 # This must work even if \$libdir does not exist.
19017 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19019 # If ld is used when linking, flag to hardcode \$libdir into
19020 # a binary during linking. This must work even if \$libdir does
19022 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19024 # Whether we need a single -rpath flag with a separated argument.
19025 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19027 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19028 # resulting binary.
19029 hardcode_direct=$hardcode_direct_GCJ
19031 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19032 # resulting binary.
19033 hardcode_minus_L=$hardcode_minus_L_GCJ
19035 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19036 # the resulting binary.
19037 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19039 # Set to yes if building a shared library automatically hardcodes DIR into the library
19040 # and all subsequent libraries and executables linked against it.
19041 hardcode_automatic=$hardcode_automatic_GCJ
19043 # Variables whose values should be saved in libtool wrapper scripts and
19044 # restored at relink time.
19045 variables_saved_for_relink="$variables_saved_for_relink"
19047 # Whether libtool must link a program against all its dependency libraries.
19048 link_all_deplibs=$link_all_deplibs_GCJ
19050 # Compile-time system search path for libraries
19051 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19053 # Run-time system search path for libraries
19054 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19056 # Fix the shell variable \$srcfile for the compiler.
19057 fix_srcfile_path="$fix_srcfile_path_GCJ"
19059 # Set to yes if exported symbols are required.
19060 always_export_symbols=$always_export_symbols_GCJ
19062 # The commands to list exported symbols.
19063 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19065 # The commands to extract the exported symbol list from a shared archive.
19066 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19068 # Symbols that should not be listed in the preloaded symbols.
19069 exclude_expsyms=$lt_exclude_expsyms_GCJ
19071 # Symbols that must always be exported.
19072 include_expsyms=$lt_include_expsyms_GCJ
19074 # ### END LIBTOOL TAG CONFIG: $tagname
19080 # If there is no Makefile yet, we rely on a make rule to execute
19081 # `config.status --recheck' to rerun these tests and create the
19082 # libtool script then.
19083 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19084 if test -f "$ltmain_in"; then
19085 test -f Makefile
&& make "$ltmain"
19091 ac_cpp
='$CPP $CPPFLAGS'
19092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19107 # Source file extension for RC test sources.
19110 # Object file extension for compiled RC test sources.
19114 # Code to be used in simple compile tests
19115 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19117 # Code to be used in simple link tests
19118 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19120 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19122 # If no C compiler was specified, use CC.
19125 # Allow CC to be a program name with arguments.
19129 # Allow CC to be a program name with arguments.
19134 lt_cv_prog_compiler_c_o_RC
=yes
19136 # The else clause should only fire when bootstrapping the
19137 # libtool distribution, otherwise you forgot to ship ltmain.sh
19138 # with your package, and you will get complaints that there are
19139 # no rules to generate ltmain.sh.
19140 if test -f "$ltmain"; then
19141 # See if we are running on zsh, and set the options which allow our commands through
19142 # without removal of \ escapes.
19143 if test -n "${ZSH_VERSION+set}" ; then
19144 setopt NO_GLOB_SUBST
19146 # Now quote all the things that may contain metacharacters while being
19147 # careful not to overquote the AC_SUBSTed values. We take copies of the
19148 # variables and quote the copies for generation of the libtool script.
19149 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19151 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19152 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19153 deplibs_check_method reload_flag reload_cmds need_locks \
19154 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19155 lt_cv_sys_global_symbol_to_c_name_address \
19156 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19157 old_postinstall_cmds old_postuninstall_cmds \
19161 lt_prog_compiler_wl_RC \
19162 lt_prog_compiler_pic_RC \
19163 lt_prog_compiler_static_RC \
19164 lt_prog_compiler_no_builtin_flag_RC \
19165 export_dynamic_flag_spec_RC \
19166 thread_safe_flag_spec_RC \
19167 whole_archive_flag_spec_RC \
19168 enable_shared_with_static_runtimes_RC \
19169 old_archive_cmds_RC \
19170 old_archive_from_new_cmds_RC \
19171 predep_objects_RC \
19172 postdep_objects_RC \
19175 compiler_lib_search_path_RC \
19177 archive_expsym_cmds_RC \
19178 postinstall_cmds_RC \
19179 postuninstall_cmds_RC \
19180 old_archive_from_expsyms_cmds_RC \
19181 allow_undefined_flag_RC \
19182 no_undefined_flag_RC \
19183 export_symbols_cmds_RC \
19184 hardcode_libdir_flag_spec_RC \
19185 hardcode_libdir_flag_spec_ld_RC \
19186 hardcode_libdir_separator_RC \
19187 hardcode_automatic_RC \
19189 module_expsym_cmds_RC \
19190 lt_cv_prog_compiler_c_o_RC \
19191 exclude_expsyms_RC \
19192 include_expsyms_RC
; do
19195 old_archive_cmds_RC | \
19196 old_archive_from_new_cmds_RC | \
19197 archive_cmds_RC | \
19198 archive_expsym_cmds_RC | \
19200 module_expsym_cmds_RC | \
19201 old_archive_from_expsyms_cmds_RC | \
19202 export_symbols_cmds_RC | \
19203 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19204 postinstall_cmds | postuninstall_cmds | \
19205 old_postinstall_cmds | old_postuninstall_cmds | \
19206 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19207 # Double-quote double-evaled strings.
19208 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19211 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19217 *'\$0 --fallback-echo"')
19218 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19224 cat <<__EOF__ >> "$cfgfile"
19225 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19227 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19229 # Shell to use when invoking shell scripts.
19232 # Whether or not to build shared libraries.
19233 build_libtool_libs=$enable_shared
19235 # Whether or not to build static libraries.
19236 build_old_libs=$enable_static
19238 # Whether or not to add -lc for building shared libraries.
19239 build_libtool_need_lc=$archive_cmds_need_lc_RC
19241 # Whether or not to disallow shared libs when runtime libs are static
19242 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19244 # Whether or not to optimize for fast installation.
19245 fast_install=$enable_fast_install
19248 host_alias=$host_alias
19252 # The build system.
19253 build_alias=$build_alias
19257 # An echo program that does not interpret backslashes.
19262 AR_FLAGS=$lt_AR_FLAGS
19267 # A language-specific compiler.
19270 # Is the compiler the GNU C compiler?
19276 # The linker used to build libraries.
19279 # Whether we need hard or soft links.
19282 # A BSD-compatible nm program.
19285 # A symbol stripping program
19288 # Used to examine libraries when file_magic_cmd begins "file"
19289 MAGIC_CMD=$MAGIC_CMD
19291 # Used on cygwin: DLL creation program.
19294 # Used on cygwin: object dumper.
19297 # Used on cygwin: assembler.
19300 # The name of the directory that contains temporary libtool files.
19303 # How to create reloadable object files.
19304 reload_flag=$lt_reload_flag
19305 reload_cmds=$lt_reload_cmds
19307 # How to pass a linker flag through the compiler.
19308 wl=$lt_lt_prog_compiler_wl_RC
19310 # Object file suffix (normally "o").
19311 objext="$ac_objext"
19313 # Old archive suffix (normally "a").
19316 # Shared library suffix (normally ".so").
19317 shrext_cmds='$shrext_cmds'
19319 # Executable file suffix (normally "").
19322 # Additional compiler flags for building library objects.
19323 pic_flag=$lt_lt_prog_compiler_pic_RC
19326 # What is the maximum length of a command?
19327 max_cmd_len=$lt_cv_sys_max_cmd_len
19329 # Does compiler simultaneously support -c and -o options?
19330 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19332 # Must we lock files when doing compilation ?
19333 need_locks=$lt_need_locks
19335 # Do we need the lib prefix for modules?
19336 need_lib_prefix=$need_lib_prefix
19338 # Do we need a version for libraries?
19339 need_version=$need_version
19341 # Whether dlopen is supported.
19342 dlopen_support=$enable_dlopen
19344 # Whether dlopen of programs is supported.
19345 dlopen_self=$enable_dlopen_self
19347 # Whether dlopen of statically linked programs is supported.
19348 dlopen_self_static=$enable_dlopen_self_static
19350 # Compiler flag to prevent dynamic linking.
19351 link_static_flag=$lt_lt_prog_compiler_static_RC
19353 # Compiler flag to turn off builtin functions.
19354 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19356 # Compiler flag to allow reflexive dlopens.
19357 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19359 # Compiler flag to generate shared objects directly from archives.
19360 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19362 # Compiler flag to generate thread-safe objects.
19363 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19365 # Library versioning type.
19366 version_type=$version_type
19368 # Format of library name prefix.
19369 libname_spec=$lt_libname_spec
19371 # List of archive names. First name is the real one, the rest are links.
19372 # The last name is the one that the linker finds with -lNAME.
19373 library_names_spec=$lt_library_names_spec
19375 # The coded name of the library, if different from the real name.
19376 soname_spec=$lt_soname_spec
19378 # Commands used to build and install an old-style archive.
19380 old_archive_cmds=$lt_old_archive_cmds_RC
19381 old_postinstall_cmds=$lt_old_postinstall_cmds
19382 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19384 # Create an old-style archive from a shared archive.
19385 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19387 # Create a temporary old-style archive to link instead of a shared archive.
19388 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19390 # Commands used to build and install a shared archive.
19391 archive_cmds=$lt_archive_cmds_RC
19392 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19393 postinstall_cmds=$lt_postinstall_cmds
19394 postuninstall_cmds=$lt_postuninstall_cmds
19396 # Commands used to build a loadable module (assumed same as above if empty)
19397 module_cmds=$lt_module_cmds_RC
19398 module_expsym_cmds=$lt_module_expsym_cmds_RC
19400 # Commands to strip libraries.
19401 old_striplib=$lt_old_striplib
19402 striplib=$lt_striplib
19404 # Dependencies to place before the objects being linked to create a
19406 predep_objects=$lt_predep_objects_RC
19408 # Dependencies to place after the objects being linked to create a
19410 postdep_objects=$lt_postdep_objects_RC
19412 # Dependencies to place before the objects being linked to create a
19414 predeps=$lt_predeps_RC
19416 # Dependencies to place after the objects being linked to create a
19418 postdeps=$lt_postdeps_RC
19420 # The library search path used internally by the compiler when linking
19421 # a shared library.
19422 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19424 # Method to check whether dependent libraries are shared objects.
19425 deplibs_check_method=$lt_deplibs_check_method
19427 # Command to use when deplibs_check_method == file_magic.
19428 file_magic_cmd=$lt_file_magic_cmd
19430 # Flag that allows shared libraries with undefined symbols to be built.
19431 allow_undefined_flag=$lt_allow_undefined_flag_RC
19433 # Flag that forces no undefined symbols.
19434 no_undefined_flag=$lt_no_undefined_flag_RC
19436 # Commands used to finish a libtool library installation in a directory.
19437 finish_cmds=$lt_finish_cmds
19439 # Same as above, but a single script fragment to be evaled but not shown.
19440 finish_eval=$lt_finish_eval
19442 # Take the output of nm and produce a listing of raw symbols and C names.
19443 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19445 # Transform the output of nm in a proper C declaration
19446 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19448 # Transform the output of nm in a C name address pair
19449 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19451 # This is the shared library runtime path variable.
19452 runpath_var=$runpath_var
19454 # This is the shared library path variable.
19455 shlibpath_var=$shlibpath_var
19457 # Is shlibpath searched before the hard-coded library search path?
19458 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19460 # How to hardcode a shared library path into an executable.
19461 hardcode_action=$hardcode_action_RC
19463 # Whether we should hardcode library paths into libraries.
19464 hardcode_into_libs=$hardcode_into_libs
19466 # Flag to hardcode \$libdir into a binary during linking.
19467 # This must work even if \$libdir does not exist.
19468 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19470 # If ld is used when linking, flag to hardcode \$libdir into
19471 # a binary during linking. This must work even if \$libdir does
19473 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19475 # Whether we need a single -rpath flag with a separated argument.
19476 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19478 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19479 # resulting binary.
19480 hardcode_direct=$hardcode_direct_RC
19482 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19483 # resulting binary.
19484 hardcode_minus_L=$hardcode_minus_L_RC
19486 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19487 # the resulting binary.
19488 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19490 # Set to yes if building a shared library automatically hardcodes DIR into the library
19491 # and all subsequent libraries and executables linked against it.
19492 hardcode_automatic=$hardcode_automatic_RC
19494 # Variables whose values should be saved in libtool wrapper scripts and
19495 # restored at relink time.
19496 variables_saved_for_relink="$variables_saved_for_relink"
19498 # Whether libtool must link a program against all its dependency libraries.
19499 link_all_deplibs=$link_all_deplibs_RC
19501 # Compile-time system search path for libraries
19502 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19504 # Run-time system search path for libraries
19505 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19507 # Fix the shell variable \$srcfile for the compiler.
19508 fix_srcfile_path="$fix_srcfile_path_RC"
19510 # Set to yes if exported symbols are required.
19511 always_export_symbols=$always_export_symbols_RC
19513 # The commands to list exported symbols.
19514 export_symbols_cmds=$lt_export_symbols_cmds_RC
19516 # The commands to extract the exported symbol list from a shared archive.
19517 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19519 # Symbols that should not be listed in the preloaded symbols.
19520 exclude_expsyms=$lt_exclude_expsyms_RC
19522 # Symbols that must always be exported.
19523 include_expsyms=$lt_include_expsyms_RC
19525 # ### END LIBTOOL TAG CONFIG: $tagname
19531 # If there is no Makefile yet, we rely on a make rule to execute
19532 # `config.status --recheck' to rerun these tests and create the
19533 # libtool script then.
19534 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19535 if test -f "$ltmain_in"; then
19536 test -f Makefile
&& make "$ltmain"
19542 ac_cpp
='$CPP $CPPFLAGS'
19543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19552 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19553 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19554 { (exit 1); exit 1; }; }
19558 # Append the new tag name to the list of available tags.
19559 if test -n "$tagname" ; then
19560 available_tags
="$available_tags $tagname"
19566 # Now substitute the updated list of available tags.
19567 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19568 mv "${ofile}T" "$ofile"
19572 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19573 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19574 { (exit 1); exit 1; }; }
19580 # This can be used to rebuild libtool when needed
19581 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19583 # Always use our own libtool.
19584 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19586 # Prevent multiple expansion
19610 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19611 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19612 if test "${ac_cv_c_const+set}" = set; then
19613 echo $ECHO_N "(cached) $ECHO_C" >&6
19615 cat >conftest.
$ac_ext <<_ACEOF
19618 cat confdefs.h
>>conftest.
$ac_ext
19619 cat >>conftest.
$ac_ext <<_ACEOF
19620 /* end confdefs.h. */
19625 /* FIXME: Include the comments suggested by Paul. */
19626 #ifndef __cplusplus
19627 /* Ultrix mips cc rejects this. */
19628 typedef int charset[2];
19630 /* SunOS 4.1.1 cc rejects this. */
19631 char const *const *ccp;
19633 /* NEC SVR4.0.2 mips cc rejects this. */
19634 struct point {int x, y;};
19635 static struct point const zero = {0,0};
19636 /* AIX XL C 1.02.0.0 rejects this.
19637 It does not let you subtract one const X* pointer from another in
19638 an arm of an if-expression whose if-part is not a constant
19640 const char *g = "string";
19641 ccp = &g + (g ? g-g : 0);
19642 /* HPUX 7.0 cc rejects these. */
19645 ccp = (char const *const *) p;
19646 { /* SCO 3.2v4 cc rejects this. */
19648 char const *s = 0 ? (char *) 0 : (char const *) 0;
19652 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19653 int x[] = {25, 17};
19654 const int *foo = &x[0];
19657 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19658 typedef const int *iptr;
19662 { /* AIX XL C 1.02.0.0 rejects this saying
19663 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19664 struct s { int j; const int *ap[3]; };
19665 struct s *b; b->j = 5;
19667 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19668 const int foo = 10;
19676 rm -f conftest.
$ac_objext
19677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19678 (eval $ac_compile) 2>conftest.er1
19680 grep -v '^ *+' conftest.er1
>conftest.err
19682 cat conftest.err
>&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } &&
19685 { ac_try
='test -z "$ac_c_werror_flag"
19686 || test ! -s conftest.err'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; } &&
19692 { ac_try
='test -s conftest.$ac_objext'
19693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694 (eval $ac_try) 2>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; }; then
19700 echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.
$ac_ext >&5
19705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19707 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19708 echo "${ECHO_T}$ac_cv_c_const" >&6
19709 if test $ac_cv_c_const = no
; then
19711 cat >>confdefs.h
<<\_ACEOF
19717 echo "$as_me:$LINENO: checking for inline" >&5
19718 echo $ECHO_N "checking for inline... $ECHO_C" >&6
19719 if test "${ac_cv_c_inline+set}" = set; then
19720 echo $ECHO_N "(cached) $ECHO_C" >&6
19723 for ac_kw
in inline __inline__ __inline
; do
19724 cat >conftest.
$ac_ext <<_ACEOF
19727 cat confdefs.h
>>conftest.
$ac_ext
19728 cat >>conftest.
$ac_ext <<_ACEOF
19729 /* end confdefs.h. */
19730 #ifndef __cplusplus
19732 static $ac_kw foo_t static_foo () {return 0; }
19733 $ac_kw foo_t foo () {return 0; }
19737 rm -f conftest.
$ac_objext
19738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19739 (eval $ac_compile) 2>conftest.er1
19741 grep -v '^ *+' conftest.er1
>conftest.err
19743 cat conftest.err
>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); } &&
19746 { ac_try
='test -z "$ac_c_werror_flag"
19747 || test ! -s conftest.err'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; } &&
19753 { ac_try
='test -s conftest.$ac_objext'
19754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19755 (eval $ac_try) 2>&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); }; }; then
19759 ac_cv_c_inline
=$ac_kw; break
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.
$ac_ext >&5
19765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19769 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19770 echo "${ECHO_T}$ac_cv_c_inline" >&6
19773 case $ac_cv_c_inline in
19776 case $ac_cv_c_inline in
19778 *) ac_val
=$ac_cv_c_inline;;
19780 cat >>confdefs.h
<<_ACEOF
19781 #ifndef __cplusplus
19782 #define inline $ac_val
19789 echo "$as_me:$LINENO: checking for signed" >&5
19790 echo $ECHO_N "checking for signed... $ECHO_C" >&6
19791 if test "${bh_cv_c_signed+set}" = set; then
19792 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 cat >conftest.
$ac_ext <<_ACEOF
19797 cat confdefs.h
>>conftest.
$ac_ext
19798 cat >>conftest.
$ac_ext <<_ACEOF
19799 /* end confdefs.h. */
19809 rm -f conftest.
$ac_objext
19810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19811 (eval $ac_compile) 2>conftest.er1
19813 grep -v '^ *+' conftest.er1
>conftest.err
19815 cat conftest.err
>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } &&
19818 { ac_try
='test -z "$ac_c_werror_flag"
19819 || test ! -s conftest.err'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; } &&
19825 { ac_try
='test -s conftest.$ac_objext'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; }; then
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.
$ac_ext >&5
19838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19840 echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
19841 echo "${ECHO_T}$bh_cv_c_signed" >&6
19842 if test $bh_cv_c_signed = no
; then
19844 cat >>confdefs.h
<<\_ACEOF
19850 echo "$as_me:$LINENO: checking for size_t" >&5
19851 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19852 if test "${ac_cv_type_size_t+set}" = set; then
19853 echo $ECHO_N "(cached) $ECHO_C" >&6
19855 cat >conftest.
$ac_ext <<_ACEOF
19858 cat confdefs.h
>>conftest.
$ac_ext
19859 cat >>conftest.
$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 $ac_includes_default
19867 if (sizeof (size_t))
19873 rm -f conftest.
$ac_objext
19874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19875 (eval $ac_compile) 2>conftest.er1
19877 grep -v '^ *+' conftest.er1
>conftest.err
19879 cat conftest.err
>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } &&
19882 { ac_try
='test -z "$ac_c_werror_flag"
19883 || test ! -s conftest.err'
19884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 (eval $ac_try) 2>&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); }; } &&
19889 { ac_try
='test -s conftest.$ac_objext'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; }; then
19895 ac_cv_type_size_t
=yes
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.
$ac_ext >&5
19900 ac_cv_type_size_t
=no
19902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19904 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19905 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19906 if test $ac_cv_type_size_t = yes; then
19910 cat >>confdefs.h
<<_ACEOF
19911 #define size_t unsigned
19917 echo "$as_me:$LINENO: checking for long long" >&5
19918 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19919 if test "${ac_cv_type_long_long+set}" = set; then
19920 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 cat >conftest.
$ac_ext <<_ACEOF
19925 cat confdefs.h
>>conftest.
$ac_ext
19926 cat >>conftest.
$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 long long ll = 1LL; int i = 63;
19932 long long llmax = (long long) -1;
19933 return ll << i | ll >> i | llmax / ll | llmax % ll;
19938 rm -f conftest.
$ac_objext conftest
$ac_exeext
19939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19940 (eval $ac_link) 2>conftest.er1
19942 grep -v '^ *+' conftest.er1
>conftest.err
19944 cat conftest.err
>&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } &&
19947 { ac_try
='test -z "$ac_c_werror_flag"
19948 || test ! -s conftest.err'
19949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19950 (eval $ac_try) 2>&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); }; } &&
19954 { ac_try
='test -s conftest$ac_exeext'
19955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19956 (eval $ac_try) 2>&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); }; }; then
19960 ac_cv_type_long_long
=yes
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.
$ac_ext >&5
19965 ac_cv_type_long_long
=no
19967 rm -f conftest.err conftest.
$ac_objext \
19968 conftest
$ac_exeext conftest.
$ac_ext
19970 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19971 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19972 if test $ac_cv_type_long_long = yes; then
19974 cat >>confdefs.h
<<\_ACEOF
19975 #define HAVE_LONG_LONG 1
19981 echo "$as_me:$LINENO: checking for long double" >&5
19982 echo $ECHO_N "checking for long double... $ECHO_C" >&6
19983 if test "${gt_cv_c_long_double+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 if test "$GCC" = yes; then
19987 gt_cv_c_long_double
=yes
19989 cat >conftest.
$ac_ext <<_ACEOF
19992 cat confdefs.h
>>conftest.
$ac_ext
19993 cat >>conftest.
$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19996 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
19997 long double foo = 0.0;
19998 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
19999 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
20009 rm -f conftest.
$ac_objext
20010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20011 (eval $ac_compile) 2>conftest.er1
20013 grep -v '^ *+' conftest.er1
>conftest.err
20015 cat conftest.err
>&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } &&
20018 { ac_try
='test -z "$ac_c_werror_flag"
20019 || test ! -s conftest.err'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; } &&
20025 { ac_try
='test -s conftest.$ac_objext'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; }; then
20031 gt_cv_c_long_double
=yes
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.
$ac_ext >&5
20036 gt_cv_c_long_double
=no
20038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20041 echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
20042 echo "${ECHO_T}$gt_cv_c_long_double" >&6
20043 if test $gt_cv_c_long_double = yes; then
20045 cat >>confdefs.h
<<\_ACEOF
20046 #define HAVE_LONG_DOUBLE 1
20052 echo "$as_me:$LINENO: checking for wchar_t" >&5
20053 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20054 if test "${gt_cv_c_wchar_t+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 cat >conftest.
$ac_ext <<_ACEOF
20060 cat confdefs.h
>>conftest.
$ac_ext
20061 cat >>conftest.
$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 #include <stddef.h>
20064 wchar_t foo = (wchar_t)'\0';
20073 rm -f conftest.
$ac_objext
20074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20075 (eval $ac_compile) 2>conftest.er1
20077 grep -v '^ *+' conftest.er1
>conftest.err
20079 cat conftest.err
>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } &&
20082 { ac_try
='test -z "$ac_c_werror_flag"
20083 || test ! -s conftest.err'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; } &&
20089 { ac_try
='test -s conftest.$ac_objext'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; }; then
20095 gt_cv_c_wchar_t
=yes
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.
$ac_ext >&5
20102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20104 echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
20105 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6
20106 if test $gt_cv_c_wchar_t = yes; then
20108 cat >>confdefs.h
<<\_ACEOF
20109 #define HAVE_WCHAR_T 1
20115 echo "$as_me:$LINENO: checking for wint_t" >&5
20116 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6
20117 if test "${gt_cv_c_wint_t+set}" = set; then
20118 echo $ECHO_N "(cached) $ECHO_C" >&6
20120 cat >conftest.
$ac_ext <<_ACEOF
20123 cat confdefs.h
>>conftest.
$ac_ext
20124 cat >>conftest.
$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20127 wint_t foo = (wchar_t)'\0';
20136 rm -f conftest.
$ac_objext
20137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20138 (eval $ac_compile) 2>conftest.er1
20140 grep -v '^ *+' conftest.er1
>conftest.err
20142 cat conftest.err
>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } &&
20145 { ac_try
='test -z "$ac_c_werror_flag"
20146 || test ! -s conftest.err'
20147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20148 (eval $ac_try) 2>&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); }; } &&
20152 { ac_try
='test -s conftest.$ac_objext'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; }; then
20160 echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.
$ac_ext >&5
20165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20167 echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
20168 echo "${ECHO_T}$gt_cv_c_wint_t" >&6
20169 if test $gt_cv_c_wint_t = yes; then
20171 cat >>confdefs.h
<<\_ACEOF
20172 #define HAVE_WINT_T 1
20177 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
20178 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
20179 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
20180 echo $ECHO_N "(cached) $ECHO_C" >&6
20182 cat >conftest.
$ac_ext <<_ACEOF
20185 cat confdefs.h
>>conftest.
$ac_ext
20186 cat >>conftest.
$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 $ac_includes_default
20192 if ((ptrdiff_t *) 0)
20194 if (sizeof (ptrdiff_t))
20200 rm -f conftest.
$ac_objext
20201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20202 (eval $ac_compile) 2>conftest.er1
20204 grep -v '^ *+' conftest.er1
>conftest.err
20206 cat conftest.err
>&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); } &&
20209 { ac_try
='test -z "$ac_c_werror_flag"
20210 || test ! -s conftest.err'
20211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212 (eval $ac_try) 2>&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; } &&
20216 { ac_try
='test -s conftest.$ac_objext'
20217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218 (eval $ac_try) 2>&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); }; }; then
20222 ac_cv_type_ptrdiff_t
=yes
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.
$ac_ext >&5
20227 ac_cv_type_ptrdiff_t
=no
20229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20231 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
20232 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
20233 if test $ac_cv_type_ptrdiff_t = yes; then
20237 cat >>confdefs.h
<<\_ACEOF
20238 #define ptrdiff_t long
20245 echo "$as_me:$LINENO: checking for inttypes.h" >&5
20246 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
20247 if test "${gl_cv_header_inttypes_h+set}" = set; then
20248 echo $ECHO_N "(cached) $ECHO_C" >&6
20250 cat >conftest.
$ac_ext <<_ACEOF
20253 cat confdefs.h
>>conftest.
$ac_ext
20254 cat >>conftest.
$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20256 #include <sys/types.h>
20257 #include <inttypes.h>
20261 uintmax_t i = (uintmax_t) -1;
20266 rm -f conftest.
$ac_objext
20267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20268 (eval $ac_compile) 2>conftest.er1
20270 grep -v '^ *+' conftest.er1
>conftest.err
20272 cat conftest.err
>&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } &&
20275 { ac_try
='test -z "$ac_c_werror_flag"
20276 || test ! -s conftest.err'
20277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20278 (eval $ac_try) 2>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; } &&
20282 { ac_try
='test -s conftest.$ac_objext'
20283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20284 (eval $ac_try) 2>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; }; then
20288 gl_cv_header_inttypes_h
=yes
20290 echo "$as_me: failed program was:" >&5
20291 sed 's/^/| /' conftest.
$ac_ext >&5
20293 gl_cv_header_inttypes_h
=no
20295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20297 echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
20298 echo "${ECHO_T}$gl_cv_header_inttypes_h" >&6
20299 if test $gl_cv_header_inttypes_h = yes; then
20301 cat >>confdefs.h
<<_ACEOF
20302 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
20308 echo "$as_me:$LINENO: checking for stdint.h" >&5
20309 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
20310 if test "${gl_cv_header_stdint_h+set}" = set; then
20311 echo $ECHO_N "(cached) $ECHO_C" >&6
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 #include <sys/types.h>
20320 #include <stdint.h>
20324 uintmax_t i = (uintmax_t) -1;
20329 rm -f conftest.
$ac_objext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20331 (eval $ac_compile) 2>conftest.er1
20333 grep -v '^ *+' conftest.er1
>conftest.err
20335 cat conftest.err
>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try
='test -z "$ac_c_werror_flag"
20339 || test ! -s conftest.err'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; } &&
20345 { ac_try
='test -s conftest.$ac_objext'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; }; then
20351 gl_cv_header_stdint_h
=yes
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.
$ac_ext >&5
20356 gl_cv_header_stdint_h
=no
20358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20360 echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5
20361 echo "${ECHO_T}$gl_cv_header_stdint_h" >&6
20362 if test $gl_cv_header_stdint_h = yes; then
20364 cat >>confdefs.h
<<_ACEOF
20365 #define HAVE_STDINT_H_WITH_UINTMAX 1
20373 echo "$as_me:$LINENO: checking for intmax_t" >&5
20374 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
20375 if test "${gt_cv_c_intmax_t+set}" = set; then
20376 echo $ECHO_N "(cached) $ECHO_C" >&6
20378 cat >conftest.
$ac_ext <<_ACEOF
20381 cat confdefs.h
>>conftest.
$ac_ext
20382 cat >>conftest.
$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20385 #include <stddef.h>
20386 #include <stdlib.h>
20387 #if HAVE_STDINT_H_WITH_UINTMAX
20388 #include <stdint.h>
20390 #if HAVE_INTTYPES_H_WITH_UINTMAX
20391 #include <inttypes.h>
20402 rm -f conftest.
$ac_objext
20403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20404 (eval $ac_compile) 2>conftest.er1
20406 grep -v '^ *+' conftest.er1
>conftest.err
20408 cat conftest.err
>&5
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); } &&
20411 { ac_try
='test -z "$ac_c_werror_flag"
20412 || test ! -s conftest.err'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; } &&
20418 { ac_try
='test -s conftest.$ac_objext'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; }; then
20424 gt_cv_c_intmax_t
=yes
20426 echo "$as_me: failed program was:" >&5
20427 sed 's/^/| /' conftest.
$ac_ext >&5
20429 gt_cv_c_intmax_t
=no
20431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20433 echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
20434 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6
20435 if test $gt_cv_c_intmax_t = yes; then
20437 cat >>confdefs.h
<<\_ACEOF
20438 #define HAVE_INTMAX_T 1
20445 for ac_header
in stdint.h
20447 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20449 echo "$as_me:$LINENO: checking for $ac_header" >&5
20450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20457 # Is the header compilable?
20458 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20459 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20460 cat >conftest.
$ac_ext <<_ACEOF
20463 cat confdefs.h
>>conftest.
$ac_ext
20464 cat >>conftest.
$ac_ext <<_ACEOF
20465 /* end confdefs.h. */
20466 $ac_includes_default
20467 #include <$ac_header>
20469 rm -f conftest.
$ac_objext
20470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20471 (eval $ac_compile) 2>conftest.er1
20473 grep -v '^ *+' conftest.er1
>conftest.err
20475 cat conftest.err
>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } &&
20478 { ac_try
='test -z "$ac_c_werror_flag"
20479 || test ! -s conftest.err'
20480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20481 (eval $ac_try) 2>&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); }; } &&
20485 { ac_try
='test -s conftest.$ac_objext'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; }; then
20491 ac_header_compiler
=yes
20493 echo "$as_me: failed program was:" >&5
20494 sed 's/^/| /' conftest.
$ac_ext >&5
20496 ac_header_compiler
=no
20498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20500 echo "${ECHO_T}$ac_header_compiler" >&6
20502 # Is the header present?
20503 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20505 cat >conftest.
$ac_ext <<_ACEOF
20508 cat confdefs.h
>>conftest.
$ac_ext
20509 cat >>conftest.
$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511 #include <$ac_header>
20513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20514 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20516 grep -v '^ *+' conftest.er1
>conftest.err
20518 cat conftest.err
>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } >/dev
/null
; then
20521 if test -s conftest.err
; then
20522 ac_cpp_err
=$ac_c_preproc_warn_flag
20523 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20530 if test -z "$ac_cpp_err"; then
20531 ac_header_preproc
=yes
20533 echo "$as_me: failed program was:" >&5
20534 sed 's/^/| /' conftest.
$ac_ext >&5
20536 ac_header_preproc
=no
20538 rm -f conftest.err conftest.
$ac_ext
20539 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20540 echo "${ECHO_T}$ac_header_preproc" >&6
20542 # So? What about this header?
20543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20545 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20546 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20548 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20549 ac_header_preproc
=yes
20552 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20553 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20554 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20555 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20556 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20557 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20558 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20559 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20562 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20563 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20566 ## ------------------------------------------ ##
20567 ## Report this to the AC_PACKAGE_NAME lists. ##
20568 ## ------------------------------------------ ##
20571 sed "s/^/$as_me: WARNING: /" >&2
20574 echo "$as_me:$LINENO: checking for $ac_header" >&5
20575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20577 echo $ECHO_N "(cached) $ECHO_C" >&6
20579 eval "$as_ac_Header=\$ac_header_preproc"
20581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20586 cat >>confdefs.h
<<_ACEOF
20587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20594 echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
20595 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6
20597 cat >conftest.
$ac_ext <<_ACEOF
20600 cat confdefs.h
>>conftest.
$ac_ext
20601 cat >>conftest.
$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20604 #include <limits.h>
20606 #include <stdint.h>
20613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20614 $EGREP "Found it" >/dev
/null
2>&1; then
20619 if test -z "$result"; then
20620 if test "$cross_compiling" = yes; then
20621 # Depending upon the size, compute the lo and hi bounds.
20622 cat >conftest.
$ac_ext <<_ACEOF
20625 cat confdefs.h
>>conftest.
$ac_ext
20626 cat >>conftest.
$ac_ext <<_ACEOF
20627 /* end confdefs.h. */
20628 #include <stddef.h>
20632 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
20639 rm -f conftest.
$ac_objext
20640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20641 (eval $ac_compile) 2>conftest.er1
20643 grep -v '^ *+' conftest.er1
>conftest.err
20645 cat conftest.err
>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } &&
20648 { ac_try
='test -z "$ac_c_werror_flag"
20649 || test ! -s conftest.err'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; } &&
20655 { ac_try
='test -s conftest.$ac_objext'
20656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20657 (eval $ac_try) 2>&5
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; }; then
20663 cat >conftest.
$ac_ext <<_ACEOF
20666 cat confdefs.h
>>conftest.
$ac_ext
20667 cat >>conftest.
$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20669 #include <stddef.h>
20673 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
20680 rm -f conftest.
$ac_objext
20681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20682 (eval $ac_compile) 2>conftest.er1
20684 grep -v '^ *+' conftest.er1
>conftest.err
20686 cat conftest.err
>&5
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); } &&
20689 { ac_try
='test -z "$ac_c_werror_flag"
20690 || test ! -s conftest.err'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; } &&
20696 { ac_try
='test -s conftest.$ac_objext'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; }; then
20702 ac_hi
=$ac_mid; break
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.
$ac_ext >&5
20707 ac_lo
=`expr $ac_mid + 1`
20708 if test $ac_lo -le $ac_mid; then
20712 ac_mid
=`expr 2 '*' $ac_mid + 1`
20714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20717 echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.
$ac_ext >&5
20720 cat >conftest.
$ac_ext <<_ACEOF
20723 cat confdefs.h
>>conftest.
$ac_ext
20724 cat >>conftest.
$ac_ext <<_ACEOF
20725 /* end confdefs.h. */
20726 #include <stddef.h>
20730 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
20737 rm -f conftest.
$ac_objext
20738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20739 (eval $ac_compile) 2>conftest.er1
20741 grep -v '^ *+' conftest.er1
>conftest.err
20743 cat conftest.err
>&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); } &&
20746 { ac_try
='test -z "$ac_c_werror_flag"
20747 || test ! -s conftest.err'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; } &&
20753 { ac_try
='test -s conftest.$ac_objext'
20754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20755 (eval $ac_try) 2>&5
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); }; }; then
20761 cat >conftest.
$ac_ext <<_ACEOF
20764 cat confdefs.h
>>conftest.
$ac_ext
20765 cat >>conftest.
$ac_ext <<_ACEOF
20766 /* end confdefs.h. */
20767 #include <stddef.h>
20771 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
20778 rm -f conftest.
$ac_objext
20779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20780 (eval $ac_compile) 2>conftest.er1
20782 grep -v '^ *+' conftest.er1
>conftest.err
20784 cat conftest.err
>&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } &&
20787 { ac_try
='test -z "$ac_c_werror_flag"
20788 || test ! -s conftest.err'
20789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790 (eval $ac_try) 2>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); }; } &&
20794 { ac_try
='test -s conftest.$ac_objext'
20795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20796 (eval $ac_try) 2>&5
20798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20799 (exit $ac_status); }; }; then
20800 ac_lo
=$ac_mid; break
20802 echo "$as_me: failed program was:" >&5
20803 sed 's/^/| /' conftest.
$ac_ext >&5
20805 ac_hi
=`expr '(' $ac_mid ')' - 1`
20806 if test $ac_mid -le $ac_hi; then
20810 ac_mid
=`expr 2 '*' $ac_mid`
20812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20815 echo "$as_me: failed program was:" >&5
20816 sed 's/^/| /' conftest.
$ac_ext >&5
20820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20823 # Binary search between lo and hi bounds.
20824 while test "x$ac_lo" != "x$ac_hi"; do
20825 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20826 cat >conftest.
$ac_ext <<_ACEOF
20829 cat confdefs.h
>>conftest.
$ac_ext
20830 cat >>conftest.
$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20832 #include <stddef.h>
20836 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
20843 rm -f conftest.
$ac_objext
20844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20845 (eval $ac_compile) 2>conftest.er1
20847 grep -v '^ *+' conftest.er1
>conftest.err
20849 cat conftest.err
>&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } &&
20852 { ac_try
='test -z "$ac_c_werror_flag"
20853 || test ! -s conftest.err'
20854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20855 (eval $ac_try) 2>&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); }; } &&
20859 { ac_try
='test -s conftest.$ac_objext'
20860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20861 (eval $ac_try) 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); }; }; then
20867 echo "$as_me: failed program was:" >&5
20868 sed 's/^/| /' conftest.
$ac_ext >&5
20870 ac_lo
=`expr '(' $ac_mid ')' + 1`
20872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20875 ?
*) res_hi
=$ac_lo;;
20879 if test "$cross_compiling" = yes; then
20880 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20881 See \`config.log' for more details." >&5
20882 echo "$as_me: error: cannot run test program while cross compiling
20883 See \`config.log' for more details." >&2;}
20884 { (exit 1); exit 1; }; }
20886 cat >conftest.
$ac_ext <<_ACEOF
20889 cat confdefs.h
>>conftest.
$ac_ext
20890 cat >>conftest.
$ac_ext <<_ACEOF
20891 /* end confdefs.h. */
20892 #include <stddef.h>
20893 long longval () { return ~(size_t)0 / 10; }
20894 unsigned long ulongval () { return ~(size_t)0 / 10; }
20896 #include <stdlib.h>
20901 FILE *f = fopen ("conftest.val", "w");
20904 if ((~(size_t)0 / 10) < 0)
20906 long i = longval ();
20907 if (i != (~(size_t)0 / 10))
20909 fprintf (f, "%ld\n", i);
20913 unsigned long i = ulongval ();
20914 if (i != (~(size_t)0 / 10))
20916 fprintf (f, "%lu\n", i);
20918 exit (ferror (f) || fclose (f) != 0);
20924 rm -f conftest
$ac_exeext
20925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20926 (eval $ac_link) 2>&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; }; then
20935 res_hi
=`cat conftest.val`
20937 echo "$as_me: program exited with status $ac_status" >&5
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.
$ac_ext >&5
20941 ( exit $ac_status )
20944 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20948 if test "$cross_compiling" = yes; then
20949 # Depending upon the size, compute the lo and hi bounds.
20950 cat >conftest.
$ac_ext <<_ACEOF
20953 cat confdefs.h
>>conftest.
$ac_ext
20954 cat >>conftest.
$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 #include <stddef.h>
20960 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
20967 rm -f conftest.
$ac_objext
20968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20969 (eval $ac_compile) 2>conftest.er1
20971 grep -v '^ *+' conftest.er1
>conftest.err
20973 cat conftest.err
>&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); } &&
20976 { ac_try
='test -z "$ac_c_werror_flag"
20977 || test ! -s conftest.err'
20978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20979 (eval $ac_try) 2>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); }; } &&
20983 { ac_try
='test -s conftest.$ac_objext'
20984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20985 (eval $ac_try) 2>&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); }; }; then
20991 cat >conftest.
$ac_ext <<_ACEOF
20994 cat confdefs.h
>>conftest.
$ac_ext
20995 cat >>conftest.
$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 #include <stddef.h>
21001 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
21008 rm -f conftest.
$ac_objext
21009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21010 (eval $ac_compile) 2>conftest.er1
21012 grep -v '^ *+' conftest.er1
>conftest.err
21014 cat conftest.err
>&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } &&
21017 { ac_try
='test -z "$ac_c_werror_flag"
21018 || test ! -s conftest.err'
21019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21020 (eval $ac_try) 2>&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); }; } &&
21024 { ac_try
='test -s conftest.$ac_objext'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; }; then
21030 ac_hi
=$ac_mid; break
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.
$ac_ext >&5
21035 ac_lo
=`expr $ac_mid + 1`
21036 if test $ac_lo -le $ac_mid; then
21040 ac_mid
=`expr 2 '*' $ac_mid + 1`
21042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.
$ac_ext >&5
21048 cat >conftest.
$ac_ext <<_ACEOF
21051 cat confdefs.h
>>conftest.
$ac_ext
21052 cat >>conftest.
$ac_ext <<_ACEOF
21053 /* end confdefs.h. */
21054 #include <stddef.h>
21058 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
21065 rm -f conftest.
$ac_objext
21066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21067 (eval $ac_compile) 2>conftest.er1
21069 grep -v '^ *+' conftest.er1
>conftest.err
21071 cat conftest.err
>&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } &&
21074 { ac_try
='test -z "$ac_c_werror_flag"
21075 || test ! -s conftest.err'
21076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21077 (eval $ac_try) 2>&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); }; } &&
21081 { ac_try
='test -s conftest.$ac_objext'
21082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21083 (eval $ac_try) 2>&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); }; }; then
21089 cat >conftest.
$ac_ext <<_ACEOF
21092 cat confdefs.h
>>conftest.
$ac_ext
21093 cat >>conftest.
$ac_ext <<_ACEOF
21094 /* end confdefs.h. */
21095 #include <stddef.h>
21099 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
21106 rm -f conftest.
$ac_objext
21107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21108 (eval $ac_compile) 2>conftest.er1
21110 grep -v '^ *+' conftest.er1
>conftest.err
21112 cat conftest.err
>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } &&
21115 { ac_try
='test -z "$ac_c_werror_flag"
21116 || test ! -s conftest.err'
21117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21118 (eval $ac_try) 2>&5
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); }; } &&
21122 { ac_try
='test -s conftest.$ac_objext'
21123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21124 (eval $ac_try) 2>&5
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); }; }; then
21128 ac_lo
=$ac_mid; break
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.
$ac_ext >&5
21133 ac_hi
=`expr '(' $ac_mid ')' - 1`
21134 if test $ac_mid -le $ac_hi; then
21138 ac_mid
=`expr 2 '*' $ac_mid`
21140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.
$ac_ext >&5
21148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21151 # Binary search between lo and hi bounds.
21152 while test "x$ac_lo" != "x$ac_hi"; do
21153 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21154 cat >conftest.
$ac_ext <<_ACEOF
21157 cat confdefs.h
>>conftest.
$ac_ext
21158 cat >>conftest.
$ac_ext <<_ACEOF
21159 /* end confdefs.h. */
21160 #include <stddef.h>
21164 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
21171 rm -f conftest.
$ac_objext
21172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21173 (eval $ac_compile) 2>conftest.er1
21175 grep -v '^ *+' conftest.er1
>conftest.err
21177 cat conftest.err
>&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } &&
21180 { ac_try
='test -z "$ac_c_werror_flag"
21181 || test ! -s conftest.err'
21182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21183 (eval $ac_try) 2>&5
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); }; } &&
21187 { ac_try
='test -s conftest.$ac_objext'
21188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21189 (eval $ac_try) 2>&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); }; }; then
21195 echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.
$ac_ext >&5
21198 ac_lo
=`expr '(' $ac_mid ')' + 1`
21200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21203 ?
*) res_lo
=$ac_lo;;
21207 if test "$cross_compiling" = yes; then
21208 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21209 See \`config.log' for more details." >&5
21210 echo "$as_me: error: cannot run test program while cross compiling
21211 See \`config.log' for more details." >&2;}
21212 { (exit 1); exit 1; }; }
21214 cat >conftest.
$ac_ext <<_ACEOF
21217 cat confdefs.h
>>conftest.
$ac_ext
21218 cat >>conftest.
$ac_ext <<_ACEOF
21219 /* end confdefs.h. */
21220 #include <stddef.h>
21221 long longval () { return ~(size_t)0 % 10; }
21222 unsigned long ulongval () { return ~(size_t)0 % 10; }
21224 #include <stdlib.h>
21229 FILE *f = fopen ("conftest.val", "w");
21232 if ((~(size_t)0 % 10) < 0)
21234 long i = longval ();
21235 if (i != (~(size_t)0 % 10))
21237 fprintf (f, "%ld\n", i);
21241 unsigned long i = ulongval ();
21242 if (i != (~(size_t)0 % 10))
21244 fprintf (f, "%lu\n", i);
21246 exit (ferror (f) || fclose (f) != 0);
21252 rm -f conftest
$ac_exeext
21253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21254 (eval $ac_link) 2>&5
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21259 (eval $ac_try) 2>&5
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); }; }; then
21263 res_lo
=`cat conftest.val`
21265 echo "$as_me: program exited with status $ac_status" >&5
21266 echo "$as_me: failed program was:" >&5
21267 sed 's/^/| /' conftest.
$ac_ext >&5
21269 ( exit $ac_status )
21272 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21276 if test "$cross_compiling" = yes; then
21277 # Depending upon the size, compute the lo and hi bounds.
21278 cat >conftest.
$ac_ext <<_ACEOF
21281 cat confdefs.h
>>conftest.
$ac_ext
21282 cat >>conftest.
$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21284 #include <stddef.h>
21288 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
21295 rm -f conftest.
$ac_objext
21296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21297 (eval $ac_compile) 2>conftest.er1
21299 grep -v '^ *+' conftest.er1
>conftest.err
21301 cat conftest.err
>&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } &&
21304 { ac_try
='test -z "$ac_c_werror_flag"
21305 || test ! -s conftest.err'
21306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21307 (eval $ac_try) 2>&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); }; } &&
21311 { ac_try
='test -s conftest.$ac_objext'
21312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313 (eval $ac_try) 2>&5
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); }; }; then
21319 cat >conftest.
$ac_ext <<_ACEOF
21322 cat confdefs.h
>>conftest.
$ac_ext
21323 cat >>conftest.
$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 #include <stddef.h>
21329 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
21336 rm -f conftest.
$ac_objext
21337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21338 (eval $ac_compile) 2>conftest.er1
21340 grep -v '^ *+' conftest.er1
>conftest.err
21342 cat conftest.err
>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); } &&
21345 { ac_try
='test -z "$ac_c_werror_flag"
21346 || test ! -s conftest.err'
21347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21348 (eval $ac_try) 2>&5
21350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351 (exit $ac_status); }; } &&
21352 { ac_try
='test -s conftest.$ac_objext'
21353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21354 (eval $ac_try) 2>&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); }; }; then
21358 ac_hi
=$ac_mid; break
21360 echo "$as_me: failed program was:" >&5
21361 sed 's/^/| /' conftest.
$ac_ext >&5
21363 ac_lo
=`expr $ac_mid + 1`
21364 if test $ac_lo -le $ac_mid; then
21368 ac_mid
=`expr 2 '*' $ac_mid + 1`
21370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.
$ac_ext >&5
21376 cat >conftest.
$ac_ext <<_ACEOF
21379 cat confdefs.h
>>conftest.
$ac_ext
21380 cat >>conftest.
$ac_ext <<_ACEOF
21381 /* end confdefs.h. */
21382 #include <stddef.h>
21386 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
21393 rm -f conftest.
$ac_objext
21394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21395 (eval $ac_compile) 2>conftest.er1
21397 grep -v '^ *+' conftest.er1
>conftest.err
21399 cat conftest.err
>&5
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); } &&
21402 { ac_try
='test -z "$ac_c_werror_flag"
21403 || test ! -s conftest.err'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; } &&
21409 { ac_try
='test -s conftest.$ac_objext'
21410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21411 (eval $ac_try) 2>&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); }; }; then
21417 cat >conftest.
$ac_ext <<_ACEOF
21420 cat confdefs.h
>>conftest.
$ac_ext
21421 cat >>conftest.
$ac_ext <<_ACEOF
21422 /* end confdefs.h. */
21423 #include <stddef.h>
21427 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
21434 rm -f conftest.
$ac_objext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21436 (eval $ac_compile) 2>conftest.er1
21438 grep -v '^ *+' conftest.er1
>conftest.err
21440 cat conftest.err
>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try
='test -z "$ac_c_werror_flag"
21444 || test ! -s conftest.err'
21445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446 (eval $ac_try) 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; } &&
21450 { ac_try
='test -s conftest.$ac_objext'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; }; then
21456 ac_lo
=$ac_mid; break
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.
$ac_ext >&5
21461 ac_hi
=`expr '(' $ac_mid ')' - 1`
21462 if test $ac_mid -le $ac_hi; then
21466 ac_mid
=`expr 2 '*' $ac_mid`
21468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21471 echo "$as_me: failed program was:" >&5
21472 sed 's/^/| /' conftest.
$ac_ext >&5
21476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21479 # Binary search between lo and hi bounds.
21480 while test "x$ac_lo" != "x$ac_hi"; do
21481 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21482 cat >conftest.
$ac_ext <<_ACEOF
21485 cat confdefs.h
>>conftest.
$ac_ext
21486 cat >>conftest.
$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 #include <stddef.h>
21492 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
21499 rm -f conftest.
$ac_objext
21500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21501 (eval $ac_compile) 2>conftest.er1
21503 grep -v '^ *+' conftest.er1
>conftest.err
21505 cat conftest.err
>&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } &&
21508 { ac_try
='test -z "$ac_c_werror_flag"
21509 || test ! -s conftest.err'
21510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21511 (eval $ac_try) 2>&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); }; } &&
21515 { ac_try
='test -s conftest.$ac_objext'
21516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21517 (eval $ac_try) 2>&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); }; }; then
21523 echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.
$ac_ext >&5
21526 ac_lo
=`expr '(' $ac_mid ')' + 1`
21528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21531 ?
*) fits_in_uint
=$ac_lo;;
21535 if test "$cross_compiling" = yes; then
21536 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21537 See \`config.log' for more details." >&5
21538 echo "$as_me: error: cannot run test program while cross compiling
21539 See \`config.log' for more details." >&2;}
21540 { (exit 1); exit 1; }; }
21542 cat >conftest.
$ac_ext <<_ACEOF
21545 cat confdefs.h
>>conftest.
$ac_ext
21546 cat >>conftest.
$ac_ext <<_ACEOF
21547 /* end confdefs.h. */
21548 #include <stddef.h>
21549 long longval () { return sizeof (size_t) <= sizeof (unsigned int); }
21550 unsigned long ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
21552 #include <stdlib.h>
21557 FILE *f = fopen ("conftest.val", "w");
21560 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
21562 long i = longval ();
21563 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
21565 fprintf (f, "%ld\n", i);
21569 unsigned long i = ulongval ();
21570 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
21572 fprintf (f, "%lu\n", i);
21574 exit (ferror (f) || fclose (f) != 0);
21580 rm -f conftest
$ac_exeext
21581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21582 (eval $ac_link) 2>&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21587 (eval $ac_try) 2>&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); }; }; then
21591 fits_in_uint
=`cat conftest.val`
21593 echo "$as_me: program exited with status $ac_status" >&5
21594 echo "$as_me: failed program was:" >&5
21595 sed 's/^/| /' conftest.
$ac_ext >&5
21597 ( exit $ac_status )
21600 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21604 if test "$fits_in_uint" = 1; then
21605 cat >conftest.
$ac_ext <<_ACEOF
21608 cat confdefs.h
>>conftest.
$ac_ext
21609 cat >>conftest.
$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 #include <stddef.h>
21613 extern unsigned long foo;
21623 rm -f conftest.
$ac_objext
21624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21625 (eval $ac_compile) 2>conftest.er1
21627 grep -v '^ *+' conftest.er1
>conftest.err
21629 cat conftest.err
>&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } &&
21632 { ac_try
='test -z "$ac_c_werror_flag"
21633 || test ! -s conftest.err'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; } &&
21639 { ac_try
='test -s conftest.$ac_objext'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; }; then
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.
$ac_ext >&5
21651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21653 if test -z "$result"; then
21654 if test "$fits_in_uint" = 1; then
21655 result
="$res_hi$res_lo"U
21657 result
="$res_hi$res_lo"UL
21660 result
='~(size_t)0'
21663 echo "$as_me:$LINENO: result: $result" >&5
21664 echo "${ECHO_T}$result" >&6
21665 if test "$result" != yes; then
21667 cat >>confdefs.h
<<_ACEOF
21668 #define SIZE_MAX $result
21677 for ac_header
in stdint.h
21679 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21681 echo "$as_me:$LINENO: checking for $ac_header" >&5
21682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21684 echo $ECHO_N "(cached) $ECHO_C" >&6
21686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21689 # Is the header compilable?
21690 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21692 cat >conftest.
$ac_ext <<_ACEOF
21695 cat confdefs.h
>>conftest.
$ac_ext
21696 cat >>conftest.
$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 $ac_includes_default
21699 #include <$ac_header>
21701 rm -f conftest.
$ac_objext
21702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21703 (eval $ac_compile) 2>conftest.er1
21705 grep -v '^ *+' conftest.er1
>conftest.err
21707 cat conftest.err
>&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); } &&
21710 { ac_try
='test -z "$ac_c_werror_flag"
21711 || test ! -s conftest.err'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; } &&
21717 { ac_try
='test -s conftest.$ac_objext'
21718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719 (eval $ac_try) 2>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; }; then
21723 ac_header_compiler
=yes
21725 echo "$as_me: failed program was:" >&5
21726 sed 's/^/| /' conftest.
$ac_ext >&5
21728 ac_header_compiler
=no
21730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21732 echo "${ECHO_T}$ac_header_compiler" >&6
21734 # Is the header present?
21735 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21736 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21737 cat >conftest.
$ac_ext <<_ACEOF
21740 cat confdefs.h
>>conftest.
$ac_ext
21741 cat >>conftest.
$ac_ext <<_ACEOF
21742 /* end confdefs.h. */
21743 #include <$ac_header>
21745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21746 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21748 grep -v '^ *+' conftest.er1
>conftest.err
21750 cat conftest.err
>&5
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); } >/dev
/null
; then
21753 if test -s conftest.err
; then
21754 ac_cpp_err
=$ac_c_preproc_warn_flag
21755 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21762 if test -z "$ac_cpp_err"; then
21763 ac_header_preproc
=yes
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.
$ac_ext >&5
21768 ac_header_preproc
=no
21770 rm -f conftest.err conftest.
$ac_ext
21771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21772 echo "${ECHO_T}$ac_header_preproc" >&6
21774 # So? What about this header?
21775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21777 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21778 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21780 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21781 ac_header_preproc
=yes
21784 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21785 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21786 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21787 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21788 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21789 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21790 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21791 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21794 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21795 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21798 ## ------------------------------------------ ##
21799 ## Report this to the AC_PACKAGE_NAME lists. ##
21800 ## ------------------------------------------ ##
21803 sed "s/^/$as_me: WARNING: /" >&2
21806 echo "$as_me:$LINENO: checking for $ac_header" >&5
21807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21809 echo $ECHO_N "(cached) $ECHO_C" >&6
21811 eval "$as_ac_Header=\$ac_header_preproc"
21813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21818 cat >>confdefs.h
<<_ACEOF
21819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21829 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21830 # for constant arguments. Useless!
21831 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21832 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21833 if test "${ac_cv_working_alloca_h+set}" = set; then
21834 echo $ECHO_N "(cached) $ECHO_C" >&6
21836 cat >conftest.
$ac_ext <<_ACEOF
21839 cat confdefs.h
>>conftest.
$ac_ext
21840 cat >>conftest.
$ac_ext <<_ACEOF
21841 /* end confdefs.h. */
21842 #include <alloca.h>
21846 char *p = (char *) alloca (2 * sizeof (int));
21851 rm -f conftest.
$ac_objext conftest
$ac_exeext
21852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21853 (eval $ac_link) 2>conftest.er1
21855 grep -v '^ *+' conftest.er1
>conftest.err
21857 cat conftest.err
>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); } &&
21860 { ac_try
='test -z "$ac_c_werror_flag"
21861 || test ! -s conftest.err'
21862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21863 (eval $ac_try) 2>&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); }; } &&
21867 { ac_try
='test -s conftest$ac_exeext'
21868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21869 (eval $ac_try) 2>&5
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); }; }; then
21873 ac_cv_working_alloca_h
=yes
21875 echo "$as_me: failed program was:" >&5
21876 sed 's/^/| /' conftest.
$ac_ext >&5
21878 ac_cv_working_alloca_h
=no
21880 rm -f conftest.err conftest.
$ac_objext \
21881 conftest
$ac_exeext conftest.
$ac_ext
21883 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21884 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21885 if test $ac_cv_working_alloca_h = yes; then
21887 cat >>confdefs.h
<<\_ACEOF
21888 #define HAVE_ALLOCA_H 1
21893 echo "$as_me:$LINENO: checking for alloca" >&5
21894 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21895 if test "${ac_cv_func_alloca_works+set}" = set; then
21896 echo $ECHO_N "(cached) $ECHO_C" >&6
21898 cat >conftest.
$ac_ext <<_ACEOF
21901 cat confdefs.h
>>conftest.
$ac_ext
21902 cat >>conftest.
$ac_ext <<_ACEOF
21903 /* end confdefs.h. */
21905 # define alloca __builtin_alloca
21908 # include <malloc.h>
21909 # define alloca _alloca
21912 # include <alloca.h>
21917 # ifndef alloca /* predefined by HP cc +Olibcalls */
21928 char *p = (char *) alloca (1);
21933 rm -f conftest.
$ac_objext conftest
$ac_exeext
21934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21935 (eval $ac_link) 2>conftest.er1
21937 grep -v '^ *+' conftest.er1
>conftest.err
21939 cat conftest.err
>&5
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); } &&
21942 { ac_try
='test -z "$ac_c_werror_flag"
21943 || test ! -s conftest.err'
21944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945 (eval $ac_try) 2>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); }; } &&
21949 { ac_try
='test -s conftest$ac_exeext'
21950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21951 (eval $ac_try) 2>&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); }; }; then
21955 ac_cv_func_alloca_works
=yes
21957 echo "$as_me: failed program was:" >&5
21958 sed 's/^/| /' conftest.
$ac_ext >&5
21960 ac_cv_func_alloca_works
=no
21962 rm -f conftest.err conftest.
$ac_objext \
21963 conftest
$ac_exeext conftest.
$ac_ext
21965 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21966 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21968 if test $ac_cv_func_alloca_works = yes; then
21970 cat >>confdefs.h
<<\_ACEOF
21971 #define HAVE_ALLOCA 1
21975 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21976 # that cause trouble. Some versions do not even contain alloca or
21977 # contain a buggy version. If you still want to use their alloca,
21978 # use ar to extract alloca.o from them instead of compiling alloca.c.
21980 ALLOCA
=alloca.
$ac_objext
21982 cat >>confdefs.h
<<\_ACEOF
21987 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21988 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21989 if test "${ac_cv_os_cray+set}" = set; then
21990 echo $ECHO_N "(cached) $ECHO_C" >&6
21992 cat >conftest.
$ac_ext <<_ACEOF
21995 cat confdefs.h
>>conftest.
$ac_ext
21996 cat >>conftest.
$ac_ext <<_ACEOF
21997 /* end confdefs.h. */
21998 #if defined(CRAY) && ! defined(CRAY2)
22005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22006 $EGREP "webecray" >/dev
/null
2>&1; then
22014 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
22015 echo "${ECHO_T}$ac_cv_os_cray" >&6
22016 if test $ac_cv_os_cray = yes; then
22017 for ac_func
in _getb67 GETB67 getb67
; do
22018 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22019 echo "$as_me:$LINENO: checking for $ac_func" >&5
22020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22021 if eval "test \"\${$as_ac_var+set}\" = set"; then
22022 echo $ECHO_N "(cached) $ECHO_C" >&6
22024 cat >conftest.
$ac_ext <<_ACEOF
22027 cat confdefs.h
>>conftest.
$ac_ext
22028 cat >>conftest.
$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22032 #define $ac_func innocuous_$ac_func
22034 /* System header to define __stub macros and hopefully few prototypes,
22035 which can conflict with char $ac_func (); below.
22036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22037 <limits.h> exists even on freestanding compilers. */
22040 # include <limits.h>
22042 # include <assert.h>
22047 /* Override any gcc2 internal prototype to avoid an error. */
22052 /* We use char because int might match the return type of a gcc2
22053 builtin and then its argument prototype would still apply. */
22055 /* The GNU C library defines this for functions which it implements
22056 to always fail with ENOSYS. Some functions are actually named
22057 something starting with __ and the normal name is an alias. */
22058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22061 char (*f) () = $ac_func;
22070 return f != $ac_func;
22075 rm -f conftest.
$ac_objext conftest
$ac_exeext
22076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22077 (eval $ac_link) 2>conftest.er1
22079 grep -v '^ *+' conftest.er1
>conftest.err
22081 cat conftest.err
>&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } &&
22084 { ac_try
='test -z "$ac_c_werror_flag"
22085 || test ! -s conftest.err'
22086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087 (eval $ac_try) 2>&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; } &&
22091 { ac_try
='test -s conftest$ac_exeext'
22092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093 (eval $ac_try) 2>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; }; then
22097 eval "$as_ac_var=yes"
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.
$ac_ext >&5
22102 eval "$as_ac_var=no"
22104 rm -f conftest.err conftest.
$ac_objext \
22105 conftest
$ac_exeext conftest.
$ac_ext
22107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22109 if test `eval echo '${'$as_ac_var'}'` = yes; then
22111 cat >>confdefs.h
<<_ACEOF
22112 #define CRAY_STACKSEG_END $ac_func
22121 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
22122 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
22123 if test "${ac_cv_c_stack_direction+set}" = set; then
22124 echo $ECHO_N "(cached) $ECHO_C" >&6
22126 if test "$cross_compiling" = yes; then
22127 ac_cv_c_stack_direction
=0
22129 cat >conftest.
$ac_ext <<_ACEOF
22132 cat confdefs.h
>>conftest.
$ac_ext
22133 cat >>conftest.
$ac_ext <<_ACEOF
22134 /* end confdefs.h. */
22136 find_stack_direction ()
22138 static char *addr = 0;
22143 return find_stack_direction ();
22146 return (&dummy > addr) ? 1 : -1;
22152 exit (find_stack_direction () < 0);
22155 rm -f conftest
$ac_exeext
22156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22157 (eval $ac_link) 2>&5
22159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22162 (eval $ac_try) 2>&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); }; }; then
22166 ac_cv_c_stack_direction
=1
22168 echo "$as_me: program exited with status $ac_status" >&5
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.
$ac_ext >&5
22172 ( exit $ac_status )
22173 ac_cv_c_stack_direction
=-1
22175 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22178 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
22179 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
22181 cat >>confdefs.h
<<_ACEOF
22182 #define STACK_DIRECTION $ac_cv_c_stack_direction
22188 cat >conftest.
$ac_ext <<_ACEOF
22191 cat confdefs.h
>>conftest.
$ac_ext
22192 cat >>conftest.
$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22195 #if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H
22200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22201 $EGREP "Need own alloca" >/dev
/null
2>&1; then
22213 for ac_func
in snprintf vasprintf wcslen
22215 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22216 echo "$as_me:$LINENO: checking for $ac_func" >&5
22217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22218 if eval "test \"\${$as_ac_var+set}\" = set"; then
22219 echo $ECHO_N "(cached) $ECHO_C" >&6
22221 cat >conftest.
$ac_ext <<_ACEOF
22224 cat confdefs.h
>>conftest.
$ac_ext
22225 cat >>conftest.
$ac_ext <<_ACEOF
22226 /* end confdefs.h. */
22227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22229 #define $ac_func innocuous_$ac_func
22231 /* System header to define __stub macros and hopefully few prototypes,
22232 which can conflict with char $ac_func (); below.
22233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22234 <limits.h> exists even on freestanding compilers. */
22237 # include <limits.h>
22239 # include <assert.h>
22244 /* Override any gcc2 internal prototype to avoid an error. */
22249 /* We use char because int might match the return type of a gcc2
22250 builtin and then its argument prototype would still apply. */
22252 /* The GNU C library defines this for functions which it implements
22253 to always fail with ENOSYS. Some functions are actually named
22254 something starting with __ and the normal name is an alias. */
22255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22258 char (*f) () = $ac_func;
22267 return f != $ac_func;
22272 rm -f conftest.
$ac_objext conftest
$ac_exeext
22273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22274 (eval $ac_link) 2>conftest.er1
22276 grep -v '^ *+' conftest.er1
>conftest.err
22278 cat conftest.err
>&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); } &&
22281 { ac_try
='test -z "$ac_c_werror_flag"
22282 || test ! -s conftest.err'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; } &&
22288 { ac_try
='test -s conftest$ac_exeext'
22289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290 (eval $ac_try) 2>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; }; then
22294 eval "$as_ac_var=yes"
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.
$ac_ext >&5
22299 eval "$as_ac_var=no"
22301 rm -f conftest.err conftest.
$ac_objext \
22302 conftest
$ac_exeext conftest.
$ac_ext
22304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22306 if test `eval echo '${'$as_ac_var'}'` = yes; then
22307 cat >>confdefs.h
<<_ACEOF
22308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22314 echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
22315 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6
22316 if test "${ac_cv_have_decl__snprintf+set}" = set; then
22317 echo $ECHO_N "(cached) $ECHO_C" >&6
22319 cat >conftest.
$ac_ext <<_ACEOF
22322 cat confdefs.h
>>conftest.
$ac_ext
22323 cat >>conftest.
$ac_ext <<_ACEOF
22324 /* end confdefs.h. */
22325 $ac_includes_default
22330 char *p = (char *) _snprintf;
22337 rm -f conftest.
$ac_objext
22338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22339 (eval $ac_compile) 2>conftest.er1
22341 grep -v '^ *+' conftest.er1
>conftest.err
22343 cat conftest.err
>&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } &&
22346 { ac_try
='test -z "$ac_c_werror_flag"
22347 || test ! -s conftest.err'
22348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349 (eval $ac_try) 2>&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; } &&
22353 { ac_try
='test -s conftest.$ac_objext'
22354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22355 (eval $ac_try) 2>&5
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); }; }; then
22359 ac_cv_have_decl__snprintf
=yes
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.
$ac_ext >&5
22364 ac_cv_have_decl__snprintf
=no
22366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22368 echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
22369 echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6
22370 if test $ac_cv_have_decl__snprintf = yes; then
22372 cat >>confdefs.h
<<_ACEOF
22373 #define HAVE_DECL__SNPRINTF 1
22378 cat >>confdefs.h
<<_ACEOF
22379 #define HAVE_DECL__SNPRINTF 0
22388 echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
22389 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6
22390 if test "${gt_cv_func_printf_posix+set}" = set; then
22391 echo $ECHO_N "(cached) $ECHO_C" >&6
22394 if test "$cross_compiling" = yes; then
22396 cat >conftest.
$ac_ext <<_ACEOF
22399 cat confdefs.h
>>conftest.
$ac_ext
22400 cat >>conftest.
$ac_ext <<_ACEOF
22401 /* end confdefs.h. */
22403 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
22408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22409 $EGREP "notposix" >/dev
/null
2>&1; then
22410 gt_cv_func_printf_posix
="guessing no"
22412 gt_cv_func_printf_posix
="guessing yes"
22418 cat >conftest.
$ac_ext <<_ACEOF
22421 cat confdefs.h
>>conftest.
$ac_ext
22422 cat >>conftest.
$ac_ext <<_ACEOF
22423 /* end confdefs.h. */
22426 #include <string.h>
22427 /* The string "%2$d %1$d", with dollar characters protected from the shell's
22428 dollar expansion (possibly an autoconf bug). */
22429 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
22430 static char buf[100];
22433 sprintf (buf, format, 33, 55);
22434 return (strcmp (buf, "55 33") != 0);
22437 rm -f conftest
$ac_exeext
22438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22439 (eval $ac_link) 2>&5
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444 (eval $ac_try) 2>&5
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; }; then
22448 gt_cv_func_printf_posix
=yes
22450 echo "$as_me: program exited with status $ac_status" >&5
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.
$ac_ext >&5
22454 ( exit $ac_status )
22455 gt_cv_func_printf_posix
=no
22457 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22461 echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
22462 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6
22463 case $gt_cv_func_printf_posix in
22466 cat >>confdefs.h
<<\_ACEOF
22467 #define HAVE_POSIX_PRINTF 1
22474 ac_aux_dir_abs
=`cd $ac_aux_dir && pwd`
22475 # Extract the first word of "dvips", so it can be a program name with args.
22476 set dummy dvips
; ac_word
=$2
22477 echo "$as_me:$LINENO: checking for $ac_word" >&5
22478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22479 if test "${ac_cv_path_DVIPS+set}" = set; then
22480 echo $ECHO_N "(cached) $ECHO_C" >&6
22484 ac_cv_path_DVIPS
="$DVIPS" # Let the user override the test with a path.
22487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22488 for as_dir
in $PATH
22491 test -z "$as_dir" && as_dir
=.
22492 for ac_exec_ext
in '' $ac_executable_extensions; do
22493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22494 ac_cv_path_DVIPS
="$as_dir/$ac_word$ac_exec_ext"
22495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22501 test -z "$ac_cv_path_DVIPS" && ac_cv_path_DVIPS
="$ac_aux_dir_abs/missing dvips"
22505 DVIPS
=$ac_cv_path_DVIPS
22507 if test -n "$DVIPS"; then
22508 echo "$as_me:$LINENO: result: $DVIPS" >&5
22509 echo "${ECHO_T}$DVIPS" >&6
22511 echo "$as_me:$LINENO: result: no" >&5
22512 echo "${ECHO_T}no" >&6
22515 # Extract the first word of "texi2pdf", so it can be a program name with args.
22516 set dummy texi2pdf
; ac_word
=$2
22517 echo "$as_me:$LINENO: checking for $ac_word" >&5
22518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22519 if test "${ac_cv_path_TEXI2PDF+set}" = set; then
22520 echo $ECHO_N "(cached) $ECHO_C" >&6
22524 ac_cv_path_TEXI2PDF
="$TEXI2PDF" # Let the user override the test with a path.
22527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22528 for as_dir
in $PATH
22531 test -z "$as_dir" && as_dir
=.
22532 for ac_exec_ext
in '' $ac_executable_extensions; do
22533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22534 ac_cv_path_TEXI2PDF
="$as_dir/$ac_word$ac_exec_ext"
22535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22541 test -z "$ac_cv_path_TEXI2PDF" && ac_cv_path_TEXI2PDF
="$ac_aux_dir_abs/missing texi2pdf"
22545 TEXI2PDF
=$ac_cv_path_TEXI2PDF
22547 if test -n "$TEXI2PDF"; then
22548 echo "$as_me:$LINENO: result: $TEXI2PDF" >&5
22549 echo "${ECHO_T}$TEXI2PDF" >&6
22551 echo "$as_me:$LINENO: result: no" >&5
22552 echo "${ECHO_T}no" >&6
22555 # Extract the first word of "perl", so it can be a program name with args.
22556 set dummy perl
; ac_word
=$2
22557 echo "$as_me:$LINENO: checking for $ac_word" >&5
22558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22559 if test "${ac_cv_path_PERL+set}" = set; then
22560 echo $ECHO_N "(cached) $ECHO_C" >&6
22564 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
22567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22568 for as_dir
in $PATH
22571 test -z "$as_dir" && as_dir
=.
22572 for ac_exec_ext
in '' $ac_executable_extensions; do
22573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22574 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
22575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22581 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="$ac_aux_dir_abs/missing perl"
22585 PERL
=$ac_cv_path_PERL
22587 if test -n "$PERL"; then
22588 echo "$as_me:$LINENO: result: $PERL" >&5
22589 echo "${ECHO_T}$PERL" >&6
22591 echo "$as_me:$LINENO: result: no" >&5
22592 echo "${ECHO_T}no" >&6
22596 ac_config_files
="$ac_config_files Makefile"
22599 cat >confcache
<<\_ACEOF
22600 # This file is a shell script that caches the results of configure
22601 # tests run on this system so they can be shared between configure
22602 # scripts and configure runs, see configure's option --config-cache.
22603 # It is not useful on other systems. If it contains results you don't
22604 # want to keep, you may remove or edit it.
22606 # config.status only pays attention to the cache file if you give it
22607 # the --recheck option to rerun configure.
22609 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22610 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22611 # following values.
22615 # The following way of writing the cache mishandles newlines in values,
22616 # but we know of no workaround that is simple, portable, and efficient.
22617 # So, don't put newlines in cache variables' values.
22618 # Ultrix sh set writes to stderr and can't be redirected directly,
22619 # and sets the high bit in the cache file unless we assign to the vars.
22622 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22624 # `set' does not quote correctly, so add quotes (double-quote
22625 # substitution turns \\\\ into \\, and sed turns \\ into \).
22628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22631 # `set' quotes correctly as required by POSIX, so do not add quotes.
22633 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22640 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22642 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22644 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22645 if test -w $cache_file; then
22646 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22647 cat confcache
>$cache_file
22649 echo "not updating unwritable cache $cache_file"
22654 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22655 # Let make expand exec_prefix.
22656 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22658 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22659 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22660 # trailing colons and then remove the whole line if VPATH becomes empty
22661 # (actually we leave an empty line to preserve line numbers).
22662 if test "x$srcdir" = x.
; then
22663 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22664 s/:*\$(srcdir):*/:/;
22665 s/:*\${srcdir}:*/:/;
22667 s/^\([^=]*=[ ]*\):*/\1/;
22673 DEFS
=-DHAVE_CONFIG_H
22677 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22678 # 1. Remove the extension, and $U if already installed.
22679 ac_i
=`echo "$ac_i" |
22680 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22682 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22683 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22685 LIBOBJS
=$ac_libobjs
22687 LTLIBOBJS
=$ac_ltlibobjs
22690 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22691 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22692 Usually this means the macro was only invoked conditionally." >&5
22693 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22694 Usually this means the macro was only invoked conditionally." >&2;}
22695 { (exit 1); exit 1; }; }
22697 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22698 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22699 Usually this means the macro was only invoked conditionally." >&5
22700 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22701 Usually this means the macro was only invoked conditionally." >&2;}
22702 { (exit 1); exit 1; }; }
22704 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22705 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22706 Usually this means the macro was only invoked conditionally." >&5
22707 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22708 Usually this means the macro was only invoked conditionally." >&2;}
22709 { (exit 1); exit 1; }; }
22712 : ${CONFIG_STATUS=./config.status}
22713 ac_clean_files_save
=$ac_clean_files
22714 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22715 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22716 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22717 cat >$CONFIG_STATUS <<_ACEOF
22719 # Generated by $as_me.
22720 # Run this file to recreate the current configuration.
22721 # Compiler output produced by configure, useful for debugging
22722 # configure, is in config.log if it exists.
22725 ac_cs_recheck=false
22727 SHELL=\${CONFIG_SHELL-$SHELL}
22730 cat >>$CONFIG_STATUS <<\_ACEOF
22731 ## --------------------- ##
22732 ## M4sh Initialization. ##
22733 ## --------------------- ##
22735 # Be Bourne compatible
22736 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22739 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22740 # is contrary to our usage. Disable this feature.
22741 alias -g '${1+"$@"}'='"$@"'
22742 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22745 DUALCASE
=1; export DUALCASE
# for MKS sh
22747 # Support unset when possible.
22748 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22755 # Work around bugs in pre-3.0 UWIN ksh.
22756 $as_unset ENV MAIL MAILPATH
22763 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22764 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22765 LC_TELEPHONE LC_TIME
22767 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22768 eval $as_var=C
; export $as_var
22774 # Required to use basename.
22775 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22781 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22782 as_basename
=basename
22788 # Name of the executable.
22789 as_me
=`$as_basename "$0" ||
22790 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22791 X"$0" : 'X\(//\)$' \| \
22792 X"$0" : 'X\(/\)$' \| \
22793 . : '\(.\)' 2>/dev/null ||
22795 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22796 /^X\/\(\/\/\)$/{ s//\1/; q; }
22797 /^X\/\(\/\).*/{ s//\1/; q; }
22801 # PATH needs CR, and LINENO needs CR and PATH.
22802 # Avoid depending upon Character Ranges.
22803 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22804 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22805 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22806 as_cr_digits
='0123456789'
22807 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22809 # The user is always right.
22810 if test "${PATH_SEPARATOR+set}" != set; then
22811 echo "#! /bin/sh" >conf$$.sh
22812 echo "exit 0" >>conf$$.sh
22814 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22823 as_lineno_1
=$LINENO
22824 as_lineno_2
=$LINENO
22825 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22826 test "x$as_lineno_1" != "x$as_lineno_2" &&
22827 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22828 # Find who we are. Look in the path if we contain no path at all
22831 *[\\/]* ) as_myself
=$0 ;;
22832 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22833 for as_dir
in $PATH
22836 test -z "$as_dir" && as_dir
=.
22837 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22842 # We did not find ourselves, most probably we were run as `sh COMMAND'
22843 # in which case we are not to be found in the path.
22844 if test "x$as_myself" = x
; then
22847 if test ! -f "$as_myself"; then
22848 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22849 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22850 { (exit 1); exit 1; }; }
22852 case $CONFIG_SHELL in
22854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22855 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22858 test -z "$as_dir" && as_dir
=.
22859 for as_base
in sh bash ksh sh5
; do
22862 if ("$as_dir/$as_base" -c '
22863 as_lineno_1=$LINENO
22864 as_lineno_2=$LINENO
22865 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22866 test "x$as_lineno_1" != "x$as_lineno_2" &&
22867 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22868 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22869 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22870 CONFIG_SHELL
=$as_dir/$as_base
22871 export CONFIG_SHELL
22872 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22880 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22881 # uniformly replaced by the line number. The first 'sed' inserts a
22882 # line-number line before each line; the second 'sed' does the real
22883 # work. The second script uses 'N' to pair each line-number line
22884 # with the numbered line, and appends trailing '-' during
22885 # substitution so that $LINENO is not a special case at line end.
22886 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22887 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22888 sed '=' <$as_myself |
22893 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22896 s,^['$as_cr_digits']*\n,,
22897 ' >$as_me.lineno
&&
22898 chmod +x
$as_me.lineno ||
22899 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22900 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22901 { (exit 1); exit 1; }; }
22903 # Don't try to exec as it changes $[0], causing all sort of problems
22904 # (the dirname of $[0] is not the place where we might find the
22905 # original and so on. Autoconf is especially sensible to this).
22907 # Exit status is that of the last command.
22912 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22913 *c
*,-n*) ECHO_N
= ECHO_C
='
22915 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22916 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22919 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22925 rm -f conf$$ conf$$.exe conf$$.
file
22927 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22928 # We could just check for DJGPP; but this test a) works b) is more generic
22929 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22930 if test -f conf$$.exe
; then
22931 # Don't use ln at all; we don't have any links
22936 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22941 rm -f conf$$ conf$$.exe conf$$.
file
22943 if mkdir
-p .
2>/dev
/null
; then
22946 test -d .
/-p && rmdir .
/-p
22950 as_executable_p
="test -f"
22952 # Sed expression to map a string onto a valid CPP name.
22953 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22955 # Sed expression to map a string onto a valid variable name.
22956 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22960 # We need space, tab and new line, in precisely that order.
22970 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22971 # report actual input values of CONFIG_FILES etc. instead of their
22972 # values after options handling. Logging --version etc. is OK.
22976 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22977 ## Running $as_me. ##
22982 This file was extended by $as_me, which was
22983 generated by GNU Autoconf 2.59. Invocation command line was
22985 CONFIG_FILES = $CONFIG_FILES
22986 CONFIG_HEADERS = $CONFIG_HEADERS
22987 CONFIG_LINKS = $CONFIG_LINKS
22988 CONFIG_COMMANDS = $CONFIG_COMMANDS
22992 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22996 # Files that config.status was made for.
22997 if test -n "$ac_config_files"; then
22998 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23001 if test -n "$ac_config_headers"; then
23002 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23005 if test -n "$ac_config_links"; then
23006 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23009 if test -n "$ac_config_commands"; then
23010 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23013 cat >>$CONFIG_STATUS <<\_ACEOF
23016 \`$as_me' instantiates files from templates according to the
23017 current configuration.
23019 Usage: $0 [OPTIONS] [FILE]...
23021 -h, --help print this help, then exit
23022 -V, --version print version number, then exit
23023 -q, --quiet do not print progress messages
23024 -d, --debug don't remove temporary files
23025 --recheck update $as_me by reconfiguring in the same conditions
23026 --file=FILE[:TEMPLATE]
23027 instantiate the configuration file FILE
23028 --header=FILE[:TEMPLATE]
23029 instantiate the configuration header FILE
23031 Configuration files:
23034 Configuration headers:
23037 Configuration commands:
23040 Report bugs to <bug-autoconf@gnu.org>."
23043 cat >>$CONFIG_STATUS <<_ACEOF
23046 configured by $0, generated by GNU Autoconf 2.59,
23047 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23049 Copyright (C) 2003 Free Software Foundation, Inc.
23050 This config.status script is free software; the Free Software Foundation
23051 gives unlimited permission to copy, distribute and modify it."
23056 cat >>$CONFIG_STATUS <<\_ACEOF
23057 # If no file are specified by the user, then we need to provide default
23058 # value. By we need to know if files were specified by the user.
23064 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
23065 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
23073 *) # This is not an option, so the user has probably given explicit
23076 ac_need_defaults
=false
;;
23080 # Handling of the options.
23082 cat >>$CONFIG_STATUS <<\_ACEOF
23083 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23085 --version |
--vers* |
-V )
23086 echo "$ac_cs_version"; exit 0 ;;
23088 # Conflict between --help and --header
23089 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23090 Try \`$0 --help' for more information." >&5
23091 echo "$as_me: error: ambiguous option: $1
23092 Try \`$0 --help' for more information." >&2;}
23093 { (exit 1); exit 1; }; };;
23094 --help |
--hel |
-h )
23095 echo "$ac_cs_usage"; exit 0 ;;
23096 --debug |
--d* |
-d )
23098 --file |
--fil |
--fi |
--f )
23100 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23101 ac_need_defaults
=false
;;
23102 --header |
--heade |
--head |
--hea )
23104 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23105 ac_need_defaults
=false
;;
23106 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23107 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23110 # This is an error.
23111 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23112 Try \`$0 --help' for more information." >&5
23113 echo "$as_me: error: unrecognized option: $1
23114 Try \`$0 --help' for more information." >&2;}
23115 { (exit 1); exit 1; }; } ;;
23117 *) ac_config_targets
="$ac_config_targets $1" ;;
23123 ac_configure_extra_args
=
23125 if $ac_cs_silent; then
23127 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23131 cat >>$CONFIG_STATUS <<_ACEOF
23132 if \$ac_cs_recheck; then
23133 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23134 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23139 cat >>$CONFIG_STATUS <<_ACEOF
23141 # INIT-COMMANDS section.
23144 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23150 cat >>$CONFIG_STATUS <<\_ACEOF
23151 for ac_config_target
in $ac_config_targets
23153 case "$ac_config_target" in
23154 # Handling of arguments.
23155 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23156 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23157 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23158 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23159 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23160 { (exit 1); exit 1; }; };;
23164 # If the user did not use the arguments to specify the items to instantiate,
23165 # then the envvar interface is used. Set only those that are not.
23166 # We use the long form for the default assignment because of an extremely
23167 # bizarre bug on SunOS 4.1.3.
23168 if $ac_need_defaults; then
23169 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23170 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23171 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23174 # Have a temporary directory for convenience. Make it in the build tree
23175 # simply because there is no reason to put it here, and in addition,
23176 # creating and moving files from /tmp can sometimes cause problems.
23177 # Create a temporary directory, and hook for its removal unless debugging.
23180 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23181 trap '{ (exit 1); exit 1; }' 1 2 13 15
23184 # Create a (secure) tmp directory for tmp files.
23187 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23188 test -n "$tmp" && test -d "$tmp"
23191 tmp
=.
/confstat$$
-$RANDOM
23192 (umask 077 && mkdir
$tmp)
23195 echo "$me: cannot create a temporary directory in ." >&2
23196 { (exit 1); exit 1; }
23201 cat >>$CONFIG_STATUS <<_ACEOF
23204 # CONFIG_FILES section.
23207 # No need to generate the scripts if there are no CONFIG_FILES.
23208 # This happens for instance when ./config.status config.h
23209 if test -n "\$CONFIG_FILES"; then
23210 # Protect against being on the right side of a sed subst in config.status.
23211 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23212 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23213 s,@SHELL@,$SHELL,;t t
23214 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23215 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23216 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23217 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23218 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23219 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23220 s,@exec_prefix@,$exec_prefix,;t t
23221 s,@prefix@,$prefix,;t t
23222 s,@program_transform_name@,$program_transform_name,;t t
23223 s,@bindir@,$bindir,;t t
23224 s,@sbindir@,$sbindir,;t t
23225 s,@libexecdir@,$libexecdir,;t t
23226 s,@datadir@,$datadir,;t t
23227 s,@sysconfdir@,$sysconfdir,;t t
23228 s,@sharedstatedir@,$sharedstatedir,;t t
23229 s,@localstatedir@,$localstatedir,;t t
23230 s,@libdir@,$libdir,;t t
23231 s,@includedir@,$includedir,;t t
23232 s,@oldincludedir@,$oldincludedir,;t t
23233 s,@infodir@,$infodir,;t t
23234 s,@mandir@,$mandir,;t t
23235 s,@build_alias@,$build_alias,;t t
23236 s,@host_alias@,$host_alias,;t t
23237 s,@target_alias@,$target_alias,;t t
23238 s,@DEFS@,$DEFS,;t t
23239 s,@ECHO_C@,$ECHO_C,;t t
23240 s,@ECHO_N@,$ECHO_N,;t t
23241 s,@ECHO_T@,$ECHO_T,;t t
23242 s,@LIBS@,$LIBS,;t t
23243 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23244 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23245 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23246 s,@CYGPATH_W@,$CYGPATH_W,;t t
23247 s,@PACKAGE@,$PACKAGE,;t t
23248 s,@VERSION@,$VERSION,;t t
23249 s,@ACLOCAL@,$ACLOCAL,;t t
23250 s,@AUTOCONF@,$AUTOCONF,;t t
23251 s,@AUTOMAKE@,$AUTOMAKE,;t t
23252 s,@AUTOHEADER@,$AUTOHEADER,;t t
23253 s,@MAKEINFO@,$MAKEINFO,;t t
23254 s,@install_sh@,$install_sh,;t t
23255 s,@STRIP@,$STRIP,;t t
23256 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23257 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23258 s,@mkdir_p@,$mkdir_p,;t t
23260 s,@SET_MAKE@,$SET_MAKE,;t t
23261 s,@am__leading_dot@,$am__leading_dot,;t t
23262 s,@AMTAR@,$AMTAR,;t t
23263 s,@am__tar@,$am__tar,;t t
23264 s,@am__untar@,$am__untar,;t t
23266 s,@CFLAGS@,$CFLAGS,;t t
23267 s,@LDFLAGS@,$LDFLAGS,;t t
23268 s,@CPPFLAGS@,$CPPFLAGS,;t t
23269 s,@ac_ct_CC@,$ac_ct_CC,;t t
23270 s,@EXEEXT@,$EXEEXT,;t t
23271 s,@OBJEXT@,$OBJEXT,;t t
23272 s,@DEPDIR@,$DEPDIR,;t t
23273 s,@am__include@,$am__include,;t t
23274 s,@am__quote@,$am__quote,;t t
23275 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23276 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23277 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23278 s,@CCDEPMODE@,$CCDEPMODE,;t t
23279 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23280 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23282 s,@CXXFLAGS@,$CXXFLAGS,;t t
23283 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23284 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
23285 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
23286 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
23287 s,@build@,$build,;t t
23288 s,@build_cpu@,$build_cpu,;t t
23289 s,@build_vendor@,$build_vendor,;t t
23290 s,@build_os@,$build_os,;t t
23291 s,@host@,$host,;t t
23292 s,@host_cpu@,$host_cpu,;t t
23293 s,@host_vendor@,$host_vendor,;t t
23294 s,@host_os@,$host_os,;t t
23295 s,@EGREP@,$EGREP,;t t
23296 s,@LN_S@,$LN_S,;t t
23297 s,@ECHO@,$ECHO,;t t
23299 s,@ac_ct_AR@,$ac_ct_AR,;t t
23300 s,@RANLIB@,$RANLIB,;t t
23301 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23302 s,@DLLTOOL@,$DLLTOOL,;t t
23303 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
23305 s,@ac_ct_AS@,$ac_ct_AS,;t t
23306 s,@OBJDUMP@,$OBJDUMP,;t t
23307 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
23309 s,@CXXCPP@,$CXXCPP,;t t
23311 s,@FFLAGS@,$FFLAGS,;t t
23312 s,@ac_ct_F77@,$ac_ct_F77,;t t
23313 s,@LIBTOOL@,$LIBTOOL,;t t
23314 s,@ALLOCA@,$ALLOCA,;t t
23315 s,@ALLOCA_H@,$ALLOCA_H,;t t
23316 s,@DVIPS@,$DVIPS,;t t
23317 s,@TEXI2PDF@,$TEXI2PDF,;t t
23318 s,@PERL@,$PERL,;t t
23319 s,@LIBOBJS@,$LIBOBJS,;t t
23320 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23325 cat >>$CONFIG_STATUS <<\_ACEOF
23326 # Split the substitutions into bite-sized pieces for seds with
23327 # small command number limits, like on Digital OSF/1 and HP-UX.
23328 ac_max_sed_lines
=48
23329 ac_sed_frag
=1 # Number of current file.
23330 ac_beg
=1 # First line for current file.
23331 ac_end
=$ac_max_sed_lines # Line after last line for current file.
23334 while $ac_more_lines; do
23335 if test $ac_beg -gt 1; then
23336 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23338 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23340 if test ! -s $tmp/subs.frag
; then
23341 ac_more_lines
=false
23343 # The purpose of the label and of the branching condition is to
23344 # speed up the sed processing (if there are no `@' at all, there
23345 # is no need to browse any of the substitutions).
23346 # These are the two extra sed commands mentioned above.
23348 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
23349 if test -z "$ac_sed_cmds"; then
23350 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
23352 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23354 ac_sed_frag
=`expr $ac_sed_frag + 1`
23356 ac_end
=`expr $ac_end + $ac_max_sed_lines`
23359 if test -z "$ac_sed_cmds"; then
23362 fi # test -n "$CONFIG_FILES"
23365 cat >>$CONFIG_STATUS <<\_ACEOF
23366 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
23367 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23369 - |
*:- |
*:-:* ) # input from stdin
23371 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23372 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23373 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23374 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23375 * ) ac_file_in
=$ac_file.
in ;;
23378 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23379 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23380 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23381 X"$ac_file" : 'X\(//\)[^/]' \| \
23382 X"$ac_file" : 'X\(//\)$' \| \
23383 X"$ac_file" : 'X\(/\)' \| \
23384 . : '\(.\)' 2>/dev/null ||
23386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23388 /^X\(\/\/\)$/{ s//\1/; q; }
23389 /^X\(\/\).*/{ s//\1/; q; }
23391 { if $as_mkdir_p; then
23396 while test ! -d "$as_dir"; do
23397 as_dirs
="$as_dir $as_dirs"
23398 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23399 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23400 X"$as_dir" : 'X\(//\)[^/]' \| \
23401 X"$as_dir" : 'X\(//\)$' \| \
23402 X"$as_dir" : 'X\(/\)' \| \
23403 . : '\(.\)' 2>/dev/null ||
23405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23406 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23407 /^X\(\/\/\)$/{ s//\1/; q; }
23408 /^X\(\/\).*/{ s//\1/; q; }
23411 test ! -n "$as_dirs" || mkdir
$as_dirs
23412 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23413 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23414 { (exit 1); exit 1; }; }; }
23418 if test "$ac_dir" != .
; then
23419 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23420 # A "../" for each directory in $ac_dir_suffix.
23421 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23423 ac_dir_suffix
= ac_top_builddir
=
23427 .
) # No --srcdir option. We are building in place.
23429 if test -z "$ac_top_builddir"; then
23432 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23434 [\\/]* | ?
:[\\/]* ) # Absolute path.
23435 ac_srcdir
=$srcdir$ac_dir_suffix;
23436 ac_top_srcdir
=$srcdir ;;
23437 *) # Relative path.
23438 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23439 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23442 # Do not use `cd foo && pwd` to compute absolute paths, because
23443 # the directories may not exist.
23445 .
) ac_abs_builddir
="$ac_dir";;
23448 .
) ac_abs_builddir
=`pwd`;;
23449 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23450 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23453 case $ac_abs_builddir in
23454 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23456 case ${ac_top_builddir}.
in
23457 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23458 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23459 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23462 case $ac_abs_builddir in
23463 .
) ac_abs_srcdir
=$ac_srcdir;;
23466 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23467 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23468 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23471 case $ac_abs_builddir in
23472 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23474 case $ac_top_srcdir in
23475 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23476 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23477 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23483 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23484 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
23487 if test x
"$ac_file" != x-
; then
23488 { echo "$as_me:$LINENO: creating $ac_file" >&5
23489 echo "$as_me: creating $ac_file" >&6;}
23492 # Let's still pretend it is `configure' which instantiates (i.e., don't
23493 # use $as_me), people would be surprised to read:
23494 # /* config.h. Generated by config.status. */
23495 if test x
"$ac_file" = x-
; then
23498 configure_input
="$ac_file. "
23500 configure_input
=$configure_input"Generated from `echo $ac_file_in |
23501 sed 's,.*/,,'` by configure."
23503 # First look for the input files in the build tree, otherwise in the
23505 ac_file_inputs
=`IFS=:
23506 for f in $ac_file_in; do
23508 -) echo $tmp/stdin ;;
23510 # Absolute (can't be DOS-style, as IFS=:)
23511 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23512 echo "$as_me: error: cannot find input file: $f" >&2;}
23513 { (exit 1); exit 1; }; }
23516 if test -f "$f"; then
23519 elif test -f "$srcdir/$f"; then
23524 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23525 echo "$as_me: error: cannot find input file: $f" >&2;}
23526 { (exit 1); exit 1; }; }
23529 done` ||
{ (exit 1); exit 1; }
23531 cat >>$CONFIG_STATUS <<_ACEOF
23535 cat >>$CONFIG_STATUS <<\_ACEOF
23537 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23538 s
,@configure_input@
,$configure_input,;t t
23539 s
,@srcdir@
,$ac_srcdir,;t t
23540 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23541 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23542 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23543 s
,@builddir@
,$ac_builddir,;t t
23544 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23545 s
,@top_builddir@
,$ac_top_builddir,;t t
23546 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23547 s
,@INSTALL@
,$ac_INSTALL,;t t
23548 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23550 if test x"$ac_file" != x-; then
23551 mv $tmp/out $ac_file
23557 # Run the commands associated with the file.
23560 sed -e "s
,\
`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," -e "s
,\
`test -f '\\\$<' || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," < $ac_file > $ac_file.tmp
23561 mv $ac_file.tmp $ac_file
23564 sed -e '/@rm -f \$''@/d' < $ac_file > $ac_file.tmp
23565 mv $ac_file.tmp $ac_file
23570 cat >>$CONFIG_STATUS <<\_ACEOF
23573 # CONFIG_HEADER section.
23576 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
23577 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23579 # ac_d sets the value in "#define NAME VALUE" lines.
23580 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23581 ac_dB
='[ ].*$,\1#\2'
23584 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23585 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23586 ac_uB
='$,\1#\2define\3'
23590 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
23591 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23593 - |
*:- |
*:-:* ) # input from stdin
23595 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23596 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23597 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23598 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23599 * ) ac_file_in
=$ac_file.
in ;;
23602 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23603 echo "$as_me: creating $ac_file" >&6;}
23605 # First look for the input files in the build tree, otherwise in the
23607 ac_file_inputs
=`IFS=:
23608 for f in $ac_file_in; do
23610 -) echo $tmp/stdin ;;
23612 # Absolute (can't be DOS-style, as IFS=:)
23613 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23614 echo "$as_me: error: cannot find input file: $f" >&2;}
23615 { (exit 1); exit 1; }; }
23616 # Do quote $f, to prevent DOS paths from being IFS'd.
23619 if test -f "$f"; then
23622 elif test -f "$srcdir/$f"; then
23627 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23628 echo "$as_me: error: cannot find input file: $f" >&2;}
23629 { (exit 1); exit 1; }; }
23632 done` ||
{ (exit 1); exit 1; }
23633 # Remove the trailing spaces.
23634 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23638 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23639 # `conftest.undefs', that substitutes the proper values into
23640 # config.h.in to produce config.h. The first handles `#define'
23641 # templates, and the second `#undef' templates.
23642 # And first: Protect against being on the right side of a sed subst in
23643 # config.status. Protect against being in an unquoted here document
23644 # in config.status.
23645 rm -f conftest.defines conftest.undefs
23646 # Using a here document instead of a string reduces the quoting nightmare.
23647 # Putting comments in sed scripts is not portable.
23649 # `end' is used to avoid that the second main sed command (meant for
23650 # 0-ary CPP macros) applies to n-ary macro definitions.
23651 # See the Autoconf documentation for `clear'.
23652 cat >confdef2sed.
sed <<\_ACEOF
23657 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23659 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23662 # If some macros were called several times there might be several times
23663 # the same #defines, which is useless. Nevertheless, we may not want to
23664 # sort them, since we want the *last* AC-DEFINE to be honored.
23665 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23666 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23667 rm -f confdef2sed.sed
23669 # This sed command replaces #undef with comments. This is necessary, for
23670 # example, in the case of _POSIX_SOURCE, which is predefined and required
23671 # on some systems where configure will not decide to define it.
23672 cat >>conftest.undefs <<\_ACEOF
23673 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23676 # Break up conftest.defines because some shells have a limit on the size
23677 # of here documents, and old seds have small limits too (100 cmds).
23678 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23679 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23680 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23681 echo ' :' >>$CONFIG_STATUS
23682 rm -f conftest.tail
23683 while grep . conftest.defines >/dev/null
23685 # Write a limited-size here document to $tmp/defines.sed.
23686 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23687 # Speed up: don't consider the non `#define' lines.
23688 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23689 # Work around the forget-to-reset-the-flag bug.
23690 echo 't clr' >>$CONFIG_STATUS
23691 echo ': clr' >>$CONFIG_STATUS
23692 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23694 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23696 mv $tmp/out $tmp/in
23698 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23699 rm -f conftest.defines
23700 mv conftest.
tail conftest.defines
23702 rm -f conftest.defines
23703 echo ' fi # grep' >>$CONFIG_STATUS
23704 echo >>$CONFIG_STATUS
23706 # Break up conftest.undefs because some shells have a limit on the size
23707 # of here documents, and old seds have small limits too (100 cmds).
23708 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23709 rm -f conftest.
tail
23710 while grep . conftest.undefs
>/dev
/null
23712 # Write a limited-size here document to $tmp/undefs.sed.
23713 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23714 # Speed up: don't consider the non
`#undef'
23715 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23716 # Work around the forget-to-reset-the-flag bug.
23717 echo 't clr' >>$CONFIG_STATUS
23718 echo ': clr' >>$CONFIG_STATUS
23719 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23721 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23723 mv $tmp/out $tmp/in
23725 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23726 rm -f conftest.undefs
23727 mv conftest.tail conftest.undefs
23729 rm -f conftest.undefs
23731 cat >>$CONFIG_STATUS <<\_ACEOF
23732 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23733 # use $as_me), people would be surprised to read:
23734 # /* config.h. Generated by config.status. */
23735 if test x
"$ac_file" = x-
; then
23736 echo "/* Generated by configure. */" >$tmp/config.h
23738 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23740 cat $tmp/in >>$tmp/config.h
23742 if test x
"$ac_file" != x-
; then
23743 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23744 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23745 echo "$as_me: $ac_file is unchanged" >&6;}
23747 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23748 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23749 X"$ac_file" : 'X\(//\)[^/]' \| \
23750 X"$ac_file" : 'X\(//\)$' \| \
23751 X"$ac_file" : 'X\(/\)' \| \
23752 . : '\(.\)' 2>/dev/null ||
23754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23755 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23756 /^X\(\/\/\)$/{ s//\1/; q; }
23757 /^X\(\/\).*/{ s//\1/; q; }
23759 { if $as_mkdir_p; then
23764 while test ! -d "$as_dir"; do
23765 as_dirs
="$as_dir $as_dirs"
23766 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23767 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23768 X"$as_dir" : 'X\(//\)[^/]' \| \
23769 X"$as_dir" : 'X\(//\)$' \| \
23770 X"$as_dir" : 'X\(/\)' \| \
23771 . : '\(.\)' 2>/dev/null ||
23773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23774 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23775 /^X\(\/\/\)$/{ s//\1/; q; }
23776 /^X\(\/\).*/{ s//\1/; q; }
23779 test ! -n "$as_dirs" || mkdir
$as_dirs
23780 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23781 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23782 { (exit 1); exit 1; }; }; }
23785 mv $tmp/config.h
$ac_file
23789 rm -f $tmp/config.h
23791 # Compute $ac_file's index in $config_headers.
23793 for _am_header
in $config_headers :; do
23794 case $_am_header in
23795 $ac_file |
$ac_file:* )
23798 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23801 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
23802 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23803 X$ac_file : 'X\(//\)[^/]' \| \
23804 X$ac_file : 'X\(//\)$' \| \
23805 X$ac_file : 'X\(/\)' \| \
23806 . : '\(.\)' 2>/dev/null ||
23808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23809 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23810 /^X\(\/\/\)$/{ s//\1/; q; }
23811 /^X\(\/\).*/{ s//\1/; q; }
23812 s/.*/./; q'`/stamp-h
$_am_stamp_count
23815 cat >>$CONFIG_STATUS <<\_ACEOF
23818 # CONFIG_COMMANDS section.
23820 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23821 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23822 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23823 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23824 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23825 X"$ac_dest" : 'X\(//\)[^/]' \| \
23826 X"$ac_dest" : 'X\(//\)$' \| \
23827 X"$ac_dest" : 'X\(/\)' \| \
23828 . : '\(.\)' 2>/dev/null ||
23830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23831 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23832 /^X\(\/\/\)$/{ s//\1/; q; }
23833 /^X\(\/\).*/{ s//\1/; q; }
23835 { if $as_mkdir_p; then
23840 while test ! -d "$as_dir"; do
23841 as_dirs
="$as_dir $as_dirs"
23842 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23843 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23844 X"$as_dir" : 'X\(//\)[^/]' \| \
23845 X"$as_dir" : 'X\(//\)$' \| \
23846 X"$as_dir" : 'X\(/\)' \| \
23847 . : '\(.\)' 2>/dev/null ||
23849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23850 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23851 /^X\(\/\/\)$/{ s//\1/; q; }
23852 /^X\(\/\).*/{ s//\1/; q; }
23855 test ! -n "$as_dirs" || mkdir
$as_dirs
23856 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23857 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23858 { (exit 1); exit 1; }; }; }
23862 if test "$ac_dir" != .
; then
23863 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23864 # A "../" for each directory in $ac_dir_suffix.
23865 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23867 ac_dir_suffix
= ac_top_builddir
=
23871 .
) # No --srcdir option. We are building in place.
23873 if test -z "$ac_top_builddir"; then
23876 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23878 [\\/]* | ?
:[\\/]* ) # Absolute path.
23879 ac_srcdir
=$srcdir$ac_dir_suffix;
23880 ac_top_srcdir
=$srcdir ;;
23881 *) # Relative path.
23882 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23883 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23886 # Do not use `cd foo && pwd` to compute absolute paths, because
23887 # the directories may not exist.
23889 .
) ac_abs_builddir
="$ac_dir";;
23892 .
) ac_abs_builddir
=`pwd`;;
23893 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23894 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23897 case $ac_abs_builddir in
23898 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23900 case ${ac_top_builddir}.
in
23901 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23902 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23903 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23906 case $ac_abs_builddir in
23907 .
) ac_abs_srcdir
=$ac_srcdir;;
23910 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23911 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23912 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23915 case $ac_abs_builddir in
23916 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23918 case $ac_top_srcdir in
23919 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23920 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23921 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23926 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23927 echo "$as_me: executing $ac_dest commands" >&6;}
23929 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23930 # Strip MF so we end up with the name of the file.
23931 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23932 # Check whether this is an Automake generated Makefile or not.
23933 # We used to match only the files named `Makefile.in', but
23934 # some people rename them; so instead we look at the file content.
23935 # Grep'ing the first line is not enough: some people post-process
23936 # each Makefile.in and add a new line on top of each file to say so.
23937 # So let's grep whole file.
23938 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23939 dirpart
=`(dirname "$mf") 2>/dev/null ||
23940 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23941 X"$mf" : 'X\(//\)[^/]' \| \
23942 X"$mf" : 'X\(//\)$' \| \
23943 X"$mf" : 'X\(/\)' \| \
23944 . : '\(.\)' 2>/dev/null ||
23946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23947 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23948 /^X\(\/\/\)$/{ s//\1/; q; }
23949 /^X\(\/\).*/{ s//\1/; q; }
23954 # Extract the definition of DEPDIR, am__include, and am__quote
23955 # from the Makefile without running `make'.
23956 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23957 test -z "$DEPDIR" && continue
23958 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23959 test -z "am__include" && continue
23960 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23961 # When using ansi2knr, U may be empty or an underscore; expand it
23962 U
=`sed -n 's/^U = //p' < "$mf"`
23963 # Find all dependency output files, they are included files with
23964 # $(DEPDIR) in their names. We invoke sed twice because it is the
23965 # simplest approach to changing $(DEPDIR) to its actual value in the
23967 for file in `sed -n "
23968 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23969 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23970 # Make sure the directory exists.
23971 test -f "$dirpart/$file" && continue
23972 fdir
=`(dirname "$file") 2>/dev/null ||
23973 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23974 X"$file" : 'X\(//\)[^/]' \| \
23975 X"$file" : 'X\(//\)$' \| \
23976 X"$file" : 'X\(/\)' \| \
23977 . : '\(.\)' 2>/dev/null ||
23979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23981 /^X\(\/\/\)$/{ s//\1/; q; }
23982 /^X\(\/\).*/{ s//\1/; q; }
23984 { if $as_mkdir_p; then
23985 mkdir
-p $dirpart/$fdir
23987 as_dir
=$dirpart/$fdir
23989 while test ! -d "$as_dir"; do
23990 as_dirs
="$as_dir $as_dirs"
23991 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23993 X"$as_dir" : 'X\(//\)[^/]' \| \
23994 X"$as_dir" : 'X\(//\)$' \| \
23995 X"$as_dir" : 'X\(/\)' \| \
23996 . : '\(.\)' 2>/dev/null ||
23998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24000 /^X\(\/\/\)$/{ s//\1/; q; }
24001 /^X\(\/\).*/{ s//\1/; q; }
24004 test ! -n "$as_dirs" || mkdir
$as_dirs
24005 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
24006 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
24007 { (exit 1); exit 1; }; }; }
24009 # echo "creating $dirpart/$file"
24010 echo '# dummy' > "$dirpart/$file"
24018 cat >>$CONFIG_STATUS <<\_ACEOF
24020 { (exit 0); exit 0; }
24022 chmod +x
$CONFIG_STATUS
24023 ac_clean_files
=$ac_clean_files_save
24026 # configure is writing to config.log, and then calls config.status.
24027 # config.status does its own redirection, appending to config.log.
24028 # Unfortunately, on DOS this fails, as config.log is still kept open
24029 # by configure, so config.status won't be able to write to it; its
24030 # output is simply discarded. So we exec the FD to /dev/null,
24031 # effectively closing config.log, so it can be properly (re)opened and
24032 # appended to by config.status. When coming back to configure, we
24033 # need to make the FD available again.
24034 if test "$no_create" != yes; then
24036 ac_config_status_args
=
24037 test "$silent" = yes &&
24038 ac_config_status_args
="$ac_config_status_args --quiet"
24040 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24042 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24043 # would make configure fail if this is the last instruction.
24044 $ac_cs_success ||
{ (exit 1); exit 1; }