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
="src/flac/main.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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ACLOCAL_AMFLAGS CCAS CCASFLAGS FLaC__CPU_IA32_TRUE FLaC__CPU_IA32_FALSE FLaC__CPU_PPC_TRUE FLaC__CPU_PPC_FALSE FLaC__CPU_SPARC_TRUE FLaC__CPU_SPARC_FALSE OBJ_FORMAT MINGW_WINSOCK_LIBS FLaC__SYS_DARWIN_TRUE FLaC__SYS_DARWIN_FALSE FLaC__SYS_LINUX_TRUE FLaC__SYS_LINUX_FALSE FLaC__NO_ASM_TRUE FLaC__NO_ASM_FALSE DEBUG_TRUE DEBUG_FALSE FLaC__SSE_OS_TRUE FLaC__SSE_OS_FALSE FLaC__USE_3DNOW_TRUE FLaC__USE_3DNOW_FALSE FLaC__USE_ALTIVEC_TRUE FLaC__USE_ALTIVEC_FALSE FLAC__TEST_LEVEL FLAC__TEST_WITH_VALGRIND DOXYGEN FLaC__HAS_DOXYGEN_TRUE FLaC__HAS_DOXYGEN_FALSE FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE XMMS_CONFIG XMMS_CFLAGS XMMS_LIBS XMMS_VERSION XMMS_DATA_DIR XMMS_PLUGIN_DIR XMMS_VISUALIZATION_PLUGIN_DIR XMMS_INPUT_PLUGIN_DIR XMMS_OUTPUT_PLUGIN_DIR XMMS_GENERAL_PLUGIN_DIR XMMS_EFFECT_PLUGIN_DIR FLaC__HAS_XMMS_TRUE FLaC__HAS_XMMS_FALSE FLaC__WITH_CPPLIBS_TRUE FLaC__WITH_CPPLIBS_FALSE OGG_CFLAGS OGG_LIBS FLaC__HAS_OGG_TRUE FLaC__HAS_OGG_FALSE LIBICONV LTLIBICONV DOCBOOK_TO_MAN FLaC__HAS_DOCBOOK_TO_MAN_TRUE FLaC__HAS_DOCBOOK_TO_MAN_FALSE NASM FLaC__HAS_NASM_TRUE FLaC__HAS_NASM_FALSE AS GAS FLaC__HAS_AS_TRUE FLaC__HAS_AS_FALSE FLaC__HAS_GAS_TRUE FLaC__HAS_GAS_FALSE FLaC__HAS_AS__TEMPORARILY_DISABLED_TRUE FLaC__HAS_AS__TEMPORARILY_DISABLED_FALSE FLaC__HAS_GAS__TEMPORARILY_DISABLED_TRUE FLaC__HAS_GAS__TEMPORARILY_DISABLED_FALSE LIBOBJS LTLIBOBJS'
469 # Initialize some variables set by options.
471 ac_init_version
=false
472 # The variables have the same names as the options, with
473 # dashes changed to underlines.
481 program_transform_name
=s
,x
,x
,
489 # Installation directory options.
490 # These are left unexpanded so users can "make install exec_prefix=/foo"
491 # and all the variables that are supposed to be based on exec_prefix
492 # by default will actually change.
493 # Use braces instead of parens because sh, perl, etc. also accept them.
494 bindir
='${exec_prefix}/bin'
495 sbindir
='${exec_prefix}/sbin'
496 libexecdir
='${exec_prefix}/libexec'
497 datadir
='${prefix}/share'
498 sysconfdir
='${prefix}/etc'
499 sharedstatedir
='${prefix}/com'
500 localstatedir
='${prefix}/var'
501 libdir
='${exec_prefix}/lib'
502 includedir
='${prefix}/include'
503 oldincludedir
='/usr/include'
504 infodir
='${prefix}/info'
505 mandir
='${prefix}/man'
510 # If the previous option needs an argument, assign it.
511 if test -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
517 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
519 # Accept the important Cygnus configure options, so we can diagnose typos.
523 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
525 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
528 -build |
--build |
--buil |
--bui |
--bu)
529 ac_prev
=build_alias
;;
530 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
531 build_alias
=$ac_optarg ;;
533 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
534 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
535 ac_prev
=cache_file
;;
536 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
537 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
538 cache_file
=$ac_optarg ;;
541 cache_file
=config.cache
;;
543 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
545 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
547 datadir
=$ac_optarg ;;
549 -disable-* |
--disable-*)
550 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554 { (exit 1); exit 1; }; }
555 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
556 eval "enable_$ac_feature=no" ;;
558 -enable-* |
--enable-*)
559 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560 # Reject names that are not valid shell variable names.
561 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
562 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563 { (exit 1); exit 1; }; }
564 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
566 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569 eval "enable_$ac_feature='$ac_optarg'" ;;
571 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
572 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
573 |
--exec |
--exe |
--ex)
574 ac_prev
=exec_prefix
;;
575 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
576 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
577 |
--exec=* |
--exe=* |
--ex=*)
578 exec_prefix
=$ac_optarg ;;
580 -gas |
--gas |
--ga |
--g)
581 # Obsolete; use --with-gas.
584 -help |
--help |
--hel |
--he |
-h)
586 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
587 ac_init_help
=recursive
;;
588 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
589 ac_init_help
=short
;;
591 -host |
--host |
--hos |
--ho)
592 ac_prev
=host_alias
;;
593 -host=* |
--host=* |
--hos=* |
--ho=*)
594 host_alias
=$ac_optarg ;;
596 -includedir |
--includedir |
--includedi |
--included |
--include \
597 |
--includ |
--inclu |
--incl |
--inc)
598 ac_prev
=includedir
;;
599 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
600 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
601 includedir
=$ac_optarg ;;
603 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
605 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
606 infodir
=$ac_optarg ;;
608 -libdir |
--libdir |
--libdi |
--libd)
610 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
613 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
614 |
--libexe |
--libex |
--libe)
615 ac_prev
=libexecdir
;;
616 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
617 |
--libexe=* |
--libex=* |
--libe=*)
618 libexecdir
=$ac_optarg ;;
620 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
621 |
--localstate |
--localstat |
--localsta |
--localst \
622 |
--locals |
--local |
--loca |
--loc |
--lo)
623 ac_prev
=localstatedir
;;
624 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
625 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
626 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
627 localstatedir
=$ac_optarg ;;
629 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
631 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
635 # Obsolete; use --without-fp.
638 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
639 |
--no-cr |
--no-c |
-n)
642 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
643 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
646 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
647 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
648 |
--oldin |
--oldi |
--old |
--ol |
--o)
649 ac_prev
=oldincludedir
;;
650 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
651 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
652 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
653 oldincludedir
=$ac_optarg ;;
655 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
657 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
660 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
661 |
--program-pre |
--program-pr |
--program-p)
662 ac_prev
=program_prefix
;;
663 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
664 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
665 program_prefix
=$ac_optarg ;;
667 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
668 |
--program-suf |
--program-su |
--program-s)
669 ac_prev
=program_suffix
;;
670 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
671 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
672 program_suffix
=$ac_optarg ;;
674 -program-transform-name |
--program-transform-name \
675 |
--program-transform-nam |
--program-transform-na \
676 |
--program-transform-n |
--program-transform- \
677 |
--program-transform |
--program-transfor \
678 |
--program-transfo |
--program-transf \
679 |
--program-trans |
--program-tran \
680 |
--progr-tra |
--program-tr |
--program-t)
681 ac_prev
=program_transform_name
;;
682 -program-transform-name=* |
--program-transform-name=* \
683 |
--program-transform-nam=* |
--program-transform-na=* \
684 |
--program-transform-n=* |
--program-transform-=* \
685 |
--program-transform=* |
--program-transfor=* \
686 |
--program-transfo=* |
--program-transf=* \
687 |
--program-trans=* |
--program-tran=* \
688 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
689 program_transform_name
=$ac_optarg ;;
691 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
692 |
-silent |
--silent |
--silen |
--sile |
--sil)
695 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
697 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
699 sbindir
=$ac_optarg ;;
701 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
702 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
703 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
705 ac_prev
=sharedstatedir
;;
706 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
707 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
708 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
710 sharedstatedir
=$ac_optarg ;;
712 -site |
--site |
--sit)
714 -site=* |
--site=* |
--sit=*)
717 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
719 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
722 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
723 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
724 ac_prev
=sysconfdir
;;
725 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
726 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
727 sysconfdir
=$ac_optarg ;;
729 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
730 ac_prev
=target_alias
;;
731 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
732 target_alias
=$ac_optarg ;;
734 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
737 -version |
--version |
--versio |
--versi |
--vers |
-V)
741 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742 # Reject names that are not valid shell variable names.
743 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
744 { echo "$as_me: error: invalid package name: $ac_package" >&2
745 { (exit 1); exit 1; }; }
746 ac_package
=`echo $ac_package| sed 's/-/_/g'`
748 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751 eval "with_$ac_package='$ac_optarg'" ;;
753 -without-* |
--without-*)
754 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
757 { echo "$as_me: error: invalid package name: $ac_package" >&2
758 { (exit 1); exit 1; }; }
759 ac_package
=`echo $ac_package | sed 's/-/_/g'`
760 eval "with_$ac_package=no" ;;
763 # Obsolete; use --with-x.
766 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
767 |
--x-incl |
--x-inc |
--x-in |
--x-i)
768 ac_prev
=x_includes
;;
769 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
770 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
771 x_includes
=$ac_optarg ;;
773 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
774 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
775 ac_prev
=x_libraries
;;
776 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
777 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
778 x_libraries
=$ac_optarg ;;
780 -*) { echo "$as_me: error: unrecognized option: $ac_option
781 Try \`$0 --help' for more information." >&2
782 { (exit 1); exit 1; }; }
786 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
789 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790 { (exit 1); exit 1; }; }
791 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792 eval "$ac_envvar='$ac_optarg'"
796 # FIXME: should be removed in autoconf 3.0.
797 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
798 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
799 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
800 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
806 if test -n "$ac_prev"; then
807 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
808 { echo "$as_me: error: missing argument to $ac_option" >&2
809 { (exit 1); exit 1; }; }
812 # Be sure to have absolute paths.
813 for ac_var
in exec_prefix prefix
815 eval ac_val
=$
`echo $ac_var`
817 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
818 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819 { (exit 1); exit 1; }; };;
823 # Be sure to have absolute paths.
824 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825 localstatedir libdir includedir oldincludedir infodir mandir
827 eval ac_val
=$
`echo $ac_var`
829 [\\/$
]* | ?
:[\\/]* ) ;;
830 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831 { (exit 1); exit 1; }; };;
835 # There might be people who depend on the old broken behavior: `$host'
836 # used to hold the argument of --host etc.
837 # FIXME: To remove some day.
842 # FIXME: To remove some day.
843 if test "x$host_alias" != x
; then
844 if test "x$build_alias" = x
; then
845 cross_compiling
=maybe
846 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
847 If a cross compiler is detected then cross compile mode will be used." >&2
848 elif test "x$build_alias" != "x$host_alias"; then
854 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
856 test "$silent" = yes && exec 6>/dev
/null
859 # Find the source files, if location was not specified.
860 if test -z "$srcdir"; then
861 ac_srcdir_defaulted
=yes
862 # Try the directory containing this script, then its parent.
863 ac_confdir
=`(dirname "$0") 2>/dev/null ||
864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865 X"$0" : 'X\(//\)[^/]' \| \
866 X"$0" : 'X\(//\)$' \| \
867 X"$0" : 'X\(/\)' \| \
868 . : '\(.\)' 2>/dev/null ||
870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872 /^X\(\/\/\)$/{ s//\1/; q; }
873 /^X\(\/\).*/{ s//\1/; q; }
876 if test ! -r $srcdir/$ac_unique_file; then
880 ac_srcdir_defaulted
=no
882 if test ! -r $srcdir/$ac_unique_file; then
883 if test "$ac_srcdir_defaulted" = yes; then
884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885 { (exit 1); exit 1; }; }
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888 { (exit 1); exit 1; }; }
891 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
892 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893 { (exit 1); exit 1; }; }
894 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895 ac_env_build_alias_set
=${build_alias+set}
896 ac_env_build_alias_value
=$build_alias
897 ac_cv_env_build_alias_set
=${build_alias+set}
898 ac_cv_env_build_alias_value
=$build_alias
899 ac_env_host_alias_set
=${host_alias+set}
900 ac_env_host_alias_value
=$host_alias
901 ac_cv_env_host_alias_set
=${host_alias+set}
902 ac_cv_env_host_alias_value
=$host_alias
903 ac_env_target_alias_set
=${target_alias+set}
904 ac_env_target_alias_value
=$target_alias
905 ac_cv_env_target_alias_set
=${target_alias+set}
906 ac_cv_env_target_alias_value
=$target_alias
907 ac_env_CC_set
=${CC+set}
909 ac_cv_env_CC_set
=${CC+set}
910 ac_cv_env_CC_value
=$CC
911 ac_env_CFLAGS_set
=${CFLAGS+set}
912 ac_env_CFLAGS_value
=$CFLAGS
913 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
914 ac_cv_env_CFLAGS_value
=$CFLAGS
915 ac_env_LDFLAGS_set
=${LDFLAGS+set}
916 ac_env_LDFLAGS_value
=$LDFLAGS
917 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_cv_env_LDFLAGS_value
=$LDFLAGS
919 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
920 ac_env_CPPFLAGS_value
=$CPPFLAGS
921 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_env_CPP_set
=${CPP+set}
924 ac_env_CPP_value
=$CPP
925 ac_cv_env_CPP_set
=${CPP+set}
926 ac_cv_env_CPP_value
=$CPP
927 ac_env_CXX_set
=${CXX+set}
928 ac_env_CXX_value
=$CXX
929 ac_cv_env_CXX_set
=${CXX+set}
930 ac_cv_env_CXX_value
=$CXX
931 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
932 ac_env_CXXFLAGS_value
=$CXXFLAGS
933 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
934 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
935 ac_env_CXXCPP_set
=${CXXCPP+set}
936 ac_env_CXXCPP_value
=$CXXCPP
937 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
938 ac_cv_env_CXXCPP_value
=$CXXCPP
939 ac_env_F77_set
=${F77+set}
940 ac_env_F77_value
=$F77
941 ac_cv_env_F77_set
=${F77+set}
942 ac_cv_env_F77_value
=$F77
943 ac_env_FFLAGS_set
=${FFLAGS+set}
944 ac_env_FFLAGS_value
=$FFLAGS
945 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
946 ac_cv_env_FFLAGS_value
=$FFLAGS
949 # Report the --help message.
951 if test "$ac_init_help" = "long"; then
952 # Omit some internal or obsolete options to make the list less imposing.
953 # This message is too long to be a string in the A/UX 3.1 sh.
955 \`configure' configures this package to adapt to many kinds of systems.
957 Usage: $0 [OPTION]... [VAR=VALUE]...
959 To assign environment variables (e.g., CC, CFLAGS...), specify them as
960 VAR=VALUE. See below for descriptions of some of the useful variables.
962 Defaults for the options are specified in brackets.
965 -h, --help display this help and exit
966 --help=short display options specific to this package
967 --help=recursive display the short help of all the included packages
968 -V, --version display version information and exit
969 -q, --quiet, --silent do not print \`checking...' messages
970 --cache-file=FILE cache test results in FILE [disabled]
971 -C, --config-cache alias for \`--cache-file=config.cache'
972 -n, --no-create do not create output files
973 --srcdir=DIR find the sources in DIR [configure dir or \`..']
978 Installation directories:
979 --prefix=PREFIX install architecture-independent files in PREFIX
981 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
984 By default, \`make install' will install all the files in
985 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
986 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
987 for instance \`--prefix=\$HOME'.
989 For better control, use the options below.
991 Fine tuning of the installation directories:
992 --bindir=DIR user executables [EPREFIX/bin]
993 --sbindir=DIR system admin executables [EPREFIX/sbin]
994 --libexecdir=DIR program executables [EPREFIX/libexec]
995 --datadir=DIR read-only architecture-independent data [PREFIX/share]
996 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
997 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
998 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
999 --libdir=DIR object code libraries [EPREFIX/lib]
1000 --includedir=DIR C header files [PREFIX/include]
1001 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1002 --infodir=DIR info documentation [PREFIX/info]
1003 --mandir=DIR man documentation [PREFIX/man]
1009 --program-prefix=PREFIX prepend PREFIX to installed program names
1010 --program-suffix=SUFFIX append SUFFIX to installed program names
1011 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1014 --build=BUILD configure
for building on BUILD
[guessed
]
1015 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1019 if test -n "$ac_init_help"; then
1024 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1025 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1026 --enable-maintainer-mode enable make rules and dependencies not useful
1027 (and sometimes confusing
) to the casual installer
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-dependency-tracking Speeds up one-time builds
1035 --enable-dependency-tracking Do not reject slow dependency extractors
1036 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1037 --disable-largefile omit support
for large files
1038 --disable-asm-optimizations
1039 Don
't use any assembly optimization routines
1040 --enable-debug Turn on debugging
1041 --enable-sse Enable SSE support by asserting that the OS supports
1043 --disable-3dnow Disable 3DNOW! optimizations
1044 --disable-altivec Disable Altivec optimizations
1045 --disable-thorough-tests
1046 Disable thorough (long) testing, do only basic tests
1047 --enable-exhaustive-tests
1048 Enable exhaustive testing (VERY long)
1049 --enable-valgrind-testing
1050 Run all tests inside Valgrind
1051 --disable-doxygen-docs Disable API documentation building via Doxygen
1052 --enable-local-xmms-plugin
1053 Install XMMS plugin to ~/.xmms/Plugins instead of
1055 --disable-xmms-plugin Do not build XMMS plugin
1056 --disable-cpplibs Do not build libFLAC++
1057 --disable-ogg Disable ogg support (default: test for libogg)
1058 --disable-oggtest Do not try to compile and run a test Ogg program
1059 --disable-rpath do not hardcode runtime library paths
1062 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1063 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1064 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1065 --with-pic try to use only PIC/non-PIC objects [default=use
1068 include additional configurations [automatic]
1069 --with-xmms-prefix=PFX Prefix where XMMS is installed (optional)
1070 --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)
1071 --with-ogg=PFX Prefix where libogg is installed (optional)
1072 --with-ogg-libraries=DIR Directory where libogg library is installed (optional)
1073 --with-ogg-includes=DIR Directory where libogg header files are installed (optional)
1074 --with-gnu-ld assume the C compiler uses GNU ld default=no
1075 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1076 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1078 Some influential environment variables
:
1079 CC C compiler
command
1080 CFLAGS C compiler flags
1081 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1082 nonstandard directory
<lib dir
>
1083 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1084 headers
in a nonstandard directory
<include dir
>
1086 CXX C
++ compiler
command
1087 CXXFLAGS C
++ compiler flags
1088 CXXCPP C
++ preprocessor
1089 F77 Fortran
77 compiler
command
1090 FFLAGS Fortran
77 compiler flags
1092 Use these variables to override the choices made by
`configure' or to help
1093 it to find libraries and programs with nonstandard names/locations.
1098 if test "$ac_init_help" = "recursive"; then
1099 # If there are subdirs, report their specific --help.
1101 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1102 test -d $ac_dir || continue
1105 if test "$ac_dir" != .; then
1106 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1107 # A "../" for each directory in $ac_dir_suffix.
1108 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1110 ac_dir_suffix= ac_top_builddir=
1114 .) # No --srcdir option. We are building in place.
1116 if test -z "$ac_top_builddir"; then
1119 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1121 [\\/]* | ?:[\\/]* ) # Absolute path.
1122 ac_srcdir=$srcdir$ac_dir_suffix;
1123 ac_top_srcdir=$srcdir ;;
1125 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1126 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1129 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1130 # the directories may not exist.
1132 .) ac_abs_builddir="$ac_dir";;
1135 .) ac_abs_builddir=`pwd`;;
1136 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1137 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1140 case $ac_abs_builddir in
1141 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1143 case ${ac_top_builddir}. in
1144 .) ac_abs_top_builddir=$ac_abs_builddir;;
1145 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1146 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1149 case $ac_abs_builddir in
1150 .) ac_abs_srcdir=$ac_srcdir;;
1153 .) ac_abs_srcdir=$ac_abs_builddir;;
1154 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1155 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1158 case $ac_abs_builddir in
1159 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1161 case $ac_top_srcdir in
1162 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1163 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1164 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1169 # Check for guested configure; otherwise get Cygnus style configure.
1170 if test -f $ac_srcdir/configure.gnu; then
1172 $SHELL $ac_srcdir/configure.gnu --help=recursive
1173 elif test -f $ac_srcdir/configure; then
1175 $SHELL $ac_srcdir/configure --help=recursive
1176 elif test -f $ac_srcdir/configure.ac ||
1177 test -f $ac_srcdir/configure.in; then
1179 $ac_configure --help
1181 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1187 test -n "$ac_init_help" && exit 0
1188 if $ac_init_version; then
1191 Copyright (C) 2003 Free Software Foundation, Inc.
1192 This configure script is free software; the Free Software Foundation
1193 gives unlimited permission to copy, distribute and modify it.
1199 This file contains any messages produced by compilers while
1200 running configure, to aid debugging if configure makes a mistake.
1202 It was created by $as_me, which was
1203 generated by GNU Autoconf 2.59. Invocation command line was
1214 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1215 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1216 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1217 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1218 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1220 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1221 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1223 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1224 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1225 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1226 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1227 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1228 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1229 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 test -z "$as_dir" && as_dir=.
1238 echo "PATH: $as_dir"
1253 # Keep a trace of the command line.
1254 # Strip out --no-create and --no-recursion so they do not pile up.
1255 # Strip out --silent because we don't want to record it for future runs.
1256 # Also quote any args containing shell meta-characters.
1257 # Make two passes to allow for proper duplicate-argument suppression.
1262 ac_must_keep_next=false
1268 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1269 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1270 | -silent | --silent | --silen | --sile | --sil)
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1276 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1278 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1279 if test $ac_must_keep_next = true; then
1280 ac_must_keep_next=false # Got value, back to normal.
1283 *=* | --config-cache | -C | -disable-* | --disable-* \
1284 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1285 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1286 | -with-* | --with-* | -without-* | --without-* | --x)
1287 case "$ac_configure_args0 " in
1288 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1291 -* ) ac_must_keep_next=true ;;
1294 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1295 # Get rid of the leading space.
1301 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1302 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1304 # When interrupted or exit'd, cleanup temporary files, and complete
1305 # config.log. We remove comments because anyway the quotes in there
1306 # would cause problems or look ugly.
1307 # WARNING: Be sure not to use single quotes in there, as some shells,
1308 # such as our DU 5.0 friend, will then `close
' the trap.
1309 trap 'exit_status
=$?
1310 # Save into config.log some information that might help in debugging.
1315 ## ---------------- ##
1316 ## Cache variables. ##
1317 ## ---------------- ##
1320 # The following way of writing the cache mishandles newlines in values,
1323 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1326 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1338 ## ----------------- ##
1339 ## Output variables. ##
1340 ## ----------------- ##
1343 for ac_var
in $ac_subst_vars
1345 eval ac_val
=$
`echo $ac_var`
1346 echo "$ac_var='"'"'$ac_val'"'"'"
1350 if test -n "$ac_subst_files"; then
1357 for ac_var
in $ac_subst_files
1359 eval ac_val
=$
`echo $ac_var`
1360 echo "$ac_var='"'"'$ac_val'"'"'"
1365 if test -s confdefs.h
; then
1372 sed "/^$/d" confdefs.h |
sort
1375 test "$ac_signal" != 0 &&
1376 echo "$as_me: caught signal $ac_signal"
1377 echo "$as_me: exit $exit_status"
1379 rm -f core
*.core
&&
1380 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1383 for ac_signal in 1 2 13 15; do
1384 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1389 rm -rf conftest* confdefs.h
1390 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1393 # Predefined preprocessor variables.
1395 cat >>confdefs.h <<_ACEOF
1396 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 cat >>confdefs.h <<_ACEOF
1401 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 cat >>confdefs.h <<_ACEOF
1406 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 cat >>confdefs.h <<_ACEOF
1411 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 # Let the site file select an alternate cache file if it wants to.
1421 # Prefer explicitly selected file to automatically selected ones.
1422 if test -z "$CONFIG_SITE"; then
1423 if test "x$prefix" != xNONE; then
1424 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1426 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1429 for ac_site_file in $CONFIG_SITE; do
1430 if test -r "$ac_site_file"; then
1431 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1432 echo "$as_me: loading site script $ac_site_file" >&6;}
1433 sed 's
/^
/|
/' "$ac_site_file" >&5
1438 if test -r "$cache_file"; then
1439 # Some versions of bash will fail to source /dev/null (special
1440 # files actually), so we avoid doing that.
1441 if test -f "$cache_file"; then
1442 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1443 echo "$as_me: loading cache $cache_file" >&6;}
1445 [\\/]* | ?:[\\/]* ) . $cache_file;;
1446 *) . ./$cache_file;;
1450 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1451 echo "$as_me: creating cache $cache_file" >&6;}
1455 # Check that the precious variables saved in the cache have kept the same
1457 ac_cache_corrupted=false
1458 for ac_var in `(set) 2>&1 |
1459 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1460 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1461 eval ac_new_set=\$ac_env_${ac_var}_set
1462 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1463 eval ac_new_val="\$ac_env_${ac_var}_value"
1464 case $ac_old_set,$ac_new_set in
1466 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1467 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1468 ac_cache_corrupted=: ;;
1470 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1471 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1472 ac_cache_corrupted=: ;;
1475 if test "x$ac_old_val" != "x$ac_new_val"; then
1476 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1477 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1478 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1479 echo "$as_me: former value: $ac_old_val" >&2;}
1480 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1481 echo "$as_me: current value: $ac_new_val" >&2;}
1482 ac_cache_corrupted=:
1485 # Pass precious variables to config.status.
1486 if test "$ac_new_set" = set; then
1488 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1489 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1490 *) ac_arg=$ac_var=$ac_new_val ;;
1492 case " $ac_configure_args " in
1493 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1494 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1498 if $ac_cache_corrupted; then
1499 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1500 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1501 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1502 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1503 { (exit 1); exit 1; }; }
1507 ac_cpp='$CPP $CPPFLAGS'
1508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1509 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1530 am__api_version="1.7"
1532 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1533 if test -f $ac_dir/install-sh; then
1535 ac_install_sh="$ac_aux_dir/install-sh -c"
1537 elif test -f $ac_dir/install.sh; then
1539 ac_install_sh="$ac_aux_dir/install.sh -c"
1541 elif test -f $ac_dir/shtool; then
1543 ac_install_sh="$ac_aux_dir/shtool install -c"
1547 if test -z "$ac_aux_dir"; then
1548 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1549 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1550 { (exit 1); exit 1; }; }
1552 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1553 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1554 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1556 # Find a good install program. We prefer a C program (faster),
1557 # so one script is as good as another. But avoid the broken or
1558 # incompatible versions:
1559 # SysV /etc/install, /usr/sbin/install
1560 # SunOS /usr/etc/install
1561 # IRIX /sbin/install
1563 # AmigaOS /C/install, which installs bootblocks on floppy discs
1564 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1565 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1566 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1567 # OS/2's system install, which has a completely different semantic
1568 # ./install, which can be erroneously created by make from ./install.sh.
1569 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1570 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1571 if test -z "$INSTALL"; then
1572 if test "${ac_cv_path_install+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1579 test -z "$as_dir" && as_dir
=.
1580 # Account for people who put trailing slashes in PATH elements.
1582 .
/ | .
// |
/cC
/* | \
1583 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1584 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1587 # OSF1 and SCO ODT 3.0 have their own names for install.
1588 # Don't use installbsd from OSF since it installs stuff as root
1590 for ac_prog
in ginstall scoinst
install; do
1591 for ac_exec_ext
in '' $ac_executable_extensions; do
1592 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1593 if test $ac_prog = install &&
1594 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1595 # AIX install. It has an incompatible calling convention.
1597 elif test $ac_prog = install &&
1598 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1599 # program-specific install script used by HP pwplus--don't use.
1602 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1614 if test "${ac_cv_path_install+set}" = set; then
1615 INSTALL
=$ac_cv_path_install
1617 # As a last resort, use the slow shell script. We don't cache a
1618 # path for INSTALL within a source directory, because that will
1619 # break other packages using the cache if that directory is
1620 # removed, or if the path is relative.
1621 INSTALL
=$ac_install_sh
1624 echo "$as_me:$LINENO: result: $INSTALL" >&5
1625 echo "${ECHO_T}$INSTALL" >&6
1627 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1628 # It thinks the first close brace ends the variable substitution.
1629 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1631 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1633 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1635 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1636 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1639 echo timestamp
> conftest.
file
1640 # Do `set' in a subshell so we don't clobber the current shell's
1641 # arguments. Must try -L first in case configure is actually a
1642 # symlink; some systems play weird games with the mod time of symlinks
1643 # (eg FreeBSD returns the mod time of the symlink's containing
1646 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1647 if test "$*" = "X"; then
1649 set X
`ls -t $srcdir/configure conftest.file`
1652 if test "$*" != "X $srcdir/configure conftest.file" \
1653 && test "$*" != "X conftest.file $srcdir/configure"; then
1655 # If neither matched, then we have a broken ls. This can happen
1656 # if, for instance, CONFIG_SHELL is bash and it inherits a
1657 # broken ls alias from the environment. This has actually
1658 # happened. Such a system could not be considered "sane".
1659 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1660 alias in your environment" >&5
1661 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1662 alias in your environment" >&2;}
1663 { (exit 1); exit 1; }; }
1666 test "$2" = conftest.
file
1672 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1673 Check your system clock" >&5
1674 echo "$as_me: error: newly created file is older than distributed files!
1675 Check your system clock" >&2;}
1676 { (exit 1); exit 1; }; }
1678 echo "$as_me:$LINENO: result: yes" >&5
1679 echo "${ECHO_T}yes" >&6
1680 test "$program_prefix" != NONE
&&
1681 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1682 # Use a double $ so make ignores it.
1683 test "$program_suffix" != NONE
&&
1684 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1685 # Double any \ or $. echo might interpret backslashes.
1686 # By default was `s,x,x', remove it if useless.
1687 cat <<\_ACEOF
>conftest.
sed
1688 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1690 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1694 # expand $ac_aux_dir to an absolute path
1695 am_aux_dir
=`cd $ac_aux_dir && pwd`
1697 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1698 # Use eval to expand $SHELL
1699 if eval "$MISSING --run true"; then
1700 am_missing_run
="$MISSING --run "
1703 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1704 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
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"}
1834 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1836 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1838 # Installed binaries are usually stripped using `strip' when the user
1839 # run `make install-strip'. However `strip' might not be the right
1840 # tool to use in cross-compilation environments, therefore Automake
1841 # will honor the `STRIP' environment variable to overrule this program.
1842 if test "$cross_compiling" != no
; then
1843 if test -n "$ac_tool_prefix"; then
1844 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1845 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1846 echo "$as_me:$LINENO: checking for $ac_word" >&5
1847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1848 if test "${ac_cv_prog_STRIP+set}" = set; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 if test -n "$STRIP"; then
1852 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1858 test -z "$as_dir" && as_dir
=.
1859 for ac_exec_ext
in '' $ac_executable_extensions; do
1860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1861 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1870 STRIP
=$ac_cv_prog_STRIP
1871 if test -n "$STRIP"; then
1872 echo "$as_me:$LINENO: result: $STRIP" >&5
1873 echo "${ECHO_T}$STRIP" >&6
1875 echo "$as_me:$LINENO: result: no" >&5
1876 echo "${ECHO_T}no" >&6
1880 if test -z "$ac_cv_prog_STRIP"; then
1882 # Extract the first word of "strip", so it can be a program name with args.
1883 set dummy strip
; ac_word
=$2
1884 echo "$as_me:$LINENO: checking for $ac_word" >&5
1885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1886 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 if test -n "$ac_ct_STRIP"; then
1890 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1896 test -z "$as_dir" && as_dir
=.
1897 for ac_exec_ext
in '' $ac_executable_extensions; do
1898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1899 ac_cv_prog_ac_ct_STRIP
="strip"
1900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1909 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1910 if test -n "$ac_ct_STRIP"; then
1911 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1912 echo "${ECHO_T}$ac_ct_STRIP" >&6
1914 echo "$as_me:$LINENO: result: no" >&5
1915 echo "${ECHO_T}no" >&6
1920 STRIP
="$ac_cv_prog_STRIP"
1924 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1926 # We need awk for the "check" target. The system "awk" is bad on
1932 # Don't automagically regenerate autoconf/automake generated files unless
1933 # explicitly requested. Eases autobuilding -mdz
1934 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1935 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1936 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1937 if test "${enable_maintainer_mode+set}" = set; then
1938 enableval
="$enable_maintainer_mode"
1939 USE_MAINTAINER_MODE
=$enableval
1941 USE_MAINTAINER_MODE
=no
1943 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1944 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1947 if test $USE_MAINTAINER_MODE = yes; then
1948 MAINTAINER_MODE_TRUE
=
1949 MAINTAINER_MODE_FALSE
='#'
1951 MAINTAINER_MODE_TRUE
='#'
1952 MAINTAINER_MODE_FALSE
=
1955 MAINT
=$MAINTAINER_MODE_TRUE
1959 # We need two libtools, one that builds both shared and static, and
1960 # one that builds only static. This is because the resulting libtool
1961 # does not allow us to choose which to build at runtime.
1962 # Check whether --enable-shared or --disable-shared was given.
1963 if test "${enable_shared+set}" = set; then
1964 enableval
="$enable_shared"
1965 p
=${PACKAGE-default}
1967 yes) enable_shared
=yes ;;
1968 no
) enable_shared
=no
;;
1971 # Look at the argument we got. We use all the common list separators.
1972 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
1973 for pkg
in $enableval; do
1975 if test "X$pkg" = "X$p"; then
1986 # Check whether --enable-static or --disable-static was given.
1987 if test "${enable_static+set}" = set; then
1988 enableval
="$enable_static"
1989 p
=${PACKAGE-default}
1991 yes) enable_static
=yes ;;
1992 no
) enable_static
=no
;;
1995 # Look at the argument we got. We use all the common list separators.
1996 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
1997 for pkg
in $enableval; do
1999 if test "X$pkg" = "X$p"; then
2010 # Check whether --enable-fast-install or --disable-fast-install was given.
2011 if test "${enable_fast_install+set}" = set; then
2012 enableval
="$enable_fast_install"
2013 p
=${PACKAGE-default}
2015 yes) enable_fast_install
=yes ;;
2016 no
) enable_fast_install
=no
;;
2018 enable_fast_install
=no
2019 # Look at the argument we got. We use all the common list separators.
2020 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2021 for pkg
in $enableval; do
2023 if test "X$pkg" = "X$p"; then
2024 enable_fast_install
=yes
2031 enable_fast_install
=yes
2034 # Make sure we can run config.sub.
2035 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2036 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2037 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2038 { (exit 1); exit 1; }; }
2040 echo "$as_me:$LINENO: checking build system type" >&5
2041 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2042 if test "${ac_cv_build+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2045 ac_cv_build_alias
=$build_alias
2046 test -z "$ac_cv_build_alias" &&
2047 ac_cv_build_alias
=`$ac_config_guess`
2048 test -z "$ac_cv_build_alias" &&
2049 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2050 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2051 { (exit 1); exit 1; }; }
2052 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2053 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2054 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2055 { (exit 1); exit 1; }; }
2058 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2059 echo "${ECHO_T}$ac_cv_build" >&6
2061 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2062 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2063 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2066 echo "$as_me:$LINENO: checking host system type" >&5
2067 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2068 if test "${ac_cv_host+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 ac_cv_host_alias
=$host_alias
2072 test -z "$ac_cv_host_alias" &&
2073 ac_cv_host_alias
=$ac_cv_build_alias
2074 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2075 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2076 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2077 { (exit 1); exit 1; }; }
2080 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2081 echo "${ECHO_T}$ac_cv_host" >&6
2083 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2084 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2085 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2088 DEPDIR
="${am__leading_dot}deps"
2090 ac_config_commands
="$ac_config_commands depfiles"
2093 am_make
=${MAKE-make}
2094 cat > confinc
<< 'END'
2099 # If we don't find an include directive, just comment out the code.
2100 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2101 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2105 # First try GNU make style include.
2106 echo "include confinc" > confmf
2107 # We grep out `Entering directory' and `Leaving directory'
2108 # messages which can occur if `w' ends up in MAKEFLAGS.
2109 # In particular we don't look at `^make:' because GNU make might
2110 # be invoked under some other name (usually "gmake"), in which
2111 # case it prints its new name instead of `make'.
2112 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2117 # Now try BSD make style include.
2118 if test "$am__include" = "#"; then
2119 echo '.include "confinc"' > confmf
2120 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2121 am__include
=.include
2128 echo "$as_me:$LINENO: result: $_am_result" >&5
2129 echo "${ECHO_T}$_am_result" >&6
2130 rm -f confinc confmf
2132 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2133 if test "${enable_dependency_tracking+set}" = set; then
2134 enableval
="$enable_dependency_tracking"
2137 if test "x$enable_dependency_tracking" != xno
; then
2138 am_depcomp
="$ac_aux_dir/depcomp"
2143 if test "x$enable_dependency_tracking" != xno; then
2154 ac_cpp
='$CPP $CPPFLAGS'
2155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2158 if test -n "$ac_tool_prefix"; then
2159 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2160 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2161 echo "$as_me:$LINENO: checking for $ac_word" >&5
2162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2163 if test "${ac_cv_prog_CC+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 if test -n "$CC"; then
2167 ac_cv_prog_CC
="$CC" # Let the user override the test.
2169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir
=.
2174 for ac_exec_ext
in '' $ac_executable_extensions; do
2175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2176 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 if test -n "$CC"; then
2187 echo "$as_me:$LINENO: result: $CC" >&5
2188 echo "${ECHO_T}$CC" >&6
2190 echo "$as_me:$LINENO: result: no" >&5
2191 echo "${ECHO_T}no" >&6
2195 if test -z "$ac_cv_prog_CC"; then
2197 # Extract the first word of "gcc", so it can be a program name with args.
2198 set dummy gcc
; ac_word
=$2
2199 echo "$as_me:$LINENO: checking for $ac_word" >&5
2200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2201 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 if test -n "$ac_ct_CC"; then
2205 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir
=.
2212 for ac_exec_ext
in '' $ac_executable_extensions; do
2213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2214 ac_cv_prog_ac_ct_CC
="gcc"
2215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2223 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2224 if test -n "$ac_ct_CC"; then
2225 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2226 echo "${ECHO_T}$ac_ct_CC" >&6
2228 echo "$as_me:$LINENO: result: no" >&5
2229 echo "${ECHO_T}no" >&6
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2240 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2241 echo "$as_me:$LINENO: checking for $ac_word" >&5
2242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2243 if test "${ac_cv_prog_CC+set}" = set; then
2244 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 if test -n "$CC"; then
2247 ac_cv_prog_CC
="$CC" # Let the user override the test.
2249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2253 test -z "$as_dir" && as_dir
=.
2254 for ac_exec_ext
in '' $ac_executable_extensions; do
2255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2256 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 if test -n "$CC"; then
2267 echo "$as_me:$LINENO: result: $CC" >&5
2268 echo "${ECHO_T}$CC" >&6
2270 echo "$as_me:$LINENO: result: no" >&5
2271 echo "${ECHO_T}no" >&6
2275 if test -z "$ac_cv_prog_CC"; then
2277 # Extract the first word of "cc", so it can be a program name with args.
2278 set dummy cc
; ac_word
=$2
2279 echo "$as_me:$LINENO: checking for $ac_word" >&5
2280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2281 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 if test -n "$ac_ct_CC"; then
2285 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir
=.
2292 for ac_exec_ext
in '' $ac_executable_extensions; do
2293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2294 ac_cv_prog_ac_ct_CC
="cc"
2295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2304 if test -n "$ac_ct_CC"; then
2305 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2306 echo "${ECHO_T}$ac_ct_CC" >&6
2308 echo "$as_me:$LINENO: result: no" >&5
2309 echo "${ECHO_T}no" >&6
2318 if test -z "$CC"; then
2319 # Extract the first word of "cc", so it can be a program name with args.
2320 set dummy cc
; ac_word
=$2
2321 echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2323 if test "${ac_cv_prog_CC+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 if test -n "$CC"; then
2327 ac_cv_prog_CC
="$CC" # Let the user override the test.
2330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir
=.
2335 for ac_exec_ext
in '' $ac_executable_extensions; do
2336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2338 ac_prog_rejected
=yes
2342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2348 if test $ac_prog_rejected = yes; then
2349 # We found a bogon in the path, so make sure we never use it.
2350 set dummy
$ac_cv_prog_CC
2352 if test $# != 0; then
2353 # We chose a different compiler from the bogus one.
2354 # However, it has the same basename, so the bogon will be chosen
2355 # first if we set CC to just the basename; use the full file name.
2357 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2363 if test -n "$CC"; then
2364 echo "$as_me:$LINENO: result: $CC" >&5
2365 echo "${ECHO_T}$CC" >&6
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2372 if test -z "$CC"; then
2373 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2377 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2378 echo "$as_me:$LINENO: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2380 if test "${ac_cv_prog_CC+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 if test -n "$CC"; then
2384 ac_cv_prog_CC
="$CC" # Let the user override the test.
2386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir
=.
2391 for ac_exec_ext
in '' $ac_executable_extensions; do
2392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2393 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 if test -n "$CC"; then
2404 echo "$as_me:$LINENO: result: $CC" >&5
2405 echo "${ECHO_T}$CC" >&6
2407 echo "$as_me:$LINENO: result: no" >&5
2408 echo "${ECHO_T}no" >&6
2411 test -n "$CC" && break
2414 if test -z "$CC"; then
2418 # Extract the first word of "$ac_prog", so it can be a program name with args.
2419 set dummy
$ac_prog; ac_word
=$2
2420 echo "$as_me:$LINENO: checking for $ac_word" >&5
2421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2422 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2423 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 if test -n "$ac_ct_CC"; then
2426 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir
=.
2433 for ac_exec_ext
in '' $ac_executable_extensions; do
2434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2435 ac_cv_prog_ac_ct_CC
="$ac_prog"
2436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2445 if test -n "$ac_ct_CC"; then
2446 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2447 echo "${ECHO_T}$ac_ct_CC" >&6
2449 echo "$as_me:$LINENO: result: no" >&5
2450 echo "${ECHO_T}no" >&6
2453 test -n "$ac_ct_CC" && break
2462 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2463 See \`config.log' for more details." >&5
2464 echo "$as_me: error: no acceptable C compiler found in \$PATH
2465 See \`config.log' for more details." >&2;}
2466 { (exit 1); exit 1; }; }
2468 # Provide some information about the compiler.
2469 echo "$as_me:$LINENO:" \
2470 "checking for C compiler version" >&5
2471 ac_compiler
=`set X $ac_compile; echo $2`
2472 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2473 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }
2477 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2478 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }
2482 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2483 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }
2488 cat >conftest.
$ac_ext <<_ACEOF
2491 cat confdefs.h
>>conftest.
$ac_ext
2492 cat >>conftest.
$ac_ext <<_ACEOF
2493 /* end confdefs.h. */
2503 ac_clean_files_save
=$ac_clean_files
2504 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2505 # Try to create an executable without -o first, disregard a.out.
2506 # It will help us diagnose broken compilers, and finding out an intuition
2508 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2509 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2510 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2511 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2512 (eval $ac_link_default) 2>&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; then
2516 # Find the output, starting from the most likely. This scheme is
2517 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2520 # Be careful to initialize this variable, since it used to be cached.
2521 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2523 # b.out is created by i960 compilers.
2524 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2526 test -f "$ac_file" ||
continue
2528 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2531 # This is the source file.
2534 # We found the default executable, but exeext='' is most
2538 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2539 # FIXME: I believe we export ac_cv_exeext for Libtool,
2540 # but it would be cool to find out if it's true. Does anybody
2541 # maintain Libtool? --akim.
2549 echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.
$ac_ext >&5
2552 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2553 See \`config.log' for more details." >&5
2554 echo "$as_me: error: C compiler cannot create executables
2555 See \`config.log' for more details." >&2;}
2556 { (exit 77); exit 77; }; }
2559 ac_exeext
=$ac_cv_exeext
2560 echo "$as_me:$LINENO: result: $ac_file" >&5
2561 echo "${ECHO_T}$ac_file" >&6
2563 # Check the compiler produces executables we can run. If not, either
2564 # the compiler is broken, or we cross compile.
2565 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2566 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2567 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2568 # If not cross compiling, check that we can run a simple program.
2569 if test "$cross_compiling" != yes; then
2570 if { ac_try
='./$ac_file'
2571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }; }; then
2578 if test "$cross_compiling" = maybe
; then
2581 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2582 If you meant to cross compile, use \`--host'.
2583 See \`config.log' for more details." >&5
2584 echo "$as_me: error: cannot run C compiled programs.
2585 If you meant to cross compile, use \`--host'.
2586 See \`config.log' for more details." >&2;}
2587 { (exit 1); exit 1; }; }
2591 echo "$as_me:$LINENO: result: yes" >&5
2592 echo "${ECHO_T}yes" >&6
2594 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2595 ac_clean_files
=$ac_clean_files_save
2596 # Check the compiler produces executables we can run. If not, either
2597 # the compiler is broken, or we cross compile.
2598 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2599 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2600 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2601 echo "${ECHO_T}$cross_compiling" >&6
2603 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2604 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2606 (eval $ac_link) 2>&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }; then
2610 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2611 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2612 # work properly (i.e., refer to `conftest.exe'), while it won't with
2614 for ac_file
in conftest.exe conftest conftest.
*; do
2615 test -f "$ac_file" ||
continue
2617 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2618 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2625 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2626 See \`config.log' for more details." >&5
2627 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2628 See \`config.log' for more details." >&2;}
2629 { (exit 1); exit 1; }; }
2632 rm -f conftest
$ac_cv_exeext
2633 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2634 echo "${ECHO_T}$ac_cv_exeext" >&6
2636 rm -f conftest.
$ac_ext
2637 EXEEXT
=$ac_cv_exeext
2639 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2640 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2641 if test "${ac_cv_objext+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
2644 cat >conftest.
$ac_ext <<_ACEOF
2647 cat confdefs.h
>>conftest.
$ac_ext
2648 cat >>conftest.
$ac_ext <<_ACEOF
2649 /* end confdefs.h. */
2659 rm -f conftest.o conftest.obj
2660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2661 (eval $ac_compile) 2>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; then
2665 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2667 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2668 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.
$ac_ext >&5
2676 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2677 See \`config.log' for more details." >&5
2678 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2679 See \`config.log' for more details." >&2;}
2680 { (exit 1); exit 1; }; }
2683 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2685 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2686 echo "${ECHO_T}$ac_cv_objext" >&6
2687 OBJEXT
=$ac_cv_objext
2689 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2690 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2691 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2692 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 cat >conftest.
$ac_ext <<_ACEOF
2697 cat confdefs.h
>>conftest.
$ac_ext
2698 cat >>conftest.
$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2712 rm -f conftest.
$ac_objext
2713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2714 (eval $ac_compile) 2>conftest.er1
2716 grep -v '^ *+' conftest.er1
>conftest.err
2718 cat conftest.err
>&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } &&
2721 { ac_try
='test -z "$ac_c_werror_flag"
2722 || test ! -s conftest.err'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; } &&
2728 { ac_try
='test -s conftest.$ac_objext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.
$ac_ext >&5
2741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2742 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2745 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2746 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2747 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2748 ac_test_CFLAGS
=${CFLAGS+set}
2749 ac_save_CFLAGS
=$CFLAGS
2751 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2752 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2753 if test "${ac_cv_prog_cc_g+set}" = set; then
2754 echo $ECHO_N "(cached) $ECHO_C" >&6
2756 cat >conftest.
$ac_ext <<_ACEOF
2759 cat confdefs.h
>>conftest.
$ac_ext
2760 cat >>conftest.
$ac_ext <<_ACEOF
2761 /* end confdefs.h. */
2771 rm -f conftest.
$ac_objext
2772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773 (eval $ac_compile) 2>conftest.er1
2775 grep -v '^ *+' conftest.er1
>conftest.err
2777 cat conftest.err
>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try
='test -z "$ac_c_werror_flag"
2781 || test ! -s conftest.err'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; } &&
2787 { ac_try
='test -s conftest.$ac_objext'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2795 echo "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.
$ac_ext >&5
2800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2802 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2803 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2804 if test "$ac_test_CFLAGS" = set; then
2805 CFLAGS
=$ac_save_CFLAGS
2806 elif test $ac_cv_prog_cc_g = yes; then
2807 if test "$GCC" = yes; then
2813 if test "$GCC" = yes; then
2819 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2820 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2821 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2824 ac_cv_prog_cc_stdc
=no
2826 cat >conftest.
$ac_ext <<_ACEOF
2829 cat confdefs.h
>>conftest.
$ac_ext
2830 cat >>conftest.
$ac_ext <<_ACEOF
2831 /* end confdefs.h. */
2834 #include <sys/types.h>
2835 #include <sys/stat.h>
2836 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2837 struct buf { int x; };
2838 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2839 static char *e (p, i)
2845 static char *f (char * (*g) (char **, int), char **p, ...)
2850 s = g (p, va_arg (v,int));
2855 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2856 function prototypes and stuff, but not '\xHH' hex character constants.
2857 These don't provoke an error unfortunately, instead are silently treated
2858 as 'x'. The following induces an error, until -std1 is added to get
2859 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2860 array size at least. It's necessary to write '\x00'==0 to get something
2861 that's true only with -std1. */
2862 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2864 int test (int i, double x);
2865 struct s1 {int (*f) (int a);};
2866 struct s2 {int (*f) (double a);};
2867 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2873 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2878 # Don't try gcc -ansi; that turns off useful extensions and
2879 # breaks some systems' header files.
2880 # AIX -qlanglvl=ansi
2881 # Ultrix and OSF/1 -std1
2882 # HP-UX 10.20 and later -Ae
2883 # HP-UX older versions -Aa -D_HPUX_SOURCE
2884 # SVR4 -Xc -D__EXTENSIONS__
2885 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2887 CC
="$ac_save_CC $ac_arg"
2888 rm -f conftest.
$ac_objext
2889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2890 (eval $ac_compile) 2>conftest.er1
2892 grep -v '^ *+' conftest.er1
>conftest.err
2894 cat conftest.err
>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); } &&
2897 { ac_try
='test -z "$ac_c_werror_flag"
2898 || test ! -s conftest.err'
2899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }; } &&
2904 { ac_try
='test -s conftest.$ac_objext'
2905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; }; then
2910 ac_cv_prog_cc_stdc
=$ac_arg
2913 echo "$as_me: failed program was:" >&5
2914 sed 's/^/| /' conftest.
$ac_ext >&5
2917 rm -f conftest.err conftest.
$ac_objext
2919 rm -f conftest.
$ac_ext conftest.
$ac_objext
2924 case "x$ac_cv_prog_cc_stdc" in
2926 echo "$as_me:$LINENO: result: none needed" >&5
2927 echo "${ECHO_T}none needed" >&6 ;;
2929 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2930 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2931 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2934 # Some people use a C++ compiler to compile C. Since we use `exit',
2935 # in C++ we need to declare it. In case someone uses the same compiler
2936 # for both compiling C and C++ we need to have the C++ compiler decide
2937 # the declaration of exit, since it's the most demanding environment.
2938 cat >conftest.
$ac_ext <<_ACEOF
2943 rm -f conftest.
$ac_objext
2944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2945 (eval $ac_compile) 2>conftest.er1
2947 grep -v '^ *+' conftest.er1
>conftest.err
2949 cat conftest.err
>&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); } &&
2952 { ac_try
='test -z "$ac_c_werror_flag"
2953 || test ! -s conftest.err'
2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; } &&
2959 { ac_try
='test -s conftest.$ac_objext'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; }; then
2965 for ac_declaration
in \
2967 'extern "C" void std::exit (int) throw (); using std::exit;' \
2968 'extern "C" void std::exit (int); using std::exit;' \
2969 'extern "C" void exit (int) throw ();' \
2970 'extern "C" void exit (int);' \
2973 cat >conftest.
$ac_ext <<_ACEOF
2976 cat confdefs.h
>>conftest.
$ac_ext
2977 cat >>conftest.
$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2989 rm -f conftest.
$ac_objext
2990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2991 (eval $ac_compile) 2>conftest.er1
2993 grep -v '^ *+' conftest.er1
>conftest.err
2995 cat conftest.err
>&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); } &&
2998 { ac_try
='test -z "$ac_c_werror_flag"
2999 || test ! -s conftest.err'
3000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }; } &&
3005 { ac_try
='test -s conftest.$ac_objext'
3006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }; }; then
3013 echo "$as_me: failed program was:" >&5
3014 sed 's/^/| /' conftest.
$ac_ext >&5
3018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3019 cat >conftest.
$ac_ext <<_ACEOF
3022 cat confdefs.h
>>conftest.
$ac_ext
3023 cat >>conftest.
$ac_ext <<_ACEOF
3024 /* end confdefs.h. */
3034 rm -f conftest.
$ac_objext
3035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3036 (eval $ac_compile) 2>conftest.er1
3038 grep -v '^ *+' conftest.er1
>conftest.err
3040 cat conftest.err
>&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); } &&
3043 { ac_try
='test -z "$ac_c_werror_flag"
3044 || test ! -s conftest.err'
3045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; } &&
3050 { ac_try
='test -s conftest.$ac_objext'
3051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; }; then
3058 echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.
$ac_ext >&5
3062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3065 if test -n "$ac_declaration"; then
3066 echo '#ifdef __cplusplus' >>confdefs.h
3067 echo $ac_declaration >>confdefs.h
3068 echo '#endif' >>confdefs.h
3072 echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.
$ac_ext >&5
3076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3078 ac_cpp
='$CPP $CPPFLAGS'
3079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3083 depcc
="$CC" am_compiler_list
=
3085 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3086 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3087 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3088 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3091 # We make a subdir and do the tests there. Otherwise we can end up
3092 # making bogus files that we don't know about and never remove. For
3093 # instance it was reported that on HP-UX the gcc test will end up
3094 # making a dummy file named `D' -- because `-MD' means `put the output
3097 # Copy depcomp to subdir because otherwise we won't find it if we're
3098 # using a relative directory.
3099 cp "$am_depcomp" conftest.dir
3101 # We will build objects and dependencies in a subdirectory because
3102 # it helps to detect inapplicable dependency modes. For instance
3103 # both Tru64's cc and ICC support -MD to output dependencies as a
3104 # side effect of compilation, but ICC will put the dependencies in
3105 # the current directory while Tru64 will put them in the object
3109 am_cv_CC_dependencies_compiler_type
=none
3110 if test "$am_compiler_list" = ""; then
3111 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3113 for depmode
in $am_compiler_list; do
3114 # Setup a source with many dependencies, because some compilers
3115 # like to wrap large dependency lists on column 80 (with \), and
3116 # we should not choose a depcomp mode which is confused by this.
3118 # We need to recreate these files for each test, as the compiler may
3119 # overwrite some of them when testing with obscure command lines.
3120 # This happens at least with the AIX C compiler.
3122 for i
in 1 2 3 4 5 6; do
3123 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3126 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3130 # after this tag, mechanisms are not by side-effect, so they'll
3131 # only be used when explicitly requested
3132 if test "x$enable_dependency_tracking" = xyes
; then
3140 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3141 # mode. It turns out that the SunPro C++ compiler does not properly
3142 # handle `-M -o', and we need to detect this.
3143 if depmode
=$depmode \
3144 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3145 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3146 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3147 >/dev
/null
2>conftest.err
&&
3148 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3149 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3150 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3151 # icc doesn't choke on unknown options, it will just issue warnings
3152 # (even with -Werror). So we grep stderr for any message
3153 # that says an option was ignored.
3154 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
3155 am_cv_CC_dependencies_compiler_type
=$depmode
3164 am_cv_CC_dependencies_compiler_type
=none
3168 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3169 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3170 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3175 test "x$enable_dependency_tracking" != xno \
3176 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3178 am__fastdepCC_FALSE
='#'
3180 am__fastdepCC_TRUE
='#'
3181 am__fastdepCC_FALSE
=
3185 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3186 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3187 if test "${lt_cv_path_SED+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 # Loop through the user's path and test for sed and gsed.
3191 # Then use that list of sed's as ones to test for truncation.
3192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3196 test -z "$as_dir" && as_dir
=.
3197 for lt_ac_prog
in sed gsed
; do
3198 for ac_exec_ext
in '' $ac_executable_extensions; do
3199 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3200 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3207 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3208 # along with /bin/sed that truncates output.
3209 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3210 test ! -f $lt_ac_sed && continue
3211 cat /dev
/null
> conftest.
in
3213 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3214 # Check for GNU sed and select it if it is found.
3215 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3216 lt_cv_path_SED
=$lt_ac_sed
3220 cat conftest.
in conftest.
in >conftest.tmp
3221 mv conftest.tmp conftest.
in
3222 cp conftest.
in conftest.
nl
3224 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3225 cmp -s conftest.out conftest.
nl ||
break
3226 # 10000 chars as input seems more than enough
3227 test $lt_ac_count -gt 10 && break
3228 lt_ac_count
=`expr $lt_ac_count + 1`
3229 if test $lt_ac_count -gt $lt_ac_max; then
3230 lt_ac_max
=$lt_ac_count
3231 lt_cv_path_SED
=$lt_ac_sed
3239 echo "$as_me:$LINENO: result: $SED" >&5
3240 echo "${ECHO_T}$SED" >&6
3242 echo "$as_me:$LINENO: checking for egrep" >&5
3243 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3244 if test "${ac_cv_prog_egrep+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3248 then ac_cv_prog_egrep
='grep -E'
3249 else ac_cv_prog_egrep
='egrep'
3252 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3253 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3254 EGREP
=$ac_cv_prog_egrep
3258 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3259 if test "${with_gnu_ld+set}" = set; then
3260 withval
="$with_gnu_ld"
3261 test "$withval" = no || with_gnu_ld
=yes
3266 if test "$GCC" = yes; then
3267 # Check if gcc -print-prog-name=ld gives a path.
3268 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3269 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3272 # gcc leaves a trailing carriage return which upsets mingw
3273 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3275 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3278 # Accept absolute paths.
3280 re_direlt
='/[^/][^/]*/\.\./'
3281 # Canonicalize the pathname of ld
3282 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3283 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3284 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3286 test -z "$LD" && LD
="$ac_prog"
3289 # If it fails, then pretend we aren't using GCC.
3293 # If it is relative, then search for the first ld in PATH.
3297 elif test "$with_gnu_ld" = yes; then
3298 echo "$as_me:$LINENO: checking for GNU ld" >&5
3299 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3301 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3302 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3304 if test "${lt_cv_path_LD+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 if test -z "$LD"; then
3308 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3309 for ac_dir
in $PATH; do
3311 test -z "$ac_dir" && ac_dir
=.
3312 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3313 lt_cv_path_LD
="$ac_dir/$ac_prog"
3314 # Check to see if the program is GNU ld. I'd rather use --version,
3315 # but apparently some GNU ld's only accept -v.
3316 # Break only if it was the GNU/non-GNU ld that we prefer.
3317 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3318 *GNU
* |
*'with BFD'*)
3319 test "$with_gnu_ld" != no
&& break
3322 test "$with_gnu_ld" != yes && break
3329 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3334 if test -n "$LD"; then
3335 echo "$as_me:$LINENO: result: $LD" >&5
3336 echo "${ECHO_T}$LD" >&6
3338 echo "$as_me:$LINENO: result: no" >&5
3339 echo "${ECHO_T}no" >&6
3341 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3342 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3343 { (exit 1); exit 1; }; }
3344 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3345 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3346 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3350 case `$LD -v 2>&1 </dev/null` in
3351 *GNU
* |
*'with BFD'*)
3352 lt_cv_prog_gnu_ld
=yes
3355 lt_cv_prog_gnu_ld
=no
3359 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3360 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3361 with_gnu_ld
=$lt_cv_prog_gnu_ld
3364 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3365 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3366 if test "${lt_cv_ld_reload_flag+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 lt_cv_ld_reload_flag
='-r'
3371 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3372 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3373 reload_flag
=$lt_cv_ld_reload_flag
3374 case $reload_flag in
3376 *) reload_flag
=" $reload_flag" ;;
3378 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3381 if test "$GCC" = yes; then
3382 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
3384 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3389 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3390 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3391 if test "${lt_cv_path_NM+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 if test -n "$NM"; then
3395 # Let the user override the test.
3398 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3399 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3401 test -z "$ac_dir" && ac_dir
=.
3402 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3403 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3404 # Check to see if the nm accepts a BSD-compat flag.
3405 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3406 # nm: unknown option "B" ignored
3407 # Tru64's nm complains that /dev/null is an invalid object file
3408 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3409 */dev
/null
* |
*'Invalid file or object type'*)
3410 lt_cv_path_NM
="$tmp_nm -B"
3414 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3416 lt_cv_path_NM
="$tmp_nm -p"
3420 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3421 continue # so that we can try to find one that supports BSD flags
3428 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3431 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3432 echo "${ECHO_T}$lt_cv_path_NM" >&6
3435 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3436 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3438 if test "$LN_S" = "ln -s"; then
3439 echo "$as_me:$LINENO: result: yes" >&5
3440 echo "${ECHO_T}yes" >&6
3442 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3443 echo "${ECHO_T}no, using $LN_S" >&6
3446 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3447 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3448 if test "${lt_cv_deplibs_check_method+set}" = set; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3452 lt_cv_file_magic_test_file
=
3453 lt_cv_deplibs_check_method
='unknown'
3454 # Need to set the preceding variable on all platforms that support
3455 # interlibrary dependencies.
3456 # 'none' -- dependencies not supported.
3457 # `unknown' -- same as none, but documents that we really don't know.
3458 # 'pass_all' -- all dependencies passed with no checks.
3459 # 'test_compile' -- check by making test program.
3460 # 'file_magic [[regex]]' -- check by looking for files in library path
3461 # which responds to the $file_magic_cmd with a given extended regex.
3462 # If you have `file' or equivalent on your system and you're not sure
3463 # whether `pass_all' will *always* work, you probably want this one.
3467 lt_cv_deplibs_check_method
=pass_all
3471 lt_cv_deplibs_check_method
=pass_all
3475 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3476 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3477 lt_cv_file_magic_test_file
=/shlib
/libc.so
3481 # func_win32_libid is a shell function defined in ltmain.sh
3482 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3483 lt_cv_file_magic_cmd
='func_win32_libid'
3487 # Base MSYS/MinGW do not provide the 'file' command needed by
3488 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3489 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3490 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3493 darwin
* | rhapsody
*)
3494 lt_cv_deplibs_check_method
=pass_all
3497 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3498 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3501 # Not sure whether the presence of OpenBSD here was a mistake.
3502 # Let's accept both of them until this is cleared up.
3503 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3504 lt_cv_file_magic_cmd
=/usr
/bin
/file
3505 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3509 lt_cv_deplibs_check_method
=pass_all
3514 lt_cv_deplibs_check_method
=pass_all
3517 hpux10.20
* | hpux11
*)
3518 lt_cv_file_magic_cmd
=/usr
/bin
/file
3521 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3522 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3525 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]'
3526 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3529 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3530 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3535 irix5
* | irix6
* | nonstopux
*)
3537 *-32|
*"-32 ") libmagic
=32-bit;;
3538 *-n32|
*"-n32 ") libmagic
=N32
;;
3539 *-64|
*"-64 ") libmagic
=64-bit;;
3540 *) libmagic
=never-match
;;
3542 lt_cv_deplibs_check_method
=pass_all
3545 # This must be Linux ELF.
3547 lt_cv_deplibs_check_method
=pass_all
3551 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3552 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3554 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3559 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3560 lt_cv_file_magic_cmd
=/usr
/bin
/file
3561 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3565 lt_cv_deplibs_check_method
=unknown
3569 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3570 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3572 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3576 osf3
* | osf4
* | osf5
*)
3577 lt_cv_deplibs_check_method
=pass_all
3581 lt_cv_deplibs_check_method
=pass_all
3585 lt_cv_deplibs_check_method
=pass_all
3588 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3589 case $host_vendor in
3591 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]'
3592 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3595 lt_cv_deplibs_check_method
=pass_all
3598 lt_cv_file_magic_cmd
='/bin/file'
3599 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3602 lt_cv_file_magic_cmd
='/bin/file'
3603 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3604 lt_cv_file_magic_test_file
=/lib
/libc.so
3607 lt_cv_deplibs_check_method
=pass_all
3612 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
3613 lt_cv_deplibs_check_method
=pass_all
3618 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3619 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3620 file_magic_cmd
=$lt_cv_file_magic_cmd
3621 deplibs_check_method
=$lt_cv_deplibs_check_method
3622 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3627 # If no C compiler was specified, use CC.
3630 # Allow CC to be a program name with arguments.
3634 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3635 if test "${enable_libtool_lock+set}" = set; then
3636 enableval
="$enable_libtool_lock"
3639 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3641 # Some flags need to be propagated to the compiler or linker for good
3645 # Find out which ABI we are using.
3646 echo 'int i;' > conftest.
$ac_ext
3647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3648 (eval $ac_compile) 2>&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); }; then
3652 case `/usr/bin/file conftest.$ac_objext` in
3664 # Find out which ABI we are using.
3665 echo '#line 3665 "configure"' > conftest.
$ac_ext
3666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3667 (eval $ac_compile) 2>&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }; then
3671 if test "$lt_cv_prog_gnu_ld" = yes; then
3672 case `/usr/bin/file conftest.$ac_objext` in
3674 LD
="${LD-ld} -melf32bsmip"
3677 LD
="${LD-ld} -melf32bmipn32"
3680 LD
="${LD-ld} -melf64bmip"
3684 case `/usr/bin/file conftest.$ac_objext` in
3700 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3701 # Find out which ABI we are using.
3702 echo 'int i;' > conftest.
$ac_ext
3703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3704 (eval $ac_compile) 2>&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); }; then
3708 case "`/usr/bin/file conftest.o`" in
3712 LD
="${LD-ld} -m elf_i386"
3714 ppc64-
*linux
*|powerpc64-
*linux
*)
3715 LD
="${LD-ld} -m elf32ppclinux"
3718 LD
="${LD-ld} -m elf_s390"
3721 LD
="${LD-ld} -m elf32_sparc"
3728 LD
="${LD-ld} -m elf_x86_64"
3730 ppc
*-*linux
*|powerpc
*-*linux
*)
3731 LD
="${LD-ld} -m elf64ppc"
3734 LD
="${LD-ld} -m elf64_s390"
3737 LD
="${LD-ld} -m elf64_sparc"
3747 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3748 SAVE_CFLAGS
="$CFLAGS"
3749 CFLAGS
="$CFLAGS -belf"
3750 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3751 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3752 if test "${lt_cv_cc_needs_belf+set}" = set; then
3753 echo $ECHO_N "(cached) $ECHO_C" >&6
3756 ac_cpp
='$CPP $CPPFLAGS'
3757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3761 cat >conftest.
$ac_ext <<_ACEOF
3764 cat confdefs.h
>>conftest.
$ac_ext
3765 cat >>conftest.
$ac_ext <<_ACEOF
3766 /* end confdefs.h. */
3776 rm -f conftest.
$ac_objext conftest
$ac_exeext
3777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3778 (eval $ac_link) 2>conftest.er1
3780 grep -v '^ *+' conftest.er1
>conftest.err
3782 cat conftest.err
>&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); } &&
3785 { ac_try
='test -z "$ac_c_werror_flag"
3786 || test ! -s conftest.err'
3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; } &&
3792 { ac_try
='test -s conftest$ac_exeext'
3793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }; }; then
3798 lt_cv_cc_needs_belf
=yes
3800 echo "$as_me: failed program was:" >&5
3801 sed 's/^/| /' conftest.
$ac_ext >&5
3803 lt_cv_cc_needs_belf
=no
3805 rm -f conftest.err conftest.
$ac_objext \
3806 conftest
$ac_exeext conftest.
$ac_ext
3808 ac_cpp
='$CPP $CPPFLAGS'
3809 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3814 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3815 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3816 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3817 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3818 CFLAGS
="$SAVE_CFLAGS"
3824 need_locks
="$enable_libtool_lock"
3828 ac_cpp
='$CPP $CPPFLAGS'
3829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3832 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3833 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3834 # On Suns, sometimes $CPP names a directory.
3835 if test -n "$CPP" && test -d "$CPP"; then
3838 if test -z "$CPP"; then
3839 if test "${ac_cv_prog_CPP+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 # Double quotes because CPP needs to be expanded
3843 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3846 for ac_c_preproc_warn_flag
in '' yes
3848 # Use a header file that comes with gcc, so configuring glibc
3849 # with a fresh cross-compiler works.
3850 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3851 # <limits.h> exists even on freestanding compilers.
3852 # On the NeXT, cc -E runs the code through the compiler's parser,
3853 # not just through cpp. "Syntax error" is here to catch this case.
3854 cat >conftest.
$ac_ext <<_ACEOF
3857 cat confdefs.h
>>conftest.
$ac_ext
3858 cat >>conftest.
$ac_ext <<_ACEOF
3859 /* end confdefs.h. */
3861 # include <limits.h>
3863 # include <assert.h>
3867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3868 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3870 grep -v '^ *+' conftest.er1
>conftest.err
3872 cat conftest.err
>&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); } >/dev
/null
; then
3875 if test -s conftest.err
; then
3876 ac_cpp_err
=$ac_c_preproc_warn_flag
3877 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3884 if test -z "$ac_cpp_err"; then
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.
$ac_ext >&5
3890 # Broken: fails on valid input.
3893 rm -f conftest.err conftest.
$ac_ext
3895 # OK, works on sane cases. Now check whether non-existent headers
3896 # can be detected and how.
3897 cat >conftest.
$ac_ext <<_ACEOF
3900 cat confdefs.h
>>conftest.
$ac_ext
3901 cat >>conftest.
$ac_ext <<_ACEOF
3902 /* end confdefs.h. */
3903 #include <ac_nonexistent.h>
3905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3906 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3908 grep -v '^ *+' conftest.er1
>conftest.err
3910 cat conftest.err
>&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); } >/dev
/null
; then
3913 if test -s conftest.err
; then
3914 ac_cpp_err
=$ac_c_preproc_warn_flag
3915 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3922 if test -z "$ac_cpp_err"; then
3923 # Broken: success on invalid input.
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.
$ac_ext >&5
3929 # Passes both tests.
3933 rm -f conftest.err conftest.
$ac_ext
3936 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3937 rm -f conftest.err conftest.
$ac_ext
3938 if $ac_preproc_ok; then
3950 echo "$as_me:$LINENO: result: $CPP" >&5
3951 echo "${ECHO_T}$CPP" >&6
3953 for ac_c_preproc_warn_flag
in '' yes
3955 # Use a header file that comes with gcc, so configuring glibc
3956 # with a fresh cross-compiler works.
3957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3958 # <limits.h> exists even on freestanding compilers.
3959 # On the NeXT, cc -E runs the code through the compiler's parser,
3960 # not just through cpp. "Syntax error" is here to catch this case.
3961 cat >conftest.
$ac_ext <<_ACEOF
3964 cat confdefs.h
>>conftest.
$ac_ext
3965 cat >>conftest.
$ac_ext <<_ACEOF
3966 /* end confdefs.h. */
3968 # include <limits.h>
3970 # include <assert.h>
3974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3975 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3977 grep -v '^ *+' conftest.er1
>conftest.err
3979 cat conftest.err
>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); } >/dev
/null
; then
3982 if test -s conftest.err
; then
3983 ac_cpp_err
=$ac_c_preproc_warn_flag
3984 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3991 if test -z "$ac_cpp_err"; then
3994 echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.
$ac_ext >&5
3997 # Broken: fails on valid input.
4000 rm -f conftest.err conftest.
$ac_ext
4002 # OK, works on sane cases. Now check whether non-existent headers
4003 # can be detected and how.
4004 cat >conftest.
$ac_ext <<_ACEOF
4007 cat confdefs.h
>>conftest.
$ac_ext
4008 cat >>conftest.
$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4010 #include <ac_nonexistent.h>
4012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4013 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4015 grep -v '^ *+' conftest.er1
>conftest.err
4017 cat conftest.err
>&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } >/dev
/null
; then
4020 if test -s conftest.err
; then
4021 ac_cpp_err
=$ac_c_preproc_warn_flag
4022 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4029 if test -z "$ac_cpp_err"; then
4030 # Broken: success on invalid input.
4033 echo "$as_me: failed program was:" >&5
4034 sed 's/^/| /' conftest.
$ac_ext >&5
4036 # Passes both tests.
4040 rm -f conftest.err conftest.
$ac_ext
4043 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4044 rm -f conftest.err conftest.
$ac_ext
4045 if $ac_preproc_ok; then
4048 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4049 See \`config.log' for more details." >&5
4050 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4051 See \`config.log' for more details." >&2;}
4052 { (exit 1); exit 1; }; }
4056 ac_cpp
='$CPP $CPPFLAGS'
4057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4062 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4063 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4064 if test "${ac_cv_header_stdc+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 cat >conftest.
$ac_ext <<_ACEOF
4070 cat confdefs.h
>>conftest.
$ac_ext
4071 cat >>conftest.
$ac_ext <<_ACEOF
4072 /* end confdefs.h. */
4086 rm -f conftest.
$ac_objext
4087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4088 (eval $ac_compile) 2>conftest.er1
4090 grep -v '^ *+' conftest.er1
>conftest.err
4092 cat conftest.err
>&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); } &&
4095 { ac_try
='test -z "$ac_c_werror_flag"
4096 || test ! -s conftest.err'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; } &&
4102 { ac_try
='test -s conftest.$ac_objext'
4103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); }; }; then
4108 ac_cv_header_stdc
=yes
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.
$ac_ext >&5
4113 ac_cv_header_stdc
=no
4115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4117 if test $ac_cv_header_stdc = yes; then
4118 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4119 cat >conftest.
$ac_ext <<_ACEOF
4122 cat confdefs.h
>>conftest.
$ac_ext
4123 cat >>conftest.
$ac_ext <<_ACEOF
4124 /* end confdefs.h. */
4128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4129 $EGREP "memchr" >/dev
/null
2>&1; then
4132 ac_cv_header_stdc
=no
4138 if test $ac_cv_header_stdc = yes; then
4139 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4140 cat >conftest.
$ac_ext <<_ACEOF
4143 cat confdefs.h
>>conftest.
$ac_ext
4144 cat >>conftest.
$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4150 $EGREP "free" >/dev
/null
2>&1; then
4153 ac_cv_header_stdc
=no
4159 if test $ac_cv_header_stdc = yes; then
4160 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4161 if test "$cross_compiling" = yes; then
4164 cat >conftest.
$ac_ext <<_ACEOF
4167 cat confdefs.h
>>conftest.
$ac_ext
4168 cat >>conftest.
$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4171 #if ((' ' & 0x0FF) == 0x020)
4172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4175 # define ISLOWER(c) \
4176 (('a' <= (c) && (c) <= 'i') \
4177 || ('j' <= (c) && (c) <= 'r') \
4178 || ('s' <= (c) && (c) <= 'z'))
4179 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4187 for (i = 0; i < 256; i++)
4188 if (XOR (islower (i), ISLOWER (i))
4189 || toupper (i) != TOUPPER (i))
4194 rm -f conftest
$ac_exeext
4195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4196 (eval $ac_link) 2>&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); }; }; then
4207 echo "$as_me: program exited with status $ac_status" >&5
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.
$ac_ext >&5
4212 ac_cv_header_stdc
=no
4214 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4218 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4219 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4220 if test $ac_cv_header_stdc = yes; then
4222 cat >>confdefs.h
<<\_ACEOF
4223 #define STDC_HEADERS 1
4228 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4238 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4239 inttypes.h stdint.h unistd.h
4241 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4242 echo "$as_me:$LINENO: checking for $ac_header" >&5
4243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 cat >conftest.
$ac_ext <<_ACEOF
4250 cat confdefs.h
>>conftest.
$ac_ext
4251 cat >>conftest.
$ac_ext <<_ACEOF
4252 /* end confdefs.h. */
4253 $ac_includes_default
4255 #include <$ac_header>
4257 rm -f conftest.
$ac_objext
4258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4259 (eval $ac_compile) 2>conftest.er1
4261 grep -v '^ *+' conftest.er1
>conftest.err
4263 cat conftest.err
>&5
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); } &&
4266 { ac_try
='test -z "$ac_c_werror_flag"
4267 || test ! -s conftest.err'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; } &&
4273 { ac_try
='test -s conftest.$ac_objext'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; }; then
4279 eval "$as_ac_Header=yes"
4281 echo "$as_me: failed program was:" >&5
4282 sed 's/^/| /' conftest.
$ac_ext >&5
4284 eval "$as_ac_Header=no"
4286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4291 cat >>confdefs.h
<<_ACEOF
4292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4301 for ac_header
in dlfcn.h
4303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4305 echo "$as_me:$LINENO: checking for $ac_header" >&5
4306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4308 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4313 # Is the header compilable?
4314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4316 cat >conftest.
$ac_ext <<_ACEOF
4319 cat confdefs.h
>>conftest.
$ac_ext
4320 cat >>conftest.
$ac_ext <<_ACEOF
4321 /* end confdefs.h. */
4322 $ac_includes_default
4323 #include <$ac_header>
4325 rm -f conftest.
$ac_objext
4326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4327 (eval $ac_compile) 2>conftest.er1
4329 grep -v '^ *+' conftest.er1
>conftest.err
4331 cat conftest.err
>&5
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); } &&
4334 { ac_try
='test -z "$ac_c_werror_flag"
4335 || test ! -s conftest.err'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; } &&
4341 { ac_try
='test -s conftest.$ac_objext'
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; }; then
4347 ac_header_compiler
=yes
4349 echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.
$ac_ext >&5
4352 ac_header_compiler
=no
4354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4356 echo "${ECHO_T}$ac_header_compiler" >&6
4358 # Is the header present?
4359 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4360 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4361 cat >conftest.
$ac_ext <<_ACEOF
4364 cat confdefs.h
>>conftest.
$ac_ext
4365 cat >>conftest.
$ac_ext <<_ACEOF
4366 /* end confdefs.h. */
4367 #include <$ac_header>
4369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4372 grep -v '^ *+' conftest.er1
>conftest.err
4374 cat conftest.err
>&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); } >/dev
/null
; then
4377 if test -s conftest.err
; then
4378 ac_cpp_err
=$ac_c_preproc_warn_flag
4379 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4386 if test -z "$ac_cpp_err"; then
4387 ac_header_preproc
=yes
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.
$ac_ext >&5
4392 ac_header_preproc
=no
4394 rm -f conftest.err conftest.
$ac_ext
4395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4396 echo "${ECHO_T}$ac_header_preproc" >&6
4398 # So? What about this header?
4399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4401 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4404 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4405 ac_header_preproc
=yes
4408 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4410 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4412 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4413 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4414 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4415 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4418 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4419 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4422 ## ------------------------------------------ ##
4423 ## Report this to the AC_PACKAGE_NAME lists. ##
4424 ## ------------------------------------------ ##
4427 sed "s/^/$as_me: WARNING: /" >&2
4430 echo "$as_me:$LINENO: checking for $ac_header" >&5
4431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 eval "$as_ac_Header=\$ac_header_preproc"
4437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4442 cat >>confdefs.h
<<_ACEOF
4443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4451 ac_cpp
='$CXXCPP $CPPFLAGS'
4452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4455 if test -n "$ac_tool_prefix"; then
4456 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4458 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4459 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4460 echo "$as_me:$LINENO: checking for $ac_word" >&5
4461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4462 if test "${ac_cv_prog_CXX+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4465 if test -n "$CXX"; then
4466 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4472 test -z "$as_dir" && as_dir
=.
4473 for ac_exec_ext
in '' $ac_executable_extensions; do
4474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4475 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4485 if test -n "$CXX"; then
4486 echo "$as_me:$LINENO: result: $CXX" >&5
4487 echo "${ECHO_T}$CXX" >&6
4489 echo "$as_me:$LINENO: result: no" >&5
4490 echo "${ECHO_T}no" >&6
4493 test -n "$CXX" && break
4496 if test -z "$CXX"; then
4498 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4500 # Extract the first word of "$ac_prog", so it can be a program name with args.
4501 set dummy
$ac_prog; ac_word
=$2
4502 echo "$as_me:$LINENO: checking for $ac_word" >&5
4503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4504 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 if test -n "$ac_ct_CXX"; then
4508 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4514 test -z "$as_dir" && as_dir
=.
4515 for ac_exec_ext
in '' $ac_executable_extensions; do
4516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4517 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4527 if test -n "$ac_ct_CXX"; then
4528 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4529 echo "${ECHO_T}$ac_ct_CXX" >&6
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4535 test -n "$ac_ct_CXX" && break
4537 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4543 # Provide some information about the compiler.
4544 echo "$as_me:$LINENO:" \
4545 "checking for C++ compiler version" >&5
4546 ac_compiler
=`set X $ac_compile; echo $2`
4547 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4548 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); }
4552 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4553 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); }
4557 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4558 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); }
4563 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4564 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4565 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 cat >conftest.
$ac_ext <<_ACEOF
4571 cat confdefs.h
>>conftest.
$ac_ext
4572 cat >>conftest.
$ac_ext <<_ACEOF
4573 /* end confdefs.h. */
4586 rm -f conftest.
$ac_objext
4587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4588 (eval $ac_compile) 2>conftest.er1
4590 grep -v '^ *+' conftest.er1
>conftest.err
4592 cat conftest.err
>&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } &&
4595 { ac_try
='test -z "$ac_cxx_werror_flag"
4596 || test ! -s conftest.err'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; } &&
4602 { ac_try
='test -s conftest.$ac_objext'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; }; then
4610 echo "$as_me: failed program was:" >&5
4611 sed 's/^/| /' conftest.
$ac_ext >&5
4615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4616 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4619 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4620 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4621 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4622 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4623 ac_save_CXXFLAGS
=$CXXFLAGS
4625 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4626 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4627 if test "${ac_cv_prog_cxx_g+set}" = set; then
4628 echo $ECHO_N "(cached) $ECHO_C" >&6
4630 cat >conftest.
$ac_ext <<_ACEOF
4633 cat confdefs.h
>>conftest.
$ac_ext
4634 cat >>conftest.
$ac_ext <<_ACEOF
4635 /* end confdefs.h. */
4645 rm -f conftest.
$ac_objext
4646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4647 (eval $ac_compile) 2>conftest.er1
4649 grep -v '^ *+' conftest.er1
>conftest.err
4651 cat conftest.err
>&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); } &&
4654 { ac_try
='test -z "$ac_cxx_werror_flag"
4655 || test ! -s conftest.err'
4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; } &&
4661 { ac_try
='test -s conftest.$ac_objext'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; }; then
4667 ac_cv_prog_cxx_g
=yes
4669 echo "$as_me: failed program was:" >&5
4670 sed 's/^/| /' conftest.
$ac_ext >&5
4674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4676 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4677 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4678 if test "$ac_test_CXXFLAGS" = set; then
4679 CXXFLAGS
=$ac_save_CXXFLAGS
4680 elif test $ac_cv_prog_cxx_g = yes; then
4681 if test "$GXX" = yes; then
4687 if test "$GXX" = yes; then
4693 for ac_declaration
in \
4695 'extern "C" void std::exit (int) throw (); using std::exit;' \
4696 'extern "C" void std::exit (int); using std::exit;' \
4697 'extern "C" void exit (int) throw ();' \
4698 'extern "C" void exit (int);' \
4701 cat >conftest.
$ac_ext <<_ACEOF
4704 cat confdefs.h
>>conftest.
$ac_ext
4705 cat >>conftest.
$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4717 rm -f conftest.
$ac_objext
4718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4719 (eval $ac_compile) 2>conftest.er1
4721 grep -v '^ *+' conftest.er1
>conftest.err
4723 cat conftest.err
>&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } &&
4726 { ac_try
='test -z "$ac_cxx_werror_flag"
4727 || test ! -s conftest.err'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; } &&
4733 { ac_try
='test -s conftest.$ac_objext'
4734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); }; }; then
4741 echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.
$ac_ext >&5
4746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4747 cat >conftest.
$ac_ext <<_ACEOF
4750 cat confdefs.h
>>conftest.
$ac_ext
4751 cat >>conftest.
$ac_ext <<_ACEOF
4752 /* end confdefs.h. */
4762 rm -f conftest.
$ac_objext
4763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4764 (eval $ac_compile) 2>conftest.er1
4766 grep -v '^ *+' conftest.er1
>conftest.err
4768 cat conftest.err
>&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); } &&
4771 { ac_try
='test -z "$ac_cxx_werror_flag"
4772 || test ! -s conftest.err'
4773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); }; } &&
4778 { ac_try
='test -s conftest.$ac_objext'
4779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); }; }; then
4786 echo "$as_me: failed program was:" >&5
4787 sed 's/^/| /' conftest.
$ac_ext >&5
4790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4793 if test -n "$ac_declaration"; then
4794 echo '#ifdef __cplusplus' >>confdefs.h
4795 echo $ac_declaration >>confdefs.h
4796 echo '#endif' >>confdefs.h
4800 ac_cpp
='$CXXCPP $CPPFLAGS'
4801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4805 depcc
="$CXX" am_compiler_list
=
4807 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4808 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4809 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4812 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4813 # We make a subdir and do the tests there. Otherwise we can end up
4814 # making bogus files that we don't know about and never remove. For
4815 # instance it was reported that on HP-UX the gcc test will end up
4816 # making a dummy file named `D' -- because `-MD' means `put the output
4819 # Copy depcomp to subdir because otherwise we won't find it if we're
4820 # using a relative directory.
4821 cp "$am_depcomp" conftest.dir
4823 # We will build objects and dependencies in a subdirectory because
4824 # it helps to detect inapplicable dependency modes. For instance
4825 # both Tru64's cc and ICC support -MD to output dependencies as a
4826 # side effect of compilation, but ICC will put the dependencies in
4827 # the current directory while Tru64 will put them in the object
4831 am_cv_CXX_dependencies_compiler_type
=none
4832 if test "$am_compiler_list" = ""; then
4833 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4835 for depmode
in $am_compiler_list; do
4836 # Setup a source with many dependencies, because some compilers
4837 # like to wrap large dependency lists on column 80 (with \), and
4838 # we should not choose a depcomp mode which is confused by this.
4840 # We need to recreate these files for each test, as the compiler may
4841 # overwrite some of them when testing with obscure command lines.
4842 # This happens at least with the AIX C compiler.
4844 for i
in 1 2 3 4 5 6; do
4845 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4848 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4852 # after this tag, mechanisms are not by side-effect, so they'll
4853 # only be used when explicitly requested
4854 if test "x$enable_dependency_tracking" = xyes
; then
4862 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4863 # mode. It turns out that the SunPro C++ compiler does not properly
4864 # handle `-M -o', and we need to detect this.
4865 if depmode
=$depmode \
4866 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4867 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4868 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4869 >/dev
/null
2>conftest.err
&&
4870 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4871 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4872 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4873 # icc doesn't choke on unknown options, it will just issue warnings
4874 # (even with -Werror). So we grep stderr for any message
4875 # that says an option was ignored.
4876 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
4877 am_cv_CXX_dependencies_compiler_type
=$depmode
4886 am_cv_CXX_dependencies_compiler_type
=none
4890 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4891 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4892 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4897 test "x$enable_dependency_tracking" != xno \
4898 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4899 am__fastdepCXX_TRUE
=
4900 am__fastdepCXX_FALSE
='#'
4902 am__fastdepCXX_TRUE
='#'
4903 am__fastdepCXX_FALSE
=
4909 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4910 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4911 (test "X$CXX" != "Xg++"))) ; then
4913 ac_cpp
='$CXXCPP $CPPFLAGS'
4914 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4915 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4916 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4917 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4918 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4919 if test -z "$CXXCPP"; then
4920 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 # Double quotes because CXXCPP needs to be expanded
4924 for CXXCPP
in "$CXX -E" "/lib/cpp"
4927 for ac_cxx_preproc_warn_flag
in '' yes
4929 # Use a header file that comes with gcc, so configuring glibc
4930 # with a fresh cross-compiler works.
4931 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4932 # <limits.h> exists even on freestanding compilers.
4933 # On the NeXT, cc -E runs the code through the compiler's parser,
4934 # not just through cpp. "Syntax error" is here to catch this case.
4935 cat >conftest.
$ac_ext <<_ACEOF
4938 cat confdefs.h
>>conftest.
$ac_ext
4939 cat >>conftest.
$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4942 # include <limits.h>
4944 # include <assert.h>
4948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4949 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4951 grep -v '^ *+' conftest.er1
>conftest.err
4953 cat conftest.err
>&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); } >/dev
/null
; then
4956 if test -s conftest.err
; then
4957 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4958 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4965 if test -z "$ac_cpp_err"; then
4968 echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.
$ac_ext >&5
4971 # Broken: fails on valid input.
4974 rm -f conftest.err conftest.
$ac_ext
4976 # OK, works on sane cases. Now check whether non-existent headers
4977 # can be detected and how.
4978 cat >conftest.
$ac_ext <<_ACEOF
4981 cat confdefs.h
>>conftest.
$ac_ext
4982 cat >>conftest.
$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4984 #include <ac_nonexistent.h>
4986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4987 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4989 grep -v '^ *+' conftest.er1
>conftest.err
4991 cat conftest.err
>&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); } >/dev
/null
; then
4994 if test -s conftest.err
; then
4995 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4996 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5003 if test -z "$ac_cpp_err"; then
5004 # Broken: success on invalid input.
5007 echo "$as_me: failed program was:" >&5
5008 sed 's/^/| /' conftest.
$ac_ext >&5
5010 # Passes both tests.
5014 rm -f conftest.err conftest.
$ac_ext
5017 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5018 rm -f conftest.err conftest.
$ac_ext
5019 if $ac_preproc_ok; then
5024 ac_cv_prog_CXXCPP
=$CXXCPP
5027 CXXCPP
=$ac_cv_prog_CXXCPP
5029 ac_cv_prog_CXXCPP
=$CXXCPP
5031 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5032 echo "${ECHO_T}$CXXCPP" >&6
5034 for ac_cxx_preproc_warn_flag
in '' yes
5036 # Use a header file that comes with gcc, so configuring glibc
5037 # with a fresh cross-compiler works.
5038 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5039 # <limits.h> exists even on freestanding compilers.
5040 # On the NeXT, cc -E runs the code through the compiler's parser,
5041 # not just through cpp. "Syntax error" is here to catch this case.
5042 cat >conftest.
$ac_ext <<_ACEOF
5045 cat confdefs.h
>>conftest.
$ac_ext
5046 cat >>conftest.
$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5049 # include <limits.h>
5051 # include <assert.h>
5055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5058 grep -v '^ *+' conftest.er1
>conftest.err
5060 cat conftest.err
>&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } >/dev
/null
; then
5063 if test -s conftest.err
; then
5064 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5065 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5072 if test -z "$ac_cpp_err"; then
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.
$ac_ext >&5
5078 # Broken: fails on valid input.
5081 rm -f conftest.err conftest.
$ac_ext
5083 # OK, works on sane cases. Now check whether non-existent headers
5084 # can be detected and how.
5085 cat >conftest.
$ac_ext <<_ACEOF
5088 cat confdefs.h
>>conftest.
$ac_ext
5089 cat >>conftest.
$ac_ext <<_ACEOF
5090 /* end confdefs.h. */
5091 #include <ac_nonexistent.h>
5093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5094 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5096 grep -v '^ *+' conftest.er1
>conftest.err
5098 cat conftest.err
>&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } >/dev
/null
; then
5101 if test -s conftest.err
; then
5102 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5103 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5110 if test -z "$ac_cpp_err"; then
5111 # Broken: success on invalid input.
5114 echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.
$ac_ext >&5
5117 # Passes both tests.
5121 rm -f conftest.err conftest.
$ac_ext
5124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5125 rm -f conftest.err conftest.
$ac_ext
5126 if $ac_preproc_ok; then
5129 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5130 See \`config.log' for more details." >&5
5131 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5132 See \`config.log' for more details." >&2;}
5133 { (exit 1); exit 1; }; }
5137 ac_cpp
='$CXXCPP $CPPFLAGS'
5138 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5139 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5140 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5146 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5147 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5148 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5149 if test -n "$ac_tool_prefix"; then
5150 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5153 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5154 echo "$as_me:$LINENO: checking for $ac_word" >&5
5155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5156 if test "${ac_cv_prog_F77+set}" = set; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 if test -n "$F77"; then
5160 ac_cv_prog_F77
="$F77" # Let the user override the test.
5162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5166 test -z "$as_dir" && as_dir
=.
5167 for ac_exec_ext
in '' $ac_executable_extensions; do
5168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 if test -n "$F77"; then
5180 echo "$as_me:$LINENO: result: $F77" >&5
5181 echo "${ECHO_T}$F77" >&6
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5187 test -n "$F77" && break
5190 if test -z "$F77"; then
5192 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5194 # Extract the first word of "$ac_prog", so it can be a program name with args.
5195 set dummy
$ac_prog; ac_word
=$2
5196 echo "$as_me:$LINENO: checking for $ac_word" >&5
5197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5198 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5201 if test -n "$ac_ct_F77"; then
5202 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5208 test -z "$as_dir" && as_dir
=.
5209 for ac_exec_ext
in '' $ac_executable_extensions; do
5210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_ac_ct_F77
="$ac_prog"
5212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5221 if test -n "$ac_ct_F77"; then
5222 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5223 echo "${ECHO_T}$ac_ct_F77" >&6
5225 echo "$as_me:$LINENO: result: no" >&5
5226 echo "${ECHO_T}no" >&6
5229 test -n "$ac_ct_F77" && break
5236 # Provide some information about the compiler.
5237 echo "$as_me:5237:" \
5238 "checking for Fortran 77 compiler version" >&5
5239 ac_compiler
=`set X $ac_compile; echo $2`
5240 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5241 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); }
5245 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5246 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); }
5250 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5251 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); }
5257 # If we don't use `.F' as extension, the preprocessor is not run on the
5258 # input file. (Note that this only needs to work for GNU compilers.)
5261 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5262 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5263 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 cat >conftest.
$ac_ext <<_ACEOF
5274 rm -f conftest.
$ac_objext
5275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5276 (eval $ac_compile) 2>conftest.er1
5278 grep -v '^ *+' conftest.er1
>conftest.err
5280 cat conftest.err
>&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } &&
5283 { ac_try
='test -z "$ac_f77_werror_flag"
5284 || test ! -s conftest.err'
5285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); }; } &&
5290 { ac_try
='test -s conftest.$ac_objext'
5291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; }; then
5298 echo "$as_me: failed program was:" >&5
5299 sed 's/^/| /' conftest.
$ac_ext >&5
5303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5304 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5307 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5308 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5310 ac_test_FFLAGS
=${FFLAGS+set}
5311 ac_save_FFLAGS
=$FFLAGS
5313 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5314 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5315 if test "${ac_cv_prog_f77_g+set}" = set; then
5316 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 cat >conftest.
$ac_ext <<_ACEOF
5324 rm -f conftest.
$ac_objext
5325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5326 (eval $ac_compile) 2>conftest.er1
5328 grep -v '^ *+' conftest.er1
>conftest.err
5330 cat conftest.err
>&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } &&
5333 { ac_try
='test -z "$ac_f77_werror_flag"
5334 || test ! -s conftest.err'
5335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 (exit $ac_status); }; } &&
5340 { ac_try
='test -s conftest.$ac_objext'
5341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); }; }; then
5346 ac_cv_prog_f77_g
=yes
5348 echo "$as_me: failed program was:" >&5
5349 sed 's/^/| /' conftest.
$ac_ext >&5
5353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5356 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5357 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5358 if test "$ac_test_FFLAGS" = set; then
5359 FFLAGS
=$ac_save_FFLAGS
5360 elif test $ac_cv_prog_f77_g = yes; then
5361 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5367 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5374 G77
=`test $ac_compiler_gnu = yes && echo yes`
5376 ac_cpp
='$CPP $CPPFLAGS'
5377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5383 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5385 # find the maximum length of command line arguments
5386 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5387 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5388 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5389 echo $ECHO_N "(cached) $ECHO_C" >&6
5396 # On DJGPP, this test can blow up pretty badly due to problems in libc
5397 # (any single argument exceeding 2000 bytes causes a buffer overrun
5398 # during glob expansion). Even if it were fixed, the result of this
5399 # check would be larger than it should be.
5400 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5404 # Under GNU Hurd, this test is not required because there is
5405 # no limit to the length of command line arguments.
5406 # Libtool will interpret -1 as no limit whatsoever
5407 lt_cv_sys_max_cmd_len
=-1;
5411 # On Win9x/ME, this test blows up -- it succeeds, but takes
5412 # about 5 minutes as the teststring grows exponentially.
5413 # Worse, since 9x/ME are not pre-emptively multitasking,
5414 # you end up with a "frozen" computer, even though with patience
5415 # the test eventually succeeds (with a max line length of 256k).
5416 # Instead, let's just punt: use the minimum linelength reported by
5417 # all of the supported platforms: 8192 (on NT/2K/XP).
5418 lt_cv_sys_max_cmd_len
=8192;
5422 # On AmigaOS with pdksh, this test takes hours, literally.
5423 # So we just punt and use a minimum line length of 8192.
5424 lt_cv_sys_max_cmd_len
=8192;
5427 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5428 # This has been around since 386BSD, at least. Likely further.
5429 if test -x /sbin
/sysctl
; then
5430 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5431 elif test -x /usr
/sbin
/sysctl
; then
5432 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5434 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5436 # And add a safety zone
5437 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5438 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5441 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5442 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5443 # nice to cause kernel panics so lets avoid the loop below.
5444 # First set a reasonable default.
5445 lt_cv_sys_max_cmd_len
=16384
5447 if test -x /sbin
/sysconfig
; then
5448 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5449 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5454 # If test is not a shell built-in, we'll probably end up computing a
5455 # maximum length that is only half of the actual maximum length, but
5457 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5458 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5459 = "XX$teststring") >/dev
/null
2>&1 &&
5460 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5461 lt_cv_sys_max_cmd_len
=$new_result &&
5462 test $i != 17 # 1/2 MB should be enough
5465 teststring
=$teststring$teststring
5468 # Add a significant safety factor because C++ compilers can tack on massive
5469 # amounts of additional arguments before passing them to the linker.
5470 # It appears as though 1/2 is a usable value.
5471 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5477 if test -n $lt_cv_sys_max_cmd_len ; then
5478 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5479 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5481 echo "$as_me:$LINENO: result: none" >&5
5482 echo "${ECHO_T}none" >&6
5488 # Check for command to grab the raw symbol name followed by C symbol from nm.
5489 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5490 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5491 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 # These are sane defaults that work on at least a few old systems.
5496 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5498 # Character class describing NM global symbol codes.
5499 symcode
='[BCDEGRST]'
5501 # Regexp to match symbols that can be accessed directly from C.
5502 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5504 # Transform an extracted symbol line into a proper C declaration
5505 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5507 # Transform an extracted symbol line into symbol name and symbol address
5508 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'"
5510 # Define system-specific variables.
5515 cygwin
* | mingw
* | pw32
*)
5516 symcode
='[ABCDGISTW]'
5518 hpux
*) # Its linker distinguishes data from code symbols
5519 if test "$host_cpu" = ia64
; then
5520 symcode
='[ABCDEGRST]'
5522 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5523 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'"
5526 if test "$host_cpu" = ia64
; then
5527 symcode
='[ABCDGIRSTW]'
5528 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5529 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'"
5533 symcode
='[BCDEGRST]'
5536 symcode
='[BCDEGQRST]'
5546 # Handle CRLF in mingw tool chain
5550 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5554 # If we're using GNU nm, then use its standard symbol codes.
5555 case `$NM -V 2>&1` in
5556 *GNU
* |
*'with BFD'*)
5557 symcode
='[ABCDGIRSTW]' ;;
5560 # Try without a prefix undercore, then with it.
5561 for ac_symprfx
in "" "_"; do
5563 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5564 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5566 # Write the raw and C identifiers.
5567 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5569 # Check to see that the pipe works correctly.
5573 cat > conftest.
$ac_ext <<EOF
5578 void nm_test_func(){}
5582 int main(){nm_test_var='a';nm_test_func();return(0);}
5585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5586 (eval $ac_compile) 2>&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); }; then
5590 # Now try to grab the symbols.
5592 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5593 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); } && test -s "$nlist"; then
5597 # Try sorting and uniquifying the output.
5598 if sort "$nlist" |
uniq > "$nlist"T
; then
5599 mv -f "$nlist"T
"$nlist"
5604 # Make sure that we snagged all the symbols we need.
5605 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5606 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5607 cat <<EOF > conftest.$ac_ext
5613 # Now generate the symbol file.
5614 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5616 cat <<EOF >> conftest.$ac_ext
5617 #if defined (__STDC__) && __STDC__
5618 # define lt_ptr_t void *
5620 # define lt_ptr_t char *
5624 /* The mapping between symbol names and symbols. */
5629 lt_preloaded_symbols[] =
5632 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5633 cat <<\EOF
>> conftest.
$ac_ext
5641 # Now try linking the two files.
5642 mv conftest.
$ac_objext conftstm.
$ac_objext
5643 lt_save_LIBS
="$LIBS"
5644 lt_save_CFLAGS
="$CFLAGS"
5645 LIBS
="conftstm.$ac_objext"
5646 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5648 (eval $ac_link) 2>&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5654 LIBS
="$lt_save_LIBS"
5655 CFLAGS
="$lt_save_CFLAGS"
5657 echo "cannot find nm_test_func in $nlist" >&5
5660 echo "cannot find nm_test_var in $nlist" >&5
5663 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5666 echo "$progname: failed program was:" >&5
5667 cat conftest.
$ac_ext >&5
5669 rm -f conftest
* conftst
*
5671 # Do not use the global_symbol_pipe unless it works.
5672 if test "$pipe_works" = yes; then
5675 lt_cv_sys_global_symbol_pipe
=
5681 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5682 lt_cv_sys_global_symbol_to_cdecl
=
5684 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5685 echo "$as_me:$LINENO: result: failed" >&5
5686 echo "${ECHO_T}failed" >&6
5688 echo "$as_me:$LINENO: result: ok" >&5
5689 echo "${ECHO_T}ok" >&6
5692 echo "$as_me:$LINENO: checking for objdir" >&5
5693 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5694 if test "${lt_cv_objdir+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5697 rm -f .libs
2>/dev
/null
5698 mkdir .libs
2>/dev
/null
5699 if test -d .libs
; then
5702 # MS-DOS does not allow filenames that begin with a dot.
5705 rmdir .libs
2>/dev
/null
5707 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5708 echo "${ECHO_T}$lt_cv_objdir" >&6
5709 objdir
=$lt_cv_objdir
5717 # AIX sometimes has problems with the GCC collect2 program. For some
5718 # reason, if we set the COLLECT_NAMES environment variable, the problems
5719 # vanish in a puff of smoke.
5720 if test "X${COLLECT_NAMES+set}" != Xset
; then
5722 export COLLECT_NAMES
5727 # Sed substitution that helps us do robust quoting. It backslashifies
5728 # metacharacters that are still active within double-quoted strings.
5729 Xsed
='sed -e 1s/^X//'
5730 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5732 # Same as above, but do not quote variable references.
5733 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5735 # Sed substitution to delay expansion of an escaped shell variable in a
5736 # double_quote_subst'ed string.
5737 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5739 # Sed substitution to avoid accidental globbing in evaled expressions
5740 no_glob_subst
='s/\*/\\\*/g'
5746 default_ofile
=libtool
5747 can_build_shared
=yes
5749 # All known linkers require a `.a' archive for static linking (except M$VC,
5750 # which needs '.lib').
5752 ltmain
="$ac_aux_dir/ltmain.sh"
5753 ofile
="$default_ofile"
5754 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5756 if test -n "$ac_tool_prefix"; then
5757 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5758 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5759 echo "$as_me:$LINENO: checking for $ac_word" >&5
5760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5761 if test "${ac_cv_prog_AR+set}" = set; then
5762 echo $ECHO_N "(cached) $ECHO_C" >&6
5764 if test -n "$AR"; then
5765 ac_cv_prog_AR
="$AR" # Let the user override the test.
5767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5771 test -z "$as_dir" && as_dir
=.
5772 for ac_exec_ext
in '' $ac_executable_extensions; do
5773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 if test -n "$AR"; then
5785 echo "$as_me:$LINENO: result: $AR" >&5
5786 echo "${ECHO_T}$AR" >&6
5788 echo "$as_me:$LINENO: result: no" >&5
5789 echo "${ECHO_T}no" >&6
5793 if test -z "$ac_cv_prog_AR"; then
5795 # Extract the first word of "ar", so it can be a program name with args.
5796 set dummy
ar; ac_word
=$2
5797 echo "$as_me:$LINENO: checking for $ac_word" >&5
5798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5799 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 if test -n "$ac_ct_AR"; then
5803 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir
=.
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812 ac_cv_prog_ac_ct_AR
="ar"
5813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
5822 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5823 if test -n "$ac_ct_AR"; then
5824 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5825 echo "${ECHO_T}$ac_ct_AR" >&6
5827 echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6
5836 if test -n "$ac_tool_prefix"; then
5837 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5838 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5839 echo "$as_me:$LINENO: checking for $ac_word" >&5
5840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5841 if test "${ac_cv_prog_RANLIB+set}" = set; then
5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5844 if test -n "$RANLIB"; then
5845 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5851 test -z "$as_dir" && as_dir
=.
5852 for ac_exec_ext
in '' $ac_executable_extensions; do
5853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5863 RANLIB
=$ac_cv_prog_RANLIB
5864 if test -n "$RANLIB"; then
5865 echo "$as_me:$LINENO: result: $RANLIB" >&5
5866 echo "${ECHO_T}$RANLIB" >&6
5868 echo "$as_me:$LINENO: result: no" >&5
5869 echo "${ECHO_T}no" >&6
5873 if test -z "$ac_cv_prog_RANLIB"; then
5874 ac_ct_RANLIB
=$RANLIB
5875 # Extract the first word of "ranlib", so it can be a program name with args.
5876 set dummy ranlib
; ac_word
=$2
5877 echo "$as_me:$LINENO: checking for $ac_word" >&5
5878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5879 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 if test -n "$ac_ct_RANLIB"; then
5883 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir
=.
5890 for ac_exec_ext
in '' $ac_executable_extensions; do
5891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5892 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5902 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5903 if test -n "$ac_ct_RANLIB"; then
5904 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5905 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5907 echo "$as_me:$LINENO: result: no" >&5
5908 echo "${ECHO_T}no" >&6
5911 RANLIB
=$ac_ct_RANLIB
5913 RANLIB
="$ac_cv_prog_RANLIB"
5916 if test -n "$ac_tool_prefix"; then
5917 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5918 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5919 echo "$as_me:$LINENO: checking for $ac_word" >&5
5920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5921 if test "${ac_cv_prog_STRIP+set}" = set; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5924 if test -n "$STRIP"; then
5925 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5931 test -z "$as_dir" && as_dir
=.
5932 for ac_exec_ext
in '' $ac_executable_extensions; do
5933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 STRIP
=$ac_cv_prog_STRIP
5944 if test -n "$STRIP"; then
5945 echo "$as_me:$LINENO: result: $STRIP" >&5
5946 echo "${ECHO_T}$STRIP" >&6
5948 echo "$as_me:$LINENO: result: no" >&5
5949 echo "${ECHO_T}no" >&6
5953 if test -z "$ac_cv_prog_STRIP"; then
5955 # Extract the first word of "strip", so it can be a program name with args.
5956 set dummy strip
; ac_word
=$2
5957 echo "$as_me:$LINENO: checking for $ac_word" >&5
5958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5959 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5962 if test -n "$ac_ct_STRIP"; then
5963 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir
=.
5970 for ac_exec_ext
in '' $ac_executable_extensions; do
5971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_ac_ct_STRIP
="strip"
5973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5982 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5983 if test -n "$ac_ct_STRIP"; then
5984 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5985 echo "${ECHO_T}$ac_ct_STRIP" >&6
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5993 STRIP
="$ac_cv_prog_STRIP"
5998 old_CFLAGS
="$CFLAGS"
6000 # Set sane defaults for various variables
6001 test -z "$AR" && AR
=ar
6002 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6003 test -z "$AS" && AS
=as
6004 test -z "$CC" && CC
=cc
6005 test -z "$LTCC" && LTCC
=$CC
6006 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6007 test -z "$LD" && LD
=ld
6008 test -z "$LN_S" && LN_S
="ln -s"
6009 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6010 test -z "$NM" && NM
=nm
6011 test -z "$SED" && SED
=sed
6012 test -z "$OBJDUMP" && OBJDUMP
=objdump
6013 test -z "$RANLIB" && RANLIB
=:
6014 test -z "$STRIP" && STRIP
=:
6015 test -z "$ac_objext" && ac_objext
=o
6017 # Determine commands to create old-style static archives.
6018 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6019 old_postinstall_cmds
='chmod 644 $oldlib'
6020 old_postuninstall_cmds
=
6022 if test -n "$RANLIB"; then
6025 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6028 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6031 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6034 for cc_temp
in $compiler""; do
6036 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6037 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6042 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6045 # Only perform the check for file, if the check method requires it
6046 case $deplibs_check_method in
6048 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6049 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6050 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6051 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6059 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6060 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6061 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6062 for ac_dir
in $ac_dummy; do
6064 test -z "$ac_dir" && ac_dir
=.
6065 if test -f $ac_dir/${ac_tool_prefix}file; then
6066 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6067 if test -n "$file_magic_test_file"; then
6068 case $deplibs_check_method in
6070 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6071 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6072 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6073 $EGREP "$file_magic_regex" > /dev
/null
; then
6078 *** Warning: the command libtool uses to detect shared libraries,
6079 *** $file_magic_cmd, produces output that libtool cannot recognize.
6080 *** The result is that libtool may fail to recognize shared libraries
6081 *** as such. This will affect the creation of libtool libraries that
6082 *** depend on shared libraries, but programs linked with such libtool
6083 *** libraries will work regardless of this problem. Nevertheless, you
6084 *** may want to report the problem to your system manager and/or to
6085 *** bug-libtool@gnu.org
6095 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6100 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6101 if test -n "$MAGIC_CMD"; then
6102 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6103 echo "${ECHO_T}$MAGIC_CMD" >&6
6105 echo "$as_me:$LINENO: result: no" >&5
6106 echo "${ECHO_T}no" >&6
6109 if test -z "$lt_cv_path_MAGIC_CMD"; then
6110 if test -n "$ac_tool_prefix"; then
6111 echo "$as_me:$LINENO: checking for file" >&5
6112 echo $ECHO_N "checking for file... $ECHO_C" >&6
6113 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6121 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6122 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6123 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6124 for ac_dir
in $ac_dummy; do
6126 test -z "$ac_dir" && ac_dir
=.
6127 if test -f $ac_dir/file; then
6128 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6129 if test -n "$file_magic_test_file"; then
6130 case $deplibs_check_method in
6132 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6133 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6134 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6135 $EGREP "$file_magic_regex" > /dev
/null
; then
6140 *** Warning: the command libtool uses to detect shared libraries,
6141 *** $file_magic_cmd, produces output that libtool cannot recognize.
6142 *** The result is that libtool may fail to recognize shared libraries
6143 *** as such. This will affect the creation of libtool libraries that
6144 *** depend on shared libraries, but programs linked with such libtool
6145 *** libraries will work regardless of this problem. Nevertheless, you
6146 *** may want to report the problem to your system manager and/or to
6147 *** bug-libtool@gnu.org
6157 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6162 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6163 if test -n "$MAGIC_CMD"; then
6164 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6165 echo "${ECHO_T}$MAGIC_CMD" >&6
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6183 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6184 if test "${enable_libtool_lock+set}" = set; then
6185 enableval
="$enable_libtool_lock"
6188 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6191 # Check whether --with-pic or --without-pic was given.
6192 if test "${with_pic+set}" = set; then
6198 test -z "$pic_mode" && pic_mode
=default
6200 # Use C for the default configuration in the libtool script
6204 ac_cpp
='$CPP $CPPFLAGS'
6205 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6206 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6207 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6210 # Source file extension for C test sources.
6213 # Object file extension for compiled C test sources.
6217 # Code to be used in simple compile tests
6218 lt_simple_compile_test_code
="int some_variable = 0;\n"
6220 # Code to be used in simple link tests
6221 lt_simple_link_test_code
='int main(){return(0);}\n'
6224 # If no C compiler was specified, use CC.
6227 # Allow CC to be a program name with arguments.
6231 # save warnings/boilerplate of simple test code
6232 ac_outfile
=conftest.
$ac_objext
6233 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6234 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
6235 _lt_compiler_boilerplate
=`cat conftest.err`
6238 ac_outfile
=conftest.
$ac_objext
6239 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6240 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
6241 _lt_linker_boilerplate
=`cat conftest.err`
6246 # Check for any special shared library compilation flags.
6249 if test "$GCC" = no
; then
6252 lt_prog_cc_shlib
='-belf'
6256 if test -n "$lt_prog_cc_shlib"; then
6257 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6258 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6259 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6261 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6262 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6263 lt_cv_prog_cc_can_build_shared
=no
6269 # Check to make sure the static flag actually works.
6271 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6272 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6273 if test "${lt_prog_compiler_static_works+set}" = set; then
6274 echo $ECHO_N "(cached) $ECHO_C" >&6
6276 lt_prog_compiler_static_works
=no
6277 save_LDFLAGS
="$LDFLAGS"
6278 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6279 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6280 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6281 # The compiler can only warn and ignore the option if not recognized
6282 # So say no if there are warnings
6283 if test -s conftest.err
; then
6284 # Append any errors to the config.log.
6285 cat conftest.err
1>&5
6286 $echo "X$_lt_linker_boilerplate" |
$Xsed > conftest.exp
6287 $SED '/^$/d' conftest.err
>conftest.er2
6288 if diff conftest.exp conftest.er2
>/dev
/null
; then
6289 lt_prog_compiler_static_works
=yes
6292 lt_prog_compiler_static_works
=yes
6296 LDFLAGS
="$save_LDFLAGS"
6299 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6300 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6302 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6305 lt_prog_compiler_static
=
6311 lt_prog_compiler_no_builtin_flag
=
6313 if test "$GCC" = yes; then
6314 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6317 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6318 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6319 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6320 echo $ECHO_N "(cached) $ECHO_C" >&6
6322 lt_cv_prog_compiler_rtti_exceptions
=no
6323 ac_outfile
=conftest.
$ac_objext
6324 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6325 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6326 # Insert the option either (1) after the last *FLAGS variable, or
6327 # (2) before a word containing "conftest.", or (3) at the end.
6328 # Note that $ac_compile itself does not contain backslashes and begins
6329 # with a dollar sign (not a hyphen), so the echo should work correctly.
6330 # The option is referenced via a variable to avoid confusing sed.
6331 lt_compile
=`echo "$ac_compile" | $SED \
6332 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6333 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6334 -e 's:$: $lt_compiler_flag:'`
6335 (eval echo "\"\$as_me:6335: $lt_compile\"" >&5)
6336 (eval "$lt_compile" 2>conftest.err
)
6338 cat conftest.err
>&5
6339 echo "$as_me:6339: \$? = $ac_status" >&5
6340 if (exit $ac_status) && test -s "$ac_outfile"; then
6341 # The compiler can only warn and ignore the option if not recognized
6342 # So say no if there are warnings other than the usual output.
6343 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
6344 $SED '/^$/d' conftest.err
>conftest.er2
6345 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6346 lt_cv_prog_compiler_rtti_exceptions
=yes
6352 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6353 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6355 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6356 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6363 lt_prog_compiler_wl
=
6364 lt_prog_compiler_pic
=
6365 lt_prog_compiler_static
=
6367 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6368 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6370 if test "$GCC" = yes; then
6371 lt_prog_compiler_wl
='-Wl,'
6372 lt_prog_compiler_static
='-static'
6376 # All AIX code is PIC.
6377 if test "$host_cpu" = ia64
; then
6378 # AIX 5 now supports IA64 processor
6379 lt_prog_compiler_static
='-Bstatic'
6384 # FIXME: we need at least 68020 code to build shared libraries, but
6385 # adding the `-m68020' flag to GCC prevents building anything better,
6387 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6390 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6391 # PIC is the default for these OSes.
6394 mingw
* | pw32
* | os2
*)
6395 # This hack is so that the source file can tell whether it is being
6396 # built for inclusion in a dll (and should export symbols for example).
6397 lt_prog_compiler_pic
='-DDLL_EXPORT'
6400 darwin
* | rhapsody
*)
6401 # PIC is the default on this platform
6402 # Common symbols not allowed in MH_DYLIB files
6403 lt_prog_compiler_pic
='-fno-common'
6407 # Just because we use GCC doesn't mean we suddenly get shared libraries
6408 # on systems that don't support them.
6409 lt_prog_compiler_can_build_shared
=no
6414 if test -d /usr
/nec
; then
6415 lt_prog_compiler_pic
=-Kconform_pic
6420 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6427 lt_prog_compiler_pic
='-fPIC'
6433 lt_prog_compiler_pic
='-fPIC'
6437 # PORTME Check for flag to pass linker flags through the system compiler.
6440 lt_prog_compiler_wl
='-Wl,'
6441 if test "$host_cpu" = ia64
; then
6442 # AIX 5 now supports IA64 processor
6443 lt_prog_compiler_static
='-Bstatic'
6445 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6449 # PIC is the default on this platform
6450 # Common symbols not allowed in MH_DYLIB files
6451 case $cc_basename in
6453 lt_prog_compiler_pic
='-qnocommon'
6454 lt_prog_compiler_wl
='-Wl,'
6459 mingw
* | pw32
* | os2
*)
6460 # This hack is so that the source file can tell whether it is being
6461 # built for inclusion in a dll (and should export symbols for example).
6462 lt_prog_compiler_pic
='-DDLL_EXPORT'
6465 hpux9
* | hpux10
* | hpux11
*)
6466 lt_prog_compiler_wl
='-Wl,'
6467 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6474 lt_prog_compiler_pic
='+Z'
6477 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6478 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6481 irix5
* | irix6
* | nonstopux
*)
6482 lt_prog_compiler_wl
='-Wl,'
6483 # PIC (with -KPIC) is the default.
6484 lt_prog_compiler_static
='-non_shared'
6488 lt_prog_compiler_pic
='-KPIC'
6489 lt_prog_compiler_static
='-Bstatic'
6493 case $cc_basename in
6495 lt_prog_compiler_wl
='-Wl,'
6496 lt_prog_compiler_pic
='-KPIC'
6497 lt_prog_compiler_static
='-static'
6499 pgcc
* | pgf77
* | pgf90
*)
6500 # Portland Group compilers (*not* the Pentium gcc compiler,
6501 # which looks to be a dead project)
6502 lt_prog_compiler_wl
='-Wl,'
6503 lt_prog_compiler_pic
='-fpic'
6504 lt_prog_compiler_static
='-static'
6507 lt_prog_compiler_wl
='-Wl,'
6508 # All Alpha code is PIC.
6509 lt_prog_compiler_static
='-non_shared'
6514 osf3
* | osf4
* | osf5
*)
6515 lt_prog_compiler_wl
='-Wl,'
6516 # All OSF/1 code is PIC.
6517 lt_prog_compiler_static
='-non_shared'
6521 lt_prog_compiler_pic
='-Kpic'
6522 lt_prog_compiler_static
='-dn'
6526 lt_prog_compiler_pic
='-KPIC'
6527 lt_prog_compiler_static
='-Bstatic'
6528 case $cc_basename in
6530 lt_prog_compiler_wl
='-Qoption ld ';;
6532 lt_prog_compiler_wl
='-Wl,';;
6537 lt_prog_compiler_wl
='-Qoption ld '
6538 lt_prog_compiler_pic
='-PIC'
6539 lt_prog_compiler_static
='-Bstatic'
6542 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6543 lt_prog_compiler_wl
='-Wl,'
6544 lt_prog_compiler_pic
='-KPIC'
6545 lt_prog_compiler_static
='-Bstatic'
6549 if test -d /usr
/nec
;then
6550 lt_prog_compiler_pic
='-Kconform_pic'
6551 lt_prog_compiler_static
='-Bstatic'
6556 lt_prog_compiler_wl
='-Wl,'
6557 lt_prog_compiler_can_build_shared
=no
6561 lt_prog_compiler_pic
='-pic'
6562 lt_prog_compiler_static
='-Bstatic'
6566 lt_prog_compiler_can_build_shared
=no
6571 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6572 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6575 # Check to make sure the PIC flag actually works.
6577 if test -n "$lt_prog_compiler_pic"; then
6579 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6580 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6581 if test "${lt_prog_compiler_pic_works+set}" = set; then
6582 echo $ECHO_N "(cached) $ECHO_C" >&6
6584 lt_prog_compiler_pic_works
=no
6585 ac_outfile
=conftest.
$ac_objext
6586 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6587 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6588 # Insert the option either (1) after the last *FLAGS variable, or
6589 # (2) before a word containing "conftest.", or (3) at the end.
6590 # Note that $ac_compile itself does not contain backslashes and begins
6591 # with a dollar sign (not a hyphen), so the echo should work correctly.
6592 # The option is referenced via a variable to avoid confusing sed.
6593 lt_compile
=`echo "$ac_compile" | $SED \
6594 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6595 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6596 -e 's:$: $lt_compiler_flag:'`
6597 (eval echo "\"\$as_me:6597: $lt_compile\"" >&5)
6598 (eval "$lt_compile" 2>conftest.err
)
6600 cat conftest.err
>&5
6601 echo "$as_me:6601: \$? = $ac_status" >&5
6602 if (exit $ac_status) && test -s "$ac_outfile"; then
6603 # The compiler can only warn and ignore the option if not recognized
6604 # So say no if there are warnings other than the usual output.
6605 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
6606 $SED '/^$/d' conftest.err
>conftest.er2
6607 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6608 lt_prog_compiler_pic_works
=yes
6614 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6615 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6617 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6618 case $lt_prog_compiler_pic in
6620 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6623 lt_prog_compiler_pic
=
6624 lt_prog_compiler_can_build_shared
=no
6629 # For platforms which do not support PIC, -DPIC is meaningless:
6631 lt_prog_compiler_pic
=
6634 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6638 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6639 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6640 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6643 lt_cv_prog_compiler_c_o
=no
6644 $rm -r conftest
2>/dev
/null
6648 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6650 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6651 # Insert the option either (1) after the last *FLAGS variable, or
6652 # (2) before a word containing "conftest.", or (3) at the end.
6653 # Note that $ac_compile itself does not contain backslashes and begins
6654 # with a dollar sign (not a hyphen), so the echo should work correctly.
6655 lt_compile
=`echo "$ac_compile" | $SED \
6656 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6657 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6658 -e 's:$: $lt_compiler_flag:'`
6659 (eval echo "\"\$as_me:6659: $lt_compile\"" >&5)
6660 (eval "$lt_compile" 2>out
/conftest.err
)
6662 cat out
/conftest.err
>&5
6663 echo "$as_me:6663: \$? = $ac_status" >&5
6664 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6666 # The compiler can only warn and ignore the option if not recognized
6667 # So say no if there are warnings
6668 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
6669 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
6670 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6671 lt_cv_prog_compiler_c_o
=yes
6676 # SGI C++ compiler will create directory out/ii_files/ for
6677 # template instantiation
6678 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6679 $rm out
/* && rmdir out
6685 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6686 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6689 hard_links
="nottested"
6690 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6691 # do not overwrite the value of need_locks provided by the user
6692 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6693 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6696 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6698 ln conftest.a conftest.b
2>&5 || hard_links
=no
6699 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6700 echo "$as_me:$LINENO: result: $hard_links" >&5
6701 echo "${ECHO_T}$hard_links" >&6
6702 if test "$hard_links" = no
; then
6703 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6704 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6711 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6712 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6715 allow_undefined_flag
=
6716 enable_shared_with_static_runtimes
=no
6718 archive_expsym_cmds
=
6719 old_archive_From_new_cmds
=
6720 old_archive_from_expsyms_cmds
=
6721 export_dynamic_flag_spec
=
6722 whole_archive_flag_spec
=
6723 thread_safe_flag_spec
=
6724 hardcode_libdir_flag_spec
=
6725 hardcode_libdir_flag_spec_ld
=
6726 hardcode_libdir_separator
=
6729 hardcode_shlibpath_var
=unsupported
6730 link_all_deplibs
=unknown
6731 hardcode_automatic
=no
6734 always_export_symbols
=no
6735 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6736 # include_expsyms should be a list of space-separated symbols to be *always*
6737 # included in the symbol list
6739 # exclude_expsyms can be an extended regexp of symbols to exclude
6740 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6741 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6742 # as well as any symbol that contains `d'.
6743 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6744 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6745 # platforms (ab)use it in PIC code, but their linkers get confused if
6746 # the symbol is explicitly referenced. Since portable code cannot
6747 # rely on this symbol name, it's probably fine to never include it in
6748 # preloaded symbol tables.
6749 extract_expsyms_cmds
=
6750 # Just being paranoid about ensuring that cc_basename is set.
6751 for cc_temp
in $compiler""; do
6753 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6754 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6759 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6762 cygwin
* | mingw
* | pw32
*)
6763 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6764 # When not using gcc, we currently assume that we are using
6765 # Microsoft Visual C++.
6766 if test "$GCC" != yes; then
6776 if test "$with_gnu_ld" = yes; then
6777 # If archive_cmds runs LD, not CC, wlarc should be empty
6780 # Set some defaults for GNU ld with shared library support. These
6781 # are reset later if shared libraries are not supported. Putting them
6782 # here allows them to be overridden if necessary.
6783 runpath_var
=LD_RUN_PATH
6784 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6785 export_dynamic_flag_spec
='${wl}--export-dynamic'
6786 # ancient GNU ld didn't support --whole-archive et. al.
6787 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6788 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6790 whole_archive_flag_spec
=
6792 supports_anon_versioning
=no
6793 case `$LD -v 2>/dev/null` in
6794 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6795 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6796 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6797 *\
2.11.
*) ;; # other 2.11 versions
6798 *) supports_anon_versioning
=yes ;;
6801 # See if GNU ld supports shared libraries.
6803 aix3
* | aix4
* | aix5
*)
6804 # On AIX/PPC, the GNU linker is very broken
6805 if test "$host_cpu" != ia64
; then
6809 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6810 *** to be unable to reliably create shared libraries on AIX.
6811 *** Therefore, libtool is disabling shared libraries support. If you
6812 *** really care for shared libraries, you may want to modify your PATH
6813 *** so that a non-GNU linker is found, and then restart.
6820 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)'
6821 hardcode_libdir_flag_spec
='-L$libdir'
6822 hardcode_minus_L
=yes
6824 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6825 # that the semantics of dynamic libraries on AmigaOS, at least up
6826 # to version 4, is to share data among multiple programs linked
6827 # with the same dynamic library. Since this doesn't match the
6828 # behavior of shared libraries on other platforms, we can't use
6834 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6835 allow_undefined_flag
=unsupported
6836 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6837 # support --undefined. This deserves some investigation. FIXME
6838 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6844 cygwin
* | mingw
* | pw32
*)
6845 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6846 # as there is no search path for DLLs.
6847 hardcode_libdir_flag_spec
='-L$libdir'
6848 allow_undefined_flag
=unsupported
6849 always_export_symbols
=no
6850 enable_shared_with_static_runtimes
=yes
6851 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6853 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6854 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6855 # If the export-symbols file already is a .def file (1st line
6856 # is EXPORTS), use it as is; otherwise, prepend...
6857 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6858 cp $export_symbols $output_objdir/$soname.def;
6860 echo EXPORTS > $output_objdir/$soname.def;
6861 cat $export_symbols >> $output_objdir/$soname.def;
6863 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6870 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6872 case $cc_basename,$host_cpu in
6873 pgcc
*) # Portland Group C compiler
6874 whole_archive_flag_spec
=
6876 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
6877 whole_archive_flag_spec
=
6878 tmp_addflag
=' -fpic -Mnomain' ;;
6879 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
6880 tmp_addflag
=' -i_dynamic' ;;
6881 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
6882 tmp_addflag
=' -i_dynamic -nofor_main' ;;
6883 ifc
* | ifort
*) # Intel Fortran compiler
6884 tmp_addflag
=' -nofor_main' ;;
6886 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6888 if test $supports_anon_versioning = yes; then
6889 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
6890 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6891 $echo "local: *; };" >> $output_objdir/$libname.ver~
6892 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6900 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6901 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6904 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6905 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6910 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
6914 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6915 *** create shared libraries on Solaris systems. Therefore, libtool
6916 *** is disabling shared libraries support. We urge you to upgrade GNU
6917 *** binutils to release 2.9.1 or newer. Another option is to modify
6918 *** your PATH or compiler configuration so that the native linker is
6919 *** used, and then restart.
6922 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6923 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6924 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6931 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6934 hardcode_shlibpath_var
=no
6938 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6939 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6940 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6947 if test "$ld_shlibs" = no
; then
6949 hardcode_libdir_flag_spec
=
6950 export_dynamic_flag_spec
=
6951 whole_archive_flag_spec
=
6954 # PORTME fill in a description of your system's linker (not GNU ld)
6957 allow_undefined_flag
=unsupported
6958 always_export_symbols
=yes
6959 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'
6960 # Note: this linker hardcodes the directories in LIBPATH if there
6961 # are no directories specified by -L.
6962 hardcode_minus_L
=yes
6963 if test "$GCC" = yes && test -z "$link_static_flag"; then
6964 # Neither direct hardcoding nor static linking is supported with a
6966 hardcode_direct
=unsupported
6971 if test "$host_cpu" = ia64
; then
6972 # On IA64, the linker does run time linking by default, so we don't
6973 # have to do anything special.
6974 aix_use_runtimelinking
=no
6975 exp_sym_flag
='-Bexport'
6978 # If we're using GNU nm, then we don't want the "-C" option.
6979 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6980 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
6981 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'
6983 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'
6985 aix_use_runtimelinking
=no
6987 # Test if we are trying to use run time linking or normal
6988 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6989 # need to do runtime linking.
6990 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
6991 for ld_flag
in $LDFLAGS; do
6992 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
6993 aix_use_runtimelinking
=yes
6999 exp_sym_flag
='-bexport'
7000 no_entry_flag
='-bnoentry'
7003 # When large executables or shared objects are built, AIX ld can
7004 # have problems creating the table of contents. If linking a library
7005 # or program results in "error TOC overflow" add -mminimal-toc to
7006 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7007 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7011 hardcode_libdir_separator
=':'
7012 link_all_deplibs
=yes
7014 if test "$GCC" = yes; then
7015 case $host_os in aix4.
[012]|aix4.
[012].
*)
7016 # We only want to do this on AIX 4.2 and lower, the check
7017 # below for broken collect2 doesn't work under 4.3+
7018 collect2name
=`${CC} -print-prog-name=collect2`
7019 if test -f "$collect2name" && \
7020 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7022 # We have reworked collect2
7025 # We have old collect2
7026 hardcode_direct
=unsupported
7027 # It fails to find uninstalled libraries when the uninstalled
7028 # path is not listed in the libpath. Setting hardcode_minus_L
7029 # to unsupported forces relinking
7030 hardcode_minus_L
=yes
7031 hardcode_libdir_flag_spec
='-L$libdir'
7032 hardcode_libdir_separator
=
7035 shared_flag
='-shared'
7036 if test "$aix_use_runtimelinking" = yes; then
7037 shared_flag
="$shared_flag "'${wl}-G'
7041 if test "$host_cpu" = ia64
; then
7042 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7043 # chokes on -Wl,-G. The following line is correct:
7046 if test "$aix_use_runtimelinking" = yes; then
7047 shared_flag
='${wl}-G'
7049 shared_flag
='${wl}-bM:SRE'
7054 # It seems that -bexpall does not export symbols beginning with
7055 # underscore (_), so it is better to generate a list of symbols to export.
7056 always_export_symbols
=yes
7057 if test "$aix_use_runtimelinking" = yes; then
7058 # Warning - without using the other runtime loading flags (-brtl),
7059 # -berok will link without error, but may produce a broken library.
7060 allow_undefined_flag
='-berok'
7061 # Determine the default libpath from the value encoded in an empty executable.
7062 cat >conftest.
$ac_ext <<_ACEOF
7065 cat confdefs.h
>>conftest.
$ac_ext
7066 cat >>conftest.
$ac_ext <<_ACEOF
7067 /* end confdefs.h. */
7077 rm -f conftest.
$ac_objext conftest
$ac_exeext
7078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7079 (eval $ac_link) 2>conftest.er1
7081 grep -v '^ *+' conftest.er1
>conftest.err
7083 cat conftest.err
>&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); } &&
7086 { ac_try
='test -z "$ac_c_werror_flag"
7087 || test ! -s conftest.err'
7088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); }; } &&
7093 { ac_try
='test -s conftest$ac_exeext'
7094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098 (exit $ac_status); }; }; then
7100 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7102 # Check for a 64-bit object if we didn't find anything.
7103 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; }
7106 echo "$as_me: failed program was:" >&5
7107 sed 's/^/| /' conftest.
$ac_ext >&5
7110 rm -f conftest.err conftest.
$ac_objext \
7111 conftest
$ac_exeext conftest.
$ac_ext
7112 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7114 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7115 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"
7117 if test "$host_cpu" = ia64; then
7118 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7119 allow_undefined_flag="-z nodefs"
7120 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"
7122 # Determine the default libpath from the value encoded in an empty executable.
7123 cat >conftest.$ac_ext <<_ACEOF
7126 cat confdefs.h >>conftest.$ac_ext
7127 cat >>conftest.$ac_ext <<_ACEOF
7128 /* end confdefs.h. */
7138 rm -f conftest.$ac_objext conftest$ac_exeext
7139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7140 (eval $ac_link) 2>conftest.er1
7142 grep -v '^ *+' conftest.er1 >conftest.err
7144 cat conftest.err >&5
7145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7146 (exit $ac_status); } &&
7147 { ac_try='test -z "$ac_c_werror_flag"
7148 || test ! -s conftest.err'
7149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7153 (exit $ac_status); }; } &&
7154 { ac_try='test -s conftest$ac_exeext'
7155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7158 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7159 (exit $ac_status); }; }; then
7161 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7163 # Check for a 64-bit object if we didn't find anything.
7164 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; }
7167 echo "$as_me: failed program was
:" >&5
7168 sed 's/^/| /' conftest.$ac_ext >&5
7171 rm -f conftest.err conftest.$ac_objext \
7172 conftest$ac_exeext conftest.$ac_ext
7173 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7175 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7176 # Warning - without using the other run time loading flags,
7177 # -berok will link without error, but may produce a broken library.
7178 no_undefined_flag=' ${wl}-bernotok'
7179 allow_undefined_flag=' ${wl}-berok'
7180 # -bexpall does not export symbols beginning with underscore (_)
7181 always_export_symbols=yes
7182 # Exported symbols can be pulled into shared objects from archives
7183 whole_archive_flag_spec=' '
7184 archive_cmds_need_lc=yes
7185 # This is similar to how AIX traditionally builds it's shared libraries.
7186 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'
7192 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)'
7193 hardcode_libdir_flag_spec
='-L$libdir'
7194 hardcode_minus_L
=yes
7195 # see comment about different semantics on the GNU ld section
7200 export_dynamic_flag_spec
=-rdynamic
7203 cygwin
* | mingw
* | pw32
*)
7204 # When not using gcc, we currently assume that we are using
7205 # Microsoft Visual C++.
7206 # hardcode_libdir_flag_spec is actually meaningless, as there is
7207 # no search path for DLLs.
7208 hardcode_libdir_flag_spec
=' '
7209 allow_undefined_flag
=unsupported
7210 # Tell ltmain to make .lib files, not .a files.
7212 # Tell ltmain to make .dll files, not .so files.
7214 # FIXME: Setting linknames here is a bad hack.
7215 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7216 # The linker will automatically build a .lib file if we build a DLL.
7217 old_archive_From_new_cmds
='true'
7218 # FIXME: Should let the user specify the lib program.
7219 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7220 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7221 enable_shared_with_static_runtimes
=yes
7224 darwin
* | rhapsody
*)
7226 rhapsody
* | darwin1.
[012])
7227 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7230 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7231 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7233 case ${MACOSX_DEPLOYMENT_TARGET} in
7235 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7238 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7244 archive_cmds_need_lc
=no
7246 hardcode_automatic
=yes
7247 hardcode_shlibpath_var
=unsupported
7248 whole_archive_flag_spec
=''
7249 link_all_deplibs
=yes
7250 if test "$GCC" = yes ; then
7251 output_verbose_link_cmd
='echo'
7252 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7253 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7254 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7255 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}'
7256 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}'
7258 case $cc_basename in
7260 output_verbose_link_cmd
='echo'
7261 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7262 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7263 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7264 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}'
7265 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}'
7275 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7276 hardcode_libdir_flag_spec
='-L$libdir'
7277 hardcode_shlibpath_var
=no
7284 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7285 # support. Future versions do this automatically, but an explicit c++rt0.o
7286 # does not break anything, and helps significantly (at the cost of a little
7289 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7290 hardcode_libdir_flag_spec
='-R$libdir'
7292 hardcode_shlibpath_var
=no
7295 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7297 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7299 hardcode_minus_L
=yes
7300 hardcode_shlibpath_var
=no
7303 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7304 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7305 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7306 hardcode_libdir_flag_spec
='-R$libdir'
7308 hardcode_shlibpath_var
=no
7312 if test "$GCC" = yes; then
7313 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'
7315 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'
7317 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7318 hardcode_libdir_separator
=:
7321 # hardcode_minus_L: Not really in the search PATH,
7322 # but as the default location of the library.
7323 hardcode_minus_L
=yes
7324 export_dynamic_flag_spec
='${wl}-E'
7328 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7331 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7334 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7340 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7343 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7347 if test "$with_gnu_ld" = no
; then
7350 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7351 hardcode_libdir_flag_spec_ld
='+b $libdir'
7352 hardcode_libdir_separator
=:
7354 hardcode_shlibpath_var
=no
7357 hardcode_libdir_flag_spec
='-L$libdir'
7359 hardcode_shlibpath_var
=no
7361 # hardcode_minus_L: Not really in the search PATH,
7362 # but as the default location of the library.
7363 hardcode_minus_L
=yes
7366 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7367 hardcode_libdir_separator
=:
7369 export_dynamic_flag_spec
='${wl}-E'
7371 # hardcode_minus_L: Not really in the search PATH,
7372 # but as the default location of the library.
7373 hardcode_minus_L
=yes
7379 irix5
* | irix6
* | nonstopux
*)
7380 if test "$GCC" = yes; then
7381 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'
7383 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'
7384 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7386 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7387 hardcode_libdir_separator
=:
7388 link_all_deplibs
=yes
7392 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7393 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7395 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7397 hardcode_libdir_flag_spec
='-R$libdir'
7399 hardcode_shlibpath_var
=no
7403 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7405 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7406 hardcode_libdir_separator
=:
7407 hardcode_shlibpath_var
=no
7412 hardcode_shlibpath_var
=no
7413 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7414 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7415 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7416 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7417 export_dynamic_flag_spec
='${wl}-E'
7420 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7421 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7422 hardcode_libdir_flag_spec
='-R$libdir'
7425 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7426 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7433 hardcode_libdir_flag_spec
='-L$libdir'
7434 hardcode_minus_L
=yes
7435 allow_undefined_flag
=unsupported
7436 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'
7437 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7441 if test "$GCC" = yes; then
7442 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7443 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'
7445 allow_undefined_flag
=' -expect_unresolved \*'
7446 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'
7448 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7449 hardcode_libdir_separator
=:
7452 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7453 if test "$GCC" = yes; then
7454 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7455 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'
7456 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7458 allow_undefined_flag
=' -expect_unresolved \*'
7459 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'
7460 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7461 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7463 # Both c and cxx compiler support -rpath directly
7464 hardcode_libdir_flag_spec
='-rpath $libdir'
7466 hardcode_libdir_separator
=:
7470 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7471 hardcode_shlibpath_var
=no
7472 export_dynamic_flag_spec
='${wl}-Bexport'
7473 runpath_var
=LD_RUN_PATH
7474 hardcode_runpath_var
=yes
7478 no_undefined_flag
=' -z text'
7479 if test "$GCC" = yes; then
7481 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7482 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7483 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7486 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7487 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7488 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7490 hardcode_libdir_flag_spec
='-R$libdir'
7491 hardcode_shlibpath_var
=no
7493 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7495 # The compiler driver will combine linker options so we
7496 # cannot just pass the convience library names through
7497 # without $wl, iff we do not link with $LD.
7498 # Luckily, gcc supports the same syntax we need for Sun Studio.
7499 # Supported since Solaris 2.6 (maybe 2.5.1?)
7502 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7504 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7507 link_all_deplibs
=yes
7511 if test "x$host_vendor" = xsequent
; then
7512 # Use $CC to link under sequent, because it throws in some extra .o
7513 # files that make .init and .fini sections work.
7514 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7516 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7518 hardcode_libdir_flag_spec
='-L$libdir'
7520 hardcode_minus_L
=yes
7521 hardcode_shlibpath_var
=no
7525 case $host_vendor in
7527 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7528 hardcode_direct
=yes # is this really true???
7531 ## LD is ld it makes a PLAMLIB
7532 ## CC just makes a GrossModule.
7533 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7534 reload_cmds
='$CC -r -o $output$reload_objs'
7538 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7539 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7542 runpath_var
='LD_RUN_PATH'
7543 hardcode_shlibpath_var
=no
7547 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7548 hardcode_shlibpath_var
=no
7549 export_dynamic_flag_spec
='-Bexport'
7553 if test -d /usr
/nec
; then
7554 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7555 hardcode_shlibpath_var
=no
7556 runpath_var
=LD_RUN_PATH
7557 hardcode_runpath_var
=yes
7563 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7566 hardcode_shlibpath_var
=no
7567 hardcode_runpath_var
=yes
7568 runpath_var
=LD_RUN_PATH
7571 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7572 no_undefined_flag
='${wl}-z ${wl}text'
7573 if test "$GCC" = yes; then
7574 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7576 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7578 runpath_var
='LD_RUN_PATH'
7579 hardcode_shlibpath_var
=no
7583 no_undefined_flag
=' -z text'
7584 # $CC -shared without GNU ld will not create a library from C++
7585 # object files and a static libstdc++, better avoid it by now
7586 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7587 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7588 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7589 hardcode_libdir_flag_spec
=
7590 hardcode_shlibpath_var
=no
7591 runpath_var
='LD_RUN_PATH'
7595 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7596 hardcode_libdir_flag_spec
='-L$libdir'
7597 hardcode_shlibpath_var
=no
7606 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7607 echo "${ECHO_T}$ld_shlibs" >&6
7608 test "$ld_shlibs" = no
&& can_build_shared
=no
7610 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7611 if test "$GCC" = yes; then
7612 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7616 # Do we need to explicitly link libc?
7618 case "x$archive_cmds_need_lc" in
7620 # Assume -lc should be added
7621 archive_cmds_need_lc
=yes
7623 if test "$enable_shared" = yes && test "$GCC" = yes; then
7624 case $archive_cmds in
7626 # FIXME: we may have to deal with multi-command sequences.
7629 # Test whether the compiler implicitly links with -lc since on some
7630 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7631 # to ld, don't add -lc before -lgcc.
7632 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7633 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7635 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7638 (eval $ac_compile) 2>&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); } 2>conftest.err
; then
7644 libobjs
=conftest.
$ac_objext
7646 wl
=$lt_prog_compiler_wl
7652 lt_save_allow_undefined_flag
=$allow_undefined_flag
7653 allow_undefined_flag
=
7654 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7655 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); }
7660 archive_cmds_need_lc
=no
7662 archive_cmds_need_lc
=yes
7664 allow_undefined_flag
=$lt_save_allow_undefined_flag
7666 cat conftest.err
1>&5
7669 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7670 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7677 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7678 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7680 libname_spec
='lib$name'
7688 shlibpath_overrides_runpath
=unknown
7690 dynamic_linker
="$host_os ld.so"
7691 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7692 if test "$GCC" = yes; then
7693 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7694 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7695 # if the path contains ";" then we assume it to be the separator
7696 # otherwise default to the standard path separator (i.e. ":") - it is
7697 # assumed that no part of a normal pathname contains ";" but that should
7698 # okay in the real world where ";" in dirpaths is itself problematic.
7699 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7701 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7704 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7706 need_lib_prefix
=unknown
7707 hardcode_into_libs
=no
7709 # when you set need_version to no, make sure it does not cause -set_version
7710 # flags to be left without arguments
7711 need_version
=unknown
7716 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7717 shlibpath_var
=LIBPATH
7719 # AIX 3 has no versioning support, so we append a major version to the name.
7720 soname_spec
='${libname}${release}${shared_ext}$major'
7727 hardcode_into_libs
=yes
7728 if test "$host_cpu" = ia64
; then
7729 # AIX 5 supports IA64
7730 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7731 shlibpath_var
=LD_LIBRARY_PATH
7733 # With GCC up to 2.95.x, collect2 would create an import file
7734 # for dependence libraries. The import file would start with
7735 # the line `#! .'. This would cause the generated library to
7736 # depend on `.', always an invalid library. This was fixed in
7737 # development snapshots of GCC prior to 3.0.
7739 aix4 | aix4.
[01] | aix4.
[01].
*)
7740 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7742 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7749 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7750 # soname into executable. Probably we can add versioning support to
7751 # collect2, so additional links can be useful in future.
7752 if test "$aix_use_runtimelinking" = yes; then
7753 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7754 # instead of lib<name>.a to let people know that these are not
7755 # typical AIX shared libraries.
7756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7758 # We preserve .a as extension for shared libraries through AIX4.2
7759 # and later when we are not doing run time linking.
7760 library_names_spec
='${libname}${release}.a $libname.a'
7761 soname_spec
='${libname}${release}${shared_ext}$major'
7763 shlibpath_var
=LIBPATH
7768 library_names_spec
='$libname.ixlibrary $libname.a'
7769 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7770 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'
7774 library_names_spec
='${libname}${shared_ext}'
7775 dynamic_linker
="$host_os ld.so"
7776 shlibpath_var
=LIBRARY_PATH
7782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7783 soname_spec
='${libname}${release}${shared_ext}$major'
7784 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7785 shlibpath_var
=LD_LIBRARY_PATH
7786 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7787 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7788 # the default ld.so.conf also contains /usr/contrib/lib and
7789 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7790 # libtool to hard-code these into programs
7793 cygwin
* | mingw
* | pw32
*)
7794 version_type
=windows
7799 case $GCC,$host_os in
7800 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7801 library_names_spec
='$libname.dll.a'
7802 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7803 postinstall_cmds
='base_file=`basename \${file}`~
7804 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7805 dldir=$destdir/`dirname \$dlpath`~
7806 test -d \$dldir || mkdir -p \$dldir~
7807 $install_prog $dir/$dlname \$dldir/$dlname'
7808 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7809 dlpath=$dir/\$dldll~
7811 shlibpath_overrides_runpath
=yes
7815 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7816 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7817 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7820 # MinGW DLLs use traditional 'lib' prefix
7821 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7822 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7823 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7824 # It is most probably a Windows format PATH printed by
7825 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7826 # path with ; separators, and with drive letters. We can handle the
7827 # drive letters (cygwin fileutils understands them), so leave them,
7828 # especially as we might pass files found there to a mingw objdump,
7829 # which wouldn't understand a cygwinified path. Ahh.
7830 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7832 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7836 # pw32 DLLs use 'pw' prefix rather than 'lib'
7837 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7843 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7846 dynamic_linker
='Win32 ld.exe'
7847 # FIXME: first we should search . and the directory the executable is in
7851 darwin
* | rhapsody
*)
7852 dynamic_linker
="$host_os dyld"
7856 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7857 soname_spec
='${libname}${release}${major}$shared_ext'
7858 shlibpath_overrides_runpath
=yes
7859 shlibpath_var
=DYLD_LIBRARY_PATH
7860 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
7861 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7862 if test "$GCC" = yes; then
7863 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"`
7865 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
7867 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
7874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7875 soname_spec
='${libname}${release}${shared_ext}$major'
7876 shlibpath_var
=LD_LIBRARY_PATH
7887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7888 soname_spec
='${libname}${release}${shared_ext}$major'
7889 shlibpath_var
=LD_LIBRARY_PATH
7890 shlibpath_overrides_runpath
=no
7891 hardcode_into_libs
=yes
7892 dynamic_linker
='GNU ld.so'
7895 freebsd
* | dragonfly
*)
7896 # DragonFly does not have aout. When/if they implement a new
7897 # versioning mechanism, adjust this.
7898 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7899 version_type
=freebsd-
$objformat
7900 case $version_type in
7902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7907 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7911 shlibpath_var
=LD_LIBRARY_PATH
7914 shlibpath_overrides_runpath
=yes
7916 freebsd3.
[01]* | freebsdelf3.
[01]*)
7917 shlibpath_overrides_runpath
=yes
7918 hardcode_into_libs
=yes
7921 shlibpath_overrides_runpath
=no
7922 hardcode_into_libs
=yes
7931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7932 soname_spec
='${libname}${release}${shared_ext}$major'
7933 shlibpath_var
=LD_LIBRARY_PATH
7934 hardcode_into_libs
=yes
7937 hpux9
* | hpux10
* | hpux11
*)
7938 # Give a soname corresponding to the major version so that dld.sl refuses to
7939 # link against other versions.
7946 hardcode_into_libs
=yes
7947 dynamic_linker
="$host_os dld.so"
7948 shlibpath_var
=LD_LIBRARY_PATH
7949 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7951 soname_spec
='${libname}${release}${shared_ext}$major'
7952 if test "X$HPUX_IA64_MODE" = X32
; then
7953 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7955 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
7957 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7961 hardcode_into_libs
=yes
7962 dynamic_linker
="$host_os dld.sl"
7963 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
7964 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7966 soname_spec
='${libname}${release}${shared_ext}$major'
7967 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7968 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7972 dynamic_linker
="$host_os dld.sl"
7973 shlibpath_var
=SHLIB_PATH
7974 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
7975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7976 soname_spec
='${libname}${release}${shared_ext}$major'
7979 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7980 postinstall_cmds
='chmod 555 $lib'
7983 irix5
* | irix6
* | nonstopux
*)
7985 nonstopux
*) version_type
=nonstopux
;;
7987 if test "$lt_cv_prog_gnu_ld" = yes; then
7995 soname_spec
='${libname}${release}${shared_ext}$major'
7996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7998 irix5
* | nonstopux
*)
8002 case $LD in # libtool.m4 will add one of these switches to LD
8003 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8004 libsuff
= shlibsuff
= libmagic
=32-bit;;
8005 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8006 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8007 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8008 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8009 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8013 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8014 shlibpath_overrides_runpath
=no
8015 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8016 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8017 hardcode_into_libs
=yes
8020 # No shared lib support for Linux oldld, aout, or coff.
8021 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8025 # This must be Linux ELF.
8030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8031 soname_spec
='${libname}${release}${shared_ext}$major'
8032 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8033 shlibpath_var
=LD_LIBRARY_PATH
8034 shlibpath_overrides_runpath
=no
8035 # This implies no fast_install, which is unacceptable.
8036 # Some rework will be needed to allow for fast_install
8037 # before this can be enabled.
8038 hardcode_into_libs
=yes
8040 # find out which ABI we are using
8043 x86_64
*|s390x
*|powerpc64
*)
8044 echo '#line 8044 "configure"' > conftest.
$ac_ext
8045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8046 (eval $ac_compile) 2>&5
8048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049 (exit $ac_status); }; then
8050 case `/usr/bin/file conftest.$ac_objext` in
8053 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8061 # Append ld.so.conf contents to the search path
8062 if test -f /etc
/ld.so.conf
; then
8063 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' ' '`
8064 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8067 # We used to test for /lib/ld.so.1 and disable shared libraries on
8068 # powerpc, because MkLinux only supported shared libraries with the
8069 # GNU dynamic linker. Since this was broken with cross compilers,
8070 # most powerpc-linux boxes support dynamic linking these days and
8071 # people can always --disable-shared, the test was removed, and we
8072 # assume the GNU/Linux dynamic linker is in use.
8073 dynamic_linker
='GNU/Linux ld.so'
8080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8081 soname_spec
='${libname}${release}${shared_ext}$major'
8082 shlibpath_var
=LD_LIBRARY_PATH
8083 shlibpath_overrides_runpath
=no
8084 hardcode_into_libs
=yes
8085 dynamic_linker
='GNU ld.so'
8092 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8094 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8095 dynamic_linker
='NetBSD (a.out) ld.so'
8097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8098 soname_spec
='${libname}${release}${shared_ext}$major'
8099 dynamic_linker
='NetBSD ld.elf_so'
8101 shlibpath_var
=LD_LIBRARY_PATH
8102 shlibpath_overrides_runpath
=yes
8103 hardcode_into_libs
=yes
8108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8109 shlibpath_var
=LD_LIBRARY_PATH
8110 shlibpath_overrides_runpath
=yes
8117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8118 soname_spec
='${libname}${release}${shared_ext}$major'
8119 shlibpath_var
=LD_LIBRARY_PATH
8120 shlibpath_overrides_runpath
=yes
8127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8128 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8129 shlibpath_var
=LD_LIBRARY_PATH
8130 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8132 openbsd2.
[89] | openbsd2.
[89].
*)
8133 shlibpath_overrides_runpath
=no
8136 shlibpath_overrides_runpath
=yes
8140 shlibpath_overrides_runpath
=yes
8145 libname_spec
='$name'
8148 library_names_spec
='$libname${shared_ext} $libname.a'
8149 dynamic_linker
='OS/2 ld.exe'
8150 shlibpath_var
=LIBPATH
8153 osf3
* | osf4
* | osf5
*)
8157 soname_spec
='${libname}${release}${shared_ext}$major'
8158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8159 shlibpath_var
=LD_LIBRARY_PATH
8160 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8161 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8166 soname_spec
='${libname}${release}${shared_ext}$major'
8167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8168 shlibpath_var
=LD_LIBRARY_PATH
8175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8176 soname_spec
='${libname}${release}${shared_ext}$major'
8177 shlibpath_var
=LD_LIBRARY_PATH
8178 shlibpath_overrides_runpath
=yes
8179 hardcode_into_libs
=yes
8180 # ldd complains unless libraries are executable
8181 postinstall_cmds
='chmod +x $lib'
8186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8187 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8188 shlibpath_var
=LD_LIBRARY_PATH
8189 shlibpath_overrides_runpath
=yes
8190 if test "$with_gnu_ld" = yes; then
8196 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8199 soname_spec
='${libname}${release}${shared_ext}$major'
8200 shlibpath_var
=LD_LIBRARY_PATH
8201 case $host_vendor in
8203 shlibpath_overrides_runpath
=no
8205 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8206 runpath_var
=LD_RUN_PATH
8214 shlibpath_overrides_runpath
=no
8215 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8221 if test -d /usr
/nec
;then
8223 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8224 soname_spec
='$libname${shared_ext}.$major'
8225 shlibpath_var
=LD_LIBRARY_PATH
8231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8232 soname_spec
='${libname}${release}${shared_ext}$major'
8233 shlibpath_var
=LD_LIBRARY_PATH
8240 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8241 echo "${ECHO_T}$dynamic_linker" >&6
8242 test "$dynamic_linker" = no
&& can_build_shared
=no
8244 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8245 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8247 if test -n "$hardcode_libdir_flag_spec" || \
8248 test -n "$runpath_var" || \
8249 test "X$hardcode_automatic" = "Xyes" ; then
8251 # We can hardcode non-existant directories.
8252 if test "$hardcode_direct" != no
&&
8253 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8254 # have to relink, otherwise we might link with an installed library
8255 # when we should be linking with a yet-to-be-installed one
8256 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8257 test "$hardcode_minus_L" != no
; then
8258 # Linking always hardcodes the temporary library directory.
8259 hardcode_action
=relink
8261 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8262 hardcode_action
=immediate
8265 # We cannot hardcode anything, or else we can only hardcode existing
8267 hardcode_action
=unsupported
8269 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8270 echo "${ECHO_T}$hardcode_action" >&6
8272 if test "$hardcode_action" = relink
; then
8273 # Fast installation is not supported
8274 enable_fast_install
=no
8275 elif test "$shlibpath_overrides_runpath" = yes ||
8276 test "$enable_shared" = no
; then
8277 # Fast installation is not necessary
8278 enable_fast_install
=needless
8283 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8284 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8285 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8286 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8287 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8288 echo "$as_me:$LINENO: result: yes" >&5
8289 echo "${ECHO_T}yes" >&6
8291 # FIXME - insert some real tests, host_os isn't really good enough
8294 if test -n "$STRIP" ; then
8295 striplib
="$STRIP -x"
8296 echo "$as_me:$LINENO: result: yes" >&5
8297 echo "${ECHO_T}yes" >&6
8299 echo "$as_me:$LINENO: result: no" >&5
8300 echo "${ECHO_T}no" >&6
8304 echo "$as_me:$LINENO: result: no" >&5
8305 echo "${ECHO_T}no" >&6
8310 if test "x$enable_dlopen" != xyes
; then
8311 enable_dlopen
=unknown
8312 enable_dlopen_self
=unknown
8313 enable_dlopen_self_static
=unknown
8320 lt_cv_dlopen
="load_add_on"
8322 lt_cv_dlopen_self
=yes
8326 lt_cv_dlopen
="LoadLibrary"
8331 lt_cv_dlopen
="dlopen"
8336 # if libdl is installed we need to link against it
8337 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8338 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8339 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 ac_check_lib_save_LIBS
=$LIBS
8344 cat >conftest.
$ac_ext <<_ACEOF
8347 cat confdefs.h
>>conftest.
$ac_ext
8348 cat >>conftest.
$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8351 /* Override any gcc2 internal prototype to avoid an error. */
8355 /* We use char because int might match the return type of a gcc2
8356 builtin and then its argument prototype would still apply. */
8366 rm -f conftest.
$ac_objext conftest
$ac_exeext
8367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8368 (eval $ac_link) 2>conftest.er1
8370 grep -v '^ *+' conftest.er1
>conftest.err
8372 cat conftest.err
>&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } &&
8375 { ac_try
='test -z "$ac_c_werror_flag"
8376 || test ! -s conftest.err'
8377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); }; } &&
8382 { ac_try
='test -s conftest$ac_exeext'
8383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); }; }; then
8388 ac_cv_lib_dl_dlopen
=yes
8390 echo "$as_me: failed program was:" >&5
8391 sed 's/^/| /' conftest.
$ac_ext >&5
8393 ac_cv_lib_dl_dlopen
=no
8395 rm -f conftest.err conftest.
$ac_objext \
8396 conftest
$ac_exeext conftest.
$ac_ext
8397 LIBS
=$ac_check_lib_save_LIBS
8399 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8400 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8401 if test $ac_cv_lib_dl_dlopen = yes; then
8402 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8407 lt_cv_dlopen_self
=yes
8414 echo "$as_me:$LINENO: checking for shl_load" >&5
8415 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8416 if test "${ac_cv_func_shl_load+set}" = set; then
8417 echo $ECHO_N "(cached) $ECHO_C" >&6
8419 cat >conftest.
$ac_ext <<_ACEOF
8422 cat confdefs.h
>>conftest.
$ac_ext
8423 cat >>conftest.
$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8425 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8427 #define shl_load innocuous_shl_load
8429 /* System header to define __stub macros and hopefully few prototypes,
8430 which can conflict with char shl_load (); below.
8431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8432 <limits.h> exists even on freestanding compilers. */
8435 # include <limits.h>
8437 # include <assert.h>
8442 /* Override any gcc2 internal prototype to avoid an error. */
8447 /* We use char because int might match the return type of a gcc2
8448 builtin and then its argument prototype would still apply. */
8450 /* The GNU C library defines this for functions which it implements
8451 to always fail with ENOSYS. Some functions are actually named
8452 something starting with __ and the normal name is an alias. */
8453 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8456 char (*f) () = shl_load;
8465 return f != shl_load;
8470 rm -f conftest.
$ac_objext conftest
$ac_exeext
8471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8472 (eval $ac_link) 2>conftest.er1
8474 grep -v '^ *+' conftest.er1
>conftest.err
8476 cat conftest.err
>&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); } &&
8479 { ac_try
='test -z "$ac_c_werror_flag"
8480 || test ! -s conftest.err'
8481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); }; } &&
8486 { ac_try
='test -s conftest$ac_exeext'
8487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); }; }; then
8492 ac_cv_func_shl_load
=yes
8494 echo "$as_me: failed program was:" >&5
8495 sed 's/^/| /' conftest.
$ac_ext >&5
8497 ac_cv_func_shl_load
=no
8499 rm -f conftest.err conftest.
$ac_objext \
8500 conftest
$ac_exeext conftest.
$ac_ext
8502 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8503 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8504 if test $ac_cv_func_shl_load = yes; then
8505 lt_cv_dlopen
="shl_load"
8507 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8508 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8509 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8510 echo $ECHO_N "(cached) $ECHO_C" >&6
8512 ac_check_lib_save_LIBS
=$LIBS
8514 cat >conftest.
$ac_ext <<_ACEOF
8517 cat confdefs.h
>>conftest.
$ac_ext
8518 cat >>conftest.
$ac_ext <<_ACEOF
8519 /* end confdefs.h. */
8521 /* Override any gcc2 internal prototype to avoid an error. */
8525 /* We use char because int might match the return type of a gcc2
8526 builtin and then its argument prototype would still apply. */
8536 rm -f conftest.
$ac_objext conftest
$ac_exeext
8537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8538 (eval $ac_link) 2>conftest.er1
8540 grep -v '^ *+' conftest.er1
>conftest.err
8542 cat conftest.err
>&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } &&
8545 { ac_try
='test -z "$ac_c_werror_flag"
8546 || test ! -s conftest.err'
8547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }; } &&
8552 { ac_try
='test -s conftest$ac_exeext'
8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); }; }; then
8558 ac_cv_lib_dld_shl_load
=yes
8560 echo "$as_me: failed program was:" >&5
8561 sed 's/^/| /' conftest.
$ac_ext >&5
8563 ac_cv_lib_dld_shl_load
=no
8565 rm -f conftest.err conftest.
$ac_objext \
8566 conftest
$ac_exeext conftest.
$ac_ext
8567 LIBS
=$ac_check_lib_save_LIBS
8569 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8570 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8571 if test $ac_cv_lib_dld_shl_load = yes; then
8572 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8574 echo "$as_me:$LINENO: checking for dlopen" >&5
8575 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8576 if test "${ac_cv_func_dlopen+set}" = set; then
8577 echo $ECHO_N "(cached) $ECHO_C" >&6
8579 cat >conftest.
$ac_ext <<_ACEOF
8582 cat confdefs.h
>>conftest.
$ac_ext
8583 cat >>conftest.
$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8585 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8587 #define dlopen innocuous_dlopen
8589 /* System header to define __stub macros and hopefully few prototypes,
8590 which can conflict with char dlopen (); below.
8591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8592 <limits.h> exists even on freestanding compilers. */
8595 # include <limits.h>
8597 # include <assert.h>
8602 /* Override any gcc2 internal prototype to avoid an error. */
8607 /* We use char because int might match the return type of a gcc2
8608 builtin and then its argument prototype would still apply. */
8610 /* The GNU C library defines this for functions which it implements
8611 to always fail with ENOSYS. Some functions are actually named
8612 something starting with __ and the normal name is an alias. */
8613 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8616 char (*f) () = dlopen;
8630 rm -f conftest.
$ac_objext conftest
$ac_exeext
8631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8632 (eval $ac_link) 2>conftest.er1
8634 grep -v '^ *+' conftest.er1
>conftest.err
8636 cat conftest.err
>&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); } &&
8639 { ac_try
='test -z "$ac_c_werror_flag"
8640 || test ! -s conftest.err'
8641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); }; } &&
8646 { ac_try
='test -s conftest$ac_exeext'
8647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); }; }; then
8652 ac_cv_func_dlopen
=yes
8654 echo "$as_me: failed program was:" >&5
8655 sed 's/^/| /' conftest.
$ac_ext >&5
8657 ac_cv_func_dlopen
=no
8659 rm -f conftest.err conftest.
$ac_objext \
8660 conftest
$ac_exeext conftest.
$ac_ext
8662 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8663 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8664 if test $ac_cv_func_dlopen = yes; then
8665 lt_cv_dlopen
="dlopen"
8667 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8668 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8669 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8670 echo $ECHO_N "(cached) $ECHO_C" >&6
8672 ac_check_lib_save_LIBS
=$LIBS
8674 cat >conftest.
$ac_ext <<_ACEOF
8677 cat confdefs.h
>>conftest.
$ac_ext
8678 cat >>conftest.
$ac_ext <<_ACEOF
8679 /* end confdefs.h. */
8681 /* Override any gcc2 internal prototype to avoid an error. */
8685 /* We use char because int might match the return type of a gcc2
8686 builtin and then its argument prototype would still apply. */
8696 rm -f conftest.
$ac_objext conftest
$ac_exeext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8698 (eval $ac_link) 2>conftest.er1
8700 grep -v '^ *+' conftest.er1
>conftest.err
8702 cat conftest.err
>&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } &&
8705 { ac_try
='test -z "$ac_c_werror_flag"
8706 || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try
='test -s conftest$ac_exeext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8718 ac_cv_lib_dl_dlopen
=yes
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.
$ac_ext >&5
8723 ac_cv_lib_dl_dlopen
=no
8725 rm -f conftest.err conftest.
$ac_objext \
8726 conftest
$ac_exeext conftest.
$ac_ext
8727 LIBS
=$ac_check_lib_save_LIBS
8729 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8730 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8731 if test $ac_cv_lib_dl_dlopen = yes; then
8732 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8734 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8735 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8736 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8737 echo $ECHO_N "(cached) $ECHO_C" >&6
8739 ac_check_lib_save_LIBS
=$LIBS
8741 cat >conftest.
$ac_ext <<_ACEOF
8744 cat confdefs.h
>>conftest.
$ac_ext
8745 cat >>conftest.
$ac_ext <<_ACEOF
8746 /* end confdefs.h. */
8748 /* Override any gcc2 internal prototype to avoid an error. */
8752 /* We use char because int might match the return type of a gcc2
8753 builtin and then its argument prototype would still apply. */
8763 rm -f conftest.
$ac_objext conftest
$ac_exeext
8764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8765 (eval $ac_link) 2>conftest.er1
8767 grep -v '^ *+' conftest.er1
>conftest.err
8769 cat conftest.err
>&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); } &&
8772 { ac_try
='test -z "$ac_c_werror_flag"
8773 || test ! -s conftest.err'
8774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); }; } &&
8779 { ac_try
='test -s conftest$ac_exeext'
8780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8784 (exit $ac_status); }; }; then
8785 ac_cv_lib_svld_dlopen
=yes
8787 echo "$as_me: failed program was:" >&5
8788 sed 's/^/| /' conftest.
$ac_ext >&5
8790 ac_cv_lib_svld_dlopen
=no
8792 rm -f conftest.err conftest.
$ac_objext \
8793 conftest
$ac_exeext conftest.
$ac_ext
8794 LIBS
=$ac_check_lib_save_LIBS
8796 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8797 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8798 if test $ac_cv_lib_svld_dlopen = yes; then
8799 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8801 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8802 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8803 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8804 echo $ECHO_N "(cached) $ECHO_C" >&6
8806 ac_check_lib_save_LIBS
=$LIBS
8808 cat >conftest.
$ac_ext <<_ACEOF
8811 cat confdefs.h
>>conftest.
$ac_ext
8812 cat >>conftest.
$ac_ext <<_ACEOF
8813 /* end confdefs.h. */
8815 /* Override any gcc2 internal prototype to avoid an error. */
8819 /* We use char because int might match the return type of a gcc2
8820 builtin and then its argument prototype would still apply. */
8830 rm -f conftest.
$ac_objext conftest
$ac_exeext
8831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8832 (eval $ac_link) 2>conftest.er1
8834 grep -v '^ *+' conftest.er1
>conftest.err
8836 cat conftest.err
>&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); } &&
8839 { ac_try
='test -z "$ac_c_werror_flag"
8840 || test ! -s conftest.err'
8841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); }; } &&
8846 { ac_try
='test -s conftest$ac_exeext'
8847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 (exit $ac_status); }; }; then
8852 ac_cv_lib_dld_dld_link
=yes
8854 echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.
$ac_ext >&5
8857 ac_cv_lib_dld_dld_link
=no
8859 rm -f conftest.err conftest.
$ac_objext \
8860 conftest
$ac_exeext conftest.
$ac_ext
8861 LIBS
=$ac_check_lib_save_LIBS
8863 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8864 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8865 if test $ac_cv_lib_dld_dld_link = yes; then
8866 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
8887 if test "x$lt_cv_dlopen" != xno
; then
8893 case $lt_cv_dlopen in
8895 save_CPPFLAGS
="$CPPFLAGS"
8896 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
8898 save_LDFLAGS
="$LDFLAGS"
8899 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
8902 LIBS
="$lt_cv_dlopen_libs $LIBS"
8904 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8905 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8906 if test "${lt_cv_dlopen_self+set}" = set; then
8907 echo $ECHO_N "(cached) $ECHO_C" >&6
8909 if test "$cross_compiling" = yes; then :
8910 lt_cv_dlopen_self
=cross
8912 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8913 lt_status
=$lt_dlunknown
8914 cat > conftest.
$ac_ext <<EOF
8915 #line 8915 "configure"
8916 #include "confdefs.h"
8925 # define LT_DLGLOBAL RTLD_GLOBAL
8928 # define LT_DLGLOBAL DL_GLOBAL
8930 # define LT_DLGLOBAL 0
8934 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8935 find out it does not work in some platform. */
8936 #ifndef LT_DLLAZY_OR_NOW
8938 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8941 # define LT_DLLAZY_OR_NOW DL_LAZY
8944 # define LT_DLLAZY_OR_NOW RTLD_NOW
8947 # define LT_DLLAZY_OR_NOW DL_NOW
8949 # define LT_DLLAZY_OR_NOW 0
8957 extern "C" void exit (int);
8960 void fnord() { int i=42;}
8963 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8964 int status = $lt_dlunknown;
8968 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8969 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8970 /* dlclose (self); */
8976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8977 (eval $ac_link) 2>&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8981 (.
/conftest
; exit; ) 2>/dev
/null
8984 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
8985 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
8986 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
8989 # compilation failed
8990 lt_cv_dlopen_self
=no
8997 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8998 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9000 if test "x$lt_cv_dlopen_self" = xyes
; then
9001 LDFLAGS
="$LDFLAGS $link_static_flag"
9002 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9003 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9004 if test "${lt_cv_dlopen_self_static+set}" = set; then
9005 echo $ECHO_N "(cached) $ECHO_C" >&6
9007 if test "$cross_compiling" = yes; then :
9008 lt_cv_dlopen_self_static
=cross
9010 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9011 lt_status
=$lt_dlunknown
9012 cat > conftest.
$ac_ext <<EOF
9013 #line 9013 "configure"
9014 #include "confdefs.h"
9023 # define LT_DLGLOBAL RTLD_GLOBAL
9026 # define LT_DLGLOBAL DL_GLOBAL
9028 # define LT_DLGLOBAL 0
9032 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9033 find out it does not work in some platform. */
9034 #ifndef LT_DLLAZY_OR_NOW
9036 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9039 # define LT_DLLAZY_OR_NOW DL_LAZY
9042 # define LT_DLLAZY_OR_NOW RTLD_NOW
9045 # define LT_DLLAZY_OR_NOW DL_NOW
9047 # define LT_DLLAZY_OR_NOW 0
9055 extern "C" void exit (int);
9058 void fnord() { int i=42;}
9061 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9062 int status = $lt_dlunknown;
9066 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9067 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9068 /* dlclose (self); */
9074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9075 (eval $ac_link) 2>&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9079 (.
/conftest
; exit; ) 2>/dev
/null
9082 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9083 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9084 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
9087 # compilation failed
9088 lt_cv_dlopen_self_static
=no
9095 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9096 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9099 CPPFLAGS
="$save_CPPFLAGS"
9100 LDFLAGS
="$save_LDFLAGS"
9105 case $lt_cv_dlopen_self in
9106 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9107 *) enable_dlopen_self
=unknown
;;
9110 case $lt_cv_dlopen_self_static in
9111 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9112 *) enable_dlopen_self_static
=unknown
;;
9117 # Report which librarie types wil actually be built
9118 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9119 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9120 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9121 echo "${ECHO_T}$can_build_shared" >&6
9123 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9124 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9125 test "$can_build_shared" = "no" && enable_shared
=no
9127 # On AIX, shared libraries and static libraries use the same namespace, and
9128 # are all built from PIC.
9131 test "$enable_shared" = yes && enable_static
=no
9132 if test -n "$RANLIB"; then
9133 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9134 postinstall_cmds
='$RANLIB $lib'
9139 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9140 test "$enable_shared" = yes && enable_static
=no
9144 echo "$as_me:$LINENO: result: $enable_shared" >&5
9145 echo "${ECHO_T}$enable_shared" >&6
9147 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9148 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9149 # Make sure either enable_shared or enable_static is yes.
9150 test "$enable_shared" = yes || enable_static
=yes
9151 echo "$as_me:$LINENO: result: $enable_static" >&5
9152 echo "${ECHO_T}$enable_static" >&6
9154 # The else clause should only fire when bootstrapping the
9155 # libtool distribution, otherwise you forgot to ship ltmain.sh
9156 # with your package, and you will get complaints that there are
9157 # no rules to generate ltmain.sh.
9158 if test -f "$ltmain"; then
9159 # See if we are running on zsh, and set the options which allow our commands through
9160 # without removal of \ escapes.
9161 if test -n "${ZSH_VERSION+set}" ; then
9162 setopt NO_GLOB_SUBST
9164 # Now quote all the things that may contain metacharacters while being
9165 # careful not to overquote the AC_SUBSTed values. We take copies of the
9166 # variables and quote the copies for generation of the libtool script.
9167 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9169 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9170 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9171 deplibs_check_method reload_flag reload_cmds need_locks \
9172 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9173 lt_cv_sys_global_symbol_to_c_name_address \
9174 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9175 old_postinstall_cmds old_postuninstall_cmds \
9179 lt_prog_compiler_wl \
9180 lt_prog_compiler_pic \
9181 lt_prog_compiler_static \
9182 lt_prog_compiler_no_builtin_flag \
9183 export_dynamic_flag_spec \
9184 thread_safe_flag_spec \
9185 whole_archive_flag_spec \
9186 enable_shared_with_static_runtimes \
9188 old_archive_from_new_cmds \
9193 compiler_lib_search_path \
9195 archive_expsym_cmds \
9197 postuninstall_cmds \
9198 old_archive_from_expsyms_cmds \
9199 allow_undefined_flag \
9201 export_symbols_cmds \
9202 hardcode_libdir_flag_spec \
9203 hardcode_libdir_flag_spec_ld \
9204 hardcode_libdir_separator \
9205 hardcode_automatic \
9207 module_expsym_cmds \
9208 lt_cv_prog_compiler_c_o \
9213 old_archive_cmds | \
9214 old_archive_from_new_cmds | \
9216 archive_expsym_cmds | \
9218 module_expsym_cmds | \
9219 old_archive_from_expsyms_cmds | \
9220 export_symbols_cmds | \
9221 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9222 postinstall_cmds | postuninstall_cmds | \
9223 old_postinstall_cmds | old_postuninstall_cmds | \
9224 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9225 # Double-quote double-evaled strings.
9226 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9229 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9235 *'\$0 --fallback-echo"')
9236 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9241 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9243 { echo "$as_me:$LINENO: creating $ofile" >&5
9244 echo "$as_me: creating $ofile" >&6;}
9246 cat <<__EOF__ >> "$cfgfile"
9249 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9250 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9251 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9253 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9254 # Free Software Foundation, Inc.
9256 # This file is part of GNU Libtool:
9257 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9259 # This program is free software; you can redistribute it and/or modify
9260 # it under the terms of the GNU General Public License as published by
9261 # the Free Software Foundation; either version 2 of the License, or
9262 # (at your option) any later version.
9264 # This program is distributed in the hope that it will be useful, but
9265 # WITHOUT ANY WARRANTY; without even the implied warranty of
9266 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9267 # General Public License for more details.
9269 # You should have received a copy of the GNU General Public License
9270 # along with this program; if not, write to the Free Software
9271 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9273 # As a special exception to the GNU General Public License, if you
9274 # distribute this file as part of a program that contains a
9275 # configuration script generated by Autoconf, you may include it under
9276 # the same distribution terms that you use for the rest of that program.
9278 # A sed program that does not truncate output.
9281 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9282 Xsed="$SED -e 1s/^X//"
9284 # The HP-UX ksh and POSIX shell print the target directory to stdout
9286 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9288 # The names of the tagged configurations supported by this script.
9291 # ### BEGIN LIBTOOL CONFIG
9293 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9295 # Shell to use when invoking shell scripts.
9298 # Whether or not to build shared libraries.
9299 build_libtool_libs=$enable_shared
9301 # Whether or not to build static libraries.
9302 build_old_libs=$enable_static
9304 # Whether or not to add -lc for building shared libraries.
9305 build_libtool_need_lc=$archive_cmds_need_lc
9307 # Whether or not to disallow shared libs when runtime libs are static
9308 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9310 # Whether or not to optimize for fast installation.
9311 fast_install=$enable_fast_install
9314 host_alias=$host_alias
9319 build_alias=$build_alias
9323 # An echo program that does not interpret backslashes.
9328 AR_FLAGS=$lt_AR_FLAGS
9333 # A language-specific compiler.
9336 # Is the compiler the GNU C compiler?
9342 # The linker used to build libraries.
9345 # Whether we need hard or soft links.
9348 # A BSD-compatible nm program.
9351 # A symbol stripping program
9354 # Used to examine libraries when file_magic_cmd begins "file"
9355 MAGIC_CMD=$MAGIC_CMD
9357 # Used on cygwin: DLL creation program.
9360 # Used on cygwin: object dumper.
9363 # Used on cygwin: assembler.
9366 # The name of the directory that contains temporary libtool files.
9369 # How to create reloadable object files.
9370 reload_flag=$lt_reload_flag
9371 reload_cmds=$lt_reload_cmds
9373 # How to pass a linker flag through the compiler.
9374 wl=$lt_lt_prog_compiler_wl
9376 # Object file suffix (normally "o").
9379 # Old archive suffix (normally "a").
9382 # Shared library suffix (normally ".so").
9383 shrext_cmds='$shrext_cmds'
9385 # Executable file suffix (normally "").
9388 # Additional compiler flags for building library objects.
9389 pic_flag=$lt_lt_prog_compiler_pic
9392 # What is the maximum length of a command?
9393 max_cmd_len=$lt_cv_sys_max_cmd_len
9395 # Does compiler simultaneously support -c and -o options?
9396 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9398 # Must we lock files when doing compilation?
9399 need_locks=$lt_need_locks
9401 # Do we need the lib prefix for modules?
9402 need_lib_prefix=$need_lib_prefix
9404 # Do we need a version for libraries?
9405 need_version=$need_version
9407 # Whether dlopen is supported.
9408 dlopen_support=$enable_dlopen
9410 # Whether dlopen of programs is supported.
9411 dlopen_self=$enable_dlopen_self
9413 # Whether dlopen of statically linked programs is supported.
9414 dlopen_self_static=$enable_dlopen_self_static
9416 # Compiler flag to prevent dynamic linking.
9417 link_static_flag=$lt_lt_prog_compiler_static
9419 # Compiler flag to turn off builtin functions.
9420 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9422 # Compiler flag to allow reflexive dlopens.
9423 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9425 # Compiler flag to generate shared objects directly from archives.
9426 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9428 # Compiler flag to generate thread-safe objects.
9429 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9431 # Library versioning type.
9432 version_type=$version_type
9434 # Format of library name prefix.
9435 libname_spec=$lt_libname_spec
9437 # List of archive names. First name is the real one, the rest are links.
9438 # The last name is the one that the linker finds with -lNAME.
9439 library_names_spec=$lt_library_names_spec
9441 # The coded name of the library, if different from the real name.
9442 soname_spec=$lt_soname_spec
9444 # Commands used to build and install an old-style archive.
9446 old_archive_cmds=$lt_old_archive_cmds
9447 old_postinstall_cmds=$lt_old_postinstall_cmds
9448 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9450 # Create an old-style archive from a shared archive.
9451 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9453 # Create a temporary old-style archive to link instead of a shared archive.
9454 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9456 # Commands used to build and install a shared archive.
9457 archive_cmds=$lt_archive_cmds
9458 archive_expsym_cmds=$lt_archive_expsym_cmds
9459 postinstall_cmds=$lt_postinstall_cmds
9460 postuninstall_cmds=$lt_postuninstall_cmds
9462 # Commands used to build a loadable module (assumed same as above if empty)
9463 module_cmds=$lt_module_cmds
9464 module_expsym_cmds=$lt_module_expsym_cmds
9466 # Commands to strip libraries.
9467 old_striplib=$lt_old_striplib
9468 striplib=$lt_striplib
9470 # Dependencies to place before the objects being linked to create a
9472 predep_objects=$lt_predep_objects
9474 # Dependencies to place after the objects being linked to create a
9476 postdep_objects=$lt_postdep_objects
9478 # Dependencies to place before the objects being linked to create a
9482 # Dependencies to place after the objects being linked to create a
9484 postdeps=$lt_postdeps
9486 # The library search path used internally by the compiler when linking
9488 compiler_lib_search_path=$lt_compiler_lib_search_path
9490 # Method to check whether dependent libraries are shared objects.
9491 deplibs_check_method=$lt_deplibs_check_method
9493 # Command to use when deplibs_check_method == file_magic.
9494 file_magic_cmd=$lt_file_magic_cmd
9496 # Flag that allows shared libraries with undefined symbols to be built.
9497 allow_undefined_flag=$lt_allow_undefined_flag
9499 # Flag that forces no undefined symbols.
9500 no_undefined_flag=$lt_no_undefined_flag
9502 # Commands used to finish a libtool library installation in a directory.
9503 finish_cmds=$lt_finish_cmds
9505 # Same as above, but a single script fragment to be evaled but not shown.
9506 finish_eval=$lt_finish_eval
9508 # Take the output of nm and produce a listing of raw symbols and C names.
9509 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9511 # Transform the output of nm in a proper C declaration
9512 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9514 # Transform the output of nm in a C name address pair
9515 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9517 # This is the shared library runtime path variable.
9518 runpath_var=$runpath_var
9520 # This is the shared library path variable.
9521 shlibpath_var=$shlibpath_var
9523 # Is shlibpath searched before the hard-coded library search path?
9524 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9526 # How to hardcode a shared library path into an executable.
9527 hardcode_action=$hardcode_action
9529 # Whether we should hardcode library paths into libraries.
9530 hardcode_into_libs=$hardcode_into_libs
9532 # Flag to hardcode \$libdir into a binary during linking.
9533 # This must work even if \$libdir does not exist.
9534 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9536 # If ld is used when linking, flag to hardcode \$libdir into
9537 # a binary during linking. This must work even if \$libdir does
9539 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9541 # Whether we need a single -rpath flag with a separated argument.
9542 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9544 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9546 hardcode_direct=$hardcode_direct
9548 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9550 hardcode_minus_L=$hardcode_minus_L
9552 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9553 # the resulting binary.
9554 hardcode_shlibpath_var=$hardcode_shlibpath_var
9556 # Set to yes if building a shared library automatically hardcodes DIR into the library
9557 # and all subsequent libraries and executables linked against it.
9558 hardcode_automatic=$hardcode_automatic
9560 # Variables whose values should be saved in libtool wrapper scripts and
9561 # restored at relink time.
9562 variables_saved_for_relink="$variables_saved_for_relink"
9564 # Whether libtool must link a program against all its dependency libraries.
9565 link_all_deplibs=$link_all_deplibs
9567 # Compile-time system search path for libraries
9568 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9570 # Run-time system search path for libraries
9571 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9573 # Fix the shell variable \$srcfile for the compiler.
9574 fix_srcfile_path="$fix_srcfile_path"
9576 # Set to yes if exported symbols are required.
9577 always_export_symbols=$always_export_symbols
9579 # The commands to list exported symbols.
9580 export_symbols_cmds=$lt_export_symbols_cmds
9582 # The commands to extract the exported symbol list from a shared archive.
9583 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9585 # Symbols that should not be listed in the preloaded symbols.
9586 exclude_expsyms=$lt_exclude_expsyms
9588 # Symbols that must always be exported.
9589 include_expsyms=$lt_include_expsyms
9591 # ### END LIBTOOL CONFIG
9598 cat <<\EOF
>> "$cfgfile"
9600 # AIX sometimes has problems with the GCC collect2 program. For some
9601 # reason, if we set the COLLECT_NAMES environment variable, the problems
9602 # vanish in a puff of smoke.
9603 if test "X${COLLECT_NAMES+set}" != Xset
; then
9605 export COLLECT_NAMES
9611 # We use sed instead of cat because bash on DJGPP gets confused if
9612 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9613 # text mode, it properly converts lines to CR/LF. This bash problem
9614 # is reportedly fixed, but why not run on old versions too?
9615 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9617 mv -f "$cfgfile" "$ofile" || \
9618 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9622 # If there is no Makefile yet, we rely on a make rule to execute
9623 # `config.status --recheck' to rerun these tests and create the
9624 # libtool script then.
9625 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9626 if test -f "$ltmain_in"; then
9627 test -f Makefile
&& make "$ltmain"
9633 ac_cpp
='$CPP $CPPFLAGS'
9634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9641 # Check whether --with-tags or --without-tags was given.
9642 if test "${with_tags+set}" = set; then
9643 withval
="$with_tags"
9647 if test -f "$ltmain" && test -n "$tagnames"; then
9648 if test ! -f "${ofile}"; then
9649 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9650 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9653 if test -z "$LTCC"; then
9654 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9655 if test -z "$LTCC"; then
9656 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9657 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9659 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9660 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9664 # Extract list of available tagged configurations in $ofile.
9665 # Note that this assumes the entire list is on one line.
9666 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9668 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9669 for tagname
in $tagnames; do
9671 # Check whether tagname contains only valid characters
9672 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9674 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9675 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9676 { (exit 1); exit 1; }; }
9680 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9682 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9683 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9684 { (exit 1); exit 1; }; }
9687 # Update the list of available tags.
9688 if test -n "$tagname"; then
9689 echo appending configuration tag
\"$tagname\" to
$ofile
9693 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9694 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9695 (test "X$CXX" != "Xg++"))) ; then
9697 ac_cpp
='$CXXCPP $CPPFLAGS'
9698 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9699 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9700 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9705 archive_cmds_need_lc_CXX
=no
9706 allow_undefined_flag_CXX
=
9707 always_export_symbols_CXX
=no
9708 archive_expsym_cmds_CXX
=
9709 export_dynamic_flag_spec_CXX
=
9710 hardcode_direct_CXX
=no
9711 hardcode_libdir_flag_spec_CXX
=
9712 hardcode_libdir_flag_spec_ld_CXX
=
9713 hardcode_libdir_separator_CXX
=
9714 hardcode_minus_L_CXX
=no
9715 hardcode_automatic_CXX
=no
9717 module_expsym_cmds_CXX
=
9718 link_all_deplibs_CXX
=unknown
9719 old_archive_cmds_CXX
=$old_archive_cmds
9720 no_undefined_flag_CXX
=
9721 whole_archive_flag_spec_CXX
=
9722 enable_shared_with_static_runtimes_CXX
=no
9724 # Dependencies to place before and after the object being linked:
9726 postdep_objects_CXX
=
9729 compiler_lib_search_path_CXX
=
9731 # Source file extension for C++ test sources.
9734 # Object file extension for compiled C++ test sources.
9738 # Code to be used in simple compile tests
9739 lt_simple_compile_test_code
="int some_variable = 0;\n"
9741 # Code to be used in simple link tests
9742 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
9744 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9746 # If no C compiler was specified, use CC.
9749 # Allow CC to be a program name with arguments.
9753 # save warnings/boilerplate of simple test code
9754 ac_outfile
=conftest.
$ac_objext
9755 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
9756 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
9757 _lt_compiler_boilerplate
=`cat conftest.err`
9760 ac_outfile
=conftest.
$ac_objext
9761 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
9762 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
9763 _lt_linker_boilerplate
=`cat conftest.err`
9767 # Allow CC to be a program name with arguments.
9772 lt_save_with_gnu_ld
=$with_gnu_ld
9773 lt_save_path_LD
=$lt_cv_path_LD
9774 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9775 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
9777 unset lt_cv_prog_gnu_ld
9779 if test -n "${lt_cv_path_LDCXX+set}"; then
9780 lt_cv_path_LD
=$lt_cv_path_LDCXX
9784 test -z "${LDCXX+set}" || LD
=$LDCXX
9788 for cc_temp
in $compiler""; do
9790 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9791 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9796 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9799 # We don't want -fno-exception wen compiling C++ code, so set the
9800 # no_builtin_flag separately
9801 if test "$GXX" = yes; then
9802 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
9804 lt_prog_compiler_no_builtin_flag_CXX
=
9807 if test "$GXX" = yes; then
9808 # Set up default GNU C++ configuration
9811 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9812 if test "${with_gnu_ld+set}" = set; then
9813 withval
="$with_gnu_ld"
9814 test "$withval" = no || with_gnu_ld
=yes
9819 if test "$GCC" = yes; then
9820 # Check if gcc -print-prog-name=ld gives a path.
9821 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9822 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9825 # gcc leaves a trailing carriage return which upsets mingw
9826 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9828 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9831 # Accept absolute paths.
9833 re_direlt
='/[^/][^/]*/\.\./'
9834 # Canonicalize the pathname of ld
9835 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
9836 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9837 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9839 test -z "$LD" && LD
="$ac_prog"
9842 # If it fails, then pretend we aren't using GCC.
9846 # If it is relative, then search for the first ld in PATH.
9850 elif test "$with_gnu_ld" = yes; then
9851 echo "$as_me:$LINENO: checking for GNU ld" >&5
9852 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9854 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9855 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9857 if test "${lt_cv_path_LD+set}" = set; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 if test -z "$LD"; then
9861 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9862 for ac_dir
in $PATH; do
9864 test -z "$ac_dir" && ac_dir
=.
9865 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9866 lt_cv_path_LD
="$ac_dir/$ac_prog"
9867 # Check to see if the program is GNU ld. I'd rather use --version,
9868 # but apparently some GNU ld's only accept -v.
9869 # Break only if it was the GNU/non-GNU ld that we prefer.
9870 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9871 *GNU
* |
*'with BFD'*)
9872 test "$with_gnu_ld" != no
&& break
9875 test "$with_gnu_ld" != yes && break
9882 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
9887 if test -n "$LD"; then
9888 echo "$as_me:$LINENO: result: $LD" >&5
9889 echo "${ECHO_T}$LD" >&6
9891 echo "$as_me:$LINENO: result: no" >&5
9892 echo "${ECHO_T}no" >&6
9894 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9895 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9896 { (exit 1); exit 1; }; }
9897 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9898 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9899 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9900 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9903 case `$LD -v 2>&1 </dev/null` in
9904 *GNU
* |
*'with BFD'*)
9905 lt_cv_prog_gnu_ld
=yes
9908 lt_cv_prog_gnu_ld
=no
9912 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9913 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9914 with_gnu_ld
=$lt_cv_prog_gnu_ld
9918 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9919 # archiving commands below assume that GNU ld is being used.
9920 if test "$with_gnu_ld" = yes; then
9921 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9922 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'
9924 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
9925 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
9927 # If archive_cmds runs LD, not CC, wlarc should be empty
9928 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9929 # investigate it a little bit more. (MM)
9932 # ancient GNU ld didn't support --whole-archive et. al.
9933 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9934 grep 'no-whole-archive' > /dev
/null
; then
9935 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9937 whole_archive_flag_spec_CXX
=
9943 # A generic and very simple default shared library creation
9944 # command for GNU C++ for the case where it uses the native
9945 # linker, instead of GNU ld. If possible, this setting should
9946 # overridden to take advantage of the native linker features on
9947 # the platform it is being used on.
9948 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9951 # Commands to make compiler produce verbose output that lists
9952 # what "hidden" libraries, object files and flags are used when
9953 # linking a shared library.
9954 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9962 # PORTME: fill in a description of your system's C++ link characteristics
9963 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9964 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9968 # FIXME: insert proper C++ library support
9972 if test "$host_cpu" = ia64
; then
9973 # On IA64, the linker does run time linking by default, so we don't
9974 # have to do anything special.
9975 aix_use_runtimelinking
=no
9976 exp_sym_flag
='-Bexport'
9979 aix_use_runtimelinking
=no
9981 # Test if we are trying to use run time linking or normal
9982 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9983 # need to do runtime linking.
9984 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9985 for ld_flag
in $LDFLAGS; do
9988 aix_use_runtimelinking
=yes
9995 exp_sym_flag
='-bexport'
9996 no_entry_flag
='-bnoentry'
9999 # When large executables or shared objects are built, AIX ld can
10000 # have problems creating the table of contents. If linking a library
10001 # or program results in "error TOC overflow" add -mminimal-toc to
10002 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10003 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10005 archive_cmds_CXX
=''
10006 hardcode_direct_CXX
=yes
10007 hardcode_libdir_separator_CXX
=':'
10008 link_all_deplibs_CXX
=yes
10010 if test "$GXX" = yes; then
10011 case $host_os in aix4.
[012]|aix4.
[012].
*)
10012 # We only want to do this on AIX 4.2 and lower, the check
10013 # below for broken collect2 doesn't work under 4.3+
10014 collect2name
=`${CC} -print-prog-name=collect2`
10015 if test -f "$collect2name" && \
10016 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10018 # We have reworked collect2
10019 hardcode_direct_CXX
=yes
10021 # We have old collect2
10022 hardcode_direct_CXX
=unsupported
10023 # It fails to find uninstalled libraries when the uninstalled
10024 # path is not listed in the libpath. Setting hardcode_minus_L
10025 # to unsupported forces relinking
10026 hardcode_minus_L_CXX
=yes
10027 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10028 hardcode_libdir_separator_CXX
=
10031 shared_flag
='-shared'
10032 if test "$aix_use_runtimelinking" = yes; then
10033 shared_flag
="$shared_flag "'${wl}-G'
10037 if test "$host_cpu" = ia64
; then
10038 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10039 # chokes on -Wl,-G. The following line is correct:
10042 if test "$aix_use_runtimelinking" = yes; then
10043 shared_flag
='${wl}-G'
10045 shared_flag
='${wl}-bM:SRE'
10050 # It seems that -bexpall does not export symbols beginning with
10051 # underscore (_), so it is better to generate a list of symbols to export.
10052 always_export_symbols_CXX
=yes
10053 if test "$aix_use_runtimelinking" = yes; then
10054 # Warning - without using the other runtime loading flags (-brtl),
10055 # -berok will link without error, but may produce a broken library.
10056 allow_undefined_flag_CXX
='-berok'
10057 # Determine the default libpath from the value encoded in an empty executable.
10058 cat >conftest.
$ac_ext <<_ACEOF
10061 cat confdefs.h
>>conftest.
$ac_ext
10062 cat >>conftest.
$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10073 rm -f conftest.
$ac_objext conftest
$ac_exeext
10074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10075 (eval $ac_link) 2>conftest.er1
10077 grep -v '^ *+' conftest.er1
>conftest.err
10079 cat conftest.err
>&5
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); } &&
10082 { ac_try
='test -z "$ac_cxx_werror_flag"
10083 || test ! -s conftest.err'
10084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085 (eval $ac_try) 2>&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); }; } &&
10089 { ac_try
='test -s conftest$ac_exeext'
10090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091 (eval $ac_try) 2>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; }; then
10096 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10098 # Check for a 64-bit object if we didn't find anything.
10099 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; }
10102 echo "$as_me: failed program was:" >&5
10103 sed 's/^/| /' conftest.
$ac_ext >&5
10106 rm -f conftest.err conftest.
$ac_objext \
10107 conftest
$ac_exeext conftest.
$ac_ext
10108 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10110 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10112 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"
10114 if test "$host_cpu" = ia64; then
10115 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10116 allow_undefined_flag_CXX="-z nodefs"
10117 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"
10119 # Determine the default libpath from the value encoded in an empty executable.
10120 cat >conftest.$ac_ext <<_ACEOF
10123 cat confdefs.h >>conftest.$ac_ext
10124 cat >>conftest.$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10135 rm -f conftest.$ac_objext conftest$ac_exeext
10136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10137 (eval $ac_link) 2>conftest.er1
10139 grep -v '^ *+' conftest.er1 >conftest.err
10141 cat conftest.err >&5
10142 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10143 (exit $ac_status); } &&
10144 { ac_try='test -z "$ac_cxx_werror_flag"
10145 || test ! -s conftest.err'
10146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10147 (eval $ac_try) 2>&5
10149 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10150 (exit $ac_status); }; } &&
10151 { ac_try='test -s conftest$ac_exeext'
10152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10153 (eval $ac_try) 2>&5
10155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10156 (exit $ac_status); }; }; then
10158 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10160 # Check for a 64-bit object if we didn't find anything.
10161 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; }
10164 echo "$as_me: failed program was
:" >&5
10165 sed 's/^/| /' conftest.$ac_ext >&5
10168 rm -f conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10172 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10173 # Warning - without using the other run time loading flags,
10174 # -berok will link without error, but may produce a broken library.
10175 no_undefined_flag_CXX=' ${wl}-bernotok'
10176 allow_undefined_flag_CXX=' ${wl}-berok'
10177 # -bexpall does not export symbols beginning with underscore (_)
10178 always_export_symbols_CXX=yes
10179 # Exported symbols can be pulled into shared objects from archives
10180 whole_archive_flag_spec_CXX=' '
10181 archive_cmds_need_lc_CXX=yes
10182 # This is similar to how AIX traditionally builds it's shared libraries.
10183 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'
10188 case $cc_basename in
10190 # FIXME: insert proper C++ library support
10197 cygwin* | mingw* | pw32*)
10198 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10199 # as there is no search path for DLLs.
10200 hardcode_libdir_flag_spec_CXX='-L$libdir'
10201 allow_undefined_flag_CXX=unsupported
10202 always_export_symbols_CXX=no
10203 enable_shared_with_static_runtimes_CXX=yes
10205 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10206 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'
10207 # If the export-symbols file already is a .def file (1st line
10208 # is EXPORTS), use it as is; otherwise, prepend...
10209 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10210 cp $export_symbols $output_objdir/$soname.def;
10212 echo EXPORTS > $output_objdir/$soname.def;
10213 cat $export_symbols >> $output_objdir/$soname.def;
10215 $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'
10220 darwin* | rhapsody*)
10222 rhapsody* | darwin1.[012])
10223 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10226 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10227 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10229 case ${MACOSX_DEPLOYMENT_TARGET} in
10231 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10234 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10240 archive_cmds_need_lc_CXX=no
10241 hardcode_direct_CXX=no
10242 hardcode_automatic_CXX=yes
10243 hardcode_shlibpath_var_CXX=unsupported
10244 whole_archive_flag_spec_CXX=''
10245 link_all_deplibs_CXX=yes
10247 if test "$GXX" = yes ; then
10248 lt_int_apple_cc_single_mod=no
10249 output_verbose_link_cmd='echo'
10250 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10251 lt_int_apple_cc_single_mod=yes
10253 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10254 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10256 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'
10258 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10259 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10260 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10261 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}'
10263 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}'
10265 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}'
10267 case $cc_basename in
10269 output_verbose_link_cmd
='echo'
10270 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'
10271 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10272 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10273 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}'
10274 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}'
10284 case $cc_basename in
10286 # FIXME: insert proper C++ library support
10290 # Green Hills C++ Compiler
10291 # FIXME: insert proper C++ library support
10295 # FIXME: insert proper C++ library support
10301 # C++ shared libraries reported to be fairly broken before switch to ELF
10305 archive_cmds_need_lc_CXX
=no
10307 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10308 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10315 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10316 hardcode_libdir_separator_CXX
=:
10317 export_dynamic_flag_spec_CXX
='${wl}-E'
10318 hardcode_direct_CXX
=yes
10319 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10320 # but as the default
10321 # location of the library.
10323 case $cc_basename in
10325 # FIXME: insert proper C++ library support
10329 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'
10330 # Commands to make compiler produce verbose output that lists
10331 # what "hidden" libraries, object files and flags are used when
10332 # linking a shared library.
10334 # There doesn't appear to be a way to prevent this compiler from
10335 # explicitly linking system object files so we need to strip them
10336 # from the output so that they don't get included in the library
10338 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'
10341 if test "$GXX" = yes; then
10342 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'
10344 # FIXME: insert proper C++ library support
10351 if test $with_gnu_ld = no
; then
10352 case "$host_cpu" in
10354 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10355 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10356 hardcode_libdir_separator_CXX
=:
10359 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10362 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10363 hardcode_libdir_separator_CXX
=:
10364 export_dynamic_flag_spec_CXX
='${wl}-E'
10368 case "$host_cpu" in
10370 hardcode_direct_CXX
=no
10371 hardcode_shlibpath_var_CXX
=no
10374 hardcode_direct_CXX
=no
10375 hardcode_shlibpath_var_CXX
=no
10376 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10377 # but as the default
10378 # location of the library.
10381 hardcode_direct_CXX
=yes
10382 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10383 # but as the default
10384 # location of the library.
10388 case $cc_basename in
10390 # FIXME: insert proper C++ library support
10394 case "$host_cpu" in
10396 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10399 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10402 # Commands to make compiler produce verbose output that lists
10403 # what "hidden" libraries, object files and flags are used when
10404 # linking a shared library.
10406 # There doesn't appear to be a way to prevent this compiler from
10407 # explicitly linking system object files so we need to strip them
10408 # from the output so that they don't get included in the library
10410 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'
10413 if test "$GXX" = yes; then
10414 if test $with_gnu_ld = no
; then
10415 case "$host_cpu" in
10417 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10420 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'
10425 # FIXME: insert proper C++ library support
10432 case $cc_basename in
10435 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10437 # Archives containing C++ object files must be created using
10438 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10439 # necessary to make sure instantiated templates are included
10441 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10444 if test "$GXX" = yes; then
10445 if test "$with_gnu_ld" = no
; then
10446 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10448 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'
10451 link_all_deplibs_CXX
=yes
10454 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10455 hardcode_libdir_separator_CXX
=:
10458 case $cc_basename in
10460 # Kuck and Associates, Inc. (KAI) C++ Compiler
10462 # KCC will only create a shared library if the output file
10463 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10464 # to its proper name (with version) after linking.
10465 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'
10466 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'
10467 # Commands to make compiler produce verbose output that lists
10468 # what "hidden" libraries, object files and flags are used when
10469 # linking a shared library.
10471 # There doesn't appear to be a way to prevent this compiler from
10472 # explicitly linking system object files so we need to strip them
10473 # from the output so that they don't get included in the library
10475 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'
10477 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10478 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10480 # Archives containing C++ object files must be created using
10481 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10482 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10487 # version 8.0 and above of icpc choke on multiply defined symbols
10488 # if we add $predep_objects and $postdep_objects, however 7.1 and
10489 # earlier do not add the objects themselves.
10490 case `$CC -V 2>&1` in
10492 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10493 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'
10495 *) # Version 8.0 or newer
10498 ia64
*) tmp_idyn
=' -i_dynamic';;
10500 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10501 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'
10504 archive_cmds_need_lc_CXX
=no
10505 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10506 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10507 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10510 # Portland Group C++ compiler
10511 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10512 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'
10514 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10515 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10516 whole_archive_flag_spec_CXX
=''
10520 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10521 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'
10523 runpath_var
=LD_RUN_PATH
10524 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10525 hardcode_libdir_separator_CXX
=:
10527 # Commands to make compiler produce verbose output that lists
10528 # what "hidden" libraries, object files and flags are used when
10529 # linking a shared library.
10531 # There doesn't appear to be a way to prevent this compiler from
10532 # explicitly linking system object files so we need to strip them
10533 # from the output so that they don't get included in the library
10535 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'
10540 # FIXME: insert proper C++ library support
10544 # FIXME: insert proper C++ library support
10548 case $cc_basename in
10550 # FIXME: insert proper C++ library support
10554 # FIXME: insert proper C++ library support
10560 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10561 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10563 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10564 hardcode_direct_CXX
=yes
10565 hardcode_shlibpath_var_CXX
=no
10567 # Workaround some broken pre-1.5 toolchains
10568 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10571 # C++ shared libraries are fairly broken
10575 hardcode_direct_CXX
=yes
10576 hardcode_shlibpath_var_CXX
=no
10577 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10578 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10579 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10580 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10581 export_dynamic_flag_spec_CXX
='${wl}-E'
10582 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10584 output_verbose_link_cmd
='echo'
10587 case $cc_basename in
10589 # Kuck and Associates, Inc. (KAI) C++ Compiler
10591 # KCC will only create a shared library if the output file
10592 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10593 # to its proper name (with version) after linking.
10594 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'
10596 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10597 hardcode_libdir_separator_CXX
=:
10599 # Archives containing C++ object files must be created using
10600 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10601 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10605 # Rational C++ 2.4.1
10606 # FIXME: insert proper C++ library support
10610 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10611 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10613 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10614 hardcode_libdir_separator_CXX
=:
10616 # Commands to make compiler produce verbose output that lists
10617 # what "hidden" libraries, object files and flags are used when
10618 # linking a shared library.
10620 # There doesn't appear to be a way to prevent this compiler from
10621 # explicitly linking system object files so we need to strip them
10622 # from the output so that they don't get included in the library
10624 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'
10627 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10628 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10629 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10631 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10632 hardcode_libdir_separator_CXX
=:
10634 # Commands to make compiler produce verbose output that lists
10635 # what "hidden" libraries, object files and flags are used when
10636 # linking a shared library.
10637 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10640 # FIXME: insert proper C++ library support
10647 case $cc_basename in
10649 # Kuck and Associates, Inc. (KAI) C++ Compiler
10651 # KCC will only create a shared library if the output file
10652 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10653 # to its proper name (with version) after linking.
10654 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'
10656 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10657 hardcode_libdir_separator_CXX
=:
10659 # Archives containing C++ object files must be created using
10660 # the KAI C++ compiler.
10661 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10664 # Rational C++ 2.4.1
10665 # FIXME: insert proper C++ library support
10669 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10670 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10671 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10672 echo "-hidden">> $lib.exp~
10673 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
10676 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10677 hardcode_libdir_separator_CXX
=:
10679 # Commands to make compiler produce verbose output that lists
10680 # what "hidden" libraries, object files and flags are used when
10681 # linking a shared library.
10683 # There doesn't appear to be a way to prevent this compiler from
10684 # explicitly linking system object files so we need to strip them
10685 # from the output so that they don't get included in the library
10687 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'
10690 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10691 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10692 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10694 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10695 hardcode_libdir_separator_CXX
=:
10697 # Commands to make compiler produce verbose output that lists
10698 # what "hidden" libraries, object files and flags are used when
10699 # linking a shared library.
10700 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10703 # FIXME: insert proper C++ library support
10710 # FIXME: insert proper C++ library support
10714 archive_cmds_need_lc_CXX
=no
10715 case $cc_basename in
10717 # FIXME: insert proper C++ library support
10721 # FIXME: insert proper C++ library support
10727 case $cc_basename in
10730 # FIXME: insert proper C++ library support
10735 # FIXME: insert proper C++ library support
10739 # FIXME: insert proper C++ library support
10745 case $cc_basename in
10747 # Sun C++ 4.2, 5.x and Centerline C++
10748 no_undefined_flag_CXX
=' -zdefs'
10749 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10750 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10751 $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'
10753 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10754 hardcode_shlibpath_var_CXX
=no
10756 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10758 # The C++ compiler is used as linker so we must use $wl
10759 # flag to pass the commands to the underlying system
10760 # linker. We must also pass each convience library through
10761 # to the system linker between allextract/defaultextract.
10762 # The C++ compiler will combine linker options so we
10763 # cannot just pass the convience library names through
10765 # Supported since Solaris 2.6 (maybe 2.5.1?)
10766 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
10769 link_all_deplibs_CXX
=yes
10771 # Commands to make compiler produce verbose output that lists
10772 # what "hidden" libraries, object files and flags are used when
10773 # linking a shared library.
10775 # There doesn't appear to be a way to prevent this compiler from
10776 # explicitly linking system object files so we need to strip them
10777 # from the output so that they don't get included in the library
10779 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'
10781 # Archives containing C++ object files must be created using
10782 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10783 # necessary to make sure instantiated templates are included
10785 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10788 # Green Hills C++ Compiler
10789 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10791 # The C++ compiler must be used to create the archive.
10792 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10795 # GNU C++ compiler with Solaris linker
10796 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10797 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10798 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10799 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10800 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10801 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10803 # Commands to make compiler produce verbose output that lists
10804 # what "hidden" libraries, object files and flags are used when
10805 # linking a shared library.
10806 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10808 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10810 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10811 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10812 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10814 # Commands to make compiler produce verbose output that lists
10815 # what "hidden" libraries, object files and flags are used when
10816 # linking a shared library.
10817 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10820 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
10825 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10826 archive_cmds_need_lc_CXX
=no
10829 case $cc_basename in
10831 # NonStop-UX NCC 3.20
10832 # FIXME: insert proper C++ library support
10836 # FIXME: insert proper C++ library support
10842 # FIXME: insert proper C++ library support
10846 # FIXME: insert proper C++ library support
10850 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10851 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10852 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
10858 cat > conftest.
$ac_ext <<EOF
10862 Foo (void) { a = 0; }
10868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10869 (eval $ac_compile) 2>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; then
10873 # Parse the compiler output and extract the necessary
10874 # objects, libraries and library flags.
10876 # Sentinel used to keep track of whether or not we are before
10877 # the conftest object file.
10878 pre_test_object_deps_done
=no
10880 # The `*' in the case matches for architectures that use `case' in
10881 # $output_verbose_cmd can trigger glob expansion during the loop
10882 # eval without this substitution.
10883 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10885 for p
in `eval $output_verbose_link_cmd`; do
10889 # Some compilers place space between "-{L,R}" and the path.
10890 # Remove the space.
10891 if test $p = "-L" \
10892 ||
test $p = "-R"; then
10899 if test "$pre_test_object_deps_done" = no
; then
10902 # Internal compiler library paths should come after those
10903 # provided the user. The postdeps already come after the
10904 # user supplied libs so there is no need to process them.
10905 if test -z "$compiler_lib_search_path_CXX"; then
10906 compiler_lib_search_path_CXX
="${prev}${p}"
10908 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
10911 # The "-l" case would never come before the object being
10912 # linked, so don't bother handling this case.
10915 if test -z "$postdeps_CXX"; then
10916 postdeps_CXX
="${prev}${p}"
10918 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
10924 # This assumes that the test object file only shows up
10925 # once in the compiler output.
10926 if test "$p" = "conftest.$objext"; then
10927 pre_test_object_deps_done
=yes
10931 if test "$pre_test_object_deps_done" = no
; then
10932 if test -z "$predep_objects_CXX"; then
10933 predep_objects_CXX
="$p"
10935 predep_objects_CXX
="$predep_objects_CXX $p"
10938 if test -z "$postdep_objects_CXX"; then
10939 postdep_objects_CXX
="$p"
10941 postdep_objects_CXX
="$postdep_objects_CXX $p"
10946 *) ;; # Ignore the rest.
10954 echo "libtool.m4: error: problem compiling CXX test program"
10957 $rm -f confest.
$objext
10959 case " $postdeps_CXX " in
10960 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
10963 lt_prog_compiler_wl_CXX
=
10964 lt_prog_compiler_pic_CXX
=
10965 lt_prog_compiler_static_CXX
=
10967 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10968 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10970 # C++ specific cases for pic, static, wl, etc.
10971 if test "$GXX" = yes; then
10972 lt_prog_compiler_wl_CXX
='-Wl,'
10973 lt_prog_compiler_static_CXX
='-static'
10977 # All AIX code is PIC.
10978 if test "$host_cpu" = ia64
; then
10979 # AIX 5 now supports IA64 processor
10980 lt_prog_compiler_static_CXX
='-Bstatic'
10984 # FIXME: we need at least 68020 code to build shared libraries, but
10985 # adding the `-m68020' flag to GCC prevents building anything better,
10987 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
10989 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10990 # PIC is the default for these OSes.
10992 mingw
* | os2
* | pw32
*)
10993 # This hack is so that the source file can tell whether it is being
10994 # built for inclusion in a dll (and should export symbols for example).
10995 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
10997 darwin
* | rhapsody
*)
10998 # PIC is the default on this platform
10999 # Common symbols not allowed in MH_DYLIB files
11000 lt_prog_compiler_pic_CXX
='-fno-common'
11003 # DJGPP does not support shared libraries at all
11004 lt_prog_compiler_pic_CXX
=
11007 if test -d /usr
/nec
; then
11008 lt_prog_compiler_pic_CXX
=-Kconform_pic
11012 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11013 # not for PA HP-UX.
11014 case "$host_cpu" in
11018 lt_prog_compiler_pic_CXX
='-fPIC'
11023 lt_prog_compiler_pic_CXX
='-fPIC'
11029 # All AIX code is PIC.
11030 if test "$host_cpu" = ia64
; then
11031 # AIX 5 now supports IA64 processor
11032 lt_prog_compiler_static_CXX
='-Bstatic'
11034 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11038 case $cc_basename in
11040 # Green Hills C++ Compiler
11041 # _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"
11046 # PIC is the default on this platform
11047 # Common symbols not allowed in MH_DYLIB files
11048 case $cc_basename in
11050 lt_prog_compiler_pic_CXX
='-qnocommon'
11051 lt_prog_compiler_wl_CXX
='-Wl,'
11056 case $cc_basename in
11058 lt_prog_compiler_pic_CXX
='-KPIC'
11061 # Green Hills C++ Compiler
11062 lt_prog_compiler_pic_CXX
='-pic'
11068 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11069 # FreeBSD uses GNU C++
11071 hpux9
* | hpux10
* | hpux11
*)
11072 case $cc_basename in
11074 lt_prog_compiler_wl_CXX
='-Wl,'
11075 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11076 if test "$host_cpu" != ia64
; then
11077 lt_prog_compiler_pic_CXX
='+Z'
11081 lt_prog_compiler_wl_CXX
='-Wl,'
11082 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11083 case "$host_cpu" in
11088 lt_prog_compiler_pic_CXX
='+Z'
11096 irix5
* | irix6
* | nonstopux
*)
11097 case $cc_basename in
11099 lt_prog_compiler_wl_CXX
='-Wl,'
11100 lt_prog_compiler_static_CXX
='-non_shared'
11101 # CC pic flag -KPIC is the default.
11108 case $cc_basename in
11111 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11112 lt_prog_compiler_pic_CXX
='-fPIC'
11116 lt_prog_compiler_wl_CXX
='-Wl,'
11117 lt_prog_compiler_pic_CXX
='-KPIC'
11118 lt_prog_compiler_static_CXX
='-static'
11121 # Portland Group C++ compiler.
11122 lt_prog_compiler_wl_CXX
='-Wl,'
11123 lt_prog_compiler_pic_CXX
='-fpic'
11124 lt_prog_compiler_static_CXX
='-static'
11128 # Make sure the PIC flag is empty. It appears that all Alpha
11129 # Linux and Compaq Tru64 Unix objects are PIC.
11130 lt_prog_compiler_pic_CXX
=
11131 lt_prog_compiler_static_CXX
='-non_shared'
11142 case $cc_basename in
11144 lt_prog_compiler_pic_CXX
='-W c,exportall'
11152 osf3
* | osf4
* | osf5
*)
11153 case $cc_basename in
11155 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11158 # Rational C++ 2.4.1
11159 lt_prog_compiler_pic_CXX
='-pic'
11162 # Digital/Compaq C++
11163 lt_prog_compiler_wl_CXX
='-Wl,'
11164 # Make sure the PIC flag is empty. It appears that all Alpha
11165 # Linux and Compaq Tru64 Unix objects are PIC.
11166 lt_prog_compiler_pic_CXX
=
11167 lt_prog_compiler_static_CXX
='-non_shared'
11176 case $cc_basename in
11178 lt_prog_compiler_pic_CXX
='-fPIC'
11185 case $cc_basename in
11187 # Sun C++ 4.2, 5.x and Centerline C++
11188 lt_prog_compiler_pic_CXX
='-KPIC'
11189 lt_prog_compiler_static_CXX
='-Bstatic'
11190 lt_prog_compiler_wl_CXX
='-Qoption ld '
11193 # Green Hills C++ Compiler
11194 lt_prog_compiler_pic_CXX
='-PIC'
11201 case $cc_basename in
11204 lt_prog_compiler_pic_CXX
='-pic'
11205 lt_prog_compiler_static_CXX
='-Bstatic'
11209 lt_prog_compiler_pic_CXX
='-pic'
11216 case $cc_basename in
11218 # NonStop-UX NCC 3.20
11219 lt_prog_compiler_pic_CXX
='-KPIC'
11230 lt_prog_compiler_can_build_shared_CXX
=no
11235 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11236 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11239 # Check to make sure the PIC flag actually works.
11241 if test -n "$lt_prog_compiler_pic_CXX"; then
11243 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11244 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11245 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11246 echo $ECHO_N "(cached) $ECHO_C" >&6
11248 lt_prog_compiler_pic_works_CXX
=no
11249 ac_outfile
=conftest.
$ac_objext
11250 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11251 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11252 # Insert the option either (1) after the last *FLAGS variable, or
11253 # (2) before a word containing "conftest.", or (3) at the end.
11254 # Note that $ac_compile itself does not contain backslashes and begins
11255 # with a dollar sign (not a hyphen), so the echo should work correctly.
11256 # The option is referenced via a variable to avoid confusing sed.
11257 lt_compile
=`echo "$ac_compile" | $SED \
11258 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11260 -e 's:$: $lt_compiler_flag:'`
11261 (eval echo "\"\$as_me:11261: $lt_compile\"" >&5)
11262 (eval "$lt_compile" 2>conftest.err
)
11264 cat conftest.err
>&5
11265 echo "$as_me:11265: \$? = $ac_status" >&5
11266 if (exit $ac_status) && test -s "$ac_outfile"; then
11267 # The compiler can only warn and ignore the option if not recognized
11268 # So say no if there are warnings other than the usual output.
11269 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
11270 $SED '/^$/d' conftest.err
>conftest.er2
11271 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11272 lt_prog_compiler_pic_works_CXX
=yes
11278 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11279 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11281 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11282 case $lt_prog_compiler_pic_CXX in
11284 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11287 lt_prog_compiler_pic_CXX
=
11288 lt_prog_compiler_can_build_shared_CXX
=no
11293 # For platforms which do not support PIC, -DPIC is meaningless:
11295 lt_prog_compiler_pic_CXX
=
11298 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11302 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11303 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11304 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11305 echo $ECHO_N "(cached) $ECHO_C" >&6
11307 lt_cv_prog_compiler_c_o_CXX
=no
11308 $rm -r conftest
2>/dev
/null
11312 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11314 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11315 # Insert the option either (1) after the last *FLAGS variable, or
11316 # (2) before a word containing "conftest.", or (3) at the end.
11317 # Note that $ac_compile itself does not contain backslashes and begins
11318 # with a dollar sign (not a hyphen), so the echo should work correctly.
11319 lt_compile
=`echo "$ac_compile" | $SED \
11320 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11321 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11322 -e 's:$: $lt_compiler_flag:'`
11323 (eval echo "\"\$as_me:11323: $lt_compile\"" >&5)
11324 (eval "$lt_compile" 2>out
/conftest.err
)
11326 cat out
/conftest.err
>&5
11327 echo "$as_me:11327: \$? = $ac_status" >&5
11328 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11330 # The compiler can only warn and ignore the option if not recognized
11331 # So say no if there are warnings
11332 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
11333 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
11334 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11335 lt_cv_prog_compiler_c_o_CXX
=yes
11340 # SGI C++ compiler will create directory out/ii_files/ for
11341 # template instantiation
11342 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11343 $rm out
/* && rmdir out
11349 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11350 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11353 hard_links
="nottested"
11354 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11355 # do not overwrite the value of need_locks provided by the user
11356 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11357 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11360 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11362 ln conftest.a conftest.b
2>&5 || hard_links
=no
11363 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11364 echo "$as_me:$LINENO: result: $hard_links" >&5
11365 echo "${ECHO_T}$hard_links" >&6
11366 if test "$hard_links" = no
; then
11367 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11368 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11375 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11376 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11378 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11381 # If we're using GNU nm, then we don't want the "-C" option.
11382 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11383 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11384 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'
11386 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'
11390 export_symbols_cmds_CXX
="$ltdll_cmds"
11393 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'
11396 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11400 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11401 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11402 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11404 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11405 if test "$GCC" = yes; then
11406 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11410 # Do we need to explicitly link libc?
11412 case "x$archive_cmds_need_lc_CXX" in
11414 # Assume -lc should be added
11415 archive_cmds_need_lc_CXX
=yes
11417 if test "$enable_shared" = yes && test "$GCC" = yes; then
11418 case $archive_cmds_CXX in
11420 # FIXME: we may have to deal with multi-command sequences.
11423 # Test whether the compiler implicitly links with -lc since on some
11424 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11425 # to ld, don't add -lc before -lgcc.
11426 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11427 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11429 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11432 (eval $ac_compile) 2>&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); } 2>conftest.err
; then
11438 libobjs
=conftest.
$ac_objext
11440 wl
=$lt_prog_compiler_wl_CXX
11446 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11447 allow_undefined_flag_CXX
=
11448 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11449 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); }
11454 archive_cmds_need_lc_CXX
=no
11456 archive_cmds_need_lc_CXX
=yes
11458 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11460 cat conftest.err
1>&5
11463 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11464 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11471 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11472 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11473 library_names_spec
=
11474 libname_spec
='lib$name'
11478 postuninstall_cmds
=
11482 shlibpath_overrides_runpath
=unknown
11484 dynamic_linker
="$host_os ld.so"
11485 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11486 if test "$GCC" = yes; then
11487 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11488 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11489 # if the path contains ";" then we assume it to be the separator
11490 # otherwise default to the standard path separator (i.e. ":") - it is
11491 # assumed that no part of a normal pathname contains ";" but that should
11492 # okay in the real world where ";" in dirpaths is itself problematic.
11493 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11495 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11498 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11500 need_lib_prefix
=unknown
11501 hardcode_into_libs
=no
11503 # when you set need_version to no, make sure it does not cause -set_version
11504 # flags to be left without arguments
11505 need_version
=unknown
11510 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11511 shlibpath_var
=LIBPATH
11513 # AIX 3 has no versioning support, so we append a major version to the name.
11514 soname_spec
='${libname}${release}${shared_ext}$major'
11521 hardcode_into_libs
=yes
11522 if test "$host_cpu" = ia64
; then
11523 # AIX 5 supports IA64
11524 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11525 shlibpath_var
=LD_LIBRARY_PATH
11527 # With GCC up to 2.95.x, collect2 would create an import file
11528 # for dependence libraries. The import file would start with
11529 # the line `#! .'. This would cause the generated library to
11530 # depend on `.', always an invalid library. This was fixed in
11531 # development snapshots of GCC prior to 3.0.
11533 aix4 | aix4.
[01] | aix4.
[01].
*)
11534 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11536 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11539 can_build_shared
=no
11543 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11544 # soname into executable. Probably we can add versioning support to
11545 # collect2, so additional links can be useful in future.
11546 if test "$aix_use_runtimelinking" = yes; then
11547 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11548 # instead of lib<name>.a to let people know that these are not
11549 # typical AIX shared libraries.
11550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11552 # We preserve .a as extension for shared libraries through AIX4.2
11553 # and later when we are not doing run time linking.
11554 library_names_spec
='${libname}${release}.a $libname.a'
11555 soname_spec
='${libname}${release}${shared_ext}$major'
11557 shlibpath_var
=LIBPATH
11562 library_names_spec
='$libname.ixlibrary $libname.a'
11563 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11564 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'
11568 library_names_spec
='${libname}${shared_ext}'
11569 dynamic_linker
="$host_os ld.so"
11570 shlibpath_var
=LIBRARY_PATH
11576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11577 soname_spec
='${libname}${release}${shared_ext}$major'
11578 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11579 shlibpath_var
=LD_LIBRARY_PATH
11580 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11581 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11582 # the default ld.so.conf also contains /usr/contrib/lib and
11583 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11584 # libtool to hard-code these into programs
11587 cygwin
* | mingw
* | pw32
*)
11588 version_type
=windows
11593 case $GCC,$host_os in
11594 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11595 library_names_spec
='$libname.dll.a'
11596 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11597 postinstall_cmds
='base_file=`basename \${file}`~
11598 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11599 dldir=$destdir/`dirname \$dlpath`~
11600 test -d \$dldir || mkdir -p \$dldir~
11601 $install_prog $dir/$dlname \$dldir/$dlname'
11602 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11603 dlpath=$dir/\$dldll~
11605 shlibpath_overrides_runpath
=yes
11609 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11610 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11611 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11614 # MinGW DLLs use traditional 'lib' prefix
11615 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11616 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11617 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11618 # It is most probably a Windows format PATH printed by
11619 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11620 # path with ; separators, and with drive letters. We can handle the
11621 # drive letters (cygwin fileutils understands them), so leave them,
11622 # especially as we might pass files found there to a mingw objdump,
11623 # which wouldn't understand a cygwinified path. Ahh.
11624 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11626 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11630 # pw32 DLLs use 'pw' prefix rather than 'lib'
11631 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11637 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11640 dynamic_linker
='Win32 ld.exe'
11641 # FIXME: first we should search . and the directory the executable is in
11645 darwin
* | rhapsody
*)
11646 dynamic_linker
="$host_os dyld"
11647 version_type
=darwin
11650 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11651 soname_spec
='${libname}${release}${major}$shared_ext'
11652 shlibpath_overrides_runpath
=yes
11653 shlibpath_var
=DYLD_LIBRARY_PATH
11654 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
11655 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11656 if test "$GCC" = yes; then
11657 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"`
11659 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11661 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11669 soname_spec
='${libname}${release}${shared_ext}$major'
11670 shlibpath_var
=LD_LIBRARY_PATH
11681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11682 soname_spec
='${libname}${release}${shared_ext}$major'
11683 shlibpath_var
=LD_LIBRARY_PATH
11684 shlibpath_overrides_runpath
=no
11685 hardcode_into_libs
=yes
11686 dynamic_linker
='GNU ld.so'
11689 freebsd
* | dragonfly
*)
11690 # DragonFly does not have aout. When/if they implement a new
11691 # versioning mechanism, adjust this.
11692 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11693 version_type
=freebsd-
$objformat
11694 case $version_type in
11696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11701 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11705 shlibpath_var
=LD_LIBRARY_PATH
11708 shlibpath_overrides_runpath
=yes
11710 freebsd3.
[01]* | freebsdelf3.
[01]*)
11711 shlibpath_overrides_runpath
=yes
11712 hardcode_into_libs
=yes
11715 shlibpath_overrides_runpath
=no
11716 hardcode_into_libs
=yes
11725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11726 soname_spec
='${libname}${release}${shared_ext}$major'
11727 shlibpath_var
=LD_LIBRARY_PATH
11728 hardcode_into_libs
=yes
11731 hpux9
* | hpux10
* | hpux11
*)
11732 # Give a soname corresponding to the major version so that dld.sl refuses to
11733 # link against other versions.
11737 case "$host_cpu" in
11740 hardcode_into_libs
=yes
11741 dynamic_linker
="$host_os dld.so"
11742 shlibpath_var
=LD_LIBRARY_PATH
11743 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11745 soname_spec
='${libname}${release}${shared_ext}$major'
11746 if test "X$HPUX_IA64_MODE" = X32
; then
11747 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11749 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11751 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11755 hardcode_into_libs
=yes
11756 dynamic_linker
="$host_os dld.sl"
11757 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11758 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11760 soname_spec
='${libname}${release}${shared_ext}$major'
11761 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11762 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11766 dynamic_linker
="$host_os dld.sl"
11767 shlibpath_var
=SHLIB_PATH
11768 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11770 soname_spec
='${libname}${release}${shared_ext}$major'
11773 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11774 postinstall_cmds
='chmod 555 $lib'
11777 irix5
* | irix6
* | nonstopux
*)
11779 nonstopux
*) version_type
=nonstopux
;;
11781 if test "$lt_cv_prog_gnu_ld" = yes; then
11789 soname_spec
='${libname}${release}${shared_ext}$major'
11790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11792 irix5
* | nonstopux
*)
11793 libsuff
= shlibsuff
=
11796 case $LD in # libtool.m4 will add one of these switches to LD
11797 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11798 libsuff
= shlibsuff
= libmagic
=32-bit;;
11799 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11800 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11801 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11802 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11803 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11807 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11808 shlibpath_overrides_runpath
=no
11809 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11810 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11811 hardcode_into_libs
=yes
11814 # No shared lib support for Linux oldld, aout, or coff.
11815 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11819 # This must be Linux ELF.
11824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11825 soname_spec
='${libname}${release}${shared_ext}$major'
11826 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11827 shlibpath_var
=LD_LIBRARY_PATH
11828 shlibpath_overrides_runpath
=no
11829 # This implies no fast_install, which is unacceptable.
11830 # Some rework will be needed to allow for fast_install
11831 # before this can be enabled.
11832 hardcode_into_libs
=yes
11834 # find out which ABI we are using
11836 case "$host_cpu" in
11837 x86_64
*|s390x
*|powerpc64
*)
11838 echo '#line 11838 "configure"' > conftest.
$ac_ext
11839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11840 (eval $ac_compile) 2>&5
11842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11843 (exit $ac_status); }; then
11844 case `/usr/bin/file conftest.$ac_objext` in
11847 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11855 # Append ld.so.conf contents to the search path
11856 if test -f /etc
/ld.so.conf
; then
11857 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' ' '`
11858 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
11861 # We used to test for /lib/ld.so.1 and disable shared libraries on
11862 # powerpc, because MkLinux only supported shared libraries with the
11863 # GNU dynamic linker. Since this was broken with cross compilers,
11864 # most powerpc-linux boxes support dynamic linking these days and
11865 # people can always --disable-shared, the test was removed, and we
11866 # assume the GNU/Linux dynamic linker is in use.
11867 dynamic_linker
='GNU/Linux ld.so'
11874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11875 soname_spec
='${libname}${release}${shared_ext}$major'
11876 shlibpath_var
=LD_LIBRARY_PATH
11877 shlibpath_overrides_runpath
=no
11878 hardcode_into_libs
=yes
11879 dynamic_linker
='GNU ld.so'
11886 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11888 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11889 dynamic_linker
='NetBSD (a.out) ld.so'
11891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11892 soname_spec
='${libname}${release}${shared_ext}$major'
11893 dynamic_linker
='NetBSD ld.elf_so'
11895 shlibpath_var
=LD_LIBRARY_PATH
11896 shlibpath_overrides_runpath
=yes
11897 hardcode_into_libs
=yes
11902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11903 shlibpath_var
=LD_LIBRARY_PATH
11904 shlibpath_overrides_runpath
=yes
11911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11912 soname_spec
='${libname}${release}${shared_ext}$major'
11913 shlibpath_var
=LD_LIBRARY_PATH
11914 shlibpath_overrides_runpath
=yes
11921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11922 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11923 shlibpath_var
=LD_LIBRARY_PATH
11924 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11926 openbsd2.
[89] | openbsd2.
[89].
*)
11927 shlibpath_overrides_runpath
=no
11930 shlibpath_overrides_runpath
=yes
11934 shlibpath_overrides_runpath
=yes
11939 libname_spec
='$name'
11942 library_names_spec
='$libname${shared_ext} $libname.a'
11943 dynamic_linker
='OS/2 ld.exe'
11944 shlibpath_var
=LIBPATH
11947 osf3
* | osf4
* | osf5
*)
11951 soname_spec
='${libname}${release}${shared_ext}$major'
11952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11953 shlibpath_var
=LD_LIBRARY_PATH
11954 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11955 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11960 soname_spec
='${libname}${release}${shared_ext}$major'
11961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11962 shlibpath_var
=LD_LIBRARY_PATH
11969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11970 soname_spec
='${libname}${release}${shared_ext}$major'
11971 shlibpath_var
=LD_LIBRARY_PATH
11972 shlibpath_overrides_runpath
=yes
11973 hardcode_into_libs
=yes
11974 # ldd complains unless libraries are executable
11975 postinstall_cmds
='chmod +x $lib'
11980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11981 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11982 shlibpath_var
=LD_LIBRARY_PATH
11983 shlibpath_overrides_runpath
=yes
11984 if test "$with_gnu_ld" = yes; then
11990 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11993 soname_spec
='${libname}${release}${shared_ext}$major'
11994 shlibpath_var
=LD_LIBRARY_PATH
11995 case $host_vendor in
11997 shlibpath_overrides_runpath
=no
11999 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12000 runpath_var
=LD_RUN_PATH
12008 shlibpath_overrides_runpath
=no
12009 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12015 if test -d /usr
/nec
;then
12017 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12018 soname_spec
='$libname${shared_ext}.$major'
12019 shlibpath_var
=LD_LIBRARY_PATH
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 shlibpath_var
=LD_LIBRARY_PATH
12034 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12035 echo "${ECHO_T}$dynamic_linker" >&6
12036 test "$dynamic_linker" = no
&& can_build_shared
=no
12038 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12039 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12040 hardcode_action_CXX
=
12041 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12042 test -n "$runpath_var_CXX" || \
12043 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12045 # We can hardcode non-existant directories.
12046 if test "$hardcode_direct_CXX" != no
&&
12047 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12048 # have to relink, otherwise we might link with an installed library
12049 # when we should be linking with a yet-to-be-installed one
12050 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12051 test "$hardcode_minus_L_CXX" != no
; then
12052 # Linking always hardcodes the temporary library directory.
12053 hardcode_action_CXX
=relink
12055 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12056 hardcode_action_CXX
=immediate
12059 # We cannot hardcode anything, or else we can only hardcode existing
12061 hardcode_action_CXX
=unsupported
12063 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12064 echo "${ECHO_T}$hardcode_action_CXX" >&6
12066 if test "$hardcode_action_CXX" = relink
; then
12067 # Fast installation is not supported
12068 enable_fast_install
=no
12069 elif test "$shlibpath_overrides_runpath" = yes ||
12070 test "$enable_shared" = no
; then
12071 # Fast installation is not necessary
12072 enable_fast_install
=needless
12077 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12078 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12079 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12080 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12081 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12082 echo "$as_me:$LINENO: result: yes" >&5
12083 echo "${ECHO_T}yes" >&6
12085 # FIXME - insert some real tests, host_os isn't really good enough
12088 if test -n "$STRIP" ; then
12089 striplib
="$STRIP -x"
12090 echo "$as_me:$LINENO: result: yes" >&5
12091 echo "${ECHO_T}yes" >&6
12093 echo "$as_me:$LINENO: result: no" >&5
12094 echo "${ECHO_T}no" >&6
12098 echo "$as_me:$LINENO: result: no" >&5
12099 echo "${ECHO_T}no" >&6
12104 if test "x$enable_dlopen" != xyes
; then
12105 enable_dlopen
=unknown
12106 enable_dlopen_self
=unknown
12107 enable_dlopen_self_static
=unknown
12114 lt_cv_dlopen
="load_add_on"
12116 lt_cv_dlopen_self
=yes
12120 lt_cv_dlopen
="LoadLibrary"
12125 lt_cv_dlopen
="dlopen"
12130 # if libdl is installed we need to link against it
12131 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12132 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12133 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12134 echo $ECHO_N "(cached) $ECHO_C" >&6
12136 ac_check_lib_save_LIBS
=$LIBS
12138 cat >conftest.
$ac_ext <<_ACEOF
12141 cat confdefs.h
>>conftest.
$ac_ext
12142 cat >>conftest.
$ac_ext <<_ACEOF
12143 /* end confdefs.h. */
12145 /* Override any gcc2 internal prototype to avoid an error. */
12149 /* We use char because int might match the return type of a gcc2
12150 builtin and then its argument prototype would still apply. */
12160 rm -f conftest.
$ac_objext conftest
$ac_exeext
12161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12162 (eval $ac_link) 2>conftest.er1
12164 grep -v '^ *+' conftest.er1
>conftest.err
12166 cat conftest.err
>&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); } &&
12169 { ac_try
='test -z "$ac_cxx_werror_flag"
12170 || test ! -s conftest.err'
12171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12172 (eval $ac_try) 2>&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }; } &&
12176 { ac_try
='test -s conftest$ac_exeext'
12177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12178 (eval $ac_try) 2>&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; }; then
12182 ac_cv_lib_dl_dlopen
=yes
12184 echo "$as_me: failed program was:" >&5
12185 sed 's/^/| /' conftest.
$ac_ext >&5
12187 ac_cv_lib_dl_dlopen
=no
12189 rm -f conftest.err conftest.
$ac_objext \
12190 conftest
$ac_exeext conftest.
$ac_ext
12191 LIBS
=$ac_check_lib_save_LIBS
12193 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12194 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12195 if test $ac_cv_lib_dl_dlopen = yes; then
12196 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12199 lt_cv_dlopen
="dyld"
12201 lt_cv_dlopen_self
=yes
12208 echo "$as_me:$LINENO: checking for shl_load" >&5
12209 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12210 if test "${ac_cv_func_shl_load+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12213 cat >conftest.
$ac_ext <<_ACEOF
12216 cat confdefs.h
>>conftest.
$ac_ext
12217 cat >>conftest.
$ac_ext <<_ACEOF
12218 /* end confdefs.h. */
12219 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12221 #define shl_load innocuous_shl_load
12223 /* System header to define __stub macros and hopefully few prototypes,
12224 which can conflict with char shl_load (); below.
12225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12226 <limits.h> exists even on freestanding compilers. */
12229 # include <limits.h>
12231 # include <assert.h>
12236 /* Override any gcc2 internal prototype to avoid an error. */
12241 /* We use char because int might match the return type of a gcc2
12242 builtin and then its argument prototype would still apply. */
12244 /* The GNU C library defines this for functions which it implements
12245 to always fail with ENOSYS. Some functions are actually named
12246 something starting with __ and the normal name is an alias. */
12247 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12250 char (*f) () = shl_load;
12259 return f != shl_load;
12264 rm -f conftest.
$ac_objext conftest
$ac_exeext
12265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12266 (eval $ac_link) 2>conftest.er1
12268 grep -v '^ *+' conftest.er1
>conftest.err
12270 cat conftest.err
>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } &&
12273 { ac_try
='test -z "$ac_cxx_werror_flag"
12274 || test ! -s conftest.err'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; } &&
12280 { ac_try
='test -s conftest$ac_exeext'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; }; then
12286 ac_cv_func_shl_load
=yes
12288 echo "$as_me: failed program was:" >&5
12289 sed 's/^/| /' conftest.
$ac_ext >&5
12291 ac_cv_func_shl_load
=no
12293 rm -f conftest.err conftest.
$ac_objext \
12294 conftest
$ac_exeext conftest.
$ac_ext
12296 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12297 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12298 if test $ac_cv_func_shl_load = yes; then
12299 lt_cv_dlopen
="shl_load"
12301 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12302 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12303 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12306 ac_check_lib_save_LIBS
=$LIBS
12308 cat >conftest.
$ac_ext <<_ACEOF
12311 cat confdefs.h
>>conftest.
$ac_ext
12312 cat >>conftest.
$ac_ext <<_ACEOF
12313 /* end confdefs.h. */
12315 /* Override any gcc2 internal prototype to avoid an error. */
12319 /* We use char because int might match the return type of a gcc2
12320 builtin and then its argument prototype would still apply. */
12330 rm -f conftest.
$ac_objext conftest
$ac_exeext
12331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12332 (eval $ac_link) 2>conftest.er1
12334 grep -v '^ *+' conftest.er1
>conftest.err
12336 cat conftest.err
>&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); } &&
12339 { ac_try
='test -z "$ac_cxx_werror_flag"
12340 || test ! -s conftest.err'
12341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12342 (eval $ac_try) 2>&5
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); }; } &&
12346 { ac_try
='test -s conftest$ac_exeext'
12347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12348 (eval $ac_try) 2>&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); }; }; then
12352 ac_cv_lib_dld_shl_load
=yes
12354 echo "$as_me: failed program was:" >&5
12355 sed 's/^/| /' conftest.
$ac_ext >&5
12357 ac_cv_lib_dld_shl_load
=no
12359 rm -f conftest.err conftest.
$ac_objext \
12360 conftest
$ac_exeext conftest.
$ac_ext
12361 LIBS
=$ac_check_lib_save_LIBS
12363 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12364 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12365 if test $ac_cv_lib_dld_shl_load = yes; then
12366 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12368 echo "$as_me:$LINENO: checking for dlopen" >&5
12369 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12370 if test "${ac_cv_func_dlopen+set}" = set; then
12371 echo $ECHO_N "(cached) $ECHO_C" >&6
12373 cat >conftest.
$ac_ext <<_ACEOF
12376 cat confdefs.h
>>conftest.
$ac_ext
12377 cat >>conftest.
$ac_ext <<_ACEOF
12378 /* end confdefs.h. */
12379 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12381 #define dlopen innocuous_dlopen
12383 /* System header to define __stub macros and hopefully few prototypes,
12384 which can conflict with char dlopen (); below.
12385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12386 <limits.h> exists even on freestanding compilers. */
12389 # include <limits.h>
12391 # include <assert.h>
12396 /* Override any gcc2 internal prototype to avoid an error. */
12401 /* We use char because int might match the return type of a gcc2
12402 builtin and then its argument prototype would still apply. */
12404 /* The GNU C library defines this for functions which it implements
12405 to always fail with ENOSYS. Some functions are actually named
12406 something starting with __ and the normal name is an alias. */
12407 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12410 char (*f) () = dlopen;
12419 return f != dlopen;
12424 rm -f conftest.
$ac_objext conftest
$ac_exeext
12425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12426 (eval $ac_link) 2>conftest.er1
12428 grep -v '^ *+' conftest.er1
>conftest.err
12430 cat conftest.err
>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); } &&
12433 { ac_try
='test -z "$ac_cxx_werror_flag"
12434 || test ! -s conftest.err'
12435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436 (eval $ac_try) 2>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; } &&
12440 { ac_try
='test -s conftest$ac_exeext'
12441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442 (eval $ac_try) 2>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); }; }; then
12446 ac_cv_func_dlopen
=yes
12448 echo "$as_me: failed program was:" >&5
12449 sed 's/^/| /' conftest.
$ac_ext >&5
12451 ac_cv_func_dlopen
=no
12453 rm -f conftest.err conftest.
$ac_objext \
12454 conftest
$ac_exeext conftest.
$ac_ext
12456 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12457 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12458 if test $ac_cv_func_dlopen = yes; then
12459 lt_cv_dlopen
="dlopen"
12461 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12462 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12463 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12464 echo $ECHO_N "(cached) $ECHO_C" >&6
12466 ac_check_lib_save_LIBS
=$LIBS
12468 cat >conftest.
$ac_ext <<_ACEOF
12471 cat confdefs.h
>>conftest.
$ac_ext
12472 cat >>conftest.
$ac_ext <<_ACEOF
12473 /* end confdefs.h. */
12475 /* Override any gcc2 internal prototype to avoid an error. */
12479 /* We use char because int might match the return type of a gcc2
12480 builtin and then its argument prototype would still apply. */
12490 rm -f conftest.
$ac_objext conftest
$ac_exeext
12491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12492 (eval $ac_link) 2>conftest.er1
12494 grep -v '^ *+' conftest.er1
>conftest.err
12496 cat conftest.err
>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); } &&
12499 { ac_try
='test -z "$ac_cxx_werror_flag"
12500 || test ! -s conftest.err'
12501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12502 (eval $ac_try) 2>&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); }; } &&
12506 { ac_try
='test -s conftest$ac_exeext'
12507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12508 (eval $ac_try) 2>&5
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); }; }; then
12512 ac_cv_lib_dl_dlopen
=yes
12514 echo "$as_me: failed program was:" >&5
12515 sed 's/^/| /' conftest.
$ac_ext >&5
12517 ac_cv_lib_dl_dlopen
=no
12519 rm -f conftest.err conftest.
$ac_objext \
12520 conftest
$ac_exeext conftest.
$ac_ext
12521 LIBS
=$ac_check_lib_save_LIBS
12523 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12524 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12525 if test $ac_cv_lib_dl_dlopen = yes; then
12526 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12528 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12529 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12530 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12533 ac_check_lib_save_LIBS
=$LIBS
12534 LIBS
="-lsvld $LIBS"
12535 cat >conftest.
$ac_ext <<_ACEOF
12538 cat confdefs.h
>>conftest.
$ac_ext
12539 cat >>conftest.
$ac_ext <<_ACEOF
12540 /* end confdefs.h. */
12542 /* Override any gcc2 internal prototype to avoid an error. */
12546 /* We use char because int might match the return type of a gcc2
12547 builtin and then its argument prototype would still apply. */
12557 rm -f conftest.
$ac_objext conftest
$ac_exeext
12558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12559 (eval $ac_link) 2>conftest.er1
12561 grep -v '^ *+' conftest.er1
>conftest.err
12563 cat conftest.err
>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } &&
12566 { ac_try
='test -z "$ac_cxx_werror_flag"
12567 || test ! -s conftest.err'
12568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569 (eval $ac_try) 2>&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); }; } &&
12573 { ac_try
='test -s conftest$ac_exeext'
12574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12575 (eval $ac_try) 2>&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); }; }; then
12579 ac_cv_lib_svld_dlopen
=yes
12581 echo "$as_me: failed program was:" >&5
12582 sed 's/^/| /' conftest.
$ac_ext >&5
12584 ac_cv_lib_svld_dlopen
=no
12586 rm -f conftest.err conftest.
$ac_objext \
12587 conftest
$ac_exeext conftest.
$ac_ext
12588 LIBS
=$ac_check_lib_save_LIBS
12590 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12591 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12592 if test $ac_cv_lib_svld_dlopen = yes; then
12593 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12595 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12596 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12597 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12598 echo $ECHO_N "(cached) $ECHO_C" >&6
12600 ac_check_lib_save_LIBS
=$LIBS
12602 cat >conftest.
$ac_ext <<_ACEOF
12605 cat confdefs.h
>>conftest.
$ac_ext
12606 cat >>conftest.
$ac_ext <<_ACEOF
12607 /* end confdefs.h. */
12609 /* Override any gcc2 internal prototype to avoid an error. */
12613 /* We use char because int might match the return type of a gcc2
12614 builtin and then its argument prototype would still apply. */
12624 rm -f conftest.
$ac_objext conftest
$ac_exeext
12625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12626 (eval $ac_link) 2>conftest.er1
12628 grep -v '^ *+' conftest.er1
>conftest.err
12630 cat conftest.err
>&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); } &&
12633 { ac_try
='test -z "$ac_cxx_werror_flag"
12634 || test ! -s conftest.err'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; } &&
12640 { ac_try
='test -s conftest$ac_exeext'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; }; then
12646 ac_cv_lib_dld_dld_link
=yes
12648 echo "$as_me: failed program was:" >&5
12649 sed 's/^/| /' conftest.
$ac_ext >&5
12651 ac_cv_lib_dld_dld_link
=no
12653 rm -f conftest.err conftest.
$ac_objext \
12654 conftest
$ac_exeext conftest.
$ac_ext
12655 LIBS
=$ac_check_lib_save_LIBS
12657 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12658 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12659 if test $ac_cv_lib_dld_dld_link = yes; then
12660 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12681 if test "x$lt_cv_dlopen" != xno
; then
12687 case $lt_cv_dlopen in
12689 save_CPPFLAGS
="$CPPFLAGS"
12690 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12692 save_LDFLAGS
="$LDFLAGS"
12693 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12696 LIBS
="$lt_cv_dlopen_libs $LIBS"
12698 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12699 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12700 if test "${lt_cv_dlopen_self+set}" = set; then
12701 echo $ECHO_N "(cached) $ECHO_C" >&6
12703 if test "$cross_compiling" = yes; then :
12704 lt_cv_dlopen_self
=cross
12706 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12707 lt_status
=$lt_dlunknown
12708 cat > conftest.
$ac_ext <<EOF
12709 #line 12709 "configure"
12710 #include "confdefs.h"
12719 # define LT_DLGLOBAL RTLD_GLOBAL
12722 # define LT_DLGLOBAL DL_GLOBAL
12724 # define LT_DLGLOBAL 0
12728 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12729 find out it does not work in some platform. */
12730 #ifndef LT_DLLAZY_OR_NOW
12732 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12735 # define LT_DLLAZY_OR_NOW DL_LAZY
12738 # define LT_DLLAZY_OR_NOW RTLD_NOW
12741 # define LT_DLLAZY_OR_NOW DL_NOW
12743 # define LT_DLLAZY_OR_NOW 0
12751 extern "C" void exit (int);
12754 void fnord() { int i=42;}
12757 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12758 int status = $lt_dlunknown;
12762 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12763 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12764 /* dlclose (self); */
12770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12771 (eval $ac_link) 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12775 (.
/conftest
; exit; ) 2>/dev
/null
12777 case x
$lt_status in
12778 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12779 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12780 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12783 # compilation failed
12784 lt_cv_dlopen_self
=no
12791 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12792 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12794 if test "x$lt_cv_dlopen_self" = xyes
; then
12795 LDFLAGS
="$LDFLAGS $link_static_flag"
12796 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12797 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12798 if test "${lt_cv_dlopen_self_static+set}" = set; then
12799 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 if test "$cross_compiling" = yes; then :
12802 lt_cv_dlopen_self_static
=cross
12804 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12805 lt_status
=$lt_dlunknown
12806 cat > conftest.
$ac_ext <<EOF
12807 #line 12807 "configure"
12808 #include "confdefs.h"
12817 # define LT_DLGLOBAL RTLD_GLOBAL
12820 # define LT_DLGLOBAL DL_GLOBAL
12822 # define LT_DLGLOBAL 0
12826 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12827 find out it does not work in some platform. */
12828 #ifndef LT_DLLAZY_OR_NOW
12830 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12833 # define LT_DLLAZY_OR_NOW DL_LAZY
12836 # define LT_DLLAZY_OR_NOW RTLD_NOW
12839 # define LT_DLLAZY_OR_NOW DL_NOW
12841 # define LT_DLLAZY_OR_NOW 0
12849 extern "C" void exit (int);
12852 void fnord() { int i=42;}
12855 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12856 int status = $lt_dlunknown;
12860 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12861 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12862 /* dlclose (self); */
12868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12869 (eval $ac_link) 2>&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12873 (.
/conftest
; exit; ) 2>/dev
/null
12875 case x
$lt_status in
12876 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12877 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12878 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
12881 # compilation failed
12882 lt_cv_dlopen_self_static
=no
12889 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12890 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12893 CPPFLAGS
="$save_CPPFLAGS"
12894 LDFLAGS
="$save_LDFLAGS"
12899 case $lt_cv_dlopen_self in
12900 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12901 *) enable_dlopen_self
=unknown
;;
12904 case $lt_cv_dlopen_self_static in
12905 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12906 *) enable_dlopen_self_static
=unknown
;;
12911 # The else clause should only fire when bootstrapping the
12912 # libtool distribution, otherwise you forgot to ship ltmain.sh
12913 # with your package, and you will get complaints that there are
12914 # no rules to generate ltmain.sh.
12915 if test -f "$ltmain"; then
12916 # See if we are running on zsh, and set the options which allow our commands through
12917 # without removal of \ escapes.
12918 if test -n "${ZSH_VERSION+set}" ; then
12919 setopt NO_GLOB_SUBST
12921 # Now quote all the things that may contain metacharacters while being
12922 # careful not to overquote the AC_SUBSTed values. We take copies of the
12923 # variables and quote the copies for generation of the libtool script.
12924 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
12926 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12927 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12928 deplibs_check_method reload_flag reload_cmds need_locks \
12929 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12930 lt_cv_sys_global_symbol_to_c_name_address \
12931 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12932 old_postinstall_cmds old_postuninstall_cmds \
12936 lt_prog_compiler_wl_CXX \
12937 lt_prog_compiler_pic_CXX \
12938 lt_prog_compiler_static_CXX \
12939 lt_prog_compiler_no_builtin_flag_CXX \
12940 export_dynamic_flag_spec_CXX \
12941 thread_safe_flag_spec_CXX \
12942 whole_archive_flag_spec_CXX \
12943 enable_shared_with_static_runtimes_CXX \
12944 old_archive_cmds_CXX \
12945 old_archive_from_new_cmds_CXX \
12946 predep_objects_CXX \
12947 postdep_objects_CXX \
12950 compiler_lib_search_path_CXX \
12952 archive_expsym_cmds_CXX \
12953 postinstall_cmds_CXX \
12954 postuninstall_cmds_CXX \
12955 old_archive_from_expsyms_cmds_CXX \
12956 allow_undefined_flag_CXX \
12957 no_undefined_flag_CXX \
12958 export_symbols_cmds_CXX \
12959 hardcode_libdir_flag_spec_CXX \
12960 hardcode_libdir_flag_spec_ld_CXX \
12961 hardcode_libdir_separator_CXX \
12962 hardcode_automatic_CXX \
12964 module_expsym_cmds_CXX \
12965 lt_cv_prog_compiler_c_o_CXX \
12966 exclude_expsyms_CXX \
12967 include_expsyms_CXX
; do
12970 old_archive_cmds_CXX | \
12971 old_archive_from_new_cmds_CXX | \
12972 archive_cmds_CXX | \
12973 archive_expsym_cmds_CXX | \
12974 module_cmds_CXX | \
12975 module_expsym_cmds_CXX | \
12976 old_archive_from_expsyms_cmds_CXX | \
12977 export_symbols_cmds_CXX | \
12978 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12979 postinstall_cmds | postuninstall_cmds | \
12980 old_postinstall_cmds | old_postuninstall_cmds | \
12981 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12982 # Double-quote double-evaled strings.
12983 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12986 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12992 *'\$0 --fallback-echo"')
12993 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12999 cat <<__EOF__ >> "$cfgfile"
13000 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13002 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13004 # Shell to use when invoking shell scripts.
13007 # Whether or not to build shared libraries.
13008 build_libtool_libs=$enable_shared
13010 # Whether or not to build static libraries.
13011 build_old_libs=$enable_static
13013 # Whether or not to add -lc for building shared libraries.
13014 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13016 # Whether or not to disallow shared libs when runtime libs are static
13017 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13019 # Whether or not to optimize for fast installation.
13020 fast_install=$enable_fast_install
13023 host_alias=$host_alias
13027 # The build system.
13028 build_alias=$build_alias
13032 # An echo program that does not interpret backslashes.
13037 AR_FLAGS=$lt_AR_FLAGS
13042 # A language-specific compiler.
13043 CC=$lt_compiler_CXX
13045 # Is the compiler the GNU C compiler?
13051 # The linker used to build libraries.
13054 # Whether we need hard or soft links.
13057 # A BSD-compatible nm program.
13060 # A symbol stripping program
13063 # Used to examine libraries when file_magic_cmd begins "file"
13064 MAGIC_CMD=$MAGIC_CMD
13066 # Used on cygwin: DLL creation program.
13069 # Used on cygwin: object dumper.
13072 # Used on cygwin: assembler.
13075 # The name of the directory that contains temporary libtool files.
13078 # How to create reloadable object files.
13079 reload_flag=$lt_reload_flag
13080 reload_cmds=$lt_reload_cmds
13082 # How to pass a linker flag through the compiler.
13083 wl=$lt_lt_prog_compiler_wl_CXX
13085 # Object file suffix (normally "o").
13086 objext="$ac_objext"
13088 # Old archive suffix (normally "a").
13091 # Shared library suffix (normally ".so").
13092 shrext_cmds='$shrext_cmds'
13094 # Executable file suffix (normally "").
13097 # Additional compiler flags for building library objects.
13098 pic_flag=$lt_lt_prog_compiler_pic_CXX
13101 # What is the maximum length of a command?
13102 max_cmd_len=$lt_cv_sys_max_cmd_len
13104 # Does compiler simultaneously support -c and -o options?
13105 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13107 # Must we lock files when doing compilation?
13108 need_locks=$lt_need_locks
13110 # Do we need the lib prefix for modules?
13111 need_lib_prefix=$need_lib_prefix
13113 # Do we need a version for libraries?
13114 need_version=$need_version
13116 # Whether dlopen is supported.
13117 dlopen_support=$enable_dlopen
13119 # Whether dlopen of programs is supported.
13120 dlopen_self=$enable_dlopen_self
13122 # Whether dlopen of statically linked programs is supported.
13123 dlopen_self_static=$enable_dlopen_self_static
13125 # Compiler flag to prevent dynamic linking.
13126 link_static_flag=$lt_lt_prog_compiler_static_CXX
13128 # Compiler flag to turn off builtin functions.
13129 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13131 # Compiler flag to allow reflexive dlopens.
13132 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13134 # Compiler flag to generate shared objects directly from archives.
13135 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13137 # Compiler flag to generate thread-safe objects.
13138 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13140 # Library versioning type.
13141 version_type=$version_type
13143 # Format of library name prefix.
13144 libname_spec=$lt_libname_spec
13146 # List of archive names. First name is the real one, the rest are links.
13147 # The last name is the one that the linker finds with -lNAME.
13148 library_names_spec=$lt_library_names_spec
13150 # The coded name of the library, if different from the real name.
13151 soname_spec=$lt_soname_spec
13153 # Commands used to build and install an old-style archive.
13155 old_archive_cmds=$lt_old_archive_cmds_CXX
13156 old_postinstall_cmds=$lt_old_postinstall_cmds
13157 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13159 # Create an old-style archive from a shared archive.
13160 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13162 # Create a temporary old-style archive to link instead of a shared archive.
13163 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13165 # Commands used to build and install a shared archive.
13166 archive_cmds=$lt_archive_cmds_CXX
13167 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13168 postinstall_cmds=$lt_postinstall_cmds
13169 postuninstall_cmds=$lt_postuninstall_cmds
13171 # Commands used to build a loadable module (assumed same as above if empty)
13172 module_cmds=$lt_module_cmds_CXX
13173 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13175 # Commands to strip libraries.
13176 old_striplib=$lt_old_striplib
13177 striplib=$lt_striplib
13179 # Dependencies to place before the objects being linked to create a
13181 predep_objects=$lt_predep_objects_CXX
13183 # Dependencies to place after the objects being linked to create a
13185 postdep_objects=$lt_postdep_objects_CXX
13187 # Dependencies to place before the objects being linked to create a
13189 predeps=$lt_predeps_CXX
13191 # Dependencies to place after the objects being linked to create a
13193 postdeps=$lt_postdeps_CXX
13195 # The library search path used internally by the compiler when linking
13196 # a shared library.
13197 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13199 # Method to check whether dependent libraries are shared objects.
13200 deplibs_check_method=$lt_deplibs_check_method
13202 # Command to use when deplibs_check_method == file_magic.
13203 file_magic_cmd=$lt_file_magic_cmd
13205 # Flag that allows shared libraries with undefined symbols to be built.
13206 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13208 # Flag that forces no undefined symbols.
13209 no_undefined_flag=$lt_no_undefined_flag_CXX
13211 # Commands used to finish a libtool library installation in a directory.
13212 finish_cmds=$lt_finish_cmds
13214 # Same as above, but a single script fragment to be evaled but not shown.
13215 finish_eval=$lt_finish_eval
13217 # Take the output of nm and produce a listing of raw symbols and C names.
13218 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13220 # Transform the output of nm in a proper C declaration
13221 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13223 # Transform the output of nm in a C name address pair
13224 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13226 # This is the shared library runtime path variable.
13227 runpath_var=$runpath_var
13229 # This is the shared library path variable.
13230 shlibpath_var=$shlibpath_var
13232 # Is shlibpath searched before the hard-coded library search path?
13233 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13235 # How to hardcode a shared library path into an executable.
13236 hardcode_action=$hardcode_action_CXX
13238 # Whether we should hardcode library paths into libraries.
13239 hardcode_into_libs=$hardcode_into_libs
13241 # Flag to hardcode \$libdir into a binary during linking.
13242 # This must work even if \$libdir does not exist.
13243 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13245 # If ld is used when linking, flag to hardcode \$libdir into
13246 # a binary during linking. This must work even if \$libdir does
13248 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13250 # Whether we need a single -rpath flag with a separated argument.
13251 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13253 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13254 # resulting binary.
13255 hardcode_direct=$hardcode_direct_CXX
13257 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13258 # resulting binary.
13259 hardcode_minus_L=$hardcode_minus_L_CXX
13261 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13262 # the resulting binary.
13263 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13265 # Set to yes if building a shared library automatically hardcodes DIR into the library
13266 # and all subsequent libraries and executables linked against it.
13267 hardcode_automatic=$hardcode_automatic_CXX
13269 # Variables whose values should be saved in libtool wrapper scripts and
13270 # restored at relink time.
13271 variables_saved_for_relink="$variables_saved_for_relink"
13273 # Whether libtool must link a program against all its dependency libraries.
13274 link_all_deplibs=$link_all_deplibs_CXX
13276 # Compile-time system search path for libraries
13277 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13279 # Run-time system search path for libraries
13280 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13282 # Fix the shell variable \$srcfile for the compiler.
13283 fix_srcfile_path="$fix_srcfile_path_CXX"
13285 # Set to yes if exported symbols are required.
13286 always_export_symbols=$always_export_symbols_CXX
13288 # The commands to list exported symbols.
13289 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13291 # The commands to extract the exported symbol list from a shared archive.
13292 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13294 # Symbols that should not be listed in the preloaded symbols.
13295 exclude_expsyms=$lt_exclude_expsyms_CXX
13297 # Symbols that must always be exported.
13298 include_expsyms=$lt_include_expsyms_CXX
13300 # ### END LIBTOOL TAG CONFIG: $tagname
13306 # If there is no Makefile yet, we rely on a make rule to execute
13307 # `config.status --recheck' to rerun these tests and create the
13308 # libtool script then.
13309 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13310 if test -f "$ltmain_in"; then
13311 test -f Makefile
&& make "$ltmain"
13317 ac_cpp
='$CPP $CPPFLAGS'
13318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13326 with_gnu_ldcxx
=$with_gnu_ld
13327 with_gnu_ld
=$lt_save_with_gnu_ld
13328 lt_cv_path_LDCXX
=$lt_cv_path_LD
13329 lt_cv_path_LD
=$lt_save_path_LD
13330 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13331 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13339 if test -n "$F77" && test "X$F77" != "Xno"; then
13342 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13343 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13344 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13347 archive_cmds_need_lc_F77
=no
13348 allow_undefined_flag_F77
=
13349 always_export_symbols_F77
=no
13350 archive_expsym_cmds_F77
=
13351 export_dynamic_flag_spec_F77
=
13352 hardcode_direct_F77
=no
13353 hardcode_libdir_flag_spec_F77
=
13354 hardcode_libdir_flag_spec_ld_F77
=
13355 hardcode_libdir_separator_F77
=
13356 hardcode_minus_L_F77
=no
13357 hardcode_automatic_F77
=no
13359 module_expsym_cmds_F77
=
13360 link_all_deplibs_F77
=unknown
13361 old_archive_cmds_F77
=$old_archive_cmds
13362 no_undefined_flag_F77
=
13363 whole_archive_flag_spec_F77
=
13364 enable_shared_with_static_runtimes_F77
=no
13366 # Source file extension for f77 test sources.
13369 # Object file extension for compiled f77 test sources.
13373 # Code to be used in simple compile tests
13374 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13376 # Code to be used in simple link tests
13377 lt_simple_link_test_code
=" program t\n end\n"
13379 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13381 # If no C compiler was specified, use CC.
13384 # Allow CC to be a program name with arguments.
13388 # save warnings/boilerplate of simple test code
13389 ac_outfile
=conftest.
$ac_objext
13390 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13391 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
13392 _lt_compiler_boilerplate
=`cat conftest.err`
13395 ac_outfile
=conftest.
$ac_objext
13396 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13397 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
13398 _lt_linker_boilerplate
=`cat conftest.err`
13402 # Allow CC to be a program name with arguments.
13407 for cc_temp
in $compiler""; do
13409 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13410 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13415 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13418 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13419 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13420 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13421 echo "${ECHO_T}$can_build_shared" >&6
13423 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13424 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13425 test "$can_build_shared" = "no" && enable_shared
=no
13427 # On AIX, shared libraries and static libraries use the same namespace, and
13428 # are all built from PIC.
13431 test "$enable_shared" = yes && enable_static
=no
13432 if test -n "$RANLIB"; then
13433 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13434 postinstall_cmds
='$RANLIB $lib'
13438 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13439 test "$enable_shared" = yes && enable_static
=no
13443 echo "$as_me:$LINENO: result: $enable_shared" >&5
13444 echo "${ECHO_T}$enable_shared" >&6
13446 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13447 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13448 # Make sure either enable_shared or enable_static is yes.
13449 test "$enable_shared" = yes || enable_static
=yes
13450 echo "$as_me:$LINENO: result: $enable_static" >&5
13451 echo "${ECHO_T}$enable_static" >&6
13453 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13458 lt_prog_compiler_wl_F77
=
13459 lt_prog_compiler_pic_F77
=
13460 lt_prog_compiler_static_F77
=
13462 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13463 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13465 if test "$GCC" = yes; then
13466 lt_prog_compiler_wl_F77
='-Wl,'
13467 lt_prog_compiler_static_F77
='-static'
13471 # All AIX code is PIC.
13472 if test "$host_cpu" = ia64
; then
13473 # AIX 5 now supports IA64 processor
13474 lt_prog_compiler_static_F77
='-Bstatic'
13479 # FIXME: we need at least 68020 code to build shared libraries, but
13480 # adding the `-m68020' flag to GCC prevents building anything better,
13482 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13485 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13486 # PIC is the default for these OSes.
13489 mingw
* | pw32
* | os2
*)
13490 # This hack is so that the source file can tell whether it is being
13491 # built for inclusion in a dll (and should export symbols for example).
13492 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13495 darwin
* | rhapsody
*)
13496 # PIC is the default on this platform
13497 # Common symbols not allowed in MH_DYLIB files
13498 lt_prog_compiler_pic_F77
='-fno-common'
13502 # Just because we use GCC doesn't mean we suddenly get shared libraries
13503 # on systems that don't support them.
13504 lt_prog_compiler_can_build_shared_F77
=no
13509 if test -d /usr
/nec
; then
13510 lt_prog_compiler_pic_F77
=-Kconform_pic
13515 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13516 # not for PA HP-UX.
13517 case "$host_cpu" in
13522 lt_prog_compiler_pic_F77
='-fPIC'
13528 lt_prog_compiler_pic_F77
='-fPIC'
13532 # PORTME Check for flag to pass linker flags through the system compiler.
13535 lt_prog_compiler_wl_F77
='-Wl,'
13536 if test "$host_cpu" = ia64
; then
13537 # AIX 5 now supports IA64 processor
13538 lt_prog_compiler_static_F77
='-Bstatic'
13540 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13544 # PIC is the default on this platform
13545 # Common symbols not allowed in MH_DYLIB files
13546 case $cc_basename in
13548 lt_prog_compiler_pic_F77
='-qnocommon'
13549 lt_prog_compiler_wl_F77
='-Wl,'
13554 mingw
* | pw32
* | os2
*)
13555 # This hack is so that the source file can tell whether it is being
13556 # built for inclusion in a dll (and should export symbols for example).
13557 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13560 hpux9
* | hpux10
* | hpux11
*)
13561 lt_prog_compiler_wl_F77
='-Wl,'
13562 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13563 # not for PA HP-UX.
13564 case "$host_cpu" in
13569 lt_prog_compiler_pic_F77
='+Z'
13572 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13573 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13576 irix5
* | irix6
* | nonstopux
*)
13577 lt_prog_compiler_wl_F77
='-Wl,'
13578 # PIC (with -KPIC) is the default.
13579 lt_prog_compiler_static_F77
='-non_shared'
13583 lt_prog_compiler_pic_F77
='-KPIC'
13584 lt_prog_compiler_static_F77
='-Bstatic'
13588 case $cc_basename in
13590 lt_prog_compiler_wl_F77
='-Wl,'
13591 lt_prog_compiler_pic_F77
='-KPIC'
13592 lt_prog_compiler_static_F77
='-static'
13594 pgcc
* | pgf77
* | pgf90
*)
13595 # Portland Group compilers (*not* the Pentium gcc compiler,
13596 # which looks to be a dead project)
13597 lt_prog_compiler_wl_F77
='-Wl,'
13598 lt_prog_compiler_pic_F77
='-fpic'
13599 lt_prog_compiler_static_F77
='-static'
13602 lt_prog_compiler_wl_F77
='-Wl,'
13603 # All Alpha code is PIC.
13604 lt_prog_compiler_static_F77
='-non_shared'
13609 osf3
* | osf4
* | osf5
*)
13610 lt_prog_compiler_wl_F77
='-Wl,'
13611 # All OSF/1 code is PIC.
13612 lt_prog_compiler_static_F77
='-non_shared'
13616 lt_prog_compiler_pic_F77
='-Kpic'
13617 lt_prog_compiler_static_F77
='-dn'
13621 lt_prog_compiler_pic_F77
='-KPIC'
13622 lt_prog_compiler_static_F77
='-Bstatic'
13623 case $cc_basename in
13624 f77
* | f90
* | f95
*)
13625 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13627 lt_prog_compiler_wl_F77
='-Wl,';;
13632 lt_prog_compiler_wl_F77
='-Qoption ld '
13633 lt_prog_compiler_pic_F77
='-PIC'
13634 lt_prog_compiler_static_F77
='-Bstatic'
13637 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13638 lt_prog_compiler_wl_F77
='-Wl,'
13639 lt_prog_compiler_pic_F77
='-KPIC'
13640 lt_prog_compiler_static_F77
='-Bstatic'
13644 if test -d /usr
/nec
;then
13645 lt_prog_compiler_pic_F77
='-Kconform_pic'
13646 lt_prog_compiler_static_F77
='-Bstatic'
13651 lt_prog_compiler_wl_F77
='-Wl,'
13652 lt_prog_compiler_can_build_shared_F77
=no
13656 lt_prog_compiler_pic_F77
='-pic'
13657 lt_prog_compiler_static_F77
='-Bstatic'
13661 lt_prog_compiler_can_build_shared_F77
=no
13666 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13667 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13670 # Check to make sure the PIC flag actually works.
13672 if test -n "$lt_prog_compiler_pic_F77"; then
13674 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13675 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13676 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13677 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 lt_prog_compiler_pic_works_F77
=no
13680 ac_outfile
=conftest.
$ac_objext
13681 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13682 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13683 # Insert the option either (1) after the last *FLAGS variable, or
13684 # (2) before a word containing "conftest.", or (3) at the end.
13685 # Note that $ac_compile itself does not contain backslashes and begins
13686 # with a dollar sign (not a hyphen), so the echo should work correctly.
13687 # The option is referenced via a variable to avoid confusing sed.
13688 lt_compile
=`echo "$ac_compile" | $SED \
13689 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13690 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13691 -e 's:$: $lt_compiler_flag:'`
13692 (eval echo "\"\$as_me:13692: $lt_compile\"" >&5)
13693 (eval "$lt_compile" 2>conftest.err
)
13695 cat conftest.err
>&5
13696 echo "$as_me:13696: \$? = $ac_status" >&5
13697 if (exit $ac_status) && test -s "$ac_outfile"; then
13698 # The compiler can only warn and ignore the option if not recognized
13699 # So say no if there are warnings other than the usual output.
13700 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
13701 $SED '/^$/d' conftest.err
>conftest.er2
13702 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13703 lt_prog_compiler_pic_works_F77
=yes
13709 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13710 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13712 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13713 case $lt_prog_compiler_pic_F77 in
13715 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13718 lt_prog_compiler_pic_F77
=
13719 lt_prog_compiler_can_build_shared_F77
=no
13724 # For platforms which do not support PIC, -DPIC is meaningless:
13726 lt_prog_compiler_pic_F77
=
13729 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13733 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13734 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13735 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13736 echo $ECHO_N "(cached) $ECHO_C" >&6
13738 lt_cv_prog_compiler_c_o_F77
=no
13739 $rm -r conftest
2>/dev
/null
13743 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13745 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13746 # Insert the option either (1) after the last *FLAGS variable, or
13747 # (2) before a word containing "conftest.", or (3) at the end.
13748 # Note that $ac_compile itself does not contain backslashes and begins
13749 # with a dollar sign (not a hyphen), so the echo should work correctly.
13750 lt_compile
=`echo "$ac_compile" | $SED \
13751 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13752 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13753 -e 's:$: $lt_compiler_flag:'`
13754 (eval echo "\"\$as_me:13754: $lt_compile\"" >&5)
13755 (eval "$lt_compile" 2>out
/conftest.err
)
13757 cat out
/conftest.err
>&5
13758 echo "$as_me:13758: \$? = $ac_status" >&5
13759 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13761 # The compiler can only warn and ignore the option if not recognized
13762 # So say no if there are warnings
13763 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
13764 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
13765 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13766 lt_cv_prog_compiler_c_o_F77
=yes
13771 # SGI C++ compiler will create directory out/ii_files/ for
13772 # template instantiation
13773 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13774 $rm out
/* && rmdir out
13780 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13781 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13784 hard_links
="nottested"
13785 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13786 # do not overwrite the value of need_locks provided by the user
13787 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13788 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13791 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13793 ln conftest.a conftest.b
2>&5 || hard_links
=no
13794 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13795 echo "$as_me:$LINENO: result: $hard_links" >&5
13796 echo "${ECHO_T}$hard_links" >&6
13797 if test "$hard_links" = no
; then
13798 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13799 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13806 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13807 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13810 allow_undefined_flag_F77
=
13811 enable_shared_with_static_runtimes_F77
=no
13813 archive_expsym_cmds_F77
=
13814 old_archive_From_new_cmds_F77
=
13815 old_archive_from_expsyms_cmds_F77
=
13816 export_dynamic_flag_spec_F77
=
13817 whole_archive_flag_spec_F77
=
13818 thread_safe_flag_spec_F77
=
13819 hardcode_libdir_flag_spec_F77
=
13820 hardcode_libdir_flag_spec_ld_F77
=
13821 hardcode_libdir_separator_F77
=
13822 hardcode_direct_F77
=no
13823 hardcode_minus_L_F77
=no
13824 hardcode_shlibpath_var_F77
=unsupported
13825 link_all_deplibs_F77
=unknown
13826 hardcode_automatic_F77
=no
13828 module_expsym_cmds_F77
=
13829 always_export_symbols_F77
=no
13830 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13831 # include_expsyms should be a list of space-separated symbols to be *always*
13832 # included in the symbol list
13833 include_expsyms_F77
=
13834 # exclude_expsyms can be an extended regexp of symbols to exclude
13835 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13836 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13837 # as well as any symbol that contains `d'.
13838 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13839 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13840 # platforms (ab)use it in PIC code, but their linkers get confused if
13841 # the symbol is explicitly referenced. Since portable code cannot
13842 # rely on this symbol name, it's probably fine to never include it in
13843 # preloaded symbol tables.
13844 extract_expsyms_cmds
=
13845 # Just being paranoid about ensuring that cc_basename is set.
13846 for cc_temp
in $compiler""; do
13848 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13849 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13854 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13857 cygwin
* | mingw
* | pw32
*)
13858 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13859 # When not using gcc, we currently assume that we are using
13860 # Microsoft Visual C++.
13861 if test "$GCC" != yes; then
13871 if test "$with_gnu_ld" = yes; then
13872 # If archive_cmds runs LD, not CC, wlarc should be empty
13875 # Set some defaults for GNU ld with shared library support. These
13876 # are reset later if shared libraries are not supported. Putting them
13877 # here allows them to be overridden if necessary.
13878 runpath_var
=LD_RUN_PATH
13879 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13880 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13881 # ancient GNU ld didn't support --whole-archive et. al.
13882 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13883 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13885 whole_archive_flag_spec_F77
=
13887 supports_anon_versioning
=no
13888 case `$LD -v 2>/dev/null` in
13889 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13890 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13891 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13892 *\
2.11.
*) ;; # other 2.11 versions
13893 *) supports_anon_versioning
=yes ;;
13896 # See if GNU ld supports shared libraries.
13898 aix3
* | aix4
* | aix5
*)
13899 # On AIX/PPC, the GNU linker is very broken
13900 if test "$host_cpu" != ia64
; then
13904 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13905 *** to be unable to reliably create shared libraries on AIX.
13906 *** Therefore, libtool is disabling shared libraries support. If you
13907 *** really care for shared libraries, you may want to modify your PATH
13908 *** so that a non-GNU linker is found, and then restart.
13915 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)'
13916 hardcode_libdir_flag_spec_F77
='-L$libdir'
13917 hardcode_minus_L_F77
=yes
13919 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13920 # that the semantics of dynamic libraries on AmigaOS, at least up
13921 # to version 4, is to share data among multiple programs linked
13922 # with the same dynamic library. Since this doesn't match the
13923 # behavior of shared libraries on other platforms, we can't use
13929 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13930 allow_undefined_flag_F77
=unsupported
13931 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13932 # support --undefined. This deserves some investigation. FIXME
13933 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13939 cygwin
* | mingw
* | pw32
*)
13940 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13941 # as there is no search path for DLLs.
13942 hardcode_libdir_flag_spec_F77
='-L$libdir'
13943 allow_undefined_flag_F77
=unsupported
13944 always_export_symbols_F77
=no
13945 enable_shared_with_static_runtimes_F77
=yes
13946 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13948 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13949 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13950 # If the export-symbols file already is a .def file (1st line
13951 # is EXPORTS), use it as is; otherwise, prepend...
13952 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13953 cp $export_symbols $output_objdir/$soname.def;
13955 echo EXPORTS > $output_objdir/$soname.def;
13956 cat $export_symbols >> $output_objdir/$soname.def;
13958 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13965 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13967 case $cc_basename,$host_cpu in
13968 pgcc
*) # Portland Group C compiler
13969 whole_archive_flag_spec_F77
=
13971 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
13972 whole_archive_flag_spec_F77
=
13973 tmp_addflag
=' -fpic -Mnomain' ;;
13974 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13975 tmp_addflag
=' -i_dynamic' ;;
13976 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13977 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13978 ifc
* | ifort
*) # Intel Fortran compiler
13979 tmp_addflag
=' -nofor_main' ;;
13981 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13983 if test $supports_anon_versioning = yes; then
13984 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13985 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13986 $echo "local: *; };" >> $output_objdir/$libname.ver~
13987 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13995 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13996 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13999 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14000 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14005 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14009 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14010 *** create shared libraries on Solaris systems. Therefore, libtool
14011 *** is disabling shared libraries support. We urge you to upgrade GNU
14012 *** binutils to release 2.9.1 or newer. Another option is to modify
14013 *** your PATH or compiler configuration so that the native linker is
14014 *** used, and then restart.
14017 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14018 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14019 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14026 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14028 hardcode_direct_F77
=yes
14029 hardcode_shlibpath_var_F77
=no
14033 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14034 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14035 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14042 if test "$ld_shlibs_F77" = no
; then
14044 hardcode_libdir_flag_spec_F77
=
14045 export_dynamic_flag_spec_F77
=
14046 whole_archive_flag_spec_F77
=
14049 # PORTME fill in a description of your system's linker (not GNU ld)
14052 allow_undefined_flag_F77
=unsupported
14053 always_export_symbols_F77
=yes
14054 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'
14055 # Note: this linker hardcodes the directories in LIBPATH if there
14056 # are no directories specified by -L.
14057 hardcode_minus_L_F77
=yes
14058 if test "$GCC" = yes && test -z "$link_static_flag"; then
14059 # Neither direct hardcoding nor static linking is supported with a
14061 hardcode_direct_F77
=unsupported
14066 if test "$host_cpu" = ia64
; then
14067 # On IA64, the linker does run time linking by default, so we don't
14068 # have to do anything special.
14069 aix_use_runtimelinking
=no
14070 exp_sym_flag
='-Bexport'
14073 # If we're using GNU nm, then we don't want the "-C" option.
14074 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14075 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14076 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'
14078 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'
14080 aix_use_runtimelinking
=no
14082 # Test if we are trying to use run time linking or normal
14083 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14084 # need to do runtime linking.
14085 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14086 for ld_flag
in $LDFLAGS; do
14087 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14088 aix_use_runtimelinking
=yes
14094 exp_sym_flag
='-bexport'
14095 no_entry_flag
='-bnoentry'
14098 # When large executables or shared objects are built, AIX ld can
14099 # have problems creating the table of contents. If linking a library
14100 # or program results in "error TOC overflow" add -mminimal-toc to
14101 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14102 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14104 archive_cmds_F77
=''
14105 hardcode_direct_F77
=yes
14106 hardcode_libdir_separator_F77
=':'
14107 link_all_deplibs_F77
=yes
14109 if test "$GCC" = yes; then
14110 case $host_os in aix4.
[012]|aix4.
[012].
*)
14111 # We only want to do this on AIX 4.2 and lower, the check
14112 # below for broken collect2 doesn't work under 4.3+
14113 collect2name
=`${CC} -print-prog-name=collect2`
14114 if test -f "$collect2name" && \
14115 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14117 # We have reworked collect2
14118 hardcode_direct_F77
=yes
14120 # We have old collect2
14121 hardcode_direct_F77
=unsupported
14122 # It fails to find uninstalled libraries when the uninstalled
14123 # path is not listed in the libpath. Setting hardcode_minus_L
14124 # to unsupported forces relinking
14125 hardcode_minus_L_F77
=yes
14126 hardcode_libdir_flag_spec_F77
='-L$libdir'
14127 hardcode_libdir_separator_F77
=
14130 shared_flag
='-shared'
14131 if test "$aix_use_runtimelinking" = yes; then
14132 shared_flag
="$shared_flag "'${wl}-G'
14136 if test "$host_cpu" = ia64
; then
14137 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14138 # chokes on -Wl,-G. The following line is correct:
14141 if test "$aix_use_runtimelinking" = yes; then
14142 shared_flag
='${wl}-G'
14144 shared_flag
='${wl}-bM:SRE'
14149 # It seems that -bexpall does not export symbols beginning with
14150 # underscore (_), so it is better to generate a list of symbols to export.
14151 always_export_symbols_F77
=yes
14152 if test "$aix_use_runtimelinking" = yes; then
14153 # Warning - without using the other runtime loading flags (-brtl),
14154 # -berok will link without error, but may produce a broken library.
14155 allow_undefined_flag_F77
='-berok'
14156 # Determine the default libpath from the value encoded in an empty executable.
14157 cat >conftest.
$ac_ext <<_ACEOF
14162 rm -f conftest.
$ac_objext conftest
$ac_exeext
14163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14164 (eval $ac_link) 2>conftest.er1
14166 grep -v '^ *+' conftest.er1
>conftest.err
14168 cat conftest.err
>&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); } &&
14171 { ac_try
='test -z "$ac_f77_werror_flag"
14172 || test ! -s conftest.err'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; } &&
14178 { ac_try
='test -s conftest$ac_exeext'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; }; then
14185 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14187 # Check for a 64-bit object if we didn't find anything.
14188 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; }
14191 echo "$as_me: failed program was:" >&5
14192 sed 's/^/| /' conftest.
$ac_ext >&5
14195 rm -f conftest.err conftest.
$ac_objext \
14196 conftest
$ac_exeext conftest.
$ac_ext
14197 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14199 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14200 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"
14202 if test "$host_cpu" = ia64; then
14203 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
14204 allow_undefined_flag_F77="-z nodefs"
14205 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"
14207 # Determine the default libpath from the value encoded in an empty executable.
14208 cat >conftest.$ac_ext <<_ACEOF
14213 rm -f conftest.$ac_objext conftest$ac_exeext
14214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14215 (eval $ac_link) 2>conftest.er1
14217 grep -v '^ *+' conftest.er1 >conftest.err
14219 cat conftest.err >&5
14220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14221 (exit $ac_status); } &&
14222 { ac_try='test -z "$ac_f77_werror_flag"
14223 || test ! -s conftest.err'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14228 (exit $ac_status); }; } &&
14229 { ac_try='test -s conftest$ac_exeext'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14234 (exit $ac_status); }; }; then
14236 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14238 # Check for a 64-bit object if we didn't find anything.
14239 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; }
14242 echo "$as_me: failed program was
:" >&5
14243 sed 's/^/| /' conftest.$ac_ext >&5
14246 rm -f conftest.err conftest.$ac_objext \
14247 conftest$ac_exeext conftest.$ac_ext
14248 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
14250 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14251 # Warning - without using the other run time loading flags,
14252 # -berok will link without error, but may produce a broken library.
14253 no_undefined_flag_F77=' ${wl}-bernotok'
14254 allow_undefined_flag_F77=' ${wl}-berok'
14255 # -bexpall does not export symbols beginning with underscore (_)
14256 always_export_symbols_F77=yes
14257 # Exported symbols can be pulled into shared objects from archives
14258 whole_archive_flag_spec_F77=' '
14259 archive_cmds_need_lc_F77=yes
14260 # This is similar to how AIX traditionally builds it's shared libraries.
14261 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'
14267 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)'
14268 hardcode_libdir_flag_spec_F77
='-L$libdir'
14269 hardcode_minus_L_F77
=yes
14270 # see comment about different semantics on the GNU ld section
14275 export_dynamic_flag_spec_F77
=-rdynamic
14278 cygwin
* | mingw
* | pw32
*)
14279 # When not using gcc, we currently assume that we are using
14280 # Microsoft Visual C++.
14281 # hardcode_libdir_flag_spec is actually meaningless, as there is
14282 # no search path for DLLs.
14283 hardcode_libdir_flag_spec_F77
=' '
14284 allow_undefined_flag_F77
=unsupported
14285 # Tell ltmain to make .lib files, not .a files.
14287 # Tell ltmain to make .dll files, not .so files.
14289 # FIXME: Setting linknames here is a bad hack.
14290 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14291 # The linker will automatically build a .lib file if we build a DLL.
14292 old_archive_From_new_cmds_F77
='true'
14293 # FIXME: Should let the user specify the lib program.
14294 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14295 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14296 enable_shared_with_static_runtimes_F77
=yes
14299 darwin
* | rhapsody
*)
14301 rhapsody
* | darwin1.
[012])
14302 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14305 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14306 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14308 case ${MACOSX_DEPLOYMENT_TARGET} in
14310 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14313 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14319 archive_cmds_need_lc_F77
=no
14320 hardcode_direct_F77
=no
14321 hardcode_automatic_F77
=yes
14322 hardcode_shlibpath_var_F77
=unsupported
14323 whole_archive_flag_spec_F77
=''
14324 link_all_deplibs_F77
=yes
14325 if test "$GCC" = yes ; then
14326 output_verbose_link_cmd
='echo'
14327 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14328 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14329 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14330 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}'
14331 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}'
14333 case $cc_basename in
14335 output_verbose_link_cmd
='echo'
14336 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14337 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14338 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14339 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}'
14340 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}'
14350 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14351 hardcode_libdir_flag_spec_F77
='-L$libdir'
14352 hardcode_shlibpath_var_F77
=no
14359 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14360 # support. Future versions do this automatically, but an explicit c++rt0.o
14361 # does not break anything, and helps significantly (at the cost of a little
14364 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14365 hardcode_libdir_flag_spec_F77
='-R$libdir'
14366 hardcode_direct_F77
=yes
14367 hardcode_shlibpath_var_F77
=no
14370 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14372 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14373 hardcode_direct_F77
=yes
14374 hardcode_minus_L_F77
=yes
14375 hardcode_shlibpath_var_F77
=no
14378 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14379 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14380 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14381 hardcode_libdir_flag_spec_F77
='-R$libdir'
14382 hardcode_direct_F77
=yes
14383 hardcode_shlibpath_var_F77
=no
14387 if test "$GCC" = yes; then
14388 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'
14390 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'
14392 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14393 hardcode_libdir_separator_F77
=:
14394 hardcode_direct_F77
=yes
14396 # hardcode_minus_L: Not really in the search PATH,
14397 # but as the default location of the library.
14398 hardcode_minus_L_F77
=yes
14399 export_dynamic_flag_spec_F77
='${wl}-E'
14403 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14404 case "$host_cpu" in
14406 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14409 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14413 case "$host_cpu" in
14415 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14418 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14422 if test "$with_gnu_ld" = no
; then
14423 case "$host_cpu" in
14425 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14426 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14427 hardcode_libdir_separator_F77
=:
14428 hardcode_direct_F77
=no
14429 hardcode_shlibpath_var_F77
=no
14432 hardcode_libdir_flag_spec_F77
='-L$libdir'
14433 hardcode_direct_F77
=no
14434 hardcode_shlibpath_var_F77
=no
14436 # hardcode_minus_L: Not really in the search PATH,
14437 # but as the default location of the library.
14438 hardcode_minus_L_F77
=yes
14441 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14442 hardcode_libdir_separator_F77
=:
14443 hardcode_direct_F77
=yes
14444 export_dynamic_flag_spec_F77
='${wl}-E'
14446 # hardcode_minus_L: Not really in the search PATH,
14447 # but as the default location of the library.
14448 hardcode_minus_L_F77
=yes
14454 irix5
* | irix6
* | nonstopux
*)
14455 if test "$GCC" = yes; then
14456 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'
14458 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'
14459 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14461 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14462 hardcode_libdir_separator_F77
=:
14463 link_all_deplibs_F77
=yes
14467 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14468 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14470 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14472 hardcode_libdir_flag_spec_F77
='-R$libdir'
14473 hardcode_direct_F77
=yes
14474 hardcode_shlibpath_var_F77
=no
14478 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14479 hardcode_direct_F77
=yes
14480 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14481 hardcode_libdir_separator_F77
=:
14482 hardcode_shlibpath_var_F77
=no
14486 hardcode_direct_F77
=yes
14487 hardcode_shlibpath_var_F77
=no
14488 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14489 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14490 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14491 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14492 export_dynamic_flag_spec_F77
='${wl}-E'
14495 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14496 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14497 hardcode_libdir_flag_spec_F77
='-R$libdir'
14500 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14501 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14508 hardcode_libdir_flag_spec_F77
='-L$libdir'
14509 hardcode_minus_L_F77
=yes
14510 allow_undefined_flag_F77
=unsupported
14511 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'
14512 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14516 if test "$GCC" = yes; then
14517 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14518 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'
14520 allow_undefined_flag_F77
=' -expect_unresolved \*'
14521 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'
14523 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14524 hardcode_libdir_separator_F77
=:
14527 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14528 if test "$GCC" = yes; then
14529 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14530 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'
14531 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14533 allow_undefined_flag_F77
=' -expect_unresolved \*'
14534 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'
14535 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~
14536 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14538 # Both c and cxx compiler support -rpath directly
14539 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14541 hardcode_libdir_separator_F77
=:
14545 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14546 hardcode_shlibpath_var_F77
=no
14547 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14548 runpath_var
=LD_RUN_PATH
14549 hardcode_runpath_var
=yes
14553 no_undefined_flag_F77
=' -z text'
14554 if test "$GCC" = yes; then
14556 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14557 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14558 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14561 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14562 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14563 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14565 hardcode_libdir_flag_spec_F77
='-R$libdir'
14566 hardcode_shlibpath_var_F77
=no
14568 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14570 # The compiler driver will combine linker options so we
14571 # cannot just pass the convience library names through
14572 # without $wl, iff we do not link with $LD.
14573 # Luckily, gcc supports the same syntax we need for Sun Studio.
14574 # Supported since Solaris 2.6 (maybe 2.5.1?)
14577 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14579 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14582 link_all_deplibs_F77
=yes
14586 if test "x$host_vendor" = xsequent
; then
14587 # Use $CC to link under sequent, because it throws in some extra .o
14588 # files that make .init and .fini sections work.
14589 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14591 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14593 hardcode_libdir_flag_spec_F77
='-L$libdir'
14594 hardcode_direct_F77
=yes
14595 hardcode_minus_L_F77
=yes
14596 hardcode_shlibpath_var_F77
=no
14600 case $host_vendor in
14602 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14603 hardcode_direct_F77
=yes # is this really true???
14606 ## LD is ld it makes a PLAMLIB
14607 ## CC just makes a GrossModule.
14608 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14609 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14610 hardcode_direct_F77
=no
14613 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14614 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14617 runpath_var
='LD_RUN_PATH'
14618 hardcode_shlibpath_var_F77
=no
14622 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14623 hardcode_shlibpath_var_F77
=no
14624 export_dynamic_flag_spec_F77
='-Bexport'
14628 if test -d /usr
/nec
; then
14629 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14630 hardcode_shlibpath_var_F77
=no
14631 runpath_var
=LD_RUN_PATH
14632 hardcode_runpath_var
=yes
14638 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14639 hardcode_direct_F77
=yes
14640 hardcode_minus_L_F77
=no
14641 hardcode_shlibpath_var_F77
=no
14642 hardcode_runpath_var
=yes
14643 runpath_var
=LD_RUN_PATH
14646 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14647 no_undefined_flag_F77
='${wl}-z ${wl}text'
14648 if test "$GCC" = yes; then
14649 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14651 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14653 runpath_var
='LD_RUN_PATH'
14654 hardcode_shlibpath_var_F77
=no
14658 no_undefined_flag_F77
=' -z text'
14659 # $CC -shared without GNU ld will not create a library from C++
14660 # object files and a static libstdc++, better avoid it by now
14661 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14662 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14663 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14664 hardcode_libdir_flag_spec_F77
=
14665 hardcode_shlibpath_var_F77
=no
14666 runpath_var
='LD_RUN_PATH'
14670 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14671 hardcode_libdir_flag_spec_F77
='-L$libdir'
14672 hardcode_shlibpath_var_F77
=no
14681 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14682 echo "${ECHO_T}$ld_shlibs_F77" >&6
14683 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14685 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14686 if test "$GCC" = yes; then
14687 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14691 # Do we need to explicitly link libc?
14693 case "x$archive_cmds_need_lc_F77" in
14695 # Assume -lc should be added
14696 archive_cmds_need_lc_F77
=yes
14698 if test "$enable_shared" = yes && test "$GCC" = yes; then
14699 case $archive_cmds_F77 in
14701 # FIXME: we may have to deal with multi-command sequences.
14704 # Test whether the compiler implicitly links with -lc since on some
14705 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14706 # to ld, don't add -lc before -lgcc.
14707 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14708 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14710 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14713 (eval $ac_compile) 2>&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); } 2>conftest.err
; then
14719 libobjs
=conftest.
$ac_objext
14721 wl
=$lt_prog_compiler_wl_F77
14727 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14728 allow_undefined_flag_F77
=
14729 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14730 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); }
14735 archive_cmds_need_lc_F77
=no
14737 archive_cmds_need_lc_F77
=yes
14739 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14741 cat conftest.err
1>&5
14744 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14745 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14752 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14753 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14754 library_names_spec
=
14755 libname_spec
='lib$name'
14759 postuninstall_cmds
=
14763 shlibpath_overrides_runpath
=unknown
14765 dynamic_linker
="$host_os ld.so"
14766 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14767 if test "$GCC" = yes; then
14768 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14769 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14770 # if the path contains ";" then we assume it to be the separator
14771 # otherwise default to the standard path separator (i.e. ":") - it is
14772 # assumed that no part of a normal pathname contains ";" but that should
14773 # okay in the real world where ";" in dirpaths is itself problematic.
14774 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14776 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14779 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14781 need_lib_prefix
=unknown
14782 hardcode_into_libs
=no
14784 # when you set need_version to no, make sure it does not cause -set_version
14785 # flags to be left without arguments
14786 need_version
=unknown
14791 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14792 shlibpath_var
=LIBPATH
14794 # AIX 3 has no versioning support, so we append a major version to the name.
14795 soname_spec
='${libname}${release}${shared_ext}$major'
14802 hardcode_into_libs
=yes
14803 if test "$host_cpu" = ia64
; then
14804 # AIX 5 supports IA64
14805 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14806 shlibpath_var
=LD_LIBRARY_PATH
14808 # With GCC up to 2.95.x, collect2 would create an import file
14809 # for dependence libraries. The import file would start with
14810 # the line `#! .'. This would cause the generated library to
14811 # depend on `.', always an invalid library. This was fixed in
14812 # development snapshots of GCC prior to 3.0.
14814 aix4 | aix4.
[01] | aix4.
[01].
*)
14815 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14817 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14820 can_build_shared
=no
14824 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14825 # soname into executable. Probably we can add versioning support to
14826 # collect2, so additional links can be useful in future.
14827 if test "$aix_use_runtimelinking" = yes; then
14828 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14829 # instead of lib<name>.a to let people know that these are not
14830 # typical AIX shared libraries.
14831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14833 # We preserve .a as extension for shared libraries through AIX4.2
14834 # and later when we are not doing run time linking.
14835 library_names_spec
='${libname}${release}.a $libname.a'
14836 soname_spec
='${libname}${release}${shared_ext}$major'
14838 shlibpath_var
=LIBPATH
14843 library_names_spec
='$libname.ixlibrary $libname.a'
14844 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14845 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'
14849 library_names_spec
='${libname}${shared_ext}'
14850 dynamic_linker
="$host_os ld.so"
14851 shlibpath_var
=LIBRARY_PATH
14857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14858 soname_spec
='${libname}${release}${shared_ext}$major'
14859 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14860 shlibpath_var
=LD_LIBRARY_PATH
14861 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14862 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14863 # the default ld.so.conf also contains /usr/contrib/lib and
14864 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14865 # libtool to hard-code these into programs
14868 cygwin
* | mingw
* | pw32
*)
14869 version_type
=windows
14874 case $GCC,$host_os in
14875 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14876 library_names_spec
='$libname.dll.a'
14877 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14878 postinstall_cmds
='base_file=`basename \${file}`~
14879 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14880 dldir=$destdir/`dirname \$dlpath`~
14881 test -d \$dldir || mkdir -p \$dldir~
14882 $install_prog $dir/$dlname \$dldir/$dlname'
14883 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14884 dlpath=$dir/\$dldll~
14886 shlibpath_overrides_runpath
=yes
14890 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14891 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14892 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14895 # MinGW DLLs use traditional 'lib' prefix
14896 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14897 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14898 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14899 # It is most probably a Windows format PATH printed by
14900 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14901 # path with ; separators, and with drive letters. We can handle the
14902 # drive letters (cygwin fileutils understands them), so leave them,
14903 # especially as we might pass files found there to a mingw objdump,
14904 # which wouldn't understand a cygwinified path. Ahh.
14905 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14907 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14911 # pw32 DLLs use 'pw' prefix rather than 'lib'
14912 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14918 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14921 dynamic_linker
='Win32 ld.exe'
14922 # FIXME: first we should search . and the directory the executable is in
14926 darwin
* | rhapsody
*)
14927 dynamic_linker
="$host_os dyld"
14928 version_type
=darwin
14931 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14932 soname_spec
='${libname}${release}${major}$shared_ext'
14933 shlibpath_overrides_runpath
=yes
14934 shlibpath_var
=DYLD_LIBRARY_PATH
14935 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
14936 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14937 if test "$GCC" = yes; then
14938 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"`
14940 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14942 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14950 soname_spec
='${libname}${release}${shared_ext}$major'
14951 shlibpath_var
=LD_LIBRARY_PATH
14962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14963 soname_spec
='${libname}${release}${shared_ext}$major'
14964 shlibpath_var
=LD_LIBRARY_PATH
14965 shlibpath_overrides_runpath
=no
14966 hardcode_into_libs
=yes
14967 dynamic_linker
='GNU ld.so'
14970 freebsd
* | dragonfly
*)
14971 # DragonFly does not have aout. When/if they implement a new
14972 # versioning mechanism, adjust this.
14973 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14974 version_type
=freebsd-
$objformat
14975 case $version_type in
14977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14982 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14986 shlibpath_var
=LD_LIBRARY_PATH
14989 shlibpath_overrides_runpath
=yes
14991 freebsd3.
[01]* | freebsdelf3.
[01]*)
14992 shlibpath_overrides_runpath
=yes
14993 hardcode_into_libs
=yes
14996 shlibpath_overrides_runpath
=no
14997 hardcode_into_libs
=yes
15006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15007 soname_spec
='${libname}${release}${shared_ext}$major'
15008 shlibpath_var
=LD_LIBRARY_PATH
15009 hardcode_into_libs
=yes
15012 hpux9
* | hpux10
* | hpux11
*)
15013 # Give a soname corresponding to the major version so that dld.sl refuses to
15014 # link against other versions.
15018 case "$host_cpu" in
15021 hardcode_into_libs
=yes
15022 dynamic_linker
="$host_os dld.so"
15023 shlibpath_var
=LD_LIBRARY_PATH
15024 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15026 soname_spec
='${libname}${release}${shared_ext}$major'
15027 if test "X$HPUX_IA64_MODE" = X32
; then
15028 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15030 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15032 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15036 hardcode_into_libs
=yes
15037 dynamic_linker
="$host_os dld.sl"
15038 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15039 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15041 soname_spec
='${libname}${release}${shared_ext}$major'
15042 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15043 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15047 dynamic_linker
="$host_os dld.sl"
15048 shlibpath_var
=SHLIB_PATH
15049 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15051 soname_spec
='${libname}${release}${shared_ext}$major'
15054 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15055 postinstall_cmds
='chmod 555 $lib'
15058 irix5
* | irix6
* | nonstopux
*)
15060 nonstopux
*) version_type
=nonstopux
;;
15062 if test "$lt_cv_prog_gnu_ld" = yes; then
15070 soname_spec
='${libname}${release}${shared_ext}$major'
15071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15073 irix5
* | nonstopux
*)
15074 libsuff
= shlibsuff
=
15077 case $LD in # libtool.m4 will add one of these switches to LD
15078 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15079 libsuff
= shlibsuff
= libmagic
=32-bit;;
15080 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15081 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15082 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15083 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15084 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15088 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15089 shlibpath_overrides_runpath
=no
15090 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15091 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15092 hardcode_into_libs
=yes
15095 # No shared lib support for Linux oldld, aout, or coff.
15096 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15100 # This must be Linux ELF.
15105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15106 soname_spec
='${libname}${release}${shared_ext}$major'
15107 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15108 shlibpath_var
=LD_LIBRARY_PATH
15109 shlibpath_overrides_runpath
=no
15110 # This implies no fast_install, which is unacceptable.
15111 # Some rework will be needed to allow for fast_install
15112 # before this can be enabled.
15113 hardcode_into_libs
=yes
15115 # find out which ABI we are using
15117 case "$host_cpu" in
15118 x86_64
*|s390x
*|powerpc64
*)
15119 echo '#line 15119 "configure"' > conftest.
$ac_ext
15120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15121 (eval $ac_compile) 2>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); }; then
15125 case `/usr/bin/file conftest.$ac_objext` in
15128 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15136 # Append ld.so.conf contents to the search path
15137 if test -f /etc
/ld.so.conf
; then
15138 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' ' '`
15139 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15142 # We used to test for /lib/ld.so.1 and disable shared libraries on
15143 # powerpc, because MkLinux only supported shared libraries with the
15144 # GNU dynamic linker. Since this was broken with cross compilers,
15145 # most powerpc-linux boxes support dynamic linking these days and
15146 # people can always --disable-shared, the test was removed, and we
15147 # assume the GNU/Linux dynamic linker is in use.
15148 dynamic_linker
='GNU/Linux ld.so'
15155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15156 soname_spec
='${libname}${release}${shared_ext}$major'
15157 shlibpath_var
=LD_LIBRARY_PATH
15158 shlibpath_overrides_runpath
=no
15159 hardcode_into_libs
=yes
15160 dynamic_linker
='GNU ld.so'
15167 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15169 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15170 dynamic_linker
='NetBSD (a.out) ld.so'
15172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15173 soname_spec
='${libname}${release}${shared_ext}$major'
15174 dynamic_linker
='NetBSD ld.elf_so'
15176 shlibpath_var
=LD_LIBRARY_PATH
15177 shlibpath_overrides_runpath
=yes
15178 hardcode_into_libs
=yes
15183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15184 shlibpath_var
=LD_LIBRARY_PATH
15185 shlibpath_overrides_runpath
=yes
15192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15193 soname_spec
='${libname}${release}${shared_ext}$major'
15194 shlibpath_var
=LD_LIBRARY_PATH
15195 shlibpath_overrides_runpath
=yes
15202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15203 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15204 shlibpath_var
=LD_LIBRARY_PATH
15205 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15207 openbsd2.
[89] | openbsd2.
[89].
*)
15208 shlibpath_overrides_runpath
=no
15211 shlibpath_overrides_runpath
=yes
15215 shlibpath_overrides_runpath
=yes
15220 libname_spec
='$name'
15223 library_names_spec
='$libname${shared_ext} $libname.a'
15224 dynamic_linker
='OS/2 ld.exe'
15225 shlibpath_var
=LIBPATH
15228 osf3
* | osf4
* | osf5
*)
15232 soname_spec
='${libname}${release}${shared_ext}$major'
15233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15234 shlibpath_var
=LD_LIBRARY_PATH
15235 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15236 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15241 soname_spec
='${libname}${release}${shared_ext}$major'
15242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15243 shlibpath_var
=LD_LIBRARY_PATH
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
=yes
15254 hardcode_into_libs
=yes
15255 # ldd complains unless libraries are executable
15256 postinstall_cmds
='chmod +x $lib'
15261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15262 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15263 shlibpath_var
=LD_LIBRARY_PATH
15264 shlibpath_overrides_runpath
=yes
15265 if test "$with_gnu_ld" = yes; then
15271 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15274 soname_spec
='${libname}${release}${shared_ext}$major'
15275 shlibpath_var
=LD_LIBRARY_PATH
15276 case $host_vendor in
15278 shlibpath_overrides_runpath
=no
15280 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15281 runpath_var
=LD_RUN_PATH
15289 shlibpath_overrides_runpath
=no
15290 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15296 if test -d /usr
/nec
;then
15298 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15299 soname_spec
='$libname${shared_ext}.$major'
15300 shlibpath_var
=LD_LIBRARY_PATH
15306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15307 soname_spec
='${libname}${release}${shared_ext}$major'
15308 shlibpath_var
=LD_LIBRARY_PATH
15315 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15316 echo "${ECHO_T}$dynamic_linker" >&6
15317 test "$dynamic_linker" = no
&& can_build_shared
=no
15319 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15320 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15321 hardcode_action_F77
=
15322 if test -n "$hardcode_libdir_flag_spec_F77" || \
15323 test -n "$runpath_var_F77" || \
15324 test "X$hardcode_automatic_F77" = "Xyes" ; then
15326 # We can hardcode non-existant directories.
15327 if test "$hardcode_direct_F77" != no
&&
15328 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15329 # have to relink, otherwise we might link with an installed library
15330 # when we should be linking with a yet-to-be-installed one
15331 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15332 test "$hardcode_minus_L_F77" != no
; then
15333 # Linking always hardcodes the temporary library directory.
15334 hardcode_action_F77
=relink
15336 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15337 hardcode_action_F77
=immediate
15340 # We cannot hardcode anything, or else we can only hardcode existing
15342 hardcode_action_F77
=unsupported
15344 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15345 echo "${ECHO_T}$hardcode_action_F77" >&6
15347 if test "$hardcode_action_F77" = relink
; then
15348 # Fast installation is not supported
15349 enable_fast_install
=no
15350 elif test "$shlibpath_overrides_runpath" = yes ||
15351 test "$enable_shared" = no
; then
15352 # Fast installation is not necessary
15353 enable_fast_install
=needless
15358 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15359 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15360 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15361 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15362 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15363 echo "$as_me:$LINENO: result: yes" >&5
15364 echo "${ECHO_T}yes" >&6
15366 # FIXME - insert some real tests, host_os isn't really good enough
15369 if test -n "$STRIP" ; then
15370 striplib
="$STRIP -x"
15371 echo "$as_me:$LINENO: result: yes" >&5
15372 echo "${ECHO_T}yes" >&6
15374 echo "$as_me:$LINENO: result: no" >&5
15375 echo "${ECHO_T}no" >&6
15379 echo "$as_me:$LINENO: result: no" >&5
15380 echo "${ECHO_T}no" >&6
15387 # The else clause should only fire when bootstrapping the
15388 # libtool distribution, otherwise you forgot to ship ltmain.sh
15389 # with your package, and you will get complaints that there are
15390 # no rules to generate ltmain.sh.
15391 if test -f "$ltmain"; then
15392 # See if we are running on zsh, and set the options which allow our commands through
15393 # without removal of \ escapes.
15394 if test -n "${ZSH_VERSION+set}" ; then
15395 setopt NO_GLOB_SUBST
15397 # Now quote all the things that may contain metacharacters while being
15398 # careful not to overquote the AC_SUBSTed values. We take copies of the
15399 # variables and quote the copies for generation of the libtool script.
15400 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15402 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15403 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15404 deplibs_check_method reload_flag reload_cmds need_locks \
15405 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15406 lt_cv_sys_global_symbol_to_c_name_address \
15407 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15408 old_postinstall_cmds old_postuninstall_cmds \
15412 lt_prog_compiler_wl_F77 \
15413 lt_prog_compiler_pic_F77 \
15414 lt_prog_compiler_static_F77 \
15415 lt_prog_compiler_no_builtin_flag_F77 \
15416 export_dynamic_flag_spec_F77 \
15417 thread_safe_flag_spec_F77 \
15418 whole_archive_flag_spec_F77 \
15419 enable_shared_with_static_runtimes_F77 \
15420 old_archive_cmds_F77 \
15421 old_archive_from_new_cmds_F77 \
15422 predep_objects_F77 \
15423 postdep_objects_F77 \
15426 compiler_lib_search_path_F77 \
15428 archive_expsym_cmds_F77 \
15429 postinstall_cmds_F77 \
15430 postuninstall_cmds_F77 \
15431 old_archive_from_expsyms_cmds_F77 \
15432 allow_undefined_flag_F77 \
15433 no_undefined_flag_F77 \
15434 export_symbols_cmds_F77 \
15435 hardcode_libdir_flag_spec_F77 \
15436 hardcode_libdir_flag_spec_ld_F77 \
15437 hardcode_libdir_separator_F77 \
15438 hardcode_automatic_F77 \
15440 module_expsym_cmds_F77 \
15441 lt_cv_prog_compiler_c_o_F77 \
15442 exclude_expsyms_F77 \
15443 include_expsyms_F77
; do
15446 old_archive_cmds_F77 | \
15447 old_archive_from_new_cmds_F77 | \
15448 archive_cmds_F77 | \
15449 archive_expsym_cmds_F77 | \
15450 module_cmds_F77 | \
15451 module_expsym_cmds_F77 | \
15452 old_archive_from_expsyms_cmds_F77 | \
15453 export_symbols_cmds_F77 | \
15454 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15455 postinstall_cmds | postuninstall_cmds | \
15456 old_postinstall_cmds | old_postuninstall_cmds | \
15457 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15458 # Double-quote double-evaled strings.
15459 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15462 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15468 *'\$0 --fallback-echo"')
15469 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15475 cat <<__EOF__ >> "$cfgfile"
15476 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15478 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15480 # Shell to use when invoking shell scripts.
15483 # Whether or not to build shared libraries.
15484 build_libtool_libs=$enable_shared
15486 # Whether or not to build static libraries.
15487 build_old_libs=$enable_static
15489 # Whether or not to add -lc for building shared libraries.
15490 build_libtool_need_lc=$archive_cmds_need_lc_F77
15492 # Whether or not to disallow shared libs when runtime libs are static
15493 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15495 # Whether or not to optimize for fast installation.
15496 fast_install=$enable_fast_install
15499 host_alias=$host_alias
15503 # The build system.
15504 build_alias=$build_alias
15508 # An echo program that does not interpret backslashes.
15513 AR_FLAGS=$lt_AR_FLAGS
15518 # A language-specific compiler.
15519 CC=$lt_compiler_F77
15521 # Is the compiler the GNU C compiler?
15527 # The linker used to build libraries.
15530 # Whether we need hard or soft links.
15533 # A BSD-compatible nm program.
15536 # A symbol stripping program
15539 # Used to examine libraries when file_magic_cmd begins "file"
15540 MAGIC_CMD=$MAGIC_CMD
15542 # Used on cygwin: DLL creation program.
15545 # Used on cygwin: object dumper.
15548 # Used on cygwin: assembler.
15551 # The name of the directory that contains temporary libtool files.
15554 # How to create reloadable object files.
15555 reload_flag=$lt_reload_flag
15556 reload_cmds=$lt_reload_cmds
15558 # How to pass a linker flag through the compiler.
15559 wl=$lt_lt_prog_compiler_wl_F77
15561 # Object file suffix (normally "o").
15562 objext="$ac_objext"
15564 # Old archive suffix (normally "a").
15567 # Shared library suffix (normally ".so").
15568 shrext_cmds='$shrext_cmds'
15570 # Executable file suffix (normally "").
15573 # Additional compiler flags for building library objects.
15574 pic_flag=$lt_lt_prog_compiler_pic_F77
15577 # What is the maximum length of a command?
15578 max_cmd_len=$lt_cv_sys_max_cmd_len
15580 # Does compiler simultaneously support -c and -o options?
15581 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15583 # Must we lock files when doing compilation?
15584 need_locks=$lt_need_locks
15586 # Do we need the lib prefix for modules?
15587 need_lib_prefix=$need_lib_prefix
15589 # Do we need a version for libraries?
15590 need_version=$need_version
15592 # Whether dlopen is supported.
15593 dlopen_support=$enable_dlopen
15595 # Whether dlopen of programs is supported.
15596 dlopen_self=$enable_dlopen_self
15598 # Whether dlopen of statically linked programs is supported.
15599 dlopen_self_static=$enable_dlopen_self_static
15601 # Compiler flag to prevent dynamic linking.
15602 link_static_flag=$lt_lt_prog_compiler_static_F77
15604 # Compiler flag to turn off builtin functions.
15605 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15607 # Compiler flag to allow reflexive dlopens.
15608 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15610 # Compiler flag to generate shared objects directly from archives.
15611 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15613 # Compiler flag to generate thread-safe objects.
15614 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15616 # Library versioning type.
15617 version_type=$version_type
15619 # Format of library name prefix.
15620 libname_spec=$lt_libname_spec
15622 # List of archive names. First name is the real one, the rest are links.
15623 # The last name is the one that the linker finds with -lNAME.
15624 library_names_spec=$lt_library_names_spec
15626 # The coded name of the library, if different from the real name.
15627 soname_spec=$lt_soname_spec
15629 # Commands used to build and install an old-style archive.
15631 old_archive_cmds=$lt_old_archive_cmds_F77
15632 old_postinstall_cmds=$lt_old_postinstall_cmds
15633 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15635 # Create an old-style archive from a shared archive.
15636 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15638 # Create a temporary old-style archive to link instead of a shared archive.
15639 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15641 # Commands used to build and install a shared archive.
15642 archive_cmds=$lt_archive_cmds_F77
15643 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15644 postinstall_cmds=$lt_postinstall_cmds
15645 postuninstall_cmds=$lt_postuninstall_cmds
15647 # Commands used to build a loadable module (assumed same as above if empty)
15648 module_cmds=$lt_module_cmds_F77
15649 module_expsym_cmds=$lt_module_expsym_cmds_F77
15651 # Commands to strip libraries.
15652 old_striplib=$lt_old_striplib
15653 striplib=$lt_striplib
15655 # Dependencies to place before the objects being linked to create a
15657 predep_objects=$lt_predep_objects_F77
15659 # Dependencies to place after the objects being linked to create a
15661 postdep_objects=$lt_postdep_objects_F77
15663 # Dependencies to place before the objects being linked to create a
15665 predeps=$lt_predeps_F77
15667 # Dependencies to place after the objects being linked to create a
15669 postdeps=$lt_postdeps_F77
15671 # The library search path used internally by the compiler when linking
15672 # a shared library.
15673 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15675 # Method to check whether dependent libraries are shared objects.
15676 deplibs_check_method=$lt_deplibs_check_method
15678 # Command to use when deplibs_check_method == file_magic.
15679 file_magic_cmd=$lt_file_magic_cmd
15681 # Flag that allows shared libraries with undefined symbols to be built.
15682 allow_undefined_flag=$lt_allow_undefined_flag_F77
15684 # Flag that forces no undefined symbols.
15685 no_undefined_flag=$lt_no_undefined_flag_F77
15687 # Commands used to finish a libtool library installation in a directory.
15688 finish_cmds=$lt_finish_cmds
15690 # Same as above, but a single script fragment to be evaled but not shown.
15691 finish_eval=$lt_finish_eval
15693 # Take the output of nm and produce a listing of raw symbols and C names.
15694 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15696 # Transform the output of nm in a proper C declaration
15697 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15699 # Transform the output of nm in a C name address pair
15700 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15702 # This is the shared library runtime path variable.
15703 runpath_var=$runpath_var
15705 # This is the shared library path variable.
15706 shlibpath_var=$shlibpath_var
15708 # Is shlibpath searched before the hard-coded library search path?
15709 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15711 # How to hardcode a shared library path into an executable.
15712 hardcode_action=$hardcode_action_F77
15714 # Whether we should hardcode library paths into libraries.
15715 hardcode_into_libs=$hardcode_into_libs
15717 # Flag to hardcode \$libdir into a binary during linking.
15718 # This must work even if \$libdir does not exist.
15719 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15721 # If ld is used when linking, flag to hardcode \$libdir into
15722 # a binary during linking. This must work even if \$libdir does
15724 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15726 # Whether we need a single -rpath flag with a separated argument.
15727 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15729 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15730 # resulting binary.
15731 hardcode_direct=$hardcode_direct_F77
15733 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15734 # resulting binary.
15735 hardcode_minus_L=$hardcode_minus_L_F77
15737 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15738 # the resulting binary.
15739 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15741 # Set to yes if building a shared library automatically hardcodes DIR into the library
15742 # and all subsequent libraries and executables linked against it.
15743 hardcode_automatic=$hardcode_automatic_F77
15745 # Variables whose values should be saved in libtool wrapper scripts and
15746 # restored at relink time.
15747 variables_saved_for_relink="$variables_saved_for_relink"
15749 # Whether libtool must link a program against all its dependency libraries.
15750 link_all_deplibs=$link_all_deplibs_F77
15752 # Compile-time system search path for libraries
15753 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15755 # Run-time system search path for libraries
15756 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15758 # Fix the shell variable \$srcfile for the compiler.
15759 fix_srcfile_path="$fix_srcfile_path_F77"
15761 # Set to yes if exported symbols are required.
15762 always_export_symbols=$always_export_symbols_F77
15764 # The commands to list exported symbols.
15765 export_symbols_cmds=$lt_export_symbols_cmds_F77
15767 # The commands to extract the exported symbol list from a shared archive.
15768 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15770 # Symbols that should not be listed in the preloaded symbols.
15771 exclude_expsyms=$lt_exclude_expsyms_F77
15773 # Symbols that must always be exported.
15774 include_expsyms=$lt_include_expsyms_F77
15776 # ### END LIBTOOL TAG CONFIG: $tagname
15782 # If there is no Makefile yet, we rely on a make rule to execute
15783 # `config.status --recheck' to rerun these tests and create the
15784 # libtool script then.
15785 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15786 if test -f "$ltmain_in"; then
15787 test -f Makefile
&& make "$ltmain"
15793 ac_cpp
='$CPP $CPPFLAGS'
15794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15806 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15810 # Source file extension for Java test sources.
15813 # Object file extension for compiled Java test sources.
15817 # Code to be used in simple compile tests
15818 lt_simple_compile_test_code
="class foo {}\n"
15820 # Code to be used in simple link tests
15821 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15823 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15825 # If no C compiler was specified, use CC.
15828 # Allow CC to be a program name with arguments.
15832 # save warnings/boilerplate of simple test code
15833 ac_outfile
=conftest.
$ac_objext
15834 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15835 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
15836 _lt_compiler_boilerplate
=`cat conftest.err`
15839 ac_outfile
=conftest.
$ac_objext
15840 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15841 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
15842 _lt_linker_boilerplate
=`cat conftest.err`
15846 # Allow CC to be a program name with arguments.
15851 for cc_temp
in $compiler""; do
15853 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15854 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15859 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15862 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15863 archive_cmds_need_lc_GCJ
=no
15865 old_archive_cmds_GCJ
=$old_archive_cmds
15868 lt_prog_compiler_no_builtin_flag_GCJ
=
15870 if test "$GCC" = yes; then
15871 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15874 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15875 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15876 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15877 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 lt_cv_prog_compiler_rtti_exceptions
=no
15880 ac_outfile
=conftest.
$ac_objext
15881 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15882 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15883 # Insert the option either (1) after the last *FLAGS variable, or
15884 # (2) before a word containing "conftest.", or (3) at the end.
15885 # Note that $ac_compile itself does not contain backslashes and begins
15886 # with a dollar sign (not a hyphen), so the echo should work correctly.
15887 # The option is referenced via a variable to avoid confusing sed.
15888 lt_compile
=`echo "$ac_compile" | $SED \
15889 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15890 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15891 -e 's:$: $lt_compiler_flag:'`
15892 (eval echo "\"\$as_me:15892: $lt_compile\"" >&5)
15893 (eval "$lt_compile" 2>conftest.err
)
15895 cat conftest.err
>&5
15896 echo "$as_me:15896: \$? = $ac_status" >&5
15897 if (exit $ac_status) && test -s "$ac_outfile"; then
15898 # The compiler can only warn and ignore the option if not recognized
15899 # So say no if there are warnings other than the usual output.
15900 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
15901 $SED '/^$/d' conftest.err
>conftest.er2
15902 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15903 lt_cv_prog_compiler_rtti_exceptions
=yes
15909 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15910 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15912 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15913 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15920 lt_prog_compiler_wl_GCJ
=
15921 lt_prog_compiler_pic_GCJ
=
15922 lt_prog_compiler_static_GCJ
=
15924 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15925 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15927 if test "$GCC" = yes; then
15928 lt_prog_compiler_wl_GCJ
='-Wl,'
15929 lt_prog_compiler_static_GCJ
='-static'
15933 # All AIX code is PIC.
15934 if test "$host_cpu" = ia64
; then
15935 # AIX 5 now supports IA64 processor
15936 lt_prog_compiler_static_GCJ
='-Bstatic'
15941 # FIXME: we need at least 68020 code to build shared libraries, but
15942 # adding the `-m68020' flag to GCC prevents building anything better,
15944 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15947 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15948 # PIC is the default for these OSes.
15951 mingw
* | pw32
* | os2
*)
15952 # This hack is so that the source file can tell whether it is being
15953 # built for inclusion in a dll (and should export symbols for example).
15954 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15957 darwin
* | rhapsody
*)
15958 # PIC is the default on this platform
15959 # Common symbols not allowed in MH_DYLIB files
15960 lt_prog_compiler_pic_GCJ
='-fno-common'
15964 # Just because we use GCC doesn't mean we suddenly get shared libraries
15965 # on systems that don't support them.
15966 lt_prog_compiler_can_build_shared_GCJ
=no
15971 if test -d /usr
/nec
; then
15972 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15977 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15978 # not for PA HP-UX.
15979 case "$host_cpu" in
15984 lt_prog_compiler_pic_GCJ
='-fPIC'
15990 lt_prog_compiler_pic_GCJ
='-fPIC'
15994 # PORTME Check for flag to pass linker flags through the system compiler.
15997 lt_prog_compiler_wl_GCJ
='-Wl,'
15998 if test "$host_cpu" = ia64
; then
15999 # AIX 5 now supports IA64 processor
16000 lt_prog_compiler_static_GCJ
='-Bstatic'
16002 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16006 # PIC is the default on this platform
16007 # Common symbols not allowed in MH_DYLIB files
16008 case $cc_basename in
16010 lt_prog_compiler_pic_GCJ
='-qnocommon'
16011 lt_prog_compiler_wl_GCJ
='-Wl,'
16016 mingw
* | pw32
* | os2
*)
16017 # This hack is so that the source file can tell whether it is being
16018 # built for inclusion in a dll (and should export symbols for example).
16019 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16022 hpux9
* | hpux10
* | hpux11
*)
16023 lt_prog_compiler_wl_GCJ
='-Wl,'
16024 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16025 # not for PA HP-UX.
16026 case "$host_cpu" in
16031 lt_prog_compiler_pic_GCJ
='+Z'
16034 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16035 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16038 irix5
* | irix6
* | nonstopux
*)
16039 lt_prog_compiler_wl_GCJ
='-Wl,'
16040 # PIC (with -KPIC) is the default.
16041 lt_prog_compiler_static_GCJ
='-non_shared'
16045 lt_prog_compiler_pic_GCJ
='-KPIC'
16046 lt_prog_compiler_static_GCJ
='-Bstatic'
16050 case $cc_basename in
16052 lt_prog_compiler_wl_GCJ
='-Wl,'
16053 lt_prog_compiler_pic_GCJ
='-KPIC'
16054 lt_prog_compiler_static_GCJ
='-static'
16056 pgcc
* | pgf77
* | pgf90
*)
16057 # Portland Group compilers (*not* the Pentium gcc compiler,
16058 # which looks to be a dead project)
16059 lt_prog_compiler_wl_GCJ
='-Wl,'
16060 lt_prog_compiler_pic_GCJ
='-fpic'
16061 lt_prog_compiler_static_GCJ
='-static'
16064 lt_prog_compiler_wl_GCJ
='-Wl,'
16065 # All Alpha code is PIC.
16066 lt_prog_compiler_static_GCJ
='-non_shared'
16071 osf3
* | osf4
* | osf5
*)
16072 lt_prog_compiler_wl_GCJ
='-Wl,'
16073 # All OSF/1 code is PIC.
16074 lt_prog_compiler_static_GCJ
='-non_shared'
16078 lt_prog_compiler_pic_GCJ
='-Kpic'
16079 lt_prog_compiler_static_GCJ
='-dn'
16083 lt_prog_compiler_pic_GCJ
='-KPIC'
16084 lt_prog_compiler_static_GCJ
='-Bstatic'
16085 case $cc_basename in
16086 f77
* | f90
* | f95
*)
16087 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16089 lt_prog_compiler_wl_GCJ
='-Wl,';;
16094 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16095 lt_prog_compiler_pic_GCJ
='-PIC'
16096 lt_prog_compiler_static_GCJ
='-Bstatic'
16099 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16100 lt_prog_compiler_wl_GCJ
='-Wl,'
16101 lt_prog_compiler_pic_GCJ
='-KPIC'
16102 lt_prog_compiler_static_GCJ
='-Bstatic'
16106 if test -d /usr
/nec
;then
16107 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16108 lt_prog_compiler_static_GCJ
='-Bstatic'
16113 lt_prog_compiler_wl_GCJ
='-Wl,'
16114 lt_prog_compiler_can_build_shared_GCJ
=no
16118 lt_prog_compiler_pic_GCJ
='-pic'
16119 lt_prog_compiler_static_GCJ
='-Bstatic'
16123 lt_prog_compiler_can_build_shared_GCJ
=no
16128 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16129 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16132 # Check to make sure the PIC flag actually works.
16134 if test -n "$lt_prog_compiler_pic_GCJ"; then
16136 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16137 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16138 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16141 lt_prog_compiler_pic_works_GCJ
=no
16142 ac_outfile
=conftest.
$ac_objext
16143 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16144 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16145 # Insert the option either (1) after the last *FLAGS variable, or
16146 # (2) before a word containing "conftest.", or (3) at the end.
16147 # Note that $ac_compile itself does not contain backslashes and begins
16148 # with a dollar sign (not a hyphen), so the echo should work correctly.
16149 # The option is referenced via a variable to avoid confusing sed.
16150 lt_compile
=`echo "$ac_compile" | $SED \
16151 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16152 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16153 -e 's:$: $lt_compiler_flag:'`
16154 (eval echo "\"\$as_me:16154: $lt_compile\"" >&5)
16155 (eval "$lt_compile" 2>conftest.err
)
16157 cat conftest.err
>&5
16158 echo "$as_me:16158: \$? = $ac_status" >&5
16159 if (exit $ac_status) && test -s "$ac_outfile"; then
16160 # The compiler can only warn and ignore the option if not recognized
16161 # So say no if there are warnings other than the usual output.
16162 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
16163 $SED '/^$/d' conftest.err
>conftest.er2
16164 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16165 lt_prog_compiler_pic_works_GCJ
=yes
16171 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16172 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16174 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16175 case $lt_prog_compiler_pic_GCJ in
16177 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16180 lt_prog_compiler_pic_GCJ
=
16181 lt_prog_compiler_can_build_shared_GCJ
=no
16186 # For platforms which do not support PIC, -DPIC is meaningless:
16188 lt_prog_compiler_pic_GCJ
=
16191 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16195 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16196 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16197 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16198 echo $ECHO_N "(cached) $ECHO_C" >&6
16200 lt_cv_prog_compiler_c_o_GCJ
=no
16201 $rm -r conftest
2>/dev
/null
16205 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16207 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16208 # Insert the option either (1) after the last *FLAGS variable, or
16209 # (2) before a word containing "conftest.", or (3) at the end.
16210 # Note that $ac_compile itself does not contain backslashes and begins
16211 # with a dollar sign (not a hyphen), so the echo should work correctly.
16212 lt_compile
=`echo "$ac_compile" | $SED \
16213 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16214 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16215 -e 's:$: $lt_compiler_flag:'`
16216 (eval echo "\"\$as_me:16216: $lt_compile\"" >&5)
16217 (eval "$lt_compile" 2>out
/conftest.err
)
16219 cat out
/conftest.err
>&5
16220 echo "$as_me:16220: \$? = $ac_status" >&5
16221 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16223 # The compiler can only warn and ignore the option if not recognized
16224 # So say no if there are warnings
16225 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
16226 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
16227 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16228 lt_cv_prog_compiler_c_o_GCJ
=yes
16233 # SGI C++ compiler will create directory out/ii_files/ for
16234 # template instantiation
16235 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16236 $rm out
/* && rmdir out
16242 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16243 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16246 hard_links
="nottested"
16247 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16248 # do not overwrite the value of need_locks provided by the user
16249 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16250 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16253 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16255 ln conftest.a conftest.b
2>&5 || hard_links
=no
16256 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16257 echo "$as_me:$LINENO: result: $hard_links" >&5
16258 echo "${ECHO_T}$hard_links" >&6
16259 if test "$hard_links" = no
; then
16260 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16261 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16268 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16269 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16272 allow_undefined_flag_GCJ
=
16273 enable_shared_with_static_runtimes_GCJ
=no
16275 archive_expsym_cmds_GCJ
=
16276 old_archive_From_new_cmds_GCJ
=
16277 old_archive_from_expsyms_cmds_GCJ
=
16278 export_dynamic_flag_spec_GCJ
=
16279 whole_archive_flag_spec_GCJ
=
16280 thread_safe_flag_spec_GCJ
=
16281 hardcode_libdir_flag_spec_GCJ
=
16282 hardcode_libdir_flag_spec_ld_GCJ
=
16283 hardcode_libdir_separator_GCJ
=
16284 hardcode_direct_GCJ
=no
16285 hardcode_minus_L_GCJ
=no
16286 hardcode_shlibpath_var_GCJ
=unsupported
16287 link_all_deplibs_GCJ
=unknown
16288 hardcode_automatic_GCJ
=no
16290 module_expsym_cmds_GCJ
=
16291 always_export_symbols_GCJ
=no
16292 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16293 # include_expsyms should be a list of space-separated symbols to be *always*
16294 # included in the symbol list
16295 include_expsyms_GCJ
=
16296 # exclude_expsyms can be an extended regexp of symbols to exclude
16297 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16298 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16299 # as well as any symbol that contains `d'.
16300 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16301 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16302 # platforms (ab)use it in PIC code, but their linkers get confused if
16303 # the symbol is explicitly referenced. Since portable code cannot
16304 # rely on this symbol name, it's probably fine to never include it in
16305 # preloaded symbol tables.
16306 extract_expsyms_cmds
=
16307 # Just being paranoid about ensuring that cc_basename is set.
16308 for cc_temp
in $compiler""; do
16310 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16311 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16316 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16319 cygwin
* | mingw
* | pw32
*)
16320 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16321 # When not using gcc, we currently assume that we are using
16322 # Microsoft Visual C++.
16323 if test "$GCC" != yes; then
16333 if test "$with_gnu_ld" = yes; then
16334 # If archive_cmds runs LD, not CC, wlarc should be empty
16337 # Set some defaults for GNU ld with shared library support. These
16338 # are reset later if shared libraries are not supported. Putting them
16339 # here allows them to be overridden if necessary.
16340 runpath_var
=LD_RUN_PATH
16341 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16342 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16343 # ancient GNU ld didn't support --whole-archive et. al.
16344 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16345 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16347 whole_archive_flag_spec_GCJ
=
16349 supports_anon_versioning
=no
16350 case `$LD -v 2>/dev/null` in
16351 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16352 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16353 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16354 *\
2.11.
*) ;; # other 2.11 versions
16355 *) supports_anon_versioning
=yes ;;
16358 # See if GNU ld supports shared libraries.
16360 aix3
* | aix4
* | aix5
*)
16361 # On AIX/PPC, the GNU linker is very broken
16362 if test "$host_cpu" != ia64
; then
16366 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16367 *** to be unable to reliably create shared libraries on AIX.
16368 *** Therefore, libtool is disabling shared libraries support. If you
16369 *** really care for shared libraries, you may want to modify your PATH
16370 *** so that a non-GNU linker is found, and then restart.
16377 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)'
16378 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16379 hardcode_minus_L_GCJ
=yes
16381 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16382 # that the semantics of dynamic libraries on AmigaOS, at least up
16383 # to version 4, is to share data among multiple programs linked
16384 # with the same dynamic library. Since this doesn't match the
16385 # behavior of shared libraries on other platforms, we can't use
16391 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16392 allow_undefined_flag_GCJ
=unsupported
16393 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16394 # support --undefined. This deserves some investigation. FIXME
16395 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16401 cygwin
* | mingw
* | pw32
*)
16402 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16403 # as there is no search path for DLLs.
16404 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16405 allow_undefined_flag_GCJ
=unsupported
16406 always_export_symbols_GCJ
=no
16407 enable_shared_with_static_runtimes_GCJ
=yes
16408 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16410 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16411 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16412 # If the export-symbols file already is a .def file (1st line
16413 # is EXPORTS), use it as is; otherwise, prepend...
16414 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16415 cp $export_symbols $output_objdir/$soname.def;
16417 echo EXPORTS > $output_objdir/$soname.def;
16418 cat $export_symbols >> $output_objdir/$soname.def;
16420 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16427 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16429 case $cc_basename,$host_cpu in
16430 pgcc
*) # Portland Group C compiler
16431 whole_archive_flag_spec_GCJ
=
16433 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
16434 whole_archive_flag_spec_GCJ
=
16435 tmp_addflag
=' -fpic -Mnomain' ;;
16436 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16437 tmp_addflag
=' -i_dynamic' ;;
16438 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16439 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16440 ifc
* | ifort
*) # Intel Fortran compiler
16441 tmp_addflag
=' -nofor_main' ;;
16443 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16445 if test $supports_anon_versioning = yes; then
16446 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16447 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16448 $echo "local: *; };" >> $output_objdir/$libname.ver~
16449 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16457 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16458 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16461 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16462 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16467 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16471 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16472 *** create shared libraries on Solaris systems. Therefore, libtool
16473 *** is disabling shared libraries support. We urge you to upgrade GNU
16474 *** binutils to release 2.9.1 or newer. Another option is to modify
16475 *** your PATH or compiler configuration so that the native linker is
16476 *** used, and then restart.
16479 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16480 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16481 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16488 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16490 hardcode_direct_GCJ
=yes
16491 hardcode_shlibpath_var_GCJ
=no
16495 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16496 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16497 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16504 if test "$ld_shlibs_GCJ" = no
; then
16506 hardcode_libdir_flag_spec_GCJ
=
16507 export_dynamic_flag_spec_GCJ
=
16508 whole_archive_flag_spec_GCJ
=
16511 # PORTME fill in a description of your system's linker (not GNU ld)
16514 allow_undefined_flag_GCJ
=unsupported
16515 always_export_symbols_GCJ
=yes
16516 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'
16517 # Note: this linker hardcodes the directories in LIBPATH if there
16518 # are no directories specified by -L.
16519 hardcode_minus_L_GCJ
=yes
16520 if test "$GCC" = yes && test -z "$link_static_flag"; then
16521 # Neither direct hardcoding nor static linking is supported with a
16523 hardcode_direct_GCJ
=unsupported
16528 if test "$host_cpu" = ia64
; then
16529 # On IA64, the linker does run time linking by default, so we don't
16530 # have to do anything special.
16531 aix_use_runtimelinking
=no
16532 exp_sym_flag
='-Bexport'
16535 # If we're using GNU nm, then we don't want the "-C" option.
16536 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16537 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16538 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'
16540 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'
16542 aix_use_runtimelinking
=no
16544 # Test if we are trying to use run time linking or normal
16545 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16546 # need to do runtime linking.
16547 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16548 for ld_flag
in $LDFLAGS; do
16549 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16550 aix_use_runtimelinking
=yes
16556 exp_sym_flag
='-bexport'
16557 no_entry_flag
='-bnoentry'
16560 # When large executables or shared objects are built, AIX ld can
16561 # have problems creating the table of contents. If linking a library
16562 # or program results in "error TOC overflow" add -mminimal-toc to
16563 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16564 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16566 archive_cmds_GCJ
=''
16567 hardcode_direct_GCJ
=yes
16568 hardcode_libdir_separator_GCJ
=':'
16569 link_all_deplibs_GCJ
=yes
16571 if test "$GCC" = yes; then
16572 case $host_os in aix4.
[012]|aix4.
[012].
*)
16573 # We only want to do this on AIX 4.2 and lower, the check
16574 # below for broken collect2 doesn't work under 4.3+
16575 collect2name
=`${CC} -print-prog-name=collect2`
16576 if test -f "$collect2name" && \
16577 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16579 # We have reworked collect2
16580 hardcode_direct_GCJ
=yes
16582 # We have old collect2
16583 hardcode_direct_GCJ
=unsupported
16584 # It fails to find uninstalled libraries when the uninstalled
16585 # path is not listed in the libpath. Setting hardcode_minus_L
16586 # to unsupported forces relinking
16587 hardcode_minus_L_GCJ
=yes
16588 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16589 hardcode_libdir_separator_GCJ
=
16592 shared_flag
='-shared'
16593 if test "$aix_use_runtimelinking" = yes; then
16594 shared_flag
="$shared_flag "'${wl}-G'
16598 if test "$host_cpu" = ia64
; then
16599 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16600 # chokes on -Wl,-G. The following line is correct:
16603 if test "$aix_use_runtimelinking" = yes; then
16604 shared_flag
='${wl}-G'
16606 shared_flag
='${wl}-bM:SRE'
16611 # It seems that -bexpall does not export symbols beginning with
16612 # underscore (_), so it is better to generate a list of symbols to export.
16613 always_export_symbols_GCJ
=yes
16614 if test "$aix_use_runtimelinking" = yes; then
16615 # Warning - without using the other runtime loading flags (-brtl),
16616 # -berok will link without error, but may produce a broken library.
16617 allow_undefined_flag_GCJ
='-berok'
16618 # Determine the default libpath from the value encoded in an empty executable.
16619 cat >conftest.
$ac_ext <<_ACEOF
16622 cat confdefs.h
>>conftest.
$ac_ext
16623 cat >>conftest.
$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16634 rm -f conftest.
$ac_objext conftest
$ac_exeext
16635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16636 (eval $ac_link) 2>conftest.er1
16638 grep -v '^ *+' conftest.er1
>conftest.err
16640 cat conftest.err
>&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); } &&
16643 { ac_try
='test -z "$ac_c_werror_flag"
16644 || test ! -s conftest.err'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; } &&
16650 { ac_try
='test -s conftest$ac_exeext'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; }; then
16657 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16659 # Check for a 64-bit object if we didn't find anything.
16660 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; }
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.
$ac_ext >&5
16667 rm -f conftest.err conftest.
$ac_objext \
16668 conftest
$ac_exeext conftest.
$ac_ext
16669 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16671 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16672 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"
16674 if test "$host_cpu" = ia64; then
16675 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
16676 allow_undefined_flag_GCJ="-z nodefs"
16677 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"
16679 # Determine the default libpath from the value encoded in an empty executable.
16680 cat >conftest.$ac_ext <<_ACEOF
16683 cat confdefs.h >>conftest.$ac_ext
16684 cat >>conftest.$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16695 rm -f conftest.$ac_objext conftest$ac_exeext
16696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16697 (eval $ac_link) 2>conftest.er1
16699 grep -v '^ *+' conftest.er1 >conftest.err
16701 cat conftest.err >&5
16702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16703 (exit $ac_status); } &&
16704 { ac_try='test -z "$ac_c_werror_flag"
16705 || test ! -s conftest.err'
16706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16707 (eval $ac_try) 2>&5
16709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16710 (exit $ac_status); }; } &&
16711 { ac_try='test -s conftest$ac_exeext'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16716 (exit $ac_status); }; }; then
16718 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16720 # Check for a 64-bit object if we didn't find anything.
16721 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; }
16724 echo "$as_me: failed program was
:" >&5
16725 sed 's/^/| /' conftest.$ac_ext >&5
16728 rm -f conftest.err conftest.$ac_objext \
16729 conftest$ac_exeext conftest.$ac_ext
16730 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16732 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16733 # Warning - without using the other run time loading flags,
16734 # -berok will link without error, but may produce a broken library.
16735 no_undefined_flag_GCJ=' ${wl}-bernotok'
16736 allow_undefined_flag_GCJ=' ${wl}-berok'
16737 # -bexpall does not export symbols beginning with underscore (_)
16738 always_export_symbols_GCJ=yes
16739 # Exported symbols can be pulled into shared objects from archives
16740 whole_archive_flag_spec_GCJ=' '
16741 archive_cmds_need_lc_GCJ=yes
16742 # This is similar to how AIX traditionally builds it's shared libraries.
16743 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'
16749 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)'
16750 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16751 hardcode_minus_L_GCJ
=yes
16752 # see comment about different semantics on the GNU ld section
16757 export_dynamic_flag_spec_GCJ
=-rdynamic
16760 cygwin
* | mingw
* | pw32
*)
16761 # When not using gcc, we currently assume that we are using
16762 # Microsoft Visual C++.
16763 # hardcode_libdir_flag_spec is actually meaningless, as there is
16764 # no search path for DLLs.
16765 hardcode_libdir_flag_spec_GCJ
=' '
16766 allow_undefined_flag_GCJ
=unsupported
16767 # Tell ltmain to make .lib files, not .a files.
16769 # Tell ltmain to make .dll files, not .so files.
16771 # FIXME: Setting linknames here is a bad hack.
16772 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16773 # The linker will automatically build a .lib file if we build a DLL.
16774 old_archive_From_new_cmds_GCJ
='true'
16775 # FIXME: Should let the user specify the lib program.
16776 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16777 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16778 enable_shared_with_static_runtimes_GCJ
=yes
16781 darwin
* | rhapsody
*)
16783 rhapsody
* | darwin1.
[012])
16784 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16787 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16788 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16790 case ${MACOSX_DEPLOYMENT_TARGET} in
16792 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16795 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16801 archive_cmds_need_lc_GCJ
=no
16802 hardcode_direct_GCJ
=no
16803 hardcode_automatic_GCJ
=yes
16804 hardcode_shlibpath_var_GCJ
=unsupported
16805 whole_archive_flag_spec_GCJ
=''
16806 link_all_deplibs_GCJ
=yes
16807 if test "$GCC" = yes ; then
16808 output_verbose_link_cmd
='echo'
16809 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16810 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16811 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16812 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}'
16813 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}'
16815 case $cc_basename in
16817 output_verbose_link_cmd
='echo'
16818 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16819 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16820 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16821 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}'
16822 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}'
16832 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16833 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16834 hardcode_shlibpath_var_GCJ
=no
16841 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16842 # support. Future versions do this automatically, but an explicit c++rt0.o
16843 # does not break anything, and helps significantly (at the cost of a little
16846 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16847 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16848 hardcode_direct_GCJ
=yes
16849 hardcode_shlibpath_var_GCJ
=no
16852 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16854 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16855 hardcode_direct_GCJ
=yes
16856 hardcode_minus_L_GCJ
=yes
16857 hardcode_shlibpath_var_GCJ
=no
16860 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16861 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16862 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16863 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16864 hardcode_direct_GCJ
=yes
16865 hardcode_shlibpath_var_GCJ
=no
16869 if test "$GCC" = yes; then
16870 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'
16872 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'
16874 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16875 hardcode_libdir_separator_GCJ
=:
16876 hardcode_direct_GCJ
=yes
16878 # hardcode_minus_L: Not really in the search PATH,
16879 # but as the default location of the library.
16880 hardcode_minus_L_GCJ
=yes
16881 export_dynamic_flag_spec_GCJ
='${wl}-E'
16885 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16886 case "$host_cpu" in
16888 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16891 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16895 case "$host_cpu" in
16897 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16900 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16904 if test "$with_gnu_ld" = no
; then
16905 case "$host_cpu" in
16907 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16908 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16909 hardcode_libdir_separator_GCJ
=:
16910 hardcode_direct_GCJ
=no
16911 hardcode_shlibpath_var_GCJ
=no
16914 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16915 hardcode_direct_GCJ
=no
16916 hardcode_shlibpath_var_GCJ
=no
16918 # hardcode_minus_L: Not really in the search PATH,
16919 # but as the default location of the library.
16920 hardcode_minus_L_GCJ
=yes
16923 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16924 hardcode_libdir_separator_GCJ
=:
16925 hardcode_direct_GCJ
=yes
16926 export_dynamic_flag_spec_GCJ
='${wl}-E'
16928 # hardcode_minus_L: Not really in the search PATH,
16929 # but as the default location of the library.
16930 hardcode_minus_L_GCJ
=yes
16936 irix5
* | irix6
* | nonstopux
*)
16937 if test "$GCC" = yes; then
16938 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'
16940 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'
16941 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16943 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16944 hardcode_libdir_separator_GCJ
=:
16945 link_all_deplibs_GCJ
=yes
16949 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16950 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16952 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16954 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16955 hardcode_direct_GCJ
=yes
16956 hardcode_shlibpath_var_GCJ
=no
16960 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16961 hardcode_direct_GCJ
=yes
16962 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16963 hardcode_libdir_separator_GCJ
=:
16964 hardcode_shlibpath_var_GCJ
=no
16968 hardcode_direct_GCJ
=yes
16969 hardcode_shlibpath_var_GCJ
=no
16970 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16971 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16972 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16973 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16974 export_dynamic_flag_spec_GCJ
='${wl}-E'
16977 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16978 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16979 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16982 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16983 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16990 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16991 hardcode_minus_L_GCJ
=yes
16992 allow_undefined_flag_GCJ
=unsupported
16993 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'
16994 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16998 if test "$GCC" = yes; then
16999 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17000 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'
17002 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17003 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'
17005 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17006 hardcode_libdir_separator_GCJ
=:
17009 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17010 if test "$GCC" = yes; then
17011 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17012 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'
17013 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17015 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17016 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'
17017 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~
17018 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17020 # Both c and cxx compiler support -rpath directly
17021 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17023 hardcode_libdir_separator_GCJ
=:
17027 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17028 hardcode_shlibpath_var_GCJ
=no
17029 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17030 runpath_var
=LD_RUN_PATH
17031 hardcode_runpath_var
=yes
17035 no_undefined_flag_GCJ
=' -z text'
17036 if test "$GCC" = yes; then
17038 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17039 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17040 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17043 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17044 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17045 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17047 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17048 hardcode_shlibpath_var_GCJ
=no
17050 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17052 # The compiler driver will combine linker options so we
17053 # cannot just pass the convience library names through
17054 # without $wl, iff we do not link with $LD.
17055 # Luckily, gcc supports the same syntax we need for Sun Studio.
17056 # Supported since Solaris 2.6 (maybe 2.5.1?)
17059 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17061 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17064 link_all_deplibs_GCJ
=yes
17068 if test "x$host_vendor" = xsequent
; then
17069 # Use $CC to link under sequent, because it throws in some extra .o
17070 # files that make .init and .fini sections work.
17071 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17073 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17075 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17076 hardcode_direct_GCJ
=yes
17077 hardcode_minus_L_GCJ
=yes
17078 hardcode_shlibpath_var_GCJ
=no
17082 case $host_vendor in
17084 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17085 hardcode_direct_GCJ
=yes # is this really true???
17088 ## LD is ld it makes a PLAMLIB
17089 ## CC just makes a GrossModule.
17090 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17091 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17092 hardcode_direct_GCJ
=no
17095 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17096 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17099 runpath_var
='LD_RUN_PATH'
17100 hardcode_shlibpath_var_GCJ
=no
17104 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17105 hardcode_shlibpath_var_GCJ
=no
17106 export_dynamic_flag_spec_GCJ
='-Bexport'
17110 if test -d /usr
/nec
; then
17111 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17112 hardcode_shlibpath_var_GCJ
=no
17113 runpath_var
=LD_RUN_PATH
17114 hardcode_runpath_var
=yes
17120 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17121 hardcode_direct_GCJ
=yes
17122 hardcode_minus_L_GCJ
=no
17123 hardcode_shlibpath_var_GCJ
=no
17124 hardcode_runpath_var
=yes
17125 runpath_var
=LD_RUN_PATH
17128 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17129 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
17130 if test "$GCC" = yes; then
17131 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17133 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17135 runpath_var
='LD_RUN_PATH'
17136 hardcode_shlibpath_var_GCJ
=no
17140 no_undefined_flag_GCJ
=' -z text'
17141 # $CC -shared without GNU ld will not create a library from C++
17142 # object files and a static libstdc++, better avoid it by now
17143 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17144 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17145 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17146 hardcode_libdir_flag_spec_GCJ
=
17147 hardcode_shlibpath_var_GCJ
=no
17148 runpath_var
='LD_RUN_PATH'
17152 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17153 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17154 hardcode_shlibpath_var_GCJ
=no
17163 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17164 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17165 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17167 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17168 if test "$GCC" = yes; then
17169 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17173 # Do we need to explicitly link libc?
17175 case "x$archive_cmds_need_lc_GCJ" in
17177 # Assume -lc should be added
17178 archive_cmds_need_lc_GCJ
=yes
17180 if test "$enable_shared" = yes && test "$GCC" = yes; then
17181 case $archive_cmds_GCJ in
17183 # FIXME: we may have to deal with multi-command sequences.
17186 # Test whether the compiler implicitly links with -lc since on some
17187 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17188 # to ld, don't add -lc before -lgcc.
17189 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17190 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17192 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17195 (eval $ac_compile) 2>&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); } 2>conftest.err
; then
17201 libobjs
=conftest.
$ac_objext
17203 wl
=$lt_prog_compiler_wl_GCJ
17209 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17210 allow_undefined_flag_GCJ
=
17211 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17212 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }
17217 archive_cmds_need_lc_GCJ
=no
17219 archive_cmds_need_lc_GCJ
=yes
17221 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17223 cat conftest.err
1>&5
17226 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17227 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17234 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17235 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17236 library_names_spec
=
17237 libname_spec
='lib$name'
17241 postuninstall_cmds
=
17245 shlibpath_overrides_runpath
=unknown
17247 dynamic_linker
="$host_os ld.so"
17248 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17249 if test "$GCC" = yes; then
17250 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17251 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17252 # if the path contains ";" then we assume it to be the separator
17253 # otherwise default to the standard path separator (i.e. ":") - it is
17254 # assumed that no part of a normal pathname contains ";" but that should
17255 # okay in the real world where ";" in dirpaths is itself problematic.
17256 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17258 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17261 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17263 need_lib_prefix
=unknown
17264 hardcode_into_libs
=no
17266 # when you set need_version to no, make sure it does not cause -set_version
17267 # flags to be left without arguments
17268 need_version
=unknown
17273 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17274 shlibpath_var
=LIBPATH
17276 # AIX 3 has no versioning support, so we append a major version to the name.
17277 soname_spec
='${libname}${release}${shared_ext}$major'
17284 hardcode_into_libs
=yes
17285 if test "$host_cpu" = ia64
; then
17286 # AIX 5 supports IA64
17287 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17288 shlibpath_var
=LD_LIBRARY_PATH
17290 # With GCC up to 2.95.x, collect2 would create an import file
17291 # for dependence libraries. The import file would start with
17292 # the line `#! .'. This would cause the generated library to
17293 # depend on `.', always an invalid library. This was fixed in
17294 # development snapshots of GCC prior to 3.0.
17296 aix4 | aix4.
[01] | aix4.
[01].
*)
17297 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17299 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17302 can_build_shared
=no
17306 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17307 # soname into executable. Probably we can add versioning support to
17308 # collect2, so additional links can be useful in future.
17309 if test "$aix_use_runtimelinking" = yes; then
17310 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17311 # instead of lib<name>.a to let people know that these are not
17312 # typical AIX shared libraries.
17313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17315 # We preserve .a as extension for shared libraries through AIX4.2
17316 # and later when we are not doing run time linking.
17317 library_names_spec
='${libname}${release}.a $libname.a'
17318 soname_spec
='${libname}${release}${shared_ext}$major'
17320 shlibpath_var
=LIBPATH
17325 library_names_spec
='$libname.ixlibrary $libname.a'
17326 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17327 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'
17331 library_names_spec
='${libname}${shared_ext}'
17332 dynamic_linker
="$host_os ld.so"
17333 shlibpath_var
=LIBRARY_PATH
17339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17340 soname_spec
='${libname}${release}${shared_ext}$major'
17341 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17342 shlibpath_var
=LD_LIBRARY_PATH
17343 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17344 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17345 # the default ld.so.conf also contains /usr/contrib/lib and
17346 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17347 # libtool to hard-code these into programs
17350 cygwin
* | mingw
* | pw32
*)
17351 version_type
=windows
17356 case $GCC,$host_os in
17357 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17358 library_names_spec
='$libname.dll.a'
17359 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17360 postinstall_cmds
='base_file=`basename \${file}`~
17361 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17362 dldir=$destdir/`dirname \$dlpath`~
17363 test -d \$dldir || mkdir -p \$dldir~
17364 $install_prog $dir/$dlname \$dldir/$dlname'
17365 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17366 dlpath=$dir/\$dldll~
17368 shlibpath_overrides_runpath
=yes
17372 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17373 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17374 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17377 # MinGW DLLs use traditional 'lib' prefix
17378 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17379 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17380 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17381 # It is most probably a Windows format PATH printed by
17382 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17383 # path with ; separators, and with drive letters. We can handle the
17384 # drive letters (cygwin fileutils understands them), so leave them,
17385 # especially as we might pass files found there to a mingw objdump,
17386 # which wouldn't understand a cygwinified path. Ahh.
17387 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17389 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17393 # pw32 DLLs use 'pw' prefix rather than 'lib'
17394 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17400 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17403 dynamic_linker
='Win32 ld.exe'
17404 # FIXME: first we should search . and the directory the executable is in
17408 darwin
* | rhapsody
*)
17409 dynamic_linker
="$host_os dyld"
17410 version_type
=darwin
17413 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17414 soname_spec
='${libname}${release}${major}$shared_ext'
17415 shlibpath_overrides_runpath
=yes
17416 shlibpath_var
=DYLD_LIBRARY_PATH
17417 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
17418 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17419 if test "$GCC" = yes; then
17420 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"`
17422 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17424 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17432 soname_spec
='${libname}${release}${shared_ext}$major'
17433 shlibpath_var
=LD_LIBRARY_PATH
17444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17445 soname_spec
='${libname}${release}${shared_ext}$major'
17446 shlibpath_var
=LD_LIBRARY_PATH
17447 shlibpath_overrides_runpath
=no
17448 hardcode_into_libs
=yes
17449 dynamic_linker
='GNU ld.so'
17452 freebsd
* | dragonfly
*)
17453 # DragonFly does not have aout. When/if they implement a new
17454 # versioning mechanism, adjust this.
17455 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17456 version_type
=freebsd-
$objformat
17457 case $version_type in
17459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17464 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17468 shlibpath_var
=LD_LIBRARY_PATH
17471 shlibpath_overrides_runpath
=yes
17473 freebsd3.
[01]* | freebsdelf3.
[01]*)
17474 shlibpath_overrides_runpath
=yes
17475 hardcode_into_libs
=yes
17478 shlibpath_overrides_runpath
=no
17479 hardcode_into_libs
=yes
17488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17489 soname_spec
='${libname}${release}${shared_ext}$major'
17490 shlibpath_var
=LD_LIBRARY_PATH
17491 hardcode_into_libs
=yes
17494 hpux9
* | hpux10
* | hpux11
*)
17495 # Give a soname corresponding to the major version so that dld.sl refuses to
17496 # link against other versions.
17500 case "$host_cpu" in
17503 hardcode_into_libs
=yes
17504 dynamic_linker
="$host_os dld.so"
17505 shlibpath_var
=LD_LIBRARY_PATH
17506 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17508 soname_spec
='${libname}${release}${shared_ext}$major'
17509 if test "X$HPUX_IA64_MODE" = X32
; then
17510 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17512 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17514 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17518 hardcode_into_libs
=yes
17519 dynamic_linker
="$host_os dld.sl"
17520 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17521 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17523 soname_spec
='${libname}${release}${shared_ext}$major'
17524 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17525 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17529 dynamic_linker
="$host_os dld.sl"
17530 shlibpath_var
=SHLIB_PATH
17531 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17533 soname_spec
='${libname}${release}${shared_ext}$major'
17536 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17537 postinstall_cmds
='chmod 555 $lib'
17540 irix5
* | irix6
* | nonstopux
*)
17542 nonstopux
*) version_type
=nonstopux
;;
17544 if test "$lt_cv_prog_gnu_ld" = yes; then
17552 soname_spec
='${libname}${release}${shared_ext}$major'
17553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17555 irix5
* | nonstopux
*)
17556 libsuff
= shlibsuff
=
17559 case $LD in # libtool.m4 will add one of these switches to LD
17560 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17561 libsuff
= shlibsuff
= libmagic
=32-bit;;
17562 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17563 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17564 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17565 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17566 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17570 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17571 shlibpath_overrides_runpath
=no
17572 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17573 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17574 hardcode_into_libs
=yes
17577 # No shared lib support for Linux oldld, aout, or coff.
17578 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17582 # This must be Linux ELF.
17587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17588 soname_spec
='${libname}${release}${shared_ext}$major'
17589 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17590 shlibpath_var
=LD_LIBRARY_PATH
17591 shlibpath_overrides_runpath
=no
17592 # This implies no fast_install, which is unacceptable.
17593 # Some rework will be needed to allow for fast_install
17594 # before this can be enabled.
17595 hardcode_into_libs
=yes
17597 # find out which ABI we are using
17599 case "$host_cpu" in
17600 x86_64
*|s390x
*|powerpc64
*)
17601 echo '#line 17601 "configure"' > conftest.
$ac_ext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603 (eval $ac_compile) 2>&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); }; then
17607 case `/usr/bin/file conftest.$ac_objext` in
17610 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17618 # Append ld.so.conf contents to the search path
17619 if test -f /etc
/ld.so.conf
; then
17620 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' ' '`
17621 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17624 # We used to test for /lib/ld.so.1 and disable shared libraries on
17625 # powerpc, because MkLinux only supported shared libraries with the
17626 # GNU dynamic linker. Since this was broken with cross compilers,
17627 # most powerpc-linux boxes support dynamic linking these days and
17628 # people can always --disable-shared, the test was removed, and we
17629 # assume the GNU/Linux dynamic linker is in use.
17630 dynamic_linker
='GNU/Linux ld.so'
17637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17638 soname_spec
='${libname}${release}${shared_ext}$major'
17639 shlibpath_var
=LD_LIBRARY_PATH
17640 shlibpath_overrides_runpath
=no
17641 hardcode_into_libs
=yes
17642 dynamic_linker
='GNU ld.so'
17649 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17651 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17652 dynamic_linker
='NetBSD (a.out) ld.so'
17654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17655 soname_spec
='${libname}${release}${shared_ext}$major'
17656 dynamic_linker
='NetBSD ld.elf_so'
17658 shlibpath_var
=LD_LIBRARY_PATH
17659 shlibpath_overrides_runpath
=yes
17660 hardcode_into_libs
=yes
17665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17666 shlibpath_var
=LD_LIBRARY_PATH
17667 shlibpath_overrides_runpath
=yes
17674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17675 soname_spec
='${libname}${release}${shared_ext}$major'
17676 shlibpath_var
=LD_LIBRARY_PATH
17677 shlibpath_overrides_runpath
=yes
17684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17685 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17686 shlibpath_var
=LD_LIBRARY_PATH
17687 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17689 openbsd2.
[89] | openbsd2.
[89].
*)
17690 shlibpath_overrides_runpath
=no
17693 shlibpath_overrides_runpath
=yes
17697 shlibpath_overrides_runpath
=yes
17702 libname_spec
='$name'
17705 library_names_spec
='$libname${shared_ext} $libname.a'
17706 dynamic_linker
='OS/2 ld.exe'
17707 shlibpath_var
=LIBPATH
17710 osf3
* | osf4
* | osf5
*)
17714 soname_spec
='${libname}${release}${shared_ext}$major'
17715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17716 shlibpath_var
=LD_LIBRARY_PATH
17717 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17718 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17723 soname_spec
='${libname}${release}${shared_ext}$major'
17724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17725 shlibpath_var
=LD_LIBRARY_PATH
17732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17733 soname_spec
='${libname}${release}${shared_ext}$major'
17734 shlibpath_var
=LD_LIBRARY_PATH
17735 shlibpath_overrides_runpath
=yes
17736 hardcode_into_libs
=yes
17737 # ldd complains unless libraries are executable
17738 postinstall_cmds
='chmod +x $lib'
17743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17744 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17745 shlibpath_var
=LD_LIBRARY_PATH
17746 shlibpath_overrides_runpath
=yes
17747 if test "$with_gnu_ld" = yes; then
17753 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17756 soname_spec
='${libname}${release}${shared_ext}$major'
17757 shlibpath_var
=LD_LIBRARY_PATH
17758 case $host_vendor in
17760 shlibpath_overrides_runpath
=no
17762 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17763 runpath_var
=LD_RUN_PATH
17771 shlibpath_overrides_runpath
=no
17772 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17778 if test -d /usr
/nec
;then
17780 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17781 soname_spec
='$libname${shared_ext}.$major'
17782 shlibpath_var
=LD_LIBRARY_PATH
17788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17789 soname_spec
='${libname}${release}${shared_ext}$major'
17790 shlibpath_var
=LD_LIBRARY_PATH
17797 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17798 echo "${ECHO_T}$dynamic_linker" >&6
17799 test "$dynamic_linker" = no
&& can_build_shared
=no
17801 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17802 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17803 hardcode_action_GCJ
=
17804 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17805 test -n "$runpath_var_GCJ" || \
17806 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17808 # We can hardcode non-existant directories.
17809 if test "$hardcode_direct_GCJ" != no
&&
17810 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17811 # have to relink, otherwise we might link with an installed library
17812 # when we should be linking with a yet-to-be-installed one
17813 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17814 test "$hardcode_minus_L_GCJ" != no
; then
17815 # Linking always hardcodes the temporary library directory.
17816 hardcode_action_GCJ
=relink
17818 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17819 hardcode_action_GCJ
=immediate
17822 # We cannot hardcode anything, or else we can only hardcode existing
17824 hardcode_action_GCJ
=unsupported
17826 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17827 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17829 if test "$hardcode_action_GCJ" = relink
; then
17830 # Fast installation is not supported
17831 enable_fast_install
=no
17832 elif test "$shlibpath_overrides_runpath" = yes ||
17833 test "$enable_shared" = no
; then
17834 # Fast installation is not necessary
17835 enable_fast_install
=needless
17840 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17841 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17842 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17843 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17844 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17845 echo "$as_me:$LINENO: result: yes" >&5
17846 echo "${ECHO_T}yes" >&6
17848 # FIXME - insert some real tests, host_os isn't really good enough
17851 if test -n "$STRIP" ; then
17852 striplib
="$STRIP -x"
17853 echo "$as_me:$LINENO: result: yes" >&5
17854 echo "${ECHO_T}yes" >&6
17856 echo "$as_me:$LINENO: result: no" >&5
17857 echo "${ECHO_T}no" >&6
17861 echo "$as_me:$LINENO: result: no" >&5
17862 echo "${ECHO_T}no" >&6
17867 if test "x$enable_dlopen" != xyes
; then
17868 enable_dlopen
=unknown
17869 enable_dlopen_self
=unknown
17870 enable_dlopen_self_static
=unknown
17877 lt_cv_dlopen
="load_add_on"
17879 lt_cv_dlopen_self
=yes
17883 lt_cv_dlopen
="LoadLibrary"
17888 lt_cv_dlopen
="dlopen"
17893 # if libdl is installed we need to link against it
17894 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17895 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17897 echo $ECHO_N "(cached) $ECHO_C" >&6
17899 ac_check_lib_save_LIBS
=$LIBS
17901 cat >conftest.
$ac_ext <<_ACEOF
17904 cat confdefs.h
>>conftest.
$ac_ext
17905 cat >>conftest.
$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17908 /* Override any gcc2 internal prototype to avoid an error. */
17912 /* We use char because int might match the return type of a gcc2
17913 builtin and then its argument prototype would still apply. */
17923 rm -f conftest.
$ac_objext conftest
$ac_exeext
17924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17925 (eval $ac_link) 2>conftest.er1
17927 grep -v '^ *+' conftest.er1
>conftest.err
17929 cat conftest.err
>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); } &&
17932 { ac_try
='test -z "$ac_c_werror_flag"
17933 || test ! -s conftest.err'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; } &&
17939 { ac_try
='test -s conftest$ac_exeext'
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; }; then
17945 ac_cv_lib_dl_dlopen
=yes
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.
$ac_ext >&5
17950 ac_cv_lib_dl_dlopen
=no
17952 rm -f conftest.err conftest.
$ac_objext \
17953 conftest
$ac_exeext conftest.
$ac_ext
17954 LIBS
=$ac_check_lib_save_LIBS
17956 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17957 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17958 if test $ac_cv_lib_dl_dlopen = yes; then
17959 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17962 lt_cv_dlopen
="dyld"
17964 lt_cv_dlopen_self
=yes
17971 echo "$as_me:$LINENO: checking for shl_load" >&5
17972 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17973 if test "${ac_cv_func_shl_load+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 cat >conftest.
$ac_ext <<_ACEOF
17979 cat confdefs.h
>>conftest.
$ac_ext
17980 cat >>conftest.
$ac_ext <<_ACEOF
17981 /* end confdefs.h. */
17982 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17984 #define shl_load innocuous_shl_load
17986 /* System header to define __stub macros and hopefully few prototypes,
17987 which can conflict with char shl_load (); below.
17988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17989 <limits.h> exists even on freestanding compilers. */
17992 # include <limits.h>
17994 # include <assert.h>
17999 /* Override any gcc2 internal prototype to avoid an error. */
18004 /* We use char because int might match the return type of a gcc2
18005 builtin and then its argument prototype would still apply. */
18007 /* The GNU C library defines this for functions which it implements
18008 to always fail with ENOSYS. Some functions are actually named
18009 something starting with __ and the normal name is an alias. */
18010 #if defined (__stub_shl_load) || defined (__stub___shl_load)
18013 char (*f) () = shl_load;
18022 return f != shl_load;
18027 rm -f conftest.
$ac_objext conftest
$ac_exeext
18028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18029 (eval $ac_link) 2>conftest.er1
18031 grep -v '^ *+' conftest.er1
>conftest.err
18033 cat conftest.err
>&5
18034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); } &&
18036 { ac_try
='test -z "$ac_c_werror_flag"
18037 || test ! -s conftest.err'
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; } &&
18043 { ac_try
='test -s conftest$ac_exeext'
18044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045 (eval $ac_try) 2>&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); }; }; then
18049 ac_cv_func_shl_load
=yes
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.
$ac_ext >&5
18054 ac_cv_func_shl_load
=no
18056 rm -f conftest.err conftest.
$ac_objext \
18057 conftest
$ac_exeext conftest.
$ac_ext
18059 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18060 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18061 if test $ac_cv_func_shl_load = yes; then
18062 lt_cv_dlopen
="shl_load"
18064 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18065 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18066 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18067 echo $ECHO_N "(cached) $ECHO_C" >&6
18069 ac_check_lib_save_LIBS
=$LIBS
18071 cat >conftest.
$ac_ext <<_ACEOF
18074 cat confdefs.h
>>conftest.
$ac_ext
18075 cat >>conftest.
$ac_ext <<_ACEOF
18076 /* end confdefs.h. */
18078 /* Override any gcc2 internal prototype to avoid an error. */
18082 /* We use char because int might match the return type of a gcc2
18083 builtin and then its argument prototype would still apply. */
18093 rm -f conftest.
$ac_objext conftest
$ac_exeext
18094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18095 (eval $ac_link) 2>conftest.er1
18097 grep -v '^ *+' conftest.er1
>conftest.err
18099 cat conftest.err
>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); } &&
18102 { ac_try
='test -z "$ac_c_werror_flag"
18103 || test ! -s conftest.err'
18104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18105 (eval $ac_try) 2>&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); }; } &&
18109 { ac_try
='test -s conftest$ac_exeext'
18110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18111 (eval $ac_try) 2>&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); }; }; then
18115 ac_cv_lib_dld_shl_load
=yes
18117 echo "$as_me: failed program was:" >&5
18118 sed 's/^/| /' conftest.
$ac_ext >&5
18120 ac_cv_lib_dld_shl_load
=no
18122 rm -f conftest.err conftest.
$ac_objext \
18123 conftest
$ac_exeext conftest.
$ac_ext
18124 LIBS
=$ac_check_lib_save_LIBS
18126 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18127 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18128 if test $ac_cv_lib_dld_shl_load = yes; then
18129 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
18131 echo "$as_me:$LINENO: checking for dlopen" >&5
18132 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18133 if test "${ac_cv_func_dlopen+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18136 cat >conftest.
$ac_ext <<_ACEOF
18139 cat confdefs.h
>>conftest.
$ac_ext
18140 cat >>conftest.
$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18142 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18144 #define dlopen innocuous_dlopen
18146 /* System header to define __stub macros and hopefully few prototypes,
18147 which can conflict with char dlopen (); below.
18148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18149 <limits.h> exists even on freestanding compilers. */
18152 # include <limits.h>
18154 # include <assert.h>
18159 /* Override any gcc2 internal prototype to avoid an error. */
18164 /* We use char because int might match the return type of a gcc2
18165 builtin and then its argument prototype would still apply. */
18167 /* The GNU C library defines this for functions which it implements
18168 to always fail with ENOSYS. Some functions are actually named
18169 something starting with __ and the normal name is an alias. */
18170 #if defined (__stub_dlopen) || defined (__stub___dlopen)
18173 char (*f) () = dlopen;
18182 return f != dlopen;
18187 rm -f conftest.
$ac_objext conftest
$ac_exeext
18188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18189 (eval $ac_link) 2>conftest.er1
18191 grep -v '^ *+' conftest.er1
>conftest.err
18193 cat conftest.err
>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); } &&
18196 { ac_try
='test -z "$ac_c_werror_flag"
18197 || test ! -s conftest.err'
18198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18199 (eval $ac_try) 2>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); }; } &&
18203 { ac_try
='test -s conftest$ac_exeext'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; }; then
18209 ac_cv_func_dlopen
=yes
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.
$ac_ext >&5
18214 ac_cv_func_dlopen
=no
18216 rm -f conftest.err conftest.
$ac_objext \
18217 conftest
$ac_exeext conftest.
$ac_ext
18219 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18220 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18221 if test $ac_cv_func_dlopen = yes; then
18222 lt_cv_dlopen
="dlopen"
18224 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18225 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18226 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18227 echo $ECHO_N "(cached) $ECHO_C" >&6
18229 ac_check_lib_save_LIBS
=$LIBS
18231 cat >conftest.
$ac_ext <<_ACEOF
18234 cat confdefs.h
>>conftest.
$ac_ext
18235 cat >>conftest.
$ac_ext <<_ACEOF
18236 /* end confdefs.h. */
18238 /* Override any gcc2 internal prototype to avoid an error. */
18242 /* We use char because int might match the return type of a gcc2
18243 builtin and then its argument prototype would still apply. */
18253 rm -f conftest.
$ac_objext conftest
$ac_exeext
18254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18255 (eval $ac_link) 2>conftest.er1
18257 grep -v '^ *+' conftest.er1
>conftest.err
18259 cat conftest.err
>&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); } &&
18262 { ac_try
='test -z "$ac_c_werror_flag"
18263 || test ! -s conftest.err'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; } &&
18269 { ac_try
='test -s conftest$ac_exeext'
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 (eval $ac_try) 2>&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; }; then
18275 ac_cv_lib_dl_dlopen
=yes
18277 echo "$as_me: failed program was:" >&5
18278 sed 's/^/| /' conftest.
$ac_ext >&5
18280 ac_cv_lib_dl_dlopen
=no
18282 rm -f conftest.err conftest.
$ac_objext \
18283 conftest
$ac_exeext conftest.
$ac_ext
18284 LIBS
=$ac_check_lib_save_LIBS
18286 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18287 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18288 if test $ac_cv_lib_dl_dlopen = yes; then
18289 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18291 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18292 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18293 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18294 echo $ECHO_N "(cached) $ECHO_C" >&6
18296 ac_check_lib_save_LIBS
=$LIBS
18297 LIBS
="-lsvld $LIBS"
18298 cat >conftest.
$ac_ext <<_ACEOF
18301 cat confdefs.h
>>conftest.
$ac_ext
18302 cat >>conftest.
$ac_ext <<_ACEOF
18303 /* end confdefs.h. */
18305 /* Override any gcc2 internal prototype to avoid an error. */
18309 /* We use char because int might match the return type of a gcc2
18310 builtin and then its argument prototype would still apply. */
18320 rm -f conftest.
$ac_objext conftest
$ac_exeext
18321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18322 (eval $ac_link) 2>conftest.er1
18324 grep -v '^ *+' conftest.er1
>conftest.err
18326 cat conftest.err
>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } &&
18329 { ac_try
='test -z "$ac_c_werror_flag"
18330 || test ! -s conftest.err'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; } &&
18336 { ac_try
='test -s conftest$ac_exeext'
18337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18338 (eval $ac_try) 2>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); }; }; then
18342 ac_cv_lib_svld_dlopen
=yes
18344 echo "$as_me: failed program was:" >&5
18345 sed 's/^/| /' conftest.
$ac_ext >&5
18347 ac_cv_lib_svld_dlopen
=no
18349 rm -f conftest.err conftest.
$ac_objext \
18350 conftest
$ac_exeext conftest.
$ac_ext
18351 LIBS
=$ac_check_lib_save_LIBS
18353 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18354 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18355 if test $ac_cv_lib_svld_dlopen = yes; then
18356 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18358 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18359 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18360 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18361 echo $ECHO_N "(cached) $ECHO_C" >&6
18363 ac_check_lib_save_LIBS
=$LIBS
18365 cat >conftest.
$ac_ext <<_ACEOF
18368 cat confdefs.h
>>conftest.
$ac_ext
18369 cat >>conftest.
$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18372 /* Override any gcc2 internal prototype to avoid an error. */
18376 /* We use char because int might match the return type of a gcc2
18377 builtin and then its argument prototype would still apply. */
18387 rm -f conftest.
$ac_objext conftest
$ac_exeext
18388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18389 (eval $ac_link) 2>conftest.er1
18391 grep -v '^ *+' conftest.er1
>conftest.err
18393 cat conftest.err
>&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } &&
18396 { ac_try
='test -z "$ac_c_werror_flag"
18397 || test ! -s conftest.err'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; } &&
18403 { ac_try
='test -s conftest$ac_exeext'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; }; then
18409 ac_cv_lib_dld_dld_link
=yes
18411 echo "$as_me: failed program was:" >&5
18412 sed 's/^/| /' conftest.
$ac_ext >&5
18414 ac_cv_lib_dld_dld_link
=no
18416 rm -f conftest.err conftest.
$ac_objext \
18417 conftest
$ac_exeext conftest.
$ac_ext
18418 LIBS
=$ac_check_lib_save_LIBS
18420 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18421 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18422 if test $ac_cv_lib_dld_dld_link = yes; then
18423 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
18444 if test "x$lt_cv_dlopen" != xno
; then
18450 case $lt_cv_dlopen in
18452 save_CPPFLAGS
="$CPPFLAGS"
18453 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
18455 save_LDFLAGS
="$LDFLAGS"
18456 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
18459 LIBS
="$lt_cv_dlopen_libs $LIBS"
18461 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18462 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18463 if test "${lt_cv_dlopen_self+set}" = set; then
18464 echo $ECHO_N "(cached) $ECHO_C" >&6
18466 if test "$cross_compiling" = yes; then :
18467 lt_cv_dlopen_self
=cross
18469 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18470 lt_status
=$lt_dlunknown
18471 cat > conftest.
$ac_ext <<EOF
18472 #line 18472 "configure"
18473 #include "confdefs.h"
18482 # define LT_DLGLOBAL RTLD_GLOBAL
18485 # define LT_DLGLOBAL DL_GLOBAL
18487 # define LT_DLGLOBAL 0
18491 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18492 find out it does not work in some platform. */
18493 #ifndef LT_DLLAZY_OR_NOW
18495 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18498 # define LT_DLLAZY_OR_NOW DL_LAZY
18501 # define LT_DLLAZY_OR_NOW RTLD_NOW
18504 # define LT_DLLAZY_OR_NOW DL_NOW
18506 # define LT_DLLAZY_OR_NOW 0
18514 extern "C" void exit (int);
18517 void fnord() { int i=42;}
18520 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18521 int status = $lt_dlunknown;
18525 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18526 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18527 /* dlclose (self); */
18533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18534 (eval $ac_link) 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18538 (.
/conftest
; exit; ) 2>/dev
/null
18540 case x
$lt_status in
18541 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18542 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18543 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18546 # compilation failed
18547 lt_cv_dlopen_self
=no
18554 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18555 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18557 if test "x$lt_cv_dlopen_self" = xyes
; then
18558 LDFLAGS
="$LDFLAGS $link_static_flag"
18559 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18560 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18561 if test "${lt_cv_dlopen_self_static+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 if test "$cross_compiling" = yes; then :
18565 lt_cv_dlopen_self_static
=cross
18567 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18568 lt_status
=$lt_dlunknown
18569 cat > conftest.
$ac_ext <<EOF
18570 #line 18570 "configure"
18571 #include "confdefs.h"
18580 # define LT_DLGLOBAL RTLD_GLOBAL
18583 # define LT_DLGLOBAL DL_GLOBAL
18585 # define LT_DLGLOBAL 0
18589 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18590 find out it does not work in some platform. */
18591 #ifndef LT_DLLAZY_OR_NOW
18593 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18596 # define LT_DLLAZY_OR_NOW DL_LAZY
18599 # define LT_DLLAZY_OR_NOW RTLD_NOW
18602 # define LT_DLLAZY_OR_NOW DL_NOW
18604 # define LT_DLLAZY_OR_NOW 0
18612 extern "C" void exit (int);
18615 void fnord() { int i=42;}
18618 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18619 int status = $lt_dlunknown;
18623 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18624 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18625 /* dlclose (self); */
18631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18632 (eval $ac_link) 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18636 (.
/conftest
; exit; ) 2>/dev
/null
18638 case x
$lt_status in
18639 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18640 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18641 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18644 # compilation failed
18645 lt_cv_dlopen_self_static
=no
18652 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18653 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18656 CPPFLAGS
="$save_CPPFLAGS"
18657 LDFLAGS
="$save_LDFLAGS"
18662 case $lt_cv_dlopen_self in
18663 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18664 *) enable_dlopen_self
=unknown
;;
18667 case $lt_cv_dlopen_self_static in
18668 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18669 *) enable_dlopen_self_static
=unknown
;;
18674 # The else clause should only fire when bootstrapping the
18675 # libtool distribution, otherwise you forgot to ship ltmain.sh
18676 # with your package, and you will get complaints that there are
18677 # no rules to generate ltmain.sh.
18678 if test -f "$ltmain"; then
18679 # See if we are running on zsh, and set the options which allow our commands through
18680 # without removal of \ escapes.
18681 if test -n "${ZSH_VERSION+set}" ; then
18682 setopt NO_GLOB_SUBST
18684 # Now quote all the things that may contain metacharacters while being
18685 # careful not to overquote the AC_SUBSTed values. We take copies of the
18686 # variables and quote the copies for generation of the libtool script.
18687 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18689 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18690 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18691 deplibs_check_method reload_flag reload_cmds need_locks \
18692 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18693 lt_cv_sys_global_symbol_to_c_name_address \
18694 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18695 old_postinstall_cmds old_postuninstall_cmds \
18699 lt_prog_compiler_wl_GCJ \
18700 lt_prog_compiler_pic_GCJ \
18701 lt_prog_compiler_static_GCJ \
18702 lt_prog_compiler_no_builtin_flag_GCJ \
18703 export_dynamic_flag_spec_GCJ \
18704 thread_safe_flag_spec_GCJ \
18705 whole_archive_flag_spec_GCJ \
18706 enable_shared_with_static_runtimes_GCJ \
18707 old_archive_cmds_GCJ \
18708 old_archive_from_new_cmds_GCJ \
18709 predep_objects_GCJ \
18710 postdep_objects_GCJ \
18713 compiler_lib_search_path_GCJ \
18715 archive_expsym_cmds_GCJ \
18716 postinstall_cmds_GCJ \
18717 postuninstall_cmds_GCJ \
18718 old_archive_from_expsyms_cmds_GCJ \
18719 allow_undefined_flag_GCJ \
18720 no_undefined_flag_GCJ \
18721 export_symbols_cmds_GCJ \
18722 hardcode_libdir_flag_spec_GCJ \
18723 hardcode_libdir_flag_spec_ld_GCJ \
18724 hardcode_libdir_separator_GCJ \
18725 hardcode_automatic_GCJ \
18727 module_expsym_cmds_GCJ \
18728 lt_cv_prog_compiler_c_o_GCJ \
18729 exclude_expsyms_GCJ \
18730 include_expsyms_GCJ
; do
18733 old_archive_cmds_GCJ | \
18734 old_archive_from_new_cmds_GCJ | \
18735 archive_cmds_GCJ | \
18736 archive_expsym_cmds_GCJ | \
18737 module_cmds_GCJ | \
18738 module_expsym_cmds_GCJ | \
18739 old_archive_from_expsyms_cmds_GCJ | \
18740 export_symbols_cmds_GCJ | \
18741 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18742 postinstall_cmds | postuninstall_cmds | \
18743 old_postinstall_cmds | old_postuninstall_cmds | \
18744 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18745 # Double-quote double-evaled strings.
18746 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18749 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18755 *'\$0 --fallback-echo"')
18756 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18762 cat <<__EOF__ >> "$cfgfile"
18763 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18765 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18767 # Shell to use when invoking shell scripts.
18770 # Whether or not to build shared libraries.
18771 build_libtool_libs=$enable_shared
18773 # Whether or not to build static libraries.
18774 build_old_libs=$enable_static
18776 # Whether or not to add -lc for building shared libraries.
18777 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18779 # Whether or not to disallow shared libs when runtime libs are static
18780 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18782 # Whether or not to optimize for fast installation.
18783 fast_install=$enable_fast_install
18786 host_alias=$host_alias
18790 # The build system.
18791 build_alias=$build_alias
18795 # An echo program that does not interpret backslashes.
18800 AR_FLAGS=$lt_AR_FLAGS
18805 # A language-specific compiler.
18806 CC=$lt_compiler_GCJ
18808 # Is the compiler the GNU C compiler?
18814 # The linker used to build libraries.
18817 # Whether we need hard or soft links.
18820 # A BSD-compatible nm program.
18823 # A symbol stripping program
18826 # Used to examine libraries when file_magic_cmd begins "file"
18827 MAGIC_CMD=$MAGIC_CMD
18829 # Used on cygwin: DLL creation program.
18832 # Used on cygwin: object dumper.
18835 # Used on cygwin: assembler.
18838 # The name of the directory that contains temporary libtool files.
18841 # How to create reloadable object files.
18842 reload_flag=$lt_reload_flag
18843 reload_cmds=$lt_reload_cmds
18845 # How to pass a linker flag through the compiler.
18846 wl=$lt_lt_prog_compiler_wl_GCJ
18848 # Object file suffix (normally "o").
18849 objext="$ac_objext"
18851 # Old archive suffix (normally "a").
18854 # Shared library suffix (normally ".so").
18855 shrext_cmds='$shrext_cmds'
18857 # Executable file suffix (normally "").
18860 # Additional compiler flags for building library objects.
18861 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18864 # What is the maximum length of a command?
18865 max_cmd_len=$lt_cv_sys_max_cmd_len
18867 # Does compiler simultaneously support -c and -o options?
18868 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18870 # Must we lock files when doing compilation?
18871 need_locks=$lt_need_locks
18873 # Do we need the lib prefix for modules?
18874 need_lib_prefix=$need_lib_prefix
18876 # Do we need a version for libraries?
18877 need_version=$need_version
18879 # Whether dlopen is supported.
18880 dlopen_support=$enable_dlopen
18882 # Whether dlopen of programs is supported.
18883 dlopen_self=$enable_dlopen_self
18885 # Whether dlopen of statically linked programs is supported.
18886 dlopen_self_static=$enable_dlopen_self_static
18888 # Compiler flag to prevent dynamic linking.
18889 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18891 # Compiler flag to turn off builtin functions.
18892 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18894 # Compiler flag to allow reflexive dlopens.
18895 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18897 # Compiler flag to generate shared objects directly from archives.
18898 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18900 # Compiler flag to generate thread-safe objects.
18901 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18903 # Library versioning type.
18904 version_type=$version_type
18906 # Format of library name prefix.
18907 libname_spec=$lt_libname_spec
18909 # List of archive names. First name is the real one, the rest are links.
18910 # The last name is the one that the linker finds with -lNAME.
18911 library_names_spec=$lt_library_names_spec
18913 # The coded name of the library, if different from the real name.
18914 soname_spec=$lt_soname_spec
18916 # Commands used to build and install an old-style archive.
18918 old_archive_cmds=$lt_old_archive_cmds_GCJ
18919 old_postinstall_cmds=$lt_old_postinstall_cmds
18920 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18922 # Create an old-style archive from a shared archive.
18923 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18925 # Create a temporary old-style archive to link instead of a shared archive.
18926 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18928 # Commands used to build and install a shared archive.
18929 archive_cmds=$lt_archive_cmds_GCJ
18930 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18931 postinstall_cmds=$lt_postinstall_cmds
18932 postuninstall_cmds=$lt_postuninstall_cmds
18934 # Commands used to build a loadable module (assumed same as above if empty)
18935 module_cmds=$lt_module_cmds_GCJ
18936 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18938 # Commands to strip libraries.
18939 old_striplib=$lt_old_striplib
18940 striplib=$lt_striplib
18942 # Dependencies to place before the objects being linked to create a
18944 predep_objects=$lt_predep_objects_GCJ
18946 # Dependencies to place after the objects being linked to create a
18948 postdep_objects=$lt_postdep_objects_GCJ
18950 # Dependencies to place before the objects being linked to create a
18952 predeps=$lt_predeps_GCJ
18954 # Dependencies to place after the objects being linked to create a
18956 postdeps=$lt_postdeps_GCJ
18958 # The library search path used internally by the compiler when linking
18959 # a shared library.
18960 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18962 # Method to check whether dependent libraries are shared objects.
18963 deplibs_check_method=$lt_deplibs_check_method
18965 # Command to use when deplibs_check_method == file_magic.
18966 file_magic_cmd=$lt_file_magic_cmd
18968 # Flag that allows shared libraries with undefined symbols to be built.
18969 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18971 # Flag that forces no undefined symbols.
18972 no_undefined_flag=$lt_no_undefined_flag_GCJ
18974 # Commands used to finish a libtool library installation in a directory.
18975 finish_cmds=$lt_finish_cmds
18977 # Same as above, but a single script fragment to be evaled but not shown.
18978 finish_eval=$lt_finish_eval
18980 # Take the output of nm and produce a listing of raw symbols and C names.
18981 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18983 # Transform the output of nm in a proper C declaration
18984 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18986 # Transform the output of nm in a C name address pair
18987 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18989 # This is the shared library runtime path variable.
18990 runpath_var=$runpath_var
18992 # This is the shared library path variable.
18993 shlibpath_var=$shlibpath_var
18995 # Is shlibpath searched before the hard-coded library search path?
18996 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18998 # How to hardcode a shared library path into an executable.
18999 hardcode_action=$hardcode_action_GCJ
19001 # Whether we should hardcode library paths into libraries.
19002 hardcode_into_libs=$hardcode_into_libs
19004 # Flag to hardcode \$libdir into a binary during linking.
19005 # This must work even if \$libdir does not exist.
19006 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19008 # If ld is used when linking, flag to hardcode \$libdir into
19009 # a binary during linking. This must work even if \$libdir does
19011 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19013 # Whether we need a single -rpath flag with a separated argument.
19014 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19016 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19017 # resulting binary.
19018 hardcode_direct=$hardcode_direct_GCJ
19020 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19021 # resulting binary.
19022 hardcode_minus_L=$hardcode_minus_L_GCJ
19024 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19025 # the resulting binary.
19026 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19028 # Set to yes if building a shared library automatically hardcodes DIR into the library
19029 # and all subsequent libraries and executables linked against it.
19030 hardcode_automatic=$hardcode_automatic_GCJ
19032 # Variables whose values should be saved in libtool wrapper scripts and
19033 # restored at relink time.
19034 variables_saved_for_relink="$variables_saved_for_relink"
19036 # Whether libtool must link a program against all its dependency libraries.
19037 link_all_deplibs=$link_all_deplibs_GCJ
19039 # Compile-time system search path for libraries
19040 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19042 # Run-time system search path for libraries
19043 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19045 # Fix the shell variable \$srcfile for the compiler.
19046 fix_srcfile_path="$fix_srcfile_path_GCJ"
19048 # Set to yes if exported symbols are required.
19049 always_export_symbols=$always_export_symbols_GCJ
19051 # The commands to list exported symbols.
19052 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19054 # The commands to extract the exported symbol list from a shared archive.
19055 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19057 # Symbols that should not be listed in the preloaded symbols.
19058 exclude_expsyms=$lt_exclude_expsyms_GCJ
19060 # Symbols that must always be exported.
19061 include_expsyms=$lt_include_expsyms_GCJ
19063 # ### END LIBTOOL TAG CONFIG: $tagname
19069 # If there is no Makefile yet, we rely on a make rule to execute
19070 # `config.status --recheck' to rerun these tests and create the
19071 # libtool script then.
19072 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19073 if test -f "$ltmain_in"; then
19074 test -f Makefile
&& make "$ltmain"
19080 ac_cpp
='$CPP $CPPFLAGS'
19081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19096 # Source file extension for RC test sources.
19099 # Object file extension for compiled RC test sources.
19103 # Code to be used in simple compile tests
19104 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19106 # Code to be used in simple link tests
19107 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19109 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19111 # If no C compiler was specified, use CC.
19114 # Allow CC to be a program name with arguments.
19118 # save warnings/boilerplate of simple test code
19119 ac_outfile
=conftest.
$ac_objext
19120 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19121 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
19122 _lt_compiler_boilerplate
=`cat conftest.err`
19125 ac_outfile
=conftest.
$ac_objext
19126 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19127 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
19128 _lt_linker_boilerplate
=`cat conftest.err`
19132 # Allow CC to be a program name with arguments.
19137 for cc_temp
in $compiler""; do
19139 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19140 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19145 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19147 lt_cv_prog_compiler_c_o_RC
=yes
19149 # The else clause should only fire when bootstrapping the
19150 # libtool distribution, otherwise you forgot to ship ltmain.sh
19151 # with your package, and you will get complaints that there are
19152 # no rules to generate ltmain.sh.
19153 if test -f "$ltmain"; then
19154 # See if we are running on zsh, and set the options which allow our commands through
19155 # without removal of \ escapes.
19156 if test -n "${ZSH_VERSION+set}" ; then
19157 setopt NO_GLOB_SUBST
19159 # Now quote all the things that may contain metacharacters while being
19160 # careful not to overquote the AC_SUBSTed values. We take copies of the
19161 # variables and quote the copies for generation of the libtool script.
19162 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19164 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19165 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19166 deplibs_check_method reload_flag reload_cmds need_locks \
19167 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19168 lt_cv_sys_global_symbol_to_c_name_address \
19169 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19170 old_postinstall_cmds old_postuninstall_cmds \
19174 lt_prog_compiler_wl_RC \
19175 lt_prog_compiler_pic_RC \
19176 lt_prog_compiler_static_RC \
19177 lt_prog_compiler_no_builtin_flag_RC \
19178 export_dynamic_flag_spec_RC \
19179 thread_safe_flag_spec_RC \
19180 whole_archive_flag_spec_RC \
19181 enable_shared_with_static_runtimes_RC \
19182 old_archive_cmds_RC \
19183 old_archive_from_new_cmds_RC \
19184 predep_objects_RC \
19185 postdep_objects_RC \
19188 compiler_lib_search_path_RC \
19190 archive_expsym_cmds_RC \
19191 postinstall_cmds_RC \
19192 postuninstall_cmds_RC \
19193 old_archive_from_expsyms_cmds_RC \
19194 allow_undefined_flag_RC \
19195 no_undefined_flag_RC \
19196 export_symbols_cmds_RC \
19197 hardcode_libdir_flag_spec_RC \
19198 hardcode_libdir_flag_spec_ld_RC \
19199 hardcode_libdir_separator_RC \
19200 hardcode_automatic_RC \
19202 module_expsym_cmds_RC \
19203 lt_cv_prog_compiler_c_o_RC \
19204 exclude_expsyms_RC \
19205 include_expsyms_RC
; do
19208 old_archive_cmds_RC | \
19209 old_archive_from_new_cmds_RC | \
19210 archive_cmds_RC | \
19211 archive_expsym_cmds_RC | \
19213 module_expsym_cmds_RC | \
19214 old_archive_from_expsyms_cmds_RC | \
19215 export_symbols_cmds_RC | \
19216 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19217 postinstall_cmds | postuninstall_cmds | \
19218 old_postinstall_cmds | old_postuninstall_cmds | \
19219 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19220 # Double-quote double-evaled strings.
19221 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19224 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19230 *'\$0 --fallback-echo"')
19231 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19237 cat <<__EOF__ >> "$cfgfile"
19238 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19240 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19242 # Shell to use when invoking shell scripts.
19245 # Whether or not to build shared libraries.
19246 build_libtool_libs=$enable_shared
19248 # Whether or not to build static libraries.
19249 build_old_libs=$enable_static
19251 # Whether or not to add -lc for building shared libraries.
19252 build_libtool_need_lc=$archive_cmds_need_lc_RC
19254 # Whether or not to disallow shared libs when runtime libs are static
19255 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19257 # Whether or not to optimize for fast installation.
19258 fast_install=$enable_fast_install
19261 host_alias=$host_alias
19265 # The build system.
19266 build_alias=$build_alias
19270 # An echo program that does not interpret backslashes.
19275 AR_FLAGS=$lt_AR_FLAGS
19280 # A language-specific compiler.
19283 # Is the compiler the GNU C compiler?
19289 # The linker used to build libraries.
19292 # Whether we need hard or soft links.
19295 # A BSD-compatible nm program.
19298 # A symbol stripping program
19301 # Used to examine libraries when file_magic_cmd begins "file"
19302 MAGIC_CMD=$MAGIC_CMD
19304 # Used on cygwin: DLL creation program.
19307 # Used on cygwin: object dumper.
19310 # Used on cygwin: assembler.
19313 # The name of the directory that contains temporary libtool files.
19316 # How to create reloadable object files.
19317 reload_flag=$lt_reload_flag
19318 reload_cmds=$lt_reload_cmds
19320 # How to pass a linker flag through the compiler.
19321 wl=$lt_lt_prog_compiler_wl_RC
19323 # Object file suffix (normally "o").
19324 objext="$ac_objext"
19326 # Old archive suffix (normally "a").
19329 # Shared library suffix (normally ".so").
19330 shrext_cmds='$shrext_cmds'
19332 # Executable file suffix (normally "").
19335 # Additional compiler flags for building library objects.
19336 pic_flag=$lt_lt_prog_compiler_pic_RC
19339 # What is the maximum length of a command?
19340 max_cmd_len=$lt_cv_sys_max_cmd_len
19342 # Does compiler simultaneously support -c and -o options?
19343 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19345 # Must we lock files when doing compilation?
19346 need_locks=$lt_need_locks
19348 # Do we need the lib prefix for modules?
19349 need_lib_prefix=$need_lib_prefix
19351 # Do we need a version for libraries?
19352 need_version=$need_version
19354 # Whether dlopen is supported.
19355 dlopen_support=$enable_dlopen
19357 # Whether dlopen of programs is supported.
19358 dlopen_self=$enable_dlopen_self
19360 # Whether dlopen of statically linked programs is supported.
19361 dlopen_self_static=$enable_dlopen_self_static
19363 # Compiler flag to prevent dynamic linking.
19364 link_static_flag=$lt_lt_prog_compiler_static_RC
19366 # Compiler flag to turn off builtin functions.
19367 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19369 # Compiler flag to allow reflexive dlopens.
19370 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19372 # Compiler flag to generate shared objects directly from archives.
19373 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19375 # Compiler flag to generate thread-safe objects.
19376 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19378 # Library versioning type.
19379 version_type=$version_type
19381 # Format of library name prefix.
19382 libname_spec=$lt_libname_spec
19384 # List of archive names. First name is the real one, the rest are links.
19385 # The last name is the one that the linker finds with -lNAME.
19386 library_names_spec=$lt_library_names_spec
19388 # The coded name of the library, if different from the real name.
19389 soname_spec=$lt_soname_spec
19391 # Commands used to build and install an old-style archive.
19393 old_archive_cmds=$lt_old_archive_cmds_RC
19394 old_postinstall_cmds=$lt_old_postinstall_cmds
19395 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19397 # Create an old-style archive from a shared archive.
19398 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19400 # Create a temporary old-style archive to link instead of a shared archive.
19401 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19403 # Commands used to build and install a shared archive.
19404 archive_cmds=$lt_archive_cmds_RC
19405 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19406 postinstall_cmds=$lt_postinstall_cmds
19407 postuninstall_cmds=$lt_postuninstall_cmds
19409 # Commands used to build a loadable module (assumed same as above if empty)
19410 module_cmds=$lt_module_cmds_RC
19411 module_expsym_cmds=$lt_module_expsym_cmds_RC
19413 # Commands to strip libraries.
19414 old_striplib=$lt_old_striplib
19415 striplib=$lt_striplib
19417 # Dependencies to place before the objects being linked to create a
19419 predep_objects=$lt_predep_objects_RC
19421 # Dependencies to place after the objects being linked to create a
19423 postdep_objects=$lt_postdep_objects_RC
19425 # Dependencies to place before the objects being linked to create a
19427 predeps=$lt_predeps_RC
19429 # Dependencies to place after the objects being linked to create a
19431 postdeps=$lt_postdeps_RC
19433 # The library search path used internally by the compiler when linking
19434 # a shared library.
19435 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19437 # Method to check whether dependent libraries are shared objects.
19438 deplibs_check_method=$lt_deplibs_check_method
19440 # Command to use when deplibs_check_method == file_magic.
19441 file_magic_cmd=$lt_file_magic_cmd
19443 # Flag that allows shared libraries with undefined symbols to be built.
19444 allow_undefined_flag=$lt_allow_undefined_flag_RC
19446 # Flag that forces no undefined symbols.
19447 no_undefined_flag=$lt_no_undefined_flag_RC
19449 # Commands used to finish a libtool library installation in a directory.
19450 finish_cmds=$lt_finish_cmds
19452 # Same as above, but a single script fragment to be evaled but not shown.
19453 finish_eval=$lt_finish_eval
19455 # Take the output of nm and produce a listing of raw symbols and C names.
19456 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19458 # Transform the output of nm in a proper C declaration
19459 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19461 # Transform the output of nm in a C name address pair
19462 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19464 # This is the shared library runtime path variable.
19465 runpath_var=$runpath_var
19467 # This is the shared library path variable.
19468 shlibpath_var=$shlibpath_var
19470 # Is shlibpath searched before the hard-coded library search path?
19471 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19473 # How to hardcode a shared library path into an executable.
19474 hardcode_action=$hardcode_action_RC
19476 # Whether we should hardcode library paths into libraries.
19477 hardcode_into_libs=$hardcode_into_libs
19479 # Flag to hardcode \$libdir into a binary during linking.
19480 # This must work even if \$libdir does not exist.
19481 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19483 # If ld is used when linking, flag to hardcode \$libdir into
19484 # a binary during linking. This must work even if \$libdir does
19486 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19488 # Whether we need a single -rpath flag with a separated argument.
19489 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19491 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19492 # resulting binary.
19493 hardcode_direct=$hardcode_direct_RC
19495 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19496 # resulting binary.
19497 hardcode_minus_L=$hardcode_minus_L_RC
19499 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19500 # the resulting binary.
19501 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19503 # Set to yes if building a shared library automatically hardcodes DIR into the library
19504 # and all subsequent libraries and executables linked against it.
19505 hardcode_automatic=$hardcode_automatic_RC
19507 # Variables whose values should be saved in libtool wrapper scripts and
19508 # restored at relink time.
19509 variables_saved_for_relink="$variables_saved_for_relink"
19511 # Whether libtool must link a program against all its dependency libraries.
19512 link_all_deplibs=$link_all_deplibs_RC
19514 # Compile-time system search path for libraries
19515 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19517 # Run-time system search path for libraries
19518 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19520 # Fix the shell variable \$srcfile for the compiler.
19521 fix_srcfile_path="$fix_srcfile_path_RC"
19523 # Set to yes if exported symbols are required.
19524 always_export_symbols=$always_export_symbols_RC
19526 # The commands to list exported symbols.
19527 export_symbols_cmds=$lt_export_symbols_cmds_RC
19529 # The commands to extract the exported symbol list from a shared archive.
19530 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19532 # Symbols that should not be listed in the preloaded symbols.
19533 exclude_expsyms=$lt_exclude_expsyms_RC
19535 # Symbols that must always be exported.
19536 include_expsyms=$lt_include_expsyms_RC
19538 # ### END LIBTOOL TAG CONFIG: $tagname
19544 # If there is no Makefile yet, we rely on a make rule to execute
19545 # `config.status --recheck' to rerun these tests and create the
19546 # libtool script then.
19547 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19548 if test -f "$ltmain_in"; then
19549 test -f Makefile
&& make "$ltmain"
19555 ac_cpp
='$CPP $CPPFLAGS'
19556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19565 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19566 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19567 { (exit 1); exit 1; }; }
19571 # Append the new tag name to the list of available tags.
19572 if test -n "$tagname" ; then
19573 available_tags
="$available_tags $tagname"
19579 # Now substitute the updated list of available tags.
19580 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19581 mv "${ofile}T" "$ofile"
19585 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19586 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19587 { (exit 1); exit 1; }; }
19593 # This can be used to rebuild libtool when needed
19594 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19596 # Always use our own libtool.
19597 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19599 # Prevent multiple expansion
19620 sed -e 's/^build_old_libs=yes/build_old_libs=no/' libtool
> libtool-disable-static
19621 chmod +x libtool-disable-static
19623 ACLOCAL_AMFLAGS
="-I m4"
19626 # By default we simply use the C compiler to build assembly code.
19629 # Set ASFLAGS if not already set.
19630 : ${CCASFLAGS='$(CFLAGS)'}
19634 ac_cpp
='$CXXCPP $CPPFLAGS'
19635 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19636 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19637 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19638 if test -n "$ac_tool_prefix"; then
19639 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
19641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19642 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
19643 echo "$as_me:$LINENO: checking for $ac_word" >&5
19644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19645 if test "${ac_cv_prog_CXX+set}" = set; then
19646 echo $ECHO_N "(cached) $ECHO_C" >&6
19648 if test -n "$CXX"; then
19649 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
19651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19652 for as_dir
in $PATH
19655 test -z "$as_dir" && as_dir
=.
19656 for ac_exec_ext
in '' $ac_executable_extensions; do
19657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19658 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
19659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19667 CXX
=$ac_cv_prog_CXX
19668 if test -n "$CXX"; then
19669 echo "$as_me:$LINENO: result: $CXX" >&5
19670 echo "${ECHO_T}$CXX" >&6
19672 echo "$as_me:$LINENO: result: no" >&5
19673 echo "${ECHO_T}no" >&6
19676 test -n "$CXX" && break
19679 if test -z "$CXX"; then
19681 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
19683 # Extract the first word of "$ac_prog", so it can be a program name with args.
19684 set dummy
$ac_prog; ac_word
=$2
19685 echo "$as_me:$LINENO: checking for $ac_word" >&5
19686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19687 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19688 echo $ECHO_N "(cached) $ECHO_C" >&6
19690 if test -n "$ac_ct_CXX"; then
19691 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
19693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19694 for as_dir
in $PATH
19697 test -z "$as_dir" && as_dir
=.
19698 for ac_exec_ext
in '' $ac_executable_extensions; do
19699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19700 ac_cv_prog_ac_ct_CXX
="$ac_prog"
19701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19709 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
19710 if test -n "$ac_ct_CXX"; then
19711 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19712 echo "${ECHO_T}$ac_ct_CXX" >&6
19714 echo "$as_me:$LINENO: result: no" >&5
19715 echo "${ECHO_T}no" >&6
19718 test -n "$ac_ct_CXX" && break
19720 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
19726 # Provide some information about the compiler.
19727 echo "$as_me:$LINENO:" \
19728 "checking for C++ compiler version" >&5
19729 ac_compiler
=`set X $ac_compile; echo $2`
19730 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
19731 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }
19735 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
19736 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }
19740 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
19741 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); }
19746 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19747 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
19748 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 cat >conftest.
$ac_ext <<_ACEOF
19754 cat confdefs.h
>>conftest.
$ac_ext
19755 cat >>conftest.
$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19769 rm -f conftest.
$ac_objext
19770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19771 (eval $ac_compile) 2>conftest.er1
19773 grep -v '^ *+' conftest.er1
>conftest.err
19775 cat conftest.err
>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } &&
19778 { ac_try
='test -z "$ac_cxx_werror_flag"
19779 || test ! -s conftest.err'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; } &&
19785 { ac_try
='test -s conftest.$ac_objext'
19786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787 (eval $ac_try) 2>&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); }; }; then
19791 ac_compiler_gnu
=yes
19793 echo "$as_me: failed program was:" >&5
19794 sed 's/^/| /' conftest.
$ac_ext >&5
19798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19799 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19802 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19803 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
19804 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19805 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19806 ac_save_CXXFLAGS
=$CXXFLAGS
19808 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19809 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
19810 if test "${ac_cv_prog_cxx_g+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 cat >conftest.
$ac_ext <<_ACEOF
19816 cat confdefs.h
>>conftest.
$ac_ext
19817 cat >>conftest.
$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19828 rm -f conftest.
$ac_objext
19829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19830 (eval $ac_compile) 2>conftest.er1
19832 grep -v '^ *+' conftest.er1
>conftest.err
19834 cat conftest.err
>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } &&
19837 { ac_try
='test -z "$ac_cxx_werror_flag"
19838 || test ! -s conftest.err'
19839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19840 (eval $ac_try) 2>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); }; } &&
19844 { ac_try
='test -s conftest.$ac_objext'
19845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19846 (eval $ac_try) 2>&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); }; }; then
19850 ac_cv_prog_cxx_g
=yes
19852 echo "$as_me: failed program was:" >&5
19853 sed 's/^/| /' conftest.
$ac_ext >&5
19855 ac_cv_prog_cxx_g
=no
19857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19859 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19860 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
19861 if test "$ac_test_CXXFLAGS" = set; then
19862 CXXFLAGS
=$ac_save_CXXFLAGS
19863 elif test $ac_cv_prog_cxx_g = yes; then
19864 if test "$GXX" = yes; then
19870 if test "$GXX" = yes; then
19876 for ac_declaration
in \
19878 'extern "C" void std::exit (int) throw (); using std::exit;' \
19879 'extern "C" void std::exit (int); using std::exit;' \
19880 'extern "C" void exit (int) throw ();' \
19881 'extern "C" void exit (int);' \
19884 cat >conftest.
$ac_ext <<_ACEOF
19887 cat confdefs.h
>>conftest.
$ac_ext
19888 cat >>conftest.
$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19891 #include <stdlib.h>
19900 rm -f conftest.
$ac_objext
19901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19902 (eval $ac_compile) 2>conftest.er1
19904 grep -v '^ *+' conftest.er1
>conftest.err
19906 cat conftest.err
>&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } &&
19909 { ac_try
='test -z "$ac_cxx_werror_flag"
19910 || test ! -s conftest.err'
19911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19912 (eval $ac_try) 2>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; } &&
19916 { ac_try
='test -s conftest.$ac_objext'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; }; then
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.
$ac_ext >&5
19929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19930 cat >conftest.
$ac_ext <<_ACEOF
19933 cat confdefs.h
>>conftest.
$ac_ext
19934 cat >>conftest.
$ac_ext <<_ACEOF
19935 /* end confdefs.h. */
19945 rm -f conftest.
$ac_objext
19946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19947 (eval $ac_compile) 2>conftest.er1
19949 grep -v '^ *+' conftest.er1
>conftest.err
19951 cat conftest.err
>&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } &&
19954 { ac_try
='test -z "$ac_cxx_werror_flag"
19955 || test ! -s conftest.err'
19956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19957 (eval $ac_try) 2>&5
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); }; } &&
19961 { ac_try
='test -s conftest.$ac_objext'
19962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19963 (eval $ac_try) 2>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); }; }; then
19969 echo "$as_me: failed program was:" >&5
19970 sed 's/^/| /' conftest.
$ac_ext >&5
19973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19976 if test -n "$ac_declaration"; then
19977 echo '#ifdef __cplusplus' >>confdefs.h
19978 echo $ac_declaration >>confdefs.h
19979 echo '#endif' >>confdefs.h
19983 ac_cpp
='$CPP $CPPFLAGS'
19984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19988 depcc
="$CXX" am_compiler_list
=
19990 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19991 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
19992 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
19993 echo $ECHO_N "(cached) $ECHO_C" >&6
19995 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19996 # We make a subdir and do the tests there. Otherwise we can end up
19997 # making bogus files that we don't know about and never remove. For
19998 # instance it was reported that on HP-UX the gcc test will end up
19999 # making a dummy file named `D' -- because `-MD' means `put the output
20002 # Copy depcomp to subdir because otherwise we won't find it if we're
20003 # using a relative directory.
20004 cp "$am_depcomp" conftest.dir
20006 # We will build objects and dependencies in a subdirectory because
20007 # it helps to detect inapplicable dependency modes. For instance
20008 # both Tru64's cc and ICC support -MD to output dependencies as a
20009 # side effect of compilation, but ICC will put the dependencies in
20010 # the current directory while Tru64 will put them in the object
20014 am_cv_CXX_dependencies_compiler_type
=none
20015 if test "$am_compiler_list" = ""; then
20016 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20018 for depmode
in $am_compiler_list; do
20019 # Setup a source with many dependencies, because some compilers
20020 # like to wrap large dependency lists on column 80 (with \), and
20021 # we should not choose a depcomp mode which is confused by this.
20023 # We need to recreate these files for each test, as the compiler may
20024 # overwrite some of them when testing with obscure command lines.
20025 # This happens at least with the AIX C compiler.
20027 for i
in 1 2 3 4 5 6; do
20028 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
20029 : > sub
/conftst
$i.h
20031 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20035 # after this tag, mechanisms are not by side-effect, so they'll
20036 # only be used when explicitly requested
20037 if test "x$enable_dependency_tracking" = xyes
; then
20045 # We check with `-c' and `-o' for the sake of the "dashmstdout"
20046 # mode. It turns out that the SunPro C++ compiler does not properly
20047 # handle `-M -o', and we need to detect this.
20048 if depmode
=$depmode \
20049 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
20050 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
20051 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
20052 >/dev
/null
2>conftest.err
&&
20053 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
20054 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
20055 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
20056 # icc doesn't choke on unknown options, it will just issue warnings
20057 # (even with -Werror). So we grep stderr for any message
20058 # that says an option was ignored.
20059 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
20060 am_cv_CXX_dependencies_compiler_type
=$depmode
20067 rm -rf conftest.dir
20069 am_cv_CXX_dependencies_compiler_type
=none
20073 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
20074 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
20075 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
20080 test "x$enable_dependency_tracking" != xno \
20081 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
20082 am__fastdepCXX_TRUE
=
20083 am__fastdepCXX_FALSE
='#'
20085 am__fastdepCXX_TRUE
='#'
20086 am__fastdepCXX_FALSE
=
20090 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20091 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
20092 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
20093 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
20094 echo $ECHO_N "(cached) $ECHO_C" >&6
20096 cat >conftest.
make <<\_ACEOF
20098 @
echo 'ac_maketemp="$(MAKE)"'
20100 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20101 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
20102 if test -n "$ac_maketemp"; then
20103 eval ac_cv_prog_make_
${ac_make}_set
=yes
20105 eval ac_cv_prog_make_
${ac_make}_set
=no
20107 rm -f conftest.
make
20109 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20110 echo "$as_me:$LINENO: result: yes" >&5
20111 echo "${ECHO_T}yes" >&6
20114 echo "$as_me:$LINENO: result: no" >&5
20115 echo "${ECHO_T}no" >&6
20116 SET_MAKE
="MAKE=${MAKE-make}"
20120 # Check whether --enable-largefile or --disable-largefile was given.
20121 if test "${enable_largefile+set}" = set; then
20122 enableval
="$enable_largefile"
20125 if test "$enable_largefile" != no
; then
20127 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
20128 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
20129 if test "${ac_cv_sys_largefile_CC+set}" = set; then
20130 echo $ECHO_N "(cached) $ECHO_C" >&6
20132 ac_cv_sys_largefile_CC
=no
20133 if test "$GCC" != yes; then
20136 # IRIX 6.2 and later do not support large files by default,
20137 # so use the C compiler's -n32 option if that helps.
20138 cat >conftest.
$ac_ext <<_ACEOF
20141 cat confdefs.h
>>conftest.
$ac_ext
20142 cat >>conftest.
$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 #include <sys/types.h>
20145 /* Check that off_t can represent 2**63 - 1 correctly.
20146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20147 since some C++ compilers masquerading as C compilers
20148 incorrectly reject 9223372036854775807. */
20149 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20151 && LARGE_OFF_T % 2147483647 == 1)
20161 rm -f conftest.
$ac_objext
20162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20163 (eval $ac_compile) 2>conftest.er1
20165 grep -v '^ *+' conftest.er1
>conftest.err
20167 cat conftest.err
>&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); } &&
20170 { ac_try
='test -z "$ac_c_werror_flag"
20171 || test ! -s conftest.err'
20172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20173 (eval $ac_try) 2>&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); }; } &&
20177 { ac_try
='test -s conftest.$ac_objext'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; }; then
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.
$ac_ext >&5
20189 rm -f conftest.err conftest.
$ac_objext
20191 rm -f conftest.
$ac_objext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20193 (eval $ac_compile) 2>conftest.er1
20195 grep -v '^ *+' conftest.er1
>conftest.err
20197 cat conftest.err
>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } &&
20200 { ac_try
='test -z "$ac_c_werror_flag"
20201 || test ! -s conftest.err'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; } &&
20207 { ac_try
='test -s conftest.$ac_objext'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_sys_largefile_CC
=' -n32'; break
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.
$ac_ext >&5
20219 rm -f conftest.err conftest.
$ac_objext
20223 rm -f conftest.
$ac_ext
20226 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
20227 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
20228 if test "$ac_cv_sys_largefile_CC" != no
; then
20229 CC
=$CC$ac_cv_sys_largefile_CC
20232 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20233 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20234 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20235 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 ac_cv_sys_file_offset_bits
=no
20239 cat >conftest.
$ac_ext <<_ACEOF
20242 cat confdefs.h
>>conftest.
$ac_ext
20243 cat >>conftest.
$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 #include <sys/types.h>
20246 /* Check that off_t can represent 2**63 - 1 correctly.
20247 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20248 since some C++ compilers masquerading as C compilers
20249 incorrectly reject 9223372036854775807. */
20250 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20251 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20252 && LARGE_OFF_T % 2147483647 == 1)
20262 rm -f conftest.
$ac_objext
20263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20264 (eval $ac_compile) 2>conftest.er1
20266 grep -v '^ *+' conftest.er1
>conftest.err
20268 cat conftest.err
>&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } &&
20271 { ac_try
='test -z "$ac_c_werror_flag"
20272 || test ! -s conftest.err'
20273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20274 (eval $ac_try) 2>&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); }; } &&
20278 { ac_try
='test -s conftest.$ac_objext'
20279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280 (eval $ac_try) 2>&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); }; }; then
20286 echo "$as_me: failed program was:" >&5
20287 sed 's/^/| /' conftest.
$ac_ext >&5
20290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20291 cat >conftest.
$ac_ext <<_ACEOF
20294 cat confdefs.h
>>conftest.
$ac_ext
20295 cat >>conftest.
$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20297 #define _FILE_OFFSET_BITS 64
20298 #include <sys/types.h>
20299 /* Check that off_t can represent 2**63 - 1 correctly.
20300 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20301 since some C++ compilers masquerading as C compilers
20302 incorrectly reject 9223372036854775807. */
20303 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20304 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20305 && LARGE_OFF_T % 2147483647 == 1)
20315 rm -f conftest.
$ac_objext
20316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20317 (eval $ac_compile) 2>conftest.er1
20319 grep -v '^ *+' conftest.er1
>conftest.err
20321 cat conftest.err
>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); } &&
20324 { ac_try
='test -z "$ac_c_werror_flag"
20325 || test ! -s conftest.err'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; } &&
20331 { ac_try
='test -s conftest.$ac_objext'
20332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20333 (eval $ac_try) 2>&5
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); }; }; then
20337 ac_cv_sys_file_offset_bits
=64; break
20339 echo "$as_me: failed program was:" >&5
20340 sed 's/^/| /' conftest.
$ac_ext >&5
20343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20347 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20348 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20349 if test "$ac_cv_sys_file_offset_bits" != no
; then
20351 cat >>confdefs.h
<<_ACEOF
20352 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20357 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20358 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20359 if test "${ac_cv_sys_large_files+set}" = set; then
20360 echo $ECHO_N "(cached) $ECHO_C" >&6
20363 ac_cv_sys_large_files
=no
20364 cat >conftest.
$ac_ext <<_ACEOF
20367 cat confdefs.h
>>conftest.
$ac_ext
20368 cat >>conftest.
$ac_ext <<_ACEOF
20369 /* end confdefs.h. */
20370 #include <sys/types.h>
20371 /* Check that off_t can represent 2**63 - 1 correctly.
20372 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20373 since some C++ compilers masquerading as C compilers
20374 incorrectly reject 9223372036854775807. */
20375 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20376 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20377 && LARGE_OFF_T % 2147483647 == 1)
20387 rm -f conftest.
$ac_objext
20388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20389 (eval $ac_compile) 2>conftest.er1
20391 grep -v '^ *+' conftest.er1
>conftest.err
20393 cat conftest.err
>&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); } &&
20396 { ac_try
='test -z "$ac_c_werror_flag"
20397 || test ! -s conftest.err'
20398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20399 (eval $ac_try) 2>&5
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); }; } &&
20403 { ac_try
='test -s conftest.$ac_objext'
20404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405 (eval $ac_try) 2>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; }; then
20411 echo "$as_me: failed program was:" >&5
20412 sed 's/^/| /' conftest.
$ac_ext >&5
20415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20416 cat >conftest.
$ac_ext <<_ACEOF
20419 cat confdefs.h
>>conftest.
$ac_ext
20420 cat >>conftest.
$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20422 #define _LARGE_FILES 1
20423 #include <sys/types.h>
20424 /* Check that off_t can represent 2**63 - 1 correctly.
20425 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20426 since some C++ compilers masquerading as C compilers
20427 incorrectly reject 9223372036854775807. */
20428 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20429 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20430 && LARGE_OFF_T % 2147483647 == 1)
20440 rm -f conftest.
$ac_objext
20441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20442 (eval $ac_compile) 2>conftest.er1
20444 grep -v '^ *+' conftest.er1
>conftest.err
20446 cat conftest.err
>&5
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); } &&
20449 { ac_try
='test -z "$ac_c_werror_flag"
20450 || test ! -s conftest.err'
20451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20452 (eval $ac_try) 2>&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; } &&
20456 { ac_try
='test -s conftest.$ac_objext'
20457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20458 (eval $ac_try) 2>&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); }; }; then
20462 ac_cv_sys_large_files
=1; break
20464 echo "$as_me: failed program was:" >&5
20465 sed 's/^/| /' conftest.
$ac_ext >&5
20468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20472 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20473 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20474 if test "$ac_cv_sys_large_files" != no
; then
20476 cat >>confdefs.h
<<_ACEOF
20477 #define _LARGE_FILES $ac_cv_sys_large_files
20484 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20485 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20486 if test "${ac_cv_sys_largefile_source+set}" = set; then
20487 echo $ECHO_N "(cached) $ECHO_C" >&6
20490 ac_cv_sys_largefile_source
=no
20491 cat >conftest.
$ac_ext <<_ACEOF
20494 cat confdefs.h
>>conftest.
$ac_ext
20495 cat >>conftest.
$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20506 rm -f conftest.
$ac_objext
20507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20508 (eval $ac_compile) 2>conftest.er1
20510 grep -v '^ *+' conftest.er1
>conftest.err
20512 cat conftest.err
>&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); } &&
20515 { ac_try
='test -z "$ac_c_werror_flag"
20516 || test ! -s conftest.err'
20517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20518 (eval $ac_try) 2>&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); }; } &&
20522 { ac_try
='test -s conftest.$ac_objext'
20523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524 (eval $ac_try) 2>&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); }; }; then
20530 echo "$as_me: failed program was:" >&5
20531 sed 's/^/| /' conftest.
$ac_ext >&5
20534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20535 cat >conftest.
$ac_ext <<_ACEOF
20538 cat confdefs.h
>>conftest.
$ac_ext
20539 cat >>conftest.
$ac_ext <<_ACEOF
20540 /* end confdefs.h. */
20541 #define _LARGEFILE_SOURCE 1
20551 rm -f conftest.
$ac_objext
20552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20553 (eval $ac_compile) 2>conftest.er1
20555 grep -v '^ *+' conftest.er1
>conftest.err
20557 cat conftest.err
>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); } &&
20560 { ac_try
='test -z "$ac_c_werror_flag"
20561 || test ! -s conftest.err'
20562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563 (eval $ac_try) 2>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; } &&
20567 { ac_try
='test -s conftest.$ac_objext'
20568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20569 (eval $ac_try) 2>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); }; }; then
20573 ac_cv_sys_largefile_source
=1; break
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.
$ac_ext >&5
20579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20583 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20584 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20585 if test "$ac_cv_sys_largefile_source" != no
; then
20587 cat >>confdefs.h
<<_ACEOF
20588 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20594 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20595 # in glibc 2.1.3, but that breaks too many other things.
20596 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20597 echo "$as_me:$LINENO: checking for fseeko" >&5
20598 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20599 if test "${ac_cv_func_fseeko+set}" = set; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20602 cat >conftest.
$ac_ext <<_ACEOF
20605 cat confdefs.h
>>conftest.
$ac_ext
20606 cat >>conftest.
$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20612 return fseeko && fseeko (stdin, 0, 0);
20617 rm -f conftest.
$ac_objext conftest
$ac_exeext
20618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20619 (eval $ac_link) 2>conftest.er1
20621 grep -v '^ *+' conftest.er1
>conftest.err
20623 cat conftest.err
>&5
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); } &&
20626 { ac_try
='test -z "$ac_c_werror_flag"
20627 || test ! -s conftest.err'
20628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20629 (eval $ac_try) 2>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); }; } &&
20633 { ac_try
='test -s conftest$ac_exeext'
20634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20635 (eval $ac_try) 2>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); }; }; then
20639 ac_cv_func_fseeko
=yes
20641 echo "$as_me: failed program was:" >&5
20642 sed 's/^/| /' conftest.
$ac_ext >&5
20644 ac_cv_func_fseeko
=no
20646 rm -f conftest.err conftest.
$ac_objext \
20647 conftest
$ac_exeext conftest.
$ac_ext
20649 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20650 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20651 if test $ac_cv_func_fseeko = yes; then
20653 cat >>confdefs.h
<<\_ACEOF
20654 #define HAVE_FSEEKO 1
20660 echo "$as_me:$LINENO: checking for void*" >&5
20661 echo $ECHO_N "checking for void*... $ECHO_C" >&6
20662 if test "${ac_cv_type_voidp+set}" = set; then
20663 echo $ECHO_N "(cached) $ECHO_C" >&6
20665 cat >conftest.
$ac_ext <<_ACEOF
20668 cat confdefs.h
>>conftest.
$ac_ext
20669 cat >>conftest.
$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 $ac_includes_default
20677 if (sizeof (void*))
20683 rm -f conftest.
$ac_objext
20684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20685 (eval $ac_compile) 2>conftest.er1
20687 grep -v '^ *+' conftest.er1
>conftest.err
20689 cat conftest.err
>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } &&
20692 { ac_try
='test -z "$ac_c_werror_flag"
20693 || test ! -s conftest.err'
20694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20695 (eval $ac_try) 2>&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; } &&
20699 { ac_try
='test -s conftest.$ac_objext'
20700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701 (eval $ac_try) 2>&5
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; }; then
20705 ac_cv_type_voidp
=yes
20707 echo "$as_me: failed program was:" >&5
20708 sed 's/^/| /' conftest.
$ac_ext >&5
20710 ac_cv_type_voidp
=no
20712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20714 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
20715 echo "${ECHO_T}$ac_cv_type_voidp" >&6
20717 echo "$as_me:$LINENO: checking size of void*" >&5
20718 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
20719 if test "${ac_cv_sizeof_voidp+set}" = set; then
20720 echo $ECHO_N "(cached) $ECHO_C" >&6
20722 if test "$ac_cv_type_voidp" = yes; then
20723 # The cast to unsigned long works around a bug in the HP C Compiler
20724 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20725 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20726 # This bug is HP SR number 8606223364.
20727 if test "$cross_compiling" = yes; then
20728 # Depending upon the size, compute the lo and hi bounds.
20729 cat >conftest.
$ac_ext <<_ACEOF
20732 cat confdefs.h
>>conftest.
$ac_ext
20733 cat >>conftest.
$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 $ac_includes_default
20739 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
20746 rm -f conftest.
$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20750 grep -v '^ *+' conftest.er1
>conftest.err
20752 cat conftest.err
>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try
='test -z "$ac_c_werror_flag"
20756 || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try
='test -s conftest.$ac_objext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20770 cat >conftest.
$ac_ext <<_ACEOF
20773 cat confdefs.h
>>conftest.
$ac_ext
20774 cat >>conftest.
$ac_ext <<_ACEOF
20775 /* end confdefs.h. */
20776 $ac_includes_default
20780 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
20787 rm -f conftest.
$ac_objext
20788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20789 (eval $ac_compile) 2>conftest.er1
20791 grep -v '^ *+' conftest.er1
>conftest.err
20793 cat conftest.err
>&5
20794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795 (exit $ac_status); } &&
20796 { ac_try
='test -z "$ac_c_werror_flag"
20797 || test ! -s conftest.err'
20798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799 (eval $ac_try) 2>&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; } &&
20803 { ac_try
='test -s conftest.$ac_objext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 ac_hi
=$ac_mid; break
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.
$ac_ext >&5
20814 ac_lo
=`expr $ac_mid + 1`
20815 if test $ac_lo -le $ac_mid; then
20819 ac_mid
=`expr 2 '*' $ac_mid + 1`
20821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.
$ac_ext >&5
20827 cat >conftest.
$ac_ext <<_ACEOF
20830 cat confdefs.h
>>conftest.
$ac_ext
20831 cat >>conftest.
$ac_ext <<_ACEOF
20832 /* end confdefs.h. */
20833 $ac_includes_default
20837 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
20844 rm -f conftest.
$ac_objext
20845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20846 (eval $ac_compile) 2>conftest.er1
20848 grep -v '^ *+' conftest.er1
>conftest.err
20850 cat conftest.err
>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } &&
20853 { ac_try
='test -z "$ac_c_werror_flag"
20854 || test ! -s conftest.err'
20855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856 (eval $ac_try) 2>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; } &&
20860 { ac_try
='test -s conftest.$ac_objext'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; }; then
20868 cat >conftest.
$ac_ext <<_ACEOF
20871 cat confdefs.h
>>conftest.
$ac_ext
20872 cat >>conftest.
$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 $ac_includes_default
20878 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
20885 rm -f conftest.
$ac_objext
20886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20887 (eval $ac_compile) 2>conftest.er1
20889 grep -v '^ *+' conftest.er1
>conftest.err
20891 cat conftest.err
>&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); } &&
20894 { ac_try
='test -z "$ac_c_werror_flag"
20895 || test ! -s conftest.err'
20896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20897 (eval $ac_try) 2>&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); }; } &&
20901 { ac_try
='test -s conftest.$ac_objext'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; }; then
20907 ac_lo
=$ac_mid; break
20909 echo "$as_me: failed program was:" >&5
20910 sed 's/^/| /' conftest.
$ac_ext >&5
20912 ac_hi
=`expr '(' $ac_mid ')' - 1`
20913 if test $ac_mid -le $ac_hi; then
20917 ac_mid
=`expr 2 '*' $ac_mid`
20919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20922 echo "$as_me: failed program was:" >&5
20923 sed 's/^/| /' conftest.
$ac_ext >&5
20927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20930 # Binary search between lo and hi bounds.
20931 while test "x$ac_lo" != "x$ac_hi"; do
20932 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20933 cat >conftest.
$ac_ext <<_ACEOF
20936 cat confdefs.h
>>conftest.
$ac_ext
20937 cat >>conftest.
$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 $ac_includes_default
20943 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
20950 rm -f conftest.
$ac_objext
20951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20952 (eval $ac_compile) 2>conftest.er1
20954 grep -v '^ *+' conftest.er1
>conftest.err
20956 cat conftest.err
>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } &&
20959 { ac_try
='test -z "$ac_c_werror_flag"
20960 || test ! -s conftest.err'
20961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20962 (eval $ac_try) 2>&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); }; } &&
20966 { ac_try
='test -s conftest.$ac_objext'
20967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20968 (eval $ac_try) 2>&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); }; }; then
20974 echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.
$ac_ext >&5
20977 ac_lo
=`expr '(' $ac_mid ')' + 1`
20979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20982 ?
*) ac_cv_sizeof_voidp
=$ac_lo;;
20983 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
20984 See \`config.log' for more details." >&5
20985 echo "$as_me: error: cannot compute sizeof (void*), 77
20986 See \`config.log' for more details." >&2;}
20987 { (exit 1); exit 1; }; } ;;
20990 if test "$cross_compiling" = yes; then
20991 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20992 See \`config.log' for more details." >&5
20993 echo "$as_me: error: cannot run test program while cross compiling
20994 See \`config.log' for more details." >&2;}
20995 { (exit 1); exit 1; }; }
20997 cat >conftest.
$ac_ext <<_ACEOF
21000 cat confdefs.h
>>conftest.
$ac_ext
21001 cat >>conftest.
$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 $ac_includes_default
21004 long longval () { return (long) (sizeof (void*)); }
21005 unsigned long ulongval () { return (long) (sizeof (void*)); }
21007 #include <stdlib.h>
21012 FILE *f = fopen ("conftest.val", "w");
21015 if (((long) (sizeof (void*))) < 0)
21017 long i = longval ();
21018 if (i != ((long) (sizeof (void*))))
21020 fprintf (f, "%ld\n", i);
21024 unsigned long i = ulongval ();
21025 if (i != ((long) (sizeof (void*))))
21027 fprintf (f, "%lu\n", i);
21029 exit (ferror (f) || fclose (f) != 0);
21035 rm -f conftest
$ac_exeext
21036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21037 (eval $ac_link) 2>&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042 (eval $ac_try) 2>&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); }; }; then
21046 ac_cv_sizeof_voidp
=`cat conftest.val`
21048 echo "$as_me: program exited with status $ac_status" >&5
21049 echo "$as_me: failed program was:" >&5
21050 sed 's/^/| /' conftest.
$ac_ext >&5
21052 ( exit $ac_status )
21053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
21054 See \`config.log' for more details." >&5
21055 echo "$as_me: error: cannot compute sizeof (void*), 77
21056 See \`config.log' for more details." >&2;}
21057 { (exit 1); exit 1; }; }
21059 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21064 ac_cv_sizeof_voidp
=0
21067 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
21068 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
21069 cat >>confdefs.h
<<_ACEOF
21070 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
21075 #@@@ new name is AC_CONFIG_HEADERS
21076 ac_config_headers
="$ac_config_headers config.h"
21079 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21080 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21081 if test "${ac_cv_c_bigendian+set}" = set; then
21082 echo $ECHO_N "(cached) $ECHO_C" >&6
21084 # See if sys/param.h defines the BYTE_ORDER macro.
21085 cat >conftest.
$ac_ext <<_ACEOF
21088 cat confdefs.h
>>conftest.
$ac_ext
21089 cat >>conftest.
$ac_ext <<_ACEOF
21090 /* end confdefs.h. */
21091 #include <sys/types.h>
21092 #include <sys/param.h>
21097 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21098 bogus endian macros
21105 rm -f conftest.
$ac_objext
21106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21107 (eval $ac_compile) 2>conftest.er1
21109 grep -v '^ *+' conftest.er1
>conftest.err
21111 cat conftest.err
>&5
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); } &&
21114 { ac_try
='test -z "$ac_c_werror_flag"
21115 || test ! -s conftest.err'
21116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21117 (eval $ac_try) 2>&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; } &&
21121 { ac_try
='test -s conftest.$ac_objext'
21122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21123 (eval $ac_try) 2>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); }; }; then
21127 # It does; now see whether it defined to BIG_ENDIAN or not.
21128 cat >conftest.
$ac_ext <<_ACEOF
21131 cat confdefs.h
>>conftest.
$ac_ext
21132 cat >>conftest.
$ac_ext <<_ACEOF
21133 /* end confdefs.h. */
21134 #include <sys/types.h>
21135 #include <sys/param.h>
21140 #if BYTE_ORDER != BIG_ENDIAN
21148 rm -f conftest.
$ac_objext
21149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21150 (eval $ac_compile) 2>conftest.er1
21152 grep -v '^ *+' conftest.er1
>conftest.err
21154 cat conftest.err
>&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); } &&
21157 { ac_try
='test -z "$ac_c_werror_flag"
21158 || test ! -s conftest.err'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; } &&
21164 { ac_try
='test -s conftest.$ac_objext'
21165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21166 (eval $ac_try) 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 ac_cv_c_bigendian
=yes
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.
$ac_ext >&5
21175 ac_cv_c_bigendian
=no
21177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21179 echo "$as_me: failed program was:" >&5
21180 sed 's/^/| /' conftest.
$ac_ext >&5
21182 # It does not; compile a test program.
21183 if test "$cross_compiling" = yes; then
21184 # try to guess the endianness by grepping values into an object file
21185 ac_cv_c_bigendian
=unknown
21186 cat >conftest.
$ac_ext <<_ACEOF
21189 cat confdefs.h
>>conftest.
$ac_ext
21190 cat >>conftest.
$ac_ext <<_ACEOF
21191 /* end confdefs.h. */
21192 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
21193 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
21194 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
21195 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
21196 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
21197 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
21201 _ascii (); _ebcdic ();
21206 rm -f conftest.
$ac_objext
21207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21208 (eval $ac_compile) 2>conftest.er1
21210 grep -v '^ *+' conftest.er1
>conftest.err
21212 cat conftest.err
>&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); } &&
21215 { ac_try
='test -z "$ac_c_werror_flag"
21216 || test ! -s conftest.err'
21217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21218 (eval $ac_try) 2>&5
21220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21221 (exit $ac_status); }; } &&
21222 { ac_try
='test -s conftest.$ac_objext'
21223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21224 (eval $ac_try) 2>&5
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); }; }; then
21228 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
21229 ac_cv_c_bigendian
=yes
21231 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
21232 if test "$ac_cv_c_bigendian" = unknown
; then
21233 ac_cv_c_bigendian
=no
21235 # finding both strings is unlikely to happen, but who knows?
21236 ac_cv_c_bigendian
=unknown
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.
$ac_ext >&5
21244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21246 cat >conftest.
$ac_ext <<_ACEOF
21249 cat confdefs.h
>>conftest.
$ac_ext
21250 cat >>conftest.
$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21255 /* Are we little or big endian? From Harbison&Steele. */
21259 char c[sizeof (long)];
21262 exit (u.c[sizeof (long) - 1] == 1);
21265 rm -f conftest
$ac_exeext
21266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21267 (eval $ac_link) 2>&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21272 (eval $ac_try) 2>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); }; }; then
21276 ac_cv_c_bigendian
=no
21278 echo "$as_me: program exited with status $ac_status" >&5
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.
$ac_ext >&5
21282 ( exit $ac_status )
21283 ac_cv_c_bigendian
=yes
21285 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21290 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21291 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21292 case $ac_cv_c_bigendian in
21295 cat >>confdefs.h
<<\_ACEOF
21296 #define WORDS_BIGENDIAN 1
21302 { { echo "$as_me:$LINENO: error: unknown endianness
21303 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
21304 echo "$as_me: error: unknown endianness
21305 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
21306 { (exit 1); exit 1; }; } ;;
21310 echo "$as_me:$LINENO: checking for socklen_t" >&5
21311 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
21312 if test "${ac_cv_type_socklen_t+set}" = set; then
21313 echo $ECHO_N "(cached) $ECHO_C" >&6
21315 cat >conftest.
$ac_ext <<_ACEOF
21318 cat confdefs.h
>>conftest.
$ac_ext
21319 cat >>conftest.
$ac_ext <<_ACEOF
21320 /* end confdefs.h. */
21321 $ac_includes_default
21325 if ((socklen_t *) 0)
21327 if (sizeof (socklen_t))
21333 rm -f conftest.
$ac_objext
21334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21335 (eval $ac_compile) 2>conftest.er1
21337 grep -v '^ *+' conftest.er1
>conftest.err
21339 cat conftest.err
>&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); } &&
21342 { ac_try
='test -z "$ac_c_werror_flag"
21343 || test ! -s conftest.err'
21344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21345 (eval $ac_try) 2>&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); }; } &&
21349 { ac_try
='test -s conftest.$ac_objext'
21350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21351 (eval $ac_try) 2>&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; }; then
21355 ac_cv_type_socklen_t
=yes
21357 echo "$as_me: failed program was:" >&5
21358 sed 's/^/| /' conftest.
$ac_ext >&5
21360 ac_cv_type_socklen_t
=no
21362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21364 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
21365 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
21366 if test $ac_cv_type_socklen_t = yes; then
21368 cat >>confdefs.h
<<_ACEOF
21369 #define HAVE_SOCKLEN_T 1
21377 for ac_func
in getopt_long
21379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21380 echo "$as_me:$LINENO: checking for $ac_func" >&5
21381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21382 if eval "test \"\${$as_ac_var+set}\" = set"; then
21383 echo $ECHO_N "(cached) $ECHO_C" >&6
21385 cat >conftest.
$ac_ext <<_ACEOF
21388 cat confdefs.h
>>conftest.
$ac_ext
21389 cat >>conftest.
$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21393 #define $ac_func innocuous_$ac_func
21395 /* System header to define __stub macros and hopefully few prototypes,
21396 which can conflict with char $ac_func (); below.
21397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21398 <limits.h> exists even on freestanding compilers. */
21401 # include <limits.h>
21403 # include <assert.h>
21408 /* Override any gcc2 internal prototype to avoid an error. */
21413 /* We use char because int might match the return type of a gcc2
21414 builtin and then its argument prototype would still apply. */
21416 /* The GNU C library defines this for functions which it implements
21417 to always fail with ENOSYS. Some functions are actually named
21418 something starting with __ and the normal name is an alias. */
21419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21422 char (*f) () = $ac_func;
21431 return f != $ac_func;
21436 rm -f conftest.
$ac_objext conftest
$ac_exeext
21437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21438 (eval $ac_link) 2>conftest.er1
21440 grep -v '^ *+' conftest.er1
>conftest.err
21442 cat conftest.err
>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); } &&
21445 { ac_try
='test -z "$ac_c_werror_flag"
21446 || test ! -s conftest.err'
21447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21448 (eval $ac_try) 2>&5
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); }; } &&
21452 { ac_try
='test -s conftest$ac_exeext'
21453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21454 (eval $ac_try) 2>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; }; then
21458 eval "$as_ac_var=yes"
21460 echo "$as_me: failed program was:" >&5
21461 sed 's/^/| /' conftest.
$ac_ext >&5
21463 eval "$as_ac_var=no"
21465 rm -f conftest.err conftest.
$ac_objext \
21466 conftest
$ac_exeext conftest.
$ac_ext
21468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21470 if test `eval echo '${'$as_ac_var'}'` = yes; then
21471 cat >>confdefs.h
<<_ACEOF
21472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21479 case "$host_cpu" in
21482 cat >>confdefs.h
<<\_ACEOF
21483 #define FLAC__CPU_IA32 1
21491 cat >>confdefs.h
<<\_ACEOF
21492 #define FLAC__CPU_PPC 1
21500 cat >>confdefs.h
<<\_ACEOF
21501 #define FLAC__CPU_SPARC 1
21510 if test "x$cpu_ia32" = xtrue
; then
21511 FLaC__CPU_IA32_TRUE
=
21512 FLaC__CPU_IA32_FALSE
='#'
21514 FLaC__CPU_IA32_TRUE
='#'
21515 FLaC__CPU_IA32_FALSE
=
21520 if test "x$cpu_ppc" = xtrue
; then
21521 FLaC__CPU_PPC_TRUE
=
21522 FLaC__CPU_PPC_FALSE
='#'
21524 FLaC__CPU_PPC_TRUE
='#'
21525 FLaC__CPU_PPC_FALSE
=
21530 if test "x$cpu_sparc" = xtrue
; then
21531 FLaC__CPU_SPARC_TRUE
=
21532 FLaC__CPU_SPARC_FALSE
='#'
21534 FLaC__CPU_SPARC_TRUE
='#'
21535 FLaC__CPU_SPARC_FALSE
=
21540 i386-
*-openbsd3.
[0-3]) OBJ_FORMAT
=aoutb
;;
21541 *-*-cygwin|
*mingw
*) OBJ_FORMAT
=win32
;;
21542 *-*-darwin*) OBJ_FORMAT
=macho
;;
21543 *) OBJ_FORMAT
=elf
;;
21547 # only needed because of ntohl() usage, can get rid of after that's gone:
21549 *-*-cygwin|
*mingw
*) MINGW_WINSOCK_LIBS
=-lwsock32 ;;
21550 *) MINGW_WINSOCK_LIBS
= ;;
21557 cat >>confdefs.h
<<\_ACEOF
21558 #define FLAC__SYS_LINUX 1
21566 cat >>confdefs.h
<<\_ACEOF
21567 #define FLAC__SYS_DARWIN 1
21576 if test "x$sys_darwin" = xtrue
; then
21577 FLaC__SYS_DARWIN_TRUE
=
21578 FLaC__SYS_DARWIN_FALSE
='#'
21580 FLaC__SYS_DARWIN_TRUE
='#'
21581 FLaC__SYS_DARWIN_FALSE
=
21586 if test "x$sys_linux" = xtrue
; then
21587 FLaC__SYS_LINUX_TRUE
=
21588 FLaC__SYS_LINUX_FALSE
='#'
21590 FLaC__SYS_LINUX_TRUE
='#'
21591 FLaC__SYS_LINUX_FALSE
=
21595 if test "x$cpu_ia32" = xtrue
; then
21596 cat >>confdefs.h
<<\_ACEOF
21597 #define FLAC__ALIGN_MALLOC_DATA 1
21604 # Check whether --enable-asm-optimizations or --disable-asm-optimizations was given.
21605 if test "${enable_asm_optimizations+set}" = set; then
21606 enableval
="$enable_asm_optimizations"
21613 if test "x$asm_opt" = xno
; then
21615 FLaC__NO_ASM_FALSE
='#'
21617 FLaC__NO_ASM_TRUE
='#'
21618 FLaC__NO_ASM_FALSE
=
21621 if test "x$asm_opt" = xno
; then
21622 cat >>confdefs.h
<<\_ACEOF
21623 #define FLAC__NO_ASM 1
21630 # Check whether --enable-debug or --disable-debug was given.
21631 if test "${enable_debug+set}" = set; then
21632 enableval
="$enable_debug"
21633 case "${enableval}" in
21636 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
21637 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
21638 { (exit 1); exit 1; }; } ;;
21645 if test "x$debug" = xtrue
; then
21654 # Check whether --enable-sse or --disable-sse was given.
21655 if test "${enable_sse+set}" = set; then
21656 enableval
="$enable_sse"
21657 case "${enableval}" in
21658 yes) sse_os
=true
;;
21659 no
) sse_os
=false
;;
21660 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-sse" >&5
21661 echo "$as_me: error: bad value ${enableval} for --enable-sse" >&2;}
21662 { (exit 1); exit 1; }; } ;;
21669 if test "x$sse_os" = xtrue
; then
21671 FLaC__SSE_OS_FALSE
='#'
21673 FLaC__SSE_OS_TRUE
='#'
21674 FLaC__SSE_OS_FALSE
=
21677 if test "x$sse_os" = xtrue
; then
21678 cat >>confdefs.h
<<\_ACEOF
21679 #define FLAC__SSE_OS 1
21686 # Check whether --enable-3dnow or --disable-3dnow was given.
21687 if test "${enable_3dnow+set}" = set; then
21688 enableval
="$enable_3dnow"
21689 case "${enableval}" in
21690 yes) use_3dnow
=true
;;
21691 no
) use_3dnow
=false
;;
21692 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-3dnow" >&5
21693 echo "$as_me: error: bad value ${enableval} for --enable-3dnow" >&2;}
21694 { (exit 1); exit 1; }; } ;;
21701 if test "x$use_3dnow" = xtrue
; then
21702 FLaC__USE_3DNOW_TRUE
=
21703 FLaC__USE_3DNOW_FALSE
='#'
21705 FLaC__USE_3DNOW_TRUE
='#'
21706 FLaC__USE_3DNOW_FALSE
=
21709 if test "x$use_3dnow" = xtrue
; then
21710 cat >>confdefs.h
<<\_ACEOF
21711 #define FLAC__USE_3DNOW 1
21718 # Check whether --enable-altivec or --disable-altivec was given.
21719 if test "${enable_altivec+set}" = set; then
21720 enableval
="$enable_altivec"
21721 case "${enableval}" in
21722 yes) use_altivec
=true
;;
21723 no
) use_altivec
=false
;;
21724 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-altivec" >&5
21725 echo "$as_me: error: bad value ${enableval} for --enable-altivec" >&2;}
21726 { (exit 1); exit 1; }; } ;;
21733 if test "x$use_altivec" = xtrue
; then
21734 FLaC__USE_ALTIVEC_TRUE
=
21735 FLaC__USE_ALTIVEC_FALSE
='#'
21737 FLaC__USE_ALTIVEC_TRUE
='#'
21738 FLaC__USE_ALTIVEC_FALSE
=
21741 if test "x$use_altivec" = xtrue
; then
21742 cat >>confdefs.h
<<\_ACEOF
21743 #define FLAC__USE_ALTIVEC 1
21750 # Check whether --enable-thorough-tests or --disable-thorough-tests was given.
21751 if test "${enable_thorough_tests+set}" = set; then
21752 enableval
="$enable_thorough_tests"
21753 case "${enableval}" in
21754 yes) thorough_tests
=true
;;
21755 no
) thorough_tests
=false
;;
21756 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-thorough-tests" >&5
21757 echo "$as_me: error: bad value ${enableval} for --enable-thorough-tests" >&2;}
21758 { (exit 1); exit 1; }; } ;;
21761 thorough_tests
=true
21763 # Check whether --enable-exhaustive-tests or --disable-exhaustive-tests was given.
21764 if test "${enable_exhaustive_tests+set}" = set; then
21765 enableval
="$enable_exhaustive_tests"
21766 case "${enableval}" in
21767 yes) exhaustive_tests
=true
;;
21768 no
) exhaustive_tests
=false
;;
21769 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-exhaustive-tests" >&5
21770 echo "$as_me: error: bad value ${enableval} for --enable-exhaustive-tests" >&2;}
21771 { (exit 1); exit 1; }; } ;;
21774 exhaustive_tests
=false
21776 if test "x$thorough_tests" = xfalse
; then
21778 elif test "x$exhaustive_tests" = xfalse
; then
21785 # Check whether --enable-valgrind-testing or --disable-valgrind-testing was given.
21786 if test "${enable_valgrind_testing+set}" = set; then
21787 enableval
="$enable_valgrind_testing"
21788 case "${enableval}" in
21789 yes) FLAC__TEST_WITH_VALGRIND
=yes ;;
21790 no
) FLAC__TEST_WITH_VALGRIND
=no
;;
21791 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-valgrind-testing" >&5
21792 echo "$as_me: error: bad value ${enableval} for --enable-valgrind-testing" >&2;}
21793 { (exit 1); exit 1; }; } ;;
21796 FLAC__TEST_WITH_VALGRIND
=no
21800 # Check whether --enable-doxygen-docs or --disable-doxygen-docs was given.
21801 if test "${enable_doxygen_docs+set}" = set; then
21802 enableval
="$enable_doxygen_docs"
21803 case "${enableval}" in
21804 yes) enable_doxygen_docs
=true
;;
21805 no
) enable_doxygen_docs
=false
;;
21806 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-doxygen-docs" >&5
21807 echo "$as_me: error: bad value ${enableval} for --enable-doxygen-docs" >&2;}
21808 { (exit 1); exit 1; }; } ;;
21811 enable_doxygen_docs
=true
21813 if test "x$enable_doxygen_docs" != xfalse
; then
21814 for ac_prog
in doxygen
21816 # Extract the first word of "$ac_prog", so it can be a program name with args.
21817 set dummy
$ac_prog; ac_word
=$2
21818 echo "$as_me:$LINENO: checking for $ac_word" >&5
21819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21820 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
21821 echo $ECHO_N "(cached) $ECHO_C" >&6
21823 if test -n "$DOXYGEN"; then
21824 ac_cv_prog_DOXYGEN
="$DOXYGEN" # Let the user override the test.
21826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21827 for as_dir
in $PATH
21830 test -z "$as_dir" && as_dir
=.
21831 for ac_exec_ext
in '' $ac_executable_extensions; do
21832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21833 ac_cv_prog_DOXYGEN
="$ac_prog"
21834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21842 DOXYGEN
=$ac_cv_prog_DOXYGEN
21843 if test -n "$DOXYGEN"; then
21844 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
21845 echo "${ECHO_T}$DOXYGEN" >&6
21847 echo "$as_me:$LINENO: result: no" >&5
21848 echo "${ECHO_T}no" >&6
21851 test -n "$DOXYGEN" && break
21857 if test -n "$DOXYGEN"; then
21858 FLaC__HAS_DOXYGEN_TRUE
=
21859 FLaC__HAS_DOXYGEN_FALSE
='#'
21861 FLaC__HAS_DOXYGEN_TRUE
='#'
21862 FLaC__HAS_DOXYGEN_FALSE
=
21866 # Check whether --enable-local-xmms-plugin or --disable-local-xmms-plugin was given.
21867 if test "${enable_local_xmms_plugin+set}" = set; then
21868 enableval
="$enable_local_xmms_plugin"
21869 case "${enableval}" in
21870 yes) install_xmms_plugin_locally
=true
;;
21871 no
) install_xmms_plugin_locally
=false
;;
21872 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-local-xmms-plugin" >&5
21873 echo "$as_me: error: bad value ${enableval} for --enable-local-xmms-plugin" >&2;}
21874 { (exit 1); exit 1; }; } ;;
21877 install_xmms_plugin_locally
=false
21881 if test "x$install_xmms_plugin_locally" = xtrue
; then
21882 FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE
=
21883 FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE
='#'
21885 FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE
='#'
21886 FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE
=
21890 # Check whether --enable-xmms-plugin or --disable-xmms-plugin was given.
21891 if test "${enable_xmms_plugin+set}" = set; then
21892 enableval
="$enable_xmms_plugin"
21893 case "${enableval}" in
21894 yes) enable_xmms_plugin
=true
;;
21895 no
) enable_xmms_plugin
=false
;;
21896 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-xmms-plugin" >&5
21897 echo "$as_me: error: bad value ${enableval} for --enable-xmms-plugin" >&2;}
21898 { (exit 1); exit 1; }; } ;;
21901 enable_xmms_plugin
=true
21903 if test "x$enable_xmms_plugin" != xfalse
; then
21906 # Check whether --with-xmms-prefix or --without-xmms-prefix was given.
21907 if test "${with_xmms_prefix+set}" = set; then
21908 withval
="$with_xmms_prefix"
21909 xmms_config_prefix
="$withval"
21911 xmms_config_prefix
=""
21914 # Check whether --with-xmms-exec-prefix or --without-xmms-exec-prefix was given.
21915 if test "${with_xmms_exec_prefix+set}" = set; then
21916 withval
="$with_xmms_exec_prefix"
21917 xmms_config_exec_prefix
="$withval"
21919 xmms_config_exec_prefix
=""
21922 if test x
$xmms_config_exec_prefix != x
; then
21923 xmms_config_args
="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"
21924 if test x
${XMMS_CONFIG+set} != xset
; then
21925 XMMS_CONFIG
=$xmms_config_exec_prefix/bin
/xmms-config
21929 if test x
$xmms_config_prefix != x
; then
21930 xmms_config_args
="$xmms_config_args --prefix=$xmms_config_prefix"
21931 if test x
${XMMS_CONFIG+set} != xset
; then
21932 XMMS_CONFIG
=$xmms_config_prefix/bin
/xmms-config
21936 # Extract the first word of "xmms-config", so it can be a program name with args.
21937 set dummy xmms-config
; ac_word
=$2
21938 echo "$as_me:$LINENO: checking for $ac_word" >&5
21939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21940 if test "${ac_cv_path_XMMS_CONFIG+set}" = set; then
21941 echo $ECHO_N "(cached) $ECHO_C" >&6
21943 case $XMMS_CONFIG in
21945 ac_cv_path_XMMS_CONFIG
="$XMMS_CONFIG" # Let the user override the test with a path.
21948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21949 for as_dir
in $PATH
21952 test -z "$as_dir" && as_dir
=.
21953 for ac_exec_ext
in '' $ac_executable_extensions; do
21954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21955 ac_cv_path_XMMS_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21962 test -z "$ac_cv_path_XMMS_CONFIG" && ac_cv_path_XMMS_CONFIG
="no"
21966 XMMS_CONFIG
=$ac_cv_path_XMMS_CONFIG
21968 if test -n "$XMMS_CONFIG"; then
21969 echo "$as_me:$LINENO: result: $XMMS_CONFIG" >&5
21970 echo "${ECHO_T}$XMMS_CONFIG" >&6
21972 echo "$as_me:$LINENO: result: no" >&5
21973 echo "${ECHO_T}no" >&6
21976 min_xmms_version
=0.9.5.1
21978 if test "$XMMS_CONFIG" = "no"; then
21981 XMMS_CFLAGS
=`$XMMS_CONFIG $xmms_config_args --cflags`
21982 XMMS_LIBS
=`$XMMS_CONFIG $xmms_config_args --libs`
21983 XMMS_VERSION
=`$XMMS_CONFIG $xmms_config_args --version`
21984 XMMS_DATA_DIR
=`$XMMS_CONFIG $xmms_config_args --data-dir`
21985 XMMS_PLUGIN_DIR
=`$XMMS_CONFIG $xmms_config_args --plugin-dir`
21986 XMMS_VISUALIZATION_PLUGIN_DIR
=`$XMMS_CONFIG $xmms_config_args \
21987 --visualization-plugin-dir`
21988 XMMS_INPUT_PLUGIN_DIR
=`$XMMS_CONFIG $xmms_config_args --input-plugin-dir`
21989 XMMS_OUTPUT_PLUGIN_DIR
=`$XMMS_CONFIG $xmms_config_args --output-plugin-dir`
21990 XMMS_EFFECT_PLUGIN_DIR
=`$XMMS_CONFIG $xmms_config_args --effect-plugin-dir`
21991 XMMS_GENERAL_PLUGIN_DIR
=`$XMMS_CONFIG $xmms_config_args --general-plugin-dir`
21995 # Determine which version number is greater. Prints 2 to stdout if
21996 # the second number is greater, 1 if the first number is greater,
21997 # 0 if the numbers are equal.
21999 # Written 15 December 1999 by Ben Gertzfield <che@debian.org>
22000 # Revised 15 December 1999 by Jim Monty <monty@primenet.com>
22002 for ac_prog
in gawk mawk nawk
awk
22004 # Extract the first word of "$ac_prog", so it can be a program name with args.
22005 set dummy
$ac_prog; ac_word
=$2
22006 echo "$as_me:$LINENO: checking for $ac_word" >&5
22007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22008 if test "${ac_cv_prog_AWK+set}" = set; then
22009 echo $ECHO_N "(cached) $ECHO_C" >&6
22011 if test -n "$AWK"; then
22012 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
22014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22015 for as_dir
in $PATH
22018 test -z "$as_dir" && as_dir
=.
22019 for ac_exec_ext
in '' $ac_executable_extensions; do
22020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22021 ac_cv_prog_AWK
="$ac_prog"
22022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22030 AWK
=$ac_cv_prog_AWK
22031 if test -n "$AWK"; then
22032 echo "$as_me:$LINENO: result: $AWK" >&5
22033 echo "${ECHO_T}$AWK" >&6
22035 echo "$as_me:$LINENO: result: no" >&5
22036 echo "${ECHO_T}no" >&6
22039 test -n "$AWK" && break
22042 xmms_got_version
=` $AWK ' \
22044 print vercmp(ARGV[1], ARGV[2]); \
22047 function vercmp(ver1, ver2, ver1arr, ver2arr, \
22048 ver1len, ver2len, \
22049 ver1int, ver2int, len, i, p) { \
22051 ver1len = split(ver1, ver1arr, /\./); \
22052 ver2len = split(ver2, ver2arr, /\./); \
22054 len = ver1len > ver2len ? ver1len : ver2len; \
22056 for (i = 1; i <= len; i++) { \
22057 p = 1000 ^ (len - i); \
22058 ver1int += ver1arr[i] * p; \
22059 ver2int += ver2arr[i] * p; \
22062 if (ver1int < ver2int) \
22064 else if (ver1int > ver2int) \
22068 }' $XMMS_VERSION $min_xmms_version`
22070 if test $xmms_got_version -eq 2; then # failure
22078 echo "$as_me:$LINENO: checking for XMMS - version >= $min_xmms_version" >&5
22079 echo $ECHO_N "checking for XMMS - version >= $min_xmms_version... $ECHO_C" >&6
22081 if test "x$no_xmms" = x
; then
22082 echo "$as_me:$LINENO: result: yes" >&5
22083 echo "${ECHO_T}yes" >&6
22086 echo "$as_me:$LINENO: result: no" >&5
22087 echo "${ECHO_T}no" >&6
22089 if test "$XMMS_CONFIG" = "no" ; then
22090 echo "*** The xmms-config script installed by XMMS could not be found."
22091 echo "*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in"
22092 echo "*** your path, or set the XMMS_CONFIG environment variable to the"
22093 echo "*** full path to xmms-config."
22095 if test "$no_xmms" = "version"; then
22096 echo "*** An old version of XMMS, $XMMS_VERSION, was found."
22097 echo "*** You need a version of XMMS newer than $min_xmms_version."
22098 echo "*** The latest version of XMMS is always available from"
22099 echo "*** http://www.xmms.org/"
22102 echo "*** If you have already installed a sufficiently new version, this error"
22103 echo "*** probably means that the wrong copy of the xmms-config shell script is"
22104 echo "*** being found. The easiest way to fix this is to remove the old version"
22105 echo "*** of XMMS, but you can also set the XMMS_CONFIG environment to point to the"
22106 echo "*** correct copy of xmms-config. (In this case, you will have to"
22107 echo "*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf"
22108 echo "*** so that the correct libraries are found at run-time)"
22113 { echo "$as_me:$LINENO: WARNING: *** XMMS >= 0.9.5.1 not installed - XMMS support will not be built" >&5
22114 echo "$as_me: WARNING: *** XMMS >= 0.9.5.1 not installed - XMMS support will not be built" >&2;}
22130 if test -n "$XMMS_INPUT_PLUGIN_DIR"; then
22131 FLaC__HAS_XMMS_TRUE
=
22132 FLaC__HAS_XMMS_FALSE
='#'
22134 FLaC__HAS_XMMS_TRUE
='#'
22135 FLaC__HAS_XMMS_FALSE
=
22139 # Check whether --enable-cpplibs or --disable-cpplibs was given.
22140 if test "${enable_cpplibs+set}" = set; then
22141 enableval
="$enable_cpplibs"
22142 case "${enableval}" in
22143 yes) disable_cpplibs
=false
;;
22144 no
) disable_cpplibs
=true
;;
22145 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-cpplibs" >&5
22146 echo "$as_me: error: bad value ${enableval} for --enable-cpplibs" >&2;}
22147 { (exit 1); exit 1; }; } ;;
22150 disable_cpplibs
=false
22154 if test "x$disable_cpplibs" != xtrue
; then
22155 FLaC__WITH_CPPLIBS_TRUE
=
22156 FLaC__WITH_CPPLIBS_FALSE
='#'
22158 FLaC__WITH_CPPLIBS_TRUE
='#'
22159 FLaC__WITH_CPPLIBS_FALSE
=
22163 # Check whether --enable-ogg or --disable-ogg was given.
22164 if test "${enable_ogg+set}" = set; then
22165 enableval
="$enable_ogg"
22166 want_ogg
=$enableval
22171 if test "x$want_ogg" != "xno"; then
22173 # Check whether --with-ogg or --without-ogg was given.
22174 if test "${with_ogg+set}" = set; then
22175 withval
="$with_ogg"
22176 ogg_prefix
="$withval"
22181 # Check whether --with-ogg-libraries or --without-ogg-libraries was given.
22182 if test "${with_ogg_libraries+set}" = set; then
22183 withval
="$with_ogg_libraries"
22184 ogg_libraries
="$withval"
22189 # Check whether --with-ogg-includes or --without-ogg-includes was given.
22190 if test "${with_ogg_includes+set}" = set; then
22191 withval
="$with_ogg_includes"
22192 ogg_includes
="$withval"
22196 # Check whether --enable-oggtest or --disable-oggtest was given.
22197 if test "${enable_oggtest+set}" = set; then
22198 enableval
="$enable_oggtest"
22204 if test "x$ogg_libraries" != "x" ; then
22205 OGG_LIBS
="-L$ogg_libraries"
22206 elif test "x$ogg_prefix" != "x" ; then
22207 OGG_LIBS
="-L$ogg_prefix/lib"
22208 elif test "x$prefix" != "xNONE" ; then
22209 OGG_LIBS
="-L$prefix/lib"
22212 OGG_LIBS
="$OGG_LIBS -logg"
22214 if test "x$ogg_includes" != "x" ; then
22215 OGG_CFLAGS
="-I$ogg_includes"
22216 elif test "x$ogg_prefix" != "x" ; then
22217 OGG_CFLAGS
="-I$ogg_prefix/include"
22218 elif test "x$prefix" != "xNONE"; then
22219 OGG_CFLAGS
="-I$prefix/include"
22222 echo "$as_me:$LINENO: checking for Ogg" >&5
22223 echo $ECHO_N "checking for Ogg... $ECHO_C" >&6
22227 if test "x$enable_oggtest" = "xyes" ; then
22228 ac_save_CFLAGS
="$CFLAGS"
22229 ac_save_LIBS
="$LIBS"
22230 CFLAGS
="$CFLAGS $OGG_CFLAGS"
22231 LIBS
="$LIBS $OGG_LIBS"
22233 if test "$cross_compiling" = yes; then
22234 echo $ac_n "cross compiling; assumed OK... $ac_c"
22236 cat >conftest.
$ac_ext <<_ACEOF
22239 cat confdefs.h
>>conftest.
$ac_ext
22240 cat >>conftest.
$ac_ext <<_ACEOF
22241 /* end confdefs.h. */
22244 #include <stdlib.h>
22245 #include <string.h>
22246 #include <ogg/ogg.h>
22250 system("touch conf.oggtest");
22256 rm -f conftest
$ac_exeext
22257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22258 (eval $ac_link) 2>&5
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263 (eval $ac_try) 2>&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); }; }; then
22269 echo "$as_me: program exited with status $ac_status" >&5
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.
$ac_ext >&5
22273 ( exit $ac_status )
22276 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22278 CFLAGS
="$ac_save_CFLAGS"
22279 LIBS
="$ac_save_LIBS"
22282 if test "x$no_ogg" = "x" ; then
22283 echo "$as_me:$LINENO: result: yes" >&5
22284 echo "${ECHO_T}yes" >&6
22287 echo "$as_me:$LINENO: result: no" >&5
22288 echo "${ECHO_T}no" >&6
22289 if test -f conf.oggtest
; then
22292 echo "*** Could not run Ogg test program, checking why..."
22293 CFLAGS
="$CFLAGS $OGG_CFLAGS"
22294 LIBS
="$LIBS $OGG_LIBS"
22295 cat >conftest.
$ac_ext <<_ACEOF
22298 cat confdefs.h
>>conftest.
$ac_ext
22299 cat >>conftest.
$ac_ext <<_ACEOF
22300 /* end confdefs.h. */
22303 #include <ogg/ogg.h>
22313 rm -f conftest.
$ac_objext conftest
$ac_exeext
22314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22315 (eval $ac_link) 2>conftest.er1
22317 grep -v '^ *+' conftest.er1
>conftest.err
22319 cat conftest.err
>&5
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); } &&
22322 { ac_try
='test -z "$ac_c_werror_flag"
22323 || test ! -s conftest.err'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; } &&
22329 { ac_try
='test -s conftest$ac_exeext'
22330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22331 (eval $ac_try) 2>&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); }; }; then
22335 echo "*** The test program compiled, but did not run. This usually means"
22336 echo "*** that the run-time linker is not finding Ogg or finding the wrong"
22337 echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
22338 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22339 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22340 echo "*** is required on your system"
22342 echo "*** If you have an old version installed, it is best to remove it, although"
22343 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.
$ac_ext >&5
22348 echo "*** The test program failed to compile or link. See the file config.log for the"
22349 echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
22350 echo "*** or that you have moved Ogg since it was installed."
22352 rm -f conftest.err conftest.
$ac_objext \
22353 conftest
$ac_exeext conftest.
$ac_ext
22354 CFLAGS
="$ac_save_CFLAGS"
22355 LIBS
="$ac_save_LIBS"
22359 { echo "$as_me:$LINENO: WARNING: *** Ogg development enviroment not installed - Ogg support will not be built" >&5
22360 echo "$as_me: WARNING: *** Ogg development enviroment not installed - Ogg support will not be built" >&2;}
22370 if test "x$have_ogg" = xyes
; then
22371 FLaC__HAS_OGG_TRUE
=
22372 FLaC__HAS_OGG_FALSE
='#'
22374 FLaC__HAS_OGG_TRUE
='#'
22375 FLaC__HAS_OGG_FALSE
=
22378 if test "x$have_ogg" = xyes
; then
22379 cat >>confdefs.h
<<\_ACEOF
22380 #define FLAC__HAS_OGG 1
22388 if test "X$prefix" = "XNONE"; then
22389 acl_final_prefix
="$ac_default_prefix"
22391 acl_final_prefix
="$prefix"
22393 if test "X$exec_prefix" = "XNONE"; then
22394 acl_final_exec_prefix
='${prefix}'
22396 acl_final_exec_prefix
="$exec_prefix"
22398 acl_save_prefix
="$prefix"
22399 prefix
="$acl_final_prefix"
22400 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
22401 prefix
="$acl_save_prefix"
22404 # Check whether --with-gnu-ld or --without-gnu-ld was given.
22405 if test "${with_gnu_ld+set}" = set; then
22406 withval
="$with_gnu_ld"
22407 test "$withval" = no || with_gnu_ld
=yes
22411 # Prepare PATH_SEPARATOR.
22412 # The user is always right.
22413 if test "${PATH_SEPARATOR+set}" != set; then
22414 echo "#! /bin/sh" >conf$$.sh
22415 echo "exit 0" >>conf$$.sh
22417 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22425 if test "$GCC" = yes; then
22426 # Check if gcc -print-prog-name=ld gives a path.
22427 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
22428 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
22431 # gcc leaves a trailing carriage return which upsets mingw
22432 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22434 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
22437 # Accept absolute paths.
22438 [\\/]* |
[A-Za-z
]:[\\/]*)
22439 re_direlt
='/[^/][^/]*/\.\./'
22440 # Canonicalize the path of ld
22441 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
22442 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
22443 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
22445 test -z "$LD" && LD
="$ac_prog"
22448 # If it fails, then pretend we aren't using GCC.
22452 # If it is relative, then search for the first ld in PATH.
22453 with_gnu_ld
=unknown
22456 elif test "$with_gnu_ld" = yes; then
22457 echo "$as_me:$LINENO: checking for GNU ld" >&5
22458 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
22460 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
22461 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
22463 if test "${acl_cv_path_LD+set}" = set; then
22464 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 if test -z "$LD"; then
22467 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
22468 for ac_dir
in $PATH; do
22469 test -z "$ac_dir" && ac_dir
=.
22470 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
22471 acl_cv_path_LD
="$ac_dir/$ac_prog"
22472 # Check to see if the program is GNU ld. I'd rather use --version,
22473 # but apparently some GNU ld's only accept -v.
22474 # Break only if it was the GNU/non-GNU ld that we prefer.
22475 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
22476 *GNU
* |
*'with BFD'*)
22477 test "$with_gnu_ld" != no
&& break ;;
22479 test "$with_gnu_ld" != yes && break ;;
22485 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
22489 LD
="$acl_cv_path_LD"
22490 if test -n "$LD"; then
22491 echo "$as_me:$LINENO: result: $LD" >&5
22492 echo "${ECHO_T}$LD" >&6
22494 echo "$as_me:$LINENO: result: no" >&5
22495 echo "${ECHO_T}no" >&6
22497 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
22498 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
22499 { (exit 1); exit 1; }; }
22500 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
22501 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
22502 if test "${acl_cv_prog_gnu_ld+set}" = set; then
22503 echo $ECHO_N "(cached) $ECHO_C" >&6
22505 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
22506 case `$LD -v 2>&1 </dev/null` in
22507 *GNU
* |
*'with BFD'*)
22508 acl_cv_prog_gnu_ld
=yes ;;
22510 acl_cv_prog_gnu_ld
=no
;;
22513 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
22514 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
22515 with_gnu_ld
=$acl_cv_prog_gnu_ld
22520 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
22521 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
22522 if test "${acl_cv_rpath+set}" = set; then
22523 echo $ECHO_N "(cached) $ECHO_C" >&6
22526 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
22527 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
22529 rm -f .
/conftest.sh
22533 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
22534 echo "${ECHO_T}$acl_cv_rpath" >&6
22536 libext
="$acl_cv_libext"
22537 shlibext
="$acl_cv_shlibext"
22538 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
22539 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
22540 hardcode_direct
="$acl_cv_hardcode_direct"
22541 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
22542 # Check whether --enable-rpath or --disable-rpath was given.
22543 if test "${enable_rpath+set}" = set; then
22544 enableval
="$enable_rpath"
22558 acl_save_prefix
="$prefix"
22559 prefix
="$acl_final_prefix"
22560 acl_save_exec_prefix
="$exec_prefix"
22561 exec_prefix
="$acl_final_exec_prefix"
22563 eval additional_includedir
=\"$includedir\"
22564 eval additional_libdir
=\"$libdir\"
22566 exec_prefix
="$acl_save_exec_prefix"
22567 prefix
="$acl_save_prefix"
22570 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
22571 if test "${with_libiconv_prefix+set}" = set; then
22572 withval
="$with_libiconv_prefix"
22574 if test "X$withval" = "Xno"; then
22577 if test "X$withval" = "X"; then
22579 acl_save_prefix
="$prefix"
22580 prefix
="$acl_final_prefix"
22581 acl_save_exec_prefix
="$exec_prefix"
22582 exec_prefix
="$acl_final_exec_prefix"
22584 eval additional_includedir
=\"$includedir\"
22585 eval additional_libdir
=\"$libdir\"
22587 exec_prefix
="$acl_save_exec_prefix"
22588 prefix
="$acl_save_prefix"
22591 additional_includedir
="$withval/include"
22592 additional_libdir
="$withval/lib"
22602 names_already_handled
=
22603 names_next_round
='iconv '
22604 while test -n "$names_next_round"; do
22605 names_this_round
="$names_next_round"
22607 for name
in $names_this_round; do
22609 for n
in $names_already_handled; do
22610 if test "$n" = "$name"; then
22611 already_handled
=yes
22615 if test -z "$already_handled"; then
22616 names_already_handled
="$names_already_handled $name"
22617 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
22618 eval value
=\"\
$HAVE_LIB$uppername\"
22619 if test -n "$value"; then
22620 if test "$value" = yes; then
22621 eval value
=\"\
$LIB$uppername\"
22622 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
22623 eval value
=\"\
$LTLIB$uppername\"
22624 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
22633 if test $use_additional = yes; then
22634 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
22635 found_dir
="$additional_libdir"
22636 found_so
="$additional_libdir/lib$name.$shlibext"
22637 if test -f "$additional_libdir/lib$name.la"; then
22638 found_la
="$additional_libdir/lib$name.la"
22641 if test -f "$additional_libdir/lib$name.$libext"; then
22642 found_dir
="$additional_libdir"
22643 found_a
="$additional_libdir/lib$name.$libext"
22644 if test -f "$additional_libdir/lib$name.la"; then
22645 found_la
="$additional_libdir/lib$name.la"
22650 if test "X$found_dir" = "X"; then
22651 for x
in $LDFLAGS $LTLIBICONV; do
22653 acl_save_prefix
="$prefix"
22654 prefix
="$acl_final_prefix"
22655 acl_save_exec_prefix
="$exec_prefix"
22656 exec_prefix
="$acl_final_exec_prefix"
22658 exec_prefix
="$acl_save_exec_prefix"
22659 prefix
="$acl_save_prefix"
22663 dir
=`echo "X$x" | sed -e 's/^X-L//'`
22664 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
22666 found_so
="$dir/lib$name.$shlibext"
22667 if test -f "$dir/lib$name.la"; then
22668 found_la
="$dir/lib$name.la"
22671 if test -f "$dir/lib$name.$libext"; then
22673 found_a
="$dir/lib$name.$libext"
22674 if test -f "$dir/lib$name.la"; then
22675 found_la
="$dir/lib$name.la"
22681 if test "X$found_dir" != "X"; then
22686 if test "X$found_dir" != "X"; then
22687 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
22688 if test "X$found_so" != "X"; then
22689 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
22690 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
22693 for x
in $ltrpathdirs; do
22694 if test "X$x" = "X$found_dir"; then
22699 if test -z "$haveit"; then
22700 ltrpathdirs
="$ltrpathdirs $found_dir"
22702 if test "$hardcode_direct" = yes; then
22703 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
22705 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
22706 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
22708 for x
in $rpathdirs; do
22709 if test "X$x" = "X$found_dir"; then
22714 if test -z "$haveit"; then
22715 rpathdirs
="$rpathdirs $found_dir"
22719 for x
in $LDFLAGS $LIBICONV; do
22721 acl_save_prefix
="$prefix"
22722 prefix
="$acl_final_prefix"
22723 acl_save_exec_prefix
="$exec_prefix"
22724 exec_prefix
="$acl_final_exec_prefix"
22726 exec_prefix
="$acl_save_exec_prefix"
22727 prefix
="$acl_save_prefix"
22729 if test "X$x" = "X-L$found_dir"; then
22734 if test -z "$haveit"; then
22735 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
22737 if test "$hardcode_minus_L" != no
; then
22738 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
22740 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
22746 if test "X$found_a" != "X"; then
22747 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
22749 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
22752 additional_includedir
=
22753 case "$found_dir" in
22755 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
22756 additional_includedir
="$basedir/include"
22759 if test "X$additional_includedir" != "X"; then
22760 if test "X$additional_includedir" != "X/usr/include"; then
22762 if test "X$additional_includedir" = "X/usr/local/include"; then
22763 if test -n "$GCC"; then
22765 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
22769 if test -z "$haveit"; then
22770 for x
in $CPPFLAGS $INCICONV; do
22772 acl_save_prefix
="$prefix"
22773 prefix
="$acl_final_prefix"
22774 acl_save_exec_prefix
="$exec_prefix"
22775 exec_prefix
="$acl_final_exec_prefix"
22777 exec_prefix
="$acl_save_exec_prefix"
22778 prefix
="$acl_save_prefix"
22780 if test "X$x" = "X-I$additional_includedir"; then
22785 if test -z "$haveit"; then
22786 if test -d "$additional_includedir"; then
22787 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
22793 if test -n "$found_la"; then
22794 save_libdir
="$libdir"
22795 case "$found_la" in
22796 */* |
*\\*) .
"$found_la" ;;
22797 *) .
"./$found_la" ;;
22799 libdir
="$save_libdir"
22800 for dep
in $dependency_libs; do
22803 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
22804 if test "X$additional_libdir" != "X/usr/lib"; then
22806 if test "X$additional_libdir" = "X/usr/local/lib"; then
22807 if test -n "$GCC"; then
22809 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
22813 if test -z "$haveit"; then
22815 for x
in $LDFLAGS $LIBICONV; do
22817 acl_save_prefix
="$prefix"
22818 prefix
="$acl_final_prefix"
22819 acl_save_exec_prefix
="$exec_prefix"
22820 exec_prefix
="$acl_final_exec_prefix"
22822 exec_prefix
="$acl_save_exec_prefix"
22823 prefix
="$acl_save_prefix"
22825 if test "X$x" = "X-L$additional_libdir"; then
22830 if test -z "$haveit"; then
22831 if test -d "$additional_libdir"; then
22832 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
22836 for x
in $LDFLAGS $LTLIBICONV; do
22838 acl_save_prefix
="$prefix"
22839 prefix
="$acl_final_prefix"
22840 acl_save_exec_prefix
="$exec_prefix"
22841 exec_prefix
="$acl_final_exec_prefix"
22843 exec_prefix
="$acl_save_exec_prefix"
22844 prefix
="$acl_save_prefix"
22846 if test "X$x" = "X-L$additional_libdir"; then
22851 if test -z "$haveit"; then
22852 if test -d "$additional_libdir"; then
22853 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
22860 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
22861 if test "$enable_rpath" != no
; then
22863 for x
in $rpathdirs; do
22864 if test "X$x" = "X$dir"; then
22869 if test -z "$haveit"; then
22870 rpathdirs
="$rpathdirs $dir"
22873 for x
in $ltrpathdirs; do
22874 if test "X$x" = "X$dir"; then
22879 if test -z "$haveit"; then
22880 ltrpathdirs
="$ltrpathdirs $dir"
22885 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
22888 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
22891 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
22892 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
22898 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
22899 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
22905 if test "X$rpathdirs" != "X"; then
22906 if test -n "$hardcode_libdir_separator"; then
22908 for found_dir
in $rpathdirs; do
22909 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
22911 acl_save_libdir
="$libdir"
22913 eval flag
=\"$hardcode_libdir_flag_spec\"
22914 libdir
="$acl_save_libdir"
22915 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
22917 for found_dir
in $rpathdirs; do
22918 acl_save_libdir
="$libdir"
22919 libdir
="$found_dir"
22920 eval flag
=\"$hardcode_libdir_flag_spec\"
22921 libdir
="$acl_save_libdir"
22922 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
22926 if test "X$ltrpathdirs" != "X"; then
22927 for found_dir
in $ltrpathdirs; do
22928 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
22938 am_save_CPPFLAGS
="$CPPFLAGS"
22940 for element
in $INCICONV; do
22942 for x
in $CPPFLAGS; do
22944 acl_save_prefix
="$prefix"
22945 prefix
="$acl_final_prefix"
22946 acl_save_exec_prefix
="$exec_prefix"
22947 exec_prefix
="$acl_final_exec_prefix"
22949 exec_prefix
="$acl_save_exec_prefix"
22950 prefix
="$acl_save_prefix"
22952 if test "X$x" = "X$element"; then
22957 if test -z "$haveit"; then
22958 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22963 echo "$as_me:$LINENO: checking for iconv" >&5
22964 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
22965 if test "${am_cv_func_iconv+set}" = set; then
22966 echo $ECHO_N "(cached) $ECHO_C" >&6
22969 am_cv_func_iconv
="no, consider installing GNU libiconv"
22971 cat >conftest.
$ac_ext <<_ACEOF
22974 cat confdefs.h
>>conftest.
$ac_ext
22975 cat >>conftest.
$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22977 #include <stdlib.h>
22982 iconv_t cd = iconv_open("","");
22983 iconv(cd,NULL,NULL,NULL,NULL);
22989 rm -f conftest.
$ac_objext conftest
$ac_exeext
22990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22991 (eval $ac_link) 2>conftest.er1
22993 grep -v '^ *+' conftest.er1
>conftest.err
22995 cat conftest.err
>&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); } &&
22998 { ac_try
='test -z "$ac_c_werror_flag"
22999 || test ! -s conftest.err'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; } &&
23005 { ac_try
='test -s conftest$ac_exeext'
23006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23007 (eval $ac_try) 2>&5
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); }; }; then
23011 am_cv_func_iconv
=yes
23013 echo "$as_me: failed program was:" >&5
23014 sed 's/^/| /' conftest.
$ac_ext >&5
23017 rm -f conftest.err conftest.
$ac_objext \
23018 conftest
$ac_exeext conftest.
$ac_ext
23019 if test "$am_cv_func_iconv" != yes; then
23020 am_save_LIBS
="$LIBS"
23021 LIBS
="$LIBS $LIBICONV"
23022 cat >conftest.
$ac_ext <<_ACEOF
23025 cat confdefs.h
>>conftest.
$ac_ext
23026 cat >>conftest.
$ac_ext <<_ACEOF
23027 /* end confdefs.h. */
23028 #include <stdlib.h>
23033 iconv_t cd = iconv_open("","");
23034 iconv(cd,NULL,NULL,NULL,NULL);
23040 rm -f conftest.
$ac_objext conftest
$ac_exeext
23041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23042 (eval $ac_link) 2>conftest.er1
23044 grep -v '^ *+' conftest.er1
>conftest.err
23046 cat conftest.err
>&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); } &&
23049 { ac_try
='test -z "$ac_c_werror_flag"
23050 || test ! -s conftest.err'
23051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23052 (eval $ac_try) 2>&5
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); }; } &&
23056 { ac_try
='test -s conftest$ac_exeext'
23057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23058 (eval $ac_try) 2>&5
23060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061 (exit $ac_status); }; }; then
23062 am_cv_lib_iconv
=yes
23063 am_cv_func_iconv
=yes
23065 echo "$as_me: failed program was:" >&5
23066 sed 's/^/| /' conftest.
$ac_ext >&5
23069 rm -f conftest.err conftest.
$ac_objext \
23070 conftest
$ac_exeext conftest.
$ac_ext
23071 LIBS
="$am_save_LIBS"
23075 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
23076 echo "${ECHO_T}$am_cv_func_iconv" >&6
23077 if test "$am_cv_func_iconv" = yes; then
23079 cat >>confdefs.h
<<\_ACEOF
23080 #define HAVE_ICONV 1
23084 if test "$am_cv_lib_iconv" = yes; then
23085 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
23086 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
23087 echo "$as_me:$LINENO: result: $LIBICONV" >&5
23088 echo "${ECHO_T}$LIBICONV" >&6
23090 CPPFLAGS
="$am_save_CPPFLAGS"
23097 if test "$am_cv_func_iconv" = yes; then
23098 echo "$as_me:$LINENO: checking for iconv declaration" >&5
23099 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
23100 if test "${am_cv_proto_iconv+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23104 cat >conftest.
$ac_ext <<_ACEOF
23107 cat confdefs.h
>>conftest.
$ac_ext
23108 cat >>conftest.
$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23111 #include <stdlib.h>
23117 #if defined(__STDC__) || defined(__cplusplus)
23118 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
23131 rm -f conftest.
$ac_objext
23132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23133 (eval $ac_compile) 2>conftest.er1
23135 grep -v '^ *+' conftest.er1
>conftest.err
23137 cat conftest.err
>&5
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); } &&
23140 { ac_try
='test -z "$ac_c_werror_flag"
23141 || test ! -s conftest.err'
23142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23143 (eval $ac_try) 2>&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); }; } &&
23147 { ac_try
='test -s conftest.$ac_objext'
23148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23149 (eval $ac_try) 2>&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); }; }; then
23153 am_cv_proto_iconv_arg1
=""
23155 echo "$as_me: failed program was:" >&5
23156 sed 's/^/| /' conftest.
$ac_ext >&5
23158 am_cv_proto_iconv_arg1
="const"
23160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23161 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
23164 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
23165 echo "$as_me:$LINENO: result: ${ac_t:-
23166 }$am_cv_proto_iconv" >&5
23167 echo "${ECHO_T}${ac_t:-
23168 }$am_cv_proto_iconv" >&6
23170 cat >>confdefs.h
<<_ACEOF
23171 #define ICONV_CONST $am_cv_proto_iconv_arg1
23177 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
23178 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
23179 if test "${am_cv_langinfo_codeset+set}" = set; then
23180 echo $ECHO_N "(cached) $ECHO_C" >&6
23182 cat >conftest.
$ac_ext <<_ACEOF
23185 cat confdefs.h
>>conftest.
$ac_ext
23186 cat >>conftest.
$ac_ext <<_ACEOF
23187 /* end confdefs.h. */
23188 #include <langinfo.h>
23192 char* cs = nl_langinfo(CODESET);
23197 rm -f conftest.
$ac_objext conftest
$ac_exeext
23198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23199 (eval $ac_link) 2>conftest.er1
23201 grep -v '^ *+' conftest.er1
>conftest.err
23203 cat conftest.err
>&5
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); } &&
23206 { ac_try
='test -z "$ac_c_werror_flag"
23207 || test ! -s conftest.err'
23208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23209 (eval $ac_try) 2>&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); }; } &&
23213 { ac_try
='test -s conftest$ac_exeext'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; }; then
23219 am_cv_langinfo_codeset
=yes
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.
$ac_ext >&5
23224 am_cv_langinfo_codeset
=no
23226 rm -f conftest.err conftest.
$ac_objext \
23227 conftest
$ac_exeext conftest.
$ac_ext
23230 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
23231 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
23232 if test $am_cv_langinfo_codeset = yes; then
23234 cat >>confdefs.h
<<\_ACEOF
23235 #define HAVE_LANGINFO_CODESET 1
23241 for ac_prog
in docbook-to-man docbook2man
23243 # Extract the first word of "$ac_prog", so it can be a program name with args.
23244 set dummy
$ac_prog; ac_word
=$2
23245 echo "$as_me:$LINENO: checking for $ac_word" >&5
23246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23247 if test "${ac_cv_prog_DOCBOOK_TO_MAN+set}" = set; then
23248 echo $ECHO_N "(cached) $ECHO_C" >&6
23250 if test -n "$DOCBOOK_TO_MAN"; then
23251 ac_cv_prog_DOCBOOK_TO_MAN
="$DOCBOOK_TO_MAN" # Let the user override the test.
23253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23254 for as_dir
in $PATH
23257 test -z "$as_dir" && as_dir
=.
23258 for ac_exec_ext
in '' $ac_executable_extensions; do
23259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23260 ac_cv_prog_DOCBOOK_TO_MAN
="$ac_prog"
23261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23269 DOCBOOK_TO_MAN
=$ac_cv_prog_DOCBOOK_TO_MAN
23270 if test -n "$DOCBOOK_TO_MAN"; then
23271 echo "$as_me:$LINENO: result: $DOCBOOK_TO_MAN" >&5
23272 echo "${ECHO_T}$DOCBOOK_TO_MAN" >&6
23274 echo "$as_me:$LINENO: result: no" >&5
23275 echo "${ECHO_T}no" >&6
23278 test -n "$DOCBOOK_TO_MAN" && break
23283 if test -n "$DOCBOOK_TO_MAN"; then
23284 FLaC__HAS_DOCBOOK_TO_MAN_TRUE
=
23285 FLaC__HAS_DOCBOOK_TO_MAN_FALSE
='#'
23287 FLaC__HAS_DOCBOOK_TO_MAN_TRUE
='#'
23288 FLaC__HAS_DOCBOOK_TO_MAN_FALSE
=
23291 if test -n "$DOCBOOK_TO_MAN" ; then
23292 cat >>confdefs.h
<<\_ACEOF
23293 #define FLAC__HAS_DOCBOOK_TO_MAN 1
23300 # only matters for x86
23301 for ac_prog
in nasm
23303 # Extract the first word of "$ac_prog", so it can be a program name with args.
23304 set dummy
$ac_prog; ac_word
=$2
23305 echo "$as_me:$LINENO: checking for $ac_word" >&5
23306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23307 if test "${ac_cv_prog_NASM+set}" = set; then
23308 echo $ECHO_N "(cached) $ECHO_C" >&6
23310 if test -n "$NASM"; then
23311 ac_cv_prog_NASM
="$NASM" # Let the user override the test.
23313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23314 for as_dir
in $PATH
23317 test -z "$as_dir" && as_dir
=.
23318 for ac_exec_ext
in '' $ac_executable_extensions; do
23319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23320 ac_cv_prog_NASM
="$ac_prog"
23321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23329 NASM
=$ac_cv_prog_NASM
23330 if test -n "$NASM"; then
23331 echo "$as_me:$LINENO: result: $NASM" >&5
23332 echo "${ECHO_T}$NASM" >&6
23334 echo "$as_me:$LINENO: result: no" >&5
23335 echo "${ECHO_T}no" >&6
23338 test -n "$NASM" && break
23343 if test -n "$NASM"; then
23344 FLaC__HAS_NASM_TRUE
=
23345 FLaC__HAS_NASM_FALSE
='#'
23347 FLaC__HAS_NASM_TRUE
='#'
23348 FLaC__HAS_NASM_FALSE
=
23351 if test -n "$NASM" ; then
23352 cat >>confdefs.h
<<\_ACEOF
23353 #define FLAC__HAS_NASM 1
23360 # only matters for PowerPC
23363 # Extract the first word of "$ac_prog", so it can be a program name with args.
23364 set dummy
$ac_prog; ac_word
=$2
23365 echo "$as_me:$LINENO: checking for $ac_word" >&5
23366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23367 if test "${ac_cv_prog_AS+set}" = set; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 if test -n "$AS"; then
23371 ac_cv_prog_AS
="$AS" # Let the user override the test.
23373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23374 for as_dir
in $PATH
23377 test -z "$as_dir" && as_dir
=.
23378 for ac_exec_ext
in '' $ac_executable_extensions; do
23379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23380 ac_cv_prog_AS
="$ac_prog"
23381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23390 if test -n "$AS"; then
23391 echo "$as_me:$LINENO: result: $AS" >&5
23392 echo "${ECHO_T}$AS" >&6
23394 echo "$as_me:$LINENO: result: no" >&5
23395 echo "${ECHO_T}no" >&6
23398 test -n "$AS" && break
23400 test -n "$AS" || AS
="as"
23404 # Extract the first word of "$ac_prog", so it can be a program name with args.
23405 set dummy
$ac_prog; ac_word
=$2
23406 echo "$as_me:$LINENO: checking for $ac_word" >&5
23407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23408 if test "${ac_cv_prog_GAS+set}" = set; then
23409 echo $ECHO_N "(cached) $ECHO_C" >&6
23411 if test -n "$GAS"; then
23412 ac_cv_prog_GAS
="$GAS" # Let the user override the test.
23414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23415 for as_dir
in $PATH
23418 test -z "$as_dir" && as_dir
=.
23419 for ac_exec_ext
in '' $ac_executable_extensions; do
23420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23421 ac_cv_prog_GAS
="$ac_prog"
23422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23430 GAS
=$ac_cv_prog_GAS
23431 if test -n "$GAS"; then
23432 echo "$as_me:$LINENO: result: $GAS" >&5
23433 echo "${ECHO_T}$GAS" >&6
23435 echo "$as_me:$LINENO: result: no" >&5
23436 echo "${ECHO_T}no" >&6
23439 test -n "$GAS" && break
23441 test -n "$GAS" || GAS
="gas"
23444 # try -v (apple as) and --version (gas) at the same time
23445 test "$AS" = "as" && as
--version -v < /dev
/null
2>&1 |
grep Apple
>/dev
/null || AS
=gas
23449 if test "$AS" = "as"; then
23451 FLaC__HAS_AS_FALSE
='#'
23453 FLaC__HAS_AS_TRUE
='#'
23454 FLaC__HAS_AS_FALSE
=
23459 if test "$AS" = "gas"; then
23460 FLaC__HAS_GAS_TRUE
=
23461 FLaC__HAS_GAS_FALSE
='#'
23463 FLaC__HAS_GAS_TRUE
='#'
23464 FLaC__HAS_GAS_FALSE
=
23467 if test "$AS" = "as" ; then
23468 cat >>confdefs.h
<<\_ACEOF
23469 #define FLAC__HAS_AS 1
23475 if test "$AS" = "gas" ; then
23476 # funniest. macro. ever.
23477 cat >>confdefs.h
<<\_ACEOF
23478 #define FLAC__HAS_GAS 1
23485 CPPFLAGS
='-I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include'" $CPPFLAGS"
23486 if test "x$debug" = xtrue
; then
23487 CPPFLAGS
="-DDEBUG $CPPFLAGS"
23488 CFLAGS
="-g $CFLAGS"
23490 CPPFLAGS
="-DNDEBUG $CPPFLAGS"
23491 if test "x$GCC" = xyes
; then
23492 CPPFLAGS
="-DFLaC__INLINE=__inline__ $CPPFLAGS"
23493 CFLAGS
="-O3 -funroll-loops -finline-functions -Wall -W -Winline $CFLAGS"
23500 if test "yes" = "no"; then
23501 FLaC__HAS_AS__TEMPORARILY_DISABLED_TRUE
=
23502 FLaC__HAS_AS__TEMPORARILY_DISABLED_FALSE
='#'
23504 FLaC__HAS_AS__TEMPORARILY_DISABLED_TRUE
='#'
23505 FLaC__HAS_AS__TEMPORARILY_DISABLED_FALSE
=
23510 if test "yes" = "no"; then
23511 FLaC__HAS_GAS__TEMPORARILY_DISABLED_TRUE
=
23512 FLaC__HAS_GAS__TEMPORARILY_DISABLED_FALSE
='#'
23514 FLaC__HAS_GAS__TEMPORARILY_DISABLED_TRUE
='#'
23515 FLaC__HAS_GAS__TEMPORARILY_DISABLED_FALSE
=
23519 ac_config_files
="$ac_config_files Makefile src/Makefile src/libFLAC/Makefile src/libFLAC/flac.pc src/libFLAC/ia32/Makefile src/libFLAC/ppc/Makefile src/libFLAC/ppc/as/Makefile src/libFLAC/ppc/gas/Makefile src/libFLAC/include/Makefile src/libFLAC/include/private/Makefile src/libFLAC/include/protected/Makefile src/libFLAC++/Makefile src/libFLAC++/flac++.pc src/flac/Makefile src/metaflac/Makefile src/monkeys_audio_utilities/Makefile src/monkeys_audio_utilities/flac_mac/Makefile src/monkeys_audio_utilities/flac_ren/Makefile src/plugin_common/Makefile src/plugin_winamp2/Makefile src/plugin_winamp2/include/Makefile src/plugin_winamp2/include/winamp2/Makefile src/plugin_xmms/Makefile src/share/Makefile src/share/getopt/Makefile src/share/grabbag/Makefile src/share/replaygain_analysis/Makefile src/share/replaygain_synthesis/Makefile src/share/replaygain_synthesis/include/Makefile src/share/replaygain_synthesis/include/private/Makefile src/share/utf8/Makefile src/test_grabbag/Makefile src/test_grabbag/cuesheet/Makefile src/test_grabbag/picture/Makefile src/test_libs_common/Makefile src/test_libFLAC/Makefile src/test_libFLAC++/Makefile src/test_seeking/Makefile src/test_streams/Makefile examples/Makefile examples/c/Makefile examples/c/decode/Makefile examples/c/decode/file/Makefile examples/c/encode/Makefile examples/c/encode/file/Makefile examples/cpp/Makefile examples/cpp/decode/Makefile examples/cpp/decode/file/Makefile examples/cpp/encode/Makefile examples/cpp/encode/file/Makefile include/Makefile include/FLAC/Makefile include/FLAC++/Makefile include/share/Makefile include/share/grabbag/Makefile include/test_libs_common/Makefile doc/Makefile doc/html/Makefile doc/html/images/Makefile doc/html/images/hw/Makefile doc/html/ru/Makefile m4/Makefile man/Makefile test/Makefile test/cuesheets/Makefile test/flac-to-flac-metadata-test-files/Makefile test/metaflac-test-files/Makefile test/pictures/Makefile build/Makefile obj/Makefile obj/debug/Makefile obj/debug/bin/Makefile obj/debug/lib/Makefile obj/release/Makefile obj/release/bin/Makefile obj/release/lib/Makefile"
23521 cat >confcache
<<\_ACEOF
23522 # This file is a shell script that caches the results of configure
23523 # tests run on this system so they can be shared between configure
23524 # scripts and configure runs, see configure's option --config-cache.
23525 # It is not useful on other systems. If it contains results you don't
23526 # want to keep, you may remove or edit it.
23528 # config.status only pays attention to the cache file if you give it
23529 # the --recheck option to rerun configure.
23531 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23532 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23533 # following values.
23537 # The following way of writing the cache mishandles newlines in values,
23538 # but we know of no workaround that is simple, portable, and efficient.
23539 # So, don't put newlines in cache variables' values.
23540 # Ultrix sh set writes to stderr and can't be redirected directly,
23541 # and sets the high bit in the cache file unless we assign to the vars.
23544 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23546 # `set' does not quote correctly, so add quotes (double-quote
23547 # substitution turns \\\\ into \\, and sed turns \\ into \).
23550 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23553 # `set' quotes correctly as required by POSIX, so do not add quotes.
23555 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23562 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23564 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23566 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23567 if test -w $cache_file; then
23568 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23569 cat confcache
>$cache_file
23571 echo "not updating unwritable cache $cache_file"
23576 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23577 # Let make expand exec_prefix.
23578 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23580 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23581 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23582 # trailing colons and then remove the whole line if VPATH becomes empty
23583 # (actually we leave an empty line to preserve line numbers).
23584 if test "x$srcdir" = x.
; then
23585 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23586 s/:*\$(srcdir):*/:/;
23587 s/:*\${srcdir}:*/:/;
23589 s/^\([^=]*=[ ]*\):*/\1/;
23595 DEFS
=-DHAVE_CONFIG_H
23599 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23600 # 1. Remove the extension, and $U if already installed.
23601 ac_i
=`echo "$ac_i" |
23602 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23604 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
23605 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
23607 LIBOBJS
=$ac_libobjs
23609 LTLIBOBJS
=$ac_ltlibobjs
23612 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23613 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23614 Usually this means the macro was only invoked conditionally." >&5
23615 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23616 Usually this means the macro was only invoked conditionally." >&2;}
23617 { (exit 1); exit 1; }; }
23619 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23620 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23621 Usually this means the macro was only invoked conditionally." >&5
23622 echo "$as_me: error: conditional \"AMDEP\" was never defined.
23623 Usually this means the macro was only invoked conditionally." >&2;}
23624 { (exit 1); exit 1; }; }
23626 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23627 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23628 Usually this means the macro was only invoked conditionally." >&5
23629 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23630 Usually this means the macro was only invoked conditionally." >&2;}
23631 { (exit 1); exit 1; }; }
23633 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23634 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23635 Usually this means the macro was only invoked conditionally." >&5
23636 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23637 Usually this means the macro was only invoked conditionally." >&2;}
23638 { (exit 1); exit 1; }; }
23640 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23641 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23642 Usually this means the macro was only invoked conditionally." >&5
23643 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23644 Usually this means the macro was only invoked conditionally." >&2;}
23645 { (exit 1); exit 1; }; }
23647 if test -z "${FLaC__CPU_IA32_TRUE}" && test -z "${FLaC__CPU_IA32_FALSE}"; then
23648 { { echo "$as_me:$LINENO: error: conditional \"FLaC__CPU_IA32\" was never defined.
23649 Usually this means the macro was only invoked conditionally." >&5
23650 echo "$as_me: error: conditional \"FLaC__CPU_IA32\" was never defined.
23651 Usually this means the macro was only invoked conditionally." >&2;}
23652 { (exit 1); exit 1; }; }
23654 if test -z "${FLaC__CPU_PPC_TRUE}" && test -z "${FLaC__CPU_PPC_FALSE}"; then
23655 { { echo "$as_me:$LINENO: error: conditional \"FLaC__CPU_PPC\" was never defined.
23656 Usually this means the macro was only invoked conditionally." >&5
23657 echo "$as_me: error: conditional \"FLaC__CPU_PPC\" was never defined.
23658 Usually this means the macro was only invoked conditionally." >&2;}
23659 { (exit 1); exit 1; }; }
23661 if test -z "${FLaC__CPU_SPARC_TRUE}" && test -z "${FLaC__CPU_SPARC_FALSE}"; then
23662 { { echo "$as_me:$LINENO: error: conditional \"FLaC__CPU_SPARC\" was never defined.
23663 Usually this means the macro was only invoked conditionally." >&5
23664 echo "$as_me: error: conditional \"FLaC__CPU_SPARC\" was never defined.
23665 Usually this means the macro was only invoked conditionally." >&2;}
23666 { (exit 1); exit 1; }; }
23668 if test -z "${FLaC__SYS_DARWIN_TRUE}" && test -z "${FLaC__SYS_DARWIN_FALSE}"; then
23669 { { echo "$as_me:$LINENO: error: conditional \"FLaC__SYS_DARWIN\" was never defined.
23670 Usually this means the macro was only invoked conditionally." >&5
23671 echo "$as_me: error: conditional \"FLaC__SYS_DARWIN\" was never defined.
23672 Usually this means the macro was only invoked conditionally." >&2;}
23673 { (exit 1); exit 1; }; }
23675 if test -z "${FLaC__SYS_LINUX_TRUE}" && test -z "${FLaC__SYS_LINUX_FALSE}"; then
23676 { { echo "$as_me:$LINENO: error: conditional \"FLaC__SYS_LINUX\" was never defined.
23677 Usually this means the macro was only invoked conditionally." >&5
23678 echo "$as_me: error: conditional \"FLaC__SYS_LINUX\" was never defined.
23679 Usually this means the macro was only invoked conditionally." >&2;}
23680 { (exit 1); exit 1; }; }
23682 if test -z "${FLaC__NO_ASM_TRUE}" && test -z "${FLaC__NO_ASM_FALSE}"; then
23683 { { echo "$as_me:$LINENO: error: conditional \"FLaC__NO_ASM\" was never defined.
23684 Usually this means the macro was only invoked conditionally." >&5
23685 echo "$as_me: error: conditional \"FLaC__NO_ASM\" was never defined.
23686 Usually this means the macro was only invoked conditionally." >&2;}
23687 { (exit 1); exit 1; }; }
23689 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
23690 { { echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
23691 Usually this means the macro was only invoked conditionally." >&5
23692 echo "$as_me: error: conditional \"DEBUG\" was never defined.
23693 Usually this means the macro was only invoked conditionally." >&2;}
23694 { (exit 1); exit 1; }; }
23696 if test -z "${FLaC__SSE_OS_TRUE}" && test -z "${FLaC__SSE_OS_FALSE}"; then
23697 { { echo "$as_me:$LINENO: error: conditional \"FLaC__SSE_OS\" was never defined.
23698 Usually this means the macro was only invoked conditionally." >&5
23699 echo "$as_me: error: conditional \"FLaC__SSE_OS\" was never defined.
23700 Usually this means the macro was only invoked conditionally." >&2;}
23701 { (exit 1); exit 1; }; }
23703 if test -z "${FLaC__USE_3DNOW_TRUE}" && test -z "${FLaC__USE_3DNOW_FALSE}"; then
23704 { { echo "$as_me:$LINENO: error: conditional \"FLaC__USE_3DNOW\" was never defined.
23705 Usually this means the macro was only invoked conditionally." >&5
23706 echo "$as_me: error: conditional \"FLaC__USE_3DNOW\" was never defined.
23707 Usually this means the macro was only invoked conditionally." >&2;}
23708 { (exit 1); exit 1; }; }
23710 if test -z "${FLaC__USE_ALTIVEC_TRUE}" && test -z "${FLaC__USE_ALTIVEC_FALSE}"; then
23711 { { echo "$as_me:$LINENO: error: conditional \"FLaC__USE_ALTIVEC\" was never defined.
23712 Usually this means the macro was only invoked conditionally." >&5
23713 echo "$as_me: error: conditional \"FLaC__USE_ALTIVEC\" was never defined.
23714 Usually this means the macro was only invoked conditionally." >&2;}
23715 { (exit 1); exit 1; }; }
23717 if test -z "${FLaC__HAS_DOXYGEN_TRUE}" && test -z "${FLaC__HAS_DOXYGEN_FALSE}"; then
23718 { { echo "$as_me:$LINENO: error: conditional \"FLaC__HAS_DOXYGEN\" was never defined.
23719 Usually this means the macro was only invoked conditionally." >&5
23720 echo "$as_me: error: conditional \"FLaC__HAS_DOXYGEN\" was never defined.
23721 Usually this means the macro was only invoked conditionally." >&2;}
23722 { (exit 1); exit 1; }; }
23724 if test -z "${FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE}" && test -z "${FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE}"; then
23725 { { echo "$as_me:$LINENO: error: conditional \"FLaC__INSTALL_XMMS_PLUGIN_LOCALLY\" was never defined.
23726 Usually this means the macro was only invoked conditionally." >&5
23727 echo "$as_me: error: conditional \"FLaC__INSTALL_XMMS_PLUGIN_LOCALLY\" was never defined.
23728 Usually this means the macro was only invoked conditionally." >&2;}
23729 { (exit 1); exit 1; }; }
23731 if test -z "${FLaC__HAS_XMMS_TRUE}" && test -z "${FLaC__HAS_XMMS_FALSE}"; then
23732 { { echo "$as_me:$LINENO: error: conditional \"FLaC__HAS_XMMS\" was never defined.
23733 Usually this means the macro was only invoked conditionally." >&5
23734 echo "$as_me: error: conditional \"FLaC__HAS_XMMS\" was never defined.
23735 Usually this means the macro was only invoked conditionally." >&2;}
23736 { (exit 1); exit 1; }; }
23738 if test -z "${FLaC__WITH_CPPLIBS_TRUE}" && test -z "${FLaC__WITH_CPPLIBS_FALSE}"; then
23739 { { echo "$as_me:$LINENO: error: conditional \"FLaC__WITH_CPPLIBS\" was never defined.
23740 Usually this means the macro was only invoked conditionally." >&5
23741 echo "$as_me: error: conditional \"FLaC__WITH_CPPLIBS\" was never defined.
23742 Usually this means the macro was only invoked conditionally." >&2;}
23743 { (exit 1); exit 1; }; }
23745 if test -z "${FLaC__HAS_OGG_TRUE}" && test -z "${FLaC__HAS_OGG_FALSE}"; then
23746 { { echo "$as_me:$LINENO: error: conditional \"FLaC__HAS_OGG\" was never defined.
23747 Usually this means the macro was only invoked conditionally." >&5
23748 echo "$as_me: error: conditional \"FLaC__HAS_OGG\" was never defined.
23749 Usually this means the macro was only invoked conditionally." >&2;}
23750 { (exit 1); exit 1; }; }
23752 if test -z "${FLaC__HAS_DOCBOOK_TO_MAN_TRUE}" && test -z "${FLaC__HAS_DOCBOOK_TO_MAN_FALSE}"; then
23753 { { echo "$as_me:$LINENO: error: conditional \"FLaC__HAS_DOCBOOK_TO_MAN\" was never defined.
23754 Usually this means the macro was only invoked conditionally." >&5
23755 echo "$as_me: error: conditional \"FLaC__HAS_DOCBOOK_TO_MAN\" was never defined.
23756 Usually this means the macro was only invoked conditionally." >&2;}
23757 { (exit 1); exit 1; }; }
23759 if test -z "${FLaC__HAS_NASM_TRUE}" && test -z "${FLaC__HAS_NASM_FALSE}"; then
23760 { { echo "$as_me:$LINENO: error: conditional \"FLaC__HAS_NASM\" was never defined.
23761 Usually this means the macro was only invoked conditionally." >&5
23762 echo "$as_me: error: conditional \"FLaC__HAS_NASM\" was never defined.
23763 Usually this means the macro was only invoked conditionally." >&2;}
23764 { (exit 1); exit 1; }; }
23766 if test -z "${FLaC__HAS_AS_TRUE}" && test -z "${FLaC__HAS_AS_FALSE}"; then
23767 { { echo "$as_me:$LINENO: error: conditional \"FLaC__HAS_AS\" was never defined.
23768 Usually this means the macro was only invoked conditionally." >&5
23769 echo "$as_me: error: conditional \"FLaC__HAS_AS\" was never defined.
23770 Usually this means the macro was only invoked conditionally." >&2;}
23771 { (exit 1); exit 1; }; }
23773 if test -z "${FLaC__HAS_GAS_TRUE}" && test -z "${FLaC__HAS_GAS_FALSE}"; then
23774 { { echo "$as_me:$LINENO: error: conditional \"FLaC__HAS_GAS\" was never defined.
23775 Usually this means the macro was only invoked conditionally." >&5
23776 echo "$as_me: error: conditional \"FLaC__HAS_GAS\" was never defined.
23777 Usually this means the macro was only invoked conditionally." >&2;}
23778 { (exit 1); exit 1; }; }
23780 if test -z "${FLaC__HAS_AS__TEMPORARILY_DISABLED_TRUE}" && test -z "${FLaC__HAS_AS__TEMPORARILY_DISABLED_FALSE}"; then
23781 { { echo "$as_me:$LINENO: error: conditional \"FLaC__HAS_AS__TEMPORARILY_DISABLED\" was never defined.
23782 Usually this means the macro was only invoked conditionally." >&5
23783 echo "$as_me: error: conditional \"FLaC__HAS_AS__TEMPORARILY_DISABLED\" was never defined.
23784 Usually this means the macro was only invoked conditionally." >&2;}
23785 { (exit 1); exit 1; }; }
23787 if test -z "${FLaC__HAS_GAS__TEMPORARILY_DISABLED_TRUE}" && test -z "${FLaC__HAS_GAS__TEMPORARILY_DISABLED_FALSE}"; then
23788 { { echo "$as_me:$LINENO: error: conditional \"FLaC__HAS_GAS__TEMPORARILY_DISABLED\" was never defined.
23789 Usually this means the macro was only invoked conditionally." >&5
23790 echo "$as_me: error: conditional \"FLaC__HAS_GAS__TEMPORARILY_DISABLED\" was never defined.
23791 Usually this means the macro was only invoked conditionally." >&2;}
23792 { (exit 1); exit 1; }; }
23795 : ${CONFIG_STATUS=./config.status}
23796 ac_clean_files_save
=$ac_clean_files
23797 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23798 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23799 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23800 cat >$CONFIG_STATUS <<_ACEOF
23802 # Generated by $as_me.
23803 # Run this file to recreate the current configuration.
23804 # Compiler output produced by configure, useful for debugging
23805 # configure, is in config.log if it exists.
23808 ac_cs_recheck=false
23810 SHELL=\${CONFIG_SHELL-$SHELL}
23813 cat >>$CONFIG_STATUS <<\_ACEOF
23814 ## --------------------- ##
23815 ## M4sh Initialization. ##
23816 ## --------------------- ##
23818 # Be Bourne compatible
23819 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23822 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23823 # is contrary to our usage. Disable this feature.
23824 alias -g '${1+"$@"}'='"$@"'
23825 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
23828 DUALCASE
=1; export DUALCASE
# for MKS sh
23830 # Support unset when possible.
23831 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23838 # Work around bugs in pre-3.0 UWIN ksh.
23839 $as_unset ENV MAIL MAILPATH
23846 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23847 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23848 LC_TELEPHONE LC_TIME
23850 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23851 eval $as_var=C
; export $as_var
23857 # Required to use basename.
23858 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23864 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
23865 as_basename
=basename
23871 # Name of the executable.
23872 as_me
=`$as_basename "$0" ||
23873 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23874 X"$0" : 'X\(//\)$' \| \
23875 X"$0" : 'X\(/\)$' \| \
23876 . : '\(.\)' 2>/dev/null ||
23878 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23879 /^X\/\(\/\/\)$/{ s//\1/; q; }
23880 /^X\/\(\/\).*/{ s//\1/; q; }
23884 # PATH needs CR, and LINENO needs CR and PATH.
23885 # Avoid depending upon Character Ranges.
23886 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23887 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23888 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23889 as_cr_digits
='0123456789'
23890 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23892 # The user is always right.
23893 if test "${PATH_SEPARATOR+set}" != set; then
23894 echo "#! /bin/sh" >conf$$.sh
23895 echo "exit 0" >>conf$$.sh
23897 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23906 as_lineno_1
=$LINENO
23907 as_lineno_2
=$LINENO
23908 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
23909 test "x$as_lineno_1" != "x$as_lineno_2" &&
23910 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
23911 # Find who we are. Look in the path if we contain no path at all
23914 *[\\/]* ) as_myself
=$0 ;;
23915 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23916 for as_dir
in $PATH
23919 test -z "$as_dir" && as_dir
=.
23920 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23925 # We did not find ourselves, most probably we were run as `sh COMMAND'
23926 # in which case we are not to be found in the path.
23927 if test "x$as_myself" = x
; then
23930 if test ! -f "$as_myself"; then
23931 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23932 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23933 { (exit 1); exit 1; }; }
23935 case $CONFIG_SHELL in
23937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23938 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
23941 test -z "$as_dir" && as_dir
=.
23942 for as_base
in sh bash ksh sh5
; do
23945 if ("$as_dir/$as_base" -c '
23946 as_lineno_1=$LINENO
23947 as_lineno_2=$LINENO
23948 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23949 test "x$as_lineno_1" != "x$as_lineno_2" &&
23950 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
23951 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
23952 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
23953 CONFIG_SHELL
=$as_dir/$as_base
23954 export CONFIG_SHELL
23955 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23963 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23964 # uniformly replaced by the line number. The first 'sed' inserts a
23965 # line-number line before each line; the second 'sed' does the real
23966 # work. The second script uses 'N' to pair each line-number line
23967 # with the numbered line, and appends trailing '-' during
23968 # substitution so that $LINENO is not a special case at line end.
23969 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23970 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23971 sed '=' <$as_myself |
23976 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23979 s,^['$as_cr_digits']*\n,,
23980 ' >$as_me.lineno
&&
23981 chmod +x
$as_me.lineno ||
23982 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23983 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23984 { (exit 1); exit 1; }; }
23986 # Don't try to exec as it changes $[0], causing all sort of problems
23987 # (the dirname of $[0] is not the place where we might find the
23988 # original and so on. Autoconf is especially sensible to this).
23990 # Exit status is that of the last command.
23995 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23996 *c
*,-n*) ECHO_N
= ECHO_C
='
23998 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
23999 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
24002 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24008 rm -f conf$$ conf$$.exe conf$$.
file
24010 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24011 # We could just check for DJGPP; but this test a) works b) is more generic
24012 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24013 if test -f conf$$.exe
; then
24014 # Don't use ln at all; we don't have any links
24019 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24024 rm -f conf$$ conf$$.exe conf$$.
file
24026 if mkdir
-p .
2>/dev
/null
; then
24029 test -d .
/-p && rmdir .
/-p
24033 as_executable_p
="test -f"
24035 # Sed expression to map a string onto a valid CPP name.
24036 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24038 # Sed expression to map a string onto a valid variable name.
24039 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24043 # We need space, tab and new line, in precisely that order.
24053 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24054 # report actual input values of CONFIG_FILES etc. instead of their
24055 # values after options handling. Logging --version etc. is OK.
24059 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24060 ## Running $as_me. ##
24065 This file was extended by $as_me, which was
24066 generated by GNU Autoconf 2.59. Invocation command line was
24068 CONFIG_FILES = $CONFIG_FILES
24069 CONFIG_HEADERS = $CONFIG_HEADERS
24070 CONFIG_LINKS = $CONFIG_LINKS
24071 CONFIG_COMMANDS = $CONFIG_COMMANDS
24075 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24079 # Files that config.status was made for.
24080 if test -n "$ac_config_files"; then
24081 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24084 if test -n "$ac_config_headers"; then
24085 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24088 if test -n "$ac_config_links"; then
24089 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24092 if test -n "$ac_config_commands"; then
24093 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24096 cat >>$CONFIG_STATUS <<\_ACEOF
24099 \`$as_me' instantiates files from templates according to the
24100 current configuration.
24102 Usage: $0 [OPTIONS] [FILE]...
24104 -h, --help print this help, then exit
24105 -V, --version print version number, then exit
24106 -q, --quiet do not print progress messages
24107 -d, --debug don't remove temporary files
24108 --recheck update $as_me by reconfiguring in the same conditions
24109 --file=FILE[:TEMPLATE]
24110 instantiate the configuration file FILE
24111 --header=FILE[:TEMPLATE]
24112 instantiate the configuration header FILE
24114 Configuration files:
24117 Configuration headers:
24120 Configuration commands:
24123 Report bugs to <bug-autoconf@gnu.org>."
24126 cat >>$CONFIG_STATUS <<_ACEOF
24129 configured by $0, generated by GNU Autoconf 2.59,
24130 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24132 Copyright (C) 2003 Free Software Foundation, Inc.
24133 This config.status script is free software; the Free Software Foundation
24134 gives unlimited permission to copy, distribute and modify it."
24139 cat >>$CONFIG_STATUS <<\_ACEOF
24140 # If no file are specified by the user, then we need to provide default
24141 # value. By we need to know if files were specified by the user.
24147 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
24148 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
24156 *) # This is not an option, so the user has probably given explicit
24159 ac_need_defaults
=false
;;
24163 # Handling of the options.
24165 cat >>$CONFIG_STATUS <<\_ACEOF
24166 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24168 --version |
--vers* |
-V )
24169 echo "$ac_cs_version"; exit 0 ;;
24171 # Conflict between --help and --header
24172 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24173 Try \`$0 --help' for more information." >&5
24174 echo "$as_me: error: ambiguous option: $1
24175 Try \`$0 --help' for more information." >&2;}
24176 { (exit 1); exit 1; }; };;
24177 --help |
--hel |
-h )
24178 echo "$ac_cs_usage"; exit 0 ;;
24179 --debug |
--d* |
-d )
24181 --file |
--fil |
--fi |
--f )
24183 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24184 ac_need_defaults
=false
;;
24185 --header |
--heade |
--head |
--hea )
24187 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24188 ac_need_defaults
=false
;;
24189 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24190 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24193 # This is an error.
24194 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24195 Try \`$0 --help' for more information." >&5
24196 echo "$as_me: error: unrecognized option: $1
24197 Try \`$0 --help' for more information." >&2;}
24198 { (exit 1); exit 1; }; } ;;
24200 *) ac_config_targets
="$ac_config_targets $1" ;;
24206 ac_configure_extra_args
=
24208 if $ac_cs_silent; then
24210 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24214 cat >>$CONFIG_STATUS <<_ACEOF
24215 if \$ac_cs_recheck; then
24216 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24217 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24222 cat >>$CONFIG_STATUS <<_ACEOF
24224 # INIT-COMMANDS section.
24227 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24233 cat >>$CONFIG_STATUS <<\_ACEOF
24234 for ac_config_target
in $ac_config_targets
24236 case "$ac_config_target" in
24237 # Handling of arguments.
24238 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24239 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
24240 "src/libFLAC/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libFLAC/Makefile" ;;
24241 "src/libFLAC/flac.pc" ) CONFIG_FILES
="$CONFIG_FILES src/libFLAC/flac.pc" ;;
24242 "src/libFLAC/ia32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libFLAC/ia32/Makefile" ;;
24243 "src/libFLAC/ppc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libFLAC/ppc/Makefile" ;;
24244 "src/libFLAC/ppc/as/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libFLAC/ppc/as/Makefile" ;;
24245 "src/libFLAC/ppc/gas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libFLAC/ppc/gas/Makefile" ;;
24246 "src/libFLAC/include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libFLAC/include/Makefile" ;;
24247 "src/libFLAC/include/private/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libFLAC/include/private/Makefile" ;;
24248 "src/libFLAC/include/protected/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libFLAC/include/protected/Makefile" ;;
24249 "src/libFLAC++/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libFLAC++/Makefile" ;;
24250 "src/libFLAC++/flac++.pc" ) CONFIG_FILES
="$CONFIG_FILES src/libFLAC++/flac++.pc" ;;
24251 "src/flac/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/flac/Makefile" ;;
24252 "src/metaflac/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/metaflac/Makefile" ;;
24253 "src/monkeys_audio_utilities/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/monkeys_audio_utilities/Makefile" ;;
24254 "src/monkeys_audio_utilities/flac_mac/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/monkeys_audio_utilities/flac_mac/Makefile" ;;
24255 "src/monkeys_audio_utilities/flac_ren/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/monkeys_audio_utilities/flac_ren/Makefile" ;;
24256 "src/plugin_common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/plugin_common/Makefile" ;;
24257 "src/plugin_winamp2/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/plugin_winamp2/Makefile" ;;
24258 "src/plugin_winamp2/include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/plugin_winamp2/include/Makefile" ;;
24259 "src/plugin_winamp2/include/winamp2/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/plugin_winamp2/include/winamp2/Makefile" ;;
24260 "src/plugin_xmms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/plugin_xmms/Makefile" ;;
24261 "src/share/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/share/Makefile" ;;
24262 "src/share/getopt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/share/getopt/Makefile" ;;
24263 "src/share/grabbag/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/share/grabbag/Makefile" ;;
24264 "src/share/replaygain_analysis/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/share/replaygain_analysis/Makefile" ;;
24265 "src/share/replaygain_synthesis/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/share/replaygain_synthesis/Makefile" ;;
24266 "src/share/replaygain_synthesis/include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/share/replaygain_synthesis/include/Makefile" ;;
24267 "src/share/replaygain_synthesis/include/private/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/share/replaygain_synthesis/include/private/Makefile" ;;
24268 "src/share/utf8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/share/utf8/Makefile" ;;
24269 "src/test_grabbag/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/test_grabbag/Makefile" ;;
24270 "src/test_grabbag/cuesheet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/test_grabbag/cuesheet/Makefile" ;;
24271 "src/test_grabbag/picture/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/test_grabbag/picture/Makefile" ;;
24272 "src/test_libs_common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/test_libs_common/Makefile" ;;
24273 "src/test_libFLAC/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/test_libFLAC/Makefile" ;;
24274 "src/test_libFLAC++/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/test_libFLAC++/Makefile" ;;
24275 "src/test_seeking/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/test_seeking/Makefile" ;;
24276 "src/test_streams/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/test_streams/Makefile" ;;
24277 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
24278 "examples/c/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/c/Makefile" ;;
24279 "examples/c/decode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/c/decode/Makefile" ;;
24280 "examples/c/decode/file/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/c/decode/file/Makefile" ;;
24281 "examples/c/encode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/c/encode/Makefile" ;;
24282 "examples/c/encode/file/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/c/encode/file/Makefile" ;;
24283 "examples/cpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/cpp/Makefile" ;;
24284 "examples/cpp/decode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/cpp/decode/Makefile" ;;
24285 "examples/cpp/decode/file/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/cpp/decode/file/Makefile" ;;
24286 "examples/cpp/encode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/cpp/encode/Makefile" ;;
24287 "examples/cpp/encode/file/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/cpp/encode/file/Makefile" ;;
24288 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
24289 "include/FLAC/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/FLAC/Makefile" ;;
24290 "include/FLAC++/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/FLAC++/Makefile" ;;
24291 "include/share/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/share/Makefile" ;;
24292 "include/share/grabbag/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/share/grabbag/Makefile" ;;
24293 "include/test_libs_common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/test_libs_common/Makefile" ;;
24294 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
24295 "doc/html/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/html/Makefile" ;;
24296 "doc/html/images/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/html/images/Makefile" ;;
24297 "doc/html/images/hw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/html/images/hw/Makefile" ;;
24298 "doc/html/ru/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/html/ru/Makefile" ;;
24299 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
24300 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
24301 "test/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
24302 "test/cuesheets/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/cuesheets/Makefile" ;;
24303 "test/flac-to-flac-metadata-test-files/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/flac-to-flac-metadata-test-files/Makefile" ;;
24304 "test/metaflac-test-files/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/metaflac-test-files/Makefile" ;;
24305 "test/pictures/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/pictures/Makefile" ;;
24306 "build/Makefile" ) CONFIG_FILES
="$CONFIG_FILES build/Makefile" ;;
24307 "obj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES obj/Makefile" ;;
24308 "obj/debug/Makefile" ) CONFIG_FILES
="$CONFIG_FILES obj/debug/Makefile" ;;
24309 "obj/debug/bin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES obj/debug/bin/Makefile" ;;
24310 "obj/debug/lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES obj/debug/lib/Makefile" ;;
24311 "obj/release/Makefile" ) CONFIG_FILES
="$CONFIG_FILES obj/release/Makefile" ;;
24312 "obj/release/bin/Makefile" ) CONFIG_FILES
="$CONFIG_FILES obj/release/bin/Makefile" ;;
24313 "obj/release/lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES obj/release/lib/Makefile" ;;
24314 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
24315 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
24316 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24317 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24318 { (exit 1); exit 1; }; };;
24322 # If the user did not use the arguments to specify the items to instantiate,
24323 # then the envvar interface is used. Set only those that are not.
24324 # We use the long form for the default assignment because of an extremely
24325 # bizarre bug on SunOS 4.1.3.
24326 if $ac_need_defaults; then
24327 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24328 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24329 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24332 # Have a temporary directory for convenience. Make it in the build tree
24333 # simply because there is no reason to put it here, and in addition,
24334 # creating and moving files from /tmp can sometimes cause problems.
24335 # Create a temporary directory, and hook for its removal unless debugging.
24338 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24339 trap '{ (exit 1); exit 1; }' 1 2 13 15
24342 # Create a (secure) tmp directory for tmp files.
24345 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24346 test -n "$tmp" && test -d "$tmp"
24349 tmp
=.
/confstat$$
-$RANDOM
24350 (umask 077 && mkdir
$tmp)
24353 echo "$me: cannot create a temporary directory in ." >&2
24354 { (exit 1); exit 1; }
24359 cat >>$CONFIG_STATUS <<_ACEOF
24362 # CONFIG_FILES section.
24365 # No need to generate the scripts if there are no CONFIG_FILES.
24366 # This happens for instance when ./config.status config.h
24367 if test -n "\$CONFIG_FILES"; then
24368 # Protect against being on the right side of a sed subst in config.status.
24369 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24370 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24371 s,@SHELL@,$SHELL,;t t
24372 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24373 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24374 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24375 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24376 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24377 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24378 s,@exec_prefix@,$exec_prefix,;t t
24379 s,@prefix@,$prefix,;t t
24380 s,@program_transform_name@,$program_transform_name,;t t
24381 s,@bindir@,$bindir,;t t
24382 s,@sbindir@,$sbindir,;t t
24383 s,@libexecdir@,$libexecdir,;t t
24384 s,@datadir@,$datadir,;t t
24385 s,@sysconfdir@,$sysconfdir,;t t
24386 s,@sharedstatedir@,$sharedstatedir,;t t
24387 s,@localstatedir@,$localstatedir,;t t
24388 s,@libdir@,$libdir,;t t
24389 s,@includedir@,$includedir,;t t
24390 s,@oldincludedir@,$oldincludedir,;t t
24391 s,@infodir@,$infodir,;t t
24392 s,@mandir@,$mandir,;t t
24393 s,@build_alias@,$build_alias,;t t
24394 s,@host_alias@,$host_alias,;t t
24395 s,@target_alias@,$target_alias,;t t
24396 s,@DEFS@,$DEFS,;t t
24397 s,@ECHO_C@,$ECHO_C,;t t
24398 s,@ECHO_N@,$ECHO_N,;t t
24399 s,@ECHO_T@,$ECHO_T,;t t
24400 s,@LIBS@,$LIBS,;t t
24401 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24402 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24403 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24404 s,@CYGPATH_W@,$CYGPATH_W,;t t
24405 s,@PACKAGE@,$PACKAGE,;t t
24406 s,@VERSION@,$VERSION,;t t
24407 s,@ACLOCAL@,$ACLOCAL,;t t
24408 s,@AUTOCONF@,$AUTOCONF,;t t
24409 s,@AUTOMAKE@,$AUTOMAKE,;t t
24410 s,@AUTOHEADER@,$AUTOHEADER,;t t
24411 s,@MAKEINFO@,$MAKEINFO,;t t
24412 s,@AMTAR@,$AMTAR,;t t
24413 s,@install_sh@,$install_sh,;t t
24414 s,@STRIP@,$STRIP,;t t
24415 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24416 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24418 s,@SET_MAKE@,$SET_MAKE,;t t
24419 s,@am__leading_dot@,$am__leading_dot,;t t
24420 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24421 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24422 s,@MAINT@,$MAINT,;t t
24423 s,@build@,$build,;t t
24424 s,@build_cpu@,$build_cpu,;t t
24425 s,@build_vendor@,$build_vendor,;t t
24426 s,@build_os@,$build_os,;t t
24427 s,@host@,$host,;t t
24428 s,@host_cpu@,$host_cpu,;t t
24429 s,@host_vendor@,$host_vendor,;t t
24430 s,@host_os@,$host_os,;t t
24432 s,@CFLAGS@,$CFLAGS,;t t
24433 s,@LDFLAGS@,$LDFLAGS,;t t
24434 s,@CPPFLAGS@,$CPPFLAGS,;t t
24435 s,@ac_ct_CC@,$ac_ct_CC,;t t
24436 s,@EXEEXT@,$EXEEXT,;t t
24437 s,@OBJEXT@,$OBJEXT,;t t
24438 s,@DEPDIR@,$DEPDIR,;t t
24439 s,@am__include@,$am__include,;t t
24440 s,@am__quote@,$am__quote,;t t
24441 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
24442 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
24443 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
24444 s,@CCDEPMODE@,$CCDEPMODE,;t t
24445 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
24446 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
24447 s,@EGREP@,$EGREP,;t t
24448 s,@LN_S@,$LN_S,;t t
24449 s,@ECHO@,$ECHO,;t t
24451 s,@ac_ct_AR@,$ac_ct_AR,;t t
24452 s,@RANLIB@,$RANLIB,;t t
24453 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24456 s,@CXXFLAGS@,$CXXFLAGS,;t t
24457 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
24458 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
24459 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
24460 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
24461 s,@CXXCPP@,$CXXCPP,;t t
24463 s,@FFLAGS@,$FFLAGS,;t t
24464 s,@ac_ct_F77@,$ac_ct_F77,;t t
24465 s,@LIBTOOL@,$LIBTOOL,;t t
24466 s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
24467 s,@CCAS@,$CCAS,;t t
24468 s,@CCASFLAGS@,$CCASFLAGS,;t t
24469 s,@FLaC__CPU_IA32_TRUE@,$FLaC__CPU_IA32_TRUE,;t t
24470 s,@FLaC__CPU_IA32_FALSE@,$FLaC__CPU_IA32_FALSE,;t t
24471 s,@FLaC__CPU_PPC_TRUE@,$FLaC__CPU_PPC_TRUE,;t t
24472 s,@FLaC__CPU_PPC_FALSE@,$FLaC__CPU_PPC_FALSE,;t t
24473 s,@FLaC__CPU_SPARC_TRUE@,$FLaC__CPU_SPARC_TRUE,;t t
24474 s,@FLaC__CPU_SPARC_FALSE@,$FLaC__CPU_SPARC_FALSE,;t t
24475 s,@OBJ_FORMAT@,$OBJ_FORMAT,;t t
24476 s,@MINGW_WINSOCK_LIBS@,$MINGW_WINSOCK_LIBS,;t t
24477 s,@FLaC__SYS_DARWIN_TRUE@,$FLaC__SYS_DARWIN_TRUE,;t t
24478 s,@FLaC__SYS_DARWIN_FALSE@,$FLaC__SYS_DARWIN_FALSE,;t t
24479 s,@FLaC__SYS_LINUX_TRUE@,$FLaC__SYS_LINUX_TRUE,;t t
24480 s,@FLaC__SYS_LINUX_FALSE@,$FLaC__SYS_LINUX_FALSE,;t t
24481 s,@FLaC__NO_ASM_TRUE@,$FLaC__NO_ASM_TRUE,;t t
24482 s,@FLaC__NO_ASM_FALSE@,$FLaC__NO_ASM_FALSE,;t t
24483 s,@DEBUG_TRUE@,$DEBUG_TRUE,;t t
24484 s,@DEBUG_FALSE@,$DEBUG_FALSE,;t t
24485 s,@FLaC__SSE_OS_TRUE@,$FLaC__SSE_OS_TRUE,;t t
24486 s,@FLaC__SSE_OS_FALSE@,$FLaC__SSE_OS_FALSE,;t t
24487 s,@FLaC__USE_3DNOW_TRUE@,$FLaC__USE_3DNOW_TRUE,;t t
24488 s,@FLaC__USE_3DNOW_FALSE@,$FLaC__USE_3DNOW_FALSE,;t t
24489 s,@FLaC__USE_ALTIVEC_TRUE@,$FLaC__USE_ALTIVEC_TRUE,;t t
24490 s,@FLaC__USE_ALTIVEC_FALSE@,$FLaC__USE_ALTIVEC_FALSE,;t t
24491 s,@FLAC__TEST_LEVEL@,$FLAC__TEST_LEVEL,;t t
24492 s,@FLAC__TEST_WITH_VALGRIND@,$FLAC__TEST_WITH_VALGRIND,;t t
24493 s,@DOXYGEN@,$DOXYGEN,;t t
24494 s,@FLaC__HAS_DOXYGEN_TRUE@,$FLaC__HAS_DOXYGEN_TRUE,;t t
24495 s,@FLaC__HAS_DOXYGEN_FALSE@,$FLaC__HAS_DOXYGEN_FALSE,;t t
24496 s,@FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE@,$FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE,;t t
24497 s,@FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE@,$FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE,;t t
24498 s,@XMMS_CONFIG@,$XMMS_CONFIG,;t t
24499 s,@XMMS_CFLAGS@,$XMMS_CFLAGS,;t t
24500 s,@XMMS_LIBS@,$XMMS_LIBS,;t t
24501 s,@XMMS_VERSION@,$XMMS_VERSION,;t t
24502 s,@XMMS_DATA_DIR@,$XMMS_DATA_DIR,;t t
24503 s,@XMMS_PLUGIN_DIR@,$XMMS_PLUGIN_DIR,;t t
24504 s,@XMMS_VISUALIZATION_PLUGIN_DIR@,$XMMS_VISUALIZATION_PLUGIN_DIR,;t t
24505 s,@XMMS_INPUT_PLUGIN_DIR@,$XMMS_INPUT_PLUGIN_DIR,;t t
24506 s,@XMMS_OUTPUT_PLUGIN_DIR@,$XMMS_OUTPUT_PLUGIN_DIR,;t t
24507 s,@XMMS_GENERAL_PLUGIN_DIR@,$XMMS_GENERAL_PLUGIN_DIR,;t t
24508 s,@XMMS_EFFECT_PLUGIN_DIR@,$XMMS_EFFECT_PLUGIN_DIR,;t t
24509 s,@FLaC__HAS_XMMS_TRUE@,$FLaC__HAS_XMMS_TRUE,;t t
24510 s,@FLaC__HAS_XMMS_FALSE@,$FLaC__HAS_XMMS_FALSE,;t t
24511 s,@FLaC__WITH_CPPLIBS_TRUE@,$FLaC__WITH_CPPLIBS_TRUE,;t t
24512 s,@FLaC__WITH_CPPLIBS_FALSE@,$FLaC__WITH_CPPLIBS_FALSE,;t t
24513 s,@OGG_CFLAGS@,$OGG_CFLAGS,;t t
24514 s,@OGG_LIBS@,$OGG_LIBS,;t t
24515 s,@FLaC__HAS_OGG_TRUE@,$FLaC__HAS_OGG_TRUE,;t t
24516 s,@FLaC__HAS_OGG_FALSE@,$FLaC__HAS_OGG_FALSE,;t t
24517 s,@LIBICONV@,$LIBICONV,;t t
24518 s,@LTLIBICONV@,$LTLIBICONV,;t t
24519 s,@DOCBOOK_TO_MAN@,$DOCBOOK_TO_MAN,;t t
24520 s,@FLaC__HAS_DOCBOOK_TO_MAN_TRUE@,$FLaC__HAS_DOCBOOK_TO_MAN_TRUE,;t t
24521 s,@FLaC__HAS_DOCBOOK_TO_MAN_FALSE@,$FLaC__HAS_DOCBOOK_TO_MAN_FALSE,;t t
24522 s,@NASM@,$NASM,;t t
24523 s,@FLaC__HAS_NASM_TRUE@,$FLaC__HAS_NASM_TRUE,;t t
24524 s,@FLaC__HAS_NASM_FALSE@,$FLaC__HAS_NASM_FALSE,;t t
24527 s,@FLaC__HAS_AS_TRUE@,$FLaC__HAS_AS_TRUE,;t t
24528 s,@FLaC__HAS_AS_FALSE@,$FLaC__HAS_AS_FALSE,;t t
24529 s,@FLaC__HAS_GAS_TRUE@,$FLaC__HAS_GAS_TRUE,;t t
24530 s,@FLaC__HAS_GAS_FALSE@,$FLaC__HAS_GAS_FALSE,;t t
24531 s,@FLaC__HAS_AS__TEMPORARILY_DISABLED_TRUE@,$FLaC__HAS_AS__TEMPORARILY_DISABLED_TRUE,;t t
24532 s,@FLaC__HAS_AS__TEMPORARILY_DISABLED_FALSE@,$FLaC__HAS_AS__TEMPORARILY_DISABLED_FALSE,;t t
24533 s,@FLaC__HAS_GAS__TEMPORARILY_DISABLED_TRUE@,$FLaC__HAS_GAS__TEMPORARILY_DISABLED_TRUE,;t t
24534 s,@FLaC__HAS_GAS__TEMPORARILY_DISABLED_FALSE@,$FLaC__HAS_GAS__TEMPORARILY_DISABLED_FALSE,;t t
24535 s,@LIBOBJS@,$LIBOBJS,;t t
24536 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24541 cat >>$CONFIG_STATUS <<\_ACEOF
24542 # Split the substitutions into bite-sized pieces for seds with
24543 # small command number limits, like on Digital OSF/1 and HP-UX.
24544 ac_max_sed_lines
=48
24545 ac_sed_frag
=1 # Number of current file.
24546 ac_beg
=1 # First line for current file.
24547 ac_end
=$ac_max_sed_lines # Line after last line for current file.
24550 while $ac_more_lines; do
24551 if test $ac_beg -gt 1; then
24552 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24554 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24556 if test ! -s $tmp/subs.frag
; then
24557 ac_more_lines
=false
24559 # The purpose of the label and of the branching condition is to
24560 # speed up the sed processing (if there are no `@' at all, there
24561 # is no need to browse any of the substitutions).
24562 # These are the two extra sed commands mentioned above.
24564 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
24565 if test -z "$ac_sed_cmds"; then
24566 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
24568 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24570 ac_sed_frag
=`expr $ac_sed_frag + 1`
24572 ac_end
=`expr $ac_end + $ac_max_sed_lines`
24575 if test -z "$ac_sed_cmds"; then
24578 fi # test -n "$CONFIG_FILES"
24581 cat >>$CONFIG_STATUS <<\_ACEOF
24582 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
24583 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24585 - |
*:- |
*:-:* ) # input from stdin
24587 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24588 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24589 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24590 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24591 * ) ac_file_in
=$ac_file.
in ;;
24594 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24595 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24596 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24597 X"$ac_file" : 'X\(//\)[^/]' \| \
24598 X"$ac_file" : 'X\(//\)$' \| \
24599 X"$ac_file" : 'X\(/\)' \| \
24600 . : '\(.\)' 2>/dev/null ||
24602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24603 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24604 /^X\(\/\/\)$/{ s//\1/; q; }
24605 /^X\(\/\).*/{ s//\1/; q; }
24607 { if $as_mkdir_p; then
24612 while test ! -d "$as_dir"; do
24613 as_dirs
="$as_dir $as_dirs"
24614 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24615 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24616 X"$as_dir" : 'X\(//\)[^/]' \| \
24617 X"$as_dir" : 'X\(//\)$' \| \
24618 X"$as_dir" : 'X\(/\)' \| \
24619 . : '\(.\)' 2>/dev/null ||
24621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24622 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24623 /^X\(\/\/\)$/{ s//\1/; q; }
24624 /^X\(\/\).*/{ s//\1/; q; }
24627 test ! -n "$as_dirs" || mkdir
$as_dirs
24628 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24629 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24630 { (exit 1); exit 1; }; }; }
24634 if test "$ac_dir" != .
; then
24635 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24636 # A "../" for each directory in $ac_dir_suffix.
24637 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24639 ac_dir_suffix
= ac_top_builddir
=
24643 .
) # No --srcdir option. We are building in place.
24645 if test -z "$ac_top_builddir"; then
24648 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24650 [\\/]* | ?
:[\\/]* ) # Absolute path.
24651 ac_srcdir
=$srcdir$ac_dir_suffix;
24652 ac_top_srcdir
=$srcdir ;;
24653 *) # Relative path.
24654 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24655 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24658 # Do not use `cd foo && pwd` to compute absolute paths, because
24659 # the directories may not exist.
24661 .
) ac_abs_builddir
="$ac_dir";;
24664 .
) ac_abs_builddir
=`pwd`;;
24665 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24666 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24669 case $ac_abs_builddir in
24670 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24672 case ${ac_top_builddir}.
in
24673 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24674 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24675 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24678 case $ac_abs_builddir in
24679 .
) ac_abs_srcdir
=$ac_srcdir;;
24682 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24683 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24684 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24687 case $ac_abs_builddir in
24688 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24690 case $ac_top_srcdir in
24691 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24692 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24693 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24699 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24700 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
24703 if test x
"$ac_file" != x-
; then
24704 { echo "$as_me:$LINENO: creating $ac_file" >&5
24705 echo "$as_me: creating $ac_file" >&6;}
24708 # Let's still pretend it is `configure' which instantiates (i.e., don't
24709 # use $as_me), people would be surprised to read:
24710 # /* config.h. Generated by config.status. */
24711 if test x
"$ac_file" = x-
; then
24714 configure_input
="$ac_file. "
24716 configure_input
=$configure_input"Generated from `echo $ac_file_in |
24717 sed 's,.*/,,'` by configure."
24719 # First look for the input files in the build tree, otherwise in the
24721 ac_file_inputs
=`IFS=:
24722 for f in $ac_file_in; do
24724 -) echo $tmp/stdin ;;
24726 # Absolute (can't be DOS-style, as IFS=:)
24727 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24728 echo "$as_me: error: cannot find input file: $f" >&2;}
24729 { (exit 1); exit 1; }; }
24732 if test -f "$f"; then
24735 elif test -f "$srcdir/$f"; then
24740 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24741 echo "$as_me: error: cannot find input file: $f" >&2;}
24742 { (exit 1); exit 1; }; }
24745 done` ||
{ (exit 1); exit 1; }
24747 cat >>$CONFIG_STATUS <<_ACEOF
24751 cat >>$CONFIG_STATUS <<\_ACEOF
24753 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24754 s
,@configure_input@
,$configure_input,;t t
24755 s
,@srcdir@
,$ac_srcdir,;t t
24756 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
24757 s
,@top_srcdir@
,$ac_top_srcdir,;t t
24758 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
24759 s
,@builddir@
,$ac_builddir,;t t
24760 s
,@abs_builddir@
,$ac_abs_builddir,;t t
24761 s
,@top_builddir@
,$ac_top_builddir,;t t
24762 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
24763 s
,@INSTALL@
,$ac_INSTALL,;t t
24764 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24766 if test x"$ac_file" != x-; then
24767 mv $tmp/out $ac_file
24775 cat >>$CONFIG_STATUS <<\_ACEOF
24778 # CONFIG_HEADER section.
24781 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
24782 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24784 # ac_d sets the value in "#define NAME VALUE" lines.
24785 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24786 ac_dB
='[ ].*$,\1#\2'
24789 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24790 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24791 ac_uB
='$,\1#\2define\3'
24795 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
24796 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24798 - |
*:- |
*:-:* ) # input from stdin
24800 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24801 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24802 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24803 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24804 * ) ac_file_in
=$ac_file.
in ;;
24807 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
24808 echo "$as_me: creating $ac_file" >&6;}
24810 # First look for the input files in the build tree, otherwise in the
24812 ac_file_inputs
=`IFS=:
24813 for f in $ac_file_in; do
24815 -) echo $tmp/stdin ;;
24817 # Absolute (can't be DOS-style, as IFS=:)
24818 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24819 echo "$as_me: error: cannot find input file: $f" >&2;}
24820 { (exit 1); exit 1; }; }
24821 # Do quote $f, to prevent DOS paths from being IFS'd.
24824 if test -f "$f"; then
24827 elif test -f "$srcdir/$f"; then
24832 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24833 echo "$as_me: error: cannot find input file: $f" >&2;}
24834 { (exit 1); exit 1; }; }
24837 done` ||
{ (exit 1); exit 1; }
24838 # Remove the trailing spaces.
24839 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24843 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24844 # `conftest.undefs', that substitutes the proper values into
24845 # config.h.in to produce config.h. The first handles `#define'
24846 # templates, and the second `#undef' templates.
24847 # And first: Protect against being on the right side of a sed subst in
24848 # config.status. Protect against being in an unquoted here document
24849 # in config.status.
24850 rm -f conftest.defines conftest.undefs
24851 # Using a here document instead of a string reduces the quoting nightmare.
24852 # Putting comments in sed scripts is not portable.
24854 # `end' is used to avoid that the second main sed command (meant for
24855 # 0-ary CPP macros) applies to n-ary macro definitions.
24856 # See the Autoconf documentation for `clear'.
24857 cat >confdef2sed.
sed <<\_ACEOF
24862 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24864 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24867 # If some macros were called several times there might be several times
24868 # the same #defines, which is useless. Nevertheless, we may not want to
24869 # sort them, since we want the *last* AC-DEFINE to be honored.
24870 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24871 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24872 rm -f confdef2sed.sed
24874 # This sed command replaces #undef with comments. This is necessary, for
24875 # example, in the case of _POSIX_SOURCE, which is predefined and required
24876 # on some systems where configure will not decide to define it.
24877 cat >>conftest.undefs <<\_ACEOF
24878 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24881 # Break up conftest.defines because some shells have a limit on the size
24882 # of here documents, and old seds have small limits too (100 cmds).
24883 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24884 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24885 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24886 echo ' :' >>$CONFIG_STATUS
24887 rm -f conftest.tail
24888 while grep . conftest.defines >/dev/null
24890 # Write a limited-size here document to $tmp/defines.sed.
24891 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24892 # Speed up: don't consider the non `#define' lines.
24893 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24894 # Work around the forget-to-reset-the-flag bug.
24895 echo 't clr' >>$CONFIG_STATUS
24896 echo ': clr' >>$CONFIG_STATUS
24897 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
24899 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24901 mv $tmp/out $tmp/in
24903 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
24904 rm -f conftest.defines
24905 mv conftest.
tail conftest.defines
24907 rm -f conftest.defines
24908 echo ' fi # grep' >>$CONFIG_STATUS
24909 echo >>$CONFIG_STATUS
24911 # Break up conftest.undefs because some shells have a limit on the size
24912 # of here documents, and old seds have small limits too (100 cmds).
24913 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24914 rm -f conftest.
tail
24915 while grep . conftest.undefs
>/dev
/null
24917 # Write a limited-size here document to $tmp/undefs.sed.
24918 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24919 # Speed up: don't consider the non
`#undef'
24920 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24921 # Work around the forget-to-reset-the-flag bug.
24922 echo 't clr' >>$CONFIG_STATUS
24923 echo ': clr' >>$CONFIG_STATUS
24924 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24926 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24928 mv $tmp/out $tmp/in
24930 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24931 rm -f conftest.undefs
24932 mv conftest.tail conftest.undefs
24934 rm -f conftest.undefs
24936 cat >>$CONFIG_STATUS <<\_ACEOF
24937 # Let's still pretend it is `configure
' which instantiates (i.e., don't
24938 # use $as_me), people would be surprised to read:
24939 # /* config.h. Generated by config.status. */
24940 if test x
"$ac_file" = x-
; then
24941 echo "/* Generated by configure. */" >$tmp/config.h
24943 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24945 cat $tmp/in >>$tmp/config.h
24947 if test x
"$ac_file" != x-
; then
24948 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
24949 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24950 echo "$as_me: $ac_file is unchanged" >&6;}
24952 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24953 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24954 X"$ac_file" : 'X\(//\)[^/]' \| \
24955 X"$ac_file" : 'X\(//\)$' \| \
24956 X"$ac_file" : 'X\(/\)' \| \
24957 . : '\(.\)' 2>/dev/null ||
24959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24960 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24961 /^X\(\/\/\)$/{ s//\1/; q; }
24962 /^X\(\/\).*/{ s//\1/; q; }
24964 { if $as_mkdir_p; then
24969 while test ! -d "$as_dir"; do
24970 as_dirs
="$as_dir $as_dirs"
24971 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24972 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24973 X"$as_dir" : 'X\(//\)[^/]' \| \
24974 X"$as_dir" : 'X\(//\)$' \| \
24975 X"$as_dir" : 'X\(/\)' \| \
24976 . : '\(.\)' 2>/dev/null ||
24978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24979 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24980 /^X\(\/\/\)$/{ s//\1/; q; }
24981 /^X\(\/\).*/{ s//\1/; q; }
24984 test ! -n "$as_dirs" || mkdir
$as_dirs
24985 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24986 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24987 { (exit 1); exit 1; }; }; }
24990 mv $tmp/config.h
$ac_file
24994 rm -f $tmp/config.h
24996 # Compute $ac_file's index in $config_headers.
24998 for _am_header
in $config_headers :; do
24999 case $_am_header in
25000 $ac_file |
$ac_file:* )
25003 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25006 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25007 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25008 X$ac_file : 'X\(//\)[^/]' \| \
25009 X$ac_file : 'X\(//\)$' \| \
25010 X$ac_file : 'X\(/\)' \| \
25011 . : '\(.\)' 2>/dev/null ||
25013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25014 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25015 /^X\(\/\/\)$/{ s//\1/; q; }
25016 /^X\(\/\).*/{ s//\1/; q; }
25017 s/.*/./; q'`/stamp-h
$_am_stamp_count
25020 cat >>$CONFIG_STATUS <<\_ACEOF
25023 # CONFIG_COMMANDS section.
25025 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
25026 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
25027 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25028 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25029 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25030 X"$ac_dest" : 'X\(//\)[^/]' \| \
25031 X"$ac_dest" : 'X\(//\)$' \| \
25032 X"$ac_dest" : 'X\(/\)' \| \
25033 . : '\(.\)' 2>/dev/null ||
25035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25036 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25037 /^X\(\/\/\)$/{ s//\1/; q; }
25038 /^X\(\/\).*/{ s//\1/; q; }
25040 { if $as_mkdir_p; then
25045 while test ! -d "$as_dir"; do
25046 as_dirs
="$as_dir $as_dirs"
25047 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25048 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25049 X"$as_dir" : 'X\(//\)[^/]' \| \
25050 X"$as_dir" : 'X\(//\)$' \| \
25051 X"$as_dir" : 'X\(/\)' \| \
25052 . : '\(.\)' 2>/dev/null ||
25054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25056 /^X\(\/\/\)$/{ s//\1/; q; }
25057 /^X\(\/\).*/{ s//\1/; q; }
25060 test ! -n "$as_dirs" || mkdir
$as_dirs
25061 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25062 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25063 { (exit 1); exit 1; }; }; }
25067 if test "$ac_dir" != .
; then
25068 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25069 # A "../" for each directory in $ac_dir_suffix.
25070 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25072 ac_dir_suffix
= ac_top_builddir
=
25076 .
) # No --srcdir option. We are building in place.
25078 if test -z "$ac_top_builddir"; then
25081 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25083 [\\/]* | ?
:[\\/]* ) # Absolute path.
25084 ac_srcdir
=$srcdir$ac_dir_suffix;
25085 ac_top_srcdir
=$srcdir ;;
25086 *) # Relative path.
25087 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25088 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25091 # Do not use `cd foo && pwd` to compute absolute paths, because
25092 # the directories may not exist.
25094 .
) ac_abs_builddir
="$ac_dir";;
25097 .
) ac_abs_builddir
=`pwd`;;
25098 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25099 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25102 case $ac_abs_builddir in
25103 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25105 case ${ac_top_builddir}.
in
25106 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25107 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25108 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25111 case $ac_abs_builddir in
25112 .
) ac_abs_srcdir
=$ac_srcdir;;
25115 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25116 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25117 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25120 case $ac_abs_builddir in
25121 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25123 case $ac_top_srcdir in
25124 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25125 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25126 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25131 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25132 echo "$as_me: executing $ac_dest commands" >&6;}
25134 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
25135 # Strip MF so we end up with the name of the file.
25136 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25137 # Check whether this is an Automake generated Makefile or not.
25138 # We used to match only the files named `Makefile.in', but
25139 # some people rename them; so instead we look at the file content.
25140 # Grep'ing the first line is not enough: some people post-process
25141 # each Makefile.in and add a new line on top of each file to say so.
25142 # So let's grep whole file.
25143 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
25144 dirpart
=`(dirname "$mf") 2>/dev/null ||
25145 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25146 X"$mf" : 'X\(//\)[^/]' \| \
25147 X"$mf" : 'X\(//\)$' \| \
25148 X"$mf" : 'X\(/\)' \| \
25149 . : '\(.\)' 2>/dev/null ||
25151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25152 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25153 /^X\(\/\/\)$/{ s//\1/; q; }
25154 /^X\(\/\).*/{ s//\1/; q; }
25159 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
25160 # Extract the definition of DEP_FILES from the Makefile without
25162 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
25163 test -z "$DEPDIR" && continue
25164 # When using ansi2knr, U may be empty or an underscore; expand it
25165 U
=`sed -n -e '/^U = / s///p' < "$mf"`
25166 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
25167 # We invoke sed twice because it is the simplest approach to
25168 # changing $(DEPDIR) to its actual value in the expansion.
25169 for file in `sed -n -e '
25170 /^DEP_FILES = .*\\\\$/ {
25179 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
25180 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25181 # Make sure the directory exists.
25182 test -f "$dirpart/$file" && continue
25183 fdir
=`(dirname "$file") 2>/dev/null ||
25184 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25185 X"$file" : 'X\(//\)[^/]' \| \
25186 X"$file" : 'X\(//\)$' \| \
25187 X"$file" : 'X\(/\)' \| \
25188 . : '\(.\)' 2>/dev/null ||
25190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25192 /^X\(\/\/\)$/{ s//\1/; q; }
25193 /^X\(\/\).*/{ s//\1/; q; }
25195 { if $as_mkdir_p; then
25196 mkdir
-p $dirpart/$fdir
25198 as_dir
=$dirpart/$fdir
25200 while test ! -d "$as_dir"; do
25201 as_dirs
="$as_dir $as_dirs"
25202 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25203 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25204 X"$as_dir" : 'X\(//\)[^/]' \| \
25205 X"$as_dir" : 'X\(//\)$' \| \
25206 X"$as_dir" : 'X\(/\)' \| \
25207 . : '\(.\)' 2>/dev/null ||
25209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25211 /^X\(\/\/\)$/{ s//\1/; q; }
25212 /^X\(\/\).*/{ s//\1/; q; }
25215 test ! -n "$as_dirs" || mkdir
$as_dirs
25216 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25217 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
25218 { (exit 1); exit 1; }; }; }
25220 # echo "creating $dirpart/$file"
25221 echo '# dummy' > "$dirpart/$file"
25229 cat >>$CONFIG_STATUS <<\_ACEOF
25231 { (exit 0); exit 0; }
25233 chmod +x
$CONFIG_STATUS
25234 ac_clean_files
=$ac_clean_files_save
25237 # configure is writing to config.log, and then calls config.status.
25238 # config.status does its own redirection, appending to config.log.
25239 # Unfortunately, on DOS this fails, as config.log is still kept open
25240 # by configure, so config.status won't be able to write to it; its
25241 # output is simply discarded. So we exec the FD to /dev/null,
25242 # effectively closing config.log, so it can be properly (re)opened and
25243 # appended to by config.status. When coming back to configure, we
25244 # need to make the FD available again.
25245 if test "$no_create" != yes; then
25247 ac_config_status_args
=
25248 test "$silent" = yes &&
25249 ac_config_status_args
="$ac_config_status_args --quiet"
25251 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25253 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25254 # would make configure fail if this is the last instruction.
25255 $ac_cs_success ||
{ (exit 1); exit 1; }