2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for MaNGOS 0.5-SVN.
5 # Report bugs to <http://www.mangosproject.org/>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL
=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec
; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo
; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo
; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset
; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
291 echo_test_string
=`eval $cmd` &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
311 for dir
in $PATH /usr
/ucb
; do
313 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho
; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL
=/bin
/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
352 SHELL
="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string
=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames
=${tagnames+${tagnames},}CXX
398 tagnames
=${tagnames+${tagnames},}F77
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix
=/usr
/local
411 ac_config_libobj_dir
=.
416 SHELL
=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME
='MaNGOS'
425 PACKAGE_TARNAME
='mangos'
426 PACKAGE_VERSION
='0.5-SVN'
427 PACKAGE_STRING
='MaNGOS 0.5-SVN'
428 PACKAGE_BUGREPORT
='http://www.mangosproject.org/'
430 ac_unique_file
="src/mangosd/Main.cpp"
431 # Factoring default headers for most tests.
432 ac_includes_default
="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL __PYTHON INCLUDES LIBOBJS ALLOCA WITH_PYTHON_SUBDIR WITH_PYTHON_SUBPACKAGE WITH_PYTHON_VERSION __DOXYGEN WITH_APIDOCS_TARGET WITH_APIDOCS LINKER_OPTIONS COMPILER_OPTIONS EXTRA_LINKER_OPTIONS EXTRA_COMPILER_OPTIONS MANGOSD_CONFIG MANGOSD_CONFIGDIR MANGOSD_DATA MANGOSD_ENABLE_CLI MANGOSD_ENABLE_RA LT_RELEASE LT_CURRENT LT_AGE LT_REVISION LTMS_RELEASE LTMS_CURRENT LTMS_AGE LTMS_REVISION LTLIBOBJS'
471 # Initialize some variables set by options.
473 ac_init_version
=false
474 # The variables have the same names as the options, with
475 # dashes changed to underlines.
483 program_transform_name
=s
,x
,x
,
491 # Installation directory options.
492 # These are left unexpanded so users can "make install exec_prefix=/foo"
493 # and all the variables that are supposed to be based on exec_prefix
494 # by default will actually change.
495 # Use braces instead of parens because sh, perl, etc. also accept them.
496 bindir
='${exec_prefix}/bin'
497 sbindir
='${exec_prefix}/sbin'
498 libexecdir
='${exec_prefix}/libexec'
499 datadir
='${prefix}/share'
500 sysconfdir
='${prefix}/etc'
501 sharedstatedir
='${prefix}/com'
502 localstatedir
='${prefix}/var'
503 libdir
='${exec_prefix}/lib'
504 includedir
='${prefix}/include'
505 oldincludedir
='/usr/include'
506 infodir
='${prefix}/info'
507 mandir
='${prefix}/man'
512 # If the previous option needs an argument, assign it.
513 if test -n "$ac_prev"; then
514 eval "$ac_prev=\$ac_option"
519 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
527 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
530 -build |
--build |
--buil |
--bui |
--bu)
531 ac_prev
=build_alias
;;
532 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
533 build_alias
=$ac_optarg ;;
535 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
536 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
537 ac_prev
=cache_file
;;
538 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
539 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
540 cache_file
=$ac_optarg ;;
543 cache_file
=config.cache
;;
545 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
547 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
549 datadir
=$ac_optarg ;;
551 -disable-* |
--disable-*)
552 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
555 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556 { (exit 1); exit 1; }; }
557 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
558 eval "enable_$ac_feature=no" ;;
560 -enable-* |
--enable-*)
561 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
564 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565 { (exit 1); exit 1; }; }
566 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
568 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571 eval "enable_$ac_feature='$ac_optarg'" ;;
573 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
574 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
575 |
--exec |
--exe |
--ex)
576 ac_prev
=exec_prefix
;;
577 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
578 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
579 |
--exec=* |
--exe=* |
--ex=*)
580 exec_prefix
=$ac_optarg ;;
582 -gas |
--gas |
--ga |
--g)
583 # Obsolete; use --with-gas.
586 -help |
--help |
--hel |
--he |
-h)
588 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
589 ac_init_help
=recursive
;;
590 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
591 ac_init_help
=short
;;
593 -host |
--host |
--hos |
--ho)
594 ac_prev
=host_alias
;;
595 -host=* |
--host=* |
--hos=* |
--ho=*)
596 host_alias
=$ac_optarg ;;
598 -includedir |
--includedir |
--includedi |
--included |
--include \
599 |
--includ |
--inclu |
--incl |
--inc)
600 ac_prev
=includedir
;;
601 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
602 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
603 includedir
=$ac_optarg ;;
605 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
607 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
608 infodir
=$ac_optarg ;;
610 -libdir |
--libdir |
--libdi |
--libd)
612 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
615 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
616 |
--libexe |
--libex |
--libe)
617 ac_prev
=libexecdir
;;
618 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
619 |
--libexe=* |
--libex=* |
--libe=*)
620 libexecdir
=$ac_optarg ;;
622 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
623 |
--localstate |
--localstat |
--localsta |
--localst \
624 |
--locals |
--local |
--loca |
--loc |
--lo)
625 ac_prev
=localstatedir
;;
626 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
627 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
628 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
629 localstatedir
=$ac_optarg ;;
631 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
633 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
637 # Obsolete; use --without-fp.
640 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
641 |
--no-cr |
--no-c |
-n)
644 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
645 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
648 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
649 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
650 |
--oldin |
--oldi |
--old |
--ol |
--o)
651 ac_prev
=oldincludedir
;;
652 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
653 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
654 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
655 oldincludedir
=$ac_optarg ;;
657 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
659 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
662 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
663 |
--program-pre |
--program-pr |
--program-p)
664 ac_prev
=program_prefix
;;
665 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
666 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
667 program_prefix
=$ac_optarg ;;
669 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
670 |
--program-suf |
--program-su |
--program-s)
671 ac_prev
=program_suffix
;;
672 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
673 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
674 program_suffix
=$ac_optarg ;;
676 -program-transform-name |
--program-transform-name \
677 |
--program-transform-nam |
--program-transform-na \
678 |
--program-transform-n |
--program-transform- \
679 |
--program-transform |
--program-transfor \
680 |
--program-transfo |
--program-transf \
681 |
--program-trans |
--program-tran \
682 |
--progr-tra |
--program-tr |
--program-t)
683 ac_prev
=program_transform_name
;;
684 -program-transform-name=* |
--program-transform-name=* \
685 |
--program-transform-nam=* |
--program-transform-na=* \
686 |
--program-transform-n=* |
--program-transform-=* \
687 |
--program-transform=* |
--program-transfor=* \
688 |
--program-transfo=* |
--program-transf=* \
689 |
--program-trans=* |
--program-tran=* \
690 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
691 program_transform_name
=$ac_optarg ;;
693 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
694 |
-silent |
--silent |
--silen |
--sile |
--sil)
697 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
699 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
701 sbindir
=$ac_optarg ;;
703 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
704 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
705 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
707 ac_prev
=sharedstatedir
;;
708 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
709 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
710 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
712 sharedstatedir
=$ac_optarg ;;
714 -site |
--site |
--sit)
716 -site=* |
--site=* |
--sit=*)
719 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
721 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
724 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
725 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
726 ac_prev
=sysconfdir
;;
727 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
728 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
729 sysconfdir
=$ac_optarg ;;
731 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
732 ac_prev
=target_alias
;;
733 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
734 target_alias
=$ac_optarg ;;
736 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
739 -version |
--version |
--versio |
--versi |
--vers |
-V)
743 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
746 { echo "$as_me: error: invalid package name: $ac_package" >&2
747 { (exit 1); exit 1; }; }
748 ac_package
=`echo $ac_package| sed 's/-/_/g'`
750 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753 eval "with_$ac_package='$ac_optarg'" ;;
755 -without-* |
--without-*)
756 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
759 { echo "$as_me: error: invalid package name: $ac_package" >&2
760 { (exit 1); exit 1; }; }
761 ac_package
=`echo $ac_package | sed 's/-/_/g'`
762 eval "with_$ac_package=no" ;;
765 # Obsolete; use --with-x.
768 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
769 |
--x-incl |
--x-inc |
--x-in |
--x-i)
770 ac_prev
=x_includes
;;
771 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
772 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
773 x_includes
=$ac_optarg ;;
775 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
776 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
777 ac_prev
=x_libraries
;;
778 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
779 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
780 x_libraries
=$ac_optarg ;;
782 -*) { echo "$as_me: error: unrecognized option: $ac_option
783 Try \`$0 --help' for more information." >&2
784 { (exit 1); exit 1; }; }
788 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
791 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792 { (exit 1); exit 1; }; }
793 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794 eval "$ac_envvar='$ac_optarg'"
798 # FIXME: should be removed in autoconf 3.0.
799 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
801 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
808 if test -n "$ac_prev"; then
809 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
810 { echo "$as_me: error: missing argument to $ac_option" >&2
811 { (exit 1); exit 1; }; }
814 # Be sure to have absolute paths.
815 for ac_var
in exec_prefix prefix
817 eval ac_val
=$
`echo $ac_var`
819 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
820 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821 { (exit 1); exit 1; }; };;
825 # Be sure to have absolute paths.
826 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827 localstatedir libdir includedir oldincludedir infodir mandir
829 eval ac_val
=$
`echo $ac_var`
831 [\\/$
]* | ?
:[\\/]* ) ;;
832 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833 { (exit 1); exit 1; }; };;
837 # There might be people who depend on the old broken behavior: `$host'
838 # used to hold the argument of --host etc.
839 # FIXME: To remove some day.
844 # FIXME: To remove some day.
845 if test "x$host_alias" != x
; then
846 if test "x$build_alias" = x
; then
847 cross_compiling
=maybe
848 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849 If a cross compiler is detected then cross compile mode will be used." >&2
850 elif test "x$build_alias" != "x$host_alias"; then
856 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
858 test "$silent" = yes && exec 6>/dev
/null
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted
=yes
864 # Try the directory containing this script, then its parent.
865 ac_confdir
=`(dirname "$0") 2>/dev/null ||
866 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867 X"$0" : 'X\(//\)[^/]' \| \
868 X"$0" : 'X\(//\)$' \| \
869 X"$0" : 'X\(/\)' \| \
870 . : '\(.\)' 2>/dev/null ||
872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874 /^X\(\/\/\)$/{ s//\1/; q; }
875 /^X\(\/\).*/{ s//\1/; q; }
878 if test ! -r $srcdir/$ac_unique_file; then
882 ac_srcdir_defaulted
=no
884 if test ! -r $srcdir/$ac_unique_file; then
885 if test "$ac_srcdir_defaulted" = yes; then
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887 { (exit 1); exit 1; }; }
889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890 { (exit 1); exit 1; }; }
893 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
894 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895 { (exit 1); exit 1; }; }
896 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897 ac_env_build_alias_set
=${build_alias+set}
898 ac_env_build_alias_value
=$build_alias
899 ac_cv_env_build_alias_set
=${build_alias+set}
900 ac_cv_env_build_alias_value
=$build_alias
901 ac_env_host_alias_set
=${host_alias+set}
902 ac_env_host_alias_value
=$host_alias
903 ac_cv_env_host_alias_set
=${host_alias+set}
904 ac_cv_env_host_alias_value
=$host_alias
905 ac_env_target_alias_set
=${target_alias+set}
906 ac_env_target_alias_value
=$target_alias
907 ac_cv_env_target_alias_set
=${target_alias+set}
908 ac_cv_env_target_alias_value
=$target_alias
909 ac_env_CC_set
=${CC+set}
911 ac_cv_env_CC_set
=${CC+set}
912 ac_cv_env_CC_value
=$CC
913 ac_env_CFLAGS_set
=${CFLAGS+set}
914 ac_env_CFLAGS_value
=$CFLAGS
915 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
916 ac_cv_env_CFLAGS_value
=$CFLAGS
917 ac_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_env_LDFLAGS_value
=$LDFLAGS
919 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value
=$LDFLAGS
921 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
924 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
925 ac_env_CXX_set
=${CXX+set}
926 ac_env_CXX_value
=$CXX
927 ac_cv_env_CXX_set
=${CXX+set}
928 ac_cv_env_CXX_value
=$CXX
929 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
930 ac_env_CXXFLAGS_value
=$CXXFLAGS
931 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
932 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
933 ac_env_CPP_set
=${CPP+set}
934 ac_env_CPP_value
=$CPP
935 ac_cv_env_CPP_set
=${CPP+set}
936 ac_cv_env_CPP_value
=$CPP
937 ac_env_CXXCPP_set
=${CXXCPP+set}
938 ac_env_CXXCPP_value
=$CXXCPP
939 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
940 ac_cv_env_CXXCPP_value
=$CXXCPP
941 ac_env_F77_set
=${F77+set}
942 ac_env_F77_value
=$F77
943 ac_cv_env_F77_set
=${F77+set}
944 ac_cv_env_F77_value
=$F77
945 ac_env_FFLAGS_set
=${FFLAGS+set}
946 ac_env_FFLAGS_value
=$FFLAGS
947 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
948 ac_cv_env_FFLAGS_value
=$FFLAGS
951 # Report the --help message.
953 if test "$ac_init_help" = "long"; then
954 # Omit some internal or obsolete options to make the list less imposing.
955 # This message is too long to be a string in the A/UX 3.1 sh.
957 \`configure' configures MaNGOS 0.5-SVN to adapt to many kinds of systems.
959 Usage: $0 [OPTION]... [VAR=VALUE]...
961 To assign environment variables (e.g., CC, CFLAGS...), specify them as
962 VAR=VALUE. See below for descriptions of some of the useful variables.
964 Defaults for the options are specified in brackets.
967 -h, --help display this help and exit
968 --help=short display options specific to this package
969 --help=recursive display the short help of all the included packages
970 -V, --version display version information and exit
971 -q, --quiet, --silent do not print \`checking...' messages
972 --cache-file=FILE cache test results in FILE [disabled]
973 -C, --config-cache alias for \`--cache-file=config.cache'
974 -n, --no-create do not create output files
975 --srcdir=DIR find the sources in DIR [configure dir or \`..']
980 Installation directories:
981 --prefix=PREFIX install architecture-independent files in PREFIX
983 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
986 By default, \`make install' will install all the files in
987 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
988 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
989 for instance \`--prefix=\$HOME'.
991 For better control, use the options below.
993 Fine tuning of the installation directories:
994 --bindir=DIR user executables [EPREFIX/bin]
995 --sbindir=DIR system admin executables [EPREFIX/sbin]
996 --libexecdir=DIR program executables [EPREFIX/libexec]
997 --datadir=DIR read-only architecture-independent data [PREFIX/share]
998 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
999 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1000 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1001 --libdir=DIR object code libraries [EPREFIX/lib]
1002 --includedir=DIR C header files [PREFIX/include]
1003 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1004 --infodir=DIR info documentation [PREFIX/info]
1005 --mandir=DIR man documentation [PREFIX/man]
1011 --program-prefix=PREFIX prepend PREFIX to installed program names
1012 --program-suffix=SUFFIX append SUFFIX to installed program names
1013 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1016 --build=BUILD configure
for building on BUILD
[guessed
]
1017 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1021 if test -n "$ac_init_help"; then
1022 case $ac_init_help in
1023 short | recursive
) echo "Configuration of MaNGOS 0.5-SVN:";;
1028 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1029 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1030 --enable-maintainer-mode enable make rules and dependencies not useful
1031 (and sometimes confusing
) to the casual installer
1032 --disable-dependency-tracking speeds up one-time build
1033 --enable-dependency-tracking do not reject slow dependency extractors
1034 --enable-shared[=PKGS
]
1035 build shared libraries
[default
=yes]
1036 --enable-static[=PKGS
]
1037 build static libraries
[default
=yes]
1038 --enable-fast-install[=PKGS
]
1039 optimize
for fast installation
[default
=yes]
1040 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1041 --with-openssl Specify openssl path
1042 --with-mysql Specify mysql path
1043 --enable-cli Turn on
command console system
1044 --enable-ra Turn on remote console system
1047 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1048 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1049 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1050 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1053 include additional configurations
[automatic
]
1054 --with-python build python bindings
1055 --with-apidocs build MaNGOS API docs
1059 --with-debug-info Include debug info
in library
1061 Some influential environment variables
:
1062 CC C compiler
command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1065 nonstandard directory
<lib dir
>
1066 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1067 headers
in a nonstandard directory
<include dir
>
1068 CXX C
++ compiler
command
1069 CXXFLAGS C
++ compiler flags
1071 CXXCPP C
++ preprocessor
1072 F77 Fortran
77 compiler
command
1073 FFLAGS Fortran
77 compiler flags
1075 Use these variables to override the choices made by
`configure' or to help
1076 it to find libraries and programs with nonstandard names/locations.
1078 Report bugs to <http://www.mangosproject.org/>.
1082 if test "$ac_init_help" = "recursive"; then
1083 # If there are subdirs, report their specific --help.
1085 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1086 test -d $ac_dir || continue
1089 if test "$ac_dir" != .; then
1090 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1091 # A "../" for each directory in $ac_dir_suffix.
1092 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1094 ac_dir_suffix= ac_top_builddir=
1098 .) # No --srcdir option. We are building in place.
1100 if test -z "$ac_top_builddir"; then
1103 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1105 [\\/]* | ?:[\\/]* ) # Absolute path.
1106 ac_srcdir=$srcdir$ac_dir_suffix;
1107 ac_top_srcdir=$srcdir ;;
1109 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1110 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1113 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1114 # the directories may not exist.
1116 .) ac_abs_builddir="$ac_dir";;
1119 .) ac_abs_builddir=`pwd`;;
1120 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1121 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1124 case $ac_abs_builddir in
1125 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1127 case ${ac_top_builddir}. in
1128 .) ac_abs_top_builddir=$ac_abs_builddir;;
1129 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1130 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1133 case $ac_abs_builddir in
1134 .) ac_abs_srcdir=$ac_srcdir;;
1137 .) ac_abs_srcdir=$ac_abs_builddir;;
1138 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1139 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1142 case $ac_abs_builddir in
1143 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1145 case $ac_top_srcdir in
1146 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1148 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1153 # Check for guested configure; otherwise get Cygnus style configure.
1154 if test -f $ac_srcdir/configure.gnu; then
1156 $SHELL $ac_srcdir/configure.gnu --help=recursive
1157 elif test -f $ac_srcdir/configure; then
1159 $SHELL $ac_srcdir/configure --help=recursive
1160 elif test -f $ac_srcdir/configure.ac ||
1161 test -f $ac_srcdir/configure.in; then
1163 $ac_configure --help
1165 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1171 test -n "$ac_init_help" && exit 0
1172 if $ac_init_version; then
1174 MaNGOS configure 0.5-SVN
1175 generated by GNU Autoconf 2.59
1177 Copyright (C) 2003 Free Software Foundation, Inc.
1178 This configure script is free software; the Free Software Foundation
1179 gives unlimited permission to copy, distribute and modify it.
1185 This file contains any messages produced by compilers while
1186 running configure, to aid debugging if configure makes a mistake.
1188 It was created by MaNGOS $as_me 0.5-SVN, which was
1189 generated by GNU Autoconf 2.59. Invocation command line was
1200 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1201 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1202 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1203 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1204 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1206 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1207 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1209 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1210 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1211 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1212 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1213 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1214 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1215 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1223 test -z "$as_dir" && as_dir=.
1224 echo "PATH: $as_dir"
1239 # Keep a trace of the command line.
1240 # Strip out --no-create and --no-recursion so they do not pile up.
1241 # Strip out --silent because we don't want to record it for future runs.
1242 # Also quote any args containing shell meta-characters.
1243 # Make two passes to allow for proper duplicate-argument suppression.
1248 ac_must_keep_next=false
1254 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1255 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1256 | -silent | --silent | --silen | --sile | --sil)
1258 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1259 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1262 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1264 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1265 if test $ac_must_keep_next = true; then
1266 ac_must_keep_next=false # Got value, back to normal.
1269 *=* | --config-cache | -C | -disable-* | --disable-* \
1270 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1271 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1272 | -with-* | --with-* | -without-* | --without-* | --x)
1273 case "$ac_configure_args0 " in
1274 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1277 -* ) ac_must_keep_next=true ;;
1280 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1281 # Get rid of the leading space.
1287 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1288 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1290 # When interrupted or exit'd, cleanup temporary files, and complete
1291 # config.log. We remove comments because anyway the quotes in there
1292 # would cause problems or look ugly.
1293 # WARNING: Be sure not to use single quotes in there, as some shells,
1294 # such as our DU 5.0 friend, will then `close
' the trap.
1295 trap 'exit_status
=$?
1296 # Save into config.log some information that might help in debugging.
1301 ## ---------------- ##
1302 ## Cache variables. ##
1303 ## ---------------- ##
1306 # The following way of writing the cache mishandles newlines in values,
1309 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1312 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1317 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1324 ## ----------------- ##
1325 ## Output variables. ##
1326 ## ----------------- ##
1329 for ac_var
in $ac_subst_vars
1331 eval ac_val
=$
`echo $ac_var`
1332 echo "$ac_var='"'"'$ac_val'"'"'"
1336 if test -n "$ac_subst_files"; then
1343 for ac_var
in $ac_subst_files
1345 eval ac_val
=$
`echo $ac_var`
1346 echo "$ac_var='"'"'$ac_val'"'"'"
1351 if test -s confdefs.h
; then
1358 sed "/^$/d" confdefs.h |
sort
1361 test "$ac_signal" != 0 &&
1362 echo "$as_me: caught signal $ac_signal"
1363 echo "$as_me: exit $exit_status"
1365 rm -f core
*.core
&&
1366 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1369 for ac_signal in 1 2 13 15; do
1370 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1374 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1375 rm -rf conftest* confdefs.h
1376 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1379 # Predefined preprocessor variables.
1381 cat >>confdefs.h <<_ACEOF
1382 #define PACKAGE_NAME "$PACKAGE_NAME"
1386 cat >>confdefs.h <<_ACEOF
1387 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1391 cat >>confdefs.h <<_ACEOF
1392 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1396 cat >>confdefs.h <<_ACEOF
1397 #define PACKAGE_STRING "$PACKAGE_STRING"
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1406 # Let the site file select an alternate cache file if it wants to.
1407 # Prefer explicitly selected file to automatically selected ones.
1408 if test -z "$CONFIG_SITE"; then
1409 if test "x$prefix" != xNONE; then
1410 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1412 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1415 for ac_site_file in $CONFIG_SITE; do
1416 if test -r "$ac_site_file"; then
1417 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1418 echo "$as_me: loading site script $ac_site_file" >&6;}
1419 sed 's
/^
/|
/' "$ac_site_file" >&5
1424 if test -r "$cache_file"; then
1425 # Some versions of bash will fail to source /dev/null (special
1426 # files actually), so we avoid doing that.
1427 if test -f "$cache_file"; then
1428 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1429 echo "$as_me: loading cache $cache_file" >&6;}
1431 [\\/]* | ?:[\\/]* ) . $cache_file;;
1432 *) . ./$cache_file;;
1436 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1437 echo "$as_me: creating cache $cache_file" >&6;}
1441 # Check that the precious variables saved in the cache have kept the same
1443 ac_cache_corrupted=false
1444 for ac_var in `(set) 2>&1 |
1445 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1446 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1447 eval ac_new_set=\$ac_env_${ac_var}_set
1448 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1449 eval ac_new_val="\$ac_env_${ac_var}_value"
1450 case $ac_old_set,$ac_new_set in
1452 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1453 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1454 ac_cache_corrupted=: ;;
1456 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1457 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1458 ac_cache_corrupted=: ;;
1461 if test "x$ac_old_val" != "x$ac_new_val"; then
1462 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1463 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1464 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1465 echo "$as_me: former value: $ac_old_val" >&2;}
1466 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1467 echo "$as_me: current value: $ac_new_val" >&2;}
1468 ac_cache_corrupted=:
1471 # Pass precious variables to config.status.
1472 if test "$ac_new_set" = set; then
1474 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1475 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1476 *) ac_arg=$ac_var=$ac_new_val ;;
1478 case " $ac_configure_args " in
1479 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1480 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1484 if $ac_cache_corrupted; then
1485 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1486 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1487 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1488 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1489 { (exit 1); exit 1; }; }
1493 ac_cpp='$CPP $CPPFLAGS'
1494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1495 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1524 ac_config_headers="$ac_config_headers config.h"
1528 am__api_version="1.9"
1530 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1531 if test -f $ac_dir/install-sh; then
1533 ac_install_sh="$ac_aux_dir/install-sh -c"
1535 elif test -f $ac_dir/install.sh; then
1537 ac_install_sh="$ac_aux_dir/install.sh -c"
1539 elif test -f $ac_dir/shtool; then
1541 ac_install_sh="$ac_aux_dir/shtool install -c"
1545 if test -z "$ac_aux_dir"; then
1546 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1547 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1548 { (exit 1); exit 1; }; }
1550 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1551 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1552 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1554 # Find a good install program. We prefer a C program (faster),
1555 # so one script is as good as another. But avoid the broken or
1556 # incompatible versions:
1557 # SysV /etc/install, /usr/sbin/install
1558 # SunOS /usr/etc/install
1559 # IRIX /sbin/install
1561 # AmigaOS /C/install, which installs bootblocks on floppy discs
1562 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1563 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1564 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1565 # OS/2's system install, which has a completely different semantic
1566 # ./install, which can be erroneously created by make from ./install.sh.
1567 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1568 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1569 if test -z "$INSTALL"; then
1570 if test "${ac_cv_path_install+set}" = set; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1577 test -z "$as_dir" && as_dir
=.
1578 # Account for people who put trailing slashes in PATH elements.
1580 .
/ | .
// |
/cC
/* | \
1581 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1582 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1585 # OSF1 and SCO ODT 3.0 have their own names for install.
1586 # Don't use installbsd from OSF since it installs stuff as root
1588 for ac_prog
in ginstall scoinst
install; do
1589 for ac_exec_ext
in '' $ac_executable_extensions; do
1590 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1591 if test $ac_prog = install &&
1592 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1593 # AIX install. It has an incompatible calling convention.
1595 elif test $ac_prog = install &&
1596 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1597 # program-specific install script used by HP pwplus--don't use.
1600 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1612 if test "${ac_cv_path_install+set}" = set; then
1613 INSTALL
=$ac_cv_path_install
1615 # As a last resort, use the slow shell script. We don't cache a
1616 # path for INSTALL within a source directory, because that will
1617 # break other packages using the cache if that directory is
1618 # removed, or if the path is relative.
1619 INSTALL
=$ac_install_sh
1622 echo "$as_me:$LINENO: result: $INSTALL" >&5
1623 echo "${ECHO_T}$INSTALL" >&6
1625 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1626 # It thinks the first close brace ends the variable substitution.
1627 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1629 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1631 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1633 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1634 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1637 echo timestamp
> conftest.
file
1638 # Do `set' in a subshell so we don't clobber the current shell's
1639 # arguments. Must try -L first in case configure is actually a
1640 # symlink; some systems play weird games with the mod time of symlinks
1641 # (eg FreeBSD returns the mod time of the symlink's containing
1644 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1645 if test "$*" = "X"; then
1647 set X
`ls -t $srcdir/configure conftest.file`
1650 if test "$*" != "X $srcdir/configure conftest.file" \
1651 && test "$*" != "X conftest.file $srcdir/configure"; then
1653 # If neither matched, then we have a broken ls. This can happen
1654 # if, for instance, CONFIG_SHELL is bash and it inherits a
1655 # broken ls alias from the environment. This has actually
1656 # happened. Such a system could not be considered "sane".
1657 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1658 alias in your environment" >&5
1659 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1660 alias in your environment" >&2;}
1661 { (exit 1); exit 1; }; }
1664 test "$2" = conftest.
file
1670 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1671 Check your system clock" >&5
1672 echo "$as_me: error: newly created file is older than distributed files!
1673 Check your system clock" >&2;}
1674 { (exit 1); exit 1; }; }
1676 echo "$as_me:$LINENO: result: yes" >&5
1677 echo "${ECHO_T}yes" >&6
1678 test "$program_prefix" != NONE
&&
1679 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1680 # Use a double $ so make ignores it.
1681 test "$program_suffix" != NONE
&&
1682 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1683 # Double any \ or $. echo might interpret backslashes.
1684 # By default was `s,x,x', remove it if useless.
1685 cat <<\_ACEOF
>conftest.
sed
1686 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1688 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1691 # expand $ac_aux_dir to an absolute path
1692 am_aux_dir
=`cd $ac_aux_dir && pwd`
1694 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1695 # Use eval to expand $SHELL
1696 if eval "$MISSING --run true"; then
1697 am_missing_run
="$MISSING --run "
1700 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1701 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1704 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1705 # We used to keeping the `.' as first argument, in order to
1706 # allow $(mkdir_p) to be used without argument. As in
1707 # $(mkdir_p) $(somedir)
1708 # where $(somedir) is conditionally defined. However this is wrong
1710 # 1. if the package is installed by a user who cannot write `.'
1711 # make install will fail,
1712 # 2. the above comment should most certainly read
1713 # $(mkdir_p) $(DESTDIR)$(somedir)
1714 # so it does not work when $(somedir) is undefined and
1715 # $(DESTDIR) is not.
1716 # To support the latter case, we have to write
1717 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1718 # so the `.' trick is pointless.
1719 mkdir_p
='mkdir -p --'
1721 # On NextStep and OpenStep, the `mkdir' command does not
1722 # recognize any option. It will interpret all options as
1723 # directories to create, and then abort because `.' already
1725 for d
in .
/-p .
/--version;
1727 test -d $d && rmdir $d
1729 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1730 if test -f "$ac_aux_dir/mkinstalldirs"; then
1731 mkdir_p
='$(mkinstalldirs)'
1733 mkdir_p
='$(install_sh) -d'
1737 for ac_prog
in gawk mawk nawk
awk
1739 # Extract the first word of "$ac_prog", so it can be a program name with args.
1740 set dummy
$ac_prog; ac_word
=$2
1741 echo "$as_me:$LINENO: checking for $ac_word" >&5
1742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1743 if test "${ac_cv_prog_AWK+set}" = set; then
1744 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 if test -n "$AWK"; then
1747 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1753 test -z "$as_dir" && as_dir
=.
1754 for ac_exec_ext
in '' $ac_executable_extensions; do
1755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1756 ac_cv_prog_AWK
="$ac_prog"
1757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 if test -n "$AWK"; then
1767 echo "$as_me:$LINENO: result: $AWK" >&5
1768 echo "${ECHO_T}$AWK" >&6
1770 echo "$as_me:$LINENO: result: no" >&5
1771 echo "${ECHO_T}no" >&6
1774 test -n "$AWK" && break
1777 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1778 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1779 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1780 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1781 echo $ECHO_N "(cached) $ECHO_C" >&6
1783 cat >conftest.
make <<\_ACEOF
1785 @
echo 'ac_maketemp="$(MAKE)"'
1787 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1788 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1789 if test -n "$ac_maketemp"; then
1790 eval ac_cv_prog_make_
${ac_make}_set
=yes
1792 eval ac_cv_prog_make_
${ac_make}_set
=no
1796 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1797 echo "$as_me:$LINENO: result: yes" >&5
1798 echo "${ECHO_T}yes" >&6
1801 echo "$as_me:$LINENO: result: no" >&5
1802 echo "${ECHO_T}no" >&6
1803 SET_MAKE
="MAKE=${MAKE-make}"
1806 rm -rf .tst
2>/dev
/null
1807 mkdir .tst
2>/dev
/null
1808 if test -d .tst
; then
1813 rmdir .tst
2>/dev
/null
1815 # test to see if srcdir already configured
1816 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1817 test -f $srcdir/config.status
; then
1818 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1819 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1820 { (exit 1); exit 1; }; }
1823 # test whether we have cygpath
1824 if test -z "$CYGPATH_W"; then
1825 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1826 CYGPATH_W
='cygpath -w'
1833 # Define the identity of the package.
1838 cat >>confdefs.h
<<_ACEOF
1839 #define PACKAGE "$PACKAGE"
1843 cat >>confdefs.h
<<_ACEOF
1844 #define VERSION "$VERSION"
1847 # Some tools Automake needs.
1849 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1852 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1855 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1858 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1861 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1863 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1865 # Installed binaries are usually stripped using `strip' when the user
1866 # run `make install-strip'. However `strip' might not be the right
1867 # tool to use in cross-compilation environments, therefore Automake
1868 # will honor the `STRIP' environment variable to overrule this program.
1869 if test "$cross_compiling" != no
; then
1870 if test -n "$ac_tool_prefix"; then
1871 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1872 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1873 echo "$as_me:$LINENO: checking for $ac_word" >&5
1874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1875 if test "${ac_cv_prog_STRIP+set}" = set; then
1876 echo $ECHO_N "(cached) $ECHO_C" >&6
1878 if test -n "$STRIP"; then
1879 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1885 test -z "$as_dir" && as_dir
=.
1886 for ac_exec_ext
in '' $ac_executable_extensions; do
1887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1888 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 STRIP
=$ac_cv_prog_STRIP
1898 if test -n "$STRIP"; then
1899 echo "$as_me:$LINENO: result: $STRIP" >&5
1900 echo "${ECHO_T}$STRIP" >&6
1902 echo "$as_me:$LINENO: result: no" >&5
1903 echo "${ECHO_T}no" >&6
1907 if test -z "$ac_cv_prog_STRIP"; then
1909 # Extract the first word of "strip", so it can be a program name with args.
1910 set dummy strip
; ac_word
=$2
1911 echo "$as_me:$LINENO: checking for $ac_word" >&5
1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1913 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 if test -n "$ac_ct_STRIP"; then
1917 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1923 test -z "$as_dir" && as_dir
=.
1924 for ac_exec_ext
in '' $ac_executable_extensions; do
1925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1926 ac_cv_prog_ac_ct_STRIP
="strip"
1927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1933 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1936 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1937 if test -n "$ac_ct_STRIP"; then
1938 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1939 echo "${ECHO_T}$ac_ct_STRIP" >&6
1941 echo "$as_me:$LINENO: result: no" >&5
1942 echo "${ECHO_T}no" >&6
1947 STRIP
="$ac_cv_prog_STRIP"
1951 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1953 # We need awk for the "check" target. The system "awk" is bad on
1955 # Always define AMTAR for backward compatibility.
1957 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1959 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1965 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1966 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1967 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1968 if test "${enable_maintainer_mode+set}" = set; then
1969 enableval
="$enable_maintainer_mode"
1970 USE_MAINTAINER_MODE
=$enableval
1972 USE_MAINTAINER_MODE
=no
1974 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1975 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1978 if test $USE_MAINTAINER_MODE = yes; then
1979 MAINTAINER_MODE_TRUE
=
1980 MAINTAINER_MODE_FALSE
='#'
1982 MAINTAINER_MODE_TRUE
='#'
1983 MAINTAINER_MODE_FALSE
=
1986 MAINT
=$MAINTAINER_MODE_TRUE
1991 ac_cpp
='$CPP $CPPFLAGS'
1992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1995 if test -n "$ac_tool_prefix"; then
1996 for ac_prog
in gcc cc
1998 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1999 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2000 echo "$as_me:$LINENO: checking for $ac_word" >&5
2001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2002 if test "${ac_cv_prog_CC+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 if test -n "$CC"; then
2006 ac_cv_prog_CC
="$CC" # Let the user override the test.
2008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir
=.
2013 for ac_exec_ext
in '' $ac_executable_extensions; do
2014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2025 if test -n "$CC"; then
2026 echo "$as_me:$LINENO: result: $CC" >&5
2027 echo "${ECHO_T}$CC" >&6
2029 echo "$as_me:$LINENO: result: no" >&5
2030 echo "${ECHO_T}no" >&6
2033 test -n "$CC" && break
2036 if test -z "$CC"; then
2038 for ac_prog
in gcc cc
2040 # Extract the first word of "$ac_prog", so it can be a program name with args.
2041 set dummy
$ac_prog; ac_word
=$2
2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 if test -n "$ac_ct_CC"; then
2048 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir
=.
2055 for ac_exec_ext
in '' $ac_executable_extensions; do
2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 ac_cv_prog_ac_ct_CC
="$ac_prog"
2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2067 if test -n "$ac_ct_CC"; then
2068 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2069 echo "${ECHO_T}$ac_ct_CC" >&6
2071 echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6
2075 test -n "$ac_ct_CC" && break
2082 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2083 See \`config.log' for more details." >&5
2084 echo "$as_me: error: no acceptable C compiler found in \$PATH
2085 See \`config.log' for more details." >&2;}
2086 { (exit 1); exit 1; }; }
2088 # Provide some information about the compiler.
2089 echo "$as_me:$LINENO:" \
2090 "checking for C compiler version" >&5
2091 ac_compiler
=`set X $ac_compile; echo $2`
2092 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2093 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }
2097 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2098 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 (exit $ac_status); }
2102 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2103 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }
2108 cat >conftest.
$ac_ext <<_ACEOF
2111 cat confdefs.h
>>conftest.
$ac_ext
2112 cat >>conftest.
$ac_ext <<_ACEOF
2113 /* end confdefs.h. */
2123 ac_clean_files_save
=$ac_clean_files
2124 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2125 # Try to create an executable without -o first, disregard a.out.
2126 # It will help us diagnose broken compilers, and finding out an intuition
2128 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2129 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2130 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2131 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2132 (eval $ac_link_default) 2>&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; then
2136 # Find the output, starting from the most likely. This scheme is
2137 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2140 # Be careful to initialize this variable, since it used to be cached.
2141 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2143 # b.out is created by i960 compilers.
2144 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2146 test -f "$ac_file" ||
continue
2148 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2151 # This is the source file.
2154 # We found the default executable, but exeext='' is most
2158 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2159 # FIXME: I believe we export ac_cv_exeext for Libtool,
2160 # but it would be cool to find out if it's true. Does anybody
2161 # maintain Libtool? --akim.
2169 echo "$as_me: failed program was:" >&5
2170 sed 's/^/| /' conftest.
$ac_ext >&5
2172 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2173 See \`config.log' for more details." >&5
2174 echo "$as_me: error: C compiler cannot create executables
2175 See \`config.log' for more details." >&2;}
2176 { (exit 77); exit 77; }; }
2179 ac_exeext
=$ac_cv_exeext
2180 echo "$as_me:$LINENO: result: $ac_file" >&5
2181 echo "${ECHO_T}$ac_file" >&6
2183 # Check the compiler produces executables we can run. If not, either
2184 # the compiler is broken, or we cross compile.
2185 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2186 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2187 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2188 # If not cross compiling, check that we can run a simple program.
2189 if test "$cross_compiling" != yes; then
2190 if { ac_try
='./$ac_file'
2191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); }; }; then
2198 if test "$cross_compiling" = maybe
; then
2201 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2202 If you meant to cross compile, use \`--host'.
2203 See \`config.log' for more details." >&5
2204 echo "$as_me: error: cannot run C compiled programs.
2205 If you meant to cross compile, use \`--host'.
2206 See \`config.log' for more details." >&2;}
2207 { (exit 1); exit 1; }; }
2211 echo "$as_me:$LINENO: result: yes" >&5
2212 echo "${ECHO_T}yes" >&6
2214 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2215 ac_clean_files
=$ac_clean_files_save
2216 # Check the compiler produces executables we can run. If not, either
2217 # the compiler is broken, or we cross compile.
2218 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2219 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2220 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2221 echo "${ECHO_T}$cross_compiling" >&6
2223 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2224 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2226 (eval $ac_link) 2>&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }; then
2230 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2231 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2232 # work properly (i.e., refer to `conftest.exe'), while it won't with
2234 for ac_file
in conftest.exe conftest conftest.
*; do
2235 test -f "$ac_file" ||
continue
2237 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2238 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2245 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2246 See \`config.log' for more details." >&5
2247 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2248 See \`config.log' for more details." >&2;}
2249 { (exit 1); exit 1; }; }
2252 rm -f conftest
$ac_cv_exeext
2253 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2254 echo "${ECHO_T}$ac_cv_exeext" >&6
2256 rm -f conftest.
$ac_ext
2257 EXEEXT
=$ac_cv_exeext
2259 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2260 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2261 if test "${ac_cv_objext+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 cat >conftest.
$ac_ext <<_ACEOF
2267 cat confdefs.h
>>conftest.
$ac_ext
2268 cat >>conftest.
$ac_ext <<_ACEOF
2269 /* end confdefs.h. */
2279 rm -f conftest.o conftest.obj
2280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2281 (eval $ac_compile) 2>&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; then
2285 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2287 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2288 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2293 echo "$as_me: failed program was:" >&5
2294 sed 's/^/| /' conftest.
$ac_ext >&5
2296 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2297 See \`config.log' for more details." >&5
2298 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2299 See \`config.log' for more details." >&2;}
2300 { (exit 1); exit 1; }; }
2303 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2305 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2306 echo "${ECHO_T}$ac_cv_objext" >&6
2307 OBJEXT
=$ac_cv_objext
2309 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2310 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2311 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 cat >conftest.
$ac_ext <<_ACEOF
2317 cat confdefs.h
>>conftest.
$ac_ext
2318 cat >>conftest.
$ac_ext <<_ACEOF
2319 /* end confdefs.h. */
2332 rm -f conftest.
$ac_objext
2333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2334 (eval $ac_compile) 2>conftest.er1
2336 grep -v '^ *+' conftest.er1
>conftest.err
2338 cat conftest.err
>&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); } &&
2341 { ac_try
='test -z "$ac_c_werror_flag"
2342 || test ! -s conftest.err'
2343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }; } &&
2348 { ac_try
='test -s conftest.$ac_objext'
2349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }; }; then
2356 echo "$as_me: failed program was:" >&5
2357 sed 's/^/| /' conftest.
$ac_ext >&5
2361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2362 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2365 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2366 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2367 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2368 ac_test_CFLAGS
=${CFLAGS+set}
2369 ac_save_CFLAGS
=$CFLAGS
2371 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2372 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2373 if test "${ac_cv_prog_cc_g+set}" = set; then
2374 echo $ECHO_N "(cached) $ECHO_C" >&6
2376 cat >conftest.
$ac_ext <<_ACEOF
2379 cat confdefs.h
>>conftest.
$ac_ext
2380 cat >>conftest.
$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2391 rm -f conftest.
$ac_objext
2392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2393 (eval $ac_compile) 2>conftest.er1
2395 grep -v '^ *+' conftest.er1
>conftest.err
2397 cat conftest.err
>&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); } &&
2400 { ac_try
='test -z "$ac_c_werror_flag"
2401 || test ! -s conftest.err'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; } &&
2407 { ac_try
='test -s conftest.$ac_objext'
2408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; }; then
2415 echo "$as_me: failed program was:" >&5
2416 sed 's/^/| /' conftest.
$ac_ext >&5
2420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2422 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2423 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2424 if test "$ac_test_CFLAGS" = set; then
2425 CFLAGS
=$ac_save_CFLAGS
2426 elif test $ac_cv_prog_cc_g = yes; then
2427 if test "$GCC" = yes; then
2433 if test "$GCC" = yes; then
2439 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2440 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2441 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 ac_cv_prog_cc_stdc
=no
2446 cat >conftest.
$ac_ext <<_ACEOF
2449 cat confdefs.h
>>conftest.
$ac_ext
2450 cat >>conftest.
$ac_ext <<_ACEOF
2451 /* end confdefs.h. */
2454 #include <sys/types.h>
2455 #include <sys/stat.h>
2456 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2457 struct buf { int x; };
2458 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2459 static char *e (p, i)
2465 static char *f (char * (*g) (char **, int), char **p, ...)
2470 s = g (p, va_arg (v,int));
2475 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2476 function prototypes and stuff, but not '\xHH' hex character constants.
2477 These don't provoke an error unfortunately, instead are silently treated
2478 as 'x'. The following induces an error, until -std1 is added to get
2479 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2480 array size at least. It's necessary to write '\x00'==0 to get something
2481 that's true only with -std1. */
2482 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2484 int test (int i, double x);
2485 struct s1 {int (*f) (int a);};
2486 struct s2 {int (*f) (double a);};
2487 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2493 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2498 # Don't try gcc -ansi; that turns off useful extensions and
2499 # breaks some systems' header files.
2500 # AIX -qlanglvl=ansi
2501 # Ultrix and OSF/1 -std1
2502 # HP-UX 10.20 and later -Ae
2503 # HP-UX older versions -Aa -D_HPUX_SOURCE
2504 # SVR4 -Xc -D__EXTENSIONS__
2505 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2507 CC
="$ac_save_CC $ac_arg"
2508 rm -f conftest.
$ac_objext
2509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2510 (eval $ac_compile) 2>conftest.er1
2512 grep -v '^ *+' conftest.er1
>conftest.err
2514 cat conftest.err
>&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); } &&
2517 { ac_try
='test -z "$ac_c_werror_flag"
2518 || test ! -s conftest.err'
2519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; } &&
2524 { ac_try
='test -s conftest.$ac_objext'
2525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; }; then
2530 ac_cv_prog_cc_stdc
=$ac_arg
2533 echo "$as_me: failed program was:" >&5
2534 sed 's/^/| /' conftest.
$ac_ext >&5
2537 rm -f conftest.err conftest.
$ac_objext
2539 rm -f conftest.
$ac_ext conftest.
$ac_objext
2544 case "x$ac_cv_prog_cc_stdc" in
2546 echo "$as_me:$LINENO: result: none needed" >&5
2547 echo "${ECHO_T}none needed" >&6 ;;
2549 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2550 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2551 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2554 # Some people use a C++ compiler to compile C. Since we use `exit',
2555 # in C++ we need to declare it. In case someone uses the same compiler
2556 # for both compiling C and C++ we need to have the C++ compiler decide
2557 # the declaration of exit, since it's the most demanding environment.
2558 cat >conftest.
$ac_ext <<_ACEOF
2563 rm -f conftest.
$ac_objext
2564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2565 (eval $ac_compile) 2>conftest.er1
2567 grep -v '^ *+' conftest.er1
>conftest.err
2569 cat conftest.err
>&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); } &&
2572 { ac_try
='test -z "$ac_c_werror_flag"
2573 || test ! -s conftest.err'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; } &&
2579 { ac_try
='test -s conftest.$ac_objext'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; }; then
2585 for ac_declaration
in \
2587 'extern "C" void std::exit (int) throw (); using std::exit;' \
2588 'extern "C" void std::exit (int); using std::exit;' \
2589 'extern "C" void exit (int) throw ();' \
2590 'extern "C" void exit (int);' \
2593 cat >conftest.
$ac_ext <<_ACEOF
2596 cat confdefs.h
>>conftest.
$ac_ext
2597 cat >>conftest.
$ac_ext <<_ACEOF
2598 /* end confdefs.h. */
2609 rm -f conftest.
$ac_objext
2610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2611 (eval $ac_compile) 2>conftest.er1
2613 grep -v '^ *+' conftest.er1
>conftest.err
2615 cat conftest.err
>&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); } &&
2618 { ac_try
='test -z "$ac_c_werror_flag"
2619 || test ! -s conftest.err'
2620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; } &&
2625 { ac_try
='test -s conftest.$ac_objext'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; }; then
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.
$ac_ext >&5
2638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2639 cat >conftest.
$ac_ext <<_ACEOF
2642 cat confdefs.h
>>conftest.
$ac_ext
2643 cat >>conftest.
$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2654 rm -f conftest.
$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>conftest.er1
2658 grep -v '^ *+' conftest.er1
>conftest.err
2660 cat conftest.err
>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } &&
2663 { ac_try
='test -z "$ac_c_werror_flag"
2664 || test ! -s conftest.err'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; } &&
2670 { ac_try
='test -s conftest.$ac_objext'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then
2678 echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.
$ac_ext >&5
2682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2685 if test -n "$ac_declaration"; then
2686 echo '#ifdef __cplusplus' >>confdefs.h
2687 echo $ac_declaration >>confdefs.h
2688 echo '#endif' >>confdefs.h
2692 echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.
$ac_ext >&5
2696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2698 ac_cpp
='$CPP $CPPFLAGS'
2699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2702 DEPDIR
="${am__leading_dot}deps"
2704 ac_config_commands
="$ac_config_commands depfiles"
2707 am_make
=${MAKE-make}
2708 cat > confinc
<< 'END'
2713 # If we don't find an include directive, just comment out the code.
2714 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2715 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2719 # First try GNU make style include.
2720 echo "include confinc" > confmf
2721 # We grep out `Entering directory' and `Leaving directory'
2722 # messages which can occur if `w' ends up in MAKEFLAGS.
2723 # In particular we don't look at `^make:' because GNU make might
2724 # be invoked under some other name (usually "gmake"), in which
2725 # case it prints its new name instead of `make'.
2726 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2731 # Now try BSD make style include.
2732 if test "$am__include" = "#"; then
2733 echo '.include "confinc"' > confmf
2734 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2735 am__include
=.include
2742 echo "$as_me:$LINENO: result: $_am_result" >&5
2743 echo "${ECHO_T}$_am_result" >&6
2744 rm -f confinc confmf
2746 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2747 if test "${enable_dependency_tracking+set}" = set; then
2748 enableval
="$enable_dependency_tracking"
2751 if test "x$enable_dependency_tracking" != xno
; then
2752 am_depcomp
="$ac_aux_dir/depcomp"
2757 if test "x$enable_dependency_tracking" != xno; then
2768 depcc
="$CC" am_compiler_list
=
2770 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2771 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2772 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2773 echo $ECHO_N "(cached) $ECHO_C" >&6
2775 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2776 # We make a subdir and do the tests there. Otherwise we can end up
2777 # making bogus files that we don't know about and never remove. For
2778 # instance it was reported that on HP-UX the gcc test will end up
2779 # making a dummy file named `D' -- because `-MD' means `put the output
2782 # Copy depcomp to subdir because otherwise we won't find it if we're
2783 # using a relative directory.
2784 cp "$am_depcomp" conftest.dir
2786 # We will build objects and dependencies in a subdirectory because
2787 # it helps to detect inapplicable dependency modes. For instance
2788 # both Tru64's cc and ICC support -MD to output dependencies as a
2789 # side effect of compilation, but ICC will put the dependencies in
2790 # the current directory while Tru64 will put them in the object
2794 am_cv_CC_dependencies_compiler_type
=none
2795 if test "$am_compiler_list" = ""; then
2796 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2798 for depmode
in $am_compiler_list; do
2799 # Setup a source with many dependencies, because some compilers
2800 # like to wrap large dependency lists on column 80 (with \), and
2801 # we should not choose a depcomp mode which is confused by this.
2803 # We need to recreate these files for each test, as the compiler may
2804 # overwrite some of them when testing with obscure command lines.
2805 # This happens at least with the AIX C compiler.
2807 for i
in 1 2 3 4 5 6; do
2808 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2809 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2810 # Solaris 8's {/usr,}/bin/sh.
2811 touch sub
/conftst
$i.h
2813 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2817 # after this tag, mechanisms are not by side-effect, so they'll
2818 # only be used when explicitly requested
2819 if test "x$enable_dependency_tracking" = xyes
; then
2827 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2828 # mode. It turns out that the SunPro C++ compiler does not properly
2829 # handle `-M -o', and we need to detect this.
2830 if depmode
=$depmode \
2831 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2832 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2833 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2834 >/dev
/null
2>conftest.err
&&
2835 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2836 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2837 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2838 # icc doesn't choke on unknown options, it will just issue warnings
2839 # or remarks (even with -Werror). So we grep stderr for any message
2840 # that says an option was ignored or not supported.
2841 # When given -MP, icc 7.0 and 7.1 complain thusly:
2842 # icc: Command line warning: ignoring option '-M'; no argument required
2843 # The diagnosis changed in icc 8.0:
2844 # icc: Command line remark: option '-MP' not supported
2845 if (grep 'ignoring option' conftest.err ||
2846 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2847 am_cv_CC_dependencies_compiler_type
=$depmode
2856 am_cv_CC_dependencies_compiler_type
=none
2860 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2861 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2862 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2867 test "x$enable_dependency_tracking" != xno \
2868 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2870 am__fastdepCC_FALSE
='#'
2872 am__fastdepCC_TRUE
='#'
2873 am__fastdepCC_FALSE
=
2878 ac_cpp
='$CXXCPP $CPPFLAGS'
2879 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2880 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2881 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2882 if test -n "$ac_tool_prefix"; then
2883 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2885 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2886 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2887 echo "$as_me:$LINENO: checking for $ac_word" >&5
2888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2889 if test "${ac_cv_prog_CXX+set}" = set; then
2890 echo $ECHO_N "(cached) $ECHO_C" >&6
2892 if test -n "$CXX"; then
2893 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2899 test -z "$as_dir" && as_dir
=.
2900 for ac_exec_ext
in '' $ac_executable_extensions; do
2901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2902 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 if test -n "$CXX"; then
2913 echo "$as_me:$LINENO: result: $CXX" >&5
2914 echo "${ECHO_T}$CXX" >&6
2916 echo "$as_me:$LINENO: result: no" >&5
2917 echo "${ECHO_T}no" >&6
2920 test -n "$CXX" && break
2923 if test -z "$CXX"; then
2925 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2927 # Extract the first word of "$ac_prog", so it can be a program name with args.
2928 set dummy
$ac_prog; ac_word
=$2
2929 echo "$as_me:$LINENO: checking for $ac_word" >&5
2930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2931 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 if test -n "$ac_ct_CXX"; then
2935 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2941 test -z "$as_dir" && as_dir
=.
2942 for ac_exec_ext
in '' $ac_executable_extensions; do
2943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2944 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2953 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2954 if test -n "$ac_ct_CXX"; then
2955 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2956 echo "${ECHO_T}$ac_ct_CXX" >&6
2958 echo "$as_me:$LINENO: result: no" >&5
2959 echo "${ECHO_T}no" >&6
2962 test -n "$ac_ct_CXX" && break
2964 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2970 # Provide some information about the compiler.
2971 echo "$as_me:$LINENO:" \
2972 "checking for C++ compiler version" >&5
2973 ac_compiler
=`set X $ac_compile; echo $2`
2974 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2975 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }
2979 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2980 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }
2984 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2985 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); }
2990 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2991 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2992 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2993 echo $ECHO_N "(cached) $ECHO_C" >&6
2995 cat >conftest.
$ac_ext <<_ACEOF
2998 cat confdefs.h
>>conftest.
$ac_ext
2999 cat >>conftest.
$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3013 rm -f conftest.
$ac_objext
3014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3015 (eval $ac_compile) 2>conftest.er1
3017 grep -v '^ *+' conftest.er1
>conftest.err
3019 cat conftest.err
>&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); } &&
3022 { ac_try
='test -z "$ac_cxx_werror_flag"
3023 || test ! -s conftest.err'
3024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); }; } &&
3029 { ac_try
='test -s conftest.$ac_objext'
3030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; }; then
3037 echo "$as_me: failed program was:" >&5
3038 sed 's/^/| /' conftest.
$ac_ext >&5
3042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3043 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3046 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3047 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3048 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3049 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3050 ac_save_CXXFLAGS
=$CXXFLAGS
3052 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3053 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3054 if test "${ac_cv_prog_cxx_g+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3057 cat >conftest.
$ac_ext <<_ACEOF
3060 cat confdefs.h
>>conftest.
$ac_ext
3061 cat >>conftest.
$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3072 rm -f conftest.
$ac_objext
3073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3074 (eval $ac_compile) 2>conftest.er1
3076 grep -v '^ *+' conftest.er1
>conftest.err
3078 cat conftest.err
>&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } &&
3081 { ac_try
='test -z "$ac_cxx_werror_flag"
3082 || test ! -s conftest.err'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; } &&
3088 { ac_try
='test -s conftest.$ac_objext'
3089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; }; then
3094 ac_cv_prog_cxx_g
=yes
3096 echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.
$ac_ext >&5
3101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3103 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3104 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3105 if test "$ac_test_CXXFLAGS" = set; then
3106 CXXFLAGS
=$ac_save_CXXFLAGS
3107 elif test $ac_cv_prog_cxx_g = yes; then
3108 if test "$GXX" = yes; then
3114 if test "$GXX" = yes; then
3120 for ac_declaration
in \
3122 'extern "C" void std::exit (int) throw (); using std::exit;' \
3123 'extern "C" void std::exit (int); using std::exit;' \
3124 'extern "C" void exit (int) throw ();' \
3125 'extern "C" void exit (int);' \
3128 cat >conftest.
$ac_ext <<_ACEOF
3131 cat confdefs.h
>>conftest.
$ac_ext
3132 cat >>conftest.
$ac_ext <<_ACEOF
3133 /* end confdefs.h. */
3144 rm -f conftest.
$ac_objext
3145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3146 (eval $ac_compile) 2>conftest.er1
3148 grep -v '^ *+' conftest.er1
>conftest.err
3150 cat conftest.err
>&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } &&
3153 { ac_try
='test -z "$ac_cxx_werror_flag"
3154 || test ! -s conftest.err'
3155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }; } &&
3160 { ac_try
='test -s conftest.$ac_objext'
3161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }; }; then
3168 echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.
$ac_ext >&5
3173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3174 cat >conftest.
$ac_ext <<_ACEOF
3177 cat confdefs.h
>>conftest.
$ac_ext
3178 cat >>conftest.
$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3189 rm -f conftest.
$ac_objext
3190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3191 (eval $ac_compile) 2>conftest.er1
3193 grep -v '^ *+' conftest.er1
>conftest.err
3195 cat conftest.err
>&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); } &&
3198 { ac_try
='test -z "$ac_cxx_werror_flag"
3199 || test ! -s conftest.err'
3200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); }; } &&
3205 { ac_try
='test -s conftest.$ac_objext'
3206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }; }; then
3213 echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.
$ac_ext >&5
3217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3220 if test -n "$ac_declaration"; then
3221 echo '#ifdef __cplusplus' >>confdefs.h
3222 echo $ac_declaration >>confdefs.h
3223 echo '#endif' >>confdefs.h
3227 ac_cpp
='$CPP $CPPFLAGS'
3228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3232 depcc
="$CXX" am_compiler_list
=
3234 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3235 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3236 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3237 echo $ECHO_N "(cached) $ECHO_C" >&6
3239 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3240 # We make a subdir and do the tests there. Otherwise we can end up
3241 # making bogus files that we don't know about and never remove. For
3242 # instance it was reported that on HP-UX the gcc test will end up
3243 # making a dummy file named `D' -- because `-MD' means `put the output
3246 # Copy depcomp to subdir because otherwise we won't find it if we're
3247 # using a relative directory.
3248 cp "$am_depcomp" conftest.dir
3250 # We will build objects and dependencies in a subdirectory because
3251 # it helps to detect inapplicable dependency modes. For instance
3252 # both Tru64's cc and ICC support -MD to output dependencies as a
3253 # side effect of compilation, but ICC will put the dependencies in
3254 # the current directory while Tru64 will put them in the object
3258 am_cv_CXX_dependencies_compiler_type
=none
3259 if test "$am_compiler_list" = ""; then
3260 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3262 for depmode
in $am_compiler_list; do
3263 # Setup a source with many dependencies, because some compilers
3264 # like to wrap large dependency lists on column 80 (with \), and
3265 # we should not choose a depcomp mode which is confused by this.
3267 # We need to recreate these files for each test, as the compiler may
3268 # overwrite some of them when testing with obscure command lines.
3269 # This happens at least with the AIX C compiler.
3271 for i
in 1 2 3 4 5 6; do
3272 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3273 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3274 # Solaris 8's {/usr,}/bin/sh.
3275 touch sub
/conftst
$i.h
3277 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3281 # after this tag, mechanisms are not by side-effect, so they'll
3282 # only be used when explicitly requested
3283 if test "x$enable_dependency_tracking" = xyes
; then
3291 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3292 # mode. It turns out that the SunPro C++ compiler does not properly
3293 # handle `-M -o', and we need to detect this.
3294 if depmode
=$depmode \
3295 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3296 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3297 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3298 >/dev
/null
2>conftest.err
&&
3299 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3300 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3301 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3302 # icc doesn't choke on unknown options, it will just issue warnings
3303 # or remarks (even with -Werror). So we grep stderr for any message
3304 # that says an option was ignored or not supported.
3305 # When given -MP, icc 7.0 and 7.1 complain thusly:
3306 # icc: Command line warning: ignoring option '-M'; no argument required
3307 # The diagnosis changed in icc 8.0:
3308 # icc: Command line remark: option '-MP' not supported
3309 if (grep 'ignoring option' conftest.err ||
3310 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3311 am_cv_CXX_dependencies_compiler_type
=$depmode
3320 am_cv_CXX_dependencies_compiler_type
=none
3324 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3325 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3326 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3331 test "x$enable_dependency_tracking" != xno \
3332 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3333 am__fastdepCXX_TRUE
=
3334 am__fastdepCXX_FALSE
='#'
3336 am__fastdepCXX_TRUE
='#'
3337 am__fastdepCXX_FALSE
=
3341 if test -n "$ac_tool_prefix"; then
3342 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3343 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3344 echo "$as_me:$LINENO: checking for $ac_word" >&5
3345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3346 if test "${ac_cv_prog_RANLIB+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 if test -n "$RANLIB"; then
3350 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3356 test -z "$as_dir" && as_dir
=.
3357 for ac_exec_ext
in '' $ac_executable_extensions; do
3358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3359 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 RANLIB
=$ac_cv_prog_RANLIB
3369 if test -n "$RANLIB"; then
3370 echo "$as_me:$LINENO: result: $RANLIB" >&5
3371 echo "${ECHO_T}$RANLIB" >&6
3373 echo "$as_me:$LINENO: result: no" >&5
3374 echo "${ECHO_T}no" >&6
3378 if test -z "$ac_cv_prog_RANLIB"; then
3379 ac_ct_RANLIB
=$RANLIB
3380 # Extract the first word of "ranlib", so it can be a program name with args.
3381 set dummy ranlib
; ac_word
=$2
3382 echo "$as_me:$LINENO: checking for $ac_word" >&5
3383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3384 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 if test -n "$ac_ct_RANLIB"; then
3388 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir
=.
3395 for ac_exec_ext
in '' $ac_executable_extensions; do
3396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3397 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3407 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3408 if test -n "$ac_ct_RANLIB"; then
3409 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3410 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3412 echo "$as_me:$LINENO: result: no" >&5
3413 echo "${ECHO_T}no" >&6
3416 RANLIB
=$ac_ct_RANLIB
3418 RANLIB
="$ac_cv_prog_RANLIB"
3421 # Check whether --enable-shared or --disable-shared was given.
3422 if test "${enable_shared+set}" = set; then
3423 enableval
="$enable_shared"
3424 p
=${PACKAGE-default}
3426 yes) enable_shared
=yes ;;
3427 no
) enable_shared
=no
;;
3430 # Look at the argument we got. We use all the common list separators.
3431 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3432 for pkg
in $enableval; do
3434 if test "X$pkg" = "X$p"; then
3445 # Check whether --enable-static or --disable-static was given.
3446 if test "${enable_static+set}" = set; then
3447 enableval
="$enable_static"
3448 p
=${PACKAGE-default}
3450 yes) enable_static
=yes ;;
3451 no
) enable_static
=no
;;
3454 # Look at the argument we got. We use all the common list separators.
3455 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3456 for pkg
in $enableval; do
3458 if test "X$pkg" = "X$p"; then
3469 # Check whether --enable-fast-install or --disable-fast-install was given.
3470 if test "${enable_fast_install+set}" = set; then
3471 enableval
="$enable_fast_install"
3472 p
=${PACKAGE-default}
3474 yes) enable_fast_install
=yes ;;
3475 no
) enable_fast_install
=no
;;
3477 enable_fast_install
=no
3478 # Look at the argument we got. We use all the common list separators.
3479 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3480 for pkg
in $enableval; do
3482 if test "X$pkg" = "X$p"; then
3483 enable_fast_install
=yes
3490 enable_fast_install
=yes
3493 # Make sure we can run config.sub.
3494 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3495 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3496 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3497 { (exit 1); exit 1; }; }
3499 echo "$as_me:$LINENO: checking build system type" >&5
3500 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3501 if test "${ac_cv_build+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 ac_cv_build_alias
=$build_alias
3505 test -z "$ac_cv_build_alias" &&
3506 ac_cv_build_alias
=`$ac_config_guess`
3507 test -z "$ac_cv_build_alias" &&
3508 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3509 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3510 { (exit 1); exit 1; }; }
3511 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3512 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3513 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3514 { (exit 1); exit 1; }; }
3517 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3518 echo "${ECHO_T}$ac_cv_build" >&6
3520 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3521 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3522 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3525 echo "$as_me:$LINENO: checking host system type" >&5
3526 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3527 if test "${ac_cv_host+set}" = set; then
3528 echo $ECHO_N "(cached) $ECHO_C" >&6
3530 ac_cv_host_alias
=$host_alias
3531 test -z "$ac_cv_host_alias" &&
3532 ac_cv_host_alias
=$ac_cv_build_alias
3533 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3534 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3535 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3536 { (exit 1); exit 1; }; }
3539 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3540 echo "${ECHO_T}$ac_cv_host" >&6
3542 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3543 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3544 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3547 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3548 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3549 if test "${lt_cv_path_SED+set}" = set; then
3550 echo $ECHO_N "(cached) $ECHO_C" >&6
3552 # Loop through the user's path and test for sed and gsed.
3553 # Then use that list of sed's as ones to test for truncation.
3554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3558 test -z "$as_dir" && as_dir
=.
3559 for lt_ac_prog
in sed gsed
; do
3560 for ac_exec_ext
in '' $ac_executable_extensions; do
3561 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3562 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3569 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3570 # along with /bin/sed that truncates output.
3571 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3572 test ! -f $lt_ac_sed && continue
3573 cat /dev
/null
> conftest.
in
3575 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3576 # Check for GNU sed and select it if it is found.
3577 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3578 lt_cv_path_SED
=$lt_ac_sed
3582 cat conftest.
in conftest.
in >conftest.tmp
3583 mv conftest.tmp conftest.
in
3584 cp conftest.
in conftest.
nl
3586 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3587 cmp -s conftest.out conftest.
nl ||
break
3588 # 10000 chars as input seems more than enough
3589 test $lt_ac_count -gt 10 && break
3590 lt_ac_count
=`expr $lt_ac_count + 1`
3591 if test $lt_ac_count -gt $lt_ac_max; then
3592 lt_ac_max
=$lt_ac_count
3593 lt_cv_path_SED
=$lt_ac_sed
3601 echo "$as_me:$LINENO: result: $SED" >&5
3602 echo "${ECHO_T}$SED" >&6
3604 echo "$as_me:$LINENO: checking for egrep" >&5
3605 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3606 if test "${ac_cv_prog_egrep+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3610 then ac_cv_prog_egrep
='grep -E'
3611 else ac_cv_prog_egrep
='egrep'
3614 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3615 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3616 EGREP
=$ac_cv_prog_egrep
3620 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3621 if test "${with_gnu_ld+set}" = set; then
3622 withval
="$with_gnu_ld"
3623 test "$withval" = no || with_gnu_ld
=yes
3628 if test "$GCC" = yes; then
3629 # Check if gcc -print-prog-name=ld gives a path.
3630 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3631 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3634 # gcc leaves a trailing carriage return which upsets mingw
3635 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3637 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3640 # Accept absolute paths.
3642 re_direlt
='/[^/][^/]*/\.\./'
3643 # Canonicalize the pathname of ld
3644 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3645 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3646 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3648 test -z "$LD" && LD
="$ac_prog"
3651 # If it fails, then pretend we aren't using GCC.
3655 # If it is relative, then search for the first ld in PATH.
3659 elif test "$with_gnu_ld" = yes; then
3660 echo "$as_me:$LINENO: checking for GNU ld" >&5
3661 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3663 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3664 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3666 if test "${lt_cv_path_LD+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 if test -z "$LD"; then
3670 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3671 for ac_dir
in $PATH; do
3673 test -z "$ac_dir" && ac_dir
=.
3674 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3675 lt_cv_path_LD
="$ac_dir/$ac_prog"
3676 # Check to see if the program is GNU ld. I'd rather use --version,
3677 # but apparently some variants of GNU ld only accept -v.
3678 # Break only if it was the GNU/non-GNU ld that we prefer.
3679 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3680 *GNU
* |
*'with BFD'*)
3681 test "$with_gnu_ld" != no
&& break
3684 test "$with_gnu_ld" != yes && break
3691 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3696 if test -n "$LD"; then
3697 echo "$as_me:$LINENO: result: $LD" >&5
3698 echo "${ECHO_T}$LD" >&6
3700 echo "$as_me:$LINENO: result: no" >&5
3701 echo "${ECHO_T}no" >&6
3703 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3704 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3705 { (exit 1); exit 1; }; }
3706 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3707 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3708 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3711 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3712 case `$LD -v 2>&1 </dev/null` in
3713 *GNU
* |
*'with BFD'*)
3714 lt_cv_prog_gnu_ld
=yes
3717 lt_cv_prog_gnu_ld
=no
3721 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3722 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3723 with_gnu_ld
=$lt_cv_prog_gnu_ld
3726 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3727 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3728 if test "${lt_cv_ld_reload_flag+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 lt_cv_ld_reload_flag
='-r'
3733 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3734 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3735 reload_flag
=$lt_cv_ld_reload_flag
3736 case $reload_flag in
3738 *) reload_flag
=" $reload_flag" ;;
3740 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3743 if test "$GCC" = yes; then
3744 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3746 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3751 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3752 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3753 if test "${lt_cv_path_NM+set}" = set; then
3754 echo $ECHO_N "(cached) $ECHO_C" >&6
3756 if test -n "$NM"; then
3757 # Let the user override the test.
3760 lt_nm_to_check
="${ac_tool_prefix}nm"
3761 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3762 lt_nm_to_check
="$lt_nm_to_check nm"
3764 for lt_tmp_nm
in $lt_nm_to_check; do
3765 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3766 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3768 test -z "$ac_dir" && ac_dir
=.
3769 tmp_nm
="$ac_dir/$lt_tmp_nm"
3770 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3771 # Check to see if the nm accepts a BSD-compat flag.
3772 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3773 # nm: unknown option "B" ignored
3774 # Tru64's nm complains that /dev/null is an invalid object file
3775 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3776 */dev
/null
* |
*'Invalid file or object type'*)
3777 lt_cv_path_NM
="$tmp_nm -B"
3781 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3783 lt_cv_path_NM
="$tmp_nm -p"
3787 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3788 continue # so that we can try to find one that supports BSD flags
3797 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3800 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3801 echo "${ECHO_T}$lt_cv_path_NM" >&6
3804 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3805 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3807 if test "$LN_S" = "ln -s"; then
3808 echo "$as_me:$LINENO: result: yes" >&5
3809 echo "${ECHO_T}yes" >&6
3811 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3812 echo "${ECHO_T}no, using $LN_S" >&6
3815 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3816 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3817 if test "${lt_cv_deplibs_check_method+set}" = set; then
3818 echo $ECHO_N "(cached) $ECHO_C" >&6
3820 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3821 lt_cv_file_magic_test_file
=
3822 lt_cv_deplibs_check_method
='unknown'
3823 # Need to set the preceding variable on all platforms that support
3824 # interlibrary dependencies.
3825 # 'none' -- dependencies not supported.
3826 # `unknown' -- same as none, but documents that we really don't know.
3827 # 'pass_all' -- all dependencies passed with no checks.
3828 # 'test_compile' -- check by making test program.
3829 # 'file_magic [[regex]]' -- check by looking for files in library path
3830 # which responds to the $file_magic_cmd with a given extended regex.
3831 # If you have `file' or equivalent on your system and you're not sure
3832 # whether `pass_all' will *always* work, you probably want this one.
3836 lt_cv_deplibs_check_method
=pass_all
3840 lt_cv_deplibs_check_method
=pass_all
3844 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3845 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3846 lt_cv_file_magic_test_file
=/shlib
/libc.so
3850 # func_win32_libid is a shell function defined in ltmain.sh
3851 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3852 lt_cv_file_magic_cmd
='func_win32_libid'
3856 # Base MSYS/MinGW do not provide the 'file' command needed by
3857 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3858 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3859 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3862 darwin
* | rhapsody
*)
3863 lt_cv_deplibs_check_method
=pass_all
3866 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3867 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3870 # Not sure whether the presence of OpenBSD here was a mistake.
3871 # Let's accept both of them until this is cleared up.
3872 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3873 lt_cv_file_magic_cmd
=/usr
/bin
/file
3874 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3878 lt_cv_deplibs_check_method
=pass_all
3883 lt_cv_deplibs_check_method
=pass_all
3886 hpux10.20
* | hpux11
*)
3887 lt_cv_file_magic_cmd
=/usr
/bin
/file
3890 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3891 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3894 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]'
3895 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3898 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3899 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3905 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3906 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3909 irix5
* | irix6
* | nonstopux
*)
3911 *-32|
*"-32 ") libmagic
=32-bit;;
3912 *-n32|
*"-n32 ") libmagic
=N32
;;
3913 *-64|
*"-64 ") libmagic
=64-bit;;
3914 *) libmagic
=never-match
;;
3916 lt_cv_deplibs_check_method
=pass_all
3919 # This must be Linux ELF.
3921 lt_cv_deplibs_check_method
=pass_all
3925 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3926 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3928 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3933 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3934 lt_cv_file_magic_cmd
=/usr
/bin
/file
3935 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3939 lt_cv_deplibs_check_method
=unknown
3943 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3944 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3946 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3950 osf3
* | osf4
* | osf5
*)
3951 lt_cv_deplibs_check_method
=pass_all
3955 lt_cv_deplibs_check_method
=pass_all
3959 case $host_vendor in
3961 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]'
3962 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3965 lt_cv_deplibs_check_method
=pass_all
3968 lt_cv_file_magic_cmd
='/bin/file'
3969 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3972 lt_cv_file_magic_cmd
='/bin/file'
3973 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3974 lt_cv_file_magic_test_file
=/lib
/libc.so
3977 lt_cv_deplibs_check_method
=pass_all
3980 lt_cv_deplibs_check_method
=pass_all
3985 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3986 lt_cv_deplibs_check_method
=pass_all
3991 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3992 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3993 file_magic_cmd
=$lt_cv_file_magic_cmd
3994 deplibs_check_method
=$lt_cv_deplibs_check_method
3995 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4000 # If no C compiler was specified, use CC.
4003 # If no C compiler flags were specified, use CFLAGS.
4004 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4006 # Allow CC to be a program name with arguments.
4010 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4011 if test "${enable_libtool_lock+set}" = set; then
4012 enableval
="$enable_libtool_lock"
4015 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4017 # Some flags need to be propagated to the compiler or linker for good
4021 # Find out which ABI we are using.
4022 echo 'int i;' > conftest.
$ac_ext
4023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4024 (eval $ac_compile) 2>&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); }; then
4028 case `/usr/bin/file conftest.$ac_objext` in
4040 # Find out which ABI we are using.
4041 echo '#line 4041 "configure"' > conftest.
$ac_ext
4042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4043 (eval $ac_compile) 2>&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); }; then
4047 if test "$lt_cv_prog_gnu_ld" = yes; then
4048 case `/usr/bin/file conftest.$ac_objext` in
4050 LD
="${LD-ld} -melf32bsmip"
4053 LD
="${LD-ld} -melf32bmipn32"
4056 LD
="${LD-ld} -melf64bmip"
4060 case `/usr/bin/file conftest.$ac_objext` in
4076 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4077 # Find out which ABI we are using.
4078 echo 'int i;' > conftest.
$ac_ext
4079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4080 (eval $ac_compile) 2>&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); }; then
4084 case `/usr/bin/file conftest.o` in
4088 LD
="${LD-ld} -m elf_i386"
4090 ppc64-
*linux
*|powerpc64-
*linux
*)
4091 LD
="${LD-ld} -m elf32ppclinux"
4094 LD
="${LD-ld} -m elf_s390"
4097 LD
="${LD-ld} -m elf32_sparc"
4104 LD
="${LD-ld} -m elf_x86_64"
4106 ppc
*-*linux
*|powerpc
*-*linux
*)
4107 LD
="${LD-ld} -m elf64ppc"
4110 LD
="${LD-ld} -m elf64_s390"
4113 LD
="${LD-ld} -m elf64_sparc"
4123 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4124 SAVE_CFLAGS
="$CFLAGS"
4125 CFLAGS
="$CFLAGS -belf"
4126 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4127 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4128 if test "${lt_cv_cc_needs_belf+set}" = set; then
4129 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 ac_cpp
='$CPP $CPPFLAGS'
4133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4137 cat >conftest.
$ac_ext <<_ACEOF
4140 cat confdefs.h
>>conftest.
$ac_ext
4141 cat >>conftest.
$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4152 rm -f conftest.
$ac_objext conftest
$ac_exeext
4153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4154 (eval $ac_link) 2>conftest.er1
4156 grep -v '^ *+' conftest.er1
>conftest.err
4158 cat conftest.err
>&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); } &&
4161 { ac_try
='test -z "$ac_c_werror_flag"
4162 || test ! -s conftest.err'
4163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; } &&
4168 { ac_try
='test -s conftest$ac_exeext'
4169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; }; then
4174 lt_cv_cc_needs_belf
=yes
4176 echo "$as_me: failed program was:" >&5
4177 sed 's/^/| /' conftest.
$ac_ext >&5
4179 lt_cv_cc_needs_belf
=no
4181 rm -f conftest.err conftest.
$ac_objext \
4182 conftest
$ac_exeext conftest.
$ac_ext
4184 ac_cpp
='$CPP $CPPFLAGS'
4185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4190 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4191 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4192 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4193 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4194 CFLAGS
="$SAVE_CFLAGS"
4198 # Find out which ABI we are using.
4199 echo 'int i;' > conftest.
$ac_ext
4200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4201 (eval $ac_compile) 2>&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); }; then
4205 case `/usr/bin/file conftest.o` in
4207 case $lt_cv_prog_gnu_ld in
4208 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
4209 *) LD
="${LD-ld} -64" ;;
4220 need_locks
="$enable_libtool_lock"
4224 ac_cpp
='$CPP $CPPFLAGS'
4225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4228 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4229 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4230 # On Suns, sometimes $CPP names a directory.
4231 if test -n "$CPP" && test -d "$CPP"; then
4234 if test -z "$CPP"; then
4235 if test "${ac_cv_prog_CPP+set}" = set; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 # Double quotes because CPP needs to be expanded
4239 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4242 for ac_c_preproc_warn_flag
in '' yes
4244 # Use a header file that comes with gcc, so configuring glibc
4245 # with a fresh cross-compiler works.
4246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4247 # <limits.h> exists even on freestanding compilers.
4248 # On the NeXT, cc -E runs the code through the compiler's parser,
4249 # not just through cpp. "Syntax error" is here to catch this case.
4250 cat >conftest.
$ac_ext <<_ACEOF
4253 cat confdefs.h
>>conftest.
$ac_ext
4254 cat >>conftest.
$ac_ext <<_ACEOF
4255 /* end confdefs.h. */
4257 # include <limits.h>
4259 # include <assert.h>
4263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4264 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4266 grep -v '^ *+' conftest.er1
>conftest.err
4268 cat conftest.err
>&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); } >/dev
/null
; then
4271 if test -s conftest.err
; then
4272 ac_cpp_err
=$ac_c_preproc_warn_flag
4273 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4280 if test -z "$ac_cpp_err"; then
4283 echo "$as_me: failed program was:" >&5
4284 sed 's/^/| /' conftest.
$ac_ext >&5
4286 # Broken: fails on valid input.
4289 rm -f conftest.err conftest.
$ac_ext
4291 # OK, works on sane cases. Now check whether non-existent headers
4292 # can be detected and how.
4293 cat >conftest.
$ac_ext <<_ACEOF
4296 cat confdefs.h
>>conftest.
$ac_ext
4297 cat >>conftest.
$ac_ext <<_ACEOF
4298 /* end confdefs.h. */
4299 #include <ac_nonexistent.h>
4301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4304 grep -v '^ *+' conftest.er1
>conftest.err
4306 cat conftest.err
>&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } >/dev
/null
; then
4309 if test -s conftest.err
; then
4310 ac_cpp_err
=$ac_c_preproc_warn_flag
4311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4318 if test -z "$ac_cpp_err"; then
4319 # Broken: success on invalid input.
4322 echo "$as_me: failed program was:" >&5
4323 sed 's/^/| /' conftest.
$ac_ext >&5
4325 # Passes both tests.
4329 rm -f conftest.err conftest.
$ac_ext
4332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4333 rm -f conftest.err conftest.
$ac_ext
4334 if $ac_preproc_ok; then
4346 echo "$as_me:$LINENO: result: $CPP" >&5
4347 echo "${ECHO_T}$CPP" >&6
4349 for ac_c_preproc_warn_flag
in '' yes
4351 # Use a header file that comes with gcc, so configuring glibc
4352 # with a fresh cross-compiler works.
4353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4354 # <limits.h> exists even on freestanding compilers.
4355 # On the NeXT, cc -E runs the code through the compiler's parser,
4356 # not just through cpp. "Syntax error" is here to catch this case.
4357 cat >conftest.
$ac_ext <<_ACEOF
4360 cat confdefs.h
>>conftest.
$ac_ext
4361 cat >>conftest.
$ac_ext <<_ACEOF
4362 /* end confdefs.h. */
4364 # include <limits.h>
4366 # include <assert.h>
4370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4371 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4373 grep -v '^ *+' conftest.er1
>conftest.err
4375 cat conftest.err
>&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); } >/dev
/null
; then
4378 if test -s conftest.err
; then
4379 ac_cpp_err
=$ac_c_preproc_warn_flag
4380 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4387 if test -z "$ac_cpp_err"; then
4390 echo "$as_me: failed program was:" >&5
4391 sed 's/^/| /' conftest.
$ac_ext >&5
4393 # Broken: fails on valid input.
4396 rm -f conftest.err conftest.
$ac_ext
4398 # OK, works on sane cases. Now check whether non-existent headers
4399 # can be detected and how.
4400 cat >conftest.
$ac_ext <<_ACEOF
4403 cat confdefs.h
>>conftest.
$ac_ext
4404 cat >>conftest.
$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4406 #include <ac_nonexistent.h>
4408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4409 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4411 grep -v '^ *+' conftest.er1
>conftest.err
4413 cat conftest.err
>&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } >/dev
/null
; then
4416 if test -s conftest.err
; then
4417 ac_cpp_err
=$ac_c_preproc_warn_flag
4418 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4425 if test -z "$ac_cpp_err"; then
4426 # Broken: success on invalid input.
4429 echo "$as_me: failed program was:" >&5
4430 sed 's/^/| /' conftest.
$ac_ext >&5
4432 # Passes both tests.
4436 rm -f conftest.err conftest.
$ac_ext
4439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4440 rm -f conftest.err conftest.
$ac_ext
4441 if $ac_preproc_ok; then
4444 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4445 See \`config.log' for more details." >&5
4446 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4447 See \`config.log' for more details." >&2;}
4448 { (exit 1); exit 1; }; }
4452 ac_cpp
='$CPP $CPPFLAGS'
4453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4458 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4459 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4460 if test "${ac_cv_header_stdc+set}" = set; then
4461 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 cat >conftest.
$ac_ext <<_ACEOF
4466 cat confdefs.h
>>conftest.
$ac_ext
4467 cat >>conftest.
$ac_ext <<_ACEOF
4468 /* end confdefs.h. */
4482 rm -f conftest.
$ac_objext
4483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4484 (eval $ac_compile) 2>conftest.er1
4486 grep -v '^ *+' conftest.er1
>conftest.err
4488 cat conftest.err
>&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } &&
4491 { ac_try
='test -z "$ac_c_werror_flag"
4492 || test ! -s conftest.err'
4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); }; } &&
4498 { ac_try
='test -s conftest.$ac_objext'
4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; }; then
4504 ac_cv_header_stdc
=yes
4506 echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.
$ac_ext >&5
4509 ac_cv_header_stdc
=no
4511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4513 if test $ac_cv_header_stdc = yes; then
4514 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4515 cat >conftest.
$ac_ext <<_ACEOF
4518 cat confdefs.h
>>conftest.
$ac_ext
4519 cat >>conftest.
$ac_ext <<_ACEOF
4520 /* end confdefs.h. */
4524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4525 $EGREP "memchr" >/dev
/null
2>&1; then
4528 ac_cv_header_stdc
=no
4534 if test $ac_cv_header_stdc = yes; then
4535 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4536 cat >conftest.
$ac_ext <<_ACEOF
4539 cat confdefs.h
>>conftest.
$ac_ext
4540 cat >>conftest.
$ac_ext <<_ACEOF
4541 /* end confdefs.h. */
4545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4546 $EGREP "free" >/dev
/null
2>&1; then
4549 ac_cv_header_stdc
=no
4555 if test $ac_cv_header_stdc = yes; then
4556 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4557 if test "$cross_compiling" = yes; then
4560 cat >conftest.
$ac_ext <<_ACEOF
4563 cat confdefs.h
>>conftest.
$ac_ext
4564 cat >>conftest.
$ac_ext <<_ACEOF
4565 /* end confdefs.h. */
4567 #if ((' ' & 0x0FF) == 0x020)
4568 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4569 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4571 # define ISLOWER(c) \
4572 (('a' <= (c) && (c) <= 'i') \
4573 || ('j' <= (c) && (c) <= 'r') \
4574 || ('s' <= (c) && (c) <= 'z'))
4575 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4578 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4583 for (i = 0; i < 256; i++)
4584 if (XOR (islower (i), ISLOWER (i))
4585 || toupper (i) != TOUPPER (i))
4590 rm -f conftest
$ac_exeext
4591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4592 (eval $ac_link) 2>&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }; }; then
4603 echo "$as_me: program exited with status $ac_status" >&5
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.
$ac_ext >&5
4608 ac_cv_header_stdc
=no
4610 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4614 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4615 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4616 if test $ac_cv_header_stdc = yes; then
4618 cat >>confdefs.h
<<\_ACEOF
4619 #define STDC_HEADERS 1
4624 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4634 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4635 inttypes.h stdint.h unistd.h
4637 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4638 echo "$as_me:$LINENO: checking for $ac_header" >&5
4639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 cat >conftest.
$ac_ext <<_ACEOF
4646 cat confdefs.h
>>conftest.
$ac_ext
4647 cat >>conftest.
$ac_ext <<_ACEOF
4648 /* end confdefs.h. */
4649 $ac_includes_default
4651 #include <$ac_header>
4653 rm -f conftest.
$ac_objext
4654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4655 (eval $ac_compile) 2>conftest.er1
4657 grep -v '^ *+' conftest.er1
>conftest.err
4659 cat conftest.err
>&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } &&
4662 { ac_try
='test -z "$ac_c_werror_flag"
4663 || test ! -s conftest.err'
4664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; } &&
4669 { ac_try
='test -s conftest.$ac_objext'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 eval "$as_ac_Header=yes"
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.
$ac_ext >&5
4680 eval "$as_ac_Header=no"
4682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4687 cat >>confdefs.h
<<_ACEOF
4688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4697 for ac_header
in dlfcn.h
4699 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4701 echo "$as_me:$LINENO: checking for $ac_header" >&5
4702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4704 echo $ECHO_N "(cached) $ECHO_C" >&6
4706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4709 # Is the header compilable?
4710 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4711 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4712 cat >conftest.
$ac_ext <<_ACEOF
4715 cat confdefs.h
>>conftest.
$ac_ext
4716 cat >>conftest.
$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4718 $ac_includes_default
4719 #include <$ac_header>
4721 rm -f conftest.
$ac_objext
4722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4723 (eval $ac_compile) 2>conftest.er1
4725 grep -v '^ *+' conftest.er1
>conftest.err
4727 cat conftest.err
>&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } &&
4730 { ac_try
='test -z "$ac_c_werror_flag"
4731 || test ! -s conftest.err'
4732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; } &&
4737 { ac_try
='test -s conftest.$ac_objext'
4738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; }; then
4743 ac_header_compiler
=yes
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.
$ac_ext >&5
4748 ac_header_compiler
=no
4750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4752 echo "${ECHO_T}$ac_header_compiler" >&6
4754 # Is the header present?
4755 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4756 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4757 cat >conftest.
$ac_ext <<_ACEOF
4760 cat confdefs.h
>>conftest.
$ac_ext
4761 cat >>conftest.
$ac_ext <<_ACEOF
4762 /* end confdefs.h. */
4763 #include <$ac_header>
4765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4768 grep -v '^ *+' conftest.er1
>conftest.err
4770 cat conftest.err
>&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } >/dev
/null
; then
4773 if test -s conftest.err
; then
4774 ac_cpp_err
=$ac_c_preproc_warn_flag
4775 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4782 if test -z "$ac_cpp_err"; then
4783 ac_header_preproc
=yes
4785 echo "$as_me: failed program was:" >&5
4786 sed 's/^/| /' conftest.
$ac_ext >&5
4788 ac_header_preproc
=no
4790 rm -f conftest.err conftest.
$ac_ext
4791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4792 echo "${ECHO_T}$ac_header_preproc" >&6
4794 # So? What about this header?
4795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4797 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4798 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4800 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4801 ac_header_preproc
=yes
4804 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4805 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4806 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4807 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4808 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4809 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4810 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4811 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4813 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4814 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4815 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4818 ## -------------------------------------------- ##
4819 ## Report this to http://www.mangosproject.org/ ##
4820 ## -------------------------------------------- ##
4823 sed "s/^/$as_me: WARNING: /" >&2
4826 echo "$as_me:$LINENO: checking for $ac_header" >&5
4827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 eval "$as_ac_Header=\$ac_header_preproc"
4833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4837 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4838 cat >>confdefs.h
<<_ACEOF
4839 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4848 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4849 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4850 (test "X$CXX" != "Xg++"))) ; then
4852 ac_cpp
='$CXXCPP $CPPFLAGS'
4853 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4854 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4855 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4856 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4857 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4858 if test -z "$CXXCPP"; then
4859 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4860 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 # Double quotes because CXXCPP needs to be expanded
4863 for CXXCPP
in "$CXX -E" "/lib/cpp"
4866 for ac_cxx_preproc_warn_flag
in '' yes
4868 # Use a header file that comes with gcc, so configuring glibc
4869 # with a fresh cross-compiler works.
4870 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4871 # <limits.h> exists even on freestanding compilers.
4872 # On the NeXT, cc -E runs the code through the compiler's parser,
4873 # not just through cpp. "Syntax error" is here to catch this case.
4874 cat >conftest.
$ac_ext <<_ACEOF
4877 cat confdefs.h
>>conftest.
$ac_ext
4878 cat >>conftest.
$ac_ext <<_ACEOF
4879 /* end confdefs.h. */
4881 # include <limits.h>
4883 # include <assert.h>
4887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4888 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4890 grep -v '^ *+' conftest.er1
>conftest.err
4892 cat conftest.err
>&5
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); } >/dev
/null
; then
4895 if test -s conftest.err
; then
4896 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4897 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4904 if test -z "$ac_cpp_err"; then
4907 echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.
$ac_ext >&5
4910 # Broken: fails on valid input.
4913 rm -f conftest.err conftest.
$ac_ext
4915 # OK, works on sane cases. Now check whether non-existent headers
4916 # can be detected and how.
4917 cat >conftest.
$ac_ext <<_ACEOF
4920 cat confdefs.h
>>conftest.
$ac_ext
4921 cat >>conftest.
$ac_ext <<_ACEOF
4922 /* end confdefs.h. */
4923 #include <ac_nonexistent.h>
4925 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4926 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4928 grep -v '^ *+' conftest.er1
>conftest.err
4930 cat conftest.err
>&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); } >/dev
/null
; then
4933 if test -s conftest.err
; then
4934 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4935 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4942 if test -z "$ac_cpp_err"; then
4943 # Broken: success on invalid input.
4946 echo "$as_me: failed program was:" >&5
4947 sed 's/^/| /' conftest.
$ac_ext >&5
4949 # Passes both tests.
4953 rm -f conftest.err conftest.
$ac_ext
4956 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4957 rm -f conftest.err conftest.
$ac_ext
4958 if $ac_preproc_ok; then
4963 ac_cv_prog_CXXCPP
=$CXXCPP
4966 CXXCPP
=$ac_cv_prog_CXXCPP
4968 ac_cv_prog_CXXCPP
=$CXXCPP
4970 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4971 echo "${ECHO_T}$CXXCPP" >&6
4973 for ac_cxx_preproc_warn_flag
in '' yes
4975 # Use a header file that comes with gcc, so configuring glibc
4976 # with a fresh cross-compiler works.
4977 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4978 # <limits.h> exists even on freestanding compilers.
4979 # On the NeXT, cc -E runs the code through the compiler's parser,
4980 # not just through cpp. "Syntax error" is here to catch this case.
4981 cat >conftest.
$ac_ext <<_ACEOF
4984 cat confdefs.h
>>conftest.
$ac_ext
4985 cat >>conftest.
$ac_ext <<_ACEOF
4986 /* end confdefs.h. */
4988 # include <limits.h>
4990 # include <assert.h>
4994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4997 grep -v '^ *+' conftest.er1
>conftest.err
4999 cat conftest.err
>&5
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); } >/dev
/null
; then
5002 if test -s conftest.err
; then
5003 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5004 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5011 if test -z "$ac_cpp_err"; then
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.
$ac_ext >&5
5017 # Broken: fails on valid input.
5020 rm -f conftest.err conftest.
$ac_ext
5022 # OK, works on sane cases. Now check whether non-existent headers
5023 # can be detected and how.
5024 cat >conftest.
$ac_ext <<_ACEOF
5027 cat confdefs.h
>>conftest.
$ac_ext
5028 cat >>conftest.
$ac_ext <<_ACEOF
5029 /* end confdefs.h. */
5030 #include <ac_nonexistent.h>
5032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5033 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5035 grep -v '^ *+' conftest.er1
>conftest.err
5037 cat conftest.err
>&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } >/dev
/null
; then
5040 if test -s conftest.err
; then
5041 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5042 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5049 if test -z "$ac_cpp_err"; then
5050 # Broken: success on invalid input.
5053 echo "$as_me: failed program was:" >&5
5054 sed 's/^/| /' conftest.
$ac_ext >&5
5056 # Passes both tests.
5060 rm -f conftest.err conftest.
$ac_ext
5063 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5064 rm -f conftest.err conftest.
$ac_ext
5065 if $ac_preproc_ok; then
5068 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5069 See \`config.log' for more details." >&5
5070 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5071 See \`config.log' for more details." >&2;}
5072 { (exit 1); exit 1; }; }
5076 ac_cpp
='$CXXCPP $CPPFLAGS'
5077 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5078 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5079 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5085 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5086 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5088 if test -n "$ac_tool_prefix"; then
5089 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5091 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5092 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5093 echo "$as_me:$LINENO: checking for $ac_word" >&5
5094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5095 if test "${ac_cv_prog_F77+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 if test -n "$F77"; then
5099 ac_cv_prog_F77
="$F77" # Let the user override the test.
5101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir
=.
5106 for ac_exec_ext
in '' $ac_executable_extensions; do
5107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5108 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 if test -n "$F77"; then
5119 echo "$as_me:$LINENO: result: $F77" >&5
5120 echo "${ECHO_T}$F77" >&6
5122 echo "$as_me:$LINENO: result: no" >&5
5123 echo "${ECHO_T}no" >&6
5126 test -n "$F77" && break
5129 if test -z "$F77"; then
5131 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5133 # Extract the first word of "$ac_prog", so it can be a program name with args.
5134 set dummy
$ac_prog; ac_word
=$2
5135 echo "$as_me:$LINENO: checking for $ac_word" >&5
5136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5137 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5138 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 if test -n "$ac_ct_F77"; then
5141 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir
=.
5148 for ac_exec_ext
in '' $ac_executable_extensions; do
5149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_ac_ct_F77
="$ac_prog"
5151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5160 if test -n "$ac_ct_F77"; then
5161 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5162 echo "${ECHO_T}$ac_ct_F77" >&6
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5168 test -n "$ac_ct_F77" && break
5175 # Provide some information about the compiler.
5176 echo "$as_me:5176:" \
5177 "checking for Fortran 77 compiler version" >&5
5178 ac_compiler
=`set X $ac_compile; echo $2`
5179 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5180 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); }
5184 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5185 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); }
5189 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5190 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); }
5196 # If we don't use `.F' as extension, the preprocessor is not run on the
5197 # input file. (Note that this only needs to work for GNU compilers.)
5200 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5201 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5202 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 cat >conftest.
$ac_ext <<_ACEOF
5213 rm -f conftest.
$ac_objext
5214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5215 (eval $ac_compile) 2>conftest.er1
5217 grep -v '^ *+' conftest.er1
>conftest.err
5219 cat conftest.err
>&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); } &&
5222 { ac_try
='test -z "$ac_f77_werror_flag"
5223 || test ! -s conftest.err'
5224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }; } &&
5229 { ac_try
='test -s conftest.$ac_objext'
5230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }; }; then
5237 echo "$as_me: failed program was:" >&5
5238 sed 's/^/| /' conftest.
$ac_ext >&5
5242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5243 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5246 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5247 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5249 ac_test_FFLAGS
=${FFLAGS+set}
5250 ac_save_FFLAGS
=$FFLAGS
5252 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5253 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5254 if test "${ac_cv_prog_f77_g+set}" = set; then
5255 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 cat >conftest.
$ac_ext <<_ACEOF
5263 rm -f conftest.
$ac_objext
5264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5265 (eval $ac_compile) 2>conftest.er1
5267 grep -v '^ *+' conftest.er1
>conftest.err
5269 cat conftest.err
>&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } &&
5272 { ac_try
='test -z "$ac_f77_werror_flag"
5273 || test ! -s conftest.err'
5274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); }; } &&
5279 { ac_try
='test -s conftest.$ac_objext'
5280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; }; then
5285 ac_cv_prog_f77_g
=yes
5287 echo "$as_me: failed program was:" >&5
5288 sed 's/^/| /' conftest.
$ac_ext >&5
5292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5295 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5296 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5297 if test "$ac_test_FFLAGS" = set; then
5298 FFLAGS
=$ac_save_FFLAGS
5299 elif test $ac_cv_prog_f77_g = yes; then
5300 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5306 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5313 G77
=`test $ac_compiler_gnu = yes && echo yes`
5315 ac_cpp
='$CPP $CPPFLAGS'
5316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5322 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5324 # find the maximum length of command line arguments
5325 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5326 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5327 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5328 echo $ECHO_N "(cached) $ECHO_C" >&6
5335 # On DJGPP, this test can blow up pretty badly due to problems in libc
5336 # (any single argument exceeding 2000 bytes causes a buffer overrun
5337 # during glob expansion). Even if it were fixed, the result of this
5338 # check would be larger than it should be.
5339 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5343 # Under GNU Hurd, this test is not required because there is
5344 # no limit to the length of command line arguments.
5345 # Libtool will interpret -1 as no limit whatsoever
5346 lt_cv_sys_max_cmd_len
=-1;
5350 # On Win9x/ME, this test blows up -- it succeeds, but takes
5351 # about 5 minutes as the teststring grows exponentially.
5352 # Worse, since 9x/ME are not pre-emptively multitasking,
5353 # you end up with a "frozen" computer, even though with patience
5354 # the test eventually succeeds (with a max line length of 256k).
5355 # Instead, let's just punt: use the minimum linelength reported by
5356 # all of the supported platforms: 8192 (on NT/2K/XP).
5357 lt_cv_sys_max_cmd_len
=8192;
5361 # On AmigaOS with pdksh, this test takes hours, literally.
5362 # So we just punt and use a minimum line length of 8192.
5363 lt_cv_sys_max_cmd_len
=8192;
5366 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5367 # This has been around since 386BSD, at least. Likely further.
5368 if test -x /sbin
/sysctl
; then
5369 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5370 elif test -x /usr
/sbin
/sysctl
; then
5371 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5373 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5375 # And add a safety zone
5376 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5377 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5381 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5382 lt_cv_sys_max_cmd_len
=196608
5386 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5387 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5388 # nice to cause kernel panics so lets avoid the loop below.
5389 # First set a reasonable default.
5390 lt_cv_sys_max_cmd_len
=16384
5392 if test -x /sbin
/sysconfig
; then
5393 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5394 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5399 lt_cv_sys_max_cmd_len
=102400
5401 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5402 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5403 if test -n "$kargmax"; then
5404 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5406 lt_cv_sys_max_cmd_len
=32768
5410 # If test is not a shell built-in, we'll probably end up computing a
5411 # maximum length that is only half of the actual maximum length, but
5413 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5414 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5415 = "XX$teststring") >/dev
/null
2>&1 &&
5416 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5417 lt_cv_sys_max_cmd_len
=$new_result &&
5418 test $i != 17 # 1/2 MB should be enough
5421 teststring
=$teststring$teststring
5424 # Add a significant safety factor because C++ compilers can tack on massive
5425 # amounts of additional arguments before passing them to the linker.
5426 # It appears as though 1/2 is a usable value.
5427 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5433 if test -n $lt_cv_sys_max_cmd_len ; then
5434 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5435 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5437 echo "$as_me:$LINENO: result: none" >&5
5438 echo "${ECHO_T}none" >&6
5444 # Check for command to grab the raw symbol name followed by C symbol from nm.
5445 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5446 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5447 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5451 # These are sane defaults that work on at least a few old systems.
5452 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5454 # Character class describing NM global symbol codes.
5455 symcode
='[BCDEGRST]'
5457 # Regexp to match symbols that can be accessed directly from C.
5458 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5460 # Transform an extracted symbol line into a proper C declaration
5461 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5463 # Transform an extracted symbol line into symbol name and symbol address
5464 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'"
5466 # Define system-specific variables.
5471 cygwin
* | mingw
* | pw32
*)
5472 symcode
='[ABCDGISTW]'
5474 hpux
*) # Its linker distinguishes data from code symbols
5475 if test "$host_cpu" = ia64
; then
5476 symcode
='[ABCDEGRST]'
5478 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5479 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'"
5482 if test "$host_cpu" = ia64
; then
5483 symcode
='[ABCDGIRSTW]'
5484 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5485 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'"
5489 symcode
='[BCDEGRST]'
5492 symcode
='[BCDEGQRST]'
5503 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5511 # Handle CRLF in mingw tool chain
5515 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5519 # If we're using GNU nm, then use its standard symbol codes.
5520 case `$NM -V 2>&1` in
5521 *GNU
* |
*'with BFD'*)
5522 symcode
='[ABCDGIRSTW]' ;;
5525 # Try without a prefix undercore, then with it.
5526 for ac_symprfx
in "" "_"; do
5528 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5529 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5531 # Write the raw and C identifiers.
5532 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5534 # Check to see that the pipe works correctly.
5538 cat > conftest.
$ac_ext <<EOF
5543 void nm_test_func(){}
5547 int main(){nm_test_var='a';nm_test_func();return(0);}
5550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5551 (eval $ac_compile) 2>&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; then
5555 # Now try to grab the symbols.
5557 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5558 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); } && test -s "$nlist"; then
5562 # Try sorting and uniquifying the output.
5563 if sort "$nlist" |
uniq > "$nlist"T
; then
5564 mv -f "$nlist"T
"$nlist"
5569 # Make sure that we snagged all the symbols we need.
5570 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5571 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5572 cat <<EOF > conftest.$ac_ext
5578 # Now generate the symbol file.
5579 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5581 cat <<EOF >> conftest.$ac_ext
5582 #if defined (__STDC__) && __STDC__
5583 # define lt_ptr_t void *
5585 # define lt_ptr_t char *
5589 /* The mapping between symbol names and symbols. */
5594 lt_preloaded_symbols[] =
5597 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5598 cat <<\EOF
>> conftest.
$ac_ext
5606 # Now try linking the two files.
5607 mv conftest.
$ac_objext conftstm.
$ac_objext
5608 lt_save_LIBS
="$LIBS"
5609 lt_save_CFLAGS
="$CFLAGS"
5610 LIBS
="conftstm.$ac_objext"
5611 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5613 (eval $ac_link) 2>&5
5615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5619 LIBS
="$lt_save_LIBS"
5620 CFLAGS
="$lt_save_CFLAGS"
5622 echo "cannot find nm_test_func in $nlist" >&5
5625 echo "cannot find nm_test_var in $nlist" >&5
5628 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5631 echo "$progname: failed program was:" >&5
5632 cat conftest.
$ac_ext >&5
5634 rm -f conftest
* conftst
*
5636 # Do not use the global_symbol_pipe unless it works.
5637 if test "$pipe_works" = yes; then
5640 lt_cv_sys_global_symbol_pipe
=
5646 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5647 lt_cv_sys_global_symbol_to_cdecl
=
5649 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5650 echo "$as_me:$LINENO: result: failed" >&5
5651 echo "${ECHO_T}failed" >&6
5653 echo "$as_me:$LINENO: result: ok" >&5
5654 echo "${ECHO_T}ok" >&6
5657 echo "$as_me:$LINENO: checking for objdir" >&5
5658 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5659 if test "${lt_cv_objdir+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 rm -f .libs
2>/dev
/null
5663 mkdir .libs
2>/dev
/null
5664 if test -d .libs
; then
5667 # MS-DOS does not allow filenames that begin with a dot.
5670 rmdir .libs
2>/dev
/null
5672 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5673 echo "${ECHO_T}$lt_cv_objdir" >&6
5674 objdir
=$lt_cv_objdir
5682 # AIX sometimes has problems with the GCC collect2 program. For some
5683 # reason, if we set the COLLECT_NAMES environment variable, the problems
5684 # vanish in a puff of smoke.
5685 if test "X${COLLECT_NAMES+set}" != Xset
; then
5687 export COLLECT_NAMES
5692 # Sed substitution that helps us do robust quoting. It backslashifies
5693 # metacharacters that are still active within double-quoted strings.
5694 Xsed
='sed -e 1s/^X//'
5695 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5697 # Same as above, but do not quote variable references.
5698 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5700 # Sed substitution to delay expansion of an escaped shell variable in a
5701 # double_quote_subst'ed string.
5702 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5704 # Sed substitution to avoid accidental globbing in evaled expressions
5705 no_glob_subst
='s/\*/\\\*/g'
5711 default_ofile
=libtool
5712 can_build_shared
=yes
5714 # All known linkers require a `.a' archive for static linking (except MSVC,
5715 # which needs '.lib').
5717 ltmain
="$ac_aux_dir/ltmain.sh"
5718 ofile
="$default_ofile"
5719 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5721 if test -n "$ac_tool_prefix"; then
5722 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5723 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5724 echo "$as_me:$LINENO: checking for $ac_word" >&5
5725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5726 if test "${ac_cv_prog_AR+set}" = set; then
5727 echo $ECHO_N "(cached) $ECHO_C" >&6
5729 if test -n "$AR"; then
5730 ac_cv_prog_AR
="$AR" # Let the user override the test.
5732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5736 test -z "$as_dir" && as_dir
=.
5737 for ac_exec_ext
in '' $ac_executable_extensions; do
5738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 if test -n "$AR"; then
5750 echo "$as_me:$LINENO: result: $AR" >&5
5751 echo "${ECHO_T}$AR" >&6
5753 echo "$as_me:$LINENO: result: no" >&5
5754 echo "${ECHO_T}no" >&6
5758 if test -z "$ac_cv_prog_AR"; then
5760 # Extract the first word of "ar", so it can be a program name with args.
5761 set dummy
ar; ac_word
=$2
5762 echo "$as_me:$LINENO: checking for $ac_word" >&5
5763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5764 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5765 echo $ECHO_N "(cached) $ECHO_C" >&6
5767 if test -n "$ac_ct_AR"; then
5768 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5774 test -z "$as_dir" && as_dir
=.
5775 for ac_exec_ext
in '' $ac_executable_extensions; do
5776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_ac_ct_AR
="ar"
5778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
5787 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5788 if test -n "$ac_ct_AR"; then
5789 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5790 echo "${ECHO_T}$ac_ct_AR" >&6
5792 echo "$as_me:$LINENO: result: no" >&5
5793 echo "${ECHO_T}no" >&6
5801 if test -n "$ac_tool_prefix"; then
5802 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5803 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5804 echo "$as_me:$LINENO: checking for $ac_word" >&5
5805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5806 if test "${ac_cv_prog_RANLIB+set}" = set; then
5807 echo $ECHO_N "(cached) $ECHO_C" >&6
5809 if test -n "$RANLIB"; then
5810 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5816 test -z "$as_dir" && as_dir
=.
5817 for ac_exec_ext
in '' $ac_executable_extensions; do
5818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5819 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 RANLIB
=$ac_cv_prog_RANLIB
5829 if test -n "$RANLIB"; then
5830 echo "$as_me:$LINENO: result: $RANLIB" >&5
5831 echo "${ECHO_T}$RANLIB" >&6
5833 echo "$as_me:$LINENO: result: no" >&5
5834 echo "${ECHO_T}no" >&6
5838 if test -z "$ac_cv_prog_RANLIB"; then
5839 ac_ct_RANLIB
=$RANLIB
5840 # Extract the first word of "ranlib", so it can be a program name with args.
5841 set dummy ranlib
; ac_word
=$2
5842 echo "$as_me:$LINENO: checking for $ac_word" >&5
5843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5844 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5845 echo $ECHO_N "(cached) $ECHO_C" >&6
5847 if test -n "$ac_ct_RANLIB"; then
5848 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5854 test -z "$as_dir" && as_dir
=.
5855 for ac_exec_ext
in '' $ac_executable_extensions; do
5856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5864 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5867 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5868 if test -n "$ac_ct_RANLIB"; then
5869 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5870 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5872 echo "$as_me:$LINENO: result: no" >&5
5873 echo "${ECHO_T}no" >&6
5876 RANLIB
=$ac_ct_RANLIB
5878 RANLIB
="$ac_cv_prog_RANLIB"
5881 if test -n "$ac_tool_prefix"; then
5882 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5883 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5884 echo "$as_me:$LINENO: checking for $ac_word" >&5
5885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5886 if test "${ac_cv_prog_STRIP+set}" = set; then
5887 echo $ECHO_N "(cached) $ECHO_C" >&6
5889 if test -n "$STRIP"; then
5890 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5896 test -z "$as_dir" && as_dir
=.
5897 for ac_exec_ext
in '' $ac_executable_extensions; do
5898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5899 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5908 STRIP
=$ac_cv_prog_STRIP
5909 if test -n "$STRIP"; then
5910 echo "$as_me:$LINENO: result: $STRIP" >&5
5911 echo "${ECHO_T}$STRIP" >&6
5913 echo "$as_me:$LINENO: result: no" >&5
5914 echo "${ECHO_T}no" >&6
5918 if test -z "$ac_cv_prog_STRIP"; then
5920 # Extract the first word of "strip", so it can be a program name with args.
5921 set dummy strip
; ac_word
=$2
5922 echo "$as_me:$LINENO: checking for $ac_word" >&5
5923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5924 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 if test -n "$ac_ct_STRIP"; then
5928 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir
=.
5935 for ac_exec_ext
in '' $ac_executable_extensions; do
5936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_ac_ct_STRIP
="strip"
5938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5944 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5947 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5948 if test -n "$ac_ct_STRIP"; then
5949 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5950 echo "${ECHO_T}$ac_ct_STRIP" >&6
5952 echo "$as_me:$LINENO: result: no" >&5
5953 echo "${ECHO_T}no" >&6
5958 STRIP
="$ac_cv_prog_STRIP"
5963 old_CFLAGS
="$CFLAGS"
5965 # Set sane defaults for various variables
5966 test -z "$AR" && AR
=ar
5967 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5968 test -z "$AS" && AS
=as
5969 test -z "$CC" && CC
=cc
5970 test -z "$LTCC" && LTCC
=$CC
5971 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
5972 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5973 test -z "$LD" && LD
=ld
5974 test -z "$LN_S" && LN_S
="ln -s"
5975 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
5976 test -z "$NM" && NM
=nm
5977 test -z "$SED" && SED
=sed
5978 test -z "$OBJDUMP" && OBJDUMP
=objdump
5979 test -z "$RANLIB" && RANLIB
=:
5980 test -z "$STRIP" && STRIP
=:
5981 test -z "$ac_objext" && ac_objext
=o
5983 # Determine commands to create old-style static archives.
5984 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5985 old_postinstall_cmds
='chmod 644 $oldlib'
5986 old_postuninstall_cmds
=
5988 if test -n "$RANLIB"; then
5991 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5994 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
5997 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6000 for cc_temp
in $compiler""; do
6002 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6003 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6008 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6011 # Only perform the check for file, if the check method requires it
6012 case $deplibs_check_method in
6014 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6015 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6016 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6017 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6018 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6025 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6026 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6027 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6028 for ac_dir
in $ac_dummy; do
6030 test -z "$ac_dir" && ac_dir
=.
6031 if test -f $ac_dir/${ac_tool_prefix}file; then
6032 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6033 if test -n "$file_magic_test_file"; then
6034 case $deplibs_check_method in
6036 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6037 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6038 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6039 $EGREP "$file_magic_regex" > /dev
/null
; then
6044 *** Warning: the command libtool uses to detect shared libraries,
6045 *** $file_magic_cmd, produces output that libtool cannot recognize.
6046 *** The result is that libtool may fail to recognize shared libraries
6047 *** as such. This will affect the creation of libtool libraries that
6048 *** depend on shared libraries, but programs linked with such libtool
6049 *** libraries will work regardless of this problem. Nevertheless, you
6050 *** may want to report the problem to your system manager and/or to
6051 *** bug-libtool@gnu.org
6061 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6066 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6067 if test -n "$MAGIC_CMD"; then
6068 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6069 echo "${ECHO_T}$MAGIC_CMD" >&6
6071 echo "$as_me:$LINENO: result: no" >&5
6072 echo "${ECHO_T}no" >&6
6075 if test -z "$lt_cv_path_MAGIC_CMD"; then
6076 if test -n "$ac_tool_prefix"; then
6077 echo "$as_me:$LINENO: checking for file" >&5
6078 echo $ECHO_N "checking for file... $ECHO_C" >&6
6079 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6080 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6087 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6088 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6089 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6090 for ac_dir
in $ac_dummy; do
6092 test -z "$ac_dir" && ac_dir
=.
6093 if test -f $ac_dir/file; then
6094 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6095 if test -n "$file_magic_test_file"; then
6096 case $deplibs_check_method in
6098 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6099 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6100 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6101 $EGREP "$file_magic_regex" > /dev
/null
; then
6106 *** Warning: the command libtool uses to detect shared libraries,
6107 *** $file_magic_cmd, produces output that libtool cannot recognize.
6108 *** The result is that libtool may fail to recognize shared libraries
6109 *** as such. This will affect the creation of libtool libraries that
6110 *** depend on shared libraries, but programs linked with such libtool
6111 *** libraries will work regardless of this problem. Nevertheless, you
6112 *** may want to report the problem to your system manager and/or to
6113 *** bug-libtool@gnu.org
6123 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6128 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6129 if test -n "$MAGIC_CMD"; then
6130 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6131 echo "${ECHO_T}$MAGIC_CMD" >&6
6133 echo "$as_me:$LINENO: result: no" >&5
6134 echo "${ECHO_T}no" >&6
6149 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6150 if test "${enable_libtool_lock+set}" = set; then
6151 enableval
="$enable_libtool_lock"
6154 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6157 # Check whether --with-pic or --without-pic was given.
6158 if test "${with_pic+set}" = set; then
6164 test -z "$pic_mode" && pic_mode
=default
6166 # Use C for the default configuration in the libtool script
6170 ac_cpp
='$CPP $CPPFLAGS'
6171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6176 # Source file extension for C test sources.
6179 # Object file extension for compiled C test sources.
6183 # Code to be used in simple compile tests
6184 lt_simple_compile_test_code
="int some_variable = 0;\n"
6186 # Code to be used in simple link tests
6187 lt_simple_link_test_code
='int main(){return(0);}\n'
6190 # If no C compiler was specified, use CC.
6193 # If no C compiler flags were specified, use CFLAGS.
6194 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6196 # Allow CC to be a program name with arguments.
6200 # save warnings/boilerplate of simple test code
6201 ac_outfile
=conftest.
$ac_objext
6202 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6203 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6204 _lt_compiler_boilerplate
=`cat conftest.err`
6207 ac_outfile
=conftest.
$ac_objext
6208 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6209 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6210 _lt_linker_boilerplate
=`cat conftest.err`
6215 lt_prog_compiler_no_builtin_flag
=
6217 if test "$GCC" = yes; then
6218 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6221 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6222 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6223 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6224 echo $ECHO_N "(cached) $ECHO_C" >&6
6226 lt_cv_prog_compiler_rtti_exceptions
=no
6227 ac_outfile
=conftest.
$ac_objext
6228 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6229 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6230 # Insert the option either (1) after the last *FLAGS variable, or
6231 # (2) before a word containing "conftest.", or (3) at the end.
6232 # Note that $ac_compile itself does not contain backslashes and begins
6233 # with a dollar sign (not a hyphen), so the echo should work correctly.
6234 # The option is referenced via a variable to avoid confusing sed.
6235 lt_compile
=`echo "$ac_compile" | $SED \
6236 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6237 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6238 -e 's:$: $lt_compiler_flag:'`
6239 (eval echo "\"\$as_me:6239: $lt_compile\"" >&5)
6240 (eval "$lt_compile" 2>conftest.err
)
6242 cat conftest.err
>&5
6243 echo "$as_me:6243: \$? = $ac_status" >&5
6244 if (exit $ac_status) && test -s "$ac_outfile"; then
6245 # The compiler can only warn and ignore the option if not recognized
6246 # So say no if there are warnings other than the usual output.
6247 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6248 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6249 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6250 lt_cv_prog_compiler_rtti_exceptions
=yes
6256 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6257 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6259 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6260 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6267 lt_prog_compiler_wl
=
6268 lt_prog_compiler_pic
=
6269 lt_prog_compiler_static
=
6271 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6272 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6274 if test "$GCC" = yes; then
6275 lt_prog_compiler_wl
='-Wl,'
6276 lt_prog_compiler_static
='-static'
6280 # All AIX code is PIC.
6281 if test "$host_cpu" = ia64
; then
6282 # AIX 5 now supports IA64 processor
6283 lt_prog_compiler_static
='-Bstatic'
6288 # FIXME: we need at least 68020 code to build shared libraries, but
6289 # adding the `-m68020' flag to GCC prevents building anything better,
6291 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6294 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6295 # PIC is the default for these OSes.
6298 mingw
* | pw32
* | os2
*)
6299 # This hack is so that the source file can tell whether it is being
6300 # built for inclusion in a dll (and should export symbols for example).
6301 lt_prog_compiler_pic
='-DDLL_EXPORT'
6304 darwin
* | rhapsody
*)
6305 # PIC is the default on this platform
6306 # Common symbols not allowed in MH_DYLIB files
6307 lt_prog_compiler_pic
='-fno-common'
6311 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6312 # Instead, we relocate shared libraries at runtime.
6316 # Just because we use GCC doesn't mean we suddenly get shared libraries
6317 # on systems that don't support them.
6318 lt_prog_compiler_can_build_shared
=no
6323 if test -d /usr
/nec
; then
6324 lt_prog_compiler_pic
=-Kconform_pic
6329 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6336 lt_prog_compiler_pic
='-fPIC'
6342 lt_prog_compiler_pic
='-fPIC'
6346 # PORTME Check for flag to pass linker flags through the system compiler.
6349 lt_prog_compiler_wl
='-Wl,'
6350 if test "$host_cpu" = ia64
; then
6351 # AIX 5 now supports IA64 processor
6352 lt_prog_compiler_static
='-Bstatic'
6354 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6358 # PIC is the default on this platform
6359 # Common symbols not allowed in MH_DYLIB files
6360 case $cc_basename in
6362 lt_prog_compiler_pic
='-qnocommon'
6363 lt_prog_compiler_wl
='-Wl,'
6368 mingw
* | pw32
* | os2
*)
6369 # This hack is so that the source file can tell whether it is being
6370 # built for inclusion in a dll (and should export symbols for example).
6371 lt_prog_compiler_pic
='-DDLL_EXPORT'
6374 hpux9
* | hpux10
* | hpux11
*)
6375 lt_prog_compiler_wl
='-Wl,'
6376 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6383 lt_prog_compiler_pic
='+Z'
6386 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6387 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6390 irix5
* | irix6
* | nonstopux
*)
6391 lt_prog_compiler_wl
='-Wl,'
6392 # PIC (with -KPIC) is the default.
6393 lt_prog_compiler_static
='-non_shared'
6397 lt_prog_compiler_pic
='-KPIC'
6398 lt_prog_compiler_static
='-Bstatic'
6402 case $cc_basename in
6404 lt_prog_compiler_wl
='-Wl,'
6405 lt_prog_compiler_pic
='-KPIC'
6406 lt_prog_compiler_static
='-static'
6408 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6409 # Portland Group compilers (*not* the Pentium gcc compiler,
6410 # which looks to be a dead project)
6411 lt_prog_compiler_wl
='-Wl,'
6412 lt_prog_compiler_pic
='-fpic'
6413 lt_prog_compiler_static
='-Bstatic'
6416 lt_prog_compiler_wl
='-Wl,'
6417 # All Alpha code is PIC.
6418 lt_prog_compiler_static
='-non_shared'
6423 osf3
* | osf4
* | osf5
*)
6424 lt_prog_compiler_wl
='-Wl,'
6425 # All OSF/1 code is PIC.
6426 lt_prog_compiler_static
='-non_shared'
6430 lt_prog_compiler_pic
='-KPIC'
6431 lt_prog_compiler_static
='-Bstatic'
6432 case $cc_basename in
6434 lt_prog_compiler_wl
='-Qoption ld ';;
6436 lt_prog_compiler_wl
='-Wl,';;
6441 lt_prog_compiler_wl
='-Qoption ld '
6442 lt_prog_compiler_pic
='-PIC'
6443 lt_prog_compiler_static
='-Bstatic'
6446 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6447 lt_prog_compiler_wl
='-Wl,'
6448 lt_prog_compiler_pic
='-KPIC'
6449 lt_prog_compiler_static
='-Bstatic'
6453 if test -d /usr
/nec
;then
6454 lt_prog_compiler_pic
='-Kconform_pic'
6455 lt_prog_compiler_static
='-Bstatic'
6459 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6460 lt_prog_compiler_wl
='-Wl,'
6461 lt_prog_compiler_pic
='-KPIC'
6462 lt_prog_compiler_static
='-Bstatic'
6466 lt_prog_compiler_wl
='-Wl,'
6467 lt_prog_compiler_can_build_shared
=no
6471 lt_prog_compiler_pic
='-pic'
6472 lt_prog_compiler_static
='-Bstatic'
6476 lt_prog_compiler_can_build_shared
=no
6481 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6482 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6485 # Check to make sure the PIC flag actually works.
6487 if test -n "$lt_prog_compiler_pic"; then
6489 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6490 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6491 if test "${lt_prog_compiler_pic_works+set}" = set; then
6492 echo $ECHO_N "(cached) $ECHO_C" >&6
6494 lt_prog_compiler_pic_works
=no
6495 ac_outfile
=conftest.
$ac_objext
6496 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6497 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6498 # Insert the option either (1) after the last *FLAGS variable, or
6499 # (2) before a word containing "conftest.", or (3) at the end.
6500 # Note that $ac_compile itself does not contain backslashes and begins
6501 # with a dollar sign (not a hyphen), so the echo should work correctly.
6502 # The option is referenced via a variable to avoid confusing sed.
6503 lt_compile
=`echo "$ac_compile" | $SED \
6504 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6505 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6506 -e 's:$: $lt_compiler_flag:'`
6507 (eval echo "\"\$as_me:6507: $lt_compile\"" >&5)
6508 (eval "$lt_compile" 2>conftest.err
)
6510 cat conftest.err
>&5
6511 echo "$as_me:6511: \$? = $ac_status" >&5
6512 if (exit $ac_status) && test -s "$ac_outfile"; then
6513 # The compiler can only warn and ignore the option if not recognized
6514 # So say no if there are warnings other than the usual output.
6515 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6516 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6517 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6518 lt_prog_compiler_pic_works
=yes
6524 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6525 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6527 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6528 case $lt_prog_compiler_pic in
6530 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6533 lt_prog_compiler_pic
=
6534 lt_prog_compiler_can_build_shared
=no
6539 # For platforms which do not support PIC, -DPIC is meaningless:
6541 lt_prog_compiler_pic
=
6544 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6549 # Check to make sure the static flag actually works.
6551 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6552 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6553 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6554 if test "${lt_prog_compiler_static_works+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6557 lt_prog_compiler_static_works
=no
6558 save_LDFLAGS
="$LDFLAGS"
6559 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6560 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6561 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6562 # The linker can only warn and ignore the option if not recognized
6563 # So say no if there are warnings
6564 if test -s conftest.err
; then
6565 # Append any errors to the config.log.
6566 cat conftest.err
1>&5
6567 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6568 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6569 if diff conftest.exp conftest.er2
>/dev
/null
; then
6570 lt_prog_compiler_static_works
=yes
6573 lt_prog_compiler_static_works
=yes
6577 LDFLAGS
="$save_LDFLAGS"
6580 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6581 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6583 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6586 lt_prog_compiler_static
=
6590 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6591 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6592 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6593 echo $ECHO_N "(cached) $ECHO_C" >&6
6595 lt_cv_prog_compiler_c_o
=no
6596 $rm -r conftest
2>/dev
/null
6600 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6602 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6603 # Insert the option either (1) after the last *FLAGS variable, or
6604 # (2) before a word containing "conftest.", or (3) at the end.
6605 # Note that $ac_compile itself does not contain backslashes and begins
6606 # with a dollar sign (not a hyphen), so the echo should work correctly.
6607 lt_compile
=`echo "$ac_compile" | $SED \
6608 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6609 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6610 -e 's:$: $lt_compiler_flag:'`
6611 (eval echo "\"\$as_me:6611: $lt_compile\"" >&5)
6612 (eval "$lt_compile" 2>out
/conftest.err
)
6614 cat out
/conftest.err
>&5
6615 echo "$as_me:6615: \$? = $ac_status" >&5
6616 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6618 # The compiler can only warn and ignore the option if not recognized
6619 # So say no if there are warnings
6620 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6621 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6622 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6623 lt_cv_prog_compiler_c_o
=yes
6628 # SGI C++ compiler will create directory out/ii_files/ for
6629 # template instantiation
6630 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6631 $rm out
/* && rmdir out
6637 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6638 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6641 hard_links
="nottested"
6642 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6643 # do not overwrite the value of need_locks provided by the user
6644 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6645 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6648 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6650 ln conftest.a conftest.b
2>&5 || hard_links
=no
6651 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6652 echo "$as_me:$LINENO: result: $hard_links" >&5
6653 echo "${ECHO_T}$hard_links" >&6
6654 if test "$hard_links" = no
; then
6655 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6656 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6663 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6664 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6667 allow_undefined_flag
=
6668 enable_shared_with_static_runtimes
=no
6670 archive_expsym_cmds
=
6671 old_archive_From_new_cmds
=
6672 old_archive_from_expsyms_cmds
=
6673 export_dynamic_flag_spec
=
6674 whole_archive_flag_spec
=
6675 thread_safe_flag_spec
=
6676 hardcode_libdir_flag_spec
=
6677 hardcode_libdir_flag_spec_ld
=
6678 hardcode_libdir_separator
=
6681 hardcode_shlibpath_var
=unsupported
6682 link_all_deplibs
=unknown
6683 hardcode_automatic
=no
6686 always_export_symbols
=no
6687 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6688 # include_expsyms should be a list of space-separated symbols to be *always*
6689 # included in the symbol list
6691 # exclude_expsyms can be an extended regexp of symbols to exclude
6692 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6693 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6694 # as well as any symbol that contains `d'.
6695 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6696 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6697 # platforms (ab)use it in PIC code, but their linkers get confused if
6698 # the symbol is explicitly referenced. Since portable code cannot
6699 # rely on this symbol name, it's probably fine to never include it in
6700 # preloaded symbol tables.
6701 extract_expsyms_cmds
=
6702 # Just being paranoid about ensuring that cc_basename is set.
6703 for cc_temp
in $compiler""; do
6705 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6706 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6711 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6714 cygwin
* | mingw
* | pw32
*)
6715 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6716 # When not using gcc, we currently assume that we are using
6717 # Microsoft Visual C++.
6718 if test "$GCC" != yes; then
6723 # we just hope/assume this is gcc and not c89 (= MSVC++)
6732 if test "$with_gnu_ld" = yes; then
6733 # If archive_cmds runs LD, not CC, wlarc should be empty
6736 # Set some defaults for GNU ld with shared library support. These
6737 # are reset later if shared libraries are not supported. Putting them
6738 # here allows them to be overridden if necessary.
6739 runpath_var
=LD_RUN_PATH
6740 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6741 export_dynamic_flag_spec
='${wl}--export-dynamic'
6742 # ancient GNU ld didn't support --whole-archive et. al.
6743 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6744 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6746 whole_archive_flag_spec
=
6748 supports_anon_versioning
=no
6749 case `$LD -v 2>/dev/null` in
6750 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6751 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6752 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6753 *\
2.11.
*) ;; # other 2.11 versions
6754 *) supports_anon_versioning
=yes ;;
6757 # See if GNU ld supports shared libraries.
6759 aix3
* | aix4
* | aix5
*)
6760 # On AIX/PPC, the GNU linker is very broken
6761 if test "$host_cpu" != ia64
; then
6765 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6766 *** to be unable to reliably create shared libraries on AIX.
6767 *** Therefore, libtool is disabling shared libraries support. If you
6768 *** really care for shared libraries, you may want to modify your PATH
6769 *** so that a non-GNU linker is found, and then restart.
6776 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)'
6777 hardcode_libdir_flag_spec
='-L$libdir'
6778 hardcode_minus_L
=yes
6780 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6781 # that the semantics of dynamic libraries on AmigaOS, at least up
6782 # to version 4, is to share data among multiple programs linked
6783 # with the same dynamic library. Since this doesn't match the
6784 # behavior of shared libraries on other platforms, we can't use
6790 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6791 allow_undefined_flag
=unsupported
6792 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6793 # support --undefined. This deserves some investigation. FIXME
6794 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6800 cygwin
* | mingw
* | pw32
*)
6801 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6802 # as there is no search path for DLLs.
6803 hardcode_libdir_flag_spec
='-L$libdir'
6804 allow_undefined_flag
=unsupported
6805 always_export_symbols
=no
6806 enable_shared_with_static_runtimes
=yes
6807 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6809 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6810 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6811 # If the export-symbols file already is a .def file (1st line
6812 # is EXPORTS), use it as is; otherwise, prepend...
6813 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6814 cp $export_symbols $output_objdir/$soname.def;
6816 echo EXPORTS > $output_objdir/$soname.def;
6817 cat $export_symbols >> $output_objdir/$soname.def;
6819 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6827 hardcode_shlibpath_var
=no
6828 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
6829 export_dynamic_flag_spec
='${wl}-E'
6830 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6831 # Instead, shared libraries are loaded at an image base (0x10000000 by
6832 # default) and relocated if they conflict, which is a slow very memory
6833 # consuming and fragmenting process. To avoid this, we pick a random,
6834 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6835 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6836 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6837 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6841 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6843 case $cc_basename,$host_cpu in
6844 pgcc
*) # Portland Group C compiler
6845 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6846 tmp_addflag
=' $pic_flag'
6848 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
6849 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6850 tmp_addflag
=' $pic_flag -Mnomain' ;;
6851 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
6852 tmp_addflag
=' -i_dynamic' ;;
6853 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
6854 tmp_addflag
=' -i_dynamic -nofor_main' ;;
6855 ifc
* | ifort
*) # Intel Fortran compiler
6856 tmp_addflag
=' -nofor_main' ;;
6858 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6860 if test $supports_anon_versioning = yes; then
6861 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
6862 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6863 $echo "local: *; };" >> $output_objdir/$libname.ver~
6864 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6872 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6873 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6876 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6877 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6882 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
6886 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6887 *** create shared libraries on Solaris systems. Therefore, libtool
6888 *** is disabling shared libraries support. We urge you to upgrade GNU
6889 *** binutils to release 2.9.1 or newer. Another option is to modify
6890 *** your PATH or compiler configuration so that the native linker is
6891 *** used, and then restart.
6894 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6895 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6896 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6902 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6903 case `$LD -v 2>&1` in
6904 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
6908 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
6909 *** reliably create shared libraries on SCO systems. Therefore, libtool
6910 *** is disabling shared libraries support. We urge you to upgrade GNU
6911 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
6912 *** your PATH or compiler configuration so that the native linker is
6913 *** used, and then restart.
6918 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6919 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
6920 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
6921 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
6930 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6933 hardcode_shlibpath_var
=no
6937 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6938 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6939 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6946 if test "$ld_shlibs" = no
; then
6948 hardcode_libdir_flag_spec
=
6949 export_dynamic_flag_spec
=
6950 whole_archive_flag_spec
=
6953 # PORTME fill in a description of your system's linker (not GNU ld)
6956 allow_undefined_flag
=unsupported
6957 always_export_symbols
=yes
6958 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'
6959 # Note: this linker hardcodes the directories in LIBPATH if there
6960 # are no directories specified by -L.
6961 hardcode_minus_L
=yes
6962 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6963 # Neither direct hardcoding nor static linking is supported with a
6965 hardcode_direct
=unsupported
6970 if test "$host_cpu" = ia64
; then
6971 # On IA64, the linker does run time linking by default, so we don't
6972 # have to do anything special.
6973 aix_use_runtimelinking
=no
6974 exp_sym_flag
='-Bexport'
6977 # If we're using GNU nm, then we don't want the "-C" option.
6978 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6979 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
6980 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'
6982 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'
6984 aix_use_runtimelinking
=no
6986 # Test if we are trying to use run time linking or normal
6987 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6988 # need to do runtime linking.
6989 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
6990 for ld_flag
in $LDFLAGS; do
6991 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
6992 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
=
7036 shared_flag
='-shared'
7037 if test "$aix_use_runtimelinking" = yes; then
7038 shared_flag
="$shared_flag "'${wl}-G'
7042 if test "$host_cpu" = ia64
; then
7043 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7044 # chokes on -Wl,-G. The following line is correct:
7047 if test "$aix_use_runtimelinking" = yes; then
7048 shared_flag
='${wl}-G'
7050 shared_flag
='${wl}-bM:SRE'
7055 # It seems that -bexpall does not export symbols beginning with
7056 # underscore (_), so it is better to generate a list of symbols to export.
7057 always_export_symbols
=yes
7058 if test "$aix_use_runtimelinking" = yes; then
7059 # Warning - without using the other runtime loading flags (-brtl),
7060 # -berok will link without error, but may produce a broken library.
7061 allow_undefined_flag
='-berok'
7062 # Determine the default libpath from the value encoded in an empty executable.
7063 cat >conftest.
$ac_ext <<_ACEOF
7066 cat confdefs.h
>>conftest.
$ac_ext
7067 cat >>conftest.
$ac_ext <<_ACEOF
7068 /* end confdefs.h. */
7078 rm -f conftest.
$ac_objext conftest
$ac_exeext
7079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7080 (eval $ac_link) 2>conftest.er1
7082 grep -v '^ *+' conftest.er1
>conftest.err
7084 cat conftest.err
>&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); } &&
7087 { ac_try
='test -z "$ac_c_werror_flag"
7088 || test ! -s conftest.err'
7089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); }; } &&
7094 { ac_try
='test -s conftest$ac_exeext'
7095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); }; }; then
7101 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7103 # Check for a 64-bit object if we didn't find anything.
7104 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; }
7107 echo "$as_me: failed program was:" >&5
7108 sed 's/^/| /' conftest.
$ac_ext >&5
7111 rm -f conftest.err conftest.
$ac_objext \
7112 conftest
$ac_exeext conftest.
$ac_ext
7113 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7115 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7116 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7118 if test "$host_cpu" = ia64
; then
7119 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7120 allow_undefined_flag
="-z nodefs"
7121 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7123 # Determine the default libpath from the value encoded in an empty executable.
7124 cat >conftest.
$ac_ext <<_ACEOF
7127 cat confdefs.h
>>conftest.
$ac_ext
7128 cat >>conftest.
$ac_ext <<_ACEOF
7129 /* end confdefs.h. */
7139 rm -f conftest.
$ac_objext conftest
$ac_exeext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7141 (eval $ac_link) 2>conftest.er1
7143 grep -v '^ *+' conftest.er1
>conftest.err
7145 cat conftest.err
>&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } &&
7148 { ac_try
='test -z "$ac_c_werror_flag"
7149 || test ! -s conftest.err'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try
='test -s conftest$ac_exeext'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; }; then
7162 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7164 # Check for a 64-bit object if we didn't find anything.
7165 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; }
7168 echo "$as_me: failed program was:" >&5
7169 sed 's/^/| /' conftest.
$ac_ext >&5
7172 rm -f conftest.err conftest.
$ac_objext \
7173 conftest
$ac_exeext conftest.
$ac_ext
7174 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7176 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7177 # Warning - without using the other run time loading flags,
7178 # -berok will link without error, but may produce a broken library.
7179 no_undefined_flag
=' ${wl}-bernotok'
7180 allow_undefined_flag
=' ${wl}-berok'
7181 # Exported symbols can be pulled into shared objects from archives
7182 whole_archive_flag_spec
='$convenience'
7183 archive_cmds_need_lc
=yes
7184 # This is similar to how AIX traditionally builds its shared libraries.
7185 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7191 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)'
7192 hardcode_libdir_flag_spec
='-L$libdir'
7193 hardcode_minus_L
=yes
7194 # see comment about different semantics on the GNU ld section
7199 export_dynamic_flag_spec
=-rdynamic
7202 cygwin
* | mingw
* | pw32
*)
7203 # When not using gcc, we currently assume that we are using
7204 # Microsoft Visual C++.
7205 # hardcode_libdir_flag_spec is actually meaningless, as there is
7206 # no search path for DLLs.
7207 hardcode_libdir_flag_spec
=' '
7208 allow_undefined_flag
=unsupported
7209 # Tell ltmain to make .lib files, not .a files.
7211 # Tell ltmain to make .dll files, not .so files.
7213 # FIXME: Setting linknames here is a bad hack.
7214 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7215 # The linker will automatically build a .lib file if we build a DLL.
7216 old_archive_From_new_cmds
='true'
7217 # FIXME: Should let the user specify the lib program.
7218 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7219 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7220 enable_shared_with_static_runtimes
=yes
7223 darwin
* | rhapsody
*)
7225 rhapsody
* | darwin1.
[012])
7226 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7229 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7230 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7232 case ${MACOSX_DEPLOYMENT_TARGET} in
7234 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7237 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7243 archive_cmds_need_lc
=no
7245 hardcode_automatic
=yes
7246 hardcode_shlibpath_var
=unsupported
7247 whole_archive_flag_spec
=''
7248 link_all_deplibs
=yes
7249 if test "$GCC" = yes ; then
7250 output_verbose_link_cmd
='echo'
7251 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7252 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7253 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7254 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}'
7255 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}'
7257 case $cc_basename in
7259 output_verbose_link_cmd
='echo'
7260 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7261 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7262 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7263 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}'
7264 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}'
7274 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7275 hardcode_libdir_flag_spec
='-L$libdir'
7276 hardcode_shlibpath_var
=no
7283 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7284 # support. Future versions do this automatically, but an explicit c++rt0.o
7285 # does not break anything, and helps significantly (at the cost of a little
7288 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7289 hardcode_libdir_flag_spec
='-R$libdir'
7291 hardcode_shlibpath_var
=no
7294 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7296 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7298 hardcode_minus_L
=yes
7299 hardcode_shlibpath_var
=no
7302 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7303 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7304 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7305 hardcode_libdir_flag_spec
='-R$libdir'
7307 hardcode_shlibpath_var
=no
7311 if test "$GCC" = yes; then
7312 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'
7314 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'
7316 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7317 hardcode_libdir_separator
=:
7320 # hardcode_minus_L: Not really in the search PATH,
7321 # but as the default location of the library.
7322 hardcode_minus_L
=yes
7323 export_dynamic_flag_spec
='${wl}-E'
7327 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7328 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7330 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7332 if test "$with_gnu_ld" = no
; then
7333 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7334 hardcode_libdir_separator
=:
7337 export_dynamic_flag_spec
='${wl}-E'
7339 # hardcode_minus_L: Not really in the search PATH,
7340 # but as the default location of the library.
7341 hardcode_minus_L
=yes
7346 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7349 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7352 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7355 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7361 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7364 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7367 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7371 if test "$with_gnu_ld" = no
; then
7372 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7373 hardcode_libdir_separator
=:
7377 hardcode_libdir_flag_spec_ld
='+b $libdir'
7379 hardcode_shlibpath_var
=no
7383 export_dynamic_flag_spec
='${wl}-E'
7385 # hardcode_minus_L: Not really in the search PATH,
7386 # but as the default location of the library.
7387 hardcode_minus_L
=yes
7393 irix5
* | irix6
* | nonstopux
*)
7394 if test "$GCC" = yes; then
7395 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'
7397 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'
7398 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7400 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7401 hardcode_libdir_separator
=:
7402 link_all_deplibs
=yes
7406 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7407 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7409 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7411 hardcode_libdir_flag_spec
='-R$libdir'
7413 hardcode_shlibpath_var
=no
7417 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7419 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7420 hardcode_libdir_separator
=:
7421 hardcode_shlibpath_var
=no
7426 hardcode_shlibpath_var
=no
7427 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7428 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7429 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7430 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7431 export_dynamic_flag_spec
='${wl}-E'
7434 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7435 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7436 hardcode_libdir_flag_spec
='-R$libdir'
7439 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7440 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7447 hardcode_libdir_flag_spec
='-L$libdir'
7448 hardcode_minus_L
=yes
7449 allow_undefined_flag
=unsupported
7450 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'
7451 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7455 if test "$GCC" = yes; then
7456 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7457 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'
7459 allow_undefined_flag
=' -expect_unresolved \*'
7460 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'
7462 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7463 hardcode_libdir_separator
=:
7466 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7467 if test "$GCC" = yes; then
7468 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7469 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'
7470 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7472 allow_undefined_flag
=' -expect_unresolved \*'
7473 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'
7474 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7475 $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'
7477 # Both c and cxx compiler support -rpath directly
7478 hardcode_libdir_flag_spec
='-rpath $libdir'
7480 hardcode_libdir_separator
=:
7484 no_undefined_flag
=' -z text'
7485 if test "$GCC" = yes; then
7487 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7488 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7489 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7492 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7493 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7494 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7496 hardcode_libdir_flag_spec
='-R$libdir'
7497 hardcode_shlibpath_var
=no
7499 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7501 # The compiler driver will combine linker options so we
7502 # cannot just pass the convience library names through
7503 # without $wl, iff we do not link with $LD.
7504 # Luckily, gcc supports the same syntax we need for Sun Studio.
7505 # Supported since Solaris 2.6 (maybe 2.5.1?)
7508 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7510 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' ;;
7513 link_all_deplibs
=yes
7517 if test "x$host_vendor" = xsequent
; then
7518 # Use $CC to link under sequent, because it throws in some extra .o
7519 # files that make .init and .fini sections work.
7520 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7522 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7524 hardcode_libdir_flag_spec
='-L$libdir'
7526 hardcode_minus_L
=yes
7527 hardcode_shlibpath_var
=no
7531 case $host_vendor in
7533 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7534 hardcode_direct
=yes # is this really true???
7537 ## LD is ld it makes a PLAMLIB
7538 ## CC just makes a GrossModule.
7539 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7540 reload_cmds
='$CC -r -o $output$reload_objs'
7544 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7545 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7548 runpath_var
='LD_RUN_PATH'
7549 hardcode_shlibpath_var
=no
7553 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7554 hardcode_shlibpath_var
=no
7555 export_dynamic_flag_spec
='-Bexport'
7559 if test -d /usr
/nec
; then
7560 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7561 hardcode_shlibpath_var
=no
7562 runpath_var
=LD_RUN_PATH
7563 hardcode_runpath_var
=yes
7568 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
7569 no_undefined_flag
='${wl}-z,text'
7570 archive_cmds_need_lc
=no
7571 hardcode_shlibpath_var
=no
7572 runpath_var
='LD_RUN_PATH'
7574 if test "$GCC" = yes; then
7575 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7576 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7578 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7579 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7583 sysv5
* | sco3.2v5
* | sco5v6
*)
7584 # Note: We can NOT use -z defs as we might desire, because we do not
7585 # link with -lc, and that would cause any symbols used from libc to
7586 # always be unresolved, which means just about no library would
7587 # ever link correctly. If we're not using GNU ld we use -z text
7588 # though, which does catch some bad symbols but isn't as heavy-handed
7590 no_undefined_flag
='${wl}-z,text'
7591 allow_undefined_flag
='${wl}-z,nodefs'
7592 archive_cmds_need_lc
=no
7593 hardcode_shlibpath_var
=no
7594 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7595 hardcode_libdir_separator
=':'
7596 link_all_deplibs
=yes
7597 export_dynamic_flag_spec
='${wl}-Bexport'
7598 runpath_var
='LD_RUN_PATH'
7600 if test "$GCC" = yes; then
7601 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7602 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7604 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7605 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7610 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7611 hardcode_libdir_flag_spec
='-L$libdir'
7612 hardcode_shlibpath_var
=no
7621 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7622 echo "${ECHO_T}$ld_shlibs" >&6
7623 test "$ld_shlibs" = no
&& can_build_shared
=no
7626 # Do we need to explicitly link libc?
7628 case "x$archive_cmds_need_lc" in
7630 # Assume -lc should be added
7631 archive_cmds_need_lc
=yes
7633 if test "$enable_shared" = yes && test "$GCC" = yes; then
7634 case $archive_cmds in
7636 # FIXME: we may have to deal with multi-command sequences.
7639 # Test whether the compiler implicitly links with -lc since on some
7640 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7641 # to ld, don't add -lc before -lgcc.
7642 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7643 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7645 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7648 (eval $ac_compile) 2>&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } 2>conftest.err
; then
7654 libobjs
=conftest.
$ac_objext
7656 wl
=$lt_prog_compiler_wl
7657 pic_flag
=$lt_prog_compiler_pic
7663 lt_save_allow_undefined_flag
=$allow_undefined_flag
7664 allow_undefined_flag
=
7665 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7666 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); }
7671 archive_cmds_need_lc
=no
7673 archive_cmds_need_lc
=yes
7675 allow_undefined_flag
=$lt_save_allow_undefined_flag
7677 cat conftest.err
1>&5
7680 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7681 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7688 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7689 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7691 libname_spec
='lib$name'
7699 shlibpath_overrides_runpath
=unknown
7701 dynamic_linker
="$host_os ld.so"
7702 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7703 if test "$GCC" = yes; then
7704 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7705 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7706 # if the path contains ";" then we assume it to be the separator
7707 # otherwise default to the standard path separator (i.e. ":") - it is
7708 # assumed that no part of a normal pathname contains ";" but that should
7709 # okay in the real world where ";" in dirpaths is itself problematic.
7710 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7712 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7715 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7717 need_lib_prefix
=unknown
7718 hardcode_into_libs
=no
7720 # when you set need_version to no, make sure it does not cause -set_version
7721 # flags to be left without arguments
7722 need_version
=unknown
7727 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7728 shlibpath_var
=LIBPATH
7730 # AIX 3 has no versioning support, so we append a major version to the name.
7731 soname_spec
='${libname}${release}${shared_ext}$major'
7738 hardcode_into_libs
=yes
7739 if test "$host_cpu" = ia64
; then
7740 # AIX 5 supports IA64
7741 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7742 shlibpath_var
=LD_LIBRARY_PATH
7744 # With GCC up to 2.95.x, collect2 would create an import file
7745 # for dependence libraries. The import file would start with
7746 # the line `#! .'. This would cause the generated library to
7747 # depend on `.', always an invalid library. This was fixed in
7748 # development snapshots of GCC prior to 3.0.
7750 aix4 | aix4.
[01] | aix4.
[01].
*)
7751 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7753 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7760 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7761 # soname into executable. Probably we can add versioning support to
7762 # collect2, so additional links can be useful in future.
7763 if test "$aix_use_runtimelinking" = yes; then
7764 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7765 # instead of lib<name>.a to let people know that these are not
7766 # typical AIX shared libraries.
7767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7769 # We preserve .a as extension for shared libraries through AIX4.2
7770 # and later when we are not doing run time linking.
7771 library_names_spec
='${libname}${release}.a $libname.a'
7772 soname_spec
='${libname}${release}${shared_ext}$major'
7774 shlibpath_var
=LIBPATH
7779 library_names_spec
='$libname.ixlibrary $libname.a'
7780 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7781 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'
7785 library_names_spec
='${libname}${shared_ext}'
7786 dynamic_linker
="$host_os ld.so"
7787 shlibpath_var
=LIBRARY_PATH
7793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7794 soname_spec
='${libname}${release}${shared_ext}$major'
7795 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7796 shlibpath_var
=LD_LIBRARY_PATH
7797 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7798 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7799 # the default ld.so.conf also contains /usr/contrib/lib and
7800 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7801 # libtool to hard-code these into programs
7804 cygwin
* | mingw
* | pw32
*)
7805 version_type
=windows
7810 case $GCC,$host_os in
7811 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7812 library_names_spec
='$libname.dll.a'
7813 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7814 postinstall_cmds
='base_file=`basename \${file}`~
7815 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7816 dldir=$destdir/`dirname \$dlpath`~
7817 test -d \$dldir || mkdir -p \$dldir~
7818 $install_prog $dir/$dlname \$dldir/$dlname~
7819 chmod a+x \$dldir/$dlname'
7820 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7821 dlpath=$dir/\$dldll~
7823 shlibpath_overrides_runpath
=yes
7827 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7828 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7829 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7832 # MinGW DLLs use traditional 'lib' prefix
7833 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7834 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7835 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7836 # It is most probably a Windows format PATH printed by
7837 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7838 # path with ; separators, and with drive letters. We can handle the
7839 # drive letters (cygwin fileutils understands them), so leave them,
7840 # especially as we might pass files found there to a mingw objdump,
7841 # which wouldn't understand a cygwinified path. Ahh.
7842 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7844 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7848 # pw32 DLLs use 'pw' prefix rather than 'lib'
7849 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7855 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7858 dynamic_linker
='Win32 ld.exe'
7859 # FIXME: first we should search . and the directory the executable is in
7863 darwin
* | rhapsody
*)
7864 dynamic_linker
="$host_os dyld"
7868 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7869 soname_spec
='${libname}${release}${major}$shared_ext'
7870 shlibpath_overrides_runpath
=yes
7871 shlibpath_var
=DYLD_LIBRARY_PATH
7872 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
7873 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7874 if test "$GCC" = yes; then
7875 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"`
7877 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
7879 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
7886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7887 soname_spec
='${libname}${release}${shared_ext}$major'
7888 shlibpath_var
=LD_LIBRARY_PATH
7899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7900 soname_spec
='${libname}${release}${shared_ext}$major'
7901 shlibpath_var
=LD_LIBRARY_PATH
7902 shlibpath_overrides_runpath
=no
7903 hardcode_into_libs
=yes
7904 dynamic_linker
='GNU ld.so'
7907 freebsd
* | dragonfly
*)
7908 # DragonFly does not have aout. When/if they implement a new
7909 # versioning mechanism, adjust this.
7910 if test -x /usr
/bin
/objformat
; then
7911 objformat
=`/usr/bin/objformat`
7914 freebsd
[123]*) objformat
=aout
;;
7918 version_type
=freebsd-
$objformat
7919 case $version_type in
7921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7926 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7930 shlibpath_var
=LD_LIBRARY_PATH
7933 shlibpath_overrides_runpath
=yes
7935 freebsd3.
[01]* | freebsdelf3.
[01]*)
7936 shlibpath_overrides_runpath
=yes
7937 hardcode_into_libs
=yes
7939 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
7940 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
7941 shlibpath_overrides_runpath
=no
7942 hardcode_into_libs
=yes
7944 freebsd
*) # from 4.6 on
7945 shlibpath_overrides_runpath
=yes
7946 hardcode_into_libs
=yes
7955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7956 soname_spec
='${libname}${release}${shared_ext}$major'
7957 shlibpath_var
=LD_LIBRARY_PATH
7958 hardcode_into_libs
=yes
7961 hpux9
* | hpux10
* | hpux11
*)
7962 # Give a soname corresponding to the major version so that dld.sl refuses to
7963 # link against other versions.
7970 hardcode_into_libs
=yes
7971 dynamic_linker
="$host_os dld.so"
7972 shlibpath_var
=LD_LIBRARY_PATH
7973 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7975 soname_spec
='${libname}${release}${shared_ext}$major'
7976 if test "X$HPUX_IA64_MODE" = X32
; then
7977 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7979 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
7981 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7985 hardcode_into_libs
=yes
7986 dynamic_linker
="$host_os dld.sl"
7987 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
7988 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7990 soname_spec
='${libname}${release}${shared_ext}$major'
7991 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7992 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7996 dynamic_linker
="$host_os dld.sl"
7997 shlibpath_var
=SHLIB_PATH
7998 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
7999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8000 soname_spec
='${libname}${release}${shared_ext}$major'
8003 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8004 postinstall_cmds
='chmod 555 $lib'
8011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8012 soname_spec
='${libname}${release}${shared_ext}$major'
8013 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8014 shlibpath_var
=LD_LIBRARY_PATH
8015 shlibpath_overrides_runpath
=no
8016 hardcode_into_libs
=yes
8019 irix5
* | irix6
* | nonstopux
*)
8021 nonstopux
*) version_type
=nonstopux
;;
8023 if test "$lt_cv_prog_gnu_ld" = yes; then
8031 soname_spec
='${libname}${release}${shared_ext}$major'
8032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8034 irix5
* | nonstopux
*)
8038 case $LD in # libtool.m4 will add one of these switches to LD
8039 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8040 libsuff
= shlibsuff
= libmagic
=32-bit;;
8041 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8042 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8043 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8044 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8045 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8049 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8050 shlibpath_overrides_runpath
=no
8051 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8052 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8053 hardcode_into_libs
=yes
8056 # No shared lib support for Linux oldld, aout, or coff.
8057 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8061 # This must be Linux ELF.
8066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8067 soname_spec
='${libname}${release}${shared_ext}$major'
8068 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8069 shlibpath_var
=LD_LIBRARY_PATH
8070 shlibpath_overrides_runpath
=no
8071 # This implies no fast_install, which is unacceptable.
8072 # Some rework will be needed to allow for fast_install
8073 # before this can be enabled.
8074 hardcode_into_libs
=yes
8076 # find out which ABI we are using
8079 x86_64
*|s390x
*|powerpc64
*)
8080 echo '#line 8080 "configure"' > conftest.
$ac_ext
8081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8082 (eval $ac_compile) 2>&5
8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085 (exit $ac_status); }; then
8086 case `/usr/bin/file conftest.$ac_objext` in
8089 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8097 # Append ld.so.conf contents to the search path
8098 if test -f /etc
/ld.so.conf
; then
8099 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/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8100 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8103 # We used to test for /lib/ld.so.1 and disable shared libraries on
8104 # powerpc, because MkLinux only supported shared libraries with the
8105 # GNU dynamic linker. Since this was broken with cross compilers,
8106 # most powerpc-linux boxes support dynamic linking these days and
8107 # people can always --disable-shared, the test was removed, and we
8108 # assume the GNU/Linux dynamic linker is in use.
8109 dynamic_linker
='GNU/Linux ld.so'
8116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8117 soname_spec
='${libname}${release}${shared_ext}$major'
8118 shlibpath_var
=LD_LIBRARY_PATH
8119 shlibpath_overrides_runpath
=no
8120 hardcode_into_libs
=yes
8121 dynamic_linker
='GNU ld.so'
8128 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8130 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8131 dynamic_linker
='NetBSD (a.out) ld.so'
8133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8134 soname_spec
='${libname}${release}${shared_ext}$major'
8135 dynamic_linker
='NetBSD ld.elf_so'
8137 shlibpath_var
=LD_LIBRARY_PATH
8138 shlibpath_overrides_runpath
=yes
8139 hardcode_into_libs
=yes
8144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8145 shlibpath_var
=LD_LIBRARY_PATH
8146 shlibpath_overrides_runpath
=yes
8153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8154 soname_spec
='${libname}${release}${shared_ext}$major'
8155 shlibpath_var
=LD_LIBRARY_PATH
8156 shlibpath_overrides_runpath
=yes
8161 sys_lib_dlsearch_path_spec
="/usr/lib"
8163 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8165 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8166 *) need_version
=no
;;
8168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8169 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8170 shlibpath_var
=LD_LIBRARY_PATH
8171 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8173 openbsd2.
[89] | openbsd2.
[89].
*)
8174 shlibpath_overrides_runpath
=no
8177 shlibpath_overrides_runpath
=yes
8181 shlibpath_overrides_runpath
=yes
8186 libname_spec
='$name'
8189 library_names_spec
='$libname${shared_ext} $libname.a'
8190 dynamic_linker
='OS/2 ld.exe'
8191 shlibpath_var
=LIBPATH
8194 osf3
* | osf4
* | osf5
*)
8198 soname_spec
='${libname}${release}${shared_ext}$major'
8199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8200 shlibpath_var
=LD_LIBRARY_PATH
8201 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8202 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8210 soname_spec
='${libname}${release}${shared_ext}$major'
8211 shlibpath_var
=LD_LIBRARY_PATH
8212 shlibpath_overrides_runpath
=yes
8213 hardcode_into_libs
=yes
8214 # ldd complains unless libraries are executable
8215 postinstall_cmds
='chmod +x $lib'
8220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8221 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8222 shlibpath_var
=LD_LIBRARY_PATH
8223 shlibpath_overrides_runpath
=yes
8224 if test "$with_gnu_ld" = yes; then
8232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8233 soname_spec
='${libname}${release}${shared_ext}$major'
8234 shlibpath_var
=LD_LIBRARY_PATH
8235 case $host_vendor in
8237 shlibpath_overrides_runpath
=no
8239 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8240 runpath_var
=LD_RUN_PATH
8248 shlibpath_overrides_runpath
=no
8249 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8255 if test -d /usr
/nec
;then
8257 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8258 soname_spec
='$libname${shared_ext}.$major'
8259 shlibpath_var
=LD_LIBRARY_PATH
8263 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8264 version_type
=freebsd-elf
8267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8268 soname_spec
='${libname}${release}${shared_ext}$major'
8269 shlibpath_var
=LD_LIBRARY_PATH
8270 hardcode_into_libs
=yes
8271 if test "$with_gnu_ld" = yes; then
8272 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8273 shlibpath_overrides_runpath
=no
8275 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8276 shlibpath_overrides_runpath
=yes
8279 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8283 sys_lib_dlsearch_path_spec
='/usr/lib'
8288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8289 soname_spec
='${libname}${release}${shared_ext}$major'
8290 shlibpath_var
=LD_LIBRARY_PATH
8297 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8298 echo "${ECHO_T}$dynamic_linker" >&6
8299 test "$dynamic_linker" = no
&& can_build_shared
=no
8301 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8302 if test "$GCC" = yes; then
8303 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8306 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8307 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8309 if test -n "$hardcode_libdir_flag_spec" || \
8310 test -n "$runpath_var" || \
8311 test "X$hardcode_automatic" = "Xyes" ; then
8313 # We can hardcode non-existant directories.
8314 if test "$hardcode_direct" != no
&&
8315 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8316 # have to relink, otherwise we might link with an installed library
8317 # when we should be linking with a yet-to-be-installed one
8318 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8319 test "$hardcode_minus_L" != no
; then
8320 # Linking always hardcodes the temporary library directory.
8321 hardcode_action
=relink
8323 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8324 hardcode_action
=immediate
8327 # We cannot hardcode anything, or else we can only hardcode existing
8329 hardcode_action
=unsupported
8331 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8332 echo "${ECHO_T}$hardcode_action" >&6
8334 if test "$hardcode_action" = relink
; then
8335 # Fast installation is not supported
8336 enable_fast_install
=no
8337 elif test "$shlibpath_overrides_runpath" = yes ||
8338 test "$enable_shared" = no
; then
8339 # Fast installation is not necessary
8340 enable_fast_install
=needless
8345 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8346 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8347 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8348 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8349 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8350 echo "$as_me:$LINENO: result: yes" >&5
8351 echo "${ECHO_T}yes" >&6
8353 # FIXME - insert some real tests, host_os isn't really good enough
8356 if test -n "$STRIP" ; then
8357 striplib
="$STRIP -x"
8358 echo "$as_me:$LINENO: result: yes" >&5
8359 echo "${ECHO_T}yes" >&6
8361 echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6
8366 echo "$as_me:$LINENO: result: no" >&5
8367 echo "${ECHO_T}no" >&6
8372 if test "x$enable_dlopen" != xyes
; then
8373 enable_dlopen
=unknown
8374 enable_dlopen_self
=unknown
8375 enable_dlopen_self_static
=unknown
8382 lt_cv_dlopen
="load_add_on"
8384 lt_cv_dlopen_self
=yes
8388 lt_cv_dlopen
="LoadLibrary"
8393 lt_cv_dlopen
="dlopen"
8398 # if libdl is installed we need to link against it
8399 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8400 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8401 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8402 echo $ECHO_N "(cached) $ECHO_C" >&6
8404 ac_check_lib_save_LIBS
=$LIBS
8406 cat >conftest.
$ac_ext <<_ACEOF
8409 cat confdefs.h
>>conftest.
$ac_ext
8410 cat >>conftest.
$ac_ext <<_ACEOF
8411 /* end confdefs.h. */
8413 /* Override any gcc2 internal prototype to avoid an error. */
8417 /* We use char because int might match the return type of a gcc2
8418 builtin and then its argument prototype would still apply. */
8428 rm -f conftest.
$ac_objext conftest
$ac_exeext
8429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8430 (eval $ac_link) 2>conftest.er1
8432 grep -v '^ *+' conftest.er1
>conftest.err
8434 cat conftest.err
>&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); } &&
8437 { ac_try
='test -z "$ac_c_werror_flag"
8438 || test ! -s conftest.err'
8439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 (exit $ac_status); }; } &&
8444 { ac_try
='test -s conftest$ac_exeext'
8445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449 (exit $ac_status); }; }; then
8450 ac_cv_lib_dl_dlopen
=yes
8452 echo "$as_me: failed program was:" >&5
8453 sed 's/^/| /' conftest.
$ac_ext >&5
8455 ac_cv_lib_dl_dlopen
=no
8457 rm -f conftest.err conftest.
$ac_objext \
8458 conftest
$ac_exeext conftest.
$ac_ext
8459 LIBS
=$ac_check_lib_save_LIBS
8461 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8462 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8463 if test $ac_cv_lib_dl_dlopen = yes; then
8464 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8469 lt_cv_dlopen_self
=yes
8476 echo "$as_me:$LINENO: checking for shl_load" >&5
8477 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8478 if test "${ac_cv_func_shl_load+set}" = set; then
8479 echo $ECHO_N "(cached) $ECHO_C" >&6
8481 cat >conftest.
$ac_ext <<_ACEOF
8484 cat confdefs.h
>>conftest.
$ac_ext
8485 cat >>conftest.
$ac_ext <<_ACEOF
8486 /* end confdefs.h. */
8487 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8489 #define shl_load innocuous_shl_load
8491 /* System header to define __stub macros and hopefully few prototypes,
8492 which can conflict with char shl_load (); below.
8493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8494 <limits.h> exists even on freestanding compilers. */
8497 # include <limits.h>
8499 # include <assert.h>
8504 /* Override any gcc2 internal prototype to avoid an error. */
8509 /* We use char because int might match the return type of a gcc2
8510 builtin and then its argument prototype would still apply. */
8512 /* The GNU C library defines this for functions which it implements
8513 to always fail with ENOSYS. Some functions are actually named
8514 something starting with __ and the normal name is an alias. */
8515 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8518 char (*f) () = shl_load;
8527 return f != shl_load;
8532 rm -f conftest.
$ac_objext conftest
$ac_exeext
8533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8534 (eval $ac_link) 2>conftest.er1
8536 grep -v '^ *+' conftest.er1
>conftest.err
8538 cat conftest.err
>&5
8539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8540 (exit $ac_status); } &&
8541 { ac_try
='test -z "$ac_c_werror_flag"
8542 || test ! -s conftest.err'
8543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); }; } &&
8548 { ac_try
='test -s conftest$ac_exeext'
8549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); }; }; then
8554 ac_cv_func_shl_load
=yes
8556 echo "$as_me: failed program was:" >&5
8557 sed 's/^/| /' conftest.
$ac_ext >&5
8559 ac_cv_func_shl_load
=no
8561 rm -f conftest.err conftest.
$ac_objext \
8562 conftest
$ac_exeext conftest.
$ac_ext
8564 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8565 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8566 if test $ac_cv_func_shl_load = yes; then
8567 lt_cv_dlopen
="shl_load"
8569 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8570 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8571 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8572 echo $ECHO_N "(cached) $ECHO_C" >&6
8574 ac_check_lib_save_LIBS
=$LIBS
8576 cat >conftest.
$ac_ext <<_ACEOF
8579 cat confdefs.h
>>conftest.
$ac_ext
8580 cat >>conftest.
$ac_ext <<_ACEOF
8581 /* end confdefs.h. */
8583 /* Override any gcc2 internal prototype to avoid an error. */
8587 /* We use char because int might match the return type of a gcc2
8588 builtin and then its argument prototype would still apply. */
8598 rm -f conftest.
$ac_objext conftest
$ac_exeext
8599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8600 (eval $ac_link) 2>conftest.er1
8602 grep -v '^ *+' conftest.er1
>conftest.err
8604 cat conftest.err
>&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } &&
8607 { ac_try
='test -z "$ac_c_werror_flag"
8608 || test ! -s conftest.err'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; } &&
8614 { ac_try
='test -s conftest$ac_exeext'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; }; then
8620 ac_cv_lib_dld_shl_load
=yes
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.
$ac_ext >&5
8625 ac_cv_lib_dld_shl_load
=no
8627 rm -f conftest.err conftest.
$ac_objext \
8628 conftest
$ac_exeext conftest.
$ac_ext
8629 LIBS
=$ac_check_lib_save_LIBS
8631 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8632 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8633 if test $ac_cv_lib_dld_shl_load = yes; then
8634 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8636 echo "$as_me:$LINENO: checking for dlopen" >&5
8637 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8638 if test "${ac_cv_func_dlopen+set}" = set; then
8639 echo $ECHO_N "(cached) $ECHO_C" >&6
8641 cat >conftest.
$ac_ext <<_ACEOF
8644 cat confdefs.h
>>conftest.
$ac_ext
8645 cat >>conftest.
$ac_ext <<_ACEOF
8646 /* end confdefs.h. */
8647 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8649 #define dlopen innocuous_dlopen
8651 /* System header to define __stub macros and hopefully few prototypes,
8652 which can conflict with char dlopen (); below.
8653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8654 <limits.h> exists even on freestanding compilers. */
8657 # include <limits.h>
8659 # include <assert.h>
8664 /* Override any gcc2 internal prototype to avoid an error. */
8669 /* We use char because int might match the return type of a gcc2
8670 builtin and then its argument prototype would still apply. */
8672 /* The GNU C library defines this for functions which it implements
8673 to always fail with ENOSYS. Some functions are actually named
8674 something starting with __ and the normal name is an alias. */
8675 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8678 char (*f) () = dlopen;
8692 rm -f conftest.
$ac_objext conftest
$ac_exeext
8693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8694 (eval $ac_link) 2>conftest.er1
8696 grep -v '^ *+' conftest.er1
>conftest.err
8698 cat conftest.err
>&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); } &&
8701 { ac_try
='test -z "$ac_c_werror_flag"
8702 || test ! -s conftest.err'
8703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); }; } &&
8708 { ac_try
='test -s conftest$ac_exeext'
8709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); }; }; then
8714 ac_cv_func_dlopen
=yes
8716 echo "$as_me: failed program was:" >&5
8717 sed 's/^/| /' conftest.
$ac_ext >&5
8719 ac_cv_func_dlopen
=no
8721 rm -f conftest.err conftest.
$ac_objext \
8722 conftest
$ac_exeext conftest.
$ac_ext
8724 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8725 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8726 if test $ac_cv_func_dlopen = yes; then
8727 lt_cv_dlopen
="dlopen"
8729 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8730 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8731 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8732 echo $ECHO_N "(cached) $ECHO_C" >&6
8734 ac_check_lib_save_LIBS
=$LIBS
8736 cat >conftest.
$ac_ext <<_ACEOF
8739 cat confdefs.h
>>conftest.
$ac_ext
8740 cat >>conftest.
$ac_ext <<_ACEOF
8741 /* end confdefs.h. */
8743 /* Override any gcc2 internal prototype to avoid an error. */
8747 /* We use char because int might match the return type of a gcc2
8748 builtin and then its argument prototype would still apply. */
8758 rm -f conftest.
$ac_objext conftest
$ac_exeext
8759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8760 (eval $ac_link) 2>conftest.er1
8762 grep -v '^ *+' conftest.er1
>conftest.err
8764 cat conftest.err
>&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); } &&
8767 { ac_try
='test -z "$ac_c_werror_flag"
8768 || test ! -s conftest.err'
8769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); }; } &&
8774 { ac_try
='test -s conftest$ac_exeext'
8775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); }; }; then
8780 ac_cv_lib_dl_dlopen
=yes
8782 echo "$as_me: failed program was:" >&5
8783 sed 's/^/| /' conftest.
$ac_ext >&5
8785 ac_cv_lib_dl_dlopen
=no
8787 rm -f conftest.err conftest.
$ac_objext \
8788 conftest
$ac_exeext conftest.
$ac_ext
8789 LIBS
=$ac_check_lib_save_LIBS
8791 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8792 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8793 if test $ac_cv_lib_dl_dlopen = yes; then
8794 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8796 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8797 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8798 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 ac_check_lib_save_LIBS
=$LIBS
8803 cat >conftest.
$ac_ext <<_ACEOF
8806 cat confdefs.h
>>conftest.
$ac_ext
8807 cat >>conftest.
$ac_ext <<_ACEOF
8808 /* end confdefs.h. */
8810 /* Override any gcc2 internal prototype to avoid an error. */
8814 /* We use char because int might match the return type of a gcc2
8815 builtin and then its argument prototype would still apply. */
8825 rm -f conftest.
$ac_objext conftest
$ac_exeext
8826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8827 (eval $ac_link) 2>conftest.er1
8829 grep -v '^ *+' conftest.er1
>conftest.err
8831 cat conftest.err
>&5
8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 (exit $ac_status); } &&
8834 { ac_try
='test -z "$ac_c_werror_flag"
8835 || test ! -s conftest.err'
8836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); }; } &&
8841 { ac_try
='test -s conftest$ac_exeext'
8842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 (exit $ac_status); }; }; then
8847 ac_cv_lib_svld_dlopen
=yes
8849 echo "$as_me: failed program was:" >&5
8850 sed 's/^/| /' conftest.
$ac_ext >&5
8852 ac_cv_lib_svld_dlopen
=no
8854 rm -f conftest.err conftest.
$ac_objext \
8855 conftest
$ac_exeext conftest.
$ac_ext
8856 LIBS
=$ac_check_lib_save_LIBS
8858 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8859 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8860 if test $ac_cv_lib_svld_dlopen = yes; then
8861 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8863 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8864 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8865 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8866 echo $ECHO_N "(cached) $ECHO_C" >&6
8868 ac_check_lib_save_LIBS
=$LIBS
8870 cat >conftest.
$ac_ext <<_ACEOF
8873 cat confdefs.h
>>conftest.
$ac_ext
8874 cat >>conftest.
$ac_ext <<_ACEOF
8875 /* end confdefs.h. */
8877 /* Override any gcc2 internal prototype to avoid an error. */
8881 /* We use char because int might match the return type of a gcc2
8882 builtin and then its argument prototype would still apply. */
8892 rm -f conftest.
$ac_objext conftest
$ac_exeext
8893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8894 (eval $ac_link) 2>conftest.er1
8896 grep -v '^ *+' conftest.er1
>conftest.err
8898 cat conftest.err
>&5
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); } &&
8901 { ac_try
='test -z "$ac_c_werror_flag"
8902 || test ! -s conftest.err'
8903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); }; } &&
8908 { ac_try
='test -s conftest$ac_exeext'
8909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); }; }; then
8914 ac_cv_lib_dld_dld_link
=yes
8916 echo "$as_me: failed program was:" >&5
8917 sed 's/^/| /' conftest.
$ac_ext >&5
8919 ac_cv_lib_dld_dld_link
=no
8921 rm -f conftest.err conftest.
$ac_objext \
8922 conftest
$ac_exeext conftest.
$ac_ext
8923 LIBS
=$ac_check_lib_save_LIBS
8925 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8926 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8927 if test $ac_cv_lib_dld_dld_link = yes; then
8928 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
8949 if test "x$lt_cv_dlopen" != xno
; then
8955 case $lt_cv_dlopen in
8957 save_CPPFLAGS
="$CPPFLAGS"
8958 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
8960 save_LDFLAGS
="$LDFLAGS"
8961 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
8964 LIBS
="$lt_cv_dlopen_libs $LIBS"
8966 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8967 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8968 if test "${lt_cv_dlopen_self+set}" = set; then
8969 echo $ECHO_N "(cached) $ECHO_C" >&6
8971 if test "$cross_compiling" = yes; then :
8972 lt_cv_dlopen_self
=cross
8974 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8975 lt_status
=$lt_dlunknown
8976 cat > conftest.
$ac_ext <<EOF
8977 #line 8977 "configure"
8978 #include "confdefs.h"
8987 # define LT_DLGLOBAL RTLD_GLOBAL
8990 # define LT_DLGLOBAL DL_GLOBAL
8992 # define LT_DLGLOBAL 0
8996 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8997 find out it does not work in some platform. */
8998 #ifndef LT_DLLAZY_OR_NOW
9000 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9003 # define LT_DLLAZY_OR_NOW DL_LAZY
9006 # define LT_DLLAZY_OR_NOW RTLD_NOW
9009 # define LT_DLLAZY_OR_NOW DL_NOW
9011 # define LT_DLLAZY_OR_NOW 0
9019 extern "C" void exit (int);
9022 void fnord() { int i=42;}
9025 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9026 int status = $lt_dlunknown;
9030 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9031 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9032 /* dlclose (self); */
9040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9041 (eval $ac_link) 2>&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9045 (.
/conftest
; exit; ) >&5 2>/dev
/null
9048 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9049 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9050 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9053 # compilation failed
9054 lt_cv_dlopen_self
=no
9061 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9062 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9064 if test "x$lt_cv_dlopen_self" = xyes
; then
9065 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9066 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9067 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9068 if test "${lt_cv_dlopen_self_static+set}" = set; then
9069 echo $ECHO_N "(cached) $ECHO_C" >&6
9071 if test "$cross_compiling" = yes; then :
9072 lt_cv_dlopen_self_static
=cross
9074 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9075 lt_status
=$lt_dlunknown
9076 cat > conftest.
$ac_ext <<EOF
9077 #line 9077 "configure"
9078 #include "confdefs.h"
9087 # define LT_DLGLOBAL RTLD_GLOBAL
9090 # define LT_DLGLOBAL DL_GLOBAL
9092 # define LT_DLGLOBAL 0
9096 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9097 find out it does not work in some platform. */
9098 #ifndef LT_DLLAZY_OR_NOW
9100 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9103 # define LT_DLLAZY_OR_NOW DL_LAZY
9106 # define LT_DLLAZY_OR_NOW RTLD_NOW
9109 # define LT_DLLAZY_OR_NOW DL_NOW
9111 # define LT_DLLAZY_OR_NOW 0
9119 extern "C" void exit (int);
9122 void fnord() { int i=42;}
9125 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9126 int status = $lt_dlunknown;
9130 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9131 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9132 /* dlclose (self); */
9140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9141 (eval $ac_link) 2>&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9145 (.
/conftest
; exit; ) >&5 2>/dev
/null
9148 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9149 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9150 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9153 # compilation failed
9154 lt_cv_dlopen_self_static
=no
9161 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9162 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9165 CPPFLAGS
="$save_CPPFLAGS"
9166 LDFLAGS
="$save_LDFLAGS"
9171 case $lt_cv_dlopen_self in
9172 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9173 *) enable_dlopen_self
=unknown
;;
9176 case $lt_cv_dlopen_self_static in
9177 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9178 *) enable_dlopen_self_static
=unknown
;;
9183 # Report which library types will actually be built
9184 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9185 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9186 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9187 echo "${ECHO_T}$can_build_shared" >&6
9189 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9190 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9191 test "$can_build_shared" = "no" && enable_shared
=no
9193 # On AIX, shared libraries and static libraries use the same namespace, and
9194 # are all built from PIC.
9197 test "$enable_shared" = yes && enable_static
=no
9198 if test -n "$RANLIB"; then
9199 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9200 postinstall_cmds
='$RANLIB $lib'
9205 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9206 test "$enable_shared" = yes && enable_static
=no
9210 echo "$as_me:$LINENO: result: $enable_shared" >&5
9211 echo "${ECHO_T}$enable_shared" >&6
9213 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9214 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9215 # Make sure either enable_shared or enable_static is yes.
9216 test "$enable_shared" = yes || enable_static
=yes
9217 echo "$as_me:$LINENO: result: $enable_static" >&5
9218 echo "${ECHO_T}$enable_static" >&6
9220 # The else clause should only fire when bootstrapping the
9221 # libtool distribution, otherwise you forgot to ship ltmain.sh
9222 # with your package, and you will get complaints that there are
9223 # no rules to generate ltmain.sh.
9224 if test -f "$ltmain"; then
9225 # See if we are running on zsh, and set the options which allow our commands through
9226 # without removal of \ escapes.
9227 if test -n "${ZSH_VERSION+set}" ; then
9228 setopt NO_GLOB_SUBST
9230 # Now quote all the things that may contain metacharacters while being
9231 # careful not to overquote the AC_SUBSTed values. We take copies of the
9232 # variables and quote the copies for generation of the libtool script.
9233 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9235 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9236 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9237 deplibs_check_method reload_flag reload_cmds need_locks \
9238 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9239 lt_cv_sys_global_symbol_to_c_name_address \
9240 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9241 old_postinstall_cmds old_postuninstall_cmds \
9245 lt_prog_compiler_wl \
9246 lt_prog_compiler_pic \
9247 lt_prog_compiler_static \
9248 lt_prog_compiler_no_builtin_flag \
9249 export_dynamic_flag_spec \
9250 thread_safe_flag_spec \
9251 whole_archive_flag_spec \
9252 enable_shared_with_static_runtimes \
9254 old_archive_from_new_cmds \
9259 compiler_lib_search_path \
9261 archive_expsym_cmds \
9263 postuninstall_cmds \
9264 old_archive_from_expsyms_cmds \
9265 allow_undefined_flag \
9267 export_symbols_cmds \
9268 hardcode_libdir_flag_spec \
9269 hardcode_libdir_flag_spec_ld \
9270 hardcode_libdir_separator \
9271 hardcode_automatic \
9273 module_expsym_cmds \
9274 lt_cv_prog_compiler_c_o \
9279 old_archive_cmds | \
9280 old_archive_from_new_cmds | \
9282 archive_expsym_cmds | \
9284 module_expsym_cmds | \
9285 old_archive_from_expsyms_cmds | \
9286 export_symbols_cmds | \
9287 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9288 postinstall_cmds | postuninstall_cmds | \
9289 old_postinstall_cmds | old_postuninstall_cmds | \
9290 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9291 # Double-quote double-evaled strings.
9292 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9295 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9301 *'\$0 --fallback-echo"')
9302 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9307 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9309 { echo "$as_me:$LINENO: creating $ofile" >&5
9310 echo "$as_me: creating $ofile" >&6;}
9312 cat <<__EOF__ >> "$cfgfile"
9315 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9316 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9317 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9319 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9320 # Free Software Foundation, Inc.
9322 # This file is part of GNU Libtool:
9323 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9325 # This program is free software; you can redistribute it and/or modify
9326 # it under the terms of the GNU General Public License as published by
9327 # the Free Software Foundation; either version 2 of the License, or
9328 # (at your option) any later version.
9330 # This program is distributed in the hope that it will be useful, but
9331 # WITHOUT ANY WARRANTY; without even the implied warranty of
9332 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9333 # General Public License for more details.
9335 # You should have received a copy of the GNU General Public License
9336 # along with this program; if not, write to the Free Software
9337 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9339 # As a special exception to the GNU General Public License, if you
9340 # distribute this file as part of a program that contains a
9341 # configuration script generated by Autoconf, you may include it under
9342 # the same distribution terms that you use for the rest of that program.
9344 # A sed program that does not truncate output.
9347 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9348 Xsed="$SED -e 1s/^X//"
9350 # The HP-UX ksh and POSIX shell print the target directory to stdout
9352 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9354 # The names of the tagged configurations supported by this script.
9357 # ### BEGIN LIBTOOL CONFIG
9359 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9361 # Shell to use when invoking shell scripts.
9364 # Whether or not to build shared libraries.
9365 build_libtool_libs=$enable_shared
9367 # Whether or not to build static libraries.
9368 build_old_libs=$enable_static
9370 # Whether or not to add -lc for building shared libraries.
9371 build_libtool_need_lc=$archive_cmds_need_lc
9373 # Whether or not to disallow shared libs when runtime libs are static
9374 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9376 # Whether or not to optimize for fast installation.
9377 fast_install=$enable_fast_install
9380 host_alias=$host_alias
9385 build_alias=$build_alias
9389 # An echo program that does not interpret backslashes.
9394 AR_FLAGS=$lt_AR_FLAGS
9399 # LTCC compiler flags.
9400 LTCFLAGS=$lt_LTCFLAGS
9402 # A language-specific compiler.
9405 # Is the compiler the GNU C compiler?
9411 # The linker used to build libraries.
9414 # Whether we need hard or soft links.
9417 # A BSD-compatible nm program.
9420 # A symbol stripping program
9423 # Used to examine libraries when file_magic_cmd begins "file"
9424 MAGIC_CMD=$MAGIC_CMD
9426 # Used on cygwin: DLL creation program.
9429 # Used on cygwin: object dumper.
9432 # Used on cygwin: assembler.
9435 # The name of the directory that contains temporary libtool files.
9438 # How to create reloadable object files.
9439 reload_flag=$lt_reload_flag
9440 reload_cmds=$lt_reload_cmds
9442 # How to pass a linker flag through the compiler.
9443 wl=$lt_lt_prog_compiler_wl
9445 # Object file suffix (normally "o").
9448 # Old archive suffix (normally "a").
9451 # Shared library suffix (normally ".so").
9452 shrext_cmds='$shrext_cmds'
9454 # Executable file suffix (normally "").
9457 # Additional compiler flags for building library objects.
9458 pic_flag=$lt_lt_prog_compiler_pic
9461 # What is the maximum length of a command?
9462 max_cmd_len=$lt_cv_sys_max_cmd_len
9464 # Does compiler simultaneously support -c and -o options?
9465 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9467 # Must we lock files when doing compilation?
9468 need_locks=$lt_need_locks
9470 # Do we need the lib prefix for modules?
9471 need_lib_prefix=$need_lib_prefix
9473 # Do we need a version for libraries?
9474 need_version=$need_version
9476 # Whether dlopen is supported.
9477 dlopen_support=$enable_dlopen
9479 # Whether dlopen of programs is supported.
9480 dlopen_self=$enable_dlopen_self
9482 # Whether dlopen of statically linked programs is supported.
9483 dlopen_self_static=$enable_dlopen_self_static
9485 # Compiler flag to prevent dynamic linking.
9486 link_static_flag=$lt_lt_prog_compiler_static
9488 # Compiler flag to turn off builtin functions.
9489 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9491 # Compiler flag to allow reflexive dlopens.
9492 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9494 # Compiler flag to generate shared objects directly from archives.
9495 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9497 # Compiler flag to generate thread-safe objects.
9498 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9500 # Library versioning type.
9501 version_type=$version_type
9503 # Format of library name prefix.
9504 libname_spec=$lt_libname_spec
9506 # List of archive names. First name is the real one, the rest are links.
9507 # The last name is the one that the linker finds with -lNAME.
9508 library_names_spec=$lt_library_names_spec
9510 # The coded name of the library, if different from the real name.
9511 soname_spec=$lt_soname_spec
9513 # Commands used to build and install an old-style archive.
9515 old_archive_cmds=$lt_old_archive_cmds
9516 old_postinstall_cmds=$lt_old_postinstall_cmds
9517 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9519 # Create an old-style archive from a shared archive.
9520 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9522 # Create a temporary old-style archive to link instead of a shared archive.
9523 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9525 # Commands used to build and install a shared archive.
9526 archive_cmds=$lt_archive_cmds
9527 archive_expsym_cmds=$lt_archive_expsym_cmds
9528 postinstall_cmds=$lt_postinstall_cmds
9529 postuninstall_cmds=$lt_postuninstall_cmds
9531 # Commands used to build a loadable module (assumed same as above if empty)
9532 module_cmds=$lt_module_cmds
9533 module_expsym_cmds=$lt_module_expsym_cmds
9535 # Commands to strip libraries.
9536 old_striplib=$lt_old_striplib
9537 striplib=$lt_striplib
9539 # Dependencies to place before the objects being linked to create a
9541 predep_objects=$lt_predep_objects
9543 # Dependencies to place after the objects being linked to create a
9545 postdep_objects=$lt_postdep_objects
9547 # Dependencies to place before the objects being linked to create a
9551 # Dependencies to place after the objects being linked to create a
9553 postdeps=$lt_postdeps
9555 # The library search path used internally by the compiler when linking
9557 compiler_lib_search_path=$lt_compiler_lib_search_path
9559 # Method to check whether dependent libraries are shared objects.
9560 deplibs_check_method=$lt_deplibs_check_method
9562 # Command to use when deplibs_check_method == file_magic.
9563 file_magic_cmd=$lt_file_magic_cmd
9565 # Flag that allows shared libraries with undefined symbols to be built.
9566 allow_undefined_flag=$lt_allow_undefined_flag
9568 # Flag that forces no undefined symbols.
9569 no_undefined_flag=$lt_no_undefined_flag
9571 # Commands used to finish a libtool library installation in a directory.
9572 finish_cmds=$lt_finish_cmds
9574 # Same as above, but a single script fragment to be evaled but not shown.
9575 finish_eval=$lt_finish_eval
9577 # Take the output of nm and produce a listing of raw symbols and C names.
9578 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9580 # Transform the output of nm in a proper C declaration
9581 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9583 # Transform the output of nm in a C name address pair
9584 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9586 # This is the shared library runtime path variable.
9587 runpath_var=$runpath_var
9589 # This is the shared library path variable.
9590 shlibpath_var=$shlibpath_var
9592 # Is shlibpath searched before the hard-coded library search path?
9593 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9595 # How to hardcode a shared library path into an executable.
9596 hardcode_action=$hardcode_action
9598 # Whether we should hardcode library paths into libraries.
9599 hardcode_into_libs=$hardcode_into_libs
9601 # Flag to hardcode \$libdir into a binary during linking.
9602 # This must work even if \$libdir does not exist.
9603 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9605 # If ld is used when linking, flag to hardcode \$libdir into
9606 # a binary during linking. This must work even if \$libdir does
9608 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9610 # Whether we need a single -rpath flag with a separated argument.
9611 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9613 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9615 hardcode_direct=$hardcode_direct
9617 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9619 hardcode_minus_L=$hardcode_minus_L
9621 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9622 # the resulting binary.
9623 hardcode_shlibpath_var=$hardcode_shlibpath_var
9625 # Set to yes if building a shared library automatically hardcodes DIR into the library
9626 # and all subsequent libraries and executables linked against it.
9627 hardcode_automatic=$hardcode_automatic
9629 # Variables whose values should be saved in libtool wrapper scripts and
9630 # restored at relink time.
9631 variables_saved_for_relink="$variables_saved_for_relink"
9633 # Whether libtool must link a program against all its dependency libraries.
9634 link_all_deplibs=$link_all_deplibs
9636 # Compile-time system search path for libraries
9637 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9639 # Run-time system search path for libraries
9640 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9642 # Fix the shell variable \$srcfile for the compiler.
9643 fix_srcfile_path="$fix_srcfile_path"
9645 # Set to yes if exported symbols are required.
9646 always_export_symbols=$always_export_symbols
9648 # The commands to list exported symbols.
9649 export_symbols_cmds=$lt_export_symbols_cmds
9651 # The commands to extract the exported symbol list from a shared archive.
9652 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9654 # Symbols that should not be listed in the preloaded symbols.
9655 exclude_expsyms=$lt_exclude_expsyms
9657 # Symbols that must always be exported.
9658 include_expsyms=$lt_include_expsyms
9660 # ### END LIBTOOL CONFIG
9667 cat <<\EOF
>> "$cfgfile"
9669 # AIX sometimes has problems with the GCC collect2 program. For some
9670 # reason, if we set the COLLECT_NAMES environment variable, the problems
9671 # vanish in a puff of smoke.
9672 if test "X${COLLECT_NAMES+set}" != Xset
; then
9674 export COLLECT_NAMES
9680 # We use sed instead of cat because bash on DJGPP gets confused if
9681 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9682 # text mode, it properly converts lines to CR/LF. This bash problem
9683 # is reportedly fixed, but why not run on old versions too?
9684 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9686 mv -f "$cfgfile" "$ofile" || \
9687 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9691 # If there is no Makefile yet, we rely on a make rule to execute
9692 # `config.status --recheck' to rerun these tests and create the
9693 # libtool script then.
9694 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9695 if test -f "$ltmain_in"; then
9696 test -f Makefile
&& make "$ltmain"
9702 ac_cpp
='$CPP $CPPFLAGS'
9703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9710 # Check whether --with-tags or --without-tags was given.
9711 if test "${with_tags+set}" = set; then
9712 withval
="$with_tags"
9716 if test -f "$ltmain" && test -n "$tagnames"; then
9717 if test ! -f "${ofile}"; then
9718 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9719 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9722 if test -z "$LTCC"; then
9723 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9724 if test -z "$LTCC"; then
9725 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9726 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9728 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9729 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9732 if test -z "$LTCFLAGS"; then
9733 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9736 # Extract list of available tagged configurations in $ofile.
9737 # Note that this assumes the entire list is on one line.
9738 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9740 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9741 for tagname
in $tagnames; do
9743 # Check whether tagname contains only valid characters
9744 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9746 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9747 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9748 { (exit 1); exit 1; }; }
9752 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9754 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9755 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9756 { (exit 1); exit 1; }; }
9759 # Update the list of available tags.
9760 if test -n "$tagname"; then
9761 echo appending configuration tag
\"$tagname\" to
$ofile
9765 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9766 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9767 (test "X$CXX" != "Xg++"))) ; then
9769 ac_cpp
='$CXXCPP $CPPFLAGS'
9770 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9771 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9772 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9777 archive_cmds_need_lc_CXX
=no
9778 allow_undefined_flag_CXX
=
9779 always_export_symbols_CXX
=no
9780 archive_expsym_cmds_CXX
=
9781 export_dynamic_flag_spec_CXX
=
9782 hardcode_direct_CXX
=no
9783 hardcode_libdir_flag_spec_CXX
=
9784 hardcode_libdir_flag_spec_ld_CXX
=
9785 hardcode_libdir_separator_CXX
=
9786 hardcode_minus_L_CXX
=no
9787 hardcode_shlibpath_var_CXX
=unsupported
9788 hardcode_automatic_CXX
=no
9790 module_expsym_cmds_CXX
=
9791 link_all_deplibs_CXX
=unknown
9792 old_archive_cmds_CXX
=$old_archive_cmds
9793 no_undefined_flag_CXX
=
9794 whole_archive_flag_spec_CXX
=
9795 enable_shared_with_static_runtimes_CXX
=no
9797 # Dependencies to place before and after the object being linked:
9799 postdep_objects_CXX
=
9802 compiler_lib_search_path_CXX
=
9804 # Source file extension for C++ test sources.
9807 # Object file extension for compiled C++ test sources.
9811 # Code to be used in simple compile tests
9812 lt_simple_compile_test_code
="int some_variable = 0;\n"
9814 # Code to be used in simple link tests
9815 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
9817 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9819 # If no C compiler was specified, use CC.
9822 # If no C compiler flags were specified, use CFLAGS.
9823 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9825 # Allow CC to be a program name with arguments.
9829 # save warnings/boilerplate of simple test code
9830 ac_outfile
=conftest.
$ac_objext
9831 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
9832 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9833 _lt_compiler_boilerplate
=`cat conftest.err`
9836 ac_outfile
=conftest.
$ac_objext
9837 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
9838 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9839 _lt_linker_boilerplate
=`cat conftest.err`
9843 # Allow CC to be a program name with arguments.
9848 lt_save_with_gnu_ld
=$with_gnu_ld
9849 lt_save_path_LD
=$lt_cv_path_LD
9850 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9851 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
9853 $as_unset lt_cv_prog_gnu_ld
9855 if test -n "${lt_cv_path_LDCXX+set}"; then
9856 lt_cv_path_LD
=$lt_cv_path_LDCXX
9858 $as_unset lt_cv_path_LD
9860 test -z "${LDCXX+set}" || LD
=$LDCXX
9864 for cc_temp
in $compiler""; do
9866 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9867 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9872 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9875 # We don't want -fno-exception wen compiling C++ code, so set the
9876 # no_builtin_flag separately
9877 if test "$GXX" = yes; then
9878 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
9880 lt_prog_compiler_no_builtin_flag_CXX
=
9883 if test "$GXX" = yes; then
9884 # Set up default GNU C++ configuration
9887 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9888 if test "${with_gnu_ld+set}" = set; then
9889 withval
="$with_gnu_ld"
9890 test "$withval" = no || with_gnu_ld
=yes
9895 if test "$GCC" = yes; then
9896 # Check if gcc -print-prog-name=ld gives a path.
9897 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9898 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9901 # gcc leaves a trailing carriage return which upsets mingw
9902 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9904 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9907 # Accept absolute paths.
9909 re_direlt
='/[^/][^/]*/\.\./'
9910 # Canonicalize the pathname of ld
9911 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
9912 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9913 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9915 test -z "$LD" && LD
="$ac_prog"
9918 # If it fails, then pretend we aren't using GCC.
9922 # If it is relative, then search for the first ld in PATH.
9926 elif test "$with_gnu_ld" = yes; then
9927 echo "$as_me:$LINENO: checking for GNU ld" >&5
9928 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9930 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9931 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9933 if test "${lt_cv_path_LD+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 if test -z "$LD"; then
9937 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9938 for ac_dir
in $PATH; do
9940 test -z "$ac_dir" && ac_dir
=.
9941 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9942 lt_cv_path_LD
="$ac_dir/$ac_prog"
9943 # Check to see if the program is GNU ld. I'd rather use --version,
9944 # but apparently some variants of GNU ld only accept -v.
9945 # Break only if it was the GNU/non-GNU ld that we prefer.
9946 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9947 *GNU
* |
*'with BFD'*)
9948 test "$with_gnu_ld" != no
&& break
9951 test "$with_gnu_ld" != yes && break
9958 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
9963 if test -n "$LD"; then
9964 echo "$as_me:$LINENO: result: $LD" >&5
9965 echo "${ECHO_T}$LD" >&6
9967 echo "$as_me:$LINENO: result: no" >&5
9968 echo "${ECHO_T}no" >&6
9970 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9971 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9972 { (exit 1); exit 1; }; }
9973 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9974 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9975 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9976 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 # I'd rather use --version here, but apparently some GNU lds only accept -v.
9979 case `$LD -v 2>&1 </dev/null` in
9980 *GNU
* |
*'with BFD'*)
9981 lt_cv_prog_gnu_ld
=yes
9984 lt_cv_prog_gnu_ld
=no
9988 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9989 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9990 with_gnu_ld
=$lt_cv_prog_gnu_ld
9994 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9995 # archiving commands below assume that GNU ld is being used.
9996 if test "$with_gnu_ld" = yes; then
9997 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9998 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'
10000 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10001 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10003 # If archive_cmds runs LD, not CC, wlarc should be empty
10004 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10005 # investigate it a little bit more. (MM)
10008 # ancient GNU ld didn't support --whole-archive et. al.
10009 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10010 grep 'no-whole-archive' > /dev
/null
; then
10011 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10013 whole_archive_flag_spec_CXX
=
10019 # A generic and very simple default shared library creation
10020 # command for GNU C++ for the case where it uses the native
10021 # linker, instead of GNU ld. If possible, this setting should
10022 # overridden to take advantage of the native linker features on
10023 # the platform it is being used on.
10024 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10027 # Commands to make compiler produce verbose output that lists
10028 # what "hidden" libraries, object files and flags are used when
10029 # linking a shared library.
10030 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10038 # PORTME: fill in a description of your system's C++ link characteristics
10039 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10040 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10044 # FIXME: insert proper C++ library support
10048 if test "$host_cpu" = ia64
; then
10049 # On IA64, the linker does run time linking by default, so we don't
10050 # have to do anything special.
10051 aix_use_runtimelinking
=no
10052 exp_sym_flag
='-Bexport'
10055 aix_use_runtimelinking
=no
10057 # Test if we are trying to use run time linking or normal
10058 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10059 # need to do runtime linking.
10060 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10061 for ld_flag
in $LDFLAGS; do
10064 aix_use_runtimelinking
=yes
10072 exp_sym_flag
='-bexport'
10073 no_entry_flag
='-bnoentry'
10076 # When large executables or shared objects are built, AIX ld can
10077 # have problems creating the table of contents. If linking a library
10078 # or program results in "error TOC overflow" add -mminimal-toc to
10079 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10080 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10082 archive_cmds_CXX
=''
10083 hardcode_direct_CXX
=yes
10084 hardcode_libdir_separator_CXX
=':'
10085 link_all_deplibs_CXX
=yes
10087 if test "$GXX" = yes; then
10088 case $host_os in aix4.
[012]|aix4.
[012].
*)
10089 # We only want to do this on AIX 4.2 and lower, the check
10090 # below for broken collect2 doesn't work under 4.3+
10091 collect2name
=`${CC} -print-prog-name=collect2`
10092 if test -f "$collect2name" && \
10093 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10095 # We have reworked collect2
10096 hardcode_direct_CXX
=yes
10098 # We have old collect2
10099 hardcode_direct_CXX
=unsupported
10100 # It fails to find uninstalled libraries when the uninstalled
10101 # path is not listed in the libpath. Setting hardcode_minus_L
10102 # to unsupported forces relinking
10103 hardcode_minus_L_CXX
=yes
10104 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10105 hardcode_libdir_separator_CXX
=
10109 shared_flag
='-shared'
10110 if test "$aix_use_runtimelinking" = yes; then
10111 shared_flag
="$shared_flag "'${wl}-G'
10115 if test "$host_cpu" = ia64
; then
10116 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10117 # chokes on -Wl,-G. The following line is correct:
10120 if test "$aix_use_runtimelinking" = yes; then
10121 shared_flag
='${wl}-G'
10123 shared_flag
='${wl}-bM:SRE'
10128 # It seems that -bexpall does not export symbols beginning with
10129 # underscore (_), so it is better to generate a list of symbols to export.
10130 always_export_symbols_CXX
=yes
10131 if test "$aix_use_runtimelinking" = yes; then
10132 # Warning - without using the other runtime loading flags (-brtl),
10133 # -berok will link without error, but may produce a broken library.
10134 allow_undefined_flag_CXX
='-berok'
10135 # Determine the default libpath from the value encoded in an empty executable.
10136 cat >conftest.
$ac_ext <<_ACEOF
10139 cat confdefs.h
>>conftest.
$ac_ext
10140 cat >>conftest.
$ac_ext <<_ACEOF
10141 /* end confdefs.h. */
10151 rm -f conftest.
$ac_objext conftest
$ac_exeext
10152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10153 (eval $ac_link) 2>conftest.er1
10155 grep -v '^ *+' conftest.er1
>conftest.err
10157 cat conftest.err
>&5
10158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); } &&
10160 { ac_try
='test -z "$ac_cxx_werror_flag"
10161 || test ! -s conftest.err'
10162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10163 (eval $ac_try) 2>&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); }; } &&
10167 { ac_try
='test -s conftest$ac_exeext'
10168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10169 (eval $ac_try) 2>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); }; }; then
10174 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10176 # Check for a 64-bit object if we didn't find anything.
10177 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; }
10180 echo "$as_me: failed program was:" >&5
10181 sed 's/^/| /' conftest.
$ac_ext >&5
10184 rm -f conftest.err conftest.
$ac_objext \
10185 conftest
$ac_exeext conftest.
$ac_ext
10186 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10188 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10190 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10192 if test "$host_cpu" = ia64
; then
10193 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10194 allow_undefined_flag_CXX
="-z nodefs"
10195 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10197 # Determine the default libpath from the value encoded in an empty executable.
10198 cat >conftest.
$ac_ext <<_ACEOF
10201 cat confdefs.h
>>conftest.
$ac_ext
10202 cat >>conftest.
$ac_ext <<_ACEOF
10203 /* end confdefs.h. */
10213 rm -f conftest.
$ac_objext conftest
$ac_exeext
10214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10215 (eval $ac_link) 2>conftest.er1
10217 grep -v '^ *+' conftest.er1
>conftest.err
10219 cat conftest.err
>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); } &&
10222 { ac_try
='test -z "$ac_cxx_werror_flag"
10223 || test ! -s conftest.err'
10224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10225 (eval $ac_try) 2>&5
10227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228 (exit $ac_status); }; } &&
10229 { ac_try
='test -s conftest$ac_exeext'
10230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10231 (eval $ac_try) 2>&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); }; }; then
10236 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10238 # Check for a 64-bit object if we didn't find anything.
10239 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; }
10242 echo "$as_me: failed program was:" >&5
10243 sed 's/^/| /' conftest.
$ac_ext >&5
10246 rm -f conftest.err conftest.
$ac_objext \
10247 conftest
$ac_exeext conftest.
$ac_ext
10248 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10250 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10251 # Warning - without using the other run time loading flags,
10252 # -berok will link without error, but may produce a broken library.
10253 no_undefined_flag_CXX
=' ${wl}-bernotok'
10254 allow_undefined_flag_CXX
=' ${wl}-berok'
10255 # Exported symbols can be pulled into shared objects from archives
10256 whole_archive_flag_spec_CXX
='$convenience'
10257 archive_cmds_need_lc_CXX
=yes
10258 # This is similar to how AIX traditionally builds its shared libraries.
10259 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10265 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10266 allow_undefined_flag_CXX
=unsupported
10267 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10268 # support --undefined. This deserves some investigation. FIXME
10269 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10276 case $cc_basename in
10278 # FIXME: insert proper C++ library support
10284 cygwin
* | mingw
* | pw32
*)
10285 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10286 # as there is no search path for DLLs.
10287 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10288 allow_undefined_flag_CXX
=unsupported
10289 always_export_symbols_CXX
=no
10290 enable_shared_with_static_runtimes_CXX
=yes
10292 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10293 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10294 # If the export-symbols file already is a .def file (1st line
10295 # is EXPORTS), use it as is; otherwise, prepend...
10296 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10297 cp $export_symbols $output_objdir/$soname.def;
10299 echo EXPORTS > $output_objdir/$soname.def;
10300 cat $export_symbols >> $output_objdir/$soname.def;
10302 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10307 darwin
* | rhapsody
*)
10309 rhapsody
* | darwin1.
[012])
10310 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10313 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10314 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10316 case ${MACOSX_DEPLOYMENT_TARGET} in
10318 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10321 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10327 archive_cmds_need_lc_CXX
=no
10328 hardcode_direct_CXX
=no
10329 hardcode_automatic_CXX
=yes
10330 hardcode_shlibpath_var_CXX
=unsupported
10331 whole_archive_flag_spec_CXX
=''
10332 link_all_deplibs_CXX
=yes
10334 if test "$GXX" = yes ; then
10335 lt_int_apple_cc_single_mod
=no
10336 output_verbose_link_cmd
='echo'
10337 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10338 lt_int_apple_cc_single_mod
=yes
10340 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10341 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10343 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'
10345 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10346 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10347 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10348 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}'
10350 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}'
10352 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}'
10354 case $cc_basename in
10356 output_verbose_link_cmd
='echo'
10357 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'
10358 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10359 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10360 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}'
10361 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}'
10371 case $cc_basename in
10373 # FIXME: insert proper C++ library support
10377 # Green Hills C++ Compiler
10378 # FIXME: insert proper C++ library support
10382 # FIXME: insert proper C++ library support
10388 # C++ shared libraries reported to be fairly broken before switch to ELF
10392 archive_cmds_need_lc_CXX
=no
10394 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10395 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10402 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10403 hardcode_libdir_separator_CXX
=:
10404 export_dynamic_flag_spec_CXX
='${wl}-E'
10405 hardcode_direct_CXX
=yes
10406 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10407 # but as the default
10408 # location of the library.
10410 case $cc_basename in
10412 # FIXME: insert proper C++ library support
10416 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'
10417 # Commands to make compiler produce verbose output that lists
10418 # what "hidden" libraries, object files and flags are used when
10419 # linking a shared library.
10421 # There doesn't appear to be a way to prevent this compiler from
10422 # explicitly linking system object files so we need to strip them
10423 # from the output so that they don't get included in the library
10425 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'
10428 if test "$GXX" = yes; then
10429 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'
10431 # FIXME: insert proper C++ library support
10438 if test $with_gnu_ld = no
; then
10439 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10440 hardcode_libdir_separator_CXX
=:
10444 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10447 export_dynamic_flag_spec_CXX
='${wl}-E'
10453 hardcode_direct_CXX
=no
10454 hardcode_shlibpath_var_CXX
=no
10457 hardcode_direct_CXX
=yes
10458 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10459 # but as the default
10460 # location of the library.
10464 case $cc_basename in
10466 # FIXME: insert proper C++ library support
10472 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10475 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10478 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10481 # Commands to make compiler produce verbose output that lists
10482 # what "hidden" libraries, object files and flags are used when
10483 # linking a shared library.
10485 # There doesn't appear to be a way to prevent this compiler from
10486 # explicitly linking system object files so we need to strip them
10487 # from the output so that they don't get included in the library
10489 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'
10492 if test "$GXX" = yes; then
10493 if test $with_gnu_ld = no
; then
10496 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10499 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10502 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'
10507 # FIXME: insert proper C++ library support
10514 hardcode_direct_CXX
=no
10515 hardcode_shlibpath_var_CXX
=no
10516 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10517 export_dynamic_flag_spec_CXX
='${wl}-E'
10518 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10519 # Instead, shared libraries are loaded at an image base (0x10000000 by
10520 # default) and relocated if they conflict, which is a slow very memory
10521 # consuming and fragmenting process. To avoid this, we pick a random,
10522 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10523 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10524 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10525 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10528 case $cc_basename in
10531 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'
10533 # Archives containing C++ object files must be created using
10534 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10535 # necessary to make sure instantiated templates are included
10537 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10540 if test "$GXX" = yes; then
10541 if test "$with_gnu_ld" = no
; then
10542 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'
10544 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'
10547 link_all_deplibs_CXX
=yes
10550 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10551 hardcode_libdir_separator_CXX
=:
10554 case $cc_basename in
10556 # Kuck and Associates, Inc. (KAI) C++ Compiler
10558 # KCC will only create a shared library if the output file
10559 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10560 # to its proper name (with version) after linking.
10561 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'
10562 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'
10563 # Commands to make compiler produce verbose output that lists
10564 # what "hidden" libraries, object files and flags are used when
10565 # linking a shared library.
10567 # There doesn't appear to be a way to prevent this compiler from
10568 # explicitly linking system object files so we need to strip them
10569 # from the output so that they don't get included in the library
10571 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'
10573 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10574 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10576 # Archives containing C++ object files must be created using
10577 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10578 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10583 # version 8.0 and above of icpc choke on multiply defined symbols
10584 # if we add $predep_objects and $postdep_objects, however 7.1 and
10585 # earlier do not add the objects themselves.
10586 case `$CC -V 2>&1` in
10588 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10589 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'
10591 *) # Version 8.0 or newer
10594 ia64
*) tmp_idyn
=' -i_dynamic';;
10596 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10597 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'
10600 archive_cmds_need_lc_CXX
=no
10601 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10602 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10603 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10606 # Portland Group C++ compiler
10607 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10608 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
10610 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10611 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10612 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10616 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10617 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'
10619 runpath_var
=LD_RUN_PATH
10620 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10621 hardcode_libdir_separator_CXX
=:
10623 # Commands to make compiler produce verbose output that lists
10624 # what "hidden" libraries, object files and flags are used when
10625 # linking a shared library.
10627 # There doesn't appear to be a way to prevent this compiler from
10628 # explicitly linking system object files so we need to strip them
10629 # from the output so that they don't get included in the library
10631 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'
10636 # FIXME: insert proper C++ library support
10640 # FIXME: insert proper C++ library support
10644 case $cc_basename in
10646 # FIXME: insert proper C++ library support
10650 # FIXME: insert proper C++ library support
10656 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10657 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10659 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10660 hardcode_direct_CXX
=yes
10661 hardcode_shlibpath_var_CXX
=no
10663 # Workaround some broken pre-1.5 toolchains
10664 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10667 # C++ shared libraries are fairly broken
10671 hardcode_direct_CXX
=yes
10672 hardcode_shlibpath_var_CXX
=no
10673 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10674 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10675 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10676 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10677 export_dynamic_flag_spec_CXX
='${wl}-E'
10678 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10680 output_verbose_link_cmd
='echo'
10683 case $cc_basename in
10685 # Kuck and Associates, Inc. (KAI) C++ Compiler
10687 # KCC will only create a shared library if the output file
10688 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10689 # to its proper name (with version) after linking.
10690 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'
10692 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10693 hardcode_libdir_separator_CXX
=:
10695 # Archives containing C++ object files must be created using
10696 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10697 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10701 # Rational C++ 2.4.1
10702 # FIXME: insert proper C++ library support
10706 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10707 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'
10709 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10710 hardcode_libdir_separator_CXX
=:
10712 # Commands to make compiler produce verbose output that lists
10713 # what "hidden" libraries, object files and flags are used when
10714 # linking a shared library.
10716 # There doesn't appear to be a way to prevent this compiler from
10717 # explicitly linking system object files so we need to strip them
10718 # from the output so that they don't get included in the library
10720 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'
10723 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10724 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10725 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'
10727 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10728 hardcode_libdir_separator_CXX
=:
10730 # Commands to make compiler produce verbose output that lists
10731 # what "hidden" libraries, object files and flags are used when
10732 # linking a shared library.
10733 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10736 # FIXME: insert proper C++ library support
10743 case $cc_basename in
10745 # Kuck and Associates, Inc. (KAI) C++ Compiler
10747 # KCC will only create a shared library if the output file
10748 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10749 # to its proper name (with version) after linking.
10750 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'
10752 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10753 hardcode_libdir_separator_CXX
=:
10755 # Archives containing C++ object files must be created using
10756 # the KAI C++ compiler.
10757 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10760 # Rational C++ 2.4.1
10761 # FIXME: insert proper C++ library support
10765 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10766 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'
10767 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10768 echo "-hidden">> $lib.exp~
10769 $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~
10772 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10773 hardcode_libdir_separator_CXX
=:
10775 # Commands to make compiler produce verbose output that lists
10776 # what "hidden" libraries, object files and flags are used when
10777 # linking a shared library.
10779 # There doesn't appear to be a way to prevent this compiler from
10780 # explicitly linking system object files so we need to strip them
10781 # from the output so that they don't get included in the library
10783 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'
10786 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10787 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10788 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'
10790 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10791 hardcode_libdir_separator_CXX
=:
10793 # Commands to make compiler produce verbose output that lists
10794 # what "hidden" libraries, object files and flags are used when
10795 # linking a shared library.
10796 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10799 # FIXME: insert proper C++ library support
10806 # FIXME: insert proper C++ library support
10810 case $cc_basename in
10813 # FIXME: insert proper C++ library support
10818 # FIXME: insert proper C++ library support
10822 # FIXME: insert proper C++ library support
10828 case $cc_basename in
10830 # Sun C++ 4.2, 5.x and Centerline C++
10831 archive_cmds_need_lc_CXX
=yes
10832 no_undefined_flag_CXX
=' -zdefs'
10833 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10834 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10835 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10837 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10838 hardcode_shlibpath_var_CXX
=no
10840 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10842 # The C++ compiler is used as linker so we must use $wl
10843 # flag to pass the commands to the underlying system
10844 # linker. We must also pass each convience library through
10845 # to the system linker between allextract/defaultextract.
10846 # The C++ compiler will combine linker options so we
10847 # cannot just pass the convience library names through
10849 # Supported since Solaris 2.6 (maybe 2.5.1?)
10850 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'
10853 link_all_deplibs_CXX
=yes
10855 output_verbose_link_cmd
='echo'
10857 # Archives containing C++ object files must be created using
10858 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10859 # necessary to make sure instantiated templates are included
10861 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10864 # Green Hills C++ Compiler
10865 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10867 # The C++ compiler must be used to create the archive.
10868 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10871 # GNU C++ compiler with Solaris linker
10872 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10873 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10874 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10875 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10876 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10877 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10879 # Commands to make compiler produce verbose output that lists
10880 # what "hidden" libraries, object files and flags are used when
10881 # linking a shared library.
10882 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10884 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10886 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10887 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10888 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10890 # Commands to make compiler produce verbose output that lists
10891 # what "hidden" libraries, object files and flags are used when
10892 # linking a shared library.
10893 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10896 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
10901 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10902 no_undefined_flag_CXX
='${wl}-z,text'
10903 archive_cmds_need_lc_CXX
=no
10904 hardcode_shlibpath_var_CXX
=no
10905 runpath_var
='LD_RUN_PATH'
10907 case $cc_basename in
10909 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10910 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10913 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10914 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10918 sysv5
* | sco3.2v5
* | sco5v6
*)
10919 # Note: We can NOT use -z defs as we might desire, because we do not
10920 # link with -lc, and that would cause any symbols used from libc to
10921 # always be unresolved, which means just about no library would
10922 # ever link correctly. If we're not using GNU ld we use -z text
10923 # though, which does catch some bad symbols but isn't as heavy-handed
10925 # For security reasons, it is highly recommended that you always
10926 # use absolute paths for naming shared libraries, and exclude the
10927 # DT_RUNPATH tag from executables and libraries. But doing so
10928 # requires that you compile everything twice, which is a pain.
10929 # So that behaviour is only enabled if SCOABSPATH is set to a
10930 # non-empty value in the environment. Most likely only useful for
10931 # creating official distributions of packages.
10932 # This is a hack until libtool officially supports absolute path
10933 # names for shared libraries.
10934 no_undefined_flag_CXX
='${wl}-z,text'
10935 allow_undefined_flag_CXX
='${wl}-z,nodefs'
10936 archive_cmds_need_lc_CXX
=no
10937 hardcode_shlibpath_var_CXX
=no
10938 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10939 hardcode_libdir_separator_CXX
=':'
10940 link_all_deplibs_CXX
=yes
10941 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
10942 runpath_var
='LD_RUN_PATH'
10944 case $cc_basename in
10946 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10947 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10951 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10956 case $cc_basename in
10958 # NonStop-UX NCC 3.20
10959 # FIXME: insert proper C++ library support
10963 # FIXME: insert proper C++ library support
10969 # FIXME: insert proper C++ library support
10973 # FIXME: insert proper C++ library support
10977 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10978 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10979 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
10985 cat > conftest.
$ac_ext <<EOF
10989 Foo (void) { a = 0; }
10995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10996 (eval $ac_compile) 2>&5
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); }; then
11000 # Parse the compiler output and extract the necessary
11001 # objects, libraries and library flags.
11003 # Sentinel used to keep track of whether or not we are before
11004 # the conftest object file.
11005 pre_test_object_deps_done
=no
11007 # The `*' in the case matches for architectures that use `case' in
11008 # $output_verbose_cmd can trigger glob expansion during the loop
11009 # eval without this substitution.
11010 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11012 for p
in `eval $output_verbose_link_cmd`; do
11016 # Some compilers place space between "-{L,R}" and the path.
11017 # Remove the space.
11018 if test $p = "-L" \
11019 ||
test $p = "-R"; then
11026 if test "$pre_test_object_deps_done" = no
; then
11029 # Internal compiler library paths should come after those
11030 # provided the user. The postdeps already come after the
11031 # user supplied libs so there is no need to process them.
11032 if test -z "$compiler_lib_search_path_CXX"; then
11033 compiler_lib_search_path_CXX
="${prev}${p}"
11035 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11038 # The "-l" case would never come before the object being
11039 # linked, so don't bother handling this case.
11042 if test -z "$postdeps_CXX"; then
11043 postdeps_CXX
="${prev}${p}"
11045 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11051 # This assumes that the test object file only shows up
11052 # once in the compiler output.
11053 if test "$p" = "conftest.$objext"; then
11054 pre_test_object_deps_done
=yes
11058 if test "$pre_test_object_deps_done" = no
; then
11059 if test -z "$predep_objects_CXX"; then
11060 predep_objects_CXX
="$p"
11062 predep_objects_CXX
="$predep_objects_CXX $p"
11065 if test -z "$postdep_objects_CXX"; then
11066 postdep_objects_CXX
="$p"
11068 postdep_objects_CXX
="$postdep_objects_CXX $p"
11073 *) ;; # Ignore the rest.
11081 echo "libtool.m4: error: problem compiling CXX test program"
11084 $rm -f confest.
$objext
11086 # PORTME: override above test on systems where it is broken
11089 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11090 # hack all around it, let's just trust "g++" to DTRT.
11091 predep_objects_CXX
=
11092 postdep_objects_CXX
=
11097 case $cc_basename in
11099 # Adding this requires a known-good setup of shared libraries for
11100 # Sun compiler versions before 5.6, else PIC objects from an old
11101 # archive will be linked into the output, leading to subtle bugs.
11102 postdeps_CXX
='-lCstd -lCrun'
11109 case " $postdeps_CXX " in
11110 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11113 lt_prog_compiler_wl_CXX
=
11114 lt_prog_compiler_pic_CXX
=
11115 lt_prog_compiler_static_CXX
=
11117 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11118 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11120 # C++ specific cases for pic, static, wl, etc.
11121 if test "$GXX" = yes; then
11122 lt_prog_compiler_wl_CXX
='-Wl,'
11123 lt_prog_compiler_static_CXX
='-static'
11127 # All AIX code is PIC.
11128 if test "$host_cpu" = ia64
; then
11129 # AIX 5 now supports IA64 processor
11130 lt_prog_compiler_static_CXX
='-Bstatic'
11134 # FIXME: we need at least 68020 code to build shared libraries, but
11135 # adding the `-m68020' flag to GCC prevents building anything better,
11137 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11139 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11140 # PIC is the default for these OSes.
11142 mingw
* | os2
* | pw32
*)
11143 # This hack is so that the source file can tell whether it is being
11144 # built for inclusion in a dll (and should export symbols for example).
11145 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11147 darwin
* | rhapsody
*)
11148 # PIC is the default on this platform
11149 # Common symbols not allowed in MH_DYLIB files
11150 lt_prog_compiler_pic_CXX
='-fno-common'
11153 # DJGPP does not support shared libraries at all
11154 lt_prog_compiler_pic_CXX
=
11157 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11158 # Instead, we relocate shared libraries at runtime.
11161 if test -d /usr
/nec
; then
11162 lt_prog_compiler_pic_CXX
=-Kconform_pic
11166 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11167 # not for PA HP-UX.
11172 lt_prog_compiler_pic_CXX
='-fPIC'
11177 lt_prog_compiler_pic_CXX
='-fPIC'
11183 # All AIX code is PIC.
11184 if test "$host_cpu" = ia64
; then
11185 # AIX 5 now supports IA64 processor
11186 lt_prog_compiler_static_CXX
='-Bstatic'
11188 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11192 case $cc_basename in
11194 # Green Hills C++ Compiler
11195 # _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"
11200 # PIC is the default on this platform
11201 # Common symbols not allowed in MH_DYLIB files
11202 case $cc_basename in
11204 lt_prog_compiler_pic_CXX
='-qnocommon'
11205 lt_prog_compiler_wl_CXX
='-Wl,'
11210 case $cc_basename in
11212 lt_prog_compiler_pic_CXX
='-KPIC'
11215 # Green Hills C++ Compiler
11216 lt_prog_compiler_pic_CXX
='-pic'
11222 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11223 # FreeBSD uses GNU C++
11225 hpux9
* | hpux10
* | hpux11
*)
11226 case $cc_basename in
11228 lt_prog_compiler_wl_CXX
='-Wl,'
11229 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11230 if test "$host_cpu" != ia64
; then
11231 lt_prog_compiler_pic_CXX
='+Z'
11235 lt_prog_compiler_wl_CXX
='-Wl,'
11236 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11242 lt_prog_compiler_pic_CXX
='+Z'
11251 # This is c89, which is MS Visual C++ (no shared libs)
11252 # Anyone wants to do a port?
11254 irix5
* | irix6
* | nonstopux
*)
11255 case $cc_basename in
11257 lt_prog_compiler_wl_CXX
='-Wl,'
11258 lt_prog_compiler_static_CXX
='-non_shared'
11259 # CC pic flag -KPIC is the default.
11266 case $cc_basename in
11269 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11270 lt_prog_compiler_pic_CXX
='-fPIC'
11274 lt_prog_compiler_wl_CXX
='-Wl,'
11275 lt_prog_compiler_pic_CXX
='-KPIC'
11276 lt_prog_compiler_static_CXX
='-static'
11279 # Portland Group C++ compiler.
11280 lt_prog_compiler_wl_CXX
='-Wl,'
11281 lt_prog_compiler_pic_CXX
='-fpic'
11282 lt_prog_compiler_static_CXX
='-Bstatic'
11286 # Make sure the PIC flag is empty. It appears that all Alpha
11287 # Linux and Compaq Tru64 Unix objects are PIC.
11288 lt_prog_compiler_pic_CXX
=
11289 lt_prog_compiler_static_CXX
='-non_shared'
11300 case $cc_basename in
11302 lt_prog_compiler_pic_CXX
='-W c,exportall'
11310 osf3
* | osf4
* | osf5
*)
11311 case $cc_basename in
11313 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11316 # Rational C++ 2.4.1
11317 lt_prog_compiler_pic_CXX
='-pic'
11320 # Digital/Compaq C++
11321 lt_prog_compiler_wl_CXX
='-Wl,'
11322 # Make sure the PIC flag is empty. It appears that all Alpha
11323 # Linux and Compaq Tru64 Unix objects are PIC.
11324 lt_prog_compiler_pic_CXX
=
11325 lt_prog_compiler_static_CXX
='-non_shared'
11334 case $cc_basename in
11336 # Sun C++ 4.2, 5.x and Centerline C++
11337 lt_prog_compiler_pic_CXX
='-KPIC'
11338 lt_prog_compiler_static_CXX
='-Bstatic'
11339 lt_prog_compiler_wl_CXX
='-Qoption ld '
11342 # Green Hills C++ Compiler
11343 lt_prog_compiler_pic_CXX
='-PIC'
11350 case $cc_basename in
11353 lt_prog_compiler_pic_CXX
='-pic'
11354 lt_prog_compiler_static_CXX
='-Bstatic'
11358 lt_prog_compiler_pic_CXX
='-pic'
11365 case $cc_basename in
11367 # NonStop-UX NCC 3.20
11368 lt_prog_compiler_pic_CXX
='-KPIC'
11374 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11375 case $cc_basename in
11377 lt_prog_compiler_wl_CXX
='-Wl,'
11378 lt_prog_compiler_pic_CXX
='-KPIC'
11379 lt_prog_compiler_static_CXX
='-Bstatic'
11386 lt_prog_compiler_can_build_shared_CXX
=no
11391 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11392 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11395 # Check to make sure the PIC flag actually works.
11397 if test -n "$lt_prog_compiler_pic_CXX"; then
11399 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11400 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11401 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11402 echo $ECHO_N "(cached) $ECHO_C" >&6
11404 lt_prog_compiler_pic_works_CXX
=no
11405 ac_outfile
=conftest.
$ac_objext
11406 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11407 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11408 # Insert the option either (1) after the last *FLAGS variable, or
11409 # (2) before a word containing "conftest.", or (3) at the end.
11410 # Note that $ac_compile itself does not contain backslashes and begins
11411 # with a dollar sign (not a hyphen), so the echo should work correctly.
11412 # The option is referenced via a variable to avoid confusing sed.
11413 lt_compile
=`echo "$ac_compile" | $SED \
11414 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11415 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11416 -e 's:$: $lt_compiler_flag:'`
11417 (eval echo "\"\$as_me:11417: $lt_compile\"" >&5)
11418 (eval "$lt_compile" 2>conftest.err
)
11420 cat conftest.err
>&5
11421 echo "$as_me:11421: \$? = $ac_status" >&5
11422 if (exit $ac_status) && test -s "$ac_outfile"; then
11423 # The compiler can only warn and ignore the option if not recognized
11424 # So say no if there are warnings other than the usual output.
11425 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11426 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11427 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11428 lt_prog_compiler_pic_works_CXX
=yes
11434 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11435 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11437 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11438 case $lt_prog_compiler_pic_CXX in
11440 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11443 lt_prog_compiler_pic_CXX
=
11444 lt_prog_compiler_can_build_shared_CXX
=no
11449 # For platforms which do not support PIC, -DPIC is meaningless:
11451 lt_prog_compiler_pic_CXX
=
11454 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11459 # Check to make sure the static flag actually works.
11461 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11462 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11463 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11464 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11467 lt_prog_compiler_static_works_CXX
=no
11468 save_LDFLAGS
="$LDFLAGS"
11469 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11470 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11471 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11472 # The linker can only warn and ignore the option if not recognized
11473 # So say no if there are warnings
11474 if test -s conftest.err
; then
11475 # Append any errors to the config.log.
11476 cat conftest.err
1>&5
11477 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11478 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11479 if diff conftest.exp conftest.er2
>/dev
/null
; then
11480 lt_prog_compiler_static_works_CXX
=yes
11483 lt_prog_compiler_static_works_CXX
=yes
11487 LDFLAGS
="$save_LDFLAGS"
11490 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11491 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11493 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11496 lt_prog_compiler_static_CXX
=
11500 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11501 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11502 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 lt_cv_prog_compiler_c_o_CXX
=no
11506 $rm -r conftest
2>/dev
/null
11510 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11512 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11513 # Insert the option either (1) after the last *FLAGS variable, or
11514 # (2) before a word containing "conftest.", or (3) at the end.
11515 # Note that $ac_compile itself does not contain backslashes and begins
11516 # with a dollar sign (not a hyphen), so the echo should work correctly.
11517 lt_compile
=`echo "$ac_compile" | $SED \
11518 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11519 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11520 -e 's:$: $lt_compiler_flag:'`
11521 (eval echo "\"\$as_me:11521: $lt_compile\"" >&5)
11522 (eval "$lt_compile" 2>out
/conftest.err
)
11524 cat out
/conftest.err
>&5
11525 echo "$as_me:11525: \$? = $ac_status" >&5
11526 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11528 # The compiler can only warn and ignore the option if not recognized
11529 # So say no if there are warnings
11530 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11531 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11532 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11533 lt_cv_prog_compiler_c_o_CXX
=yes
11538 # SGI C++ compiler will create directory out/ii_files/ for
11539 # template instantiation
11540 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11541 $rm out
/* && rmdir out
11547 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11548 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11551 hard_links
="nottested"
11552 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11553 # do not overwrite the value of need_locks provided by the user
11554 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11555 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11558 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11560 ln conftest.a conftest.b
2>&5 || hard_links
=no
11561 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11562 echo "$as_me:$LINENO: result: $hard_links" >&5
11563 echo "${ECHO_T}$hard_links" >&6
11564 if test "$hard_links" = no
; then
11565 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11566 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11573 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11574 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11576 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11579 # If we're using GNU nm, then we don't want the "-C" option.
11580 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11581 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11582 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'
11584 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'
11588 export_symbols_cmds_CXX
="$ltdll_cmds"
11591 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'
11594 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11598 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11599 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11600 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11603 # Do we need to explicitly link libc?
11605 case "x$archive_cmds_need_lc_CXX" in
11607 # Assume -lc should be added
11608 archive_cmds_need_lc_CXX
=yes
11610 if test "$enable_shared" = yes && test "$GCC" = yes; then
11611 case $archive_cmds_CXX in
11613 # FIXME: we may have to deal with multi-command sequences.
11616 # Test whether the compiler implicitly links with -lc since on some
11617 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11618 # to ld, don't add -lc before -lgcc.
11619 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11620 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11622 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11625 (eval $ac_compile) 2>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } 2>conftest.err
; then
11631 libobjs
=conftest.
$ac_objext
11633 wl
=$lt_prog_compiler_wl_CXX
11634 pic_flag
=$lt_prog_compiler_pic_CXX
11640 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11641 allow_undefined_flag_CXX
=
11642 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11643 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11646 (exit $ac_status); }
11648 archive_cmds_need_lc_CXX
=no
11650 archive_cmds_need_lc_CXX
=yes
11652 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11654 cat conftest.err
1>&5
11657 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11658 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11665 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11666 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11667 library_names_spec
=
11668 libname_spec
='lib$name'
11672 postuninstall_cmds
=
11676 shlibpath_overrides_runpath
=unknown
11678 dynamic_linker
="$host_os ld.so"
11679 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11680 if test "$GCC" = yes; then
11681 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11682 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11683 # if the path contains ";" then we assume it to be the separator
11684 # otherwise default to the standard path separator (i.e. ":") - it is
11685 # assumed that no part of a normal pathname contains ";" but that should
11686 # okay in the real world where ";" in dirpaths is itself problematic.
11687 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11689 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11692 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11694 need_lib_prefix
=unknown
11695 hardcode_into_libs
=no
11697 # when you set need_version to no, make sure it does not cause -set_version
11698 # flags to be left without arguments
11699 need_version
=unknown
11704 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11705 shlibpath_var
=LIBPATH
11707 # AIX 3 has no versioning support, so we append a major version to the name.
11708 soname_spec
='${libname}${release}${shared_ext}$major'
11715 hardcode_into_libs
=yes
11716 if test "$host_cpu" = ia64
; then
11717 # AIX 5 supports IA64
11718 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11719 shlibpath_var
=LD_LIBRARY_PATH
11721 # With GCC up to 2.95.x, collect2 would create an import file
11722 # for dependence libraries. The import file would start with
11723 # the line `#! .'. This would cause the generated library to
11724 # depend on `.', always an invalid library. This was fixed in
11725 # development snapshots of GCC prior to 3.0.
11727 aix4 | aix4.
[01] | aix4.
[01].
*)
11728 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11730 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11733 can_build_shared
=no
11737 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11738 # soname into executable. Probably we can add versioning support to
11739 # collect2, so additional links can be useful in future.
11740 if test "$aix_use_runtimelinking" = yes; then
11741 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11742 # instead of lib<name>.a to let people know that these are not
11743 # typical AIX shared libraries.
11744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11746 # We preserve .a as extension for shared libraries through AIX4.2
11747 # and later when we are not doing run time linking.
11748 library_names_spec
='${libname}${release}.a $libname.a'
11749 soname_spec
='${libname}${release}${shared_ext}$major'
11751 shlibpath_var
=LIBPATH
11756 library_names_spec
='$libname.ixlibrary $libname.a'
11757 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11758 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'
11762 library_names_spec
='${libname}${shared_ext}'
11763 dynamic_linker
="$host_os ld.so"
11764 shlibpath_var
=LIBRARY_PATH
11770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11771 soname_spec
='${libname}${release}${shared_ext}$major'
11772 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11773 shlibpath_var
=LD_LIBRARY_PATH
11774 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11775 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11776 # the default ld.so.conf also contains /usr/contrib/lib and
11777 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11778 # libtool to hard-code these into programs
11781 cygwin
* | mingw
* | pw32
*)
11782 version_type
=windows
11787 case $GCC,$host_os in
11788 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11789 library_names_spec
='$libname.dll.a'
11790 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11791 postinstall_cmds
='base_file=`basename \${file}`~
11792 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11793 dldir=$destdir/`dirname \$dlpath`~
11794 test -d \$dldir || mkdir -p \$dldir~
11795 $install_prog $dir/$dlname \$dldir/$dlname~
11796 chmod a+x \$dldir/$dlname'
11797 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11798 dlpath=$dir/\$dldll~
11800 shlibpath_overrides_runpath
=yes
11804 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11805 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11806 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11809 # MinGW DLLs use traditional 'lib' prefix
11810 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11811 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11812 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11813 # It is most probably a Windows format PATH printed by
11814 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11815 # path with ; separators, and with drive letters. We can handle the
11816 # drive letters (cygwin fileutils understands them), so leave them,
11817 # especially as we might pass files found there to a mingw objdump,
11818 # which wouldn't understand a cygwinified path. Ahh.
11819 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11821 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11825 # pw32 DLLs use 'pw' prefix rather than 'lib'
11826 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11832 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11835 dynamic_linker
='Win32 ld.exe'
11836 # FIXME: first we should search . and the directory the executable is in
11840 darwin
* | rhapsody
*)
11841 dynamic_linker
="$host_os dyld"
11842 version_type
=darwin
11845 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11846 soname_spec
='${libname}${release}${major}$shared_ext'
11847 shlibpath_overrides_runpath
=yes
11848 shlibpath_var
=DYLD_LIBRARY_PATH
11849 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11850 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11851 if test "$GCC" = yes; then
11852 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"`
11854 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11856 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11864 soname_spec
='${libname}${release}${shared_ext}$major'
11865 shlibpath_var
=LD_LIBRARY_PATH
11876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11877 soname_spec
='${libname}${release}${shared_ext}$major'
11878 shlibpath_var
=LD_LIBRARY_PATH
11879 shlibpath_overrides_runpath
=no
11880 hardcode_into_libs
=yes
11881 dynamic_linker
='GNU ld.so'
11884 freebsd
* | dragonfly
*)
11885 # DragonFly does not have aout. When/if they implement a new
11886 # versioning mechanism, adjust this.
11887 if test -x /usr
/bin
/objformat
; then
11888 objformat
=`/usr/bin/objformat`
11891 freebsd
[123]*) objformat
=aout
;;
11892 *) objformat
=elf
;;
11895 version_type
=freebsd-
$objformat
11896 case $version_type in
11898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11903 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11907 shlibpath_var
=LD_LIBRARY_PATH
11910 shlibpath_overrides_runpath
=yes
11912 freebsd3.
[01]* | freebsdelf3.
[01]*)
11913 shlibpath_overrides_runpath
=yes
11914 hardcode_into_libs
=yes
11916 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11917 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11918 shlibpath_overrides_runpath
=no
11919 hardcode_into_libs
=yes
11921 freebsd
*) # from 4.6 on
11922 shlibpath_overrides_runpath
=yes
11923 hardcode_into_libs
=yes
11932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11933 soname_spec
='${libname}${release}${shared_ext}$major'
11934 shlibpath_var
=LD_LIBRARY_PATH
11935 hardcode_into_libs
=yes
11938 hpux9
* | hpux10
* | hpux11
*)
11939 # Give a soname corresponding to the major version so that dld.sl refuses to
11940 # link against other versions.
11947 hardcode_into_libs
=yes
11948 dynamic_linker
="$host_os dld.so"
11949 shlibpath_var
=LD_LIBRARY_PATH
11950 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11952 soname_spec
='${libname}${release}${shared_ext}$major'
11953 if test "X$HPUX_IA64_MODE" = X32
; then
11954 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11956 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11958 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11962 hardcode_into_libs
=yes
11963 dynamic_linker
="$host_os dld.sl"
11964 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11965 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11967 soname_spec
='${libname}${release}${shared_ext}$major'
11968 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11969 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11973 dynamic_linker
="$host_os dld.sl"
11974 shlibpath_var
=SHLIB_PATH
11975 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11977 soname_spec
='${libname}${release}${shared_ext}$major'
11980 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11981 postinstall_cmds
='chmod 555 $lib'
11988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11989 soname_spec
='${libname}${release}${shared_ext}$major'
11990 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11991 shlibpath_var
=LD_LIBRARY_PATH
11992 shlibpath_overrides_runpath
=no
11993 hardcode_into_libs
=yes
11996 irix5
* | irix6
* | nonstopux
*)
11998 nonstopux
*) version_type
=nonstopux
;;
12000 if test "$lt_cv_prog_gnu_ld" = yes; then
12008 soname_spec
='${libname}${release}${shared_ext}$major'
12009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12011 irix5
* | nonstopux
*)
12012 libsuff
= shlibsuff
=
12015 case $LD in # libtool.m4 will add one of these switches to LD
12016 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12017 libsuff
= shlibsuff
= libmagic
=32-bit;;
12018 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12019 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12020 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12021 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12022 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12026 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12027 shlibpath_overrides_runpath
=no
12028 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12029 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12030 hardcode_into_libs
=yes
12033 # No shared lib support for Linux oldld, aout, or coff.
12034 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12038 # This must be Linux ELF.
12043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12044 soname_spec
='${libname}${release}${shared_ext}$major'
12045 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12046 shlibpath_var
=LD_LIBRARY_PATH
12047 shlibpath_overrides_runpath
=no
12048 # This implies no fast_install, which is unacceptable.
12049 # Some rework will be needed to allow for fast_install
12050 # before this can be enabled.
12051 hardcode_into_libs
=yes
12053 # find out which ABI we are using
12055 case "$host_cpu" in
12056 x86_64
*|s390x
*|powerpc64
*)
12057 echo '#line 12057 "configure"' > conftest.
$ac_ext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12059 (eval $ac_compile) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); }; then
12063 case `/usr/bin/file conftest.$ac_objext` in
12066 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12074 # Append ld.so.conf contents to the search path
12075 if test -f /etc
/ld.so.conf
; then
12076 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/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12077 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12080 # We used to test for /lib/ld.so.1 and disable shared libraries on
12081 # powerpc, because MkLinux only supported shared libraries with the
12082 # GNU dynamic linker. Since this was broken with cross compilers,
12083 # most powerpc-linux boxes support dynamic linking these days and
12084 # people can always --disable-shared, the test was removed, and we
12085 # assume the GNU/Linux dynamic linker is in use.
12086 dynamic_linker
='GNU/Linux ld.so'
12093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12094 soname_spec
='${libname}${release}${shared_ext}$major'
12095 shlibpath_var
=LD_LIBRARY_PATH
12096 shlibpath_overrides_runpath
=no
12097 hardcode_into_libs
=yes
12098 dynamic_linker
='GNU ld.so'
12105 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12107 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12108 dynamic_linker
='NetBSD (a.out) ld.so'
12110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12111 soname_spec
='${libname}${release}${shared_ext}$major'
12112 dynamic_linker
='NetBSD ld.elf_so'
12114 shlibpath_var
=LD_LIBRARY_PATH
12115 shlibpath_overrides_runpath
=yes
12116 hardcode_into_libs
=yes
12121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12122 shlibpath_var
=LD_LIBRARY_PATH
12123 shlibpath_overrides_runpath
=yes
12130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12131 soname_spec
='${libname}${release}${shared_ext}$major'
12132 shlibpath_var
=LD_LIBRARY_PATH
12133 shlibpath_overrides_runpath
=yes
12138 sys_lib_dlsearch_path_spec
="/usr/lib"
12140 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12142 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12143 *) need_version
=no
;;
12145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12146 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12147 shlibpath_var
=LD_LIBRARY_PATH
12148 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12150 openbsd2.
[89] | openbsd2.
[89].
*)
12151 shlibpath_overrides_runpath
=no
12154 shlibpath_overrides_runpath
=yes
12158 shlibpath_overrides_runpath
=yes
12163 libname_spec
='$name'
12166 library_names_spec
='$libname${shared_ext} $libname.a'
12167 dynamic_linker
='OS/2 ld.exe'
12168 shlibpath_var
=LIBPATH
12171 osf3
* | osf4
* | osf5
*)
12175 soname_spec
='${libname}${release}${shared_ext}$major'
12176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12177 shlibpath_var
=LD_LIBRARY_PATH
12178 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12179 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12187 soname_spec
='${libname}${release}${shared_ext}$major'
12188 shlibpath_var
=LD_LIBRARY_PATH
12189 shlibpath_overrides_runpath
=yes
12190 hardcode_into_libs
=yes
12191 # ldd complains unless libraries are executable
12192 postinstall_cmds
='chmod +x $lib'
12197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12198 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12199 shlibpath_var
=LD_LIBRARY_PATH
12200 shlibpath_overrides_runpath
=yes
12201 if test "$with_gnu_ld" = yes; then
12209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12210 soname_spec
='${libname}${release}${shared_ext}$major'
12211 shlibpath_var
=LD_LIBRARY_PATH
12212 case $host_vendor in
12214 shlibpath_overrides_runpath
=no
12216 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12217 runpath_var
=LD_RUN_PATH
12225 shlibpath_overrides_runpath
=no
12226 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12232 if test -d /usr
/nec
;then
12234 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12235 soname_spec
='$libname${shared_ext}.$major'
12236 shlibpath_var
=LD_LIBRARY_PATH
12240 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12241 version_type
=freebsd-elf
12244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12245 soname_spec
='${libname}${release}${shared_ext}$major'
12246 shlibpath_var
=LD_LIBRARY_PATH
12247 hardcode_into_libs
=yes
12248 if test "$with_gnu_ld" = yes; then
12249 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12250 shlibpath_overrides_runpath
=no
12252 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12253 shlibpath_overrides_runpath
=yes
12256 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12260 sys_lib_dlsearch_path_spec
='/usr/lib'
12265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12266 soname_spec
='${libname}${release}${shared_ext}$major'
12267 shlibpath_var
=LD_LIBRARY_PATH
12274 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12275 echo "${ECHO_T}$dynamic_linker" >&6
12276 test "$dynamic_linker" = no
&& can_build_shared
=no
12278 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12279 if test "$GCC" = yes; then
12280 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12283 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12284 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12285 hardcode_action_CXX
=
12286 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12287 test -n "$runpath_var_CXX" || \
12288 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12290 # We can hardcode non-existant directories.
12291 if test "$hardcode_direct_CXX" != no
&&
12292 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12293 # have to relink, otherwise we might link with an installed library
12294 # when we should be linking with a yet-to-be-installed one
12295 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12296 test "$hardcode_minus_L_CXX" != no
; then
12297 # Linking always hardcodes the temporary library directory.
12298 hardcode_action_CXX
=relink
12300 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12301 hardcode_action_CXX
=immediate
12304 # We cannot hardcode anything, or else we can only hardcode existing
12306 hardcode_action_CXX
=unsupported
12308 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12309 echo "${ECHO_T}$hardcode_action_CXX" >&6
12311 if test "$hardcode_action_CXX" = relink
; then
12312 # Fast installation is not supported
12313 enable_fast_install
=no
12314 elif test "$shlibpath_overrides_runpath" = yes ||
12315 test "$enable_shared" = no
; then
12316 # Fast installation is not necessary
12317 enable_fast_install
=needless
12321 # The else clause should only fire when bootstrapping the
12322 # libtool distribution, otherwise you forgot to ship ltmain.sh
12323 # with your package, and you will get complaints that there are
12324 # no rules to generate ltmain.sh.
12325 if test -f "$ltmain"; then
12326 # See if we are running on zsh, and set the options which allow our commands through
12327 # without removal of \ escapes.
12328 if test -n "${ZSH_VERSION+set}" ; then
12329 setopt NO_GLOB_SUBST
12331 # Now quote all the things that may contain metacharacters while being
12332 # careful not to overquote the AC_SUBSTed values. We take copies of the
12333 # variables and quote the copies for generation of the libtool script.
12334 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12336 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12337 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12338 deplibs_check_method reload_flag reload_cmds need_locks \
12339 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12340 lt_cv_sys_global_symbol_to_c_name_address \
12341 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12342 old_postinstall_cmds old_postuninstall_cmds \
12346 lt_prog_compiler_wl_CXX \
12347 lt_prog_compiler_pic_CXX \
12348 lt_prog_compiler_static_CXX \
12349 lt_prog_compiler_no_builtin_flag_CXX \
12350 export_dynamic_flag_spec_CXX \
12351 thread_safe_flag_spec_CXX \
12352 whole_archive_flag_spec_CXX \
12353 enable_shared_with_static_runtimes_CXX \
12354 old_archive_cmds_CXX \
12355 old_archive_from_new_cmds_CXX \
12356 predep_objects_CXX \
12357 postdep_objects_CXX \
12360 compiler_lib_search_path_CXX \
12362 archive_expsym_cmds_CXX \
12363 postinstall_cmds_CXX \
12364 postuninstall_cmds_CXX \
12365 old_archive_from_expsyms_cmds_CXX \
12366 allow_undefined_flag_CXX \
12367 no_undefined_flag_CXX \
12368 export_symbols_cmds_CXX \
12369 hardcode_libdir_flag_spec_CXX \
12370 hardcode_libdir_flag_spec_ld_CXX \
12371 hardcode_libdir_separator_CXX \
12372 hardcode_automatic_CXX \
12374 module_expsym_cmds_CXX \
12375 lt_cv_prog_compiler_c_o_CXX \
12376 exclude_expsyms_CXX \
12377 include_expsyms_CXX
; do
12380 old_archive_cmds_CXX | \
12381 old_archive_from_new_cmds_CXX | \
12382 archive_cmds_CXX | \
12383 archive_expsym_cmds_CXX | \
12384 module_cmds_CXX | \
12385 module_expsym_cmds_CXX | \
12386 old_archive_from_expsyms_cmds_CXX | \
12387 export_symbols_cmds_CXX | \
12388 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12389 postinstall_cmds | postuninstall_cmds | \
12390 old_postinstall_cmds | old_postuninstall_cmds | \
12391 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12392 # Double-quote double-evaled strings.
12393 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12396 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12402 *'\$0 --fallback-echo"')
12403 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12409 cat <<__EOF__ >> "$cfgfile"
12410 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12412 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12414 # Shell to use when invoking shell scripts.
12417 # Whether or not to build shared libraries.
12418 build_libtool_libs=$enable_shared
12420 # Whether or not to build static libraries.
12421 build_old_libs=$enable_static
12423 # Whether or not to add -lc for building shared libraries.
12424 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12426 # Whether or not to disallow shared libs when runtime libs are static
12427 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12429 # Whether or not to optimize for fast installation.
12430 fast_install=$enable_fast_install
12433 host_alias=$host_alias
12437 # The build system.
12438 build_alias=$build_alias
12442 # An echo program that does not interpret backslashes.
12447 AR_FLAGS=$lt_AR_FLAGS
12452 # LTCC compiler flags.
12453 LTCFLAGS=$lt_LTCFLAGS
12455 # A language-specific compiler.
12456 CC=$lt_compiler_CXX
12458 # Is the compiler the GNU C compiler?
12464 # The linker used to build libraries.
12467 # Whether we need hard or soft links.
12470 # A BSD-compatible nm program.
12473 # A symbol stripping program
12476 # Used to examine libraries when file_magic_cmd begins "file"
12477 MAGIC_CMD=$MAGIC_CMD
12479 # Used on cygwin: DLL creation program.
12482 # Used on cygwin: object dumper.
12485 # Used on cygwin: assembler.
12488 # The name of the directory that contains temporary libtool files.
12491 # How to create reloadable object files.
12492 reload_flag=$lt_reload_flag
12493 reload_cmds=$lt_reload_cmds
12495 # How to pass a linker flag through the compiler.
12496 wl=$lt_lt_prog_compiler_wl_CXX
12498 # Object file suffix (normally "o").
12499 objext="$ac_objext"
12501 # Old archive suffix (normally "a").
12504 # Shared library suffix (normally ".so").
12505 shrext_cmds='$shrext_cmds'
12507 # Executable file suffix (normally "").
12510 # Additional compiler flags for building library objects.
12511 pic_flag=$lt_lt_prog_compiler_pic_CXX
12514 # What is the maximum length of a command?
12515 max_cmd_len=$lt_cv_sys_max_cmd_len
12517 # Does compiler simultaneously support -c and -o options?
12518 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12520 # Must we lock files when doing compilation?
12521 need_locks=$lt_need_locks
12523 # Do we need the lib prefix for modules?
12524 need_lib_prefix=$need_lib_prefix
12526 # Do we need a version for libraries?
12527 need_version=$need_version
12529 # Whether dlopen is supported.
12530 dlopen_support=$enable_dlopen
12532 # Whether dlopen of programs is supported.
12533 dlopen_self=$enable_dlopen_self
12535 # Whether dlopen of statically linked programs is supported.
12536 dlopen_self_static=$enable_dlopen_self_static
12538 # Compiler flag to prevent dynamic linking.
12539 link_static_flag=$lt_lt_prog_compiler_static_CXX
12541 # Compiler flag to turn off builtin functions.
12542 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12544 # Compiler flag to allow reflexive dlopens.
12545 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12547 # Compiler flag to generate shared objects directly from archives.
12548 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12550 # Compiler flag to generate thread-safe objects.
12551 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12553 # Library versioning type.
12554 version_type=$version_type
12556 # Format of library name prefix.
12557 libname_spec=$lt_libname_spec
12559 # List of archive names. First name is the real one, the rest are links.
12560 # The last name is the one that the linker finds with -lNAME.
12561 library_names_spec=$lt_library_names_spec
12563 # The coded name of the library, if different from the real name.
12564 soname_spec=$lt_soname_spec
12566 # Commands used to build and install an old-style archive.
12568 old_archive_cmds=$lt_old_archive_cmds_CXX
12569 old_postinstall_cmds=$lt_old_postinstall_cmds
12570 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12572 # Create an old-style archive from a shared archive.
12573 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12575 # Create a temporary old-style archive to link instead of a shared archive.
12576 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12578 # Commands used to build and install a shared archive.
12579 archive_cmds=$lt_archive_cmds_CXX
12580 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12581 postinstall_cmds=$lt_postinstall_cmds
12582 postuninstall_cmds=$lt_postuninstall_cmds
12584 # Commands used to build a loadable module (assumed same as above if empty)
12585 module_cmds=$lt_module_cmds_CXX
12586 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12588 # Commands to strip libraries.
12589 old_striplib=$lt_old_striplib
12590 striplib=$lt_striplib
12592 # Dependencies to place before the objects being linked to create a
12594 predep_objects=$lt_predep_objects_CXX
12596 # Dependencies to place after the objects being linked to create a
12598 postdep_objects=$lt_postdep_objects_CXX
12600 # Dependencies to place before the objects being linked to create a
12602 predeps=$lt_predeps_CXX
12604 # Dependencies to place after the objects being linked to create a
12606 postdeps=$lt_postdeps_CXX
12608 # The library search path used internally by the compiler when linking
12609 # a shared library.
12610 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12612 # Method to check whether dependent libraries are shared objects.
12613 deplibs_check_method=$lt_deplibs_check_method
12615 # Command to use when deplibs_check_method == file_magic.
12616 file_magic_cmd=$lt_file_magic_cmd
12618 # Flag that allows shared libraries with undefined symbols to be built.
12619 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12621 # Flag that forces no undefined symbols.
12622 no_undefined_flag=$lt_no_undefined_flag_CXX
12624 # Commands used to finish a libtool library installation in a directory.
12625 finish_cmds=$lt_finish_cmds
12627 # Same as above, but a single script fragment to be evaled but not shown.
12628 finish_eval=$lt_finish_eval
12630 # Take the output of nm and produce a listing of raw symbols and C names.
12631 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12633 # Transform the output of nm in a proper C declaration
12634 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12636 # Transform the output of nm in a C name address pair
12637 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12639 # This is the shared library runtime path variable.
12640 runpath_var=$runpath_var
12642 # This is the shared library path variable.
12643 shlibpath_var=$shlibpath_var
12645 # Is shlibpath searched before the hard-coded library search path?
12646 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12648 # How to hardcode a shared library path into an executable.
12649 hardcode_action=$hardcode_action_CXX
12651 # Whether we should hardcode library paths into libraries.
12652 hardcode_into_libs=$hardcode_into_libs
12654 # Flag to hardcode \$libdir into a binary during linking.
12655 # This must work even if \$libdir does not exist.
12656 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12658 # If ld is used when linking, flag to hardcode \$libdir into
12659 # a binary during linking. This must work even if \$libdir does
12661 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12663 # Whether we need a single -rpath flag with a separated argument.
12664 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12666 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12667 # resulting binary.
12668 hardcode_direct=$hardcode_direct_CXX
12670 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12671 # resulting binary.
12672 hardcode_minus_L=$hardcode_minus_L_CXX
12674 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12675 # the resulting binary.
12676 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12678 # Set to yes if building a shared library automatically hardcodes DIR into the library
12679 # and all subsequent libraries and executables linked against it.
12680 hardcode_automatic=$hardcode_automatic_CXX
12682 # Variables whose values should be saved in libtool wrapper scripts and
12683 # restored at relink time.
12684 variables_saved_for_relink="$variables_saved_for_relink"
12686 # Whether libtool must link a program against all its dependency libraries.
12687 link_all_deplibs=$link_all_deplibs_CXX
12689 # Compile-time system search path for libraries
12690 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12692 # Run-time system search path for libraries
12693 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12695 # Fix the shell variable \$srcfile for the compiler.
12696 fix_srcfile_path="$fix_srcfile_path_CXX"
12698 # Set to yes if exported symbols are required.
12699 always_export_symbols=$always_export_symbols_CXX
12701 # The commands to list exported symbols.
12702 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12704 # The commands to extract the exported symbol list from a shared archive.
12705 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12707 # Symbols that should not be listed in the preloaded symbols.
12708 exclude_expsyms=$lt_exclude_expsyms_CXX
12710 # Symbols that must always be exported.
12711 include_expsyms=$lt_include_expsyms_CXX
12713 # ### END LIBTOOL TAG CONFIG: $tagname
12719 # If there is no Makefile yet, we rely on a make rule to execute
12720 # `config.status --recheck' to rerun these tests and create the
12721 # libtool script then.
12722 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12723 if test -f "$ltmain_in"; then
12724 test -f Makefile
&& make "$ltmain"
12730 ac_cpp
='$CPP $CPPFLAGS'
12731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12739 with_gnu_ldcxx
=$with_gnu_ld
12740 with_gnu_ld
=$lt_save_with_gnu_ld
12741 lt_cv_path_LDCXX
=$lt_cv_path_LD
12742 lt_cv_path_LD
=$lt_save_path_LD
12743 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12744 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
12752 if test -n "$F77" && test "X$F77" != "Xno"; then
12755 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12756 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12757 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
12760 archive_cmds_need_lc_F77
=no
12761 allow_undefined_flag_F77
=
12762 always_export_symbols_F77
=no
12763 archive_expsym_cmds_F77
=
12764 export_dynamic_flag_spec_F77
=
12765 hardcode_direct_F77
=no
12766 hardcode_libdir_flag_spec_F77
=
12767 hardcode_libdir_flag_spec_ld_F77
=
12768 hardcode_libdir_separator_F77
=
12769 hardcode_minus_L_F77
=no
12770 hardcode_automatic_F77
=no
12772 module_expsym_cmds_F77
=
12773 link_all_deplibs_F77
=unknown
12774 old_archive_cmds_F77
=$old_archive_cmds
12775 no_undefined_flag_F77
=
12776 whole_archive_flag_spec_F77
=
12777 enable_shared_with_static_runtimes_F77
=no
12779 # Source file extension for f77 test sources.
12782 # Object file extension for compiled f77 test sources.
12786 # Code to be used in simple compile tests
12787 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
12789 # Code to be used in simple link tests
12790 lt_simple_link_test_code
=" program t\n end\n"
12792 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12794 # If no C compiler was specified, use CC.
12797 # If no C compiler flags were specified, use CFLAGS.
12798 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12800 # Allow CC to be a program name with arguments.
12804 # save warnings/boilerplate of simple test code
12805 ac_outfile
=conftest.
$ac_objext
12806 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
12807 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12808 _lt_compiler_boilerplate
=`cat conftest.err`
12811 ac_outfile
=conftest.
$ac_objext
12812 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
12813 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12814 _lt_linker_boilerplate
=`cat conftest.err`
12818 # Allow CC to be a program name with arguments.
12823 for cc_temp
in $compiler""; do
12825 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12826 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12831 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12834 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12835 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12836 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12837 echo "${ECHO_T}$can_build_shared" >&6
12839 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12840 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12841 test "$can_build_shared" = "no" && enable_shared
=no
12843 # On AIX, shared libraries and static libraries use the same namespace, and
12844 # are all built from PIC.
12847 test "$enable_shared" = yes && enable_static
=no
12848 if test -n "$RANLIB"; then
12849 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12850 postinstall_cmds
='$RANLIB $lib'
12854 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12855 test "$enable_shared" = yes && enable_static
=no
12859 echo "$as_me:$LINENO: result: $enable_shared" >&5
12860 echo "${ECHO_T}$enable_shared" >&6
12862 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12863 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12864 # Make sure either enable_shared or enable_static is yes.
12865 test "$enable_shared" = yes || enable_static
=yes
12866 echo "$as_me:$LINENO: result: $enable_static" >&5
12867 echo "${ECHO_T}$enable_static" >&6
12872 lt_prog_compiler_wl_F77
=
12873 lt_prog_compiler_pic_F77
=
12874 lt_prog_compiler_static_F77
=
12876 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12877 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12879 if test "$GCC" = yes; then
12880 lt_prog_compiler_wl_F77
='-Wl,'
12881 lt_prog_compiler_static_F77
='-static'
12885 # All AIX code is PIC.
12886 if test "$host_cpu" = ia64
; then
12887 # AIX 5 now supports IA64 processor
12888 lt_prog_compiler_static_F77
='-Bstatic'
12893 # FIXME: we need at least 68020 code to build shared libraries, but
12894 # adding the `-m68020' flag to GCC prevents building anything better,
12896 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
12899 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12900 # PIC is the default for these OSes.
12903 mingw
* | pw32
* | os2
*)
12904 # This hack is so that the source file can tell whether it is being
12905 # built for inclusion in a dll (and should export symbols for example).
12906 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
12909 darwin
* | rhapsody
*)
12910 # PIC is the default on this platform
12911 # Common symbols not allowed in MH_DYLIB files
12912 lt_prog_compiler_pic_F77
='-fno-common'
12916 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12917 # Instead, we relocate shared libraries at runtime.
12921 # Just because we use GCC doesn't mean we suddenly get shared libraries
12922 # on systems that don't support them.
12923 lt_prog_compiler_can_build_shared_F77
=no
12928 if test -d /usr
/nec
; then
12929 lt_prog_compiler_pic_F77
=-Kconform_pic
12934 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12935 # not for PA HP-UX.
12941 lt_prog_compiler_pic_F77
='-fPIC'
12947 lt_prog_compiler_pic_F77
='-fPIC'
12951 # PORTME Check for flag to pass linker flags through the system compiler.
12954 lt_prog_compiler_wl_F77
='-Wl,'
12955 if test "$host_cpu" = ia64
; then
12956 # AIX 5 now supports IA64 processor
12957 lt_prog_compiler_static_F77
='-Bstatic'
12959 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
12963 # PIC is the default on this platform
12964 # Common symbols not allowed in MH_DYLIB files
12965 case $cc_basename in
12967 lt_prog_compiler_pic_F77
='-qnocommon'
12968 lt_prog_compiler_wl_F77
='-Wl,'
12973 mingw
* | pw32
* | os2
*)
12974 # This hack is so that the source file can tell whether it is being
12975 # built for inclusion in a dll (and should export symbols for example).
12976 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
12979 hpux9
* | hpux10
* | hpux11
*)
12980 lt_prog_compiler_wl_F77
='-Wl,'
12981 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12982 # not for PA HP-UX.
12988 lt_prog_compiler_pic_F77
='+Z'
12991 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12992 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
12995 irix5
* | irix6
* | nonstopux
*)
12996 lt_prog_compiler_wl_F77
='-Wl,'
12997 # PIC (with -KPIC) is the default.
12998 lt_prog_compiler_static_F77
='-non_shared'
13002 lt_prog_compiler_pic_F77
='-KPIC'
13003 lt_prog_compiler_static_F77
='-Bstatic'
13007 case $cc_basename in
13009 lt_prog_compiler_wl_F77
='-Wl,'
13010 lt_prog_compiler_pic_F77
='-KPIC'
13011 lt_prog_compiler_static_F77
='-static'
13013 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13014 # Portland Group compilers (*not* the Pentium gcc compiler,
13015 # which looks to be a dead project)
13016 lt_prog_compiler_wl_F77
='-Wl,'
13017 lt_prog_compiler_pic_F77
='-fpic'
13018 lt_prog_compiler_static_F77
='-Bstatic'
13021 lt_prog_compiler_wl_F77
='-Wl,'
13022 # All Alpha code is PIC.
13023 lt_prog_compiler_static_F77
='-non_shared'
13028 osf3
* | osf4
* | osf5
*)
13029 lt_prog_compiler_wl_F77
='-Wl,'
13030 # All OSF/1 code is PIC.
13031 lt_prog_compiler_static_F77
='-non_shared'
13035 lt_prog_compiler_pic_F77
='-KPIC'
13036 lt_prog_compiler_static_F77
='-Bstatic'
13037 case $cc_basename in
13038 f77
* | f90
* | f95
*)
13039 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13041 lt_prog_compiler_wl_F77
='-Wl,';;
13046 lt_prog_compiler_wl_F77
='-Qoption ld '
13047 lt_prog_compiler_pic_F77
='-PIC'
13048 lt_prog_compiler_static_F77
='-Bstatic'
13051 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13052 lt_prog_compiler_wl_F77
='-Wl,'
13053 lt_prog_compiler_pic_F77
='-KPIC'
13054 lt_prog_compiler_static_F77
='-Bstatic'
13058 if test -d /usr
/nec
;then
13059 lt_prog_compiler_pic_F77
='-Kconform_pic'
13060 lt_prog_compiler_static_F77
='-Bstatic'
13064 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13065 lt_prog_compiler_wl_F77
='-Wl,'
13066 lt_prog_compiler_pic_F77
='-KPIC'
13067 lt_prog_compiler_static_F77
='-Bstatic'
13071 lt_prog_compiler_wl_F77
='-Wl,'
13072 lt_prog_compiler_can_build_shared_F77
=no
13076 lt_prog_compiler_pic_F77
='-pic'
13077 lt_prog_compiler_static_F77
='-Bstatic'
13081 lt_prog_compiler_can_build_shared_F77
=no
13086 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13087 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13090 # Check to make sure the PIC flag actually works.
13092 if test -n "$lt_prog_compiler_pic_F77"; then
13094 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13095 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13096 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13097 echo $ECHO_N "(cached) $ECHO_C" >&6
13099 lt_prog_compiler_pic_works_F77
=no
13100 ac_outfile
=conftest.
$ac_objext
13101 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13102 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13103 # Insert the option either (1) after the last *FLAGS variable, or
13104 # (2) before a word containing "conftest.", or (3) at the end.
13105 # Note that $ac_compile itself does not contain backslashes and begins
13106 # with a dollar sign (not a hyphen), so the echo should work correctly.
13107 # The option is referenced via a variable to avoid confusing sed.
13108 lt_compile
=`echo "$ac_compile" | $SED \
13109 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13110 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13111 -e 's:$: $lt_compiler_flag:'`
13112 (eval echo "\"\$as_me:13112: $lt_compile\"" >&5)
13113 (eval "$lt_compile" 2>conftest.err
)
13115 cat conftest.err
>&5
13116 echo "$as_me:13116: \$? = $ac_status" >&5
13117 if (exit $ac_status) && test -s "$ac_outfile"; then
13118 # The compiler can only warn and ignore the option if not recognized
13119 # So say no if there are warnings other than the usual output.
13120 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13121 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13122 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13123 lt_prog_compiler_pic_works_F77
=yes
13129 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13130 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13132 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13133 case $lt_prog_compiler_pic_F77 in
13135 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13138 lt_prog_compiler_pic_F77
=
13139 lt_prog_compiler_can_build_shared_F77
=no
13144 # For platforms which do not support PIC, -DPIC is meaningless:
13146 lt_prog_compiler_pic_F77
=
13149 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13154 # Check to make sure the static flag actually works.
13156 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13157 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13158 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13159 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13160 echo $ECHO_N "(cached) $ECHO_C" >&6
13162 lt_prog_compiler_static_works_F77
=no
13163 save_LDFLAGS
="$LDFLAGS"
13164 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13165 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13166 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13167 # The linker can only warn and ignore the option if not recognized
13168 # So say no if there are warnings
13169 if test -s conftest.err
; then
13170 # Append any errors to the config.log.
13171 cat conftest.err
1>&5
13172 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13173 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13174 if diff conftest.exp conftest.er2
>/dev
/null
; then
13175 lt_prog_compiler_static_works_F77
=yes
13178 lt_prog_compiler_static_works_F77
=yes
13182 LDFLAGS
="$save_LDFLAGS"
13185 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13186 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13188 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13191 lt_prog_compiler_static_F77
=
13195 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13196 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13197 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13198 echo $ECHO_N "(cached) $ECHO_C" >&6
13200 lt_cv_prog_compiler_c_o_F77
=no
13201 $rm -r conftest
2>/dev
/null
13205 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13207 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13208 # Insert the option either (1) after the last *FLAGS variable, or
13209 # (2) before a word containing "conftest.", or (3) at the end.
13210 # Note that $ac_compile itself does not contain backslashes and begins
13211 # with a dollar sign (not a hyphen), so the echo should work correctly.
13212 lt_compile
=`echo "$ac_compile" | $SED \
13213 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13214 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13215 -e 's:$: $lt_compiler_flag:'`
13216 (eval echo "\"\$as_me:13216: $lt_compile\"" >&5)
13217 (eval "$lt_compile" 2>out
/conftest.err
)
13219 cat out
/conftest.err
>&5
13220 echo "$as_me:13220: \$? = $ac_status" >&5
13221 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13223 # The compiler can only warn and ignore the option if not recognized
13224 # So say no if there are warnings
13225 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13226 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13227 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13228 lt_cv_prog_compiler_c_o_F77
=yes
13233 # SGI C++ compiler will create directory out/ii_files/ for
13234 # template instantiation
13235 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13236 $rm out
/* && rmdir out
13242 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13243 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13246 hard_links
="nottested"
13247 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13248 # do not overwrite the value of need_locks provided by the user
13249 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13250 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13253 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13255 ln conftest.a conftest.b
2>&5 || hard_links
=no
13256 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13257 echo "$as_me:$LINENO: result: $hard_links" >&5
13258 echo "${ECHO_T}$hard_links" >&6
13259 if test "$hard_links" = no
; then
13260 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13261 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13268 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13269 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13272 allow_undefined_flag_F77
=
13273 enable_shared_with_static_runtimes_F77
=no
13275 archive_expsym_cmds_F77
=
13276 old_archive_From_new_cmds_F77
=
13277 old_archive_from_expsyms_cmds_F77
=
13278 export_dynamic_flag_spec_F77
=
13279 whole_archive_flag_spec_F77
=
13280 thread_safe_flag_spec_F77
=
13281 hardcode_libdir_flag_spec_F77
=
13282 hardcode_libdir_flag_spec_ld_F77
=
13283 hardcode_libdir_separator_F77
=
13284 hardcode_direct_F77
=no
13285 hardcode_minus_L_F77
=no
13286 hardcode_shlibpath_var_F77
=unsupported
13287 link_all_deplibs_F77
=unknown
13288 hardcode_automatic_F77
=no
13290 module_expsym_cmds_F77
=
13291 always_export_symbols_F77
=no
13292 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13293 # include_expsyms should be a list of space-separated symbols to be *always*
13294 # included in the symbol list
13295 include_expsyms_F77
=
13296 # exclude_expsyms can be an extended regexp of symbols to exclude
13297 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13298 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13299 # as well as any symbol that contains `d'.
13300 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13301 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13302 # platforms (ab)use it in PIC code, but their linkers get confused if
13303 # the symbol is explicitly referenced. Since portable code cannot
13304 # rely on this symbol name, it's probably fine to never include it in
13305 # preloaded symbol tables.
13306 extract_expsyms_cmds
=
13307 # Just being paranoid about ensuring that cc_basename is set.
13308 for cc_temp
in $compiler""; do
13310 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13311 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13316 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13319 cygwin
* | mingw
* | pw32
*)
13320 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13321 # When not using gcc, we currently assume that we are using
13322 # Microsoft Visual C++.
13323 if test "$GCC" != yes; then
13328 # we just hope/assume this is gcc and not c89 (= MSVC++)
13337 if test "$with_gnu_ld" = yes; then
13338 # If archive_cmds runs LD, not CC, wlarc should be empty
13341 # Set some defaults for GNU ld with shared library support. These
13342 # are reset later if shared libraries are not supported. Putting them
13343 # here allows them to be overridden if necessary.
13344 runpath_var
=LD_RUN_PATH
13345 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13346 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13347 # ancient GNU ld didn't support --whole-archive et. al.
13348 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13349 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13351 whole_archive_flag_spec_F77
=
13353 supports_anon_versioning
=no
13354 case `$LD -v 2>/dev/null` in
13355 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13356 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13357 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13358 *\
2.11.
*) ;; # other 2.11 versions
13359 *) supports_anon_versioning
=yes ;;
13362 # See if GNU ld supports shared libraries.
13364 aix3
* | aix4
* | aix5
*)
13365 # On AIX/PPC, the GNU linker is very broken
13366 if test "$host_cpu" != ia64
; then
13370 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13371 *** to be unable to reliably create shared libraries on AIX.
13372 *** Therefore, libtool is disabling shared libraries support. If you
13373 *** really care for shared libraries, you may want to modify your PATH
13374 *** so that a non-GNU linker is found, and then restart.
13381 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)'
13382 hardcode_libdir_flag_spec_F77
='-L$libdir'
13383 hardcode_minus_L_F77
=yes
13385 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13386 # that the semantics of dynamic libraries on AmigaOS, at least up
13387 # to version 4, is to share data among multiple programs linked
13388 # with the same dynamic library. Since this doesn't match the
13389 # behavior of shared libraries on other platforms, we can't use
13395 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13396 allow_undefined_flag_F77
=unsupported
13397 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13398 # support --undefined. This deserves some investigation. FIXME
13399 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13405 cygwin
* | mingw
* | pw32
*)
13406 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13407 # as there is no search path for DLLs.
13408 hardcode_libdir_flag_spec_F77
='-L$libdir'
13409 allow_undefined_flag_F77
=unsupported
13410 always_export_symbols_F77
=no
13411 enable_shared_with_static_runtimes_F77
=yes
13412 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13414 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13415 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13416 # If the export-symbols file already is a .def file (1st line
13417 # is EXPORTS), use it as is; otherwise, prepend...
13418 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13419 cp $export_symbols $output_objdir/$soname.def;
13421 echo EXPORTS > $output_objdir/$soname.def;
13422 cat $export_symbols >> $output_objdir/$soname.def;
13424 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13431 hardcode_direct_F77
=no
13432 hardcode_shlibpath_var_F77
=no
13433 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13434 export_dynamic_flag_spec_F77
='${wl}-E'
13435 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13436 # Instead, shared libraries are loaded at an image base (0x10000000 by
13437 # default) and relocated if they conflict, which is a slow very memory
13438 # consuming and fragmenting process. To avoid this, we pick a random,
13439 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13440 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13441 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13442 archive_expsym_cmds_F77
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13446 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13448 case $cc_basename,$host_cpu in
13449 pgcc
*) # Portland Group C compiler
13450 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13451 tmp_addflag
=' $pic_flag'
13453 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13454 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13455 tmp_addflag
=' $pic_flag -Mnomain' ;;
13456 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13457 tmp_addflag
=' -i_dynamic' ;;
13458 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13459 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13460 ifc
* | ifort
*) # Intel Fortran compiler
13461 tmp_addflag
=' -nofor_main' ;;
13463 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13465 if test $supports_anon_versioning = yes; then
13466 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13467 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13468 $echo "local: *; };" >> $output_objdir/$libname.ver~
13469 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13477 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13478 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13481 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13482 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13487 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13491 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13492 *** create shared libraries on Solaris systems. Therefore, libtool
13493 *** is disabling shared libraries support. We urge you to upgrade GNU
13494 *** binutils to release 2.9.1 or newer. Another option is to modify
13495 *** your PATH or compiler configuration so that the native linker is
13496 *** used, and then restart.
13499 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13500 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13501 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13507 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13508 case `$LD -v 2>&1` in
13509 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13513 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13514 *** reliably create shared libraries on SCO systems. Therefore, libtool
13515 *** is disabling shared libraries support. We urge you to upgrade GNU
13516 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13517 *** your PATH or compiler configuration so that the native linker is
13518 *** used, and then restart.
13523 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13524 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13525 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13526 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13535 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13537 hardcode_direct_F77
=yes
13538 hardcode_shlibpath_var_F77
=no
13542 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13543 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13544 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13551 if test "$ld_shlibs_F77" = no
; then
13553 hardcode_libdir_flag_spec_F77
=
13554 export_dynamic_flag_spec_F77
=
13555 whole_archive_flag_spec_F77
=
13558 # PORTME fill in a description of your system's linker (not GNU ld)
13561 allow_undefined_flag_F77
=unsupported
13562 always_export_symbols_F77
=yes
13563 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'
13564 # Note: this linker hardcodes the directories in LIBPATH if there
13565 # are no directories specified by -L.
13566 hardcode_minus_L_F77
=yes
13567 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13568 # Neither direct hardcoding nor static linking is supported with a
13570 hardcode_direct_F77
=unsupported
13575 if test "$host_cpu" = ia64
; then
13576 # On IA64, the linker does run time linking by default, so we don't
13577 # have to do anything special.
13578 aix_use_runtimelinking
=no
13579 exp_sym_flag
='-Bexport'
13582 # If we're using GNU nm, then we don't want the "-C" option.
13583 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13584 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13585 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'
13587 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'
13589 aix_use_runtimelinking
=no
13591 # Test if we are trying to use run time linking or normal
13592 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13593 # need to do runtime linking.
13594 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13595 for ld_flag
in $LDFLAGS; do
13596 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13597 aix_use_runtimelinking
=yes
13604 exp_sym_flag
='-bexport'
13605 no_entry_flag
='-bnoentry'
13608 # When large executables or shared objects are built, AIX ld can
13609 # have problems creating the table of contents. If linking a library
13610 # or program results in "error TOC overflow" add -mminimal-toc to
13611 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13612 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13614 archive_cmds_F77
=''
13615 hardcode_direct_F77
=yes
13616 hardcode_libdir_separator_F77
=':'
13617 link_all_deplibs_F77
=yes
13619 if test "$GCC" = yes; then
13620 case $host_os in aix4.
[012]|aix4.
[012].
*)
13621 # We only want to do this on AIX 4.2 and lower, the check
13622 # below for broken collect2 doesn't work under 4.3+
13623 collect2name
=`${CC} -print-prog-name=collect2`
13624 if test -f "$collect2name" && \
13625 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13627 # We have reworked collect2
13628 hardcode_direct_F77
=yes
13630 # We have old collect2
13631 hardcode_direct_F77
=unsupported
13632 # It fails to find uninstalled libraries when the uninstalled
13633 # path is not listed in the libpath. Setting hardcode_minus_L
13634 # to unsupported forces relinking
13635 hardcode_minus_L_F77
=yes
13636 hardcode_libdir_flag_spec_F77
='-L$libdir'
13637 hardcode_libdir_separator_F77
=
13641 shared_flag
='-shared'
13642 if test "$aix_use_runtimelinking" = yes; then
13643 shared_flag
="$shared_flag "'${wl}-G'
13647 if test "$host_cpu" = ia64
; then
13648 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13649 # chokes on -Wl,-G. The following line is correct:
13652 if test "$aix_use_runtimelinking" = yes; then
13653 shared_flag
='${wl}-G'
13655 shared_flag
='${wl}-bM:SRE'
13660 # It seems that -bexpall does not export symbols beginning with
13661 # underscore (_), so it is better to generate a list of symbols to export.
13662 always_export_symbols_F77
=yes
13663 if test "$aix_use_runtimelinking" = yes; then
13664 # Warning - without using the other runtime loading flags (-brtl),
13665 # -berok will link without error, but may produce a broken library.
13666 allow_undefined_flag_F77
='-berok'
13667 # Determine the default libpath from the value encoded in an empty executable.
13668 cat >conftest.
$ac_ext <<_ACEOF
13673 rm -f conftest.
$ac_objext conftest
$ac_exeext
13674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13675 (eval $ac_link) 2>conftest.er1
13677 grep -v '^ *+' conftest.er1
>conftest.err
13679 cat conftest.err
>&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); } &&
13682 { ac_try
='test -z "$ac_f77_werror_flag"
13683 || test ! -s conftest.err'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; } &&
13689 { ac_try
='test -s conftest$ac_exeext'
13690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13691 (eval $ac_try) 2>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); }; }; then
13696 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13698 # Check for a 64-bit object if we didn't find anything.
13699 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; }
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.
$ac_ext >&5
13706 rm -f conftest.err conftest.
$ac_objext \
13707 conftest
$ac_exeext conftest.
$ac_ext
13708 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13710 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13711 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13713 if test "$host_cpu" = ia64
; then
13714 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
13715 allow_undefined_flag_F77
="-z nodefs"
13716 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13718 # Determine the default libpath from the value encoded in an empty executable.
13719 cat >conftest.
$ac_ext <<_ACEOF
13724 rm -f conftest.
$ac_objext conftest
$ac_exeext
13725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13726 (eval $ac_link) 2>conftest.er1
13728 grep -v '^ *+' conftest.er1
>conftest.err
13730 cat conftest.err
>&5
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); } &&
13733 { ac_try
='test -z "$ac_f77_werror_flag"
13734 || test ! -s conftest.err'
13735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13736 (eval $ac_try) 2>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); }; } &&
13740 { ac_try
='test -s conftest$ac_exeext'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; }; then
13747 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13749 # Check for a 64-bit object if we didn't find anything.
13750 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; }
13753 echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.
$ac_ext >&5
13757 rm -f conftest.err conftest.
$ac_objext \
13758 conftest
$ac_exeext conftest.
$ac_ext
13759 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13761 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13762 # Warning - without using the other run time loading flags,
13763 # -berok will link without error, but may produce a broken library.
13764 no_undefined_flag_F77
=' ${wl}-bernotok'
13765 allow_undefined_flag_F77
=' ${wl}-berok'
13766 # Exported symbols can be pulled into shared objects from archives
13767 whole_archive_flag_spec_F77
='$convenience'
13768 archive_cmds_need_lc_F77
=yes
13769 # This is similar to how AIX traditionally builds its shared libraries.
13770 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13776 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)'
13777 hardcode_libdir_flag_spec_F77
='-L$libdir'
13778 hardcode_minus_L_F77
=yes
13779 # see comment about different semantics on the GNU ld section
13784 export_dynamic_flag_spec_F77
=-rdynamic
13787 cygwin
* | mingw
* | pw32
*)
13788 # When not using gcc, we currently assume that we are using
13789 # Microsoft Visual C++.
13790 # hardcode_libdir_flag_spec is actually meaningless, as there is
13791 # no search path for DLLs.
13792 hardcode_libdir_flag_spec_F77
=' '
13793 allow_undefined_flag_F77
=unsupported
13794 # Tell ltmain to make .lib files, not .a files.
13796 # Tell ltmain to make .dll files, not .so files.
13798 # FIXME: Setting linknames here is a bad hack.
13799 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13800 # The linker will automatically build a .lib file if we build a DLL.
13801 old_archive_From_new_cmds_F77
='true'
13802 # FIXME: Should let the user specify the lib program.
13803 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
13804 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
13805 enable_shared_with_static_runtimes_F77
=yes
13808 darwin
* | rhapsody
*)
13810 rhapsody
* | darwin1.
[012])
13811 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
13814 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13815 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13817 case ${MACOSX_DEPLOYMENT_TARGET} in
13819 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13822 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
13828 archive_cmds_need_lc_F77
=no
13829 hardcode_direct_F77
=no
13830 hardcode_automatic_F77
=yes
13831 hardcode_shlibpath_var_F77
=unsupported
13832 whole_archive_flag_spec_F77
=''
13833 link_all_deplibs_F77
=yes
13834 if test "$GCC" = yes ; then
13835 output_verbose_link_cmd
='echo'
13836 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13837 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13838 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13839 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}'
13840 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}'
13842 case $cc_basename in
13844 output_verbose_link_cmd
='echo'
13845 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13846 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13847 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13848 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}'
13849 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}'
13859 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13860 hardcode_libdir_flag_spec_F77
='-L$libdir'
13861 hardcode_shlibpath_var_F77
=no
13868 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13869 # support. Future versions do this automatically, but an explicit c++rt0.o
13870 # does not break anything, and helps significantly (at the cost of a little
13873 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13874 hardcode_libdir_flag_spec_F77
='-R$libdir'
13875 hardcode_direct_F77
=yes
13876 hardcode_shlibpath_var_F77
=no
13879 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13881 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13882 hardcode_direct_F77
=yes
13883 hardcode_minus_L_F77
=yes
13884 hardcode_shlibpath_var_F77
=no
13887 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13888 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
13889 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13890 hardcode_libdir_flag_spec_F77
='-R$libdir'
13891 hardcode_direct_F77
=yes
13892 hardcode_shlibpath_var_F77
=no
13896 if test "$GCC" = yes; then
13897 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'
13899 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'
13901 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
13902 hardcode_libdir_separator_F77
=:
13903 hardcode_direct_F77
=yes
13905 # hardcode_minus_L: Not really in the search PATH,
13906 # but as the default location of the library.
13907 hardcode_minus_L_F77
=yes
13908 export_dynamic_flag_spec_F77
='${wl}-E'
13912 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
13913 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13915 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13917 if test "$with_gnu_ld" = no
; then
13918 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
13919 hardcode_libdir_separator_F77
=:
13921 hardcode_direct_F77
=yes
13922 export_dynamic_flag_spec_F77
='${wl}-E'
13924 # hardcode_minus_L: Not really in the search PATH,
13925 # but as the default location of the library.
13926 hardcode_minus_L_F77
=yes
13931 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
13934 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13937 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13940 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13946 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13949 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13952 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13956 if test "$with_gnu_ld" = no
; then
13957 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
13958 hardcode_libdir_separator_F77
=:
13962 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
13963 hardcode_direct_F77
=no
13964 hardcode_shlibpath_var_F77
=no
13967 hardcode_direct_F77
=yes
13968 export_dynamic_flag_spec_F77
='${wl}-E'
13970 # hardcode_minus_L: Not really in the search PATH,
13971 # but as the default location of the library.
13972 hardcode_minus_L_F77
=yes
13978 irix5
* | irix6
* | nonstopux
*)
13979 if test "$GCC" = yes; then
13980 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'
13982 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'
13983 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
13985 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
13986 hardcode_libdir_separator_F77
=:
13987 link_all_deplibs_F77
=yes
13991 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13992 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13994 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13996 hardcode_libdir_flag_spec_F77
='-R$libdir'
13997 hardcode_direct_F77
=yes
13998 hardcode_shlibpath_var_F77
=no
14002 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14003 hardcode_direct_F77
=yes
14004 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14005 hardcode_libdir_separator_F77
=:
14006 hardcode_shlibpath_var_F77
=no
14010 hardcode_direct_F77
=yes
14011 hardcode_shlibpath_var_F77
=no
14012 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14013 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14014 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14015 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14016 export_dynamic_flag_spec_F77
='${wl}-E'
14019 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14020 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14021 hardcode_libdir_flag_spec_F77
='-R$libdir'
14024 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14025 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14032 hardcode_libdir_flag_spec_F77
='-L$libdir'
14033 hardcode_minus_L_F77
=yes
14034 allow_undefined_flag_F77
=unsupported
14035 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'
14036 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14040 if test "$GCC" = yes; then
14041 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14042 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'
14044 allow_undefined_flag_F77
=' -expect_unresolved \*'
14045 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'
14047 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14048 hardcode_libdir_separator_F77
=:
14051 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14052 if test "$GCC" = yes; then
14053 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14054 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'
14055 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14057 allow_undefined_flag_F77
=' -expect_unresolved \*'
14058 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'
14059 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~
14060 $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'
14062 # Both c and cxx compiler support -rpath directly
14063 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14065 hardcode_libdir_separator_F77
=:
14069 no_undefined_flag_F77
=' -z text'
14070 if test "$GCC" = yes; then
14072 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14073 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14074 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14077 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14078 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14079 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14081 hardcode_libdir_flag_spec_F77
='-R$libdir'
14082 hardcode_shlibpath_var_F77
=no
14084 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14086 # The compiler driver will combine linker options so we
14087 # cannot just pass the convience library names through
14088 # without $wl, iff we do not link with $LD.
14089 # Luckily, gcc supports the same syntax we need for Sun Studio.
14090 # Supported since Solaris 2.6 (maybe 2.5.1?)
14093 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14095 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' ;;
14098 link_all_deplibs_F77
=yes
14102 if test "x$host_vendor" = xsequent
; then
14103 # Use $CC to link under sequent, because it throws in some extra .o
14104 # files that make .init and .fini sections work.
14105 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14107 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14109 hardcode_libdir_flag_spec_F77
='-L$libdir'
14110 hardcode_direct_F77
=yes
14111 hardcode_minus_L_F77
=yes
14112 hardcode_shlibpath_var_F77
=no
14116 case $host_vendor in
14118 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14119 hardcode_direct_F77
=yes # is this really true???
14122 ## LD is ld it makes a PLAMLIB
14123 ## CC just makes a GrossModule.
14124 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14125 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14126 hardcode_direct_F77
=no
14129 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14130 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14133 runpath_var
='LD_RUN_PATH'
14134 hardcode_shlibpath_var_F77
=no
14138 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14139 hardcode_shlibpath_var_F77
=no
14140 export_dynamic_flag_spec_F77
='-Bexport'
14144 if test -d /usr
/nec
; then
14145 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14146 hardcode_shlibpath_var_F77
=no
14147 runpath_var
=LD_RUN_PATH
14148 hardcode_runpath_var
=yes
14153 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14154 no_undefined_flag_F77
='${wl}-z,text'
14155 archive_cmds_need_lc_F77
=no
14156 hardcode_shlibpath_var_F77
=no
14157 runpath_var
='LD_RUN_PATH'
14159 if test "$GCC" = yes; then
14160 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14161 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14163 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14164 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14168 sysv5
* | sco3.2v5
* | sco5v6
*)
14169 # Note: We can NOT use -z defs as we might desire, because we do not
14170 # link with -lc, and that would cause any symbols used from libc to
14171 # always be unresolved, which means just about no library would
14172 # ever link correctly. If we're not using GNU ld we use -z text
14173 # though, which does catch some bad symbols but isn't as heavy-handed
14175 no_undefined_flag_F77
='${wl}-z,text'
14176 allow_undefined_flag_F77
='${wl}-z,nodefs'
14177 archive_cmds_need_lc_F77
=no
14178 hardcode_shlibpath_var_F77
=no
14179 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14180 hardcode_libdir_separator_F77
=':'
14181 link_all_deplibs_F77
=yes
14182 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14183 runpath_var
='LD_RUN_PATH'
14185 if test "$GCC" = yes; then
14186 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14187 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14189 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14190 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14195 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14196 hardcode_libdir_flag_spec_F77
='-L$libdir'
14197 hardcode_shlibpath_var_F77
=no
14206 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14207 echo "${ECHO_T}$ld_shlibs_F77" >&6
14208 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14211 # Do we need to explicitly link libc?
14213 case "x$archive_cmds_need_lc_F77" in
14215 # Assume -lc should be added
14216 archive_cmds_need_lc_F77
=yes
14218 if test "$enable_shared" = yes && test "$GCC" = yes; then
14219 case $archive_cmds_F77 in
14221 # FIXME: we may have to deal with multi-command sequences.
14224 # Test whether the compiler implicitly links with -lc since on some
14225 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14226 # to ld, don't add -lc before -lgcc.
14227 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14228 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14230 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233 (eval $ac_compile) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } 2>conftest.err
; then
14239 libobjs
=conftest.
$ac_objext
14241 wl
=$lt_prog_compiler_wl_F77
14242 pic_flag
=$lt_prog_compiler_pic_F77
14248 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14249 allow_undefined_flag_F77
=
14250 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14251 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); }
14256 archive_cmds_need_lc_F77
=no
14258 archive_cmds_need_lc_F77
=yes
14260 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14262 cat conftest.err
1>&5
14265 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14266 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14273 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14274 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14275 library_names_spec
=
14276 libname_spec
='lib$name'
14280 postuninstall_cmds
=
14284 shlibpath_overrides_runpath
=unknown
14286 dynamic_linker
="$host_os ld.so"
14287 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14288 if test "$GCC" = yes; then
14289 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14290 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14291 # if the path contains ";" then we assume it to be the separator
14292 # otherwise default to the standard path separator (i.e. ":") - it is
14293 # assumed that no part of a normal pathname contains ";" but that should
14294 # okay in the real world where ";" in dirpaths is itself problematic.
14295 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14297 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14300 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14302 need_lib_prefix
=unknown
14303 hardcode_into_libs
=no
14305 # when you set need_version to no, make sure it does not cause -set_version
14306 # flags to be left without arguments
14307 need_version
=unknown
14312 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14313 shlibpath_var
=LIBPATH
14315 # AIX 3 has no versioning support, so we append a major version to the name.
14316 soname_spec
='${libname}${release}${shared_ext}$major'
14323 hardcode_into_libs
=yes
14324 if test "$host_cpu" = ia64
; then
14325 # AIX 5 supports IA64
14326 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14327 shlibpath_var
=LD_LIBRARY_PATH
14329 # With GCC up to 2.95.x, collect2 would create an import file
14330 # for dependence libraries. The import file would start with
14331 # the line `#! .'. This would cause the generated library to
14332 # depend on `.', always an invalid library. This was fixed in
14333 # development snapshots of GCC prior to 3.0.
14335 aix4 | aix4.
[01] | aix4.
[01].
*)
14336 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14338 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14341 can_build_shared
=no
14345 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14346 # soname into executable. Probably we can add versioning support to
14347 # collect2, so additional links can be useful in future.
14348 if test "$aix_use_runtimelinking" = yes; then
14349 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14350 # instead of lib<name>.a to let people know that these are not
14351 # typical AIX shared libraries.
14352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14354 # We preserve .a as extension for shared libraries through AIX4.2
14355 # and later when we are not doing run time linking.
14356 library_names_spec
='${libname}${release}.a $libname.a'
14357 soname_spec
='${libname}${release}${shared_ext}$major'
14359 shlibpath_var
=LIBPATH
14364 library_names_spec
='$libname.ixlibrary $libname.a'
14365 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14366 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'
14370 library_names_spec
='${libname}${shared_ext}'
14371 dynamic_linker
="$host_os ld.so"
14372 shlibpath_var
=LIBRARY_PATH
14378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec
='${libname}${release}${shared_ext}$major'
14380 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14381 shlibpath_var
=LD_LIBRARY_PATH
14382 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14383 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14384 # the default ld.so.conf also contains /usr/contrib/lib and
14385 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14386 # libtool to hard-code these into programs
14389 cygwin
* | mingw
* | pw32
*)
14390 version_type
=windows
14395 case $GCC,$host_os in
14396 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14397 library_names_spec
='$libname.dll.a'
14398 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14399 postinstall_cmds
='base_file=`basename \${file}`~
14400 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14401 dldir=$destdir/`dirname \$dlpath`~
14402 test -d \$dldir || mkdir -p \$dldir~
14403 $install_prog $dir/$dlname \$dldir/$dlname~
14404 chmod a+x \$dldir/$dlname'
14405 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14406 dlpath=$dir/\$dldll~
14408 shlibpath_overrides_runpath
=yes
14412 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14413 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14414 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14417 # MinGW DLLs use traditional 'lib' prefix
14418 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14419 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14420 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14421 # It is most probably a Windows format PATH printed by
14422 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14423 # path with ; separators, and with drive letters. We can handle the
14424 # drive letters (cygwin fileutils understands them), so leave them,
14425 # especially as we might pass files found there to a mingw objdump,
14426 # which wouldn't understand a cygwinified path. Ahh.
14427 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14429 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14433 # pw32 DLLs use 'pw' prefix rather than 'lib'
14434 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14440 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14443 dynamic_linker
='Win32 ld.exe'
14444 # FIXME: first we should search . and the directory the executable is in
14448 darwin
* | rhapsody
*)
14449 dynamic_linker
="$host_os dyld"
14450 version_type
=darwin
14453 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14454 soname_spec
='${libname}${release}${major}$shared_ext'
14455 shlibpath_overrides_runpath
=yes
14456 shlibpath_var
=DYLD_LIBRARY_PATH
14457 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14458 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14459 if test "$GCC" = yes; then
14460 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"`
14462 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14464 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14472 soname_spec
='${libname}${release}${shared_ext}$major'
14473 shlibpath_var
=LD_LIBRARY_PATH
14484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14485 soname_spec
='${libname}${release}${shared_ext}$major'
14486 shlibpath_var
=LD_LIBRARY_PATH
14487 shlibpath_overrides_runpath
=no
14488 hardcode_into_libs
=yes
14489 dynamic_linker
='GNU ld.so'
14492 freebsd
* | dragonfly
*)
14493 # DragonFly does not have aout. When/if they implement a new
14494 # versioning mechanism, adjust this.
14495 if test -x /usr
/bin
/objformat
; then
14496 objformat
=`/usr/bin/objformat`
14499 freebsd
[123]*) objformat
=aout
;;
14500 *) objformat
=elf
;;
14503 version_type
=freebsd-
$objformat
14504 case $version_type in
14506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14511 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14515 shlibpath_var
=LD_LIBRARY_PATH
14518 shlibpath_overrides_runpath
=yes
14520 freebsd3.
[01]* | freebsdelf3.
[01]*)
14521 shlibpath_overrides_runpath
=yes
14522 hardcode_into_libs
=yes
14524 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14525 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14526 shlibpath_overrides_runpath
=no
14527 hardcode_into_libs
=yes
14529 freebsd
*) # from 4.6 on
14530 shlibpath_overrides_runpath
=yes
14531 hardcode_into_libs
=yes
14540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14541 soname_spec
='${libname}${release}${shared_ext}$major'
14542 shlibpath_var
=LD_LIBRARY_PATH
14543 hardcode_into_libs
=yes
14546 hpux9
* | hpux10
* | hpux11
*)
14547 # Give a soname corresponding to the major version so that dld.sl refuses to
14548 # link against other versions.
14555 hardcode_into_libs
=yes
14556 dynamic_linker
="$host_os dld.so"
14557 shlibpath_var
=LD_LIBRARY_PATH
14558 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14560 soname_spec
='${libname}${release}${shared_ext}$major'
14561 if test "X$HPUX_IA64_MODE" = X32
; then
14562 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14564 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14566 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14570 hardcode_into_libs
=yes
14571 dynamic_linker
="$host_os dld.sl"
14572 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14573 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14575 soname_spec
='${libname}${release}${shared_ext}$major'
14576 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14577 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14581 dynamic_linker
="$host_os dld.sl"
14582 shlibpath_var
=SHLIB_PATH
14583 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14585 soname_spec
='${libname}${release}${shared_ext}$major'
14588 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14589 postinstall_cmds
='chmod 555 $lib'
14596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14597 soname_spec
='${libname}${release}${shared_ext}$major'
14598 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14599 shlibpath_var
=LD_LIBRARY_PATH
14600 shlibpath_overrides_runpath
=no
14601 hardcode_into_libs
=yes
14604 irix5
* | irix6
* | nonstopux
*)
14606 nonstopux
*) version_type
=nonstopux
;;
14608 if test "$lt_cv_prog_gnu_ld" = yes; then
14616 soname_spec
='${libname}${release}${shared_ext}$major'
14617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14619 irix5
* | nonstopux
*)
14620 libsuff
= shlibsuff
=
14623 case $LD in # libtool.m4 will add one of these switches to LD
14624 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14625 libsuff
= shlibsuff
= libmagic
=32-bit;;
14626 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14627 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14628 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14629 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14630 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14634 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14635 shlibpath_overrides_runpath
=no
14636 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14637 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14638 hardcode_into_libs
=yes
14641 # No shared lib support for Linux oldld, aout, or coff.
14642 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14646 # This must be Linux ELF.
14651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 soname_spec
='${libname}${release}${shared_ext}$major'
14653 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14654 shlibpath_var
=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath
=no
14656 # This implies no fast_install, which is unacceptable.
14657 # Some rework will be needed to allow for fast_install
14658 # before this can be enabled.
14659 hardcode_into_libs
=yes
14661 # find out which ABI we are using
14663 case "$host_cpu" in
14664 x86_64
*|s390x
*|powerpc64
*)
14665 echo '#line 14665 "configure"' > conftest.
$ac_ext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667 (eval $ac_compile) 2>&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; then
14671 case `/usr/bin/file conftest.$ac_objext` in
14674 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14682 # Append ld.so.conf contents to the search path
14683 if test -f /etc
/ld.so.conf
; then
14684 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/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14685 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14688 # We used to test for /lib/ld.so.1 and disable shared libraries on
14689 # powerpc, because MkLinux only supported shared libraries with the
14690 # GNU dynamic linker. Since this was broken with cross compilers,
14691 # most powerpc-linux boxes support dynamic linking these days and
14692 # people can always --disable-shared, the test was removed, and we
14693 # assume the GNU/Linux dynamic linker is in use.
14694 dynamic_linker
='GNU/Linux ld.so'
14701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14702 soname_spec
='${libname}${release}${shared_ext}$major'
14703 shlibpath_var
=LD_LIBRARY_PATH
14704 shlibpath_overrides_runpath
=no
14705 hardcode_into_libs
=yes
14706 dynamic_linker
='GNU ld.so'
14713 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14715 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14716 dynamic_linker
='NetBSD (a.out) ld.so'
14718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14719 soname_spec
='${libname}${release}${shared_ext}$major'
14720 dynamic_linker
='NetBSD ld.elf_so'
14722 shlibpath_var
=LD_LIBRARY_PATH
14723 shlibpath_overrides_runpath
=yes
14724 hardcode_into_libs
=yes
14729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14730 shlibpath_var
=LD_LIBRARY_PATH
14731 shlibpath_overrides_runpath
=yes
14738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14739 soname_spec
='${libname}${release}${shared_ext}$major'
14740 shlibpath_var
=LD_LIBRARY_PATH
14741 shlibpath_overrides_runpath
=yes
14746 sys_lib_dlsearch_path_spec
="/usr/lib"
14748 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14750 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14751 *) need_version
=no
;;
14753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14755 shlibpath_var
=LD_LIBRARY_PATH
14756 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14758 openbsd2.
[89] | openbsd2.
[89].
*)
14759 shlibpath_overrides_runpath
=no
14762 shlibpath_overrides_runpath
=yes
14766 shlibpath_overrides_runpath
=yes
14771 libname_spec
='$name'
14774 library_names_spec
='$libname${shared_ext} $libname.a'
14775 dynamic_linker
='OS/2 ld.exe'
14776 shlibpath_var
=LIBPATH
14779 osf3
* | osf4
* | osf5
*)
14783 soname_spec
='${libname}${release}${shared_ext}$major'
14784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14785 shlibpath_var
=LD_LIBRARY_PATH
14786 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14787 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795 soname_spec
='${libname}${release}${shared_ext}$major'
14796 shlibpath_var
=LD_LIBRARY_PATH
14797 shlibpath_overrides_runpath
=yes
14798 hardcode_into_libs
=yes
14799 # ldd complains unless libraries are executable
14800 postinstall_cmds
='chmod +x $lib'
14805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14806 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14807 shlibpath_var
=LD_LIBRARY_PATH
14808 shlibpath_overrides_runpath
=yes
14809 if test "$with_gnu_ld" = yes; then
14817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14818 soname_spec
='${libname}${release}${shared_ext}$major'
14819 shlibpath_var
=LD_LIBRARY_PATH
14820 case $host_vendor in
14822 shlibpath_overrides_runpath
=no
14824 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14825 runpath_var
=LD_RUN_PATH
14833 shlibpath_overrides_runpath
=no
14834 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14840 if test -d /usr
/nec
;then
14842 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14843 soname_spec
='$libname${shared_ext}.$major'
14844 shlibpath_var
=LD_LIBRARY_PATH
14848 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14849 version_type
=freebsd-elf
14852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14853 soname_spec
='${libname}${release}${shared_ext}$major'
14854 shlibpath_var
=LD_LIBRARY_PATH
14855 hardcode_into_libs
=yes
14856 if test "$with_gnu_ld" = yes; then
14857 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14858 shlibpath_overrides_runpath
=no
14860 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14861 shlibpath_overrides_runpath
=yes
14864 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14868 sys_lib_dlsearch_path_spec
='/usr/lib'
14873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14874 soname_spec
='${libname}${release}${shared_ext}$major'
14875 shlibpath_var
=LD_LIBRARY_PATH
14882 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14883 echo "${ECHO_T}$dynamic_linker" >&6
14884 test "$dynamic_linker" = no
&& can_build_shared
=no
14886 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14887 if test "$GCC" = yes; then
14888 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14891 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14892 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14893 hardcode_action_F77
=
14894 if test -n "$hardcode_libdir_flag_spec_F77" || \
14895 test -n "$runpath_var_F77" || \
14896 test "X$hardcode_automatic_F77" = "Xyes" ; then
14898 # We can hardcode non-existant directories.
14899 if test "$hardcode_direct_F77" != no
&&
14900 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14901 # have to relink, otherwise we might link with an installed library
14902 # when we should be linking with a yet-to-be-installed one
14903 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14904 test "$hardcode_minus_L_F77" != no
; then
14905 # Linking always hardcodes the temporary library directory.
14906 hardcode_action_F77
=relink
14908 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14909 hardcode_action_F77
=immediate
14912 # We cannot hardcode anything, or else we can only hardcode existing
14914 hardcode_action_F77
=unsupported
14916 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14917 echo "${ECHO_T}$hardcode_action_F77" >&6
14919 if test "$hardcode_action_F77" = relink
; then
14920 # Fast installation is not supported
14921 enable_fast_install
=no
14922 elif test "$shlibpath_overrides_runpath" = yes ||
14923 test "$enable_shared" = no
; then
14924 # Fast installation is not necessary
14925 enable_fast_install
=needless
14929 # The else clause should only fire when bootstrapping the
14930 # libtool distribution, otherwise you forgot to ship ltmain.sh
14931 # with your package, and you will get complaints that there are
14932 # no rules to generate ltmain.sh.
14933 if test -f "$ltmain"; then
14934 # See if we are running on zsh, and set the options which allow our commands through
14935 # without removal of \ escapes.
14936 if test -n "${ZSH_VERSION+set}" ; then
14937 setopt NO_GLOB_SUBST
14939 # Now quote all the things that may contain metacharacters while being
14940 # careful not to overquote the AC_SUBSTed values. We take copies of the
14941 # variables and quote the copies for generation of the libtool script.
14942 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14944 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14945 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14946 deplibs_check_method reload_flag reload_cmds need_locks \
14947 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14948 lt_cv_sys_global_symbol_to_c_name_address \
14949 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14950 old_postinstall_cmds old_postuninstall_cmds \
14954 lt_prog_compiler_wl_F77 \
14955 lt_prog_compiler_pic_F77 \
14956 lt_prog_compiler_static_F77 \
14957 lt_prog_compiler_no_builtin_flag_F77 \
14958 export_dynamic_flag_spec_F77 \
14959 thread_safe_flag_spec_F77 \
14960 whole_archive_flag_spec_F77 \
14961 enable_shared_with_static_runtimes_F77 \
14962 old_archive_cmds_F77 \
14963 old_archive_from_new_cmds_F77 \
14964 predep_objects_F77 \
14965 postdep_objects_F77 \
14968 compiler_lib_search_path_F77 \
14970 archive_expsym_cmds_F77 \
14971 postinstall_cmds_F77 \
14972 postuninstall_cmds_F77 \
14973 old_archive_from_expsyms_cmds_F77 \
14974 allow_undefined_flag_F77 \
14975 no_undefined_flag_F77 \
14976 export_symbols_cmds_F77 \
14977 hardcode_libdir_flag_spec_F77 \
14978 hardcode_libdir_flag_spec_ld_F77 \
14979 hardcode_libdir_separator_F77 \
14980 hardcode_automatic_F77 \
14982 module_expsym_cmds_F77 \
14983 lt_cv_prog_compiler_c_o_F77 \
14984 exclude_expsyms_F77 \
14985 include_expsyms_F77
; do
14988 old_archive_cmds_F77 | \
14989 old_archive_from_new_cmds_F77 | \
14990 archive_cmds_F77 | \
14991 archive_expsym_cmds_F77 | \
14992 module_cmds_F77 | \
14993 module_expsym_cmds_F77 | \
14994 old_archive_from_expsyms_cmds_F77 | \
14995 export_symbols_cmds_F77 | \
14996 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14997 postinstall_cmds | postuninstall_cmds | \
14998 old_postinstall_cmds | old_postuninstall_cmds | \
14999 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15000 # Double-quote double-evaled strings.
15001 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15004 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15010 *'\$0 --fallback-echo"')
15011 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15017 cat <<__EOF__ >> "$cfgfile"
15018 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15020 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15022 # Shell to use when invoking shell scripts.
15025 # Whether or not to build shared libraries.
15026 build_libtool_libs=$enable_shared
15028 # Whether or not to build static libraries.
15029 build_old_libs=$enable_static
15031 # Whether or not to add -lc for building shared libraries.
15032 build_libtool_need_lc=$archive_cmds_need_lc_F77
15034 # Whether or not to disallow shared libs when runtime libs are static
15035 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15037 # Whether or not to optimize for fast installation.
15038 fast_install=$enable_fast_install
15041 host_alias=$host_alias
15045 # The build system.
15046 build_alias=$build_alias
15050 # An echo program that does not interpret backslashes.
15055 AR_FLAGS=$lt_AR_FLAGS
15060 # LTCC compiler flags.
15061 LTCFLAGS=$lt_LTCFLAGS
15063 # A language-specific compiler.
15064 CC=$lt_compiler_F77
15066 # Is the compiler the GNU C compiler?
15072 # The linker used to build libraries.
15075 # Whether we need hard or soft links.
15078 # A BSD-compatible nm program.
15081 # A symbol stripping program
15084 # Used to examine libraries when file_magic_cmd begins "file"
15085 MAGIC_CMD=$MAGIC_CMD
15087 # Used on cygwin: DLL creation program.
15090 # Used on cygwin: object dumper.
15093 # Used on cygwin: assembler.
15096 # The name of the directory that contains temporary libtool files.
15099 # How to create reloadable object files.
15100 reload_flag=$lt_reload_flag
15101 reload_cmds=$lt_reload_cmds
15103 # How to pass a linker flag through the compiler.
15104 wl=$lt_lt_prog_compiler_wl_F77
15106 # Object file suffix (normally "o").
15107 objext="$ac_objext"
15109 # Old archive suffix (normally "a").
15112 # Shared library suffix (normally ".so").
15113 shrext_cmds='$shrext_cmds'
15115 # Executable file suffix (normally "").
15118 # Additional compiler flags for building library objects.
15119 pic_flag=$lt_lt_prog_compiler_pic_F77
15122 # What is the maximum length of a command?
15123 max_cmd_len=$lt_cv_sys_max_cmd_len
15125 # Does compiler simultaneously support -c and -o options?
15126 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15128 # Must we lock files when doing compilation?
15129 need_locks=$lt_need_locks
15131 # Do we need the lib prefix for modules?
15132 need_lib_prefix=$need_lib_prefix
15134 # Do we need a version for libraries?
15135 need_version=$need_version
15137 # Whether dlopen is supported.
15138 dlopen_support=$enable_dlopen
15140 # Whether dlopen of programs is supported.
15141 dlopen_self=$enable_dlopen_self
15143 # Whether dlopen of statically linked programs is supported.
15144 dlopen_self_static=$enable_dlopen_self_static
15146 # Compiler flag to prevent dynamic linking.
15147 link_static_flag=$lt_lt_prog_compiler_static_F77
15149 # Compiler flag to turn off builtin functions.
15150 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15152 # Compiler flag to allow reflexive dlopens.
15153 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15155 # Compiler flag to generate shared objects directly from archives.
15156 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15158 # Compiler flag to generate thread-safe objects.
15159 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15161 # Library versioning type.
15162 version_type=$version_type
15164 # Format of library name prefix.
15165 libname_spec=$lt_libname_spec
15167 # List of archive names. First name is the real one, the rest are links.
15168 # The last name is the one that the linker finds with -lNAME.
15169 library_names_spec=$lt_library_names_spec
15171 # The coded name of the library, if different from the real name.
15172 soname_spec=$lt_soname_spec
15174 # Commands used to build and install an old-style archive.
15176 old_archive_cmds=$lt_old_archive_cmds_F77
15177 old_postinstall_cmds=$lt_old_postinstall_cmds
15178 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15180 # Create an old-style archive from a shared archive.
15181 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15183 # Create a temporary old-style archive to link instead of a shared archive.
15184 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15186 # Commands used to build and install a shared archive.
15187 archive_cmds=$lt_archive_cmds_F77
15188 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15189 postinstall_cmds=$lt_postinstall_cmds
15190 postuninstall_cmds=$lt_postuninstall_cmds
15192 # Commands used to build a loadable module (assumed same as above if empty)
15193 module_cmds=$lt_module_cmds_F77
15194 module_expsym_cmds=$lt_module_expsym_cmds_F77
15196 # Commands to strip libraries.
15197 old_striplib=$lt_old_striplib
15198 striplib=$lt_striplib
15200 # Dependencies to place before the objects being linked to create a
15202 predep_objects=$lt_predep_objects_F77
15204 # Dependencies to place after the objects being linked to create a
15206 postdep_objects=$lt_postdep_objects_F77
15208 # Dependencies to place before the objects being linked to create a
15210 predeps=$lt_predeps_F77
15212 # Dependencies to place after the objects being linked to create a
15214 postdeps=$lt_postdeps_F77
15216 # The library search path used internally by the compiler when linking
15217 # a shared library.
15218 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15220 # Method to check whether dependent libraries are shared objects.
15221 deplibs_check_method=$lt_deplibs_check_method
15223 # Command to use when deplibs_check_method == file_magic.
15224 file_magic_cmd=$lt_file_magic_cmd
15226 # Flag that allows shared libraries with undefined symbols to be built.
15227 allow_undefined_flag=$lt_allow_undefined_flag_F77
15229 # Flag that forces no undefined symbols.
15230 no_undefined_flag=$lt_no_undefined_flag_F77
15232 # Commands used to finish a libtool library installation in a directory.
15233 finish_cmds=$lt_finish_cmds
15235 # Same as above, but a single script fragment to be evaled but not shown.
15236 finish_eval=$lt_finish_eval
15238 # Take the output of nm and produce a listing of raw symbols and C names.
15239 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15241 # Transform the output of nm in a proper C declaration
15242 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15244 # Transform the output of nm in a C name address pair
15245 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15247 # This is the shared library runtime path variable.
15248 runpath_var=$runpath_var
15250 # This is the shared library path variable.
15251 shlibpath_var=$shlibpath_var
15253 # Is shlibpath searched before the hard-coded library search path?
15254 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15256 # How to hardcode a shared library path into an executable.
15257 hardcode_action=$hardcode_action_F77
15259 # Whether we should hardcode library paths into libraries.
15260 hardcode_into_libs=$hardcode_into_libs
15262 # Flag to hardcode \$libdir into a binary during linking.
15263 # This must work even if \$libdir does not exist.
15264 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15266 # If ld is used when linking, flag to hardcode \$libdir into
15267 # a binary during linking. This must work even if \$libdir does
15269 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15271 # Whether we need a single -rpath flag with a separated argument.
15272 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15274 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15275 # resulting binary.
15276 hardcode_direct=$hardcode_direct_F77
15278 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15279 # resulting binary.
15280 hardcode_minus_L=$hardcode_minus_L_F77
15282 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15283 # the resulting binary.
15284 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15286 # Set to yes if building a shared library automatically hardcodes DIR into the library
15287 # and all subsequent libraries and executables linked against it.
15288 hardcode_automatic=$hardcode_automatic_F77
15290 # Variables whose values should be saved in libtool wrapper scripts and
15291 # restored at relink time.
15292 variables_saved_for_relink="$variables_saved_for_relink"
15294 # Whether libtool must link a program against all its dependency libraries.
15295 link_all_deplibs=$link_all_deplibs_F77
15297 # Compile-time system search path for libraries
15298 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15300 # Run-time system search path for libraries
15301 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15303 # Fix the shell variable \$srcfile for the compiler.
15304 fix_srcfile_path="$fix_srcfile_path_F77"
15306 # Set to yes if exported symbols are required.
15307 always_export_symbols=$always_export_symbols_F77
15309 # The commands to list exported symbols.
15310 export_symbols_cmds=$lt_export_symbols_cmds_F77
15312 # The commands to extract the exported symbol list from a shared archive.
15313 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15315 # Symbols that should not be listed in the preloaded symbols.
15316 exclude_expsyms=$lt_exclude_expsyms_F77
15318 # Symbols that must always be exported.
15319 include_expsyms=$lt_include_expsyms_F77
15321 # ### END LIBTOOL TAG CONFIG: $tagname
15327 # If there is no Makefile yet, we rely on a make rule to execute
15328 # `config.status --recheck' to rerun these tests and create the
15329 # libtool script then.
15330 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15331 if test -f "$ltmain_in"; then
15332 test -f Makefile
&& make "$ltmain"
15338 ac_cpp
='$CPP $CPPFLAGS'
15339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15351 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15355 # Source file extension for Java test sources.
15358 # Object file extension for compiled Java test sources.
15362 # Code to be used in simple compile tests
15363 lt_simple_compile_test_code
="class foo {}\n"
15365 # Code to be used in simple link tests
15366 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15368 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15370 # If no C compiler was specified, use CC.
15373 # If no C compiler flags were specified, use CFLAGS.
15374 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15376 # Allow CC to be a program name with arguments.
15380 # save warnings/boilerplate of simple test code
15381 ac_outfile
=conftest.
$ac_objext
15382 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15383 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15384 _lt_compiler_boilerplate
=`cat conftest.err`
15387 ac_outfile
=conftest.
$ac_objext
15388 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15389 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15390 _lt_linker_boilerplate
=`cat conftest.err`
15394 # Allow CC to be a program name with arguments.
15399 for cc_temp
in $compiler""; do
15401 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15402 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15407 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15410 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15411 archive_cmds_need_lc_GCJ
=no
15413 old_archive_cmds_GCJ
=$old_archive_cmds
15416 lt_prog_compiler_no_builtin_flag_GCJ
=
15418 if test "$GCC" = yes; then
15419 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15422 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15423 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15424 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15425 echo $ECHO_N "(cached) $ECHO_C" >&6
15427 lt_cv_prog_compiler_rtti_exceptions
=no
15428 ac_outfile
=conftest.
$ac_objext
15429 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15430 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15431 # Insert the option either (1) after the last *FLAGS variable, or
15432 # (2) before a word containing "conftest.", or (3) at the end.
15433 # Note that $ac_compile itself does not contain backslashes and begins
15434 # with a dollar sign (not a hyphen), so the echo should work correctly.
15435 # The option is referenced via a variable to avoid confusing sed.
15436 lt_compile
=`echo "$ac_compile" | $SED \
15437 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15438 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15439 -e 's:$: $lt_compiler_flag:'`
15440 (eval echo "\"\$as_me:15440: $lt_compile\"" >&5)
15441 (eval "$lt_compile" 2>conftest.err
)
15443 cat conftest.err
>&5
15444 echo "$as_me:15444: \$? = $ac_status" >&5
15445 if (exit $ac_status) && test -s "$ac_outfile"; then
15446 # The compiler can only warn and ignore the option if not recognized
15447 # So say no if there are warnings other than the usual output.
15448 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15449 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15450 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15451 lt_cv_prog_compiler_rtti_exceptions
=yes
15457 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15458 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15460 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15461 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15468 lt_prog_compiler_wl_GCJ
=
15469 lt_prog_compiler_pic_GCJ
=
15470 lt_prog_compiler_static_GCJ
=
15472 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15473 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15475 if test "$GCC" = yes; then
15476 lt_prog_compiler_wl_GCJ
='-Wl,'
15477 lt_prog_compiler_static_GCJ
='-static'
15481 # All AIX code is PIC.
15482 if test "$host_cpu" = ia64
; then
15483 # AIX 5 now supports IA64 processor
15484 lt_prog_compiler_static_GCJ
='-Bstatic'
15489 # FIXME: we need at least 68020 code to build shared libraries, but
15490 # adding the `-m68020' flag to GCC prevents building anything better,
15492 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15495 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15496 # PIC is the default for these OSes.
15499 mingw
* | pw32
* | os2
*)
15500 # This hack is so that the source file can tell whether it is being
15501 # built for inclusion in a dll (and should export symbols for example).
15502 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15505 darwin
* | rhapsody
*)
15506 # PIC is the default on this platform
15507 # Common symbols not allowed in MH_DYLIB files
15508 lt_prog_compiler_pic_GCJ
='-fno-common'
15512 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15513 # Instead, we relocate shared libraries at runtime.
15517 # Just because we use GCC doesn't mean we suddenly get shared libraries
15518 # on systems that don't support them.
15519 lt_prog_compiler_can_build_shared_GCJ
=no
15524 if test -d /usr
/nec
; then
15525 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15530 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15531 # not for PA HP-UX.
15537 lt_prog_compiler_pic_GCJ
='-fPIC'
15543 lt_prog_compiler_pic_GCJ
='-fPIC'
15547 # PORTME Check for flag to pass linker flags through the system compiler.
15550 lt_prog_compiler_wl_GCJ
='-Wl,'
15551 if test "$host_cpu" = ia64
; then
15552 # AIX 5 now supports IA64 processor
15553 lt_prog_compiler_static_GCJ
='-Bstatic'
15555 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15559 # PIC is the default on this platform
15560 # Common symbols not allowed in MH_DYLIB files
15561 case $cc_basename in
15563 lt_prog_compiler_pic_GCJ
='-qnocommon'
15564 lt_prog_compiler_wl_GCJ
='-Wl,'
15569 mingw
* | pw32
* | os2
*)
15570 # This hack is so that the source file can tell whether it is being
15571 # built for inclusion in a dll (and should export symbols for example).
15572 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15575 hpux9
* | hpux10
* | hpux11
*)
15576 lt_prog_compiler_wl_GCJ
='-Wl,'
15577 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15578 # not for PA HP-UX.
15584 lt_prog_compiler_pic_GCJ
='+Z'
15587 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15588 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15591 irix5
* | irix6
* | nonstopux
*)
15592 lt_prog_compiler_wl_GCJ
='-Wl,'
15593 # PIC (with -KPIC) is the default.
15594 lt_prog_compiler_static_GCJ
='-non_shared'
15598 lt_prog_compiler_pic_GCJ
='-KPIC'
15599 lt_prog_compiler_static_GCJ
='-Bstatic'
15603 case $cc_basename in
15605 lt_prog_compiler_wl_GCJ
='-Wl,'
15606 lt_prog_compiler_pic_GCJ
='-KPIC'
15607 lt_prog_compiler_static_GCJ
='-static'
15609 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15610 # Portland Group compilers (*not* the Pentium gcc compiler,
15611 # which looks to be a dead project)
15612 lt_prog_compiler_wl_GCJ
='-Wl,'
15613 lt_prog_compiler_pic_GCJ
='-fpic'
15614 lt_prog_compiler_static_GCJ
='-Bstatic'
15617 lt_prog_compiler_wl_GCJ
='-Wl,'
15618 # All Alpha code is PIC.
15619 lt_prog_compiler_static_GCJ
='-non_shared'
15624 osf3
* | osf4
* | osf5
*)
15625 lt_prog_compiler_wl_GCJ
='-Wl,'
15626 # All OSF/1 code is PIC.
15627 lt_prog_compiler_static_GCJ
='-non_shared'
15631 lt_prog_compiler_pic_GCJ
='-KPIC'
15632 lt_prog_compiler_static_GCJ
='-Bstatic'
15633 case $cc_basename in
15634 f77
* | f90
* | f95
*)
15635 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15637 lt_prog_compiler_wl_GCJ
='-Wl,';;
15642 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15643 lt_prog_compiler_pic_GCJ
='-PIC'
15644 lt_prog_compiler_static_GCJ
='-Bstatic'
15647 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15648 lt_prog_compiler_wl_GCJ
='-Wl,'
15649 lt_prog_compiler_pic_GCJ
='-KPIC'
15650 lt_prog_compiler_static_GCJ
='-Bstatic'
15654 if test -d /usr
/nec
;then
15655 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15656 lt_prog_compiler_static_GCJ
='-Bstatic'
15660 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15661 lt_prog_compiler_wl_GCJ
='-Wl,'
15662 lt_prog_compiler_pic_GCJ
='-KPIC'
15663 lt_prog_compiler_static_GCJ
='-Bstatic'
15667 lt_prog_compiler_wl_GCJ
='-Wl,'
15668 lt_prog_compiler_can_build_shared_GCJ
=no
15672 lt_prog_compiler_pic_GCJ
='-pic'
15673 lt_prog_compiler_static_GCJ
='-Bstatic'
15677 lt_prog_compiler_can_build_shared_GCJ
=no
15682 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15683 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15686 # Check to make sure the PIC flag actually works.
15688 if test -n "$lt_prog_compiler_pic_GCJ"; then
15690 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15691 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15692 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 lt_prog_compiler_pic_works_GCJ
=no
15696 ac_outfile
=conftest.
$ac_objext
15697 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15698 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15699 # Insert the option either (1) after the last *FLAGS variable, or
15700 # (2) before a word containing "conftest.", or (3) at the end.
15701 # Note that $ac_compile itself does not contain backslashes and begins
15702 # with a dollar sign (not a hyphen), so the echo should work correctly.
15703 # The option is referenced via a variable to avoid confusing sed.
15704 lt_compile
=`echo "$ac_compile" | $SED \
15705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15707 -e 's:$: $lt_compiler_flag:'`
15708 (eval echo "\"\$as_me:15708: $lt_compile\"" >&5)
15709 (eval "$lt_compile" 2>conftest.err
)
15711 cat conftest.err
>&5
15712 echo "$as_me:15712: \$? = $ac_status" >&5
15713 if (exit $ac_status) && test -s "$ac_outfile"; then
15714 # The compiler can only warn and ignore the option if not recognized
15715 # So say no if there are warnings other than the usual output.
15716 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15717 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15718 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15719 lt_prog_compiler_pic_works_GCJ
=yes
15725 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15726 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15728 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15729 case $lt_prog_compiler_pic_GCJ in
15731 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15734 lt_prog_compiler_pic_GCJ
=
15735 lt_prog_compiler_can_build_shared_GCJ
=no
15740 # For platforms which do not support PIC, -DPIC is meaningless:
15742 lt_prog_compiler_pic_GCJ
=
15745 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15750 # Check to make sure the static flag actually works.
15752 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
15753 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15754 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15755 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15756 echo $ECHO_N "(cached) $ECHO_C" >&6
15758 lt_prog_compiler_static_works_GCJ
=no
15759 save_LDFLAGS
="$LDFLAGS"
15760 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15761 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15762 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15763 # The linker can only warn and ignore the option if not recognized
15764 # So say no if there are warnings
15765 if test -s conftest.err
; then
15766 # Append any errors to the config.log.
15767 cat conftest.err
1>&5
15768 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15769 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15770 if diff conftest.exp conftest.er2
>/dev
/null
; then
15771 lt_prog_compiler_static_works_GCJ
=yes
15774 lt_prog_compiler_static_works_GCJ
=yes
15778 LDFLAGS
="$save_LDFLAGS"
15781 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15782 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
15784 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
15787 lt_prog_compiler_static_GCJ
=
15791 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15792 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15793 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15794 echo $ECHO_N "(cached) $ECHO_C" >&6
15796 lt_cv_prog_compiler_c_o_GCJ
=no
15797 $rm -r conftest
2>/dev
/null
15801 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15803 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15804 # Insert the option either (1) after the last *FLAGS variable, or
15805 # (2) before a word containing "conftest.", or (3) at the end.
15806 # Note that $ac_compile itself does not contain backslashes and begins
15807 # with a dollar sign (not a hyphen), so the echo should work correctly.
15808 lt_compile
=`echo "$ac_compile" | $SED \
15809 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15811 -e 's:$: $lt_compiler_flag:'`
15812 (eval echo "\"\$as_me:15812: $lt_compile\"" >&5)
15813 (eval "$lt_compile" 2>out
/conftest.err
)
15815 cat out
/conftest.err
>&5
15816 echo "$as_me:15816: \$? = $ac_status" >&5
15817 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15819 # The compiler can only warn and ignore the option if not recognized
15820 # So say no if there are warnings
15821 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15822 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15823 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15824 lt_cv_prog_compiler_c_o_GCJ
=yes
15829 # SGI C++ compiler will create directory out/ii_files/ for
15830 # template instantiation
15831 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15832 $rm out
/* && rmdir out
15838 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15839 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15842 hard_links
="nottested"
15843 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
15844 # do not overwrite the value of need_locks provided by the user
15845 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15846 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15849 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15851 ln conftest.a conftest.b
2>&5 || hard_links
=no
15852 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15853 echo "$as_me:$LINENO: result: $hard_links" >&5
15854 echo "${ECHO_T}$hard_links" >&6
15855 if test "$hard_links" = no
; then
15856 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15857 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15864 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15865 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15868 allow_undefined_flag_GCJ
=
15869 enable_shared_with_static_runtimes_GCJ
=no
15871 archive_expsym_cmds_GCJ
=
15872 old_archive_From_new_cmds_GCJ
=
15873 old_archive_from_expsyms_cmds_GCJ
=
15874 export_dynamic_flag_spec_GCJ
=
15875 whole_archive_flag_spec_GCJ
=
15876 thread_safe_flag_spec_GCJ
=
15877 hardcode_libdir_flag_spec_GCJ
=
15878 hardcode_libdir_flag_spec_ld_GCJ
=
15879 hardcode_libdir_separator_GCJ
=
15880 hardcode_direct_GCJ
=no
15881 hardcode_minus_L_GCJ
=no
15882 hardcode_shlibpath_var_GCJ
=unsupported
15883 link_all_deplibs_GCJ
=unknown
15884 hardcode_automatic_GCJ
=no
15886 module_expsym_cmds_GCJ
=
15887 always_export_symbols_GCJ
=no
15888 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15889 # include_expsyms should be a list of space-separated symbols to be *always*
15890 # included in the symbol list
15891 include_expsyms_GCJ
=
15892 # exclude_expsyms can be an extended regexp of symbols to exclude
15893 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15894 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15895 # as well as any symbol that contains `d'.
15896 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
15897 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15898 # platforms (ab)use it in PIC code, but their linkers get confused if
15899 # the symbol is explicitly referenced. Since portable code cannot
15900 # rely on this symbol name, it's probably fine to never include it in
15901 # preloaded symbol tables.
15902 extract_expsyms_cmds
=
15903 # Just being paranoid about ensuring that cc_basename is set.
15904 for cc_temp
in $compiler""; do
15906 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15907 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15912 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15915 cygwin
* | mingw
* | pw32
*)
15916 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15917 # When not using gcc, we currently assume that we are using
15918 # Microsoft Visual C++.
15919 if test "$GCC" != yes; then
15924 # we just hope/assume this is gcc and not c89 (= MSVC++)
15933 if test "$with_gnu_ld" = yes; then
15934 # If archive_cmds runs LD, not CC, wlarc should be empty
15937 # Set some defaults for GNU ld with shared library support. These
15938 # are reset later if shared libraries are not supported. Putting them
15939 # here allows them to be overridden if necessary.
15940 runpath_var
=LD_RUN_PATH
15941 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
15942 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
15943 # ancient GNU ld didn't support --whole-archive et. al.
15944 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15945 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15947 whole_archive_flag_spec_GCJ
=
15949 supports_anon_versioning
=no
15950 case `$LD -v 2>/dev/null` in
15951 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15952 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15953 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15954 *\
2.11.
*) ;; # other 2.11 versions
15955 *) supports_anon_versioning
=yes ;;
15958 # See if GNU ld supports shared libraries.
15960 aix3
* | aix4
* | aix5
*)
15961 # On AIX/PPC, the GNU linker is very broken
15962 if test "$host_cpu" != ia64
; then
15966 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15967 *** to be unable to reliably create shared libraries on AIX.
15968 *** Therefore, libtool is disabling shared libraries support. If you
15969 *** really care for shared libraries, you may want to modify your PATH
15970 *** so that a non-GNU linker is found, and then restart.
15977 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)'
15978 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
15979 hardcode_minus_L_GCJ
=yes
15981 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15982 # that the semantics of dynamic libraries on AmigaOS, at least up
15983 # to version 4, is to share data among multiple programs linked
15984 # with the same dynamic library. Since this doesn't match the
15985 # behavior of shared libraries on other platforms, we can't use
15991 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15992 allow_undefined_flag_GCJ
=unsupported
15993 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15994 # support --undefined. This deserves some investigation. FIXME
15995 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16001 cygwin
* | mingw
* | pw32
*)
16002 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16003 # as there is no search path for DLLs.
16004 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16005 allow_undefined_flag_GCJ
=unsupported
16006 always_export_symbols_GCJ
=no
16007 enable_shared_with_static_runtimes_GCJ
=yes
16008 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16010 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16011 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16012 # If the export-symbols file already is a .def file (1st line
16013 # is EXPORTS), use it as is; otherwise, prepend...
16014 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16015 cp $export_symbols $output_objdir/$soname.def;
16017 echo EXPORTS > $output_objdir/$soname.def;
16018 cat $export_symbols >> $output_objdir/$soname.def;
16020 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16027 hardcode_direct_GCJ
=no
16028 hardcode_shlibpath_var_GCJ
=no
16029 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16030 export_dynamic_flag_spec_GCJ
='${wl}-E'
16031 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16032 # Instead, shared libraries are loaded at an image base (0x10000000 by
16033 # default) and relocated if they conflict, which is a slow very memory
16034 # consuming and fragmenting process. To avoid this, we pick a random,
16035 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16036 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16037 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16038 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16042 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16044 case $cc_basename,$host_cpu in
16045 pgcc
*) # Portland Group C compiler
16046 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16047 tmp_addflag
=' $pic_flag'
16049 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16050 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16051 tmp_addflag
=' $pic_flag -Mnomain' ;;
16052 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16053 tmp_addflag
=' -i_dynamic' ;;
16054 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16055 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16056 ifc
* | ifort
*) # Intel Fortran compiler
16057 tmp_addflag
=' -nofor_main' ;;
16059 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16061 if test $supports_anon_versioning = yes; then
16062 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16063 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16064 $echo "local: *; };" >> $output_objdir/$libname.ver~
16065 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16073 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16074 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16077 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16078 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16083 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16087 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16088 *** create shared libraries on Solaris systems. Therefore, libtool
16089 *** is disabling shared libraries support. We urge you to upgrade GNU
16090 *** binutils to release 2.9.1 or newer. Another option is to modify
16091 *** your PATH or compiler configuration so that the native linker is
16092 *** used, and then restart.
16095 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16096 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16097 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16103 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16104 case `$LD -v 2>&1` in
16105 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16109 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16110 *** reliably create shared libraries on SCO systems. Therefore, libtool
16111 *** is disabling shared libraries support. We urge you to upgrade GNU
16112 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16113 *** your PATH or compiler configuration so that the native linker is
16114 *** used, and then restart.
16119 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16120 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16121 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16122 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16131 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16133 hardcode_direct_GCJ
=yes
16134 hardcode_shlibpath_var_GCJ
=no
16138 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16139 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16140 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16147 if test "$ld_shlibs_GCJ" = no
; then
16149 hardcode_libdir_flag_spec_GCJ
=
16150 export_dynamic_flag_spec_GCJ
=
16151 whole_archive_flag_spec_GCJ
=
16154 # PORTME fill in a description of your system's linker (not GNU ld)
16157 allow_undefined_flag_GCJ
=unsupported
16158 always_export_symbols_GCJ
=yes
16159 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'
16160 # Note: this linker hardcodes the directories in LIBPATH if there
16161 # are no directories specified by -L.
16162 hardcode_minus_L_GCJ
=yes
16163 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16164 # Neither direct hardcoding nor static linking is supported with a
16166 hardcode_direct_GCJ
=unsupported
16171 if test "$host_cpu" = ia64
; then
16172 # On IA64, the linker does run time linking by default, so we don't
16173 # have to do anything special.
16174 aix_use_runtimelinking
=no
16175 exp_sym_flag
='-Bexport'
16178 # If we're using GNU nm, then we don't want the "-C" option.
16179 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16180 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16181 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'
16183 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'
16185 aix_use_runtimelinking
=no
16187 # Test if we are trying to use run time linking or normal
16188 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16189 # need to do runtime linking.
16190 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16191 for ld_flag
in $LDFLAGS; do
16192 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16193 aix_use_runtimelinking
=yes
16200 exp_sym_flag
='-bexport'
16201 no_entry_flag
='-bnoentry'
16204 # When large executables or shared objects are built, AIX ld can
16205 # have problems creating the table of contents. If linking a library
16206 # or program results in "error TOC overflow" add -mminimal-toc to
16207 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16208 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16210 archive_cmds_GCJ
=''
16211 hardcode_direct_GCJ
=yes
16212 hardcode_libdir_separator_GCJ
=':'
16213 link_all_deplibs_GCJ
=yes
16215 if test "$GCC" = yes; then
16216 case $host_os in aix4.
[012]|aix4.
[012].
*)
16217 # We only want to do this on AIX 4.2 and lower, the check
16218 # below for broken collect2 doesn't work under 4.3+
16219 collect2name
=`${CC} -print-prog-name=collect2`
16220 if test -f "$collect2name" && \
16221 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16223 # We have reworked collect2
16224 hardcode_direct_GCJ
=yes
16226 # We have old collect2
16227 hardcode_direct_GCJ
=unsupported
16228 # It fails to find uninstalled libraries when the uninstalled
16229 # path is not listed in the libpath. Setting hardcode_minus_L
16230 # to unsupported forces relinking
16231 hardcode_minus_L_GCJ
=yes
16232 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16233 hardcode_libdir_separator_GCJ
=
16237 shared_flag
='-shared'
16238 if test "$aix_use_runtimelinking" = yes; then
16239 shared_flag
="$shared_flag "'${wl}-G'
16243 if test "$host_cpu" = ia64
; then
16244 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16245 # chokes on -Wl,-G. The following line is correct:
16248 if test "$aix_use_runtimelinking" = yes; then
16249 shared_flag
='${wl}-G'
16251 shared_flag
='${wl}-bM:SRE'
16256 # It seems that -bexpall does not export symbols beginning with
16257 # underscore (_), so it is better to generate a list of symbols to export.
16258 always_export_symbols_GCJ
=yes
16259 if test "$aix_use_runtimelinking" = yes; then
16260 # Warning - without using the other runtime loading flags (-brtl),
16261 # -berok will link without error, but may produce a broken library.
16262 allow_undefined_flag_GCJ
='-berok'
16263 # Determine the default libpath from the value encoded in an empty executable.
16264 cat >conftest.
$ac_ext <<_ACEOF
16267 cat confdefs.h
>>conftest.
$ac_ext
16268 cat >>conftest.
$ac_ext <<_ACEOF
16269 /* end confdefs.h. */
16279 rm -f conftest.
$ac_objext conftest
$ac_exeext
16280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16281 (eval $ac_link) 2>conftest.er1
16283 grep -v '^ *+' conftest.er1
>conftest.err
16285 cat conftest.err
>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } &&
16288 { ac_try
='test -z "$ac_c_werror_flag"
16289 || test ! -s conftest.err'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; } &&
16295 { ac_try
='test -s conftest$ac_exeext'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; }; then
16302 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16304 # Check for a 64-bit object if we didn't find anything.
16305 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; }
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.
$ac_ext >&5
16312 rm -f conftest.err conftest.
$ac_objext \
16313 conftest
$ac_exeext conftest.
$ac_ext
16314 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16316 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16317 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16319 if test "$host_cpu" = ia64
; then
16320 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16321 allow_undefined_flag_GCJ
="-z nodefs"
16322 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16324 # Determine the default libpath from the value encoded in an empty executable.
16325 cat >conftest.
$ac_ext <<_ACEOF
16328 cat confdefs.h
>>conftest.
$ac_ext
16329 cat >>conftest.
$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16340 rm -f conftest.
$ac_objext conftest
$ac_exeext
16341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16342 (eval $ac_link) 2>conftest.er1
16344 grep -v '^ *+' conftest.er1
>conftest.err
16346 cat conftest.err
>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } &&
16349 { ac_try
='test -z "$ac_c_werror_flag"
16350 || test ! -s conftest.err'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; } &&
16356 { ac_try
='test -s conftest$ac_exeext'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; }; then
16363 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16365 # Check for a 64-bit object if we didn't find anything.
16366 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; }
16369 echo "$as_me: failed program was:" >&5
16370 sed 's/^/| /' conftest.
$ac_ext >&5
16373 rm -f conftest.err conftest.
$ac_objext \
16374 conftest
$ac_exeext conftest.
$ac_ext
16375 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16377 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16378 # Warning - without using the other run time loading flags,
16379 # -berok will link without error, but may produce a broken library.
16380 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16381 allow_undefined_flag_GCJ
=' ${wl}-berok'
16382 # Exported symbols can be pulled into shared objects from archives
16383 whole_archive_flag_spec_GCJ
='$convenience'
16384 archive_cmds_need_lc_GCJ
=yes
16385 # This is similar to how AIX traditionally builds its shared libraries.
16386 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16392 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)'
16393 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16394 hardcode_minus_L_GCJ
=yes
16395 # see comment about different semantics on the GNU ld section
16400 export_dynamic_flag_spec_GCJ
=-rdynamic
16403 cygwin
* | mingw
* | pw32
*)
16404 # When not using gcc, we currently assume that we are using
16405 # Microsoft Visual C++.
16406 # hardcode_libdir_flag_spec is actually meaningless, as there is
16407 # no search path for DLLs.
16408 hardcode_libdir_flag_spec_GCJ
=' '
16409 allow_undefined_flag_GCJ
=unsupported
16410 # Tell ltmain to make .lib files, not .a files.
16412 # Tell ltmain to make .dll files, not .so files.
16414 # FIXME: Setting linknames here is a bad hack.
16415 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16416 # The linker will automatically build a .lib file if we build a DLL.
16417 old_archive_From_new_cmds_GCJ
='true'
16418 # FIXME: Should let the user specify the lib program.
16419 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16420 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16421 enable_shared_with_static_runtimes_GCJ
=yes
16424 darwin
* | rhapsody
*)
16426 rhapsody
* | darwin1.
[012])
16427 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16430 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16431 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16433 case ${MACOSX_DEPLOYMENT_TARGET} in
16435 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16438 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16444 archive_cmds_need_lc_GCJ
=no
16445 hardcode_direct_GCJ
=no
16446 hardcode_automatic_GCJ
=yes
16447 hardcode_shlibpath_var_GCJ
=unsupported
16448 whole_archive_flag_spec_GCJ
=''
16449 link_all_deplibs_GCJ
=yes
16450 if test "$GCC" = yes ; then
16451 output_verbose_link_cmd
='echo'
16452 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16453 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16454 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16455 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}'
16456 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}'
16458 case $cc_basename in
16460 output_verbose_link_cmd
='echo'
16461 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16462 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16463 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16464 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}'
16465 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}'
16475 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16476 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16477 hardcode_shlibpath_var_GCJ
=no
16484 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16485 # support. Future versions do this automatically, but an explicit c++rt0.o
16486 # does not break anything, and helps significantly (at the cost of a little
16489 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16490 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16491 hardcode_direct_GCJ
=yes
16492 hardcode_shlibpath_var_GCJ
=no
16495 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16497 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16498 hardcode_direct_GCJ
=yes
16499 hardcode_minus_L_GCJ
=yes
16500 hardcode_shlibpath_var_GCJ
=no
16503 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16504 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16505 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16506 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16507 hardcode_direct_GCJ
=yes
16508 hardcode_shlibpath_var_GCJ
=no
16512 if test "$GCC" = yes; then
16513 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'
16515 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'
16517 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16518 hardcode_libdir_separator_GCJ
=:
16519 hardcode_direct_GCJ
=yes
16521 # hardcode_minus_L: Not really in the search PATH,
16522 # but as the default location of the library.
16523 hardcode_minus_L_GCJ
=yes
16524 export_dynamic_flag_spec_GCJ
='${wl}-E'
16528 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16529 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16531 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16533 if test "$with_gnu_ld" = no
; then
16534 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16535 hardcode_libdir_separator_GCJ
=:
16537 hardcode_direct_GCJ
=yes
16538 export_dynamic_flag_spec_GCJ
='${wl}-E'
16540 # hardcode_minus_L: Not really in the search PATH,
16541 # but as the default location of the library.
16542 hardcode_minus_L_GCJ
=yes
16547 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16550 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16553 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16556 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16562 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16565 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16568 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16572 if test "$with_gnu_ld" = no
; then
16573 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16574 hardcode_libdir_separator_GCJ
=:
16578 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16579 hardcode_direct_GCJ
=no
16580 hardcode_shlibpath_var_GCJ
=no
16583 hardcode_direct_GCJ
=yes
16584 export_dynamic_flag_spec_GCJ
='${wl}-E'
16586 # hardcode_minus_L: Not really in the search PATH,
16587 # but as the default location of the library.
16588 hardcode_minus_L_GCJ
=yes
16594 irix5
* | irix6
* | nonstopux
*)
16595 if test "$GCC" = yes; then
16596 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'
16598 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'
16599 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16601 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16602 hardcode_libdir_separator_GCJ
=:
16603 link_all_deplibs_GCJ
=yes
16607 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16608 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16610 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16612 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16613 hardcode_direct_GCJ
=yes
16614 hardcode_shlibpath_var_GCJ
=no
16618 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16619 hardcode_direct_GCJ
=yes
16620 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16621 hardcode_libdir_separator_GCJ
=:
16622 hardcode_shlibpath_var_GCJ
=no
16626 hardcode_direct_GCJ
=yes
16627 hardcode_shlibpath_var_GCJ
=no
16628 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16629 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16630 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16631 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16632 export_dynamic_flag_spec_GCJ
='${wl}-E'
16635 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16636 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16637 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16640 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16641 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16648 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16649 hardcode_minus_L_GCJ
=yes
16650 allow_undefined_flag_GCJ
=unsupported
16651 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'
16652 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16656 if test "$GCC" = yes; then
16657 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16658 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'
16660 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16661 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'
16663 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16664 hardcode_libdir_separator_GCJ
=:
16667 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16668 if test "$GCC" = yes; then
16669 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16670 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'
16671 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16673 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16674 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'
16675 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~
16676 $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'
16678 # Both c and cxx compiler support -rpath directly
16679 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16681 hardcode_libdir_separator_GCJ
=:
16685 no_undefined_flag_GCJ
=' -z text'
16686 if test "$GCC" = yes; then
16688 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16689 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16690 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16693 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16694 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16695 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16697 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16698 hardcode_shlibpath_var_GCJ
=no
16700 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16702 # The compiler driver will combine linker options so we
16703 # cannot just pass the convience library names through
16704 # without $wl, iff we do not link with $LD.
16705 # Luckily, gcc supports the same syntax we need for Sun Studio.
16706 # Supported since Solaris 2.6 (maybe 2.5.1?)
16709 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16711 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' ;;
16714 link_all_deplibs_GCJ
=yes
16718 if test "x$host_vendor" = xsequent
; then
16719 # Use $CC to link under sequent, because it throws in some extra .o
16720 # files that make .init and .fini sections work.
16721 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16723 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16725 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16726 hardcode_direct_GCJ
=yes
16727 hardcode_minus_L_GCJ
=yes
16728 hardcode_shlibpath_var_GCJ
=no
16732 case $host_vendor in
16734 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16735 hardcode_direct_GCJ
=yes # is this really true???
16738 ## LD is ld it makes a PLAMLIB
16739 ## CC just makes a GrossModule.
16740 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16741 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16742 hardcode_direct_GCJ
=no
16745 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16746 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16749 runpath_var
='LD_RUN_PATH'
16750 hardcode_shlibpath_var_GCJ
=no
16754 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16755 hardcode_shlibpath_var_GCJ
=no
16756 export_dynamic_flag_spec_GCJ
='-Bexport'
16760 if test -d /usr
/nec
; then
16761 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16762 hardcode_shlibpath_var_GCJ
=no
16763 runpath_var
=LD_RUN_PATH
16764 hardcode_runpath_var
=yes
16769 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16770 no_undefined_flag_GCJ
='${wl}-z,text'
16771 archive_cmds_need_lc_GCJ
=no
16772 hardcode_shlibpath_var_GCJ
=no
16773 runpath_var
='LD_RUN_PATH'
16775 if test "$GCC" = yes; then
16776 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16777 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16779 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16780 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16784 sysv5
* | sco3.2v5
* | sco5v6
*)
16785 # Note: We can NOT use -z defs as we might desire, because we do not
16786 # link with -lc, and that would cause any symbols used from libc to
16787 # always be unresolved, which means just about no library would
16788 # ever link correctly. If we're not using GNU ld we use -z text
16789 # though, which does catch some bad symbols but isn't as heavy-handed
16791 no_undefined_flag_GCJ
='${wl}-z,text'
16792 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
16793 archive_cmds_need_lc_GCJ
=no
16794 hardcode_shlibpath_var_GCJ
=no
16795 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16796 hardcode_libdir_separator_GCJ
=':'
16797 link_all_deplibs_GCJ
=yes
16798 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16799 runpath_var
='LD_RUN_PATH'
16801 if test "$GCC" = yes; then
16802 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16803 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16805 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16806 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16811 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16812 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16813 hardcode_shlibpath_var_GCJ
=no
16822 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16823 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16824 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
16827 # Do we need to explicitly link libc?
16829 case "x$archive_cmds_need_lc_GCJ" in
16831 # Assume -lc should be added
16832 archive_cmds_need_lc_GCJ
=yes
16834 if test "$enable_shared" = yes && test "$GCC" = yes; then
16835 case $archive_cmds_GCJ in
16837 # FIXME: we may have to deal with multi-command sequences.
16840 # Test whether the compiler implicitly links with -lc since on some
16841 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16842 # to ld, don't add -lc before -lgcc.
16843 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16844 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16846 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16849 (eval $ac_compile) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } 2>conftest.err
; then
16855 libobjs
=conftest.
$ac_objext
16857 wl
=$lt_prog_compiler_wl_GCJ
16858 pic_flag
=$lt_prog_compiler_pic_GCJ
16864 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
16865 allow_undefined_flag_GCJ
=
16866 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16867 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }
16872 archive_cmds_need_lc_GCJ
=no
16874 archive_cmds_need_lc_GCJ
=yes
16876 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
16878 cat conftest.err
1>&5
16881 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16882 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16889 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16890 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16891 library_names_spec
=
16892 libname_spec
='lib$name'
16896 postuninstall_cmds
=
16900 shlibpath_overrides_runpath
=unknown
16902 dynamic_linker
="$host_os ld.so"
16903 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16904 if test "$GCC" = yes; then
16905 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16906 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16907 # if the path contains ";" then we assume it to be the separator
16908 # otherwise default to the standard path separator (i.e. ":") - it is
16909 # assumed that no part of a normal pathname contains ";" but that should
16910 # okay in the real world where ";" in dirpaths is itself problematic.
16911 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16913 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16916 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16918 need_lib_prefix
=unknown
16919 hardcode_into_libs
=no
16921 # when you set need_version to no, make sure it does not cause -set_version
16922 # flags to be left without arguments
16923 need_version
=unknown
16928 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16929 shlibpath_var
=LIBPATH
16931 # AIX 3 has no versioning support, so we append a major version to the name.
16932 soname_spec
='${libname}${release}${shared_ext}$major'
16939 hardcode_into_libs
=yes
16940 if test "$host_cpu" = ia64
; then
16941 # AIX 5 supports IA64
16942 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16943 shlibpath_var
=LD_LIBRARY_PATH
16945 # With GCC up to 2.95.x, collect2 would create an import file
16946 # for dependence libraries. The import file would start with
16947 # the line `#! .'. This would cause the generated library to
16948 # depend on `.', always an invalid library. This was fixed in
16949 # development snapshots of GCC prior to 3.0.
16951 aix4 | aix4.
[01] | aix4.
[01].
*)
16952 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16954 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16957 can_build_shared
=no
16961 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16962 # soname into executable. Probably we can add versioning support to
16963 # collect2, so additional links can be useful in future.
16964 if test "$aix_use_runtimelinking" = yes; then
16965 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16966 # instead of lib<name>.a to let people know that these are not
16967 # typical AIX shared libraries.
16968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16970 # We preserve .a as extension for shared libraries through AIX4.2
16971 # and later when we are not doing run time linking.
16972 library_names_spec
='${libname}${release}.a $libname.a'
16973 soname_spec
='${libname}${release}${shared_ext}$major'
16975 shlibpath_var
=LIBPATH
16980 library_names_spec
='$libname.ixlibrary $libname.a'
16981 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16982 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'
16986 library_names_spec
='${libname}${shared_ext}'
16987 dynamic_linker
="$host_os ld.so"
16988 shlibpath_var
=LIBRARY_PATH
16994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16995 soname_spec
='${libname}${release}${shared_ext}$major'
16996 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16997 shlibpath_var
=LD_LIBRARY_PATH
16998 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16999 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17000 # the default ld.so.conf also contains /usr/contrib/lib and
17001 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17002 # libtool to hard-code these into programs
17005 cygwin
* | mingw
* | pw32
*)
17006 version_type
=windows
17011 case $GCC,$host_os in
17012 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17013 library_names_spec
='$libname.dll.a'
17014 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17015 postinstall_cmds
='base_file=`basename \${file}`~
17016 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17017 dldir=$destdir/`dirname \$dlpath`~
17018 test -d \$dldir || mkdir -p \$dldir~
17019 $install_prog $dir/$dlname \$dldir/$dlname~
17020 chmod a+x \$dldir/$dlname'
17021 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17022 dlpath=$dir/\$dldll~
17024 shlibpath_overrides_runpath
=yes
17028 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17029 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17030 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17033 # MinGW DLLs use traditional 'lib' prefix
17034 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17035 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17036 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17037 # It is most probably a Windows format PATH printed by
17038 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17039 # path with ; separators, and with drive letters. We can handle the
17040 # drive letters (cygwin fileutils understands them), so leave them,
17041 # especially as we might pass files found there to a mingw objdump,
17042 # which wouldn't understand a cygwinified path. Ahh.
17043 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17045 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17049 # pw32 DLLs use 'pw' prefix rather than 'lib'
17050 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17056 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17059 dynamic_linker
='Win32 ld.exe'
17060 # FIXME: first we should search . and the directory the executable is in
17064 darwin
* | rhapsody
*)
17065 dynamic_linker
="$host_os dyld"
17066 version_type
=darwin
17069 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17070 soname_spec
='${libname}${release}${major}$shared_ext'
17071 shlibpath_overrides_runpath
=yes
17072 shlibpath_var
=DYLD_LIBRARY_PATH
17073 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17074 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17075 if test "$GCC" = yes; then
17076 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"`
17078 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17080 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17088 soname_spec
='${libname}${release}${shared_ext}$major'
17089 shlibpath_var
=LD_LIBRARY_PATH
17100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17101 soname_spec
='${libname}${release}${shared_ext}$major'
17102 shlibpath_var
=LD_LIBRARY_PATH
17103 shlibpath_overrides_runpath
=no
17104 hardcode_into_libs
=yes
17105 dynamic_linker
='GNU ld.so'
17108 freebsd
* | dragonfly
*)
17109 # DragonFly does not have aout. When/if they implement a new
17110 # versioning mechanism, adjust this.
17111 if test -x /usr
/bin
/objformat
; then
17112 objformat
=`/usr/bin/objformat`
17115 freebsd
[123]*) objformat
=aout
;;
17116 *) objformat
=elf
;;
17119 version_type
=freebsd-
$objformat
17120 case $version_type in
17122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17127 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17131 shlibpath_var
=LD_LIBRARY_PATH
17134 shlibpath_overrides_runpath
=yes
17136 freebsd3.
[01]* | freebsdelf3.
[01]*)
17137 shlibpath_overrides_runpath
=yes
17138 hardcode_into_libs
=yes
17140 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17141 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17142 shlibpath_overrides_runpath
=no
17143 hardcode_into_libs
=yes
17145 freebsd
*) # from 4.6 on
17146 shlibpath_overrides_runpath
=yes
17147 hardcode_into_libs
=yes
17156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17157 soname_spec
='${libname}${release}${shared_ext}$major'
17158 shlibpath_var
=LD_LIBRARY_PATH
17159 hardcode_into_libs
=yes
17162 hpux9
* | hpux10
* | hpux11
*)
17163 # Give a soname corresponding to the major version so that dld.sl refuses to
17164 # link against other versions.
17171 hardcode_into_libs
=yes
17172 dynamic_linker
="$host_os dld.so"
17173 shlibpath_var
=LD_LIBRARY_PATH
17174 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17176 soname_spec
='${libname}${release}${shared_ext}$major'
17177 if test "X$HPUX_IA64_MODE" = X32
; then
17178 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17180 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17182 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17186 hardcode_into_libs
=yes
17187 dynamic_linker
="$host_os dld.sl"
17188 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17189 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17191 soname_spec
='${libname}${release}${shared_ext}$major'
17192 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17193 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17197 dynamic_linker
="$host_os dld.sl"
17198 shlibpath_var
=SHLIB_PATH
17199 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17201 soname_spec
='${libname}${release}${shared_ext}$major'
17204 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17205 postinstall_cmds
='chmod 555 $lib'
17212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17213 soname_spec
='${libname}${release}${shared_ext}$major'
17214 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17215 shlibpath_var
=LD_LIBRARY_PATH
17216 shlibpath_overrides_runpath
=no
17217 hardcode_into_libs
=yes
17220 irix5
* | irix6
* | nonstopux
*)
17222 nonstopux
*) version_type
=nonstopux
;;
17224 if test "$lt_cv_prog_gnu_ld" = yes; then
17232 soname_spec
='${libname}${release}${shared_ext}$major'
17233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17235 irix5
* | nonstopux
*)
17236 libsuff
= shlibsuff
=
17239 case $LD in # libtool.m4 will add one of these switches to LD
17240 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17241 libsuff
= shlibsuff
= libmagic
=32-bit;;
17242 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17243 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17244 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17245 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17246 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17250 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17251 shlibpath_overrides_runpath
=no
17252 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17253 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17254 hardcode_into_libs
=yes
17257 # No shared lib support for Linux oldld, aout, or coff.
17258 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17262 # This must be Linux ELF.
17267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17268 soname_spec
='${libname}${release}${shared_ext}$major'
17269 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17270 shlibpath_var
=LD_LIBRARY_PATH
17271 shlibpath_overrides_runpath
=no
17272 # This implies no fast_install, which is unacceptable.
17273 # Some rework will be needed to allow for fast_install
17274 # before this can be enabled.
17275 hardcode_into_libs
=yes
17277 # find out which ABI we are using
17279 case "$host_cpu" in
17280 x86_64
*|s390x
*|powerpc64
*)
17281 echo '#line 17281 "configure"' > conftest.
$ac_ext
17282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17283 (eval $ac_compile) 2>&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); }; then
17287 case `/usr/bin/file conftest.$ac_objext` in
17290 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17298 # Append ld.so.conf contents to the search path
17299 if test -f /etc
/ld.so.conf
; then
17300 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/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17301 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17304 # We used to test for /lib/ld.so.1 and disable shared libraries on
17305 # powerpc, because MkLinux only supported shared libraries with the
17306 # GNU dynamic linker. Since this was broken with cross compilers,
17307 # most powerpc-linux boxes support dynamic linking these days and
17308 # people can always --disable-shared, the test was removed, and we
17309 # assume the GNU/Linux dynamic linker is in use.
17310 dynamic_linker
='GNU/Linux ld.so'
17317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17318 soname_spec
='${libname}${release}${shared_ext}$major'
17319 shlibpath_var
=LD_LIBRARY_PATH
17320 shlibpath_overrides_runpath
=no
17321 hardcode_into_libs
=yes
17322 dynamic_linker
='GNU ld.so'
17329 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17331 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17332 dynamic_linker
='NetBSD (a.out) ld.so'
17334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17335 soname_spec
='${libname}${release}${shared_ext}$major'
17336 dynamic_linker
='NetBSD ld.elf_so'
17338 shlibpath_var
=LD_LIBRARY_PATH
17339 shlibpath_overrides_runpath
=yes
17340 hardcode_into_libs
=yes
17345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17346 shlibpath_var
=LD_LIBRARY_PATH
17347 shlibpath_overrides_runpath
=yes
17354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17355 soname_spec
='${libname}${release}${shared_ext}$major'
17356 shlibpath_var
=LD_LIBRARY_PATH
17357 shlibpath_overrides_runpath
=yes
17362 sys_lib_dlsearch_path_spec
="/usr/lib"
17364 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17366 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17367 *) need_version
=no
;;
17369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17370 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17371 shlibpath_var
=LD_LIBRARY_PATH
17372 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17374 openbsd2.
[89] | openbsd2.
[89].
*)
17375 shlibpath_overrides_runpath
=no
17378 shlibpath_overrides_runpath
=yes
17382 shlibpath_overrides_runpath
=yes
17387 libname_spec
='$name'
17390 library_names_spec
='$libname${shared_ext} $libname.a'
17391 dynamic_linker
='OS/2 ld.exe'
17392 shlibpath_var
=LIBPATH
17395 osf3
* | osf4
* | osf5
*)
17399 soname_spec
='${libname}${release}${shared_ext}$major'
17400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17401 shlibpath_var
=LD_LIBRARY_PATH
17402 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17403 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17411 soname_spec
='${libname}${release}${shared_ext}$major'
17412 shlibpath_var
=LD_LIBRARY_PATH
17413 shlibpath_overrides_runpath
=yes
17414 hardcode_into_libs
=yes
17415 # ldd complains unless libraries are executable
17416 postinstall_cmds
='chmod +x $lib'
17421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17422 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17423 shlibpath_var
=LD_LIBRARY_PATH
17424 shlibpath_overrides_runpath
=yes
17425 if test "$with_gnu_ld" = yes; then
17433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17434 soname_spec
='${libname}${release}${shared_ext}$major'
17435 shlibpath_var
=LD_LIBRARY_PATH
17436 case $host_vendor in
17438 shlibpath_overrides_runpath
=no
17440 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17441 runpath_var
=LD_RUN_PATH
17449 shlibpath_overrides_runpath
=no
17450 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17456 if test -d /usr
/nec
;then
17458 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17459 soname_spec
='$libname${shared_ext}.$major'
17460 shlibpath_var
=LD_LIBRARY_PATH
17464 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17465 version_type
=freebsd-elf
17468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17469 soname_spec
='${libname}${release}${shared_ext}$major'
17470 shlibpath_var
=LD_LIBRARY_PATH
17471 hardcode_into_libs
=yes
17472 if test "$with_gnu_ld" = yes; then
17473 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17474 shlibpath_overrides_runpath
=no
17476 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17477 shlibpath_overrides_runpath
=yes
17480 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17484 sys_lib_dlsearch_path_spec
='/usr/lib'
17489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17490 soname_spec
='${libname}${release}${shared_ext}$major'
17491 shlibpath_var
=LD_LIBRARY_PATH
17498 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17499 echo "${ECHO_T}$dynamic_linker" >&6
17500 test "$dynamic_linker" = no
&& can_build_shared
=no
17502 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17503 if test "$GCC" = yes; then
17504 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17507 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17508 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17509 hardcode_action_GCJ
=
17510 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17511 test -n "$runpath_var_GCJ" || \
17512 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17514 # We can hardcode non-existant directories.
17515 if test "$hardcode_direct_GCJ" != no
&&
17516 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17517 # have to relink, otherwise we might link with an installed library
17518 # when we should be linking with a yet-to-be-installed one
17519 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17520 test "$hardcode_minus_L_GCJ" != no
; then
17521 # Linking always hardcodes the temporary library directory.
17522 hardcode_action_GCJ
=relink
17524 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17525 hardcode_action_GCJ
=immediate
17528 # We cannot hardcode anything, or else we can only hardcode existing
17530 hardcode_action_GCJ
=unsupported
17532 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17533 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17535 if test "$hardcode_action_GCJ" = relink
; then
17536 # Fast installation is not supported
17537 enable_fast_install
=no
17538 elif test "$shlibpath_overrides_runpath" = yes ||
17539 test "$enable_shared" = no
; then
17540 # Fast installation is not necessary
17541 enable_fast_install
=needless
17545 # The else clause should only fire when bootstrapping the
17546 # libtool distribution, otherwise you forgot to ship ltmain.sh
17547 # with your package, and you will get complaints that there are
17548 # no rules to generate ltmain.sh.
17549 if test -f "$ltmain"; then
17550 # See if we are running on zsh, and set the options which allow our commands through
17551 # without removal of \ escapes.
17552 if test -n "${ZSH_VERSION+set}" ; then
17553 setopt NO_GLOB_SUBST
17555 # Now quote all the things that may contain metacharacters while being
17556 # careful not to overquote the AC_SUBSTed values. We take copies of the
17557 # variables and quote the copies for generation of the libtool script.
17558 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17560 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17561 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17562 deplibs_check_method reload_flag reload_cmds need_locks \
17563 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17564 lt_cv_sys_global_symbol_to_c_name_address \
17565 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17566 old_postinstall_cmds old_postuninstall_cmds \
17570 lt_prog_compiler_wl_GCJ \
17571 lt_prog_compiler_pic_GCJ \
17572 lt_prog_compiler_static_GCJ \
17573 lt_prog_compiler_no_builtin_flag_GCJ \
17574 export_dynamic_flag_spec_GCJ \
17575 thread_safe_flag_spec_GCJ \
17576 whole_archive_flag_spec_GCJ \
17577 enable_shared_with_static_runtimes_GCJ \
17578 old_archive_cmds_GCJ \
17579 old_archive_from_new_cmds_GCJ \
17580 predep_objects_GCJ \
17581 postdep_objects_GCJ \
17584 compiler_lib_search_path_GCJ \
17586 archive_expsym_cmds_GCJ \
17587 postinstall_cmds_GCJ \
17588 postuninstall_cmds_GCJ \
17589 old_archive_from_expsyms_cmds_GCJ \
17590 allow_undefined_flag_GCJ \
17591 no_undefined_flag_GCJ \
17592 export_symbols_cmds_GCJ \
17593 hardcode_libdir_flag_spec_GCJ \
17594 hardcode_libdir_flag_spec_ld_GCJ \
17595 hardcode_libdir_separator_GCJ \
17596 hardcode_automatic_GCJ \
17598 module_expsym_cmds_GCJ \
17599 lt_cv_prog_compiler_c_o_GCJ \
17600 exclude_expsyms_GCJ \
17601 include_expsyms_GCJ
; do
17604 old_archive_cmds_GCJ | \
17605 old_archive_from_new_cmds_GCJ | \
17606 archive_cmds_GCJ | \
17607 archive_expsym_cmds_GCJ | \
17608 module_cmds_GCJ | \
17609 module_expsym_cmds_GCJ | \
17610 old_archive_from_expsyms_cmds_GCJ | \
17611 export_symbols_cmds_GCJ | \
17612 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17613 postinstall_cmds | postuninstall_cmds | \
17614 old_postinstall_cmds | old_postuninstall_cmds | \
17615 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17616 # Double-quote double-evaled strings.
17617 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17620 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17626 *'\$0 --fallback-echo"')
17627 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17633 cat <<__EOF__ >> "$cfgfile"
17634 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17636 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17638 # Shell to use when invoking shell scripts.
17641 # Whether or not to build shared libraries.
17642 build_libtool_libs=$enable_shared
17644 # Whether or not to build static libraries.
17645 build_old_libs=$enable_static
17647 # Whether or not to add -lc for building shared libraries.
17648 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17650 # Whether or not to disallow shared libs when runtime libs are static
17651 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17653 # Whether or not to optimize for fast installation.
17654 fast_install=$enable_fast_install
17657 host_alias=$host_alias
17661 # The build system.
17662 build_alias=$build_alias
17666 # An echo program that does not interpret backslashes.
17671 AR_FLAGS=$lt_AR_FLAGS
17676 # LTCC compiler flags.
17677 LTCFLAGS=$lt_LTCFLAGS
17679 # A language-specific compiler.
17680 CC=$lt_compiler_GCJ
17682 # Is the compiler the GNU C compiler?
17688 # The linker used to build libraries.
17691 # Whether we need hard or soft links.
17694 # A BSD-compatible nm program.
17697 # A symbol stripping program
17700 # Used to examine libraries when file_magic_cmd begins "file"
17701 MAGIC_CMD=$MAGIC_CMD
17703 # Used on cygwin: DLL creation program.
17706 # Used on cygwin: object dumper.
17709 # Used on cygwin: assembler.
17712 # The name of the directory that contains temporary libtool files.
17715 # How to create reloadable object files.
17716 reload_flag=$lt_reload_flag
17717 reload_cmds=$lt_reload_cmds
17719 # How to pass a linker flag through the compiler.
17720 wl=$lt_lt_prog_compiler_wl_GCJ
17722 # Object file suffix (normally "o").
17723 objext="$ac_objext"
17725 # Old archive suffix (normally "a").
17728 # Shared library suffix (normally ".so").
17729 shrext_cmds='$shrext_cmds'
17731 # Executable file suffix (normally "").
17734 # Additional compiler flags for building library objects.
17735 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17738 # What is the maximum length of a command?
17739 max_cmd_len=$lt_cv_sys_max_cmd_len
17741 # Does compiler simultaneously support -c and -o options?
17742 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17744 # Must we lock files when doing compilation?
17745 need_locks=$lt_need_locks
17747 # Do we need the lib prefix for modules?
17748 need_lib_prefix=$need_lib_prefix
17750 # Do we need a version for libraries?
17751 need_version=$need_version
17753 # Whether dlopen is supported.
17754 dlopen_support=$enable_dlopen
17756 # Whether dlopen of programs is supported.
17757 dlopen_self=$enable_dlopen_self
17759 # Whether dlopen of statically linked programs is supported.
17760 dlopen_self_static=$enable_dlopen_self_static
17762 # Compiler flag to prevent dynamic linking.
17763 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17765 # Compiler flag to turn off builtin functions.
17766 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17768 # Compiler flag to allow reflexive dlopens.
17769 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17771 # Compiler flag to generate shared objects directly from archives.
17772 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17774 # Compiler flag to generate thread-safe objects.
17775 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17777 # Library versioning type.
17778 version_type=$version_type
17780 # Format of library name prefix.
17781 libname_spec=$lt_libname_spec
17783 # List of archive names. First name is the real one, the rest are links.
17784 # The last name is the one that the linker finds with -lNAME.
17785 library_names_spec=$lt_library_names_spec
17787 # The coded name of the library, if different from the real name.
17788 soname_spec=$lt_soname_spec
17790 # Commands used to build and install an old-style archive.
17792 old_archive_cmds=$lt_old_archive_cmds_GCJ
17793 old_postinstall_cmds=$lt_old_postinstall_cmds
17794 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17796 # Create an old-style archive from a shared archive.
17797 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17799 # Create a temporary old-style archive to link instead of a shared archive.
17800 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17802 # Commands used to build and install a shared archive.
17803 archive_cmds=$lt_archive_cmds_GCJ
17804 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17805 postinstall_cmds=$lt_postinstall_cmds
17806 postuninstall_cmds=$lt_postuninstall_cmds
17808 # Commands used to build a loadable module (assumed same as above if empty)
17809 module_cmds=$lt_module_cmds_GCJ
17810 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17812 # Commands to strip libraries.
17813 old_striplib=$lt_old_striplib
17814 striplib=$lt_striplib
17816 # Dependencies to place before the objects being linked to create a
17818 predep_objects=$lt_predep_objects_GCJ
17820 # Dependencies to place after the objects being linked to create a
17822 postdep_objects=$lt_postdep_objects_GCJ
17824 # Dependencies to place before the objects being linked to create a
17826 predeps=$lt_predeps_GCJ
17828 # Dependencies to place after the objects being linked to create a
17830 postdeps=$lt_postdeps_GCJ
17832 # The library search path used internally by the compiler when linking
17833 # a shared library.
17834 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17836 # Method to check whether dependent libraries are shared objects.
17837 deplibs_check_method=$lt_deplibs_check_method
17839 # Command to use when deplibs_check_method == file_magic.
17840 file_magic_cmd=$lt_file_magic_cmd
17842 # Flag that allows shared libraries with undefined symbols to be built.
17843 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17845 # Flag that forces no undefined symbols.
17846 no_undefined_flag=$lt_no_undefined_flag_GCJ
17848 # Commands used to finish a libtool library installation in a directory.
17849 finish_cmds=$lt_finish_cmds
17851 # Same as above, but a single script fragment to be evaled but not shown.
17852 finish_eval=$lt_finish_eval
17854 # Take the output of nm and produce a listing of raw symbols and C names.
17855 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17857 # Transform the output of nm in a proper C declaration
17858 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17860 # Transform the output of nm in a C name address pair
17861 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17863 # This is the shared library runtime path variable.
17864 runpath_var=$runpath_var
17866 # This is the shared library path variable.
17867 shlibpath_var=$shlibpath_var
17869 # Is shlibpath searched before the hard-coded library search path?
17870 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17872 # How to hardcode a shared library path into an executable.
17873 hardcode_action=$hardcode_action_GCJ
17875 # Whether we should hardcode library paths into libraries.
17876 hardcode_into_libs=$hardcode_into_libs
17878 # Flag to hardcode \$libdir into a binary during linking.
17879 # This must work even if \$libdir does not exist.
17880 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17882 # If ld is used when linking, flag to hardcode \$libdir into
17883 # a binary during linking. This must work even if \$libdir does
17885 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17887 # Whether we need a single -rpath flag with a separated argument.
17888 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17890 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17891 # resulting binary.
17892 hardcode_direct=$hardcode_direct_GCJ
17894 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17895 # resulting binary.
17896 hardcode_minus_L=$hardcode_minus_L_GCJ
17898 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17899 # the resulting binary.
17900 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17902 # Set to yes if building a shared library automatically hardcodes DIR into the library
17903 # and all subsequent libraries and executables linked against it.
17904 hardcode_automatic=$hardcode_automatic_GCJ
17906 # Variables whose values should be saved in libtool wrapper scripts and
17907 # restored at relink time.
17908 variables_saved_for_relink="$variables_saved_for_relink"
17910 # Whether libtool must link a program against all its dependency libraries.
17911 link_all_deplibs=$link_all_deplibs_GCJ
17913 # Compile-time system search path for libraries
17914 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17916 # Run-time system search path for libraries
17917 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17919 # Fix the shell variable \$srcfile for the compiler.
17920 fix_srcfile_path="$fix_srcfile_path_GCJ"
17922 # Set to yes if exported symbols are required.
17923 always_export_symbols=$always_export_symbols_GCJ
17925 # The commands to list exported symbols.
17926 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17928 # The commands to extract the exported symbol list from a shared archive.
17929 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17931 # Symbols that should not be listed in the preloaded symbols.
17932 exclude_expsyms=$lt_exclude_expsyms_GCJ
17934 # Symbols that must always be exported.
17935 include_expsyms=$lt_include_expsyms_GCJ
17937 # ### END LIBTOOL TAG CONFIG: $tagname
17943 # If there is no Makefile yet, we rely on a make rule to execute
17944 # `config.status --recheck' to rerun these tests and create the
17945 # libtool script then.
17946 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17947 if test -f "$ltmain_in"; then
17948 test -f Makefile
&& make "$ltmain"
17954 ac_cpp
='$CPP $CPPFLAGS'
17955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17970 # Source file extension for RC test sources.
17973 # Object file extension for compiled RC test sources.
17977 # Code to be used in simple compile tests
17978 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17980 # Code to be used in simple link tests
17981 lt_simple_link_test_code
="$lt_simple_compile_test_code"
17983 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17985 # If no C compiler was specified, use CC.
17988 # If no C compiler flags were specified, use CFLAGS.
17989 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17991 # Allow CC to be a program name with arguments.
17995 # save warnings/boilerplate of simple test code
17996 ac_outfile
=conftest.
$ac_objext
17997 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
17998 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17999 _lt_compiler_boilerplate
=`cat conftest.err`
18002 ac_outfile
=conftest.
$ac_objext
18003 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18004 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18005 _lt_linker_boilerplate
=`cat conftest.err`
18009 # Allow CC to be a program name with arguments.
18014 for cc_temp
in $compiler""; do
18016 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18017 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18022 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18024 lt_cv_prog_compiler_c_o_RC
=yes
18026 # The else clause should only fire when bootstrapping the
18027 # libtool distribution, otherwise you forgot to ship ltmain.sh
18028 # with your package, and you will get complaints that there are
18029 # no rules to generate ltmain.sh.
18030 if test -f "$ltmain"; then
18031 # See if we are running on zsh, and set the options which allow our commands through
18032 # without removal of \ escapes.
18033 if test -n "${ZSH_VERSION+set}" ; then
18034 setopt NO_GLOB_SUBST
18036 # Now quote all the things that may contain metacharacters while being
18037 # careful not to overquote the AC_SUBSTed values. We take copies of the
18038 # variables and quote the copies for generation of the libtool script.
18039 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18041 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18042 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18043 deplibs_check_method reload_flag reload_cmds need_locks \
18044 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18045 lt_cv_sys_global_symbol_to_c_name_address \
18046 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18047 old_postinstall_cmds old_postuninstall_cmds \
18051 lt_prog_compiler_wl_RC \
18052 lt_prog_compiler_pic_RC \
18053 lt_prog_compiler_static_RC \
18054 lt_prog_compiler_no_builtin_flag_RC \
18055 export_dynamic_flag_spec_RC \
18056 thread_safe_flag_spec_RC \
18057 whole_archive_flag_spec_RC \
18058 enable_shared_with_static_runtimes_RC \
18059 old_archive_cmds_RC \
18060 old_archive_from_new_cmds_RC \
18061 predep_objects_RC \
18062 postdep_objects_RC \
18065 compiler_lib_search_path_RC \
18067 archive_expsym_cmds_RC \
18068 postinstall_cmds_RC \
18069 postuninstall_cmds_RC \
18070 old_archive_from_expsyms_cmds_RC \
18071 allow_undefined_flag_RC \
18072 no_undefined_flag_RC \
18073 export_symbols_cmds_RC \
18074 hardcode_libdir_flag_spec_RC \
18075 hardcode_libdir_flag_spec_ld_RC \
18076 hardcode_libdir_separator_RC \
18077 hardcode_automatic_RC \
18079 module_expsym_cmds_RC \
18080 lt_cv_prog_compiler_c_o_RC \
18081 exclude_expsyms_RC \
18082 include_expsyms_RC
; do
18085 old_archive_cmds_RC | \
18086 old_archive_from_new_cmds_RC | \
18087 archive_cmds_RC | \
18088 archive_expsym_cmds_RC | \
18090 module_expsym_cmds_RC | \
18091 old_archive_from_expsyms_cmds_RC | \
18092 export_symbols_cmds_RC | \
18093 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18094 postinstall_cmds | postuninstall_cmds | \
18095 old_postinstall_cmds | old_postuninstall_cmds | \
18096 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18097 # Double-quote double-evaled strings.
18098 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18101 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18107 *'\$0 --fallback-echo"')
18108 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18114 cat <<__EOF__ >> "$cfgfile"
18115 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18117 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18119 # Shell to use when invoking shell scripts.
18122 # Whether or not to build shared libraries.
18123 build_libtool_libs=$enable_shared
18125 # Whether or not to build static libraries.
18126 build_old_libs=$enable_static
18128 # Whether or not to add -lc for building shared libraries.
18129 build_libtool_need_lc=$archive_cmds_need_lc_RC
18131 # Whether or not to disallow shared libs when runtime libs are static
18132 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18134 # Whether or not to optimize for fast installation.
18135 fast_install=$enable_fast_install
18138 host_alias=$host_alias
18142 # The build system.
18143 build_alias=$build_alias
18147 # An echo program that does not interpret backslashes.
18152 AR_FLAGS=$lt_AR_FLAGS
18157 # LTCC compiler flags.
18158 LTCFLAGS=$lt_LTCFLAGS
18160 # A language-specific compiler.
18163 # Is the compiler the GNU C compiler?
18169 # The linker used to build libraries.
18172 # Whether we need hard or soft links.
18175 # A BSD-compatible nm program.
18178 # A symbol stripping program
18181 # Used to examine libraries when file_magic_cmd begins "file"
18182 MAGIC_CMD=$MAGIC_CMD
18184 # Used on cygwin: DLL creation program.
18187 # Used on cygwin: object dumper.
18190 # Used on cygwin: assembler.
18193 # The name of the directory that contains temporary libtool files.
18196 # How to create reloadable object files.
18197 reload_flag=$lt_reload_flag
18198 reload_cmds=$lt_reload_cmds
18200 # How to pass a linker flag through the compiler.
18201 wl=$lt_lt_prog_compiler_wl_RC
18203 # Object file suffix (normally "o").
18204 objext="$ac_objext"
18206 # Old archive suffix (normally "a").
18209 # Shared library suffix (normally ".so").
18210 shrext_cmds='$shrext_cmds'
18212 # Executable file suffix (normally "").
18215 # Additional compiler flags for building library objects.
18216 pic_flag=$lt_lt_prog_compiler_pic_RC
18219 # What is the maximum length of a command?
18220 max_cmd_len=$lt_cv_sys_max_cmd_len
18222 # Does compiler simultaneously support -c and -o options?
18223 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18225 # Must we lock files when doing compilation?
18226 need_locks=$lt_need_locks
18228 # Do we need the lib prefix for modules?
18229 need_lib_prefix=$need_lib_prefix
18231 # Do we need a version for libraries?
18232 need_version=$need_version
18234 # Whether dlopen is supported.
18235 dlopen_support=$enable_dlopen
18237 # Whether dlopen of programs is supported.
18238 dlopen_self=$enable_dlopen_self
18240 # Whether dlopen of statically linked programs is supported.
18241 dlopen_self_static=$enable_dlopen_self_static
18243 # Compiler flag to prevent dynamic linking.
18244 link_static_flag=$lt_lt_prog_compiler_static_RC
18246 # Compiler flag to turn off builtin functions.
18247 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18249 # Compiler flag to allow reflexive dlopens.
18250 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18252 # Compiler flag to generate shared objects directly from archives.
18253 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18255 # Compiler flag to generate thread-safe objects.
18256 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18258 # Library versioning type.
18259 version_type=$version_type
18261 # Format of library name prefix.
18262 libname_spec=$lt_libname_spec
18264 # List of archive names. First name is the real one, the rest are links.
18265 # The last name is the one that the linker finds with -lNAME.
18266 library_names_spec=$lt_library_names_spec
18268 # The coded name of the library, if different from the real name.
18269 soname_spec=$lt_soname_spec
18271 # Commands used to build and install an old-style archive.
18273 old_archive_cmds=$lt_old_archive_cmds_RC
18274 old_postinstall_cmds=$lt_old_postinstall_cmds
18275 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18277 # Create an old-style archive from a shared archive.
18278 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18280 # Create a temporary old-style archive to link instead of a shared archive.
18281 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18283 # Commands used to build and install a shared archive.
18284 archive_cmds=$lt_archive_cmds_RC
18285 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18286 postinstall_cmds=$lt_postinstall_cmds
18287 postuninstall_cmds=$lt_postuninstall_cmds
18289 # Commands used to build a loadable module (assumed same as above if empty)
18290 module_cmds=$lt_module_cmds_RC
18291 module_expsym_cmds=$lt_module_expsym_cmds_RC
18293 # Commands to strip libraries.
18294 old_striplib=$lt_old_striplib
18295 striplib=$lt_striplib
18297 # Dependencies to place before the objects being linked to create a
18299 predep_objects=$lt_predep_objects_RC
18301 # Dependencies to place after the objects being linked to create a
18303 postdep_objects=$lt_postdep_objects_RC
18305 # Dependencies to place before the objects being linked to create a
18307 predeps=$lt_predeps_RC
18309 # Dependencies to place after the objects being linked to create a
18311 postdeps=$lt_postdeps_RC
18313 # The library search path used internally by the compiler when linking
18314 # a shared library.
18315 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18317 # Method to check whether dependent libraries are shared objects.
18318 deplibs_check_method=$lt_deplibs_check_method
18320 # Command to use when deplibs_check_method == file_magic.
18321 file_magic_cmd=$lt_file_magic_cmd
18323 # Flag that allows shared libraries with undefined symbols to be built.
18324 allow_undefined_flag=$lt_allow_undefined_flag_RC
18326 # Flag that forces no undefined symbols.
18327 no_undefined_flag=$lt_no_undefined_flag_RC
18329 # Commands used to finish a libtool library installation in a directory.
18330 finish_cmds=$lt_finish_cmds
18332 # Same as above, but a single script fragment to be evaled but not shown.
18333 finish_eval=$lt_finish_eval
18335 # Take the output of nm and produce a listing of raw symbols and C names.
18336 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18338 # Transform the output of nm in a proper C declaration
18339 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18341 # Transform the output of nm in a C name address pair
18342 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18344 # This is the shared library runtime path variable.
18345 runpath_var=$runpath_var
18347 # This is the shared library path variable.
18348 shlibpath_var=$shlibpath_var
18350 # Is shlibpath searched before the hard-coded library search path?
18351 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18353 # How to hardcode a shared library path into an executable.
18354 hardcode_action=$hardcode_action_RC
18356 # Whether we should hardcode library paths into libraries.
18357 hardcode_into_libs=$hardcode_into_libs
18359 # Flag to hardcode \$libdir into a binary during linking.
18360 # This must work even if \$libdir does not exist.
18361 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18363 # If ld is used when linking, flag to hardcode \$libdir into
18364 # a binary during linking. This must work even if \$libdir does
18366 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18368 # Whether we need a single -rpath flag with a separated argument.
18369 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18371 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18372 # resulting binary.
18373 hardcode_direct=$hardcode_direct_RC
18375 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18376 # resulting binary.
18377 hardcode_minus_L=$hardcode_minus_L_RC
18379 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18380 # the resulting binary.
18381 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18383 # Set to yes if building a shared library automatically hardcodes DIR into the library
18384 # and all subsequent libraries and executables linked against it.
18385 hardcode_automatic=$hardcode_automatic_RC
18387 # Variables whose values should be saved in libtool wrapper scripts and
18388 # restored at relink time.
18389 variables_saved_for_relink="$variables_saved_for_relink"
18391 # Whether libtool must link a program against all its dependency libraries.
18392 link_all_deplibs=$link_all_deplibs_RC
18394 # Compile-time system search path for libraries
18395 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18397 # Run-time system search path for libraries
18398 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18400 # Fix the shell variable \$srcfile for the compiler.
18401 fix_srcfile_path="$fix_srcfile_path_RC"
18403 # Set to yes if exported symbols are required.
18404 always_export_symbols=$always_export_symbols_RC
18406 # The commands to list exported symbols.
18407 export_symbols_cmds=$lt_export_symbols_cmds_RC
18409 # The commands to extract the exported symbol list from a shared archive.
18410 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18412 # Symbols that should not be listed in the preloaded symbols.
18413 exclude_expsyms=$lt_exclude_expsyms_RC
18415 # Symbols that must always be exported.
18416 include_expsyms=$lt_include_expsyms_RC
18418 # ### END LIBTOOL TAG CONFIG: $tagname
18424 # If there is no Makefile yet, we rely on a make rule to execute
18425 # `config.status --recheck' to rerun these tests and create the
18426 # libtool script then.
18427 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18428 if test -f "$ltmain_in"; then
18429 test -f Makefile
&& make "$ltmain"
18435 ac_cpp
='$CPP $CPPFLAGS'
18436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18445 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18446 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18447 { (exit 1); exit 1; }; }
18451 # Append the new tag name to the list of available tags.
18452 if test -n "$tagname" ; then
18453 available_tags
="$available_tags $tagname"
18459 # Now substitute the updated list of available tags.
18460 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18461 mv "${ofile}T" "$ofile"
18465 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18466 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18467 { (exit 1); exit 1; }; }
18473 # This can be used to rebuild libtool when needed
18474 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18476 # Always use our own libtool.
18477 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18479 # Prevent multiple expansion
18500 # Find a good install program. We prefer a C program (faster),
18501 # so one script is as good as another. But avoid the broken or
18502 # incompatible versions:
18503 # SysV /etc/install, /usr/sbin/install
18504 # SunOS /usr/etc/install
18505 # IRIX /sbin/install
18507 # AmigaOS /C/install, which installs bootblocks on floppy discs
18508 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
18509 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
18510 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18511 # OS/2's system install, which has a completely different semantic
18512 # ./install, which can be erroneously created by make from ./install.sh.
18513 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18514 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
18515 if test -z "$INSTALL"; then
18516 if test "${ac_cv_path_install+set}" = set; then
18517 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18520 for as_dir
in $PATH
18523 test -z "$as_dir" && as_dir
=.
18524 # Account for people who put trailing slashes in PATH elements.
18526 .
/ | .
// |
/cC
/* | \
18527 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
18528 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
18531 # OSF1 and SCO ODT 3.0 have their own names for install.
18532 # Don't use installbsd from OSF since it installs stuff as root
18534 for ac_prog
in ginstall scoinst
install; do
18535 for ac_exec_ext
in '' $ac_executable_extensions; do
18536 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
18537 if test $ac_prog = install &&
18538 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
18539 # AIX install. It has an incompatible calling convention.
18541 elif test $ac_prog = install &&
18542 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
18543 # program-specific install script used by HP pwplus--don't use.
18546 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
18558 if test "${ac_cv_path_install+set}" = set; then
18559 INSTALL
=$ac_cv_path_install
18561 # As a last resort, use the slow shell script. We don't cache a
18562 # path for INSTALL within a source directory, because that will
18563 # break other packages using the cache if that directory is
18564 # removed, or if the path is relative.
18565 INSTALL
=$ac_install_sh
18568 echo "$as_me:$LINENO: result: $INSTALL" >&5
18569 echo "${ECHO_T}$INSTALL" >&6
18571 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18572 # It thinks the first close brace ends the variable substitution.
18573 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
18575 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
18577 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
18580 ac_cpp
='$CXXCPP $CPPFLAGS'
18581 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18590 if test "$cross_compiling" = "yes"; then
18593 # MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/sbin:/usr/sbin:/usr/local/sbin:/opt/gnu/bin"
18597 # Extract the first word of "python", so it can be a program name with args.
18598 set dummy python
; ac_word
=$2
18599 echo "$as_me:$LINENO: checking for $ac_word" >&5
18600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18601 if test "${ac_cv_path___PYTHON+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18606 ac_cv_path___PYTHON
="$__PYTHON" # Let the user override the test with a path.
18609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18610 for as_dir
in $MYPATH
18613 test -z "$as_dir" && as_dir
=.
18614 for ac_exec_ext
in '' $ac_executable_extensions; do
18615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18616 ac_cv_path___PYTHON
="$as_dir/$ac_word$ac_exec_ext"
18617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18623 test -z "$ac_cv_path___PYTHON" && ac_cv_path___PYTHON
="/usr/bin/python"
18627 __PYTHON
=$ac_cv_path___PYTHON
18629 if test -n "$__PYTHON"; then
18630 echo "$as_me:$LINENO: result: $__PYTHON" >&5
18631 echo "${ECHO_T}$__PYTHON" >&6
18633 echo "$as_me:$LINENO: result: no" >&5
18634 echo "${ECHO_T}no" >&6
18638 LIBZTHREAD_MAJOR_VERSION
=2
18639 LIBZTHREAD_MINOR_VERSION
=3
18640 LIBZTHREAD_MICRO_VERSION
=2
18641 LT_RELEASE
=$LIBZTHREAD_MAJOR_VERSION.
$LIBZTHREAD_MINOR_VERSION.
$LIBZTHREAD_MICRO_VERSION
18642 LT_CURRENT
=$LIBZTHREAD_MAJOR_VERSION
18643 LT_REVISION
=$LIBZTHREAD_MINOR_VERSION
18644 LT_AGE
=$LIBZTHREAD_MICRO_VERSION
18646 LIBMANGOSSCRIPT_MAJOR_VERSION
=0
18647 LIBMANGOSSCRIPT_MINOR_VERSION
=2
18648 LIBMANGOSSCRIPT_MICRO_VERSION
=0
18649 LTMS_RELEASE
=$LIBMANGOSSCRIPT_MAJOR_VERSION.
$LIBMANGOSSCRIPT_MINOR_VERSION.
$LIBMANGOSSCRIPT_MICRO_VERSION
18650 LTMS_CURRENT
=$LIBMANGOSSCRIPT_MAJOR_VERSION
18651 LTMS_REVISION
=$LIBMANGOSSCRIPT_MINOR_VERSION
18652 LTMS_AGE
=$LIBMANGOSSCRIPT_MICRO_VERSION
18654 COMPILER_OPTIONS
=""
18657 INCLUDES
="-I/usr/include/mysql -I/usr/local/include/mysql -I/usr/include/openssl -I/usr/local/include/openssl"
18659 LDFLAGS
="-L/usr/lib/mysql -L/usr/local/lib/mysql"
18662 # check for openssl path given
18663 echo "$as_me:$LINENO: checking whether openssl path was given" >&5
18664 echo $ECHO_N "checking whether openssl path was given... $ECHO_C" >&6
18665 MANGOSD_WITH_OPENSSL
=
18666 # Check whether --enable-with-openssl or --disable-with-openssl was given.
18667 if test "${enable_with_openssl+set}" = set; then
18668 enableval
="$enable_with_openssl"
18670 if test "$enableval" != "" ; then
18671 INCLUDES
="-I$enableval/include/openssl -I/usr/include/mysql -I/usr/local/include/mysql"
18673 elif test "$enableval" = "" ; then
18674 { { echo "$as_me:$LINENO: error: Please choose openssl path" >&5
18675 echo "$as_me: error: Please choose openssl path" >&2;}
18676 { (exit 1); exit 1; }; }
18681 echo "$as_me:$LINENO: result: $MANGOSD_WITH_OPENSSL" >&5
18682 echo "${ECHO_T}$MANGOSD_WITH_OPENSSL" >&6
18685 # check for mysql path given
18686 echo "$as_me:$LINENO: checking whether mysql path was given" >&5
18687 echo $ECHO_N "checking whether mysql path was given... $ECHO_C" >&6
18688 MANGOSD_WITH_MYSQL
=
18689 # Check whether --enable-with-mysql or --disable-with-mysql was given.
18690 if test "${enable_with_mysql+set}" = set; then
18691 enableval
="$enable_with_mysql"
18693 if test "$enableval" != "" ; then
18694 INCLUDES
="-I$enableval/include/mysql -I/usr/include/openssl -I/usr/local/include/openssl"
18696 LDFLAGS
="-L$enableval/lib/mysql"
18698 elif test "$enableval" = "" ; then
18699 { { echo "$as_me:$LINENO: error: Please choose mysql path" >&5
18700 echo "$as_me: error: Please choose mysql path" >&2;}
18701 { (exit 1); exit 1; }; }
18706 echo "$as_me:$LINENO: result: $MANGOSD_WITH_MYSQL" >&5
18707 echo "${ECHO_T}$MANGOSD_WITH_MYSQL" >&6
18713 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
18714 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
18715 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
18716 echo $ECHO_N "(cached) $ECHO_C" >&6
18718 ac_check_lib_save_LIBS
=$LIBS
18719 LIBS
="-lpthread $LIBS"
18720 cat >conftest.
$ac_ext <<_ACEOF
18723 cat confdefs.h
>>conftest.
$ac_ext
18724 cat >>conftest.
$ac_ext <<_ACEOF
18725 /* end confdefs.h. */
18727 /* Override any gcc2 internal prototype to avoid an error. */
18731 /* We use char because int might match the return type of a gcc2
18732 builtin and then its argument prototype would still apply. */
18733 char pthread_create ();
18742 rm -f conftest.
$ac_objext conftest
$ac_exeext
18743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18744 (eval $ac_link) 2>conftest.er1
18746 grep -v '^ *+' conftest.er1
>conftest.err
18748 cat conftest.err
>&5
18749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18750 (exit $ac_status); } &&
18751 { ac_try
='test -z "$ac_cxx_werror_flag"
18752 || test ! -s conftest.err'
18753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18754 (eval $ac_try) 2>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); }; } &&
18758 { ac_try
='test -s conftest$ac_exeext'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; }; then
18764 ac_cv_lib_pthread_pthread_create
=yes
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.
$ac_ext >&5
18769 ac_cv_lib_pthread_pthread_create
=no
18771 rm -f conftest.err conftest.
$ac_objext \
18772 conftest
$ac_exeext conftest.
$ac_ext
18773 LIBS
=$ac_check_lib_save_LIBS
18775 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
18776 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
18777 if test $ac_cv_lib_pthread_pthread_create = yes; then
18778 cat >>confdefs.h
<<_ACEOF
18779 #define HAVE_LIBPTHREAD 1
18782 LIBS
="-lpthread $LIBS"
18785 LDFLAGS
="-pthread $LDFLAGS"
18786 cat >conftest.
$ac_ext <<_ACEOF
18789 cat confdefs.h
>>conftest.
$ac_ext
18790 cat >>conftest.
$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18792 char pthread_create();
18801 rm -f conftest.
$ac_objext conftest
$ac_exeext
18802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18803 (eval $ac_link) 2>conftest.er1
18805 grep -v '^ *+' conftest.er1
>conftest.err
18807 cat conftest.err
>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } &&
18810 { ac_try
='test -z "$ac_cxx_werror_flag"
18811 || test ! -s conftest.err'
18812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18813 (eval $ac_try) 2>&5
18815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18816 (exit $ac_status); }; } &&
18817 { ac_try
='test -s conftest$ac_exeext'
18818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18819 (eval $ac_try) 2>&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); }; }; then
18825 echo "$as_me: failed program was:" >&5
18826 sed 's/^/| /' conftest.
$ac_ext >&5
18828 { { echo "$as_me:$LINENO: error: Missing pthread" >&5
18829 echo "$as_me: error: Missing pthread" >&2;}
18830 { (exit 1); exit 1; }; }
18832 rm -f conftest.err conftest.
$ac_objext \
18833 conftest
$ac_exeext conftest.
$ac_ext
18838 echo "$as_me:$LINENO: checking for compress in -lz" >&5
18839 echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6
18840 if test "${ac_cv_lib_z_compress+set}" = set; then
18841 echo $ECHO_N "(cached) $ECHO_C" >&6
18843 ac_check_lib_save_LIBS
=$LIBS
18845 cat >conftest.
$ac_ext <<_ACEOF
18848 cat confdefs.h
>>conftest.
$ac_ext
18849 cat >>conftest.
$ac_ext <<_ACEOF
18850 /* end confdefs.h. */
18852 /* Override any gcc2 internal prototype to avoid an error. */
18856 /* We use char because int might match the return type of a gcc2
18857 builtin and then its argument prototype would still apply. */
18867 rm -f conftest.
$ac_objext conftest
$ac_exeext
18868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18869 (eval $ac_link) 2>conftest.er1
18871 grep -v '^ *+' conftest.er1
>conftest.err
18873 cat conftest.err
>&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } &&
18876 { ac_try
='test -z "$ac_cxx_werror_flag"
18877 || test ! -s conftest.err'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; } &&
18883 { ac_try
='test -s conftest$ac_exeext'
18884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18885 (eval $ac_try) 2>&5
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); }; }; then
18889 ac_cv_lib_z_compress
=yes
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.
$ac_ext >&5
18894 ac_cv_lib_z_compress
=no
18896 rm -f conftest.err conftest.
$ac_objext \
18897 conftest
$ac_exeext conftest.
$ac_ext
18898 LIBS
=$ac_check_lib_save_LIBS
18900 echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
18901 echo "${ECHO_T}$ac_cv_lib_z_compress" >&6
18902 if test $ac_cv_lib_z_compress = yes; then
18903 cat >>confdefs.h
<<_ACEOF
18904 #define HAVE_LIBZ 1
18910 { { echo "$as_me:$LINENO: error: Missing zlib" >&5
18911 echo "$as_me: error: Missing zlib" >&2;}
18912 { (exit 1); exit 1; }; }
18916 echo "$as_me:$LINENO: checking for ftime in -lcompat" >&5
18917 echo $ECHO_N "checking for ftime in -lcompat... $ECHO_C" >&6
18918 if test "${ac_cv_lib_compat_ftime_+set}" = set; then
18919 echo $ECHO_N "(cached) $ECHO_C" >&6
18921 ac_check_lib_save_LIBS
=$LIBS
18922 LIBS
="-lcompat $LIBS"
18923 cat >conftest.
$ac_ext <<_ACEOF
18926 cat confdefs.h
>>conftest.
$ac_ext
18927 cat >>conftest.
$ac_ext <<_ACEOF
18928 /* end confdefs.h. */
18930 /* Override any gcc2 internal prototype to avoid an error. */
18934 /* We use char because int might match the return type of a gcc2
18935 builtin and then its argument prototype would still apply. */
18945 rm -f conftest.
$ac_objext conftest
$ac_exeext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18947 (eval $ac_link) 2>conftest.er1
18949 grep -v '^ *+' conftest.er1
>conftest.err
18951 cat conftest.err
>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try
='test -z "$ac_cxx_werror_flag"
18955 || test ! -s conftest.err'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; } &&
18961 { ac_try
='test -s conftest$ac_exeext'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 ac_cv_lib_compat_ftime_
=yes
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.
$ac_ext >&5
18972 ac_cv_lib_compat_ftime_
=no
18974 rm -f conftest.err conftest.
$ac_objext \
18975 conftest
$ac_exeext conftest.
$ac_ext
18976 LIBS
=$ac_check_lib_save_LIBS
18978 echo "$as_me:$LINENO: result: $ac_cv_lib_compat_ftime_" >&5
18979 echo "${ECHO_T}$ac_cv_lib_compat_ftime_" >&6
18980 if test $ac_cv_lib_compat_ftime_ = yes; then
18981 cat >>confdefs.h
<<_ACEOF
18982 #define HAVE_LIBCOMPAT 1
18985 LIBS
="-lcompat $LIBS"
18990 echo "$as_me:$LINENO: checking for mysql_init in -lmysqlclient" >&5
18991 echo $ECHO_N "checking for mysql_init in -lmysqlclient... $ECHO_C" >&6
18992 if test "${ac_cv_lib_mysqlclient_mysql_init+set}" = set; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18995 ac_check_lib_save_LIBS
=$LIBS
18996 LIBS
="-lmysqlclient $LIBS"
18997 cat >conftest.
$ac_ext <<_ACEOF
19000 cat confdefs.h
>>conftest.
$ac_ext
19001 cat >>conftest.
$ac_ext <<_ACEOF
19002 /* end confdefs.h. */
19004 /* Override any gcc2 internal prototype to avoid an error. */
19008 /* We use char because int might match the return type of a gcc2
19009 builtin and then its argument prototype would still apply. */
19010 char mysql_init ();
19019 rm -f conftest.
$ac_objext conftest
$ac_exeext
19020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19021 (eval $ac_link) 2>conftest.er1
19023 grep -v '^ *+' conftest.er1
>conftest.err
19025 cat conftest.err
>&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } &&
19028 { ac_try
='test -z "$ac_cxx_werror_flag"
19029 || test ! -s conftest.err'
19030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19031 (eval $ac_try) 2>&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); }; } &&
19035 { ac_try
='test -s conftest$ac_exeext'
19036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19037 (eval $ac_try) 2>&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); }; }; then
19041 ac_cv_lib_mysqlclient_mysql_init
=yes
19043 echo "$as_me: failed program was:" >&5
19044 sed 's/^/| /' conftest.
$ac_ext >&5
19046 ac_cv_lib_mysqlclient_mysql_init
=no
19048 rm -f conftest.err conftest.
$ac_objext \
19049 conftest
$ac_exeext conftest.
$ac_ext
19050 LIBS
=$ac_check_lib_save_LIBS
19052 echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_mysql_init" >&5
19053 echo "${ECHO_T}$ac_cv_lib_mysqlclient_mysql_init" >&6
19054 if test $ac_cv_lib_mysqlclient_mysql_init = yes; then
19055 cat >>confdefs.h
<<_ACEOF
19056 #define HAVE_LIBMYSQLCLIENT 1
19059 LIBS
="-lmysqlclient $LIBS"
19063 echo "$as_me:$LINENO: checking for mysql_init in -lmysql" >&5
19064 echo $ECHO_N "checking for mysql_init in -lmysql... $ECHO_C" >&6
19065 if test "${ac_cv_lib_mysql_mysql_init+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 ac_check_lib_save_LIBS
=$LIBS
19069 LIBS
="-lmysql $LIBS"
19070 cat >conftest.
$ac_ext <<_ACEOF
19073 cat confdefs.h
>>conftest.
$ac_ext
19074 cat >>conftest.
$ac_ext <<_ACEOF
19075 /* end confdefs.h. */
19077 /* Override any gcc2 internal prototype to avoid an error. */
19081 /* We use char because int might match the return type of a gcc2
19082 builtin and then its argument prototype would still apply. */
19083 char mysql_init ();
19092 rm -f conftest.
$ac_objext conftest
$ac_exeext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19094 (eval $ac_link) 2>conftest.er1
19096 grep -v '^ *+' conftest.er1
>conftest.err
19098 cat conftest.err
>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try
='test -z "$ac_cxx_werror_flag"
19102 || test ! -s conftest.err'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; } &&
19108 { ac_try
='test -s conftest$ac_exeext'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; }; then
19114 ac_cv_lib_mysql_mysql_init
=yes
19116 echo "$as_me: failed program was:" >&5
19117 sed 's/^/| /' conftest.
$ac_ext >&5
19119 ac_cv_lib_mysql_mysql_init
=no
19121 rm -f conftest.err conftest.
$ac_objext \
19122 conftest
$ac_exeext conftest.
$ac_ext
19123 LIBS
=$ac_check_lib_save_LIBS
19125 echo "$as_me:$LINENO: result: $ac_cv_lib_mysql_mysql_init" >&5
19126 echo "${ECHO_T}$ac_cv_lib_mysql_mysql_init" >&6
19127 if test $ac_cv_lib_mysql_mysql_init = yes; then
19128 cat >>confdefs.h
<<_ACEOF
19129 #define HAVE_LIBMYSQL 1
19132 LIBS
="-lmysql $LIBS"
19135 { { echo "$as_me:$LINENO: error: Missing mysql" >&5
19136 echo "$as_me: error: Missing mysql" >&2;}
19137 { (exit 1); exit 1; }; }
19143 echo "$as_me:$LINENO: checking for SHA1_Init in -lssl" >&5
19144 echo $ECHO_N "checking for SHA1_Init in -lssl... $ECHO_C" >&6
19145 if test "${ac_cv_lib_ssl_SHA1_Init+set}" = set; then
19146 echo $ECHO_N "(cached) $ECHO_C" >&6
19148 ac_check_lib_save_LIBS
=$LIBS
19150 cat >conftest.
$ac_ext <<_ACEOF
19153 cat confdefs.h
>>conftest.
$ac_ext
19154 cat >>conftest.
$ac_ext <<_ACEOF
19155 /* end confdefs.h. */
19157 /* Override any gcc2 internal prototype to avoid an error. */
19161 /* We use char because int might match the return type of a gcc2
19162 builtin and then its argument prototype would still apply. */
19172 rm -f conftest.
$ac_objext conftest
$ac_exeext
19173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19174 (eval $ac_link) 2>conftest.er1
19176 grep -v '^ *+' conftest.er1
>conftest.err
19178 cat conftest.err
>&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); } &&
19181 { ac_try
='test -z "$ac_cxx_werror_flag"
19182 || test ! -s conftest.err'
19183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19184 (eval $ac_try) 2>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); }; } &&
19188 { ac_try
='test -s conftest$ac_exeext'
19189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19190 (eval $ac_try) 2>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); }; }; then
19194 ac_cv_lib_ssl_SHA1_Init
=yes
19196 echo "$as_me: failed program was:" >&5
19197 sed 's/^/| /' conftest.
$ac_ext >&5
19199 ac_cv_lib_ssl_SHA1_Init
=no
19201 rm -f conftest.err conftest.
$ac_objext \
19202 conftest
$ac_exeext conftest.
$ac_ext
19203 LIBS
=$ac_check_lib_save_LIBS
19205 echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SHA1_Init" >&5
19206 echo "${ECHO_T}$ac_cv_lib_ssl_SHA1_Init" >&6
19207 if test $ac_cv_lib_ssl_SHA1_Init = yes; then
19208 cat >>confdefs.h
<<_ACEOF
19209 #define HAVE_LIBSSL 1
19216 echo "$as_me:$LINENO: checking for SHA1_Init in -lssl" >&5
19217 echo $ECHO_N "checking for SHA1_Init in -lssl... $ECHO_C" >&6
19218 if test "${ac_cv_lib_ssl_SHA1_Init+set}" = set; then
19219 echo $ECHO_N "(cached) $ECHO_C" >&6
19221 ac_check_lib_save_LIBS
=$LIBS
19223 cat >conftest.
$ac_ext <<_ACEOF
19226 cat confdefs.h
>>conftest.
$ac_ext
19227 cat >>conftest.
$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19230 /* Override any gcc2 internal prototype to avoid an error. */
19234 /* We use char because int might match the return type of a gcc2
19235 builtin and then its argument prototype would still apply. */
19245 rm -f conftest.
$ac_objext conftest
$ac_exeext
19246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19247 (eval $ac_link) 2>conftest.er1
19249 grep -v '^ *+' conftest.er1
>conftest.err
19251 cat conftest.err
>&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } &&
19254 { ac_try
='test -z "$ac_cxx_werror_flag"
19255 || test ! -s conftest.err'
19256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19257 (eval $ac_try) 2>&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); }; } &&
19261 { ac_try
='test -s conftest$ac_exeext'
19262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19263 (eval $ac_try) 2>&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); }; }; then
19267 ac_cv_lib_ssl_SHA1_Init
=yes
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.
$ac_ext >&5
19272 ac_cv_lib_ssl_SHA1_Init
=no
19274 rm -f conftest.err conftest.
$ac_objext \
19275 conftest
$ac_exeext conftest.
$ac_ext
19276 LIBS
=$ac_check_lib_save_LIBS
19278 echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SHA1_Init" >&5
19279 echo "${ECHO_T}$ac_cv_lib_ssl_SHA1_Init" >&6
19280 if test $ac_cv_lib_ssl_SHA1_Init = yes; then
19281 cat >>confdefs.h
<<_ACEOF
19282 #define HAVE_LIBSSL 1
19288 { { echo "$as_me:$LINENO: error: Missing openssl" >&5
19289 echo "$as_me: error: Missing openssl" >&2;}
19290 { (exit 1); exit 1; }; }
19296 CPPFLAGS_SAVE
=$CPPFLAGS
19297 CPPFLAGS
=$INCLUDES $CPPFLAGS
19300 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19301 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19302 if test "${ac_cv_header_stdc+set}" = set; then
19303 echo $ECHO_N "(cached) $ECHO_C" >&6
19305 cat >conftest.
$ac_ext <<_ACEOF
19308 cat confdefs.h
>>conftest.
$ac_ext
19309 cat >>conftest.
$ac_ext <<_ACEOF
19310 /* end confdefs.h. */
19311 #include <stdlib.h>
19312 #include <stdarg.h>
19313 #include <string.h>
19324 rm -f conftest.
$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19328 grep -v '^ *+' conftest.er1
>conftest.err
19330 cat conftest.err
>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try
='test -z "$ac_cxx_werror_flag"
19334 || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try
='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_header_stdc
=yes
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.
$ac_ext >&5
19351 ac_cv_header_stdc
=no
19353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19355 if test $ac_cv_header_stdc = yes; then
19356 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19357 cat >conftest.
$ac_ext <<_ACEOF
19360 cat confdefs.h
>>conftest.
$ac_ext
19361 cat >>conftest.
$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19363 #include <string.h>
19366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19367 $EGREP "memchr" >/dev
/null
2>&1; then
19370 ac_cv_header_stdc
=no
19376 if test $ac_cv_header_stdc = yes; then
19377 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19378 cat >conftest.
$ac_ext <<_ACEOF
19381 cat confdefs.h
>>conftest.
$ac_ext
19382 cat >>conftest.
$ac_ext <<_ACEOF
19383 /* end confdefs.h. */
19384 #include <stdlib.h>
19387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19388 $EGREP "free" >/dev
/null
2>&1; then
19391 ac_cv_header_stdc
=no
19397 if test $ac_cv_header_stdc = yes; then
19398 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19399 if test "$cross_compiling" = yes; then
19402 cat >conftest.
$ac_ext <<_ACEOF
19405 cat confdefs.h
>>conftest.
$ac_ext
19406 cat >>conftest.
$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19409 #if ((' ' & 0x0FF) == 0x020)
19410 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19411 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19413 # define ISLOWER(c) \
19414 (('a' <= (c) && (c) <= 'i') \
19415 || ('j' <= (c) && (c) <= 'r') \
19416 || ('s' <= (c) && (c) <= 'z'))
19417 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19420 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19425 for (i = 0; i < 256; i++)
19426 if (XOR (islower (i), ISLOWER (i))
19427 || toupper (i) != TOUPPER (i))
19432 rm -f conftest
$ac_exeext
19433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19434 (eval $ac_link) 2>&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; }; then
19445 echo "$as_me: program exited with status $ac_status" >&5
19446 echo "$as_me: failed program was:" >&5
19447 sed 's/^/| /' conftest.
$ac_ext >&5
19449 ( exit $ac_status )
19450 ac_cv_header_stdc
=no
19452 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19456 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19457 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19458 if test $ac_cv_header_stdc = yes; then
19460 cat >>confdefs.h
<<\_ACEOF
19461 #define STDC_HEADERS 1
19466 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
19467 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
19468 if test "${ac_cv_header_stdbool_h+set}" = set; then
19469 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 cat >conftest.
$ac_ext <<_ACEOF
19474 cat confdefs.h
>>conftest.
$ac_ext
19475 cat >>conftest.
$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19478 #include <stdbool.h>
19480 # error bool is not defined
19483 # error false is not defined
19486 # error false is not 0
19489 # error true is not defined
19492 # error true is not 1
19494 #ifndef __bool_true_false_are_defined
19495 # error __bool_true_false_are_defined is not defined
19498 struct s { _Bool s: 1; _Bool t; } s;
19500 char a[true == 1 ? 1 : -1];
19501 char b[false == 0 ? 1 : -1];
19502 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
19503 char d[(bool) -0.5 == true ? 1 : -1];
19505 char f[(_Bool) -0.0 == false ? 1 : -1];
19507 char h[sizeof (_Bool)];
19508 char i[sizeof s.t];
19513 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
19518 rm -f conftest.
$ac_objext
19519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19520 (eval $ac_compile) 2>conftest.er1
19522 grep -v '^ *+' conftest.er1
>conftest.err
19524 cat conftest.err
>&5
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try
='test -z "$ac_cxx_werror_flag"
19528 || test ! -s conftest.err'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; } &&
19534 { ac_try
='test -s conftest.$ac_objext'
19535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19536 (eval $ac_try) 2>&5
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); }; }; then
19540 ac_cv_header_stdbool_h
=yes
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.
$ac_ext >&5
19545 ac_cv_header_stdbool_h
=no
19547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19549 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
19550 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
19551 echo "$as_me:$LINENO: checking for _Bool" >&5
19552 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
19553 if test "${ac_cv_type__Bool+set}" = set; then
19554 echo $ECHO_N "(cached) $ECHO_C" >&6
19556 cat >conftest.
$ac_ext <<_ACEOF
19559 cat confdefs.h
>>conftest.
$ac_ext
19560 cat >>conftest.
$ac_ext <<_ACEOF
19561 /* end confdefs.h. */
19562 $ac_includes_default
19568 if (sizeof (_Bool))
19574 rm -f conftest.
$ac_objext
19575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19576 (eval $ac_compile) 2>conftest.er1
19578 grep -v '^ *+' conftest.er1
>conftest.err
19580 cat conftest.err
>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } &&
19583 { ac_try
='test -z "$ac_cxx_werror_flag"
19584 || test ! -s conftest.err'
19585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586 (eval $ac_try) 2>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; } &&
19590 { ac_try
='test -s conftest.$ac_objext'
19591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19592 (eval $ac_try) 2>&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); }; }; then
19596 ac_cv_type__Bool
=yes
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.
$ac_ext >&5
19601 ac_cv_type__Bool
=no
19603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19605 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
19606 echo "${ECHO_T}$ac_cv_type__Bool" >&6
19607 if test $ac_cv_type__Bool = yes; then
19609 cat >>confdefs.h
<<_ACEOF
19610 #define HAVE__BOOL 1
19616 if test $ac_cv_header_stdbool_h = yes; then
19618 cat >>confdefs.h
<<\_ACEOF
19619 #define HAVE_STDBOOL_H 1
19624 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
19625 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
19626 if test "${ac_cv_header_time+set}" = set; then
19627 echo $ECHO_N "(cached) $ECHO_C" >&6
19629 cat >conftest.
$ac_ext <<_ACEOF
19632 cat confdefs.h
>>conftest.
$ac_ext
19633 cat >>conftest.
$ac_ext <<_ACEOF
19634 /* end confdefs.h. */
19635 #include <sys/types.h>
19636 #include <sys/time.h>
19642 if ((struct tm *) 0)
19648 rm -f conftest.
$ac_objext
19649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19650 (eval $ac_compile) 2>conftest.er1
19652 grep -v '^ *+' conftest.er1
>conftest.err
19654 cat conftest.err
>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } &&
19657 { ac_try
='test -z "$ac_cxx_werror_flag"
19658 || test ! -s conftest.err'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; } &&
19664 { ac_try
='test -s conftest.$ac_objext'
19665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666 (eval $ac_try) 2>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; }; then
19670 ac_cv_header_time
=yes
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.
$ac_ext >&5
19675 ac_cv_header_time
=no
19677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19679 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
19680 echo "${ECHO_T}$ac_cv_header_time" >&6
19681 if test $ac_cv_header_time = yes; then
19683 cat >>confdefs.h
<<\_ACEOF
19684 #define TIME_WITH_SYS_TIME 1
19703 limits.h sys
/ioctl.h unistd.h fcntl.h float.h mysql.h \
19704 netdb.h netinet
/in.h stddef.h sys
/socket.h \
19705 sys
/time.h sys
/timeb.h opensslv.h \
19708 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19710 echo "$as_me:$LINENO: checking for $ac_header" >&5
19711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19713 echo $ECHO_N "(cached) $ECHO_C" >&6
19715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19718 # Is the header compilable?
19719 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19720 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19721 cat >conftest.
$ac_ext <<_ACEOF
19724 cat confdefs.h
>>conftest.
$ac_ext
19725 cat >>conftest.
$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19727 $ac_includes_default
19728 #include <$ac_header>
19730 rm -f conftest.
$ac_objext
19731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19732 (eval $ac_compile) 2>conftest.er1
19734 grep -v '^ *+' conftest.er1
>conftest.err
19736 cat conftest.err
>&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); } &&
19739 { ac_try
='test -z "$ac_cxx_werror_flag"
19740 || test ! -s conftest.err'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; } &&
19746 { ac_try
='test -s conftest.$ac_objext'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; }; then
19752 ac_header_compiler
=yes
19754 echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.
$ac_ext >&5
19757 ac_header_compiler
=no
19759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19761 echo "${ECHO_T}$ac_header_compiler" >&6
19763 # Is the header present?
19764 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19766 cat >conftest.
$ac_ext <<_ACEOF
19769 cat confdefs.h
>>conftest.
$ac_ext
19770 cat >>conftest.
$ac_ext <<_ACEOF
19771 /* end confdefs.h. */
19772 #include <$ac_header>
19774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19775 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19777 grep -v '^ *+' conftest.er1
>conftest.err
19779 cat conftest.err
>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } >/dev
/null
; then
19782 if test -s conftest.err
; then
19783 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19784 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19791 if test -z "$ac_cpp_err"; then
19792 ac_header_preproc
=yes
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.
$ac_ext >&5
19797 ac_header_preproc
=no
19799 rm -f conftest.err conftest.
$ac_ext
19800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19801 echo "${ECHO_T}$ac_header_preproc" >&6
19803 # So? What about this header?
19804 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19809 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19810 ac_header_preproc
=yes
19813 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19814 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19815 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19816 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19817 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19818 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19819 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19820 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19823 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19824 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19827 ## -------------------------------------------- ##
19828 ## Report this to http://www.mangosproject.org/ ##
19829 ## -------------------------------------------- ##
19832 sed "s/^/$as_me: WARNING: /" >&2
19835 echo "$as_me:$LINENO: checking for $ac_header" >&5
19836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19838 echo $ECHO_N "(cached) $ECHO_C" >&6
19840 eval "$as_ac_Header=\$ac_header_preproc"
19842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19847 cat >>confdefs.h
<<_ACEOF
19848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19852 { { echo "$as_me:$LINENO: error: Missing required header" >&5
19853 echo "$as_me: error: Missing required header" >&2;}
19854 { (exit 1); exit 1; }; }
19860 CPPFLAGS
=$CPPFLAGS_SAVE
19862 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19863 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19864 if test "${ac_cv_c_const+set}" = set; then
19865 echo $ECHO_N "(cached) $ECHO_C" >&6
19867 cat >conftest.
$ac_ext <<_ACEOF
19870 cat confdefs.h
>>conftest.
$ac_ext
19871 cat >>conftest.
$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19877 /* FIXME: Include the comments suggested by Paul. */
19878 #ifndef __cplusplus
19879 /* Ultrix mips cc rejects this. */
19880 typedef int charset[2];
19882 /* SunOS 4.1.1 cc rejects this. */
19883 char const *const *ccp;
19885 /* NEC SVR4.0.2 mips cc rejects this. */
19886 struct point {int x, y;};
19887 static struct point const zero = {0,0};
19888 /* AIX XL C 1.02.0.0 rejects this.
19889 It does not let you subtract one const X* pointer from another in
19890 an arm of an if-expression whose if-part is not a constant
19892 const char *g = "string";
19893 ccp = &g + (g ? g-g : 0);
19894 /* HPUX 7.0 cc rejects these. */
19897 ccp = (char const *const *) p;
19898 { /* SCO 3.2v4 cc rejects this. */
19900 char const *s = 0 ? (char *) 0 : (char const *) 0;
19904 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19905 int x[] = {25, 17};
19906 const int *foo = &x[0];
19909 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19910 typedef const int *iptr;
19914 { /* AIX XL C 1.02.0.0 rejects this saying
19915 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19916 struct s { int j; const int *ap[3]; };
19917 struct s *b; b->j = 5;
19919 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19920 const int foo = 10;
19928 rm -f conftest.
$ac_objext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19930 (eval $ac_compile) 2>conftest.er1
19932 grep -v '^ *+' conftest.er1
>conftest.err
19934 cat conftest.err
>&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } &&
19937 { ac_try
='test -z "$ac_cxx_werror_flag"
19938 || test ! -s conftest.err'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; } &&
19944 { ac_try
='test -s conftest.$ac_objext'
19945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19946 (eval $ac_try) 2>&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.
$ac_ext >&5
19957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19959 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19960 echo "${ECHO_T}$ac_cv_c_const" >&6
19961 if test $ac_cv_c_const = no
; then
19963 cat >>confdefs.h
<<\_ACEOF
19969 echo "$as_me:$LINENO: checking for inline" >&5
19970 echo $ECHO_N "checking for inline... $ECHO_C" >&6
19971 if test "${ac_cv_c_inline+set}" = set; then
19972 echo $ECHO_N "(cached) $ECHO_C" >&6
19975 for ac_kw
in inline __inline__ __inline
; do
19976 cat >conftest.
$ac_ext <<_ACEOF
19979 cat confdefs.h
>>conftest.
$ac_ext
19980 cat >>conftest.
$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19982 #ifndef __cplusplus
19984 static $ac_kw foo_t static_foo () {return 0; }
19985 $ac_kw foo_t foo () {return 0; }
19989 rm -f conftest.
$ac_objext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19991 (eval $ac_compile) 2>conftest.er1
19993 grep -v '^ *+' conftest.er1
>conftest.err
19995 cat conftest.err
>&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } &&
19998 { ac_try
='test -z "$ac_cxx_werror_flag"
19999 || test ! -s conftest.err'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; } &&
20005 { ac_try
='test -s conftest.$ac_objext'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20011 ac_cv_c_inline
=$ac_kw; break
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.
$ac_ext >&5
20017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20021 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20022 echo "${ECHO_T}$ac_cv_c_inline" >&6
20025 case $ac_cv_c_inline in
20028 case $ac_cv_c_inline in
20030 *) ac_val
=$ac_cv_c_inline;;
20032 cat >>confdefs.h
<<_ACEOF
20033 #ifndef __cplusplus
20034 #define inline $ac_val
20040 echo "$as_me:$LINENO: checking for working volatile" >&5
20041 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
20042 if test "${ac_cv_c_volatile+set}" = set; then
20043 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 cat >conftest.
$ac_ext <<_ACEOF
20048 cat confdefs.h
>>conftest.
$ac_ext
20049 cat >>conftest.
$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20062 rm -f conftest.
$ac_objext
20063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20064 (eval $ac_compile) 2>conftest.er1
20066 grep -v '^ *+' conftest.er1
>conftest.err
20068 cat conftest.err
>&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } &&
20071 { ac_try
='test -z "$ac_cxx_werror_flag"
20072 || test ! -s conftest.err'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; } &&
20078 { ac_try
='test -s conftest.$ac_objext'
20079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080 (eval $ac_try) 2>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; }; then
20084 ac_cv_c_volatile
=yes
20086 echo "$as_me: failed program was:" >&5
20087 sed 's/^/| /' conftest.
$ac_ext >&5
20089 ac_cv_c_volatile
=no
20091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20093 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
20094 echo "${ECHO_T}$ac_cv_c_volatile" >&6
20095 if test $ac_cv_c_volatile = no
; then
20097 cat >>confdefs.h
<<\_ACEOF
20103 echo "$as_me:$LINENO: checking for size_t" >&5
20104 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20105 if test "${ac_cv_type_size_t+set}" = set; then
20106 echo $ECHO_N "(cached) $ECHO_C" >&6
20108 cat >conftest.
$ac_ext <<_ACEOF
20111 cat confdefs.h
>>conftest.
$ac_ext
20112 cat >>conftest.
$ac_ext <<_ACEOF
20113 /* end confdefs.h. */
20114 $ac_includes_default
20120 if (sizeof (size_t))
20126 rm -f conftest.
$ac_objext
20127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20128 (eval $ac_compile) 2>conftest.er1
20130 grep -v '^ *+' conftest.er1
>conftest.err
20132 cat conftest.err
>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); } &&
20135 { ac_try
='test -z "$ac_cxx_werror_flag"
20136 || test ! -s conftest.err'
20137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20138 (eval $ac_try) 2>&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); }; } &&
20142 { ac_try
='test -s conftest.$ac_objext'
20143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144 (eval $ac_try) 2>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; }; then
20148 ac_cv_type_size_t
=yes
20150 echo "$as_me: failed program was:" >&5
20151 sed 's/^/| /' conftest.
$ac_ext >&5
20153 ac_cv_type_size_t
=no
20155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20157 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20158 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20159 if test $ac_cv_type_size_t = yes; then
20163 cat >>confdefs.h
<<_ACEOF
20164 #define size_t unsigned
20169 echo "$as_me:$LINENO: checking for off_t" >&5
20170 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
20171 if test "${ac_cv_type_off_t+set}" = set; then
20172 echo $ECHO_N "(cached) $ECHO_C" >&6
20174 cat >conftest.
$ac_ext <<_ACEOF
20177 cat confdefs.h
>>conftest.
$ac_ext
20178 cat >>conftest.
$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 $ac_includes_default
20186 if (sizeof (off_t))
20192 rm -f conftest.
$ac_objext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20194 (eval $ac_compile) 2>conftest.er1
20196 grep -v '^ *+' conftest.er1
>conftest.err
20198 cat conftest.err
>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } &&
20201 { ac_try
='test -z "$ac_cxx_werror_flag"
20202 || test ! -s conftest.err'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; } &&
20208 { ac_try
='test -s conftest.$ac_objext'
20209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20210 (eval $ac_try) 2>&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; }; then
20214 ac_cv_type_off_t
=yes
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.
$ac_ext >&5
20219 ac_cv_type_off_t
=no
20221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20223 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
20224 echo "${ECHO_T}$ac_cv_type_off_t" >&6
20225 if test $ac_cv_type_off_t = yes; then
20229 cat >>confdefs.h
<<_ACEOF
20235 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
20236 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
20237 if test "${ac_cv_type_signal+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 cat >conftest.
$ac_ext <<_ACEOF
20243 cat confdefs.h
>>conftest.
$ac_ext
20244 cat >>conftest.
$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 #include <sys/types.h>
20247 #include <signal.h>
20252 extern "C" void (*signal (int, void (*)(int)))(int);
20254 void (*signal ()) ();
20265 rm -f conftest.
$ac_objext
20266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20267 (eval $ac_compile) 2>conftest.er1
20269 grep -v '^ *+' conftest.er1
>conftest.err
20271 cat conftest.err
>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
20274 { ac_try
='test -z "$ac_cxx_werror_flag"
20275 || test ! -s conftest.err'
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; } &&
20281 { ac_try
='test -s conftest.$ac_objext'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; }; then
20287 ac_cv_type_signal
=void
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.
$ac_ext >&5
20292 ac_cv_type_signal
=int
20294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20296 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
20297 echo "${ECHO_T}$ac_cv_type_signal" >&6
20299 cat >>confdefs.h
<<_ACEOF
20300 #define RETSIGTYPE $ac_cv_type_signal
20304 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20305 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20306 if test "${ac_cv_struct_tm+set}" = set; then
20307 echo $ECHO_N "(cached) $ECHO_C" >&6
20309 cat >conftest.
$ac_ext <<_ACEOF
20312 cat confdefs.h
>>conftest.
$ac_ext
20313 cat >>conftest.
$ac_ext <<_ACEOF
20314 /* end confdefs.h. */
20315 #include <sys/types.h>
20321 struct tm *tp; tp->tm_sec;
20326 rm -f conftest.
$ac_objext
20327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20328 (eval $ac_compile) 2>conftest.er1
20330 grep -v '^ *+' conftest.er1
>conftest.err
20332 cat conftest.err
>&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); } &&
20335 { ac_try
='test -z "$ac_cxx_werror_flag"
20336 || test ! -s conftest.err'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; } &&
20342 { ac_try
='test -s conftest.$ac_objext'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; }; then
20348 ac_cv_struct_tm
=time.h
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.
$ac_ext >&5
20353 ac_cv_struct_tm
=sys
/time.h
20355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20357 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20358 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20359 if test $ac_cv_struct_tm = sys
/time.h
; then
20361 cat >>confdefs.h
<<\_ACEOF
20362 #define TM_IN_SYS_TIME 1
20367 echo "$as_me:$LINENO: checking for ptrdiff_t " >&5
20368 echo $ECHO_N "checking for ptrdiff_t ... $ECHO_C" >&6
20369 if test "${ac_cv_type_ptrdiff_t_+set}" = set; then
20370 echo $ECHO_N "(cached) $ECHO_C" >&6
20372 cat >conftest.
$ac_ext <<_ACEOF
20375 cat confdefs.h
>>conftest.
$ac_ext
20376 cat >>conftest.
$ac_ext <<_ACEOF
20377 /* end confdefs.h. */
20378 $ac_includes_default
20382 if ((ptrdiff_t *) 0)
20384 if (sizeof (ptrdiff_t ))
20390 rm -f conftest.
$ac_objext
20391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20392 (eval $ac_compile) 2>conftest.er1
20394 grep -v '^ *+' conftest.er1
>conftest.err
20396 cat conftest.err
>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } &&
20399 { ac_try
='test -z "$ac_cxx_werror_flag"
20400 || test ! -s conftest.err'
20401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20402 (eval $ac_try) 2>&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); }; } &&
20406 { ac_try
='test -s conftest.$ac_objext'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; }; then
20412 ac_cv_type_ptrdiff_t_
=yes
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.
$ac_ext >&5
20417 ac_cv_type_ptrdiff_t_
=no
20419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20421 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t_" >&5
20422 echo "${ECHO_T}$ac_cv_type_ptrdiff_t_" >&6
20423 if test $ac_cv_type_ptrdiff_t_ = yes; then
20425 cat >>confdefs.h
<<_ACEOF
20426 #define HAVE_PTRDIFF_T_ 1
20433 echo "$as_me:$LINENO: checking for working memcmp" >&5
20434 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
20435 if test "${ac_cv_func_memcmp_working+set}" = set; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 if test "$cross_compiling" = yes; then
20439 ac_cv_func_memcmp_working
=no
20441 cat >conftest.
$ac_ext <<_ACEOF
20444 cat confdefs.h
>>conftest.
$ac_ext
20445 cat >>conftest.
$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20452 /* Some versions of memcmp are not 8-bit clean. */
20453 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
20454 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
20457 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
20458 or more and with at least one buffer not starting on a 4-byte boundary.
20459 William Lewis provided this test program. */
20464 for (i = 0; i < 4; i++)
20468 strcpy (a, "--------01111111");
20469 strcpy (b, "--------10000000");
20470 if (memcmp (a, b, 16) >= 0)
20480 rm -f conftest
$ac_exeext
20481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20482 (eval $ac_link) 2>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; }; then
20491 ac_cv_func_memcmp_working
=yes
20493 echo "$as_me: program exited with status $ac_status" >&5
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.
$ac_ext >&5
20497 ( exit $ac_status )
20498 ac_cv_func_memcmp_working
=no
20500 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20503 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
20504 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
20505 test $ac_cv_func_memcmp_working = no
&& case $LIBOBJS in
20506 "memcmp.$ac_objext" | \
20507 *" memcmp.$ac_objext" | \
20508 "memcmp.$ac_objext "* | \
20509 *" memcmp.$ac_objext "* ) ;;
20510 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext" ;;
20514 echo "$as_me:$LINENO: checking for working strcoll" >&5
20515 echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6
20516 if test "${ac_cv_func_strcoll_works+set}" = set; then
20517 echo $ECHO_N "(cached) $ECHO_C" >&6
20519 if test "$cross_compiling" = yes; then
20520 ac_cv_func_strcoll_works
=no
20522 cat >conftest.
$ac_ext <<_ACEOF
20525 cat confdefs.h
>>conftest.
$ac_ext
20526 cat >>conftest.
$ac_ext <<_ACEOF
20527 /* end confdefs.h. */
20528 $ac_includes_default
20532 exit (strcoll ("abc", "def") >= 0 ||
20533 strcoll ("ABC", "DEF") >= 0 ||
20534 strcoll ("123", "456") >= 0)
20539 rm -f conftest
$ac_exeext
20540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20541 (eval $ac_link) 2>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_cv_func_strcoll_works
=yes
20552 echo "$as_me: program exited with status $ac_status" >&5
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.
$ac_ext >&5
20556 ( exit $ac_status )
20557 ac_cv_func_strcoll_works
=no
20559 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20562 echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
20563 echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6
20564 if test $ac_cv_func_strcoll_works = yes; then
20566 cat >>confdefs.h
<<\_ACEOF
20567 #define HAVE_STRCOLL 1
20572 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20573 # for constant arguments. Useless!
20574 echo "$as_me:$LINENO: checking for working alloca.h" >&5
20575 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
20576 if test "${ac_cv_working_alloca_h+set}" = set; then
20577 echo $ECHO_N "(cached) $ECHO_C" >&6
20579 cat >conftest.
$ac_ext <<_ACEOF
20582 cat confdefs.h
>>conftest.
$ac_ext
20583 cat >>conftest.
$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 #include <alloca.h>
20589 char *p = (char *) alloca (2 * sizeof (int));
20594 rm -f conftest.
$ac_objext conftest
$ac_exeext
20595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20596 (eval $ac_link) 2>conftest.er1
20598 grep -v '^ *+' conftest.er1
>conftest.err
20600 cat conftest.err
>&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } &&
20603 { ac_try
='test -z "$ac_cxx_werror_flag"
20604 || test ! -s conftest.err'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; } &&
20610 { ac_try
='test -s conftest$ac_exeext'
20611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20612 (eval $ac_try) 2>&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; }; then
20616 ac_cv_working_alloca_h
=yes
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.
$ac_ext >&5
20621 ac_cv_working_alloca_h
=no
20623 rm -f conftest.err conftest.
$ac_objext \
20624 conftest
$ac_exeext conftest.
$ac_ext
20626 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
20627 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
20628 if test $ac_cv_working_alloca_h = yes; then
20630 cat >>confdefs.h
<<\_ACEOF
20631 #define HAVE_ALLOCA_H 1
20636 echo "$as_me:$LINENO: checking for alloca" >&5
20637 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
20638 if test "${ac_cv_func_alloca_works+set}" = set; then
20639 echo $ECHO_N "(cached) $ECHO_C" >&6
20641 cat >conftest.
$ac_ext <<_ACEOF
20644 cat confdefs.h
>>conftest.
$ac_ext
20645 cat >>conftest.
$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20648 # define alloca __builtin_alloca
20651 # include <malloc.h>
20652 # define alloca _alloca
20655 # include <alloca.h>
20660 # ifndef alloca /* predefined by HP cc +Olibcalls */
20671 char *p = (char *) alloca (1);
20676 rm -f conftest.
$ac_objext conftest
$ac_exeext
20677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20678 (eval $ac_link) 2>conftest.er1
20680 grep -v '^ *+' conftest.er1
>conftest.err
20682 cat conftest.err
>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); } &&
20685 { ac_try
='test -z "$ac_cxx_werror_flag"
20686 || test ! -s conftest.err'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; } &&
20692 { ac_try
='test -s conftest$ac_exeext'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; }; then
20698 ac_cv_func_alloca_works
=yes
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.
$ac_ext >&5
20703 ac_cv_func_alloca_works
=no
20705 rm -f conftest.err conftest.
$ac_objext \
20706 conftest
$ac_exeext conftest.
$ac_ext
20708 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
20709 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
20711 if test $ac_cv_func_alloca_works = yes; then
20713 cat >>confdefs.h
<<\_ACEOF
20714 #define HAVE_ALLOCA 1
20718 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20719 # that cause trouble. Some versions do not even contain alloca or
20720 # contain a buggy version. If you still want to use their alloca,
20721 # use ar to extract alloca.o from them instead of compiling alloca.c.
20723 ALLOCA
=alloca.
$ac_objext
20725 cat >>confdefs.h
<<\_ACEOF
20730 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
20731 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
20732 if test "${ac_cv_os_cray+set}" = set; then
20733 echo $ECHO_N "(cached) $ECHO_C" >&6
20735 cat >conftest.
$ac_ext <<_ACEOF
20738 cat confdefs.h
>>conftest.
$ac_ext
20739 cat >>conftest.
$ac_ext <<_ACEOF
20740 /* end confdefs.h. */
20741 #if defined(CRAY) && ! defined(CRAY2)
20748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20749 $EGREP "webecray" >/dev
/null
2>&1; then
20757 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
20758 echo "${ECHO_T}$ac_cv_os_cray" >&6
20759 if test $ac_cv_os_cray = yes; then
20760 for ac_func
in _getb67 GETB67 getb67
; do
20761 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20762 echo "$as_me:$LINENO: checking for $ac_func" >&5
20763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20764 if eval "test \"\${$as_ac_var+set}\" = set"; then
20765 echo $ECHO_N "(cached) $ECHO_C" >&6
20767 cat >conftest.
$ac_ext <<_ACEOF
20770 cat confdefs.h
>>conftest.
$ac_ext
20771 cat >>conftest.
$ac_ext <<_ACEOF
20772 /* end confdefs.h. */
20773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20775 #define $ac_func innocuous_$ac_func
20777 /* System header to define __stub macros and hopefully few prototypes,
20778 which can conflict with char $ac_func (); below.
20779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20780 <limits.h> exists even on freestanding compilers. */
20783 # include <limits.h>
20785 # include <assert.h>
20790 /* Override any gcc2 internal prototype to avoid an error. */
20795 /* We use char because int might match the return type of a gcc2
20796 builtin and then its argument prototype would still apply. */
20798 /* The GNU C library defines this for functions which it implements
20799 to always fail with ENOSYS. Some functions are actually named
20800 something starting with __ and the normal name is an alias. */
20801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20804 char (*f) () = $ac_func;
20813 return f != $ac_func;
20818 rm -f conftest.
$ac_objext conftest
$ac_exeext
20819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20820 (eval $ac_link) 2>conftest.er1
20822 grep -v '^ *+' conftest.er1
>conftest.err
20824 cat conftest.err
>&5
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); } &&
20827 { ac_try
='test -z "$ac_cxx_werror_flag"
20828 || test ! -s conftest.err'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; } &&
20834 { ac_try
='test -s conftest$ac_exeext'
20835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20836 (eval $ac_try) 2>&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); }; }; then
20840 eval "$as_ac_var=yes"
20842 echo "$as_me: failed program was:" >&5
20843 sed 's/^/| /' conftest.
$ac_ext >&5
20845 eval "$as_ac_var=no"
20847 rm -f conftest.err conftest.
$ac_objext \
20848 conftest
$ac_exeext conftest.
$ac_ext
20850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20852 if test `eval echo '${'$as_ac_var'}'` = yes; then
20854 cat >>confdefs.h
<<_ACEOF
20855 #define CRAY_STACKSEG_END $ac_func
20864 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
20865 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
20866 if test "${ac_cv_c_stack_direction+set}" = set; then
20867 echo $ECHO_N "(cached) $ECHO_C" >&6
20869 if test "$cross_compiling" = yes; then
20870 ac_cv_c_stack_direction
=0
20872 cat >conftest.
$ac_ext <<_ACEOF
20875 cat confdefs.h
>>conftest.
$ac_ext
20876 cat >>conftest.
$ac_ext <<_ACEOF
20877 /* end confdefs.h. */
20879 find_stack_direction ()
20881 static char *addr = 0;
20886 return find_stack_direction ();
20889 return (&dummy > addr) ? 1 : -1;
20895 exit (find_stack_direction () < 0);
20898 rm -f conftest
$ac_exeext
20899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20900 (eval $ac_link) 2>&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; }; then
20909 ac_cv_c_stack_direction
=1
20911 echo "$as_me: program exited with status $ac_status" >&5
20912 echo "$as_me: failed program was:" >&5
20913 sed 's/^/| /' conftest.
$ac_ext >&5
20915 ( exit $ac_status )
20916 ac_cv_c_stack_direction
=-1
20918 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20921 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
20922 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
20924 cat >>confdefs.h
<<_ACEOF
20925 #define STACK_DIRECTION $ac_cv_c_stack_direction
20932 for ac_header
in stdlib.h
20934 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20936 echo "$as_me:$LINENO: checking for $ac_header" >&5
20937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20939 echo $ECHO_N "(cached) $ECHO_C" >&6
20941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20944 # Is the header compilable?
20945 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20946 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20947 cat >conftest.
$ac_ext <<_ACEOF
20950 cat confdefs.h
>>conftest.
$ac_ext
20951 cat >>conftest.
$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20953 $ac_includes_default
20954 #include <$ac_header>
20956 rm -f conftest.
$ac_objext
20957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20958 (eval $ac_compile) 2>conftest.er1
20960 grep -v '^ *+' conftest.er1
>conftest.err
20962 cat conftest.err
>&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } &&
20965 { ac_try
='test -z "$ac_cxx_werror_flag"
20966 || test ! -s conftest.err'
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); }; } &&
20972 { ac_try
='test -s conftest.$ac_objext'
20973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20974 (eval $ac_try) 2>&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); }; }; then
20978 ac_header_compiler
=yes
20980 echo "$as_me: failed program was:" >&5
20981 sed 's/^/| /' conftest.
$ac_ext >&5
20983 ac_header_compiler
=no
20985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20987 echo "${ECHO_T}$ac_header_compiler" >&6
20989 # Is the header present?
20990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20992 cat >conftest.
$ac_ext <<_ACEOF
20995 cat confdefs.h
>>conftest.
$ac_ext
20996 cat >>conftest.
$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20998 #include <$ac_header>
21000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21003 grep -v '^ *+' conftest.er1
>conftest.err
21005 cat conftest.err
>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } >/dev
/null
; then
21008 if test -s conftest.err
; then
21009 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21010 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21017 if test -z "$ac_cpp_err"; then
21018 ac_header_preproc
=yes
21020 echo "$as_me: failed program was:" >&5
21021 sed 's/^/| /' conftest.
$ac_ext >&5
21023 ac_header_preproc
=no
21025 rm -f conftest.err conftest.
$ac_ext
21026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21027 echo "${ECHO_T}$ac_header_preproc" >&6
21029 # So? What about this header?
21030 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21036 ac_header_preproc
=yes
21039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21053 ## -------------------------------------------- ##
21054 ## Report this to http://www.mangosproject.org/ ##
21055 ## -------------------------------------------- ##
21058 sed "s/^/$as_me: WARNING: /" >&2
21061 echo "$as_me:$LINENO: checking for $ac_header" >&5
21062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21064 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 eval "$as_ac_Header=\$ac_header_preproc"
21068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21073 cat >>confdefs.h
<<_ACEOF
21074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21081 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
21082 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
21083 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21086 if test "$cross_compiling" = yes; then
21087 ac_cv_func_malloc_0_nonnull
=no
21089 cat >conftest.
$ac_ext <<_ACEOF
21092 cat confdefs.h
>>conftest.
$ac_ext
21093 cat >>conftest.
$ac_ext <<_ACEOF
21094 /* end confdefs.h. */
21095 #if STDC_HEADERS || HAVE_STDLIB_H
21096 # include <stdlib.h>
21104 exit (malloc (0) ? 0 : 1);
21109 rm -f conftest
$ac_exeext
21110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21111 (eval $ac_link) 2>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; }; then
21120 ac_cv_func_malloc_0_nonnull
=yes
21122 echo "$as_me: program exited with status $ac_status" >&5
21123 echo "$as_me: failed program was:" >&5
21124 sed 's/^/| /' conftest.
$ac_ext >&5
21126 ( exit $ac_status )
21127 ac_cv_func_malloc_0_nonnull
=no
21129 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21132 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
21133 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
21134 if test $ac_cv_func_malloc_0_nonnull = yes; then
21136 cat >>confdefs.h
<<\_ACEOF
21137 #define HAVE_MALLOC 1
21141 cat >>confdefs.h
<<\_ACEOF
21142 #define HAVE_MALLOC 0
21146 "malloc.$ac_objext" | \
21147 *" malloc.$ac_objext" | \
21148 "malloc.$ac_objext "* | \
21149 *" malloc.$ac_objext "* ) ;;
21150 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext" ;;
21154 cat >>confdefs.h
<<\_ACEOF
21155 #define malloc rpl_malloc
21163 for ac_header
in stdlib.h
21165 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21167 echo "$as_me:$LINENO: checking for $ac_header" >&5
21168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21170 echo $ECHO_N "(cached) $ECHO_C" >&6
21172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21175 # Is the header compilable?
21176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21178 cat >conftest.
$ac_ext <<_ACEOF
21181 cat confdefs.h
>>conftest.
$ac_ext
21182 cat >>conftest.
$ac_ext <<_ACEOF
21183 /* end confdefs.h. */
21184 $ac_includes_default
21185 #include <$ac_header>
21187 rm -f conftest.
$ac_objext
21188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21189 (eval $ac_compile) 2>conftest.er1
21191 grep -v '^ *+' conftest.er1
>conftest.err
21193 cat conftest.err
>&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } &&
21196 { ac_try
='test -z "$ac_cxx_werror_flag"
21197 || test ! -s conftest.err'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; } &&
21203 { ac_try
='test -s conftest.$ac_objext'
21204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205 (eval $ac_try) 2>&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; }; then
21209 ac_header_compiler
=yes
21211 echo "$as_me: failed program was:" >&5
21212 sed 's/^/| /' conftest.
$ac_ext >&5
21214 ac_header_compiler
=no
21216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21218 echo "${ECHO_T}$ac_header_compiler" >&6
21220 # Is the header present?
21221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21223 cat >conftest.
$ac_ext <<_ACEOF
21226 cat confdefs.h
>>conftest.
$ac_ext
21227 cat >>conftest.
$ac_ext <<_ACEOF
21228 /* end confdefs.h. */
21229 #include <$ac_header>
21231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21232 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21234 grep -v '^ *+' conftest.er1
>conftest.err
21236 cat conftest.err
>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } >/dev
/null
; then
21239 if test -s conftest.err
; then
21240 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21241 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21248 if test -z "$ac_cpp_err"; then
21249 ac_header_preproc
=yes
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.
$ac_ext >&5
21254 ac_header_preproc
=no
21256 rm -f conftest.err conftest.
$ac_ext
21257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21258 echo "${ECHO_T}$ac_header_preproc" >&6
21260 # So? What about this header?
21261 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21266 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21267 ac_header_preproc
=yes
21270 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21272 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21273 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21274 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21275 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21276 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21277 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21280 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21281 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21284 ## -------------------------------------------- ##
21285 ## Report this to http://www.mangosproject.org/ ##
21286 ## -------------------------------------------- ##
21289 sed "s/^/$as_me: WARNING: /" >&2
21292 echo "$as_me:$LINENO: checking for $ac_header" >&5
21293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21295 echo $ECHO_N "(cached) $ECHO_C" >&6
21297 eval "$as_ac_Header=\$ac_header_preproc"
21299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21304 cat >>confdefs.h
<<_ACEOF
21305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21312 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
21313 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
21314 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
21315 echo $ECHO_N "(cached) $ECHO_C" >&6
21317 if test "$cross_compiling" = yes; then
21318 ac_cv_func_realloc_0_nonnull
=no
21320 cat >conftest.
$ac_ext <<_ACEOF
21323 cat confdefs.h
>>conftest.
$ac_ext
21324 cat >>conftest.
$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21326 #if STDC_HEADERS || HAVE_STDLIB_H
21327 # include <stdlib.h>
21335 exit (realloc (0, 0) ? 0 : 1);
21340 rm -f conftest
$ac_exeext
21341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21342 (eval $ac_link) 2>&5
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; }; then
21351 ac_cv_func_realloc_0_nonnull
=yes
21353 echo "$as_me: program exited with status $ac_status" >&5
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.
$ac_ext >&5
21357 ( exit $ac_status )
21358 ac_cv_func_realloc_0_nonnull
=no
21360 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21363 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
21364 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
21365 if test $ac_cv_func_realloc_0_nonnull = yes; then
21367 cat >>confdefs.h
<<\_ACEOF
21368 #define HAVE_REALLOC 1
21372 cat >>confdefs.h
<<\_ACEOF
21373 #define HAVE_REALLOC 0
21377 "realloc.$ac_objext" | \
21378 *" realloc.$ac_objext" | \
21379 "realloc.$ac_objext "* | \
21380 *" realloc.$ac_objext "* ) ;;
21381 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext" ;;
21385 cat >>confdefs.h
<<\_ACEOF
21386 #define realloc rpl_realloc
21395 for ac_header
in sys
/select.h sys
/socket.h
21397 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21399 echo "$as_me:$LINENO: checking for $ac_header" >&5
21400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21402 echo $ECHO_N "(cached) $ECHO_C" >&6
21404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21407 # Is the header compilable?
21408 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21409 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21410 cat >conftest.
$ac_ext <<_ACEOF
21413 cat confdefs.h
>>conftest.
$ac_ext
21414 cat >>conftest.
$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 $ac_includes_default
21417 #include <$ac_header>
21419 rm -f conftest.
$ac_objext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21421 (eval $ac_compile) 2>conftest.er1
21423 grep -v '^ *+' conftest.er1
>conftest.err
21425 cat conftest.err
>&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } &&
21428 { ac_try
='test -z "$ac_cxx_werror_flag"
21429 || test ! -s conftest.err'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; } &&
21435 { ac_try
='test -s conftest.$ac_objext'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; }; then
21441 ac_header_compiler
=yes
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.
$ac_ext >&5
21446 ac_header_compiler
=no
21448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21450 echo "${ECHO_T}$ac_header_compiler" >&6
21452 # Is the header present?
21453 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21455 cat >conftest.
$ac_ext <<_ACEOF
21458 cat confdefs.h
>>conftest.
$ac_ext
21459 cat >>conftest.
$ac_ext <<_ACEOF
21460 /* end confdefs.h. */
21461 #include <$ac_header>
21463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21464 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21466 grep -v '^ *+' conftest.er1
>conftest.err
21468 cat conftest.err
>&5
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); } >/dev
/null
; then
21471 if test -s conftest.err
; then
21472 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21473 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21480 if test -z "$ac_cpp_err"; then
21481 ac_header_preproc
=yes
21483 echo "$as_me: failed program was:" >&5
21484 sed 's/^/| /' conftest.
$ac_ext >&5
21486 ac_header_preproc
=no
21488 rm -f conftest.err conftest.
$ac_ext
21489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21490 echo "${ECHO_T}$ac_header_preproc" >&6
21492 # So? What about this header?
21493 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21495 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21496 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21498 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21499 ac_header_preproc
=yes
21502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21506 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21507 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21508 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21509 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21512 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21513 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21516 ## -------------------------------------------- ##
21517 ## Report this to http://www.mangosproject.org/ ##
21518 ## -------------------------------------------- ##
21521 sed "s/^/$as_me: WARNING: /" >&2
21524 echo "$as_me:$LINENO: checking for $ac_header" >&5
21525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21527 echo $ECHO_N "(cached) $ECHO_C" >&6
21529 eval "$as_ac_Header=\$ac_header_preproc"
21531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21536 cat >>confdefs.h
<<_ACEOF
21537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21544 echo "$as_me:$LINENO: checking types of arguments for select" >&5
21545 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
21546 if test "${ac_cv_func_select_args+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21549 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
21550 for ac_arg1
in 'int' 'size_t' 'unsigned long' 'unsigned'; do
21551 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
21552 cat >conftest.
$ac_ext <<_ACEOF
21555 cat confdefs.h
>>conftest.
$ac_ext
21556 cat >>conftest.
$ac_ext <<_ACEOF
21557 /* end confdefs.h. */
21558 $ac_includes_default
21559 #if HAVE_SYS_SELECT_H
21560 # include <sys/select.h>
21562 #if HAVE_SYS_SOCKET_H
21563 # include <sys/socket.h>
21569 extern int select ($ac_arg1,
21570 $ac_arg234, $ac_arg234, $ac_arg234,
21576 rm -f conftest.
$ac_objext
21577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21578 (eval $ac_compile) 2>conftest.er1
21580 grep -v '^ *+' conftest.er1
>conftest.err
21582 cat conftest.err
>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } &&
21585 { ac_try
='test -z "$ac_cxx_werror_flag"
21586 || test ! -s conftest.err'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; } &&
21592 { ac_try
='test -s conftest.$ac_objext'
21593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21594 (eval $ac_try) 2>&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); }; }; then
21598 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
21600 echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.
$ac_ext >&5
21604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21608 # Provide a safe default value.
21609 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
21612 echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
21613 echo "${ECHO_T}$ac_cv_func_select_args" >&6
21614 ac_save_IFS
=$IFS; IFS
=','
21615 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
21619 cat >>confdefs.h
<<_ACEOF
21620 #define SELECT_TYPE_ARG1 $1
21624 cat >>confdefs.h
<<_ACEOF
21625 #define SELECT_TYPE_ARG234 ($2)
21629 cat >>confdefs.h
<<_ACEOF
21630 #define SELECT_TYPE_ARG5 ($3)
21636 for ac_func
in strftime
21638 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21639 echo "$as_me:$LINENO: checking for $ac_func" >&5
21640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21641 if eval "test \"\${$as_ac_var+set}\" = set"; then
21642 echo $ECHO_N "(cached) $ECHO_C" >&6
21644 cat >conftest.
$ac_ext <<_ACEOF
21647 cat confdefs.h
>>conftest.
$ac_ext
21648 cat >>conftest.
$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21652 #define $ac_func innocuous_$ac_func
21654 /* System header to define __stub macros and hopefully few prototypes,
21655 which can conflict with char $ac_func (); below.
21656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21657 <limits.h> exists even on freestanding compilers. */
21660 # include <limits.h>
21662 # include <assert.h>
21667 /* Override any gcc2 internal prototype to avoid an error. */
21672 /* We use char because int might match the return type of a gcc2
21673 builtin and then its argument prototype would still apply. */
21675 /* The GNU C library defines this for functions which it implements
21676 to always fail with ENOSYS. Some functions are actually named
21677 something starting with __ and the normal name is an alias. */
21678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21681 char (*f) () = $ac_func;
21690 return f != $ac_func;
21695 rm -f conftest.
$ac_objext conftest
$ac_exeext
21696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21697 (eval $ac_link) 2>conftest.er1
21699 grep -v '^ *+' conftest.er1
>conftest.err
21701 cat conftest.err
>&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); } &&
21704 { ac_try
='test -z "$ac_cxx_werror_flag"
21705 || test ! -s conftest.err'
21706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21707 (eval $ac_try) 2>&5
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); }; } &&
21711 { ac_try
='test -s conftest$ac_exeext'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; }; then
21717 eval "$as_ac_var=yes"
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.
$ac_ext >&5
21722 eval "$as_ac_var=no"
21724 rm -f conftest.err conftest.
$ac_objext \
21725 conftest
$ac_exeext conftest.
$ac_ext
21727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21729 if test `eval echo '${'$as_ac_var'}'` = yes; then
21730 cat >>confdefs.h
<<_ACEOF
21731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21735 # strftime is in -lintl on SCO UNIX.
21736 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
21737 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
21738 if test "${ac_cv_lib_intl_strftime+set}" = set; then
21739 echo $ECHO_N "(cached) $ECHO_C" >&6
21741 ac_check_lib_save_LIBS
=$LIBS
21742 LIBS
="-lintl $LIBS"
21743 cat >conftest.
$ac_ext <<_ACEOF
21746 cat confdefs.h
>>conftest.
$ac_ext
21747 cat >>conftest.
$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21750 /* Override any gcc2 internal prototype to avoid an error. */
21754 /* We use char because int might match the return type of a gcc2
21755 builtin and then its argument prototype would still apply. */
21765 rm -f conftest.
$ac_objext conftest
$ac_exeext
21766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21767 (eval $ac_link) 2>conftest.er1
21769 grep -v '^ *+' conftest.er1
>conftest.err
21771 cat conftest.err
>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } &&
21774 { ac_try
='test -z "$ac_cxx_werror_flag"
21775 || test ! -s conftest.err'
21776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21777 (eval $ac_try) 2>&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); }; } &&
21781 { ac_try
='test -s conftest$ac_exeext'
21782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21783 (eval $ac_try) 2>&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); }; }; then
21787 ac_cv_lib_intl_strftime
=yes
21789 echo "$as_me: failed program was:" >&5
21790 sed 's/^/| /' conftest.
$ac_ext >&5
21792 ac_cv_lib_intl_strftime
=no
21794 rm -f conftest.err conftest.
$ac_objext \
21795 conftest
$ac_exeext conftest.
$ac_ext
21796 LIBS
=$ac_check_lib_save_LIBS
21798 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
21799 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
21800 if test $ac_cv_lib_intl_strftime = yes; then
21801 cat >>confdefs.h
<<\_ACEOF
21802 #define HAVE_STRFTIME 1
21805 LIBS
="-lintl $LIBS"
21811 echo "$as_me:$LINENO: checking for working strnlen" >&5
21812 echo $ECHO_N "checking for working strnlen... $ECHO_C" >&6
21813 if test "${ac_cv_func_strnlen_working+set}" = set; then
21814 echo $ECHO_N "(cached) $ECHO_C" >&6
21816 if test "$cross_compiling" = yes; then
21817 ac_cv_func_strnlen_working
=no
21819 cat >conftest.
$ac_ext <<_ACEOF
21822 cat confdefs.h
>>conftest.
$ac_ext
21823 cat >>conftest.
$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21831 #define S_LEN (sizeof S - 1)
21833 /* At least one implementation is buggy: that of AIX 4.3 would
21834 give strnlen (S, 1) == 3. */
21837 for (i = 0; i < S_LEN + 1; ++i)
21839 int expected = i <= S_LEN ? i : S_LEN;
21840 if (strnlen (S, i) != expected)
21849 rm -f conftest
$ac_exeext
21850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21851 (eval $ac_link) 2>&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 (eval $ac_try) 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21860 ac_cv_func_strnlen_working
=yes
21862 echo "$as_me: program exited with status $ac_status" >&5
21863 echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.
$ac_ext >&5
21866 ( exit $ac_status )
21867 ac_cv_func_strnlen_working
=no
21869 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21872 echo "$as_me:$LINENO: result: $ac_cv_func_strnlen_working" >&5
21873 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6
21874 test $ac_cv_func_strnlen_working = no
&& case $LIBOBJS in
21875 "strnlen.$ac_objext" | \
21876 *" strnlen.$ac_objext" | \
21877 "strnlen.$ac_objext "* | \
21878 *" strnlen.$ac_objext "* ) ;;
21879 *) LIBOBJS
="$LIBOBJS strnlen.$ac_objext" ;;
21884 for ac_func
in vprintf
21886 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21887 echo "$as_me:$LINENO: checking for $ac_func" >&5
21888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21889 if eval "test \"\${$as_ac_var+set}\" = set"; then
21890 echo $ECHO_N "(cached) $ECHO_C" >&6
21892 cat >conftest.
$ac_ext <<_ACEOF
21895 cat confdefs.h
>>conftest.
$ac_ext
21896 cat >>conftest.
$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21900 #define $ac_func innocuous_$ac_func
21902 /* System header to define __stub macros and hopefully few prototypes,
21903 which can conflict with char $ac_func (); below.
21904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21905 <limits.h> exists even on freestanding compilers. */
21908 # include <limits.h>
21910 # include <assert.h>
21915 /* Override any gcc2 internal prototype to avoid an error. */
21920 /* We use char because int might match the return type of a gcc2
21921 builtin and then its argument prototype would still apply. */
21923 /* The GNU C library defines this for functions which it implements
21924 to always fail with ENOSYS. Some functions are actually named
21925 something starting with __ and the normal name is an alias. */
21926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21929 char (*f) () = $ac_func;
21938 return f != $ac_func;
21943 rm -f conftest.
$ac_objext conftest
$ac_exeext
21944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21945 (eval $ac_link) 2>conftest.er1
21947 grep -v '^ *+' conftest.er1
>conftest.err
21949 cat conftest.err
>&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); } &&
21952 { ac_try
='test -z "$ac_cxx_werror_flag"
21953 || test ! -s conftest.err'
21954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; } &&
21959 { ac_try
='test -s conftest$ac_exeext'
21960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21961 (eval $ac_try) 2>&5
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; }; then
21965 eval "$as_ac_var=yes"
21967 echo "$as_me: failed program was:" >&5
21968 sed 's/^/| /' conftest.
$ac_ext >&5
21970 eval "$as_ac_var=no"
21972 rm -f conftest.err conftest.
$ac_objext \
21973 conftest
$ac_exeext conftest.
$ac_ext
21975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21977 if test `eval echo '${'$as_ac_var'}'` = yes; then
21978 cat >>confdefs.h
<<_ACEOF
21979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21982 echo "$as_me:$LINENO: checking for _doprnt" >&5
21983 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
21984 if test "${ac_cv_func__doprnt+set}" = set; then
21985 echo $ECHO_N "(cached) $ECHO_C" >&6
21987 cat >conftest.
$ac_ext <<_ACEOF
21990 cat confdefs.h
>>conftest.
$ac_ext
21991 cat >>conftest.
$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
21994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21995 #define _doprnt innocuous__doprnt
21997 /* System header to define __stub macros and hopefully few prototypes,
21998 which can conflict with char _doprnt (); below.
21999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22000 <limits.h> exists even on freestanding compilers. */
22003 # include <limits.h>
22005 # include <assert.h>
22010 /* Override any gcc2 internal prototype to avoid an error. */
22015 /* We use char because int might match the return type of a gcc2
22016 builtin and then its argument prototype would still apply. */
22018 /* The GNU C library defines this for functions which it implements
22019 to always fail with ENOSYS. Some functions are actually named
22020 something starting with __ and the normal name is an alias. */
22021 #if defined (__stub__doprnt) || defined (__stub____doprnt)
22024 char (*f) () = _doprnt;
22033 return f != _doprnt;
22038 rm -f conftest.
$ac_objext conftest
$ac_exeext
22039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22040 (eval $ac_link) 2>conftest.er1
22042 grep -v '^ *+' conftest.er1
>conftest.err
22044 cat conftest.err
>&5
22045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046 (exit $ac_status); } &&
22047 { ac_try
='test -z "$ac_cxx_werror_flag"
22048 || test ! -s conftest.err'
22049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050 (eval $ac_try) 2>&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; } &&
22054 { ac_try
='test -s conftest$ac_exeext'
22055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22056 (eval $ac_try) 2>&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); }; }; then
22060 ac_cv_func__doprnt
=yes
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.
$ac_ext >&5
22065 ac_cv_func__doprnt
=no
22067 rm -f conftest.err conftest.
$ac_objext \
22068 conftest
$ac_exeext conftest.
$ac_ext
22070 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
22071 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
22072 if test $ac_cv_func__doprnt = yes; then
22074 cat >>confdefs.h
<<\_ACEOF
22075 #define HAVE_DOPRNT 1
22106 ftime strcspn strtoul atexit bzero floor gethostbyname \
22107 gettimeofday localtime_r memset rint
select socket \
22108 sqrt stpcpy strchr strpbrk strrchr strstr strtol strtoul \
22111 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22112 echo "$as_me:$LINENO: checking for $ac_func" >&5
22113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22114 if eval "test \"\${$as_ac_var+set}\" = set"; then
22115 echo $ECHO_N "(cached) $ECHO_C" >&6
22117 cat >conftest.
$ac_ext <<_ACEOF
22120 cat confdefs.h
>>conftest.
$ac_ext
22121 cat >>conftest.
$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22125 #define $ac_func innocuous_$ac_func
22127 /* System header to define __stub macros and hopefully few prototypes,
22128 which can conflict with char $ac_func (); below.
22129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22130 <limits.h> exists even on freestanding compilers. */
22133 # include <limits.h>
22135 # include <assert.h>
22140 /* Override any gcc2 internal prototype to avoid an error. */
22145 /* We use char because int might match the return type of a gcc2
22146 builtin and then its argument prototype would still apply. */
22148 /* The GNU C library defines this for functions which it implements
22149 to always fail with ENOSYS. Some functions are actually named
22150 something starting with __ and the normal name is an alias. */
22151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22154 char (*f) () = $ac_func;
22163 return f != $ac_func;
22168 rm -f conftest.
$ac_objext conftest
$ac_exeext
22169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22170 (eval $ac_link) 2>conftest.er1
22172 grep -v '^ *+' conftest.er1
>conftest.err
22174 cat conftest.err
>&5
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); } &&
22177 { ac_try
='test -z "$ac_cxx_werror_flag"
22178 || test ! -s conftest.err'
22179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22180 (eval $ac_try) 2>&5
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); }; } &&
22184 { ac_try
='test -s conftest$ac_exeext'
22185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22186 (eval $ac_try) 2>&5
22188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189 (exit $ac_status); }; }; then
22190 eval "$as_ac_var=yes"
22192 echo "$as_me: failed program was:" >&5
22193 sed 's/^/| /' conftest.
$ac_ext >&5
22195 eval "$as_ac_var=no"
22197 rm -f conftest.err conftest.
$ac_objext \
22198 conftest
$ac_exeext conftest.
$ac_ext
22200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22202 if test `eval echo '${'$as_ac_var'}'` = yes; then
22203 cat >>confdefs.h
<<_ACEOF
22204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22213 # Check whether --with-python or --without-python was given.
22214 if test "${with_python+set}" = set; then
22215 withval
="$with_python"
22219 WITH_PYTHON_VERSION
=$withval
22220 if test $withval = auto
; then
22222 echo "$as_me:$LINENO: checking for python 2.4" >&5
22223 echo $ECHO_N "checking for python 2.4... $ECHO_C" >&6
22224 if test "$cross_compiling" = yes; then
22227 cat >conftest.
$ac_ext <<_ACEOF
22230 cat confdefs.h
>>conftest.
$ac_ext
22231 cat >>conftest.
$ac_ext <<_ACEOF
22232 /* end confdefs.h. */
22234 #include <python2.4/Python.h>
22236 exit(strncmp("2.4", PY_VERSION, 3));
22239 rm -f conftest
$ac_exeext
22240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22241 (eval $ac_link) 2>&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22246 (eval $ac_try) 2>&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); }; }; then
22252 echo "$as_me: program exited with status $ac_status" >&5
22253 echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.
$ac_ext >&5
22256 ( exit $ac_status )
22259 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22261 echo "$as_me:$LINENO: result: $withval" >&5
22262 echo "${ECHO_T}$withval" >&6
22263 if test $withval = yes ; then
22264 WITH_PYTHON_VERSION
="2.4"
22267 echo "$as_me:$LINENO: checking for python 2.3" >&5
22268 echo $ECHO_N "checking for python 2.3... $ECHO_C" >&6
22269 if test "$cross_compiling" = yes; then
22272 cat >conftest.
$ac_ext <<_ACEOF
22275 cat confdefs.h
>>conftest.
$ac_ext
22276 cat >>conftest.
$ac_ext <<_ACEOF
22277 /* end confdefs.h. */
22279 #include <python2.3/Python.h>
22281 exit(strncmp("2.3", PY_VERSION, 3));
22284 rm -f conftest
$ac_exeext
22285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22286 (eval $ac_link) 2>&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; }; then
22297 echo "$as_me: program exited with status $ac_status" >&5
22298 echo "$as_me: failed program was:" >&5
22299 sed 's/^/| /' conftest.
$ac_ext >&5
22301 ( exit $ac_status )
22304 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22306 echo "$as_me:$LINENO: result: $withval" >&5
22307 echo "${ECHO_T}$withval" >&6
22308 if test $withval = yes ; then
22309 WITH_PYTHON_VERSION
="2.3"
22312 echo "$as_me:$LINENO: checking for python 2.2" >&5
22313 echo $ECHO_N "checking for python 2.2... $ECHO_C" >&6
22314 if test "$cross_compiling" = yes; then
22317 cat >conftest.
$ac_ext <<_ACEOF
22320 cat confdefs.h
>>conftest.
$ac_ext
22321 cat >>conftest.
$ac_ext <<_ACEOF
22322 /* end confdefs.h. */
22324 #include <python2.2/Python.h>
22326 exit(strncmp("2.2", PY_VERSION, 3));
22329 rm -f conftest
$ac_exeext
22330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22331 (eval $ac_link) 2>&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22336 (eval $ac_try) 2>&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); }; }; then
22342 echo "$as_me: program exited with status $ac_status" >&5
22343 echo "$as_me: failed program was:" >&5
22344 sed 's/^/| /' conftest.
$ac_ext >&5
22346 ( exit $ac_status )
22349 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22351 echo "$as_me:$LINENO: result: $withval" >&5
22352 echo "${ECHO_T}$withval" >&6
22353 if test $withval = yes ; then
22354 WITH_PYTHON_VERSION
="2.2"
22357 echo "$as_me:$LINENO: checking for python 1.5.2" >&5
22358 echo $ECHO_N "checking for python 1.5.2... $ECHO_C" >&6
22359 if test "$cross_compiling" = yes; then
22362 cat >conftest.
$ac_ext <<_ACEOF
22365 cat confdefs.h
>>conftest.
$ac_ext
22366 cat >>conftest.
$ac_ext <<_ACEOF
22367 /* end confdefs.h. */
22369 #include <python1.5/Python.h>
22371 exit(strcmp("1.5.2", PY_VERSION));
22374 rm -f conftest
$ac_exeext
22375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22376 (eval $ac_link) 2>&5
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22381 (eval $ac_try) 2>&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); }; }; then
22387 echo "$as_me: program exited with status $ac_status" >&5
22388 echo "$as_me: failed program was:" >&5
22389 sed 's/^/| /' conftest.
$ac_ext >&5
22391 ( exit $ac_status )
22394 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22396 echo "$as_me:$LINENO: result: $withval" >&5
22397 echo "${ECHO_T}$withval" >&6
22398 if test $withval = yes ; then
22399 WITH_PYTHON_VERSION
="1.5"
22406 if test "$WITH_PYTHON_VERSION" != no
; then
22407 WITH_PYTHON_SUBDIR
=python
22408 WITH_PYTHON_SUBPACKAGE
=1
22410 WITH_PYTHON_SUBDIR
=
22411 WITH_PYTHON_SUBPACKAGE
=0
22418 # Extract the first word of "doxygen", so it can be a program name with args.
22419 set dummy doxygen
; ac_word
=$2
22420 echo "$as_me:$LINENO: checking for $ac_word" >&5
22421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22422 if test "${ac_cv_path___DOXYGEN+set}" = set; then
22423 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 ac_cv_path___DOXYGEN
="$__DOXYGEN" # Let the user override the test with a path.
22430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22431 for as_dir
in $PATH
22434 test -z "$as_dir" && as_dir
=.
22435 for ac_exec_ext
in '' $ac_executable_extensions; do
22436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22437 ac_cv_path___DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
22438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22444 test -z "$ac_cv_path___DOXYGEN" && ac_cv_path___DOXYGEN
="no"
22448 __DOXYGEN
=$ac_cv_path___DOXYGEN
22450 if test -n "$__DOXYGEN"; then
22451 echo "$as_me:$LINENO: result: $__DOXYGEN" >&5
22452 echo "${ECHO_T}$__DOXYGEN" >&6
22454 echo "$as_me:$LINENO: result: no" >&5
22455 echo "${ECHO_T}no" >&6
22460 # Check whether --with-apidocs or --without-apidocs was given.
22461 if test "${with_apidocs+set}" = set; then
22462 withval
="$with_apidocs"
22466 if test $withval = auto
-a $__DOXYGEN != no
; then
22468 elif test $withval = yes -a $__DOXYGEN = no
; then
22469 { { echo "$as_me:$LINENO: error: --> MaNGOS API docs needs doxygen in PATH" >&5
22470 echo "$as_me: error: --> MaNGOS API docs needs doxygen in PATH" >&2;}
22471 { (exit 1); exit 1; }; }
22474 if test $withval = yes; then
22475 WITH_APIDOCS_TARGET
=apidocs
22483 echo "$as_me:$LINENO: checking whether to include debug info in library" >&5
22484 echo $ECHO_N "checking whether to include debug info in library... $ECHO_C" >&6
22485 MANGOSD_DEBUG_INFO
=no
22487 # Check whether --with-debug-info or --without-debug-info was given.
22488 if test "${with_debug_info+set}" = set; then
22489 withval
="$with_debug_info"
22491 if test "$withval" = "yes" ; then
22492 CFLAGS
="-g -DMANGOS_DEBUG $CFLAGS"
22493 CXXFLAGS
="-g -DMANGOS_DEBUG $CXXFLAGS"
22494 MANGOSD_DEBUG_INFO
=yes
22495 elif test "$withval" != "no" ; then
22496 { { echo "$as_me:$LINENO: error: Please choose yes or no" >&5
22497 echo "$as_me: error: Please choose yes or no" >&2;}
22498 { (exit 1); exit 1; }; }
22502 echo "$as_me:$LINENO: result: $MANGOSD_DEBUG_INFO" >&5
22503 echo "${ECHO_T}$MANGOSD_DEBUG_INFO" >&6
22506 # check for cli console enable
22507 echo "$as_me:$LINENO: checking whether cli console is enabled" >&5
22508 echo $ECHO_N "checking whether cli console is enabled... $ECHO_C" >&6
22509 MANGOSD_ENABLE_CLI
=no
22510 # Check whether --enable-cli or --disable-cli was given.
22511 if test "${enable_cli+set}" = set; then
22512 enableval
="$enable_cli"
22514 if test "$enableval" = "yes" ; then
22515 CFLAGS
="-DENABLE_CLI $CFLAGS"
22516 CXXFLAGS
="-DENABLE_CLI $CXXFLAGS"
22517 MANGOSD_ENABLE_CLI
=yes
22518 elif test "$withval" != "no" ; then
22519 { { echo "$as_me:$LINENO: error: Please choose yes or no" >&5
22520 echo "$as_me: error: Please choose yes or no" >&2;}
22521 { (exit 1); exit 1; }; }
22525 echo "$as_me:$LINENO: result: $MANGOSD_ENABLE_CLI" >&5
22526 echo "${ECHO_T}$MANGOSD_ENABLE_CLI" >&6
22528 # check for remote console enable
22529 echo "$as_me:$LINENO: checking whether remote console is enabled" >&5
22530 echo $ECHO_N "checking whether remote console is enabled... $ECHO_C" >&6
22531 MANGOSD_ENABLE_RA
=no
22532 # Check whether --enable-ra or --disable-ra was given.
22533 if test "${enable_ra+set}" = set; then
22534 enableval
="$enable_ra"
22536 if test "$enableval" = "yes" ; then
22537 CFLAGS
="-DENABLE_RA $CFLAGS"
22538 CXXFLAGS
="-DENABLE_RA $CXXFLAGS"
22539 MANGOSD_ENABLE_RA
=yes
22540 elif test "$withval" != "no" ; then
22541 { { echo "$as_me:$LINENO: error: Please choose yes or no" >&5
22542 echo "$as_me: error: Please choose yes or no" >&2;}
22543 { (exit 1); exit 1; }; }
22547 echo "$as_me:$LINENO: result: $MANGOSD_ENABLE_RA" >&5
22548 echo "${ECHO_T}$MANGOSD_ENABLE_RA" >&6
22551 MANGOSD_CONFIG_TEMP
="$sysconfdir/mangosd.conf"
22552 MANGOSD_CONFIGDIR_TEMP
="$sysconfdir"
22553 if test $sysconfdir = '${prefix}/etc'; then
22554 MANGOSD_CONFIG_TEMP
="${prefix}/mangos/mangosd.conf"
22555 MANGOSD_CONFIGDIR_TEMP
="${prefix}/mangos"
22557 if test $sysconfdir = '/'; then
22558 MANGOSD_CONFIG_TEMP
="/mangosd.conf"
22559 MANGOSD_CONFIGDIR_TEMP
="/"
22561 MANGOSD_CONFIG_TEMP
="$sysconfdir/mangosd.conf"
22562 MANGOSD_CONFIGDIR_TEMP
="$sysconfdir"
22566 if test $datadir = '${prefix}/share'; then
22567 MANGOSD_DATA_TEMP
="${prefix}/share/mangos"
22569 if test $datadir = '/'; then
22570 MANGOSD_DATA_TEMP
="/mangos"
22572 MANGOSD_DATA_TEMP
="$datadir/mangos"
22576 eval "MANGOSD_CONFIG=$MANGOSD_CONFIG_TEMP"
22577 eval "MANGOSD_CONFIGDIR=$MANGOSD_CONFIGDIR_TEMP"
22578 eval "MANGOSD_DATA=$MANGOSD_DATA_TEMP"
22580 COMPILER_OPTIONS
="$COMPILER_OPTIONS $CXXFLAGS"
22581 LINKER_OPTIONS
="$LINKER_OPTIONS $LDFLAGS"
22604 ac_config_files
="$ac_config_files ./Makefile doc/Doxyfile doc/Makefile sql/Makefile src/Makefile src/shared/Makefile src/shared/SystemConfig.h src/realmd/Makefile src/framework/Makefile src/game/Makefile src/bindings/Makefile src/bindings/python/Makefile src/bindings/universal/Makefile src/mangosd/Makefile src/mangosd/mangosd.conf dep/Makefile dep/src/Makefile dep/src/zlib/Makefile dep/src/zthread/Makefile"
22607 cat >confcache
<<\_ACEOF
22608 # This file is a shell script that caches the results of configure
22609 # tests run on this system so they can be shared between configure
22610 # scripts and configure runs, see configure's option --config-cache.
22611 # It is not useful on other systems. If it contains results you don't
22612 # want to keep, you may remove or edit it.
22614 # config.status only pays attention to the cache file if you give it
22615 # the --recheck option to rerun configure.
22617 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22619 # following values.
22623 # The following way of writing the cache mishandles newlines in values,
22624 # but we know of no workaround that is simple, portable, and efficient.
22625 # So, don't put newlines in cache variables' values.
22626 # Ultrix sh set writes to stderr and can't be redirected directly,
22627 # and sets the high bit in the cache file unless we assign to the vars.
22630 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22632 # `set' does not quote correctly, so add quotes (double-quote
22633 # substitution turns \\\\ into \\, and sed turns \\ into \).
22636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22639 # `set' quotes correctly as required by POSIX, so do not add quotes.
22641 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22648 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22650 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22652 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22653 if test -w $cache_file; then
22654 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22655 cat confcache
>$cache_file
22657 echo "not updating unwritable cache $cache_file"
22662 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22663 # Let make expand exec_prefix.
22664 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22666 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22667 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22668 # trailing colons and then remove the whole line if VPATH becomes empty
22669 # (actually we leave an empty line to preserve line numbers).
22670 if test "x$srcdir" = x.
; then
22671 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22672 s/:*\$(srcdir):*/:/;
22673 s/:*\${srcdir}:*/:/;
22675 s/^\([^=]*=[ ]*\):*/\1/;
22681 DEFS
=-DHAVE_CONFIG_H
22685 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22686 # 1. Remove the extension, and $U if already installed.
22687 ac_i
=`echo "$ac_i" |
22688 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22690 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22691 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22693 LIBOBJS
=$ac_libobjs
22695 LTLIBOBJS
=$ac_ltlibobjs
22698 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22699 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22700 Usually this means the macro was only invoked conditionally." >&5
22701 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22702 Usually this means the macro was only invoked conditionally." >&2;}
22703 { (exit 1); exit 1; }; }
22705 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22706 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22707 Usually this means the macro was only invoked conditionally." >&5
22708 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22709 Usually this means the macro was only invoked conditionally." >&2;}
22710 { (exit 1); exit 1; }; }
22712 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22713 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22714 Usually this means the macro was only invoked conditionally." >&5
22715 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22716 Usually this means the macro was only invoked conditionally." >&2;}
22717 { (exit 1); exit 1; }; }
22719 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22720 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22721 Usually this means the macro was only invoked conditionally." >&5
22722 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22723 Usually this means the macro was only invoked conditionally." >&2;}
22724 { (exit 1); exit 1; }; }
22727 : ${CONFIG_STATUS=./config.status}
22728 ac_clean_files_save
=$ac_clean_files
22729 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22730 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22731 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22732 cat >$CONFIG_STATUS <<_ACEOF
22734 # Generated by $as_me.
22735 # Run this file to recreate the current configuration.
22736 # Compiler output produced by configure, useful for debugging
22737 # configure, is in config.log if it exists.
22740 ac_cs_recheck=false
22742 SHELL=\${CONFIG_SHELL-$SHELL}
22745 cat >>$CONFIG_STATUS <<\_ACEOF
22746 ## --------------------- ##
22747 ## M4sh Initialization. ##
22748 ## --------------------- ##
22750 # Be Bourne compatible
22751 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22754 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22755 # is contrary to our usage. Disable this feature.
22756 alias -g '${1+"$@"}'='"$@"'
22757 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22760 DUALCASE
=1; export DUALCASE
# for MKS sh
22762 # Support unset when possible.
22763 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22770 # Work around bugs in pre-3.0 UWIN ksh.
22771 $as_unset ENV MAIL MAILPATH
22778 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22779 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22780 LC_TELEPHONE LC_TIME
22782 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22783 eval $as_var=C
; export $as_var
22789 # Required to use basename.
22790 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22796 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22797 as_basename
=basename
22803 # Name of the executable.
22804 as_me
=`$as_basename "$0" ||
22805 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22806 X"$0" : 'X\(//\)$' \| \
22807 X"$0" : 'X\(/\)$' \| \
22808 . : '\(.\)' 2>/dev/null ||
22810 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22811 /^X\/\(\/\/\)$/{ s//\1/; q; }
22812 /^X\/\(\/\).*/{ s//\1/; q; }
22816 # PATH needs CR, and LINENO needs CR and PATH.
22817 # Avoid depending upon Character Ranges.
22818 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22819 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22820 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22821 as_cr_digits
='0123456789'
22822 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22824 # The user is always right.
22825 if test "${PATH_SEPARATOR+set}" != set; then
22826 echo "#! /bin/sh" >conf$$.sh
22827 echo "exit 0" >>conf$$.sh
22829 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22838 as_lineno_1
=$LINENO
22839 as_lineno_2
=$LINENO
22840 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22841 test "x$as_lineno_1" != "x$as_lineno_2" &&
22842 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22843 # Find who we are. Look in the path if we contain no path at all
22846 *[\\/]* ) as_myself
=$0 ;;
22847 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22848 for as_dir
in $PATH
22851 test -z "$as_dir" && as_dir
=.
22852 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22857 # We did not find ourselves, most probably we were run as `sh COMMAND'
22858 # in which case we are not to be found in the path.
22859 if test "x$as_myself" = x
; then
22862 if test ! -f "$as_myself"; then
22863 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22864 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22865 { (exit 1); exit 1; }; }
22867 case $CONFIG_SHELL in
22869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22870 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22873 test -z "$as_dir" && as_dir
=.
22874 for as_base
in sh bash ksh sh5
; do
22877 if ("$as_dir/$as_base" -c '
22878 as_lineno_1=$LINENO
22879 as_lineno_2=$LINENO
22880 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22881 test "x$as_lineno_1" != "x$as_lineno_2" &&
22882 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22883 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22884 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22885 CONFIG_SHELL
=$as_dir/$as_base
22886 export CONFIG_SHELL
22887 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22895 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22896 # uniformly replaced by the line number. The first 'sed' inserts a
22897 # line-number line before each line; the second 'sed' does the real
22898 # work. The second script uses 'N' to pair each line-number line
22899 # with the numbered line, and appends trailing '-' during
22900 # substitution so that $LINENO is not a special case at line end.
22901 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22902 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22903 sed '=' <$as_myself |
22908 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22911 s,^['$as_cr_digits']*\n,,
22912 ' >$as_me.lineno
&&
22913 chmod +x
$as_me.lineno ||
22914 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22915 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22916 { (exit 1); exit 1; }; }
22918 # Don't try to exec as it changes $[0], causing all sort of problems
22919 # (the dirname of $[0] is not the place where we might find the
22920 # original and so on. Autoconf is especially sensible to this).
22922 # Exit status is that of the last command.
22927 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22928 *c
*,-n*) ECHO_N
= ECHO_C
='
22930 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22931 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22934 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22940 rm -f conf$$ conf$$.exe conf$$.
file
22942 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22943 # We could just check for DJGPP; but this test a) works b) is more generic
22944 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22945 if test -f conf$$.exe
; then
22946 # Don't use ln at all; we don't have any links
22951 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22956 rm -f conf$$ conf$$.exe conf$$.
file
22958 if mkdir
-p .
2>/dev
/null
; then
22961 test -d .
/-p && rmdir .
/-p
22965 as_executable_p
="test -f"
22967 # Sed expression to map a string onto a valid CPP name.
22968 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22970 # Sed expression to map a string onto a valid variable name.
22971 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22975 # We need space, tab and new line, in precisely that order.
22985 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22986 # report actual input values of CONFIG_FILES etc. instead of their
22987 # values after options handling. Logging --version etc. is OK.
22991 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22992 ## Running $as_me. ##
22997 This file was extended by MaNGOS $as_me 0.5-SVN, which was
22998 generated by GNU Autoconf 2.59. Invocation command line was
23000 CONFIG_FILES = $CONFIG_FILES
23001 CONFIG_HEADERS = $CONFIG_HEADERS
23002 CONFIG_LINKS = $CONFIG_LINKS
23003 CONFIG_COMMANDS = $CONFIG_COMMANDS
23007 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23011 # Files that config.status was made for.
23012 if test -n "$ac_config_files"; then
23013 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23016 if test -n "$ac_config_headers"; then
23017 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23020 if test -n "$ac_config_links"; then
23021 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23024 if test -n "$ac_config_commands"; then
23025 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23028 cat >>$CONFIG_STATUS <<\_ACEOF
23031 \`$as_me' instantiates files from templates according to the
23032 current configuration.
23034 Usage: $0 [OPTIONS] [FILE]...
23036 -h, --help print this help, then exit
23037 -V, --version print version number, then exit
23038 -q, --quiet do not print progress messages
23039 -d, --debug don't remove temporary files
23040 --recheck update $as_me by reconfiguring in the same conditions
23041 --file=FILE[:TEMPLATE]
23042 instantiate the configuration file FILE
23043 --header=FILE[:TEMPLATE]
23044 instantiate the configuration header FILE
23046 Configuration files:
23049 Configuration headers:
23052 Configuration commands:
23055 Report bugs to <bug-autoconf@gnu.org>."
23058 cat >>$CONFIG_STATUS <<_ACEOF
23060 MaNGOS config.status 0.5-SVN
23061 configured by $0, generated by GNU Autoconf 2.59,
23062 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23064 Copyright (C) 2003 Free Software Foundation, Inc.
23065 This config.status script is free software; the Free Software Foundation
23066 gives unlimited permission to copy, distribute and modify it."
23071 cat >>$CONFIG_STATUS <<\_ACEOF
23072 # If no file are specified by the user, then we need to provide default
23073 # value. By we need to know if files were specified by the user.
23079 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
23080 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
23088 *) # This is not an option, so the user has probably given explicit
23091 ac_need_defaults
=false
;;
23095 # Handling of the options.
23097 cat >>$CONFIG_STATUS <<\_ACEOF
23098 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23100 --version |
--vers* |
-V )
23101 echo "$ac_cs_version"; exit 0 ;;
23103 # Conflict between --help and --header
23104 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23105 Try \`$0 --help' for more information." >&5
23106 echo "$as_me: error: ambiguous option: $1
23107 Try \`$0 --help' for more information." >&2;}
23108 { (exit 1); exit 1; }; };;
23109 --help |
--hel |
-h )
23110 echo "$ac_cs_usage"; exit 0 ;;
23111 --debug |
--d* |
-d )
23113 --file |
--fil |
--fi |
--f )
23115 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23116 ac_need_defaults
=false
;;
23117 --header |
--heade |
--head |
--hea )
23119 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23120 ac_need_defaults
=false
;;
23121 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23122 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23125 # This is an error.
23126 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23127 Try \`$0 --help' for more information." >&5
23128 echo "$as_me: error: unrecognized option: $1
23129 Try \`$0 --help' for more information." >&2;}
23130 { (exit 1); exit 1; }; } ;;
23132 *) ac_config_targets
="$ac_config_targets $1" ;;
23138 ac_configure_extra_args
=
23140 if $ac_cs_silent; then
23142 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23146 cat >>$CONFIG_STATUS <<_ACEOF
23147 if \$ac_cs_recheck; then
23148 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23149 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23154 cat >>$CONFIG_STATUS <<_ACEOF
23156 # INIT-COMMANDS section.
23159 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23165 cat >>$CONFIG_STATUS <<\_ACEOF
23166 for ac_config_target
in $ac_config_targets
23168 case "$ac_config_target" in
23169 # Handling of arguments.
23170 "./Makefile" ) CONFIG_FILES
="$CONFIG_FILES ./Makefile" ;;
23171 "doc/Doxyfile" ) CONFIG_FILES
="$CONFIG_FILES doc/Doxyfile" ;;
23172 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
23173 "sql/Makefile" ) CONFIG_FILES
="$CONFIG_FILES sql/Makefile" ;;
23174 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
23175 "src/shared/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/shared/Makefile" ;;
23176 "src/shared/SystemConfig.h" ) CONFIG_FILES
="$CONFIG_FILES src/shared/SystemConfig.h" ;;
23177 "src/realmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/realmd/Makefile" ;;
23178 "src/framework/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/framework/Makefile" ;;
23179 "src/game/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/game/Makefile" ;;
23180 "src/bindings/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/bindings/Makefile" ;;
23181 "src/bindings/python/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/bindings/python/Makefile" ;;
23182 "src/bindings/universal/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/bindings/universal/Makefile" ;;
23183 "src/mangosd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/mangosd/Makefile" ;;
23184 "src/mangosd/mangosd.conf" ) CONFIG_FILES
="$CONFIG_FILES src/mangosd/mangosd.conf" ;;
23185 "dep/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dep/Makefile" ;;
23186 "dep/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dep/src/Makefile" ;;
23187 "dep/src/zlib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dep/src/zlib/Makefile" ;;
23188 "dep/src/zthread/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dep/src/zthread/Makefile" ;;
23189 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23190 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23191 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23192 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23193 { (exit 1); exit 1; }; };;
23197 # If the user did not use the arguments to specify the items to instantiate,
23198 # then the envvar interface is used. Set only those that are not.
23199 # We use the long form for the default assignment because of an extremely
23200 # bizarre bug on SunOS 4.1.3.
23201 if $ac_need_defaults; then
23202 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23203 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23204 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23207 # Have a temporary directory for convenience. Make it in the build tree
23208 # simply because there is no reason to put it here, and in addition,
23209 # creating and moving files from /tmp can sometimes cause problems.
23210 # Create a temporary directory, and hook for its removal unless debugging.
23213 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23214 trap '{ (exit 1); exit 1; }' 1 2 13 15
23217 # Create a (secure) tmp directory for tmp files.
23220 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23221 test -n "$tmp" && test -d "$tmp"
23224 tmp
=.
/confstat$$
-$RANDOM
23225 (umask 077 && mkdir
$tmp)
23228 echo "$me: cannot create a temporary directory in ." >&2
23229 { (exit 1); exit 1; }
23234 cat >>$CONFIG_STATUS <<_ACEOF
23237 # CONFIG_FILES section.
23240 # No need to generate the scripts if there are no CONFIG_FILES.
23241 # This happens for instance when ./config.status config.h
23242 if test -n "\$CONFIG_FILES"; then
23243 # Protect against being on the right side of a sed subst in config.status.
23244 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23245 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23246 s,@SHELL@,$SHELL,;t t
23247 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23248 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23249 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23250 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23251 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23252 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23253 s,@exec_prefix@,$exec_prefix,;t t
23254 s,@prefix@,$prefix,;t t
23255 s,@program_transform_name@,$program_transform_name,;t t
23256 s,@bindir@,$bindir,;t t
23257 s,@sbindir@,$sbindir,;t t
23258 s,@libexecdir@,$libexecdir,;t t
23259 s,@datadir@,$datadir,;t t
23260 s,@sysconfdir@,$sysconfdir,;t t
23261 s,@sharedstatedir@,$sharedstatedir,;t t
23262 s,@localstatedir@,$localstatedir,;t t
23263 s,@libdir@,$libdir,;t t
23264 s,@includedir@,$includedir,;t t
23265 s,@oldincludedir@,$oldincludedir,;t t
23266 s,@infodir@,$infodir,;t t
23267 s,@mandir@,$mandir,;t t
23268 s,@build_alias@,$build_alias,;t t
23269 s,@host_alias@,$host_alias,;t t
23270 s,@target_alias@,$target_alias,;t t
23271 s,@DEFS@,$DEFS,;t t
23272 s,@ECHO_C@,$ECHO_C,;t t
23273 s,@ECHO_N@,$ECHO_N,;t t
23274 s,@ECHO_T@,$ECHO_T,;t t
23275 s,@LIBS@,$LIBS,;t t
23276 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23277 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23278 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23279 s,@CYGPATH_W@,$CYGPATH_W,;t t
23280 s,@PACKAGE@,$PACKAGE,;t t
23281 s,@VERSION@,$VERSION,;t t
23282 s,@ACLOCAL@,$ACLOCAL,;t t
23283 s,@AUTOCONF@,$AUTOCONF,;t t
23284 s,@AUTOMAKE@,$AUTOMAKE,;t t
23285 s,@AUTOHEADER@,$AUTOHEADER,;t t
23286 s,@MAKEINFO@,$MAKEINFO,;t t
23287 s,@install_sh@,$install_sh,;t t
23288 s,@STRIP@,$STRIP,;t t
23289 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23290 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23291 s,@mkdir_p@,$mkdir_p,;t t
23293 s,@SET_MAKE@,$SET_MAKE,;t t
23294 s,@am__leading_dot@,$am__leading_dot,;t t
23295 s,@AMTAR@,$AMTAR,;t t
23296 s,@am__tar@,$am__tar,;t t
23297 s,@am__untar@,$am__untar,;t t
23298 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23299 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23300 s,@MAINT@,$MAINT,;t t
23302 s,@CFLAGS@,$CFLAGS,;t t
23303 s,@LDFLAGS@,$LDFLAGS,;t t
23304 s,@CPPFLAGS@,$CPPFLAGS,;t t
23305 s,@ac_ct_CC@,$ac_ct_CC,;t t
23306 s,@EXEEXT@,$EXEEXT,;t t
23307 s,@OBJEXT@,$OBJEXT,;t t
23308 s,@DEPDIR@,$DEPDIR,;t t
23309 s,@am__include@,$am__include,;t t
23310 s,@am__quote@,$am__quote,;t t
23311 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23312 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23313 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23314 s,@CCDEPMODE@,$CCDEPMODE,;t t
23315 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23316 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23318 s,@CXXFLAGS@,$CXXFLAGS,;t t
23319 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23320 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
23321 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
23322 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
23323 s,@RANLIB@,$RANLIB,;t t
23324 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23325 s,@build@,$build,;t t
23326 s,@build_cpu@,$build_cpu,;t t
23327 s,@build_vendor@,$build_vendor,;t t
23328 s,@build_os@,$build_os,;t t
23329 s,@host@,$host,;t t
23330 s,@host_cpu@,$host_cpu,;t t
23331 s,@host_vendor@,$host_vendor,;t t
23332 s,@host_os@,$host_os,;t t
23333 s,@EGREP@,$EGREP,;t t
23334 s,@LN_S@,$LN_S,;t t
23335 s,@ECHO@,$ECHO,;t t
23337 s,@ac_ct_AR@,$ac_ct_AR,;t t
23339 s,@CXXCPP@,$CXXCPP,;t t
23341 s,@FFLAGS@,$FFLAGS,;t t
23342 s,@ac_ct_F77@,$ac_ct_F77,;t t
23343 s,@LIBTOOL@,$LIBTOOL,;t t
23344 s,@__PYTHON@,$__PYTHON,;t t
23345 s,@INCLUDES@,$INCLUDES,;t t
23346 s,@LIBOBJS@,$LIBOBJS,;t t
23347 s,@ALLOCA@,$ALLOCA,;t t
23348 s,@WITH_PYTHON_SUBDIR@,$WITH_PYTHON_SUBDIR,;t t
23349 s,@WITH_PYTHON_SUBPACKAGE@,$WITH_PYTHON_SUBPACKAGE,;t t
23350 s,@WITH_PYTHON_VERSION@,$WITH_PYTHON_VERSION,;t t
23351 s,@__DOXYGEN@,$__DOXYGEN,;t t
23352 s,@WITH_APIDOCS_TARGET@,$WITH_APIDOCS_TARGET,;t t
23353 s,@WITH_APIDOCS@,$WITH_APIDOCS,;t t
23354 s,@LINKER_OPTIONS@,$LINKER_OPTIONS,;t t
23355 s,@COMPILER_OPTIONS@,$COMPILER_OPTIONS,;t t
23356 s,@EXTRA_LINKER_OPTIONS@,$EXTRA_LINKER_OPTIONS,;t t
23357 s,@EXTRA_COMPILER_OPTIONS@,$EXTRA_COMPILER_OPTIONS,;t t
23358 s,@MANGOSD_CONFIG@,$MANGOSD_CONFIG,;t t
23359 s,@MANGOSD_CONFIGDIR@,$MANGOSD_CONFIGDIR,;t t
23360 s,@MANGOSD_DATA@,$MANGOSD_DATA,;t t
23361 s,@MANGOSD_ENABLE_CLI@,$MANGOSD_ENABLE_CLI,;t t
23362 s,@MANGOSD_ENABLE_RA@,$MANGOSD_ENABLE_RA,;t t
23363 s,@LT_RELEASE@,$LT_RELEASE,;t t
23364 s,@LT_CURRENT@,$LT_CURRENT,;t t
23365 s,@LT_AGE@,$LT_AGE,;t t
23366 s,@LT_REVISION@,$LT_REVISION,;t t
23367 s,@LTMS_RELEASE@,$LTMS_RELEASE,;t t
23368 s,@LTMS_CURRENT@,$LTMS_CURRENT,;t t
23369 s,@LTMS_AGE@,$LTMS_AGE,;t t
23370 s,@LTMS_REVISION@,$LTMS_REVISION,;t t
23371 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23376 cat >>$CONFIG_STATUS <<\_ACEOF
23377 # Split the substitutions into bite-sized pieces for seds with
23378 # small command number limits, like on Digital OSF/1 and HP-UX.
23379 ac_max_sed_lines
=48
23380 ac_sed_frag
=1 # Number of current file.
23381 ac_beg
=1 # First line for current file.
23382 ac_end
=$ac_max_sed_lines # Line after last line for current file.
23385 while $ac_more_lines; do
23386 if test $ac_beg -gt 1; then
23387 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23389 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23391 if test ! -s $tmp/subs.frag
; then
23392 ac_more_lines
=false
23394 # The purpose of the label and of the branching condition is to
23395 # speed up the sed processing (if there are no `@' at all, there
23396 # is no need to browse any of the substitutions).
23397 # These are the two extra sed commands mentioned above.
23399 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
23400 if test -z "$ac_sed_cmds"; then
23401 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
23403 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23405 ac_sed_frag
=`expr $ac_sed_frag + 1`
23407 ac_end
=`expr $ac_end + $ac_max_sed_lines`
23410 if test -z "$ac_sed_cmds"; then
23413 fi # test -n "$CONFIG_FILES"
23416 cat >>$CONFIG_STATUS <<\_ACEOF
23417 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
23418 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23420 - |
*:- |
*:-:* ) # input from stdin
23422 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23423 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23424 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23425 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23426 * ) ac_file_in
=$ac_file.
in ;;
23429 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23430 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23431 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23432 X"$ac_file" : 'X\(//\)[^/]' \| \
23433 X"$ac_file" : 'X\(//\)$' \| \
23434 X"$ac_file" : 'X\(/\)' \| \
23435 . : '\(.\)' 2>/dev/null ||
23437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23438 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23439 /^X\(\/\/\)$/{ s//\1/; q; }
23440 /^X\(\/\).*/{ s//\1/; q; }
23442 { if $as_mkdir_p; then
23447 while test ! -d "$as_dir"; do
23448 as_dirs
="$as_dir $as_dirs"
23449 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23450 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23451 X"$as_dir" : 'X\(//\)[^/]' \| \
23452 X"$as_dir" : 'X\(//\)$' \| \
23453 X"$as_dir" : 'X\(/\)' \| \
23454 . : '\(.\)' 2>/dev/null ||
23456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23458 /^X\(\/\/\)$/{ s//\1/; q; }
23459 /^X\(\/\).*/{ s//\1/; q; }
23462 test ! -n "$as_dirs" || mkdir
$as_dirs
23463 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23464 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23465 { (exit 1); exit 1; }; }; }
23469 if test "$ac_dir" != .
; then
23470 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23471 # A "../" for each directory in $ac_dir_suffix.
23472 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23474 ac_dir_suffix
= ac_top_builddir
=
23478 .
) # No --srcdir option. We are building in place.
23480 if test -z "$ac_top_builddir"; then
23483 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23485 [\\/]* | ?
:[\\/]* ) # Absolute path.
23486 ac_srcdir
=$srcdir$ac_dir_suffix;
23487 ac_top_srcdir
=$srcdir ;;
23488 *) # Relative path.
23489 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23490 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23493 # Do not use `cd foo && pwd` to compute absolute paths, because
23494 # the directories may not exist.
23496 .
) ac_abs_builddir
="$ac_dir";;
23499 .
) ac_abs_builddir
=`pwd`;;
23500 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23501 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23504 case $ac_abs_builddir in
23505 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23507 case ${ac_top_builddir}.
in
23508 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23509 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23510 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23513 case $ac_abs_builddir in
23514 .
) ac_abs_srcdir
=$ac_srcdir;;
23517 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23518 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23519 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23522 case $ac_abs_builddir in
23523 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23525 case $ac_top_srcdir in
23526 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23527 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23528 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23534 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23535 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
23538 if test x
"$ac_file" != x-
; then
23539 { echo "$as_me:$LINENO: creating $ac_file" >&5
23540 echo "$as_me: creating $ac_file" >&6;}
23543 # Let's still pretend it is `configure' which instantiates (i.e., don't
23544 # use $as_me), people would be surprised to read:
23545 # /* config.h. Generated by config.status. */
23546 if test x
"$ac_file" = x-
; then
23549 configure_input
="$ac_file. "
23551 configure_input
=$configure_input"Generated from `echo $ac_file_in |
23552 sed 's,.*/,,'` by configure."
23554 # First look for the input files in the build tree, otherwise in the
23556 ac_file_inputs
=`IFS=:
23557 for f in $ac_file_in; do
23559 -) echo $tmp/stdin ;;
23561 # Absolute (can't be DOS-style, as IFS=:)
23562 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23563 echo "$as_me: error: cannot find input file: $f" >&2;}
23564 { (exit 1); exit 1; }; }
23567 if test -f "$f"; then
23570 elif test -f "$srcdir/$f"; then
23575 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23576 echo "$as_me: error: cannot find input file: $f" >&2;}
23577 { (exit 1); exit 1; }; }
23580 done` ||
{ (exit 1); exit 1; }
23582 cat >>$CONFIG_STATUS <<_ACEOF
23586 cat >>$CONFIG_STATUS <<\_ACEOF
23588 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23589 s
,@configure_input@
,$configure_input,;t t
23590 s
,@srcdir@
,$ac_srcdir,;t t
23591 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23592 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23593 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23594 s
,@builddir@
,$ac_builddir,;t t
23595 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23596 s
,@top_builddir@
,$ac_top_builddir,;t t
23597 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23598 s
,@INSTALL@
,$ac_INSTALL,;t t
23599 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23601 if test x"$ac_file" != x-; then
23602 mv $tmp/out $ac_file
23610 cat >>$CONFIG_STATUS <<\_ACEOF
23613 # CONFIG_HEADER section.
23616 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
23617 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23619 # ac_d sets the value in "#define NAME VALUE" lines.
23620 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23621 ac_dB
='[ ].*$,\1#\2'
23624 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23625 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23626 ac_uB
='$,\1#\2define\3'
23630 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
23631 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23633 - |
*:- |
*:-:* ) # input from stdin
23635 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23636 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23637 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23638 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23639 * ) ac_file_in
=$ac_file.
in ;;
23642 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23643 echo "$as_me: creating $ac_file" >&6;}
23645 # First look for the input files in the build tree, otherwise in the
23647 ac_file_inputs
=`IFS=:
23648 for f in $ac_file_in; do
23650 -) echo $tmp/stdin ;;
23652 # Absolute (can't be DOS-style, as IFS=:)
23653 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23654 echo "$as_me: error: cannot find input file: $f" >&2;}
23655 { (exit 1); exit 1; }; }
23656 # Do quote $f, to prevent DOS paths from being IFS'd.
23659 if test -f "$f"; then
23662 elif test -f "$srcdir/$f"; then
23667 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23668 echo "$as_me: error: cannot find input file: $f" >&2;}
23669 { (exit 1); exit 1; }; }
23672 done` ||
{ (exit 1); exit 1; }
23673 # Remove the trailing spaces.
23674 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23678 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23679 # `conftest.undefs', that substitutes the proper values into
23680 # config.h.in to produce config.h. The first handles `#define'
23681 # templates, and the second `#undef' templates.
23682 # And first: Protect against being on the right side of a sed subst in
23683 # config.status. Protect against being in an unquoted here document
23684 # in config.status.
23685 rm -f conftest.defines conftest.undefs
23686 # Using a here document instead of a string reduces the quoting nightmare.
23687 # Putting comments in sed scripts is not portable.
23689 # `end' is used to avoid that the second main sed command (meant for
23690 # 0-ary CPP macros) applies to n-ary macro definitions.
23691 # See the Autoconf documentation for `clear'.
23692 cat >confdef2sed.
sed <<\_ACEOF
23697 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23699 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23702 # If some macros were called several times there might be several times
23703 # the same #defines, which is useless. Nevertheless, we may not want to
23704 # sort them, since we want the *last* AC-DEFINE to be honored.
23705 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23706 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23707 rm -f confdef2sed.sed
23709 # This sed command replaces #undef with comments. This is necessary, for
23710 # example, in the case of _POSIX_SOURCE, which is predefined and required
23711 # on some systems where configure will not decide to define it.
23712 cat >>conftest.undefs <<\_ACEOF
23713 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23716 # Break up conftest.defines because some shells have a limit on the size
23717 # of here documents, and old seds have small limits too (100 cmds).
23718 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23719 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23720 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23721 echo ' :' >>$CONFIG_STATUS
23722 rm -f conftest.tail
23723 while grep . conftest.defines >/dev/null
23725 # Write a limited-size here document to $tmp/defines.sed.
23726 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23727 # Speed up: don't consider the non `#define' lines.
23728 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23729 # Work around the forget-to-reset-the-flag bug.
23730 echo 't clr' >>$CONFIG_STATUS
23731 echo ': clr' >>$CONFIG_STATUS
23732 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23734 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23736 mv $tmp/out $tmp/in
23738 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23739 rm -f conftest.defines
23740 mv conftest.
tail conftest.defines
23742 rm -f conftest.defines
23743 echo ' fi # grep' >>$CONFIG_STATUS
23744 echo >>$CONFIG_STATUS
23746 # Break up conftest.undefs because some shells have a limit on the size
23747 # of here documents, and old seds have small limits too (100 cmds).
23748 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23749 rm -f conftest.
tail
23750 while grep . conftest.undefs
>/dev
/null
23752 # Write a limited-size here document to $tmp/undefs.sed.
23753 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23754 # Speed up: don't consider the non
`#undef'
23755 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23756 # Work around the forget-to-reset-the-flag bug.
23757 echo 't clr' >>$CONFIG_STATUS
23758 echo ': clr' >>$CONFIG_STATUS
23759 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23761 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23763 mv $tmp/out $tmp/in
23765 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23766 rm -f conftest.undefs
23767 mv conftest.tail conftest.undefs
23769 rm -f conftest.undefs
23771 cat >>$CONFIG_STATUS <<\_ACEOF
23772 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23773 # use $as_me), people would be surprised to read:
23774 # /* config.h. Generated by config.status. */
23775 if test x
"$ac_file" = x-
; then
23776 echo "/* Generated by configure. */" >$tmp/config.h
23778 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23780 cat $tmp/in >>$tmp/config.h
23782 if test x
"$ac_file" != x-
; then
23783 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23784 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23785 echo "$as_me: $ac_file is unchanged" >&6;}
23787 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23788 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23789 X"$ac_file" : 'X\(//\)[^/]' \| \
23790 X"$ac_file" : 'X\(//\)$' \| \
23791 X"$ac_file" : 'X\(/\)' \| \
23792 . : '\(.\)' 2>/dev/null ||
23794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23795 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23796 /^X\(\/\/\)$/{ s//\1/; q; }
23797 /^X\(\/\).*/{ s//\1/; q; }
23799 { if $as_mkdir_p; then
23804 while test ! -d "$as_dir"; do
23805 as_dirs
="$as_dir $as_dirs"
23806 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23807 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23808 X"$as_dir" : 'X\(//\)[^/]' \| \
23809 X"$as_dir" : 'X\(//\)$' \| \
23810 X"$as_dir" : 'X\(/\)' \| \
23811 . : '\(.\)' 2>/dev/null ||
23813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23814 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23815 /^X\(\/\/\)$/{ s//\1/; q; }
23816 /^X\(\/\).*/{ s//\1/; q; }
23819 test ! -n "$as_dirs" || mkdir
$as_dirs
23820 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23821 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23822 { (exit 1); exit 1; }; }; }
23825 mv $tmp/config.h
$ac_file
23829 rm -f $tmp/config.h
23831 # Compute $ac_file's index in $config_headers.
23833 for _am_header
in $config_headers :; do
23834 case $_am_header in
23835 $ac_file |
$ac_file:* )
23838 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23841 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
23842 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23843 X$ac_file : 'X\(//\)[^/]' \| \
23844 X$ac_file : 'X\(//\)$' \| \
23845 X$ac_file : 'X\(/\)' \| \
23846 . : '\(.\)' 2>/dev/null ||
23848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23849 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23850 /^X\(\/\/\)$/{ s//\1/; q; }
23851 /^X\(\/\).*/{ s//\1/; q; }
23852 s/.*/./; q'`/stamp-h
$_am_stamp_count
23855 cat >>$CONFIG_STATUS <<\_ACEOF
23858 # CONFIG_COMMANDS section.
23860 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23861 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23862 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23863 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23864 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23865 X"$ac_dest" : 'X\(//\)[^/]' \| \
23866 X"$ac_dest" : 'X\(//\)$' \| \
23867 X"$ac_dest" : 'X\(/\)' \| \
23868 . : '\(.\)' 2>/dev/null ||
23870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23872 /^X\(\/\/\)$/{ s//\1/; q; }
23873 /^X\(\/\).*/{ s//\1/; q; }
23875 { if $as_mkdir_p; then
23880 while test ! -d "$as_dir"; do
23881 as_dirs
="$as_dir $as_dirs"
23882 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23883 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23884 X"$as_dir" : 'X\(//\)[^/]' \| \
23885 X"$as_dir" : 'X\(//\)$' \| \
23886 X"$as_dir" : 'X\(/\)' \| \
23887 . : '\(.\)' 2>/dev/null ||
23889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23890 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23891 /^X\(\/\/\)$/{ s//\1/; q; }
23892 /^X\(\/\).*/{ s//\1/; q; }
23895 test ! -n "$as_dirs" || mkdir
$as_dirs
23896 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23897 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23898 { (exit 1); exit 1; }; }; }
23902 if test "$ac_dir" != .
; then
23903 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23904 # A "../" for each directory in $ac_dir_suffix.
23905 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23907 ac_dir_suffix
= ac_top_builddir
=
23911 .
) # No --srcdir option. We are building in place.
23913 if test -z "$ac_top_builddir"; then
23916 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23918 [\\/]* | ?
:[\\/]* ) # Absolute path.
23919 ac_srcdir
=$srcdir$ac_dir_suffix;
23920 ac_top_srcdir
=$srcdir ;;
23921 *) # Relative path.
23922 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23923 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23926 # Do not use `cd foo && pwd` to compute absolute paths, because
23927 # the directories may not exist.
23929 .
) ac_abs_builddir
="$ac_dir";;
23932 .
) ac_abs_builddir
=`pwd`;;
23933 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23934 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23937 case $ac_abs_builddir in
23938 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23940 case ${ac_top_builddir}.
in
23941 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23942 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23943 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23946 case $ac_abs_builddir in
23947 .
) ac_abs_srcdir
=$ac_srcdir;;
23950 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23951 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23952 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23955 case $ac_abs_builddir in
23956 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23958 case $ac_top_srcdir in
23959 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23960 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23961 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23966 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23967 echo "$as_me: executing $ac_dest commands" >&6;}
23969 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23970 # Strip MF so we end up with the name of the file.
23971 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23972 # Check whether this is an Automake generated Makefile or not.
23973 # We used to match only the files named `Makefile.in', but
23974 # some people rename them; so instead we look at the file content.
23975 # Grep'ing the first line is not enough: some people post-process
23976 # each Makefile.in and add a new line on top of each file to say so.
23977 # So let's grep whole file.
23978 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23979 dirpart
=`(dirname "$mf") 2>/dev/null ||
23980 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23981 X"$mf" : 'X\(//\)[^/]' \| \
23982 X"$mf" : 'X\(//\)$' \| \
23983 X"$mf" : 'X\(/\)' \| \
23984 . : '\(.\)' 2>/dev/null ||
23986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23987 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23988 /^X\(\/\/\)$/{ s//\1/; q; }
23989 /^X\(\/\).*/{ s//\1/; q; }
23994 # Extract the definition of DEPDIR, am__include, and am__quote
23995 # from the Makefile without running `make'.
23996 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23997 test -z "$DEPDIR" && continue
23998 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23999 test -z "am__include" && continue
24000 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24001 # When using ansi2knr, U may be empty or an underscore; expand it
24002 U
=`sed -n 's/^U = //p' < "$mf"`
24003 # Find all dependency output files, they are included files with
24004 # $(DEPDIR) in their names. We invoke sed twice because it is the
24005 # simplest approach to changing $(DEPDIR) to its actual value in the
24007 for file in `sed -n "
24008 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24009 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24010 # Make sure the directory exists.
24011 test -f "$dirpart/$file" && continue
24012 fdir
=`(dirname "$file") 2>/dev/null ||
24013 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24014 X"$file" : 'X\(//\)[^/]' \| \
24015 X"$file" : 'X\(//\)$' \| \
24016 X"$file" : 'X\(/\)' \| \
24017 . : '\(.\)' 2>/dev/null ||
24019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24020 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24021 /^X\(\/\/\)$/{ s//\1/; q; }
24022 /^X\(\/\).*/{ s//\1/; q; }
24024 { if $as_mkdir_p; then
24025 mkdir
-p $dirpart/$fdir
24027 as_dir
=$dirpart/$fdir
24029 while test ! -d "$as_dir"; do
24030 as_dirs
="$as_dir $as_dirs"
24031 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24032 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24033 X"$as_dir" : 'X\(//\)[^/]' \| \
24034 X"$as_dir" : 'X\(//\)$' \| \
24035 X"$as_dir" : 'X\(/\)' \| \
24036 . : '\(.\)' 2>/dev/null ||
24038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24039 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24040 /^X\(\/\/\)$/{ s//\1/; q; }
24041 /^X\(\/\).*/{ s//\1/; q; }
24044 test ! -n "$as_dirs" || mkdir
$as_dirs
24045 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
24046 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
24047 { (exit 1); exit 1; }; }; }
24049 # echo "creating $dirpart/$file"
24050 echo '# dummy' > "$dirpart/$file"
24058 cat >>$CONFIG_STATUS <<\_ACEOF
24060 { (exit 0); exit 0; }
24062 chmod +x
$CONFIG_STATUS
24063 ac_clean_files
=$ac_clean_files_save
24066 # configure is writing to config.log, and then calls config.status.
24067 # config.status does its own redirection, appending to config.log.
24068 # Unfortunately, on DOS this fails, as config.log is still kept open
24069 # by configure, so config.status won't be able to write to it; its
24070 # output is simply discarded. So we exec the FD to /dev/null,
24071 # effectively closing config.log, so it can be properly (re)opened and
24072 # appended to by config.status. When coming back to configure, we
24073 # need to make the FD available again.
24074 if test "$no_create" != yes; then
24076 ac_config_status_args
=
24077 test "$silent" = yes &&
24078 ac_config_status_args
="$ac_config_status_args --quiet"
24080 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24082 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24083 # would make configure fail if this is the last instruction.
24084 $ac_cs_success ||
{ (exit 1); exit 1; }