2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for makedat 0.60.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL
=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec
; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo
; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo
; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset
; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
291 echo_test_string
=`eval $cmd` &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
311 for dir
in $PATH /usr
/ucb
; do
313 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho
; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL
=/bin
/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
352 SHELL
="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string
=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames
=${tagnames+${tagnames},}CXX
398 tagnames
=${tagnames+${tagnames},}F77
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix
=/usr
/local
411 ac_config_libobj_dir
=.
416 SHELL
=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME
='makedat'
425 PACKAGE_TARNAME
='makedat'
426 PACKAGE_VERSION
='0.60'
427 PACKAGE_STRING
='makedat 0.60'
428 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
430 ac_unique_file
="makedatprog.c"
431 # Factoring default headers for most tests.
432 ac_includes_default
="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S PERL CAT build build_cpu build_vendor build_os host host_cpu host_vendor host_os SED EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL makedatprog_target dblibrary LIBGDBM LIBDB USE_GDBM_TRUE USE_GDBM_FALSE USE_DB_TRUE USE_DB_FALSE makedatprogpath LIBOBJS LTLIBOBJS'
471 # Initialize some variables set by options.
473 ac_init_version
=false
474 # The variables have the same names as the options, with
475 # dashes changed to underlines.
483 program_transform_name
=s
,x
,x
,
491 # Installation directory options.
492 # These are left unexpanded so users can "make install exec_prefix=/foo"
493 # and all the variables that are supposed to be based on exec_prefix
494 # by default will actually change.
495 # Use braces instead of parens because sh, perl, etc. also accept them.
496 bindir
='${exec_prefix}/bin'
497 sbindir
='${exec_prefix}/sbin'
498 libexecdir
='${exec_prefix}/libexec'
499 datadir
='${prefix}/share'
500 sysconfdir
='${prefix}/etc'
501 sharedstatedir
='${prefix}/com'
502 localstatedir
='${prefix}/var'
503 libdir
='${exec_prefix}/lib'
504 includedir
='${prefix}/include'
505 oldincludedir
='/usr/include'
506 infodir
='${prefix}/info'
507 mandir
='${prefix}/man'
512 # If the previous option needs an argument, assign it.
513 if test -n "$ac_prev"; then
514 eval "$ac_prev=\$ac_option"
519 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
527 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
530 -build |
--build |
--buil |
--bui |
--bu)
531 ac_prev
=build_alias
;;
532 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
533 build_alias
=$ac_optarg ;;
535 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
536 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
537 ac_prev
=cache_file
;;
538 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
539 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
540 cache_file
=$ac_optarg ;;
543 cache_file
=config.cache
;;
545 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
547 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
549 datadir
=$ac_optarg ;;
551 -disable-* |
--disable-*)
552 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
555 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556 { (exit 1); exit 1; }; }
557 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
558 eval "enable_$ac_feature=no" ;;
560 -enable-* |
--enable-*)
561 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
564 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565 { (exit 1); exit 1; }; }
566 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
568 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571 eval "enable_$ac_feature='$ac_optarg'" ;;
573 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
574 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
575 |
--exec |
--exe |
--ex)
576 ac_prev
=exec_prefix
;;
577 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
578 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
579 |
--exec=* |
--exe=* |
--ex=*)
580 exec_prefix
=$ac_optarg ;;
582 -gas |
--gas |
--ga |
--g)
583 # Obsolete; use --with-gas.
586 -help |
--help |
--hel |
--he |
-h)
588 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
589 ac_init_help
=recursive
;;
590 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
591 ac_init_help
=short
;;
593 -host |
--host |
--hos |
--ho)
594 ac_prev
=host_alias
;;
595 -host=* |
--host=* |
--hos=* |
--ho=*)
596 host_alias
=$ac_optarg ;;
598 -includedir |
--includedir |
--includedi |
--included |
--include \
599 |
--includ |
--inclu |
--incl |
--inc)
600 ac_prev
=includedir
;;
601 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
602 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
603 includedir
=$ac_optarg ;;
605 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
607 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
608 infodir
=$ac_optarg ;;
610 -libdir |
--libdir |
--libdi |
--libd)
612 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
615 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
616 |
--libexe |
--libex |
--libe)
617 ac_prev
=libexecdir
;;
618 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
619 |
--libexe=* |
--libex=* |
--libe=*)
620 libexecdir
=$ac_optarg ;;
622 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
623 |
--localstate |
--localstat |
--localsta |
--localst \
624 |
--locals |
--local |
--loca |
--loc |
--lo)
625 ac_prev
=localstatedir
;;
626 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
627 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
628 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
629 localstatedir
=$ac_optarg ;;
631 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
633 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
637 # Obsolete; use --without-fp.
640 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
641 |
--no-cr |
--no-c |
-n)
644 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
645 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
648 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
649 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
650 |
--oldin |
--oldi |
--old |
--ol |
--o)
651 ac_prev
=oldincludedir
;;
652 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
653 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
654 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
655 oldincludedir
=$ac_optarg ;;
657 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
659 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
662 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
663 |
--program-pre |
--program-pr |
--program-p)
664 ac_prev
=program_prefix
;;
665 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
666 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
667 program_prefix
=$ac_optarg ;;
669 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
670 |
--program-suf |
--program-su |
--program-s)
671 ac_prev
=program_suffix
;;
672 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
673 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
674 program_suffix
=$ac_optarg ;;
676 -program-transform-name |
--program-transform-name \
677 |
--program-transform-nam |
--program-transform-na \
678 |
--program-transform-n |
--program-transform- \
679 |
--program-transform |
--program-transfor \
680 |
--program-transfo |
--program-transf \
681 |
--program-trans |
--program-tran \
682 |
--progr-tra |
--program-tr |
--program-t)
683 ac_prev
=program_transform_name
;;
684 -program-transform-name=* |
--program-transform-name=* \
685 |
--program-transform-nam=* |
--program-transform-na=* \
686 |
--program-transform-n=* |
--program-transform-=* \
687 |
--program-transform=* |
--program-transfor=* \
688 |
--program-transfo=* |
--program-transf=* \
689 |
--program-trans=* |
--program-tran=* \
690 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
691 program_transform_name
=$ac_optarg ;;
693 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
694 |
-silent |
--silent |
--silen |
--sile |
--sil)
697 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
699 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
701 sbindir
=$ac_optarg ;;
703 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
704 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
705 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
707 ac_prev
=sharedstatedir
;;
708 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
709 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
710 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
712 sharedstatedir
=$ac_optarg ;;
714 -site |
--site |
--sit)
716 -site=* |
--site=* |
--sit=*)
719 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
721 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
724 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
725 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
726 ac_prev
=sysconfdir
;;
727 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
728 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
729 sysconfdir
=$ac_optarg ;;
731 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
732 ac_prev
=target_alias
;;
733 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
734 target_alias
=$ac_optarg ;;
736 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
739 -version |
--version |
--versio |
--versi |
--vers |
-V)
743 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
746 { echo "$as_me: error: invalid package name: $ac_package" >&2
747 { (exit 1); exit 1; }; }
748 ac_package
=`echo $ac_package| sed 's/-/_/g'`
750 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753 eval "with_$ac_package='$ac_optarg'" ;;
755 -without-* |
--without-*)
756 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
759 { echo "$as_me: error: invalid package name: $ac_package" >&2
760 { (exit 1); exit 1; }; }
761 ac_package
=`echo $ac_package | sed 's/-/_/g'`
762 eval "with_$ac_package=no" ;;
765 # Obsolete; use --with-x.
768 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
769 |
--x-incl |
--x-inc |
--x-in |
--x-i)
770 ac_prev
=x_includes
;;
771 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
772 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
773 x_includes
=$ac_optarg ;;
775 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
776 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
777 ac_prev
=x_libraries
;;
778 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
779 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
780 x_libraries
=$ac_optarg ;;
782 -*) { echo "$as_me: error: unrecognized option: $ac_option
783 Try \`$0 --help' for more information." >&2
784 { (exit 1); exit 1; }; }
788 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
791 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792 { (exit 1); exit 1; }; }
793 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794 eval "$ac_envvar='$ac_optarg'"
798 # FIXME: should be removed in autoconf 3.0.
799 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
801 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
808 if test -n "$ac_prev"; then
809 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
810 { echo "$as_me: error: missing argument to $ac_option" >&2
811 { (exit 1); exit 1; }; }
814 # Be sure to have absolute paths.
815 for ac_var
in exec_prefix prefix
817 eval ac_val
=$
`echo $ac_var`
819 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
820 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821 { (exit 1); exit 1; }; };;
825 # Be sure to have absolute paths.
826 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827 localstatedir libdir includedir oldincludedir infodir mandir
829 eval ac_val
=$
`echo $ac_var`
831 [\\/$
]* | ?
:[\\/]* ) ;;
832 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833 { (exit 1); exit 1; }; };;
837 # There might be people who depend on the old broken behavior: `$host'
838 # used to hold the argument of --host etc.
839 # FIXME: To remove some day.
844 # FIXME: To remove some day.
845 if test "x$host_alias" != x
; then
846 if test "x$build_alias" = x
; then
847 cross_compiling
=maybe
848 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849 If a cross compiler is detected then cross compile mode will be used." >&2
850 elif test "x$build_alias" != "x$host_alias"; then
856 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
858 test "$silent" = yes && exec 6>/dev
/null
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted
=yes
864 # Try the directory containing this script, then its parent.
865 ac_confdir
=`(dirname "$0") 2>/dev/null ||
866 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867 X"$0" : 'X\(//\)[^/]' \| \
868 X"$0" : 'X\(//\)$' \| \
869 X"$0" : 'X\(/\)' \| \
870 . : '\(.\)' 2>/dev/null ||
872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874 /^X\(\/\/\)$/{ s//\1/; q; }
875 /^X\(\/\).*/{ s//\1/; q; }
878 if test ! -r $srcdir/$ac_unique_file; then
882 ac_srcdir_defaulted
=no
884 if test ! -r $srcdir/$ac_unique_file; then
885 if test "$ac_srcdir_defaulted" = yes; then
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887 { (exit 1); exit 1; }; }
889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890 { (exit 1); exit 1; }; }
893 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
894 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895 { (exit 1); exit 1; }; }
896 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897 ac_env_build_alias_set
=${build_alias+set}
898 ac_env_build_alias_value
=$build_alias
899 ac_cv_env_build_alias_set
=${build_alias+set}
900 ac_cv_env_build_alias_value
=$build_alias
901 ac_env_host_alias_set
=${host_alias+set}
902 ac_env_host_alias_value
=$host_alias
903 ac_cv_env_host_alias_set
=${host_alias+set}
904 ac_cv_env_host_alias_value
=$host_alias
905 ac_env_target_alias_set
=${target_alias+set}
906 ac_env_target_alias_value
=$target_alias
907 ac_cv_env_target_alias_set
=${target_alias+set}
908 ac_cv_env_target_alias_value
=$target_alias
909 ac_env_CC_set
=${CC+set}
911 ac_cv_env_CC_set
=${CC+set}
912 ac_cv_env_CC_value
=$CC
913 ac_env_CFLAGS_set
=${CFLAGS+set}
914 ac_env_CFLAGS_value
=$CFLAGS
915 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
916 ac_cv_env_CFLAGS_value
=$CFLAGS
917 ac_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_env_LDFLAGS_value
=$LDFLAGS
919 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value
=$LDFLAGS
921 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
924 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
925 ac_env_CPP_set
=${CPP+set}
926 ac_env_CPP_value
=$CPP
927 ac_cv_env_CPP_set
=${CPP+set}
928 ac_cv_env_CPP_value
=$CPP
929 ac_env_CXX_set
=${CXX+set}
930 ac_env_CXX_value
=$CXX
931 ac_cv_env_CXX_set
=${CXX+set}
932 ac_cv_env_CXX_value
=$CXX
933 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
934 ac_env_CXXFLAGS_value
=$CXXFLAGS
935 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
936 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
937 ac_env_CXXCPP_set
=${CXXCPP+set}
938 ac_env_CXXCPP_value
=$CXXCPP
939 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
940 ac_cv_env_CXXCPP_value
=$CXXCPP
941 ac_env_F77_set
=${F77+set}
942 ac_env_F77_value
=$F77
943 ac_cv_env_F77_set
=${F77+set}
944 ac_cv_env_F77_value
=$F77
945 ac_env_FFLAGS_set
=${FFLAGS+set}
946 ac_env_FFLAGS_value
=$FFLAGS
947 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
948 ac_cv_env_FFLAGS_value
=$FFLAGS
951 # Report the --help message.
953 if test "$ac_init_help" = "long"; then
954 # Omit some internal or obsolete options to make the list less imposing.
955 # This message is too long to be a string in the A/UX 3.1 sh.
957 \`configure' configures makedat 0.60 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 makedat 0.60:";;
1028 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1029 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1030 --disable-dependency-tracking speeds up one-time build
1031 --enable-dependency-tracking do not reject slow dependency extractors
1032 --enable-shared[=PKGS
]
1033 build shared libraries
[default
=yes]
1034 --enable-static[=PKGS
]
1035 build static libraries
[default
=yes]
1036 --enable-fast-install[=PKGS
]
1037 optimize
for fast installation
[default
=yes]
1038 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1041 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1042 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1043 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1044 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1047 include additional configurations
[automatic
]
1049 --with-makedatprog=filename Installed location and name of makedatprog
1051 Some influential environment variables
:
1052 CC C compiler
command
1053 CFLAGS C compiler flags
1054 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1055 nonstandard directory
<lib dir
>
1056 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1057 headers
in a nonstandard directory
<include dir
>
1059 CXX C
++ compiler
command
1060 CXXFLAGS C
++ compiler flags
1061 CXXCPP C
++ preprocessor
1062 F77 Fortran
77 compiler
command
1063 FFLAGS Fortran
77 compiler flags
1065 Use these variables to override the choices made by
`configure' or to help
1066 it to find libraries and programs with nonstandard names/locations.
1068 Report bugs to <courier-users@lists.sourceforge.net>.
1072 if test "$ac_init_help" = "recursive"; then
1073 # If there are subdirs, report their specific --help.
1075 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1076 test -d $ac_dir || continue
1079 if test "$ac_dir" != .; then
1080 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1081 # A "../" for each directory in $ac_dir_suffix.
1082 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1084 ac_dir_suffix= ac_top_builddir=
1088 .) # No --srcdir option. We are building in place.
1090 if test -z "$ac_top_builddir"; then
1093 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1095 [\\/]* | ?:[\\/]* ) # Absolute path.
1096 ac_srcdir=$srcdir$ac_dir_suffix;
1097 ac_top_srcdir=$srcdir ;;
1099 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1100 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1103 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1104 # the directories may not exist.
1106 .) ac_abs_builddir="$ac_dir";;
1109 .) ac_abs_builddir=`pwd`;;
1110 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1111 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1114 case $ac_abs_builddir in
1115 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1117 case ${ac_top_builddir}. in
1118 .) ac_abs_top_builddir=$ac_abs_builddir;;
1119 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1120 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1123 case $ac_abs_builddir in
1124 .) ac_abs_srcdir=$ac_srcdir;;
1127 .) ac_abs_srcdir=$ac_abs_builddir;;
1128 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1129 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1132 case $ac_abs_builddir in
1133 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1135 case $ac_top_srcdir in
1136 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1138 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1143 # Check for guested configure; otherwise get Cygnus style configure.
1144 if test -f $ac_srcdir/configure.gnu; then
1146 $SHELL $ac_srcdir/configure.gnu --help=recursive
1147 elif test -f $ac_srcdir/configure; then
1149 $SHELL $ac_srcdir/configure --help=recursive
1150 elif test -f $ac_srcdir/configure.ac ||
1151 test -f $ac_srcdir/configure.in; then
1153 $ac_configure --help
1155 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1161 test -n "$ac_init_help" && exit 0
1162 if $ac_init_version; then
1164 makedat configure 0.60
1165 generated by GNU Autoconf 2.59
1167 Copyright (C) 2003 Free Software Foundation, Inc.
1168 This configure script is free software; the Free Software Foundation
1169 gives unlimited permission to copy, distribute and modify it.
1175 This file contains any messages produced by compilers while
1176 running configure, to aid debugging if configure makes a mistake.
1178 It was created by makedat $as_me 0.60, which was
1179 generated by GNU Autoconf 2.59. Invocation command line was
1190 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1191 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1192 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1193 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1194 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1196 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1197 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1199 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1200 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1201 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1202 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1203 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1204 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1205 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1213 test -z "$as_dir" && as_dir=.
1214 echo "PATH: $as_dir"
1229 # Keep a trace of the command line.
1230 # Strip out --no-create and --no-recursion so they do not pile up.
1231 # Strip out --silent because we don't want to record it for future runs.
1232 # Also quote any args containing shell meta-characters.
1233 # Make two passes to allow for proper duplicate-argument suppression.
1238 ac_must_keep_next=false
1244 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1246 | -silent | --silent | --silen | --sile | --sil)
1248 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1249 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1252 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1254 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1255 if test $ac_must_keep_next = true; then
1256 ac_must_keep_next=false # Got value, back to normal.
1259 *=* | --config-cache | -C | -disable-* | --disable-* \
1260 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1261 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1262 | -with-* | --with-* | -without-* | --without-* | --x)
1263 case "$ac_configure_args0 " in
1264 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1267 -* ) ac_must_keep_next=true ;;
1270 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1271 # Get rid of the leading space.
1277 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1278 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1280 # When interrupted or exit'd, cleanup temporary files, and complete
1281 # config.log. We remove comments because anyway the quotes in there
1282 # would cause problems or look ugly.
1283 # WARNING: Be sure not to use single quotes in there, as some shells,
1284 # such as our DU 5.0 friend, will then `close
' the trap.
1285 trap 'exit_status
=$?
1286 # Save into config.log some information that might help in debugging.
1291 ## ---------------- ##
1292 ## Cache variables. ##
1293 ## ---------------- ##
1296 # The following way of writing the cache mishandles newlines in values,
1299 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1302 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1307 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1314 ## ----------------- ##
1315 ## Output variables. ##
1316 ## ----------------- ##
1319 for ac_var
in $ac_subst_vars
1321 eval ac_val
=$
`echo $ac_var`
1322 echo "$ac_var='"'"'$ac_val'"'"'"
1326 if test -n "$ac_subst_files"; then
1333 for ac_var
in $ac_subst_files
1335 eval ac_val
=$
`echo $ac_var`
1336 echo "$ac_var='"'"'$ac_val'"'"'"
1341 if test -s confdefs.h
; then
1348 sed "/^$/d" confdefs.h |
sort
1351 test "$ac_signal" != 0 &&
1352 echo "$as_me: caught signal $ac_signal"
1353 echo "$as_me: exit $exit_status"
1355 rm -f core
*.core
&&
1356 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1359 for ac_signal in 1 2 13 15; do
1360 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1364 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1365 rm -rf conftest* confdefs.h
1366 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1369 # Predefined preprocessor variables.
1371 cat >>confdefs.h <<_ACEOF
1372 #define PACKAGE_NAME "$PACKAGE_NAME"
1376 cat >>confdefs.h <<_ACEOF
1377 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1381 cat >>confdefs.h <<_ACEOF
1382 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1386 cat >>confdefs.h <<_ACEOF
1387 #define PACKAGE_STRING "$PACKAGE_STRING"
1391 cat >>confdefs.h <<_ACEOF
1392 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1396 # Let the site file select an alternate cache file if it wants to.
1397 # Prefer explicitly selected file to automatically selected ones.
1398 if test -z "$CONFIG_SITE"; then
1399 if test "x$prefix" != xNONE; then
1400 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1402 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1405 for ac_site_file in $CONFIG_SITE; do
1406 if test -r "$ac_site_file"; then
1407 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1408 echo "$as_me: loading site script $ac_site_file" >&6;}
1409 sed 's
/^
/|
/' "$ac_site_file" >&5
1414 if test -r "$cache_file"; then
1415 # Some versions of bash will fail to source /dev/null (special
1416 # files actually), so we avoid doing that.
1417 if test -f "$cache_file"; then
1418 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1419 echo "$as_me: loading cache $cache_file" >&6;}
1421 [\\/]* | ?:[\\/]* ) . $cache_file;;
1422 *) . ./$cache_file;;
1426 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1427 echo "$as_me: creating cache $cache_file" >&6;}
1431 # Check that the precious variables saved in the cache have kept the same
1433 ac_cache_corrupted=false
1434 for ac_var in `(set) 2>&1 |
1435 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1436 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1437 eval ac_new_set=\$ac_env_${ac_var}_set
1438 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1439 eval ac_new_val="\$ac_env_${ac_var}_value"
1440 case $ac_old_set,$ac_new_set in
1442 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1443 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1444 ac_cache_corrupted=: ;;
1446 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1447 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1448 ac_cache_corrupted=: ;;
1451 if test "x$ac_old_val" != "x$ac_new_val"; then
1452 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1453 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1454 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1455 echo "$as_me: former value: $ac_old_val" >&2;}
1456 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1457 echo "$as_me: current value: $ac_new_val" >&2;}
1458 ac_cache_corrupted=:
1461 # Pass precious variables to config.status.
1462 if test "$ac_new_set" = set; then
1464 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1465 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1466 *) ac_arg=$ac_var=$ac_new_val ;;
1468 case " $ac_configure_args " in
1469 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1470 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1474 if $ac_cache_corrupted; then
1475 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1476 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1477 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1478 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1479 { (exit 1); exit 1; }; }
1483 ac_cpp='$CPP $CPPFLAGS'
1484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1485 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1515 >confdefs.h # Kill PACKAGE_ macros
1518 am__api_version="1.9"
1520 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1521 if test -f $ac_dir/install-sh; then
1523 ac_install_sh="$ac_aux_dir/install-sh -c"
1525 elif test -f $ac_dir/install.sh; then
1527 ac_install_sh="$ac_aux_dir/install.sh -c"
1529 elif test -f $ac_dir/shtool; then
1531 ac_install_sh="$ac_aux_dir/shtool install -c"
1535 if test -z "$ac_aux_dir"; then
1536 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1537 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1538 { (exit 1); exit 1; }; }
1540 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1541 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1542 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1544 # Find a good install program. We prefer a C program (faster),
1545 # so one script is as good as another. But avoid the broken or
1546 # incompatible versions:
1547 # SysV /etc/install, /usr/sbin/install
1548 # SunOS /usr/etc/install
1549 # IRIX /sbin/install
1551 # AmigaOS /C/install, which installs bootblocks on floppy discs
1552 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1553 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1554 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1555 # OS/2's system install, which has a completely different semantic
1556 # ./install, which can be erroneously created by make from ./install.sh.
1557 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1558 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1559 if test -z "$INSTALL"; then
1560 if test "${ac_cv_path_install+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1567 test -z "$as_dir" && as_dir
=.
1568 # Account for people who put trailing slashes in PATH elements.
1570 .
/ | .
// |
/cC
/* | \
1571 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1572 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1575 # OSF1 and SCO ODT 3.0 have their own names for install.
1576 # Don't use installbsd from OSF since it installs stuff as root
1578 for ac_prog
in ginstall scoinst
install; do
1579 for ac_exec_ext
in '' $ac_executable_extensions; do
1580 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1581 if test $ac_prog = install &&
1582 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1583 # AIX install. It has an incompatible calling convention.
1585 elif test $ac_prog = install &&
1586 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1587 # program-specific install script used by HP pwplus--don't use.
1590 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1602 if test "${ac_cv_path_install+set}" = set; then
1603 INSTALL
=$ac_cv_path_install
1605 # As a last resort, use the slow shell script. We don't cache a
1606 # path for INSTALL within a source directory, because that will
1607 # break other packages using the cache if that directory is
1608 # removed, or if the path is relative.
1609 INSTALL
=$ac_install_sh
1612 echo "$as_me:$LINENO: result: $INSTALL" >&5
1613 echo "${ECHO_T}$INSTALL" >&6
1615 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1616 # It thinks the first close brace ends the variable substitution.
1617 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1619 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1621 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1623 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1624 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1627 echo timestamp
> conftest.
file
1628 # Do `set' in a subshell so we don't clobber the current shell's
1629 # arguments. Must try -L first in case configure is actually a
1630 # symlink; some systems play weird games with the mod time of symlinks
1631 # (eg FreeBSD returns the mod time of the symlink's containing
1634 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1635 if test "$*" = "X"; then
1637 set X
`ls -t $srcdir/configure conftest.file`
1640 if test "$*" != "X $srcdir/configure conftest.file" \
1641 && test "$*" != "X conftest.file $srcdir/configure"; then
1643 # If neither matched, then we have a broken ls. This can happen
1644 # if, for instance, CONFIG_SHELL is bash and it inherits a
1645 # broken ls alias from the environment. This has actually
1646 # happened. Such a system could not be considered "sane".
1647 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1648 alias in your environment" >&5
1649 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1650 alias in your environment" >&2;}
1651 { (exit 1); exit 1; }; }
1654 test "$2" = conftest.
file
1660 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1661 Check your system clock" >&5
1662 echo "$as_me: error: newly created file is older than distributed files!
1663 Check your system clock" >&2;}
1664 { (exit 1); exit 1; }; }
1666 echo "$as_me:$LINENO: result: yes" >&5
1667 echo "${ECHO_T}yes" >&6
1668 test "$program_prefix" != NONE
&&
1669 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1670 # Use a double $ so make ignores it.
1671 test "$program_suffix" != NONE
&&
1672 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1673 # Double any \ or $. echo might interpret backslashes.
1674 # By default was `s,x,x', remove it if useless.
1675 cat <<\_ACEOF
>conftest.
sed
1676 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1678 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1681 # expand $ac_aux_dir to an absolute path
1682 am_aux_dir
=`cd $ac_aux_dir && pwd`
1684 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1685 # Use eval to expand $SHELL
1686 if eval "$MISSING --run true"; then
1687 am_missing_run
="$MISSING --run "
1690 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1691 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1694 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1695 # We used to keeping the `.' as first argument, in order to
1696 # allow $(mkdir_p) to be used without argument. As in
1697 # $(mkdir_p) $(somedir)
1698 # where $(somedir) is conditionally defined. However this is wrong
1700 # 1. if the package is installed by a user who cannot write `.'
1701 # make install will fail,
1702 # 2. the above comment should most certainly read
1703 # $(mkdir_p) $(DESTDIR)$(somedir)
1704 # so it does not work when $(somedir) is undefined and
1705 # $(DESTDIR) is not.
1706 # To support the latter case, we have to write
1707 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1708 # so the `.' trick is pointless.
1709 mkdir_p
='mkdir -p --'
1711 # On NextStep and OpenStep, the `mkdir' command does not
1712 # recognize any option. It will interpret all options as
1713 # directories to create, and then abort because `.' already
1715 for d
in .
/-p .
/--version;
1717 test -d $d && rmdir $d
1719 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1720 if test -f "$ac_aux_dir/mkinstalldirs"; then
1721 mkdir_p
='$(mkinstalldirs)'
1723 mkdir_p
='$(install_sh) -d'
1727 for ac_prog
in gawk mawk nawk
awk
1729 # Extract the first word of "$ac_prog", so it can be a program name with args.
1730 set dummy
$ac_prog; ac_word
=$2
1731 echo "$as_me:$LINENO: checking for $ac_word" >&5
1732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1733 if test "${ac_cv_prog_AWK+set}" = set; then
1734 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 if test -n "$AWK"; then
1737 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir
=.
1744 for ac_exec_ext
in '' $ac_executable_extensions; do
1745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1746 ac_cv_prog_AWK
="$ac_prog"
1747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1756 if test -n "$AWK"; then
1757 echo "$as_me:$LINENO: result: $AWK" >&5
1758 echo "${ECHO_T}$AWK" >&6
1760 echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6
1764 test -n "$AWK" && break
1767 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1768 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1769 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1770 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 cat >conftest.
make <<\_ACEOF
1775 @
echo 'ac_maketemp="$(MAKE)"'
1777 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1778 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1779 if test -n "$ac_maketemp"; then
1780 eval ac_cv_prog_make_
${ac_make}_set
=yes
1782 eval ac_cv_prog_make_
${ac_make}_set
=no
1786 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1787 echo "$as_me:$LINENO: result: yes" >&5
1788 echo "${ECHO_T}yes" >&6
1791 echo "$as_me:$LINENO: result: no" >&5
1792 echo "${ECHO_T}no" >&6
1793 SET_MAKE
="MAKE=${MAKE-make}"
1796 rm -rf .tst
2>/dev
/null
1797 mkdir .tst
2>/dev
/null
1798 if test -d .tst
; then
1803 rmdir .tst
2>/dev
/null
1805 # test to see if srcdir already configured
1806 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1807 test -f $srcdir/config.status
; then
1808 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1809 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1810 { (exit 1); exit 1; }; }
1813 # test whether we have cygpath
1814 if test -z "$CYGPATH_W"; then
1815 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1816 CYGPATH_W
='cygpath -w'
1823 # Define the identity of the package.
1828 # Some tools Automake needs.
1830 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1833 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1836 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1839 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1842 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1844 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1846 # Installed binaries are usually stripped using `strip' when the user
1847 # run `make install-strip'. However `strip' might not be the right
1848 # tool to use in cross-compilation environments, therefore Automake
1849 # will honor the `STRIP' environment variable to overrule this program.
1850 if test "$cross_compiling" != no
; then
1851 if test -n "$ac_tool_prefix"; then
1852 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1853 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1854 echo "$as_me:$LINENO: checking for $ac_word" >&5
1855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1856 if test "${ac_cv_prog_STRIP+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 if test -n "$STRIP"; then
1860 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1866 test -z "$as_dir" && as_dir
=.
1867 for ac_exec_ext
in '' $ac_executable_extensions; do
1868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1869 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1878 STRIP
=$ac_cv_prog_STRIP
1879 if test -n "$STRIP"; then
1880 echo "$as_me:$LINENO: result: $STRIP" >&5
1881 echo "${ECHO_T}$STRIP" >&6
1883 echo "$as_me:$LINENO: result: no" >&5
1884 echo "${ECHO_T}no" >&6
1888 if test -z "$ac_cv_prog_STRIP"; then
1890 # Extract the first word of "strip", so it can be a program name with args.
1891 set dummy strip
; ac_word
=$2
1892 echo "$as_me:$LINENO: checking for $ac_word" >&5
1893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1894 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1897 if test -n "$ac_ct_STRIP"; then
1898 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1904 test -z "$as_dir" && as_dir
=.
1905 for ac_exec_ext
in '' $ac_executable_extensions; do
1906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1907 ac_cv_prog_ac_ct_STRIP
="strip"
1908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1917 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1918 if test -n "$ac_ct_STRIP"; then
1919 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1920 echo "${ECHO_T}$ac_ct_STRIP" >&6
1922 echo "$as_me:$LINENO: result: no" >&5
1923 echo "${ECHO_T}no" >&6
1928 STRIP
="$ac_cv_prog_STRIP"
1932 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1934 # We need awk for the "check" target. The system "awk" is bad on
1936 # Always define AMTAR for backward compatibility.
1938 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1940 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1946 LPATH
="$PATH:/usr/local/bin"
1947 ac_config_headers
="$ac_config_headers config.h"
1951 ac_cpp
='$CPP $CPPFLAGS'
1952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1955 if test -n "$ac_tool_prefix"; then
1956 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1957 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1958 echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1960 if test "${ac_cv_prog_CC+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1963 if test -n "$CC"; then
1964 ac_cv_prog_CC
="$CC" # Let the user override the test.
1966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir
=.
1971 for ac_exec_ext
in '' $ac_executable_extensions; do
1972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1973 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 if test -n "$CC"; then
1984 echo "$as_me:$LINENO: result: $CC" >&5
1985 echo "${ECHO_T}$CC" >&6
1987 echo "$as_me:$LINENO: result: no" >&5
1988 echo "${ECHO_T}no" >&6
1992 if test -z "$ac_cv_prog_CC"; then
1994 # Extract the first word of "gcc", so it can be a program name with args.
1995 set dummy gcc
; ac_word
=$2
1996 echo "$as_me:$LINENO: checking for $ac_word" >&5
1997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1998 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 if test -n "$ac_ct_CC"; then
2002 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2008 test -z "$as_dir" && as_dir
=.
2009 for ac_exec_ext
in '' $ac_executable_extensions; do
2010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2011 ac_cv_prog_ac_ct_CC
="gcc"
2012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2020 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2021 if test -n "$ac_ct_CC"; then
2022 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2023 echo "${ECHO_T}$ac_ct_CC" >&6
2025 echo "$as_me:$LINENO: result: no" >&5
2026 echo "${ECHO_T}no" >&6
2034 if test -z "$CC"; then
2035 if test -n "$ac_tool_prefix"; then
2036 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2037 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2038 echo "$as_me:$LINENO: checking for $ac_word" >&5
2039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2040 if test "${ac_cv_prog_CC+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 if test -n "$CC"; then
2044 ac_cv_prog_CC
="$CC" # Let the user override the test.
2046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2050 test -z "$as_dir" && as_dir
=.
2051 for ac_exec_ext
in '' $ac_executable_extensions; do
2052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2053 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 if test -n "$CC"; then
2064 echo "$as_me:$LINENO: result: $CC" >&5
2065 echo "${ECHO_T}$CC" >&6
2067 echo "$as_me:$LINENO: result: no" >&5
2068 echo "${ECHO_T}no" >&6
2072 if test -z "$ac_cv_prog_CC"; then
2074 # Extract the first word of "cc", so it can be a program name with args.
2075 set dummy cc
; ac_word
=$2
2076 echo "$as_me:$LINENO: checking for $ac_word" >&5
2077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2078 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2079 echo $ECHO_N "(cached) $ECHO_C" >&6
2081 if test -n "$ac_ct_CC"; then
2082 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2088 test -z "$as_dir" && as_dir
=.
2089 for ac_exec_ext
in '' $ac_executable_extensions; do
2090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2091 ac_cv_prog_ac_ct_CC
="cc"
2092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2101 if test -n "$ac_ct_CC"; then
2102 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2103 echo "${ECHO_T}$ac_ct_CC" >&6
2105 echo "$as_me:$LINENO: result: no" >&5
2106 echo "${ECHO_T}no" >&6
2115 if test -z "$CC"; then
2116 # Extract the first word of "cc", so it can be a program name with args.
2117 set dummy cc
; ac_word
=$2
2118 echo "$as_me:$LINENO: checking for $ac_word" >&5
2119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2120 if test "${ac_cv_prog_CC+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 if test -n "$CC"; then
2124 ac_cv_prog_CC
="$CC" # Let the user override the test.
2127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir
=.
2132 for ac_exec_ext
in '' $ac_executable_extensions; do
2133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2135 ac_prog_rejected
=yes
2139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 if test $ac_prog_rejected = yes; then
2146 # We found a bogon in the path, so make sure we never use it.
2147 set dummy
$ac_cv_prog_CC
2149 if test $# != 0; then
2150 # We chose a different compiler from the bogus one.
2151 # However, it has the same basename, so the bogon will be chosen
2152 # first if we set CC to just the basename; use the full file name.
2154 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2160 if test -n "$CC"; then
2161 echo "$as_me:$LINENO: result: $CC" >&5
2162 echo "${ECHO_T}$CC" >&6
2164 echo "$as_me:$LINENO: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2169 if test -z "$CC"; then
2170 if test -n "$ac_tool_prefix"; then
2173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2174 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2175 echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2177 if test "${ac_cv_prog_CC+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 if test -n "$CC"; then
2181 ac_cv_prog_CC
="$CC" # Let the user override the test.
2183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir
=.
2188 for ac_exec_ext
in '' $ac_executable_extensions; do
2189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2190 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200 if test -n "$CC"; then
2201 echo "$as_me:$LINENO: result: $CC" >&5
2202 echo "${ECHO_T}$CC" >&6
2204 echo "$as_me:$LINENO: result: no" >&5
2205 echo "${ECHO_T}no" >&6
2208 test -n "$CC" && break
2211 if test -z "$CC"; then
2215 # Extract the first word of "$ac_prog", so it can be a program name with args.
2216 set dummy
$ac_prog; ac_word
=$2
2217 echo "$as_me:$LINENO: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2219 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 if test -n "$ac_ct_CC"; then
2223 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir
=.
2230 for ac_exec_ext
in '' $ac_executable_extensions; do
2231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2232 ac_cv_prog_ac_ct_CC
="$ac_prog"
2233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2242 if test -n "$ac_ct_CC"; then
2243 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2244 echo "${ECHO_T}$ac_ct_CC" >&6
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2250 test -n "$ac_ct_CC" && break
2259 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2260 See \`config.log' for more details." >&5
2261 echo "$as_me: error: no acceptable C compiler found in \$PATH
2262 See \`config.log' for more details." >&2;}
2263 { (exit 1); exit 1; }; }
2265 # Provide some information about the compiler.
2266 echo "$as_me:$LINENO:" \
2267 "checking for C compiler version" >&5
2268 ac_compiler
=`set X $ac_compile; echo $2`
2269 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2270 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }
2274 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2275 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }
2279 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2280 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }
2285 cat >conftest.
$ac_ext <<_ACEOF
2288 cat confdefs.h
>>conftest.
$ac_ext
2289 cat >>conftest.
$ac_ext <<_ACEOF
2290 /* end confdefs.h. */
2300 ac_clean_files_save
=$ac_clean_files
2301 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2302 # Try to create an executable without -o first, disregard a.out.
2303 # It will help us diagnose broken compilers, and finding out an intuition
2305 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2306 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2307 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2308 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2309 (eval $ac_link_default) 2>&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; then
2313 # Find the output, starting from the most likely. This scheme is
2314 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2317 # Be careful to initialize this variable, since it used to be cached.
2318 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2320 # b.out is created by i960 compilers.
2321 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2323 test -f "$ac_file" ||
continue
2325 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2328 # This is the source file.
2331 # We found the default executable, but exeext='' is most
2335 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2336 # FIXME: I believe we export ac_cv_exeext for Libtool,
2337 # but it would be cool to find out if it's true. Does anybody
2338 # maintain Libtool? --akim.
2346 echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.
$ac_ext >&5
2349 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2350 See \`config.log' for more details." >&5
2351 echo "$as_me: error: C compiler cannot create executables
2352 See \`config.log' for more details." >&2;}
2353 { (exit 77); exit 77; }; }
2356 ac_exeext
=$ac_cv_exeext
2357 echo "$as_me:$LINENO: result: $ac_file" >&5
2358 echo "${ECHO_T}$ac_file" >&6
2360 # Check the compiler produces executables we can run. If not, either
2361 # the compiler is broken, or we cross compile.
2362 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2363 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2364 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2365 # If not cross compiling, check that we can run a simple program.
2366 if test "$cross_compiling" != yes; then
2367 if { ac_try
='./$ac_file'
2368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; }; then
2375 if test "$cross_compiling" = maybe
; then
2378 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2379 If you meant to cross compile, use \`--host'.
2380 See \`config.log' for more details." >&5
2381 echo "$as_me: error: cannot run C compiled programs.
2382 If you meant to cross compile, use \`--host'.
2383 See \`config.log' for more details." >&2;}
2384 { (exit 1); exit 1; }; }
2388 echo "$as_me:$LINENO: result: yes" >&5
2389 echo "${ECHO_T}yes" >&6
2391 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2392 ac_clean_files
=$ac_clean_files_save
2393 # Check the compiler produces executables we can run. If not, either
2394 # the compiler is broken, or we cross compile.
2395 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2396 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2397 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2398 echo "${ECHO_T}$cross_compiling" >&6
2400 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2401 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2403 (eval $ac_link) 2>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; then
2407 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2408 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2409 # work properly (i.e., refer to `conftest.exe'), while it won't with
2411 for ac_file
in conftest.exe conftest conftest.
*; do
2412 test -f "$ac_file" ||
continue
2414 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2415 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2422 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2423 See \`config.log' for more details." >&5
2424 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2425 See \`config.log' for more details." >&2;}
2426 { (exit 1); exit 1; }; }
2429 rm -f conftest
$ac_cv_exeext
2430 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2431 echo "${ECHO_T}$ac_cv_exeext" >&6
2433 rm -f conftest.
$ac_ext
2434 EXEEXT
=$ac_cv_exeext
2436 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2437 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2438 if test "${ac_cv_objext+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 cat >conftest.
$ac_ext <<_ACEOF
2444 cat confdefs.h
>>conftest.
$ac_ext
2445 cat >>conftest.
$ac_ext <<_ACEOF
2446 /* end confdefs.h. */
2456 rm -f conftest.o conftest.obj
2457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2458 (eval $ac_compile) 2>&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; then
2462 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2464 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2465 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2470 echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.
$ac_ext >&5
2473 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2474 See \`config.log' for more details." >&5
2475 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2476 See \`config.log' for more details." >&2;}
2477 { (exit 1); exit 1; }; }
2480 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2482 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2483 echo "${ECHO_T}$ac_cv_objext" >&6
2484 OBJEXT
=$ac_cv_objext
2486 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2487 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2488 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 cat >conftest.
$ac_ext <<_ACEOF
2494 cat confdefs.h
>>conftest.
$ac_ext
2495 cat >>conftest.
$ac_ext <<_ACEOF
2496 /* end confdefs.h. */
2509 rm -f conftest.
$ac_objext
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>conftest.er1
2513 grep -v '^ *+' conftest.er1
>conftest.err
2515 cat conftest.err
>&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); } &&
2518 { ac_try
='test -z "$ac_c_werror_flag"
2519 || test ! -s conftest.err'
2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; } &&
2525 { ac_try
='test -s conftest.$ac_objext'
2526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }; }; then
2533 echo "$as_me: failed program was:" >&5
2534 sed 's/^/| /' conftest.
$ac_ext >&5
2538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2539 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2542 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2543 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2544 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2545 ac_test_CFLAGS
=${CFLAGS+set}
2546 ac_save_CFLAGS
=$CFLAGS
2548 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2549 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2550 if test "${ac_cv_prog_cc_g+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 cat >conftest.
$ac_ext <<_ACEOF
2556 cat confdefs.h
>>conftest.
$ac_ext
2557 cat >>conftest.
$ac_ext <<_ACEOF
2558 /* end confdefs.h. */
2568 rm -f conftest.
$ac_objext
2569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2570 (eval $ac_compile) 2>conftest.er1
2572 grep -v '^ *+' conftest.er1
>conftest.err
2574 cat conftest.err
>&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); } &&
2577 { ac_try
='test -z "$ac_c_werror_flag"
2578 || test ! -s conftest.err'
2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; } &&
2584 { ac_try
='test -s conftest.$ac_objext'
2585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }; }; then
2592 echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.
$ac_ext >&5
2597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2599 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2600 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2601 if test "$ac_test_CFLAGS" = set; then
2602 CFLAGS
=$ac_save_CFLAGS
2603 elif test $ac_cv_prog_cc_g = yes; then
2604 if test "$GCC" = yes; then
2610 if test "$GCC" = yes; then
2616 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2617 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2618 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2619 echo $ECHO_N "(cached) $ECHO_C" >&6
2621 ac_cv_prog_cc_stdc
=no
2623 cat >conftest.
$ac_ext <<_ACEOF
2626 cat confdefs.h
>>conftest.
$ac_ext
2627 cat >>conftest.
$ac_ext <<_ACEOF
2628 /* end confdefs.h. */
2631 #include <sys/types.h>
2632 #include <sys/stat.h>
2633 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2634 struct buf { int x; };
2635 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2636 static char *e (p, i)
2642 static char *f (char * (*g) (char **, int), char **p, ...)
2647 s = g (p, va_arg (v,int));
2652 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2653 function prototypes and stuff, but not '\xHH' hex character constants.
2654 These don't provoke an error unfortunately, instead are silently treated
2655 as 'x'. The following induces an error, until -std1 is added to get
2656 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2657 array size at least. It's necessary to write '\x00'==0 to get something
2658 that's true only with -std1. */
2659 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2661 int test (int i, double x);
2662 struct s1 {int (*f) (int a);};
2663 struct s2 {int (*f) (double a);};
2664 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2670 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2675 # Don't try gcc -ansi; that turns off useful extensions and
2676 # breaks some systems' header files.
2677 # AIX -qlanglvl=ansi
2678 # Ultrix and OSF/1 -std1
2679 # HP-UX 10.20 and later -Ae
2680 # HP-UX older versions -Aa -D_HPUX_SOURCE
2681 # SVR4 -Xc -D__EXTENSIONS__
2682 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2684 CC
="$ac_save_CC $ac_arg"
2685 rm -f conftest.
$ac_objext
2686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2687 (eval $ac_compile) 2>conftest.er1
2689 grep -v '^ *+' conftest.er1
>conftest.err
2691 cat conftest.err
>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); } &&
2694 { ac_try
='test -z "$ac_c_werror_flag"
2695 || test ! -s conftest.err'
2696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; } &&
2701 { ac_try
='test -s conftest.$ac_objext'
2702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; }; then
2707 ac_cv_prog_cc_stdc
=$ac_arg
2710 echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.
$ac_ext >&5
2714 rm -f conftest.err conftest.
$ac_objext
2716 rm -f conftest.
$ac_ext conftest.
$ac_objext
2721 case "x$ac_cv_prog_cc_stdc" in
2723 echo "$as_me:$LINENO: result: none needed" >&5
2724 echo "${ECHO_T}none needed" >&6 ;;
2726 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2727 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2728 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2731 # Some people use a C++ compiler to compile C. Since we use `exit',
2732 # in C++ we need to declare it. In case someone uses the same compiler
2733 # for both compiling C and C++ we need to have the C++ compiler decide
2734 # the declaration of exit, since it's the most demanding environment.
2735 cat >conftest.
$ac_ext <<_ACEOF
2740 rm -f conftest.
$ac_objext
2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2742 (eval $ac_compile) 2>conftest.er1
2744 grep -v '^ *+' conftest.er1
>conftest.err
2746 cat conftest.err
>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } &&
2749 { ac_try
='test -z "$ac_c_werror_flag"
2750 || test ! -s conftest.err'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; } &&
2756 { ac_try
='test -s conftest.$ac_objext'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2762 for ac_declaration
in \
2764 'extern "C" void std::exit (int) throw (); using std::exit;' \
2765 'extern "C" void std::exit (int); using std::exit;' \
2766 'extern "C" void exit (int) throw ();' \
2767 'extern "C" void exit (int);' \
2770 cat >conftest.
$ac_ext <<_ACEOF
2773 cat confdefs.h
>>conftest.
$ac_ext
2774 cat >>conftest.
$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2786 rm -f conftest.
$ac_objext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2788 (eval $ac_compile) 2>conftest.er1
2790 grep -v '^ *+' conftest.er1
>conftest.err
2792 cat conftest.err
>&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); } &&
2795 { ac_try
='test -z "$ac_c_werror_flag"
2796 || test ! -s conftest.err'
2797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }; } &&
2802 { ac_try
='test -s conftest.$ac_objext'
2803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); }; }; then
2810 echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.
$ac_ext >&5
2815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2816 cat >conftest.
$ac_ext <<_ACEOF
2819 cat confdefs.h
>>conftest.
$ac_ext
2820 cat >>conftest.
$ac_ext <<_ACEOF
2821 /* end confdefs.h. */
2831 rm -f conftest.
$ac_objext
2832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2833 (eval $ac_compile) 2>conftest.er1
2835 grep -v '^ *+' conftest.er1
>conftest.err
2837 cat conftest.err
>&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } &&
2840 { ac_try
='test -z "$ac_c_werror_flag"
2841 || test ! -s conftest.err'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; } &&
2847 { ac_try
='test -s conftest.$ac_objext'
2848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; }; then
2855 echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.
$ac_ext >&5
2859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2862 if test -n "$ac_declaration"; then
2863 echo '#ifdef __cplusplus' >>confdefs.h
2864 echo $ac_declaration >>confdefs.h
2865 echo '#endif' >>confdefs.h
2869 echo "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.
$ac_ext >&5
2873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2875 ac_cpp
='$CPP $CPPFLAGS'
2876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2879 DEPDIR
="${am__leading_dot}deps"
2881 ac_config_commands
="$ac_config_commands depfiles"
2884 am_make
=${MAKE-make}
2885 cat > confinc
<< 'END'
2890 # If we don't find an include directive, just comment out the code.
2891 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2892 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2896 # First try GNU make style include.
2897 echo "include confinc" > confmf
2898 # We grep out `Entering directory' and `Leaving directory'
2899 # messages which can occur if `w' ends up in MAKEFLAGS.
2900 # In particular we don't look at `^make:' because GNU make might
2901 # be invoked under some other name (usually "gmake"), in which
2902 # case it prints its new name instead of `make'.
2903 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2908 # Now try BSD make style include.
2909 if test "$am__include" = "#"; then
2910 echo '.include "confinc"' > confmf
2911 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2912 am__include
=.include
2919 echo "$as_me:$LINENO: result: $_am_result" >&5
2920 echo "${ECHO_T}$_am_result" >&6
2921 rm -f confinc confmf
2923 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2924 if test "${enable_dependency_tracking+set}" = set; then
2925 enableval
="$enable_dependency_tracking"
2928 if test "x$enable_dependency_tracking" != xno
; then
2929 am_depcomp
="$ac_aux_dir/depcomp"
2934 if test "x$enable_dependency_tracking" != xno; then
2945 depcc
="$CC" am_compiler_list
=
2947 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2948 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2949 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2950 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2953 # We make a subdir and do the tests there. Otherwise we can end up
2954 # making bogus files that we don't know about and never remove. For
2955 # instance it was reported that on HP-UX the gcc test will end up
2956 # making a dummy file named `D' -- because `-MD' means `put the output
2959 # Copy depcomp to subdir because otherwise we won't find it if we're
2960 # using a relative directory.
2961 cp "$am_depcomp" conftest.dir
2963 # We will build objects and dependencies in a subdirectory because
2964 # it helps to detect inapplicable dependency modes. For instance
2965 # both Tru64's cc and ICC support -MD to output dependencies as a
2966 # side effect of compilation, but ICC will put the dependencies in
2967 # the current directory while Tru64 will put them in the object
2971 am_cv_CC_dependencies_compiler_type
=none
2972 if test "$am_compiler_list" = ""; then
2973 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2975 for depmode
in $am_compiler_list; do
2976 # Setup a source with many dependencies, because some compilers
2977 # like to wrap large dependency lists on column 80 (with \), and
2978 # we should not choose a depcomp mode which is confused by this.
2980 # We need to recreate these files for each test, as the compiler may
2981 # overwrite some of them when testing with obscure command lines.
2982 # This happens at least with the AIX C compiler.
2984 for i
in 1 2 3 4 5 6; do
2985 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2986 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2987 # Solaris 8's {/usr,}/bin/sh.
2988 touch sub
/conftst
$i.h
2990 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2994 # after this tag, mechanisms are not by side-effect, so they'll
2995 # only be used when explicitly requested
2996 if test "x$enable_dependency_tracking" = xyes
; then
3004 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3005 # mode. It turns out that the SunPro C++ compiler does not properly
3006 # handle `-M -o', and we need to detect this.
3007 if depmode
=$depmode \
3008 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3009 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3010 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3011 >/dev
/null
2>conftest.err
&&
3012 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3013 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3014 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3015 # icc doesn't choke on unknown options, it will just issue warnings
3016 # or remarks (even with -Werror). So we grep stderr for any message
3017 # that says an option was ignored or not supported.
3018 # When given -MP, icc 7.0 and 7.1 complain thusly:
3019 # icc: Command line warning: ignoring option '-M'; no argument required
3020 # The diagnosis changed in icc 8.0:
3021 # icc: Command line remark: option '-MP' not supported
3022 if (grep 'ignoring option' conftest.err ||
3023 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3024 am_cv_CC_dependencies_compiler_type
=$depmode
3033 am_cv_CC_dependencies_compiler_type
=none
3037 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3038 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3039 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3044 test "x$enable_dependency_tracking" != xno \
3045 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3047 am__fastdepCC_FALSE
='#'
3049 am__fastdepCC_TRUE
='#'
3050 am__fastdepCC_FALSE
=
3054 # Find a good install program. We prefer a C program (faster),
3055 # so one script is as good as another. But avoid the broken or
3056 # incompatible versions:
3057 # SysV /etc/install, /usr/sbin/install
3058 # SunOS /usr/etc/install
3059 # IRIX /sbin/install
3061 # AmigaOS /C/install, which installs bootblocks on floppy discs
3062 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3063 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3064 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3065 # OS/2's system install, which has a completely different semantic
3066 # ./install, which can be erroneously created by make from ./install.sh.
3067 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3068 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3069 if test -z "$INSTALL"; then
3070 if test "${ac_cv_path_install+set}" = set; then
3071 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3077 test -z "$as_dir" && as_dir
=.
3078 # Account for people who put trailing slashes in PATH elements.
3080 .
/ | .
// |
/cC
/* | \
3081 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3082 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3085 # OSF1 and SCO ODT 3.0 have their own names for install.
3086 # Don't use installbsd from OSF since it installs stuff as root
3088 for ac_prog
in ginstall scoinst
install; do
3089 for ac_exec_ext
in '' $ac_executable_extensions; do
3090 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3091 if test $ac_prog = install &&
3092 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3093 # AIX install. It has an incompatible calling convention.
3095 elif test $ac_prog = install &&
3096 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3097 # program-specific install script used by HP pwplus--don't use.
3100 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3112 if test "${ac_cv_path_install+set}" = set; then
3113 INSTALL
=$ac_cv_path_install
3115 # As a last resort, use the slow shell script. We don't cache a
3116 # path for INSTALL within a source directory, because that will
3117 # break other packages using the cache if that directory is
3118 # removed, or if the path is relative.
3119 INSTALL
=$ac_install_sh
3122 echo "$as_me:$LINENO: result: $INSTALL" >&5
3123 echo "${ECHO_T}$INSTALL" >&6
3125 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3126 # It thinks the first close brace ends the variable substitution.
3127 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3129 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3131 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3133 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3134 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3136 if test "$LN_S" = "ln -s"; then
3137 echo "$as_me:$LINENO: result: yes" >&5
3138 echo "${ECHO_T}yes" >&6
3140 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3141 echo "${ECHO_T}no, using $LN_S" >&6
3144 for ac_prog
in perl5 perl
3146 # Extract the first word of "$ac_prog", so it can be a program name with args.
3147 set dummy
$ac_prog; ac_word
=$2
3148 echo "$as_me:$LINENO: checking for $ac_word" >&5
3149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3150 if test "${ac_cv_path_PERL+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3155 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 for as_dir
in $LPATH
3162 test -z "$as_dir" && as_dir
=.
3163 for ac_exec_ext
in '' $ac_executable_extensions; do
3164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3165 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3175 PERL
=$ac_cv_path_PERL
3177 if test -n "$PERL"; then
3178 echo "$as_me:$LINENO: result: $PERL" >&5
3179 echo "${ECHO_T}$PERL" >&6
3181 echo "$as_me:$LINENO: result: no" >&5
3182 echo "${ECHO_T}no" >&6
3185 test -n "$PERL" && break
3187 test -n "$PERL" || PERL
="perl"
3192 # Extract the first word of "$ac_prog", so it can be a program name with args.
3193 set dummy
$ac_prog; ac_word
=$2
3194 echo "$as_me:$LINENO: checking for $ac_word" >&5
3195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3196 if test "${ac_cv_path_CAT+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3201 ac_cv_path_CAT
="$CAT" # Let the user override the test with a path.
3204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3208 test -z "$as_dir" && as_dir
=.
3209 for ac_exec_ext
in '' $ac_executable_extensions; do
3210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3211 ac_cv_path_CAT
="$as_dir/$ac_word$ac_exec_ext"
3212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 if test -n "$CAT"; then
3224 echo "$as_me:$LINENO: result: $CAT" >&5
3225 echo "${ECHO_T}$CAT" >&6
3227 echo "$as_me:$LINENO: result: no" >&5
3228 echo "${ECHO_T}no" >&6
3231 test -n "$CAT" && break
3233 test -n "$CAT" || CAT
="cat"
3237 # Check whether --enable-shared or --disable-shared was given.
3238 if test "${enable_shared+set}" = set; then
3239 enableval
="$enable_shared"
3240 p
=${PACKAGE-default}
3242 yes) enable_shared
=yes ;;
3243 no
) enable_shared
=no
;;
3246 # Look at the argument we got. We use all the common list separators.
3247 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3248 for pkg
in $enableval; do
3250 if test "X$pkg" = "X$p"; then
3261 # Check whether --enable-static or --disable-static was given.
3262 if test "${enable_static+set}" = set; then
3263 enableval
="$enable_static"
3264 p
=${PACKAGE-default}
3266 yes) enable_static
=yes ;;
3267 no
) enable_static
=no
;;
3270 # Look at the argument we got. We use all the common list separators.
3271 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3272 for pkg
in $enableval; do
3274 if test "X$pkg" = "X$p"; then
3285 # Check whether --enable-fast-install or --disable-fast-install was given.
3286 if test "${enable_fast_install+set}" = set; then
3287 enableval
="$enable_fast_install"
3288 p
=${PACKAGE-default}
3290 yes) enable_fast_install
=yes ;;
3291 no
) enable_fast_install
=no
;;
3293 enable_fast_install
=no
3294 # Look at the argument we got. We use all the common list separators.
3295 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3296 for pkg
in $enableval; do
3298 if test "X$pkg" = "X$p"; then
3299 enable_fast_install
=yes
3306 enable_fast_install
=yes
3309 # Make sure we can run config.sub.
3310 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3311 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3312 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3313 { (exit 1); exit 1; }; }
3315 echo "$as_me:$LINENO: checking build system type" >&5
3316 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3317 if test "${ac_cv_build+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 ac_cv_build_alias
=$build_alias
3321 test -z "$ac_cv_build_alias" &&
3322 ac_cv_build_alias
=`$ac_config_guess`
3323 test -z "$ac_cv_build_alias" &&
3324 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3325 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3326 { (exit 1); exit 1; }; }
3327 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3328 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3329 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3330 { (exit 1); exit 1; }; }
3333 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3334 echo "${ECHO_T}$ac_cv_build" >&6
3336 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3337 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3338 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3341 echo "$as_me:$LINENO: checking host system type" >&5
3342 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3343 if test "${ac_cv_host+set}" = set; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 ac_cv_host_alias
=$host_alias
3347 test -z "$ac_cv_host_alias" &&
3348 ac_cv_host_alias
=$ac_cv_build_alias
3349 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3350 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3351 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3352 { (exit 1); exit 1; }; }
3355 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3356 echo "${ECHO_T}$ac_cv_host" >&6
3358 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3359 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3360 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3363 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3364 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3365 if test "${lt_cv_path_SED+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 # Loop through the user's path and test for sed and gsed.
3369 # Then use that list of sed's as ones to test for truncation.
3370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir
=.
3375 for lt_ac_prog
in sed gsed
; do
3376 for ac_exec_ext
in '' $ac_executable_extensions; do
3377 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3378 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3386 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3387 # along with /bin/sed that truncates output.
3388 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3389 test ! -f $lt_ac_sed && continue
3390 cat /dev
/null
> conftest.
in
3392 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3393 # Check for GNU sed and select it if it is found.
3394 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3395 lt_cv_path_SED
=$lt_ac_sed
3399 cat conftest.
in conftest.
in >conftest.tmp
3400 mv conftest.tmp conftest.
in
3401 cp conftest.
in conftest.
nl
3403 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3404 cmp -s conftest.out conftest.
nl ||
break
3405 # 10000 chars as input seems more than enough
3406 test $lt_ac_count -gt 10 && break
3407 lt_ac_count
=`expr $lt_ac_count + 1`
3408 if test $lt_ac_count -gt $lt_ac_max; then
3409 lt_ac_max
=$lt_ac_count
3410 lt_cv_path_SED
=$lt_ac_sed
3419 echo "$as_me:$LINENO: result: $SED" >&5
3420 echo "${ECHO_T}$SED" >&6
3422 echo "$as_me:$LINENO: checking for egrep" >&5
3423 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3424 if test "${ac_cv_prog_egrep+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3428 then ac_cv_prog_egrep
='grep -E'
3429 else ac_cv_prog_egrep
='egrep'
3432 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3433 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3434 EGREP
=$ac_cv_prog_egrep
3438 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3439 if test "${with_gnu_ld+set}" = set; then
3440 withval
="$with_gnu_ld"
3441 test "$withval" = no || with_gnu_ld
=yes
3446 if test "$GCC" = yes; then
3447 # Check if gcc -print-prog-name=ld gives a path.
3448 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3449 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3452 # gcc leaves a trailing carriage return which upsets mingw
3453 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3455 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3458 # Accept absolute paths.
3460 re_direlt
='/[^/][^/]*/\.\./'
3461 # Canonicalize the pathname of ld
3462 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3463 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3464 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3466 test -z "$LD" && LD
="$ac_prog"
3469 # If it fails, then pretend we aren't using GCC.
3473 # If it is relative, then search for the first ld in PATH.
3477 elif test "$with_gnu_ld" = yes; then
3478 echo "$as_me:$LINENO: checking for GNU ld" >&5
3479 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3481 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3482 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3484 if test "${lt_cv_path_LD+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 if test -z "$LD"; then
3488 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3489 for ac_dir
in $PATH; do
3491 test -z "$ac_dir" && ac_dir
=.
3492 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3493 lt_cv_path_LD
="$ac_dir/$ac_prog"
3494 # Check to see if the program is GNU ld. I'd rather use --version,
3495 # but apparently some variants of GNU ld only accept -v.
3496 # Break only if it was the GNU/non-GNU ld that we prefer.
3497 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3498 *GNU
* |
*'with BFD'*)
3499 test "$with_gnu_ld" != no
&& break
3502 test "$with_gnu_ld" != yes && break
3509 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3514 if test -n "$LD"; then
3515 echo "$as_me:$LINENO: result: $LD" >&5
3516 echo "${ECHO_T}$LD" >&6
3518 echo "$as_me:$LINENO: result: no" >&5
3519 echo "${ECHO_T}no" >&6
3521 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3522 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3523 { (exit 1); exit 1; }; }
3524 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3525 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3526 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3530 case `$LD -v 2>&1 </dev/null` in
3531 *GNU
* |
*'with BFD'*)
3532 lt_cv_prog_gnu_ld
=yes
3535 lt_cv_prog_gnu_ld
=no
3539 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3540 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3541 with_gnu_ld
=$lt_cv_prog_gnu_ld
3544 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3545 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3546 if test "${lt_cv_ld_reload_flag+set}" = set; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3549 lt_cv_ld_reload_flag
='-r'
3551 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3552 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3553 reload_flag
=$lt_cv_ld_reload_flag
3554 case $reload_flag in
3556 *) reload_flag
=" $reload_flag" ;;
3558 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3561 if test "$GCC" = yes; then
3562 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3564 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3569 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3570 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3571 if test "${lt_cv_path_NM+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 if test -n "$NM"; then
3575 # Let the user override the test.
3578 lt_nm_to_check
="${ac_tool_prefix}nm"
3579 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3580 lt_nm_to_check
="$lt_nm_to_check nm"
3582 for lt_tmp_nm
in $lt_nm_to_check; do
3583 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3584 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3586 test -z "$ac_dir" && ac_dir
=.
3587 tmp_nm
="$ac_dir/$lt_tmp_nm"
3588 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3589 # Check to see if the nm accepts a BSD-compat flag.
3590 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3591 # nm: unknown option "B" ignored
3592 # Tru64's nm complains that /dev/null is an invalid object file
3593 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3594 */dev
/null
* |
*'Invalid file or object type'*)
3595 lt_cv_path_NM
="$tmp_nm -B"
3599 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3601 lt_cv_path_NM
="$tmp_nm -p"
3605 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3606 continue # so that we can try to find one that supports BSD flags
3615 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3618 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3619 echo "${ECHO_T}$lt_cv_path_NM" >&6
3622 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3623 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3624 if test "${lt_cv_deplibs_check_method+set}" = set; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3627 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3628 lt_cv_file_magic_test_file
=
3629 lt_cv_deplibs_check_method
='unknown'
3630 # Need to set the preceding variable on all platforms that support
3631 # interlibrary dependencies.
3632 # 'none' -- dependencies not supported.
3633 # `unknown' -- same as none, but documents that we really don't know.
3634 # 'pass_all' -- all dependencies passed with no checks.
3635 # 'test_compile' -- check by making test program.
3636 # 'file_magic [[regex]]' -- check by looking for files in library path
3637 # which responds to the $file_magic_cmd with a given extended regex.
3638 # If you have `file' or equivalent on your system and you're not sure
3639 # whether `pass_all' will *always* work, you probably want this one.
3643 lt_cv_deplibs_check_method
=pass_all
3647 lt_cv_deplibs_check_method
=pass_all
3651 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3652 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3653 lt_cv_file_magic_test_file
=/shlib
/libc.so
3657 # func_win32_libid is a shell function defined in ltmain.sh
3658 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3659 lt_cv_file_magic_cmd
='func_win32_libid'
3663 # Base MSYS/MinGW do not provide the 'file' command needed by
3664 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3665 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3666 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3669 darwin
* | rhapsody
*)
3670 lt_cv_deplibs_check_method
=pass_all
3673 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3674 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3677 # Not sure whether the presence of OpenBSD here was a mistake.
3678 # Let's accept both of them until this is cleared up.
3679 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3680 lt_cv_file_magic_cmd
=/usr
/bin
/file
3681 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3685 lt_cv_deplibs_check_method
=pass_all
3690 lt_cv_deplibs_check_method
=pass_all
3693 hpux10.20
* | hpux11
*)
3694 lt_cv_file_magic_cmd
=/usr
/bin
/file
3697 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3698 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3701 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]'
3702 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3705 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3706 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3712 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3713 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3716 irix5
* | irix6
* | nonstopux
*)
3718 *-32|
*"-32 ") libmagic
=32-bit;;
3719 *-n32|
*"-n32 ") libmagic
=N32
;;
3720 *-64|
*"-64 ") libmagic
=64-bit;;
3721 *) libmagic
=never-match
;;
3723 lt_cv_deplibs_check_method
=pass_all
3726 # This must be Linux ELF.
3728 lt_cv_deplibs_check_method
=pass_all
3732 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3733 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3735 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3740 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3741 lt_cv_file_magic_cmd
=/usr
/bin
/file
3742 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3746 lt_cv_deplibs_check_method
=unknown
3750 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3751 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3753 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3757 osf3
* | osf4
* | osf5
*)
3758 lt_cv_deplibs_check_method
=pass_all
3762 lt_cv_deplibs_check_method
=pass_all
3766 case $host_vendor in
3768 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]'
3769 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3772 lt_cv_deplibs_check_method
=pass_all
3775 lt_cv_file_magic_cmd
='/bin/file'
3776 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3779 lt_cv_file_magic_cmd
='/bin/file'
3780 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3781 lt_cv_file_magic_test_file
=/lib
/libc.so
3784 lt_cv_deplibs_check_method
=pass_all
3787 lt_cv_deplibs_check_method
=pass_all
3792 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3793 lt_cv_deplibs_check_method
=pass_all
3798 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3799 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3800 file_magic_cmd
=$lt_cv_file_magic_cmd
3801 deplibs_check_method
=$lt_cv_deplibs_check_method
3802 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3807 # If no C compiler was specified, use CC.
3810 # If no C compiler flags were specified, use CFLAGS.
3811 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3813 # Allow CC to be a program name with arguments.
3817 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3818 if test "${enable_libtool_lock+set}" = set; then
3819 enableval
="$enable_libtool_lock"
3822 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3824 # Some flags need to be propagated to the compiler or linker for good
3828 # Find out which ABI we are using.
3829 echo 'int i;' > conftest.
$ac_ext
3830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3831 (eval $ac_compile) 2>&5
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); }; then
3835 case `/usr/bin/file conftest.$ac_objext` in
3847 # Find out which ABI we are using.
3848 echo '#line 3848 "configure"' > conftest.
$ac_ext
3849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3850 (eval $ac_compile) 2>&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); }; then
3854 if test "$lt_cv_prog_gnu_ld" = yes; then
3855 case `/usr/bin/file conftest.$ac_objext` in
3857 LD
="${LD-ld} -melf32bsmip"
3860 LD
="${LD-ld} -melf32bmipn32"
3863 LD
="${LD-ld} -melf64bmip"
3867 case `/usr/bin/file conftest.$ac_objext` in
3883 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3884 # Find out which ABI we are using.
3885 echo 'int i;' > conftest.
$ac_ext
3886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3887 (eval $ac_compile) 2>&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); }; then
3891 case `/usr/bin/file conftest.o` in
3895 LD
="${LD-ld} -m elf_i386"
3897 ppc64-
*linux
*|powerpc64-
*linux
*)
3898 LD
="${LD-ld} -m elf32ppclinux"
3901 LD
="${LD-ld} -m elf_s390"
3904 LD
="${LD-ld} -m elf32_sparc"
3911 LD
="${LD-ld} -m elf_x86_64"
3913 ppc
*-*linux
*|powerpc
*-*linux
*)
3914 LD
="${LD-ld} -m elf64ppc"
3917 LD
="${LD-ld} -m elf64_s390"
3920 LD
="${LD-ld} -m elf64_sparc"
3930 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3931 SAVE_CFLAGS
="$CFLAGS"
3932 CFLAGS
="$CFLAGS -belf"
3933 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3934 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3935 if test "${lt_cv_cc_needs_belf+set}" = set; then
3936 echo $ECHO_N "(cached) $ECHO_C" >&6
3939 ac_cpp
='$CPP $CPPFLAGS'
3940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3944 cat >conftest.
$ac_ext <<_ACEOF
3947 cat confdefs.h
>>conftest.
$ac_ext
3948 cat >>conftest.
$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3959 rm -f conftest.
$ac_objext conftest
$ac_exeext
3960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3961 (eval $ac_link) 2>conftest.er1
3963 grep -v '^ *+' conftest.er1
>conftest.err
3965 cat conftest.err
>&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } &&
3968 { ac_try
='test -z "$ac_c_werror_flag"
3969 || test ! -s conftest.err'
3970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); }; } &&
3975 { ac_try
='test -s conftest$ac_exeext'
3976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); }; }; then
3981 lt_cv_cc_needs_belf
=yes
3983 echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.
$ac_ext >&5
3986 lt_cv_cc_needs_belf
=no
3988 rm -f conftest.err conftest.
$ac_objext \
3989 conftest
$ac_exeext conftest.
$ac_ext
3991 ac_cpp
='$CPP $CPPFLAGS'
3992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3997 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3998 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3999 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4000 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4001 CFLAGS
="$SAVE_CFLAGS"
4005 # Find out which ABI we are using.
4006 echo 'int i;' > conftest.
$ac_ext
4007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4008 (eval $ac_compile) 2>&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); }; then
4012 case `/usr/bin/file conftest.o` in
4014 case $lt_cv_prog_gnu_ld in
4015 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
4016 *) LD
="${LD-ld} -64" ;;
4027 need_locks
="$enable_libtool_lock"
4031 ac_cpp
='$CPP $CPPFLAGS'
4032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4035 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4036 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4037 # On Suns, sometimes $CPP names a directory.
4038 if test -n "$CPP" && test -d "$CPP"; then
4041 if test -z "$CPP"; then
4042 if test "${ac_cv_prog_CPP+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 # Double quotes because CPP needs to be expanded
4046 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4049 for ac_c_preproc_warn_flag
in '' yes
4051 # Use a header file that comes with gcc, so configuring glibc
4052 # with a fresh cross-compiler works.
4053 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4054 # <limits.h> exists even on freestanding compilers.
4055 # On the NeXT, cc -E runs the code through the compiler's parser,
4056 # not just through cpp. "Syntax error" is here to catch this case.
4057 cat >conftest.
$ac_ext <<_ACEOF
4060 cat confdefs.h
>>conftest.
$ac_ext
4061 cat >>conftest.
$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4064 # include <limits.h>
4066 # include <assert.h>
4070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4071 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4073 grep -v '^ *+' conftest.er1
>conftest.err
4075 cat conftest.err
>&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); } >/dev
/null
; then
4078 if test -s conftest.err
; then
4079 ac_cpp_err
=$ac_c_preproc_warn_flag
4080 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4087 if test -z "$ac_cpp_err"; then
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.
$ac_ext >&5
4093 # Broken: fails on valid input.
4096 rm -f conftest.err conftest.
$ac_ext
4098 # OK, works on sane cases. Now check whether non-existent headers
4099 # can be detected and how.
4100 cat >conftest.
$ac_ext <<_ACEOF
4103 cat confdefs.h
>>conftest.
$ac_ext
4104 cat >>conftest.
$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4106 #include <ac_nonexistent.h>
4108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4111 grep -v '^ *+' conftest.er1
>conftest.err
4113 cat conftest.err
>&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); } >/dev
/null
; then
4116 if test -s conftest.err
; then
4117 ac_cpp_err
=$ac_c_preproc_warn_flag
4118 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4125 if test -z "$ac_cpp_err"; then
4126 # Broken: success on invalid input.
4129 echo "$as_me: failed program was:" >&5
4130 sed 's/^/| /' conftest.
$ac_ext >&5
4132 # Passes both tests.
4136 rm -f conftest.err conftest.
$ac_ext
4139 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4140 rm -f conftest.err conftest.
$ac_ext
4141 if $ac_preproc_ok; then
4153 echo "$as_me:$LINENO: result: $CPP" >&5
4154 echo "${ECHO_T}$CPP" >&6
4156 for ac_c_preproc_warn_flag
in '' yes
4158 # Use a header file that comes with gcc, so configuring glibc
4159 # with a fresh cross-compiler works.
4160 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4161 # <limits.h> exists even on freestanding compilers.
4162 # On the NeXT, cc -E runs the code through the compiler's parser,
4163 # not just through cpp. "Syntax error" is here to catch this case.
4164 cat >conftest.
$ac_ext <<_ACEOF
4167 cat confdefs.h
>>conftest.
$ac_ext
4168 cat >>conftest.
$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4171 # include <limits.h>
4173 # include <assert.h>
4177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4178 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4180 grep -v '^ *+' conftest.er1
>conftest.err
4182 cat conftest.err
>&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); } >/dev
/null
; then
4185 if test -s conftest.err
; then
4186 ac_cpp_err
=$ac_c_preproc_warn_flag
4187 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4194 if test -z "$ac_cpp_err"; then
4197 echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.
$ac_ext >&5
4200 # Broken: fails on valid input.
4203 rm -f conftest.err conftest.
$ac_ext
4205 # OK, works on sane cases. Now check whether non-existent headers
4206 # can be detected and how.
4207 cat >conftest.
$ac_ext <<_ACEOF
4210 cat confdefs.h
>>conftest.
$ac_ext
4211 cat >>conftest.
$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4213 #include <ac_nonexistent.h>
4215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4218 grep -v '^ *+' conftest.er1
>conftest.err
4220 cat conftest.err
>&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } >/dev
/null
; then
4223 if test -s conftest.err
; then
4224 ac_cpp_err
=$ac_c_preproc_warn_flag
4225 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4232 if test -z "$ac_cpp_err"; then
4233 # Broken: success on invalid input.
4236 echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.
$ac_ext >&5
4239 # Passes both tests.
4243 rm -f conftest.err conftest.
$ac_ext
4246 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4247 rm -f conftest.err conftest.
$ac_ext
4248 if $ac_preproc_ok; then
4251 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4252 See \`config.log' for more details." >&5
4253 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4254 See \`config.log' for more details." >&2;}
4255 { (exit 1); exit 1; }; }
4259 ac_cpp
='$CPP $CPPFLAGS'
4260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4265 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4266 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4267 if test "${ac_cv_header_stdc+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 cat >conftest.
$ac_ext <<_ACEOF
4273 cat confdefs.h
>>conftest.
$ac_ext
4274 cat >>conftest.
$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4289 rm -f conftest.
$ac_objext
4290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4291 (eval $ac_compile) 2>conftest.er1
4293 grep -v '^ *+' conftest.er1
>conftest.err
4295 cat conftest.err
>&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); } &&
4298 { ac_try
='test -z "$ac_c_werror_flag"
4299 || test ! -s conftest.err'
4300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; } &&
4305 { ac_try
='test -s conftest.$ac_objext'
4306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); }; }; then
4311 ac_cv_header_stdc
=yes
4313 echo "$as_me: failed program was:" >&5
4314 sed 's/^/| /' conftest.
$ac_ext >&5
4316 ac_cv_header_stdc
=no
4318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4320 if test $ac_cv_header_stdc = yes; then
4321 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4322 cat >conftest.
$ac_ext <<_ACEOF
4325 cat confdefs.h
>>conftest.
$ac_ext
4326 cat >>conftest.
$ac_ext <<_ACEOF
4327 /* end confdefs.h. */
4331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4332 $EGREP "memchr" >/dev
/null
2>&1; then
4335 ac_cv_header_stdc
=no
4341 if test $ac_cv_header_stdc = yes; then
4342 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4343 cat >conftest.
$ac_ext <<_ACEOF
4346 cat confdefs.h
>>conftest.
$ac_ext
4347 cat >>conftest.
$ac_ext <<_ACEOF
4348 /* end confdefs.h. */
4352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4353 $EGREP "free" >/dev
/null
2>&1; then
4356 ac_cv_header_stdc
=no
4362 if test $ac_cv_header_stdc = yes; then
4363 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4364 if test "$cross_compiling" = yes; then
4367 cat >conftest.
$ac_ext <<_ACEOF
4370 cat confdefs.h
>>conftest.
$ac_ext
4371 cat >>conftest.
$ac_ext <<_ACEOF
4372 /* end confdefs.h. */
4374 #if ((' ' & 0x0FF) == 0x020)
4375 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4376 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4378 # define ISLOWER(c) \
4379 (('a' <= (c) && (c) <= 'i') \
4380 || ('j' <= (c) && (c) <= 'r') \
4381 || ('s' <= (c) && (c) <= 'z'))
4382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4390 for (i = 0; i < 256; i++)
4391 if (XOR (islower (i), ISLOWER (i))
4392 || toupper (i) != TOUPPER (i))
4397 rm -f conftest
$ac_exeext
4398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4399 (eval $ac_link) 2>&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); }; }; then
4410 echo "$as_me: program exited with status $ac_status" >&5
4411 echo "$as_me: failed program was:" >&5
4412 sed 's/^/| /' conftest.
$ac_ext >&5
4415 ac_cv_header_stdc
=no
4417 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4421 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4422 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4423 if test $ac_cv_header_stdc = yes; then
4425 cat >>confdefs.h
<<\_ACEOF
4426 #define STDC_HEADERS 1
4431 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4441 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4442 inttypes.h stdint.h unistd.h
4444 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4445 echo "$as_me:$LINENO: checking for $ac_header" >&5
4446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4448 echo $ECHO_N "(cached) $ECHO_C" >&6
4450 cat >conftest.
$ac_ext <<_ACEOF
4453 cat confdefs.h
>>conftest.
$ac_ext
4454 cat >>conftest.
$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4456 $ac_includes_default
4458 #include <$ac_header>
4460 rm -f conftest.
$ac_objext
4461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4462 (eval $ac_compile) 2>conftest.er1
4464 grep -v '^ *+' conftest.er1
>conftest.err
4466 cat conftest.err
>&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); } &&
4469 { ac_try
='test -z "$ac_c_werror_flag"
4470 || test ! -s conftest.err'
4471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; } &&
4476 { ac_try
='test -s conftest.$ac_objext'
4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; }; then
4482 eval "$as_ac_Header=yes"
4484 echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.
$ac_ext >&5
4487 eval "$as_ac_Header=no"
4489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4494 cat >>confdefs.h
<<_ACEOF
4495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4504 for ac_header
in dlfcn.h
4506 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4508 echo "$as_me:$LINENO: checking for $ac_header" >&5
4509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4516 # Is the header compilable?
4517 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4518 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4519 cat >conftest.
$ac_ext <<_ACEOF
4522 cat confdefs.h
>>conftest.
$ac_ext
4523 cat >>conftest.
$ac_ext <<_ACEOF
4524 /* end confdefs.h. */
4525 $ac_includes_default
4526 #include <$ac_header>
4528 rm -f conftest.
$ac_objext
4529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4530 (eval $ac_compile) 2>conftest.er1
4532 grep -v '^ *+' conftest.er1
>conftest.err
4534 cat conftest.err
>&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } &&
4537 { ac_try
='test -z "$ac_c_werror_flag"
4538 || test ! -s conftest.err'
4539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); }; } &&
4544 { ac_try
='test -s conftest.$ac_objext'
4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4550 ac_header_compiler
=yes
4552 echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.
$ac_ext >&5
4555 ac_header_compiler
=no
4557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4559 echo "${ECHO_T}$ac_header_compiler" >&6
4561 # Is the header present?
4562 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4563 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4564 cat >conftest.
$ac_ext <<_ACEOF
4567 cat confdefs.h
>>conftest.
$ac_ext
4568 cat >>conftest.
$ac_ext <<_ACEOF
4569 /* end confdefs.h. */
4570 #include <$ac_header>
4572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4573 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4575 grep -v '^ *+' conftest.er1
>conftest.err
4577 cat conftest.err
>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } >/dev
/null
; then
4580 if test -s conftest.err
; then
4581 ac_cpp_err
=$ac_c_preproc_warn_flag
4582 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4589 if test -z "$ac_cpp_err"; then
4590 ac_header_preproc
=yes
4592 echo "$as_me: failed program was:" >&5
4593 sed 's/^/| /' conftest.
$ac_ext >&5
4595 ac_header_preproc
=no
4597 rm -f conftest.err conftest.
$ac_ext
4598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4599 echo "${ECHO_T}$ac_header_preproc" >&6
4601 # So? What about this header?
4602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4604 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4608 ac_header_preproc
=yes
4611 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4613 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4614 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4615 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4616 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4617 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4618 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4621 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4625 ## -------------------------------------------------- ##
4626 ## Report this to courier-users@lists.sourceforge.net ##
4627 ## -------------------------------------------------- ##
4630 sed "s/^/$as_me: WARNING: /" >&2
4633 echo "$as_me:$LINENO: checking for $ac_header" >&5
4634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 eval "$as_ac_Header=\$ac_header_preproc"
4640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4644 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4645 cat >>confdefs.h
<<_ACEOF
4646 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4654 ac_cpp
='$CXXCPP $CPPFLAGS'
4655 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4658 if test -n "$ac_tool_prefix"; then
4659 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4662 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4663 echo "$as_me:$LINENO: checking for $ac_word" >&5
4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4665 if test "${ac_cv_prog_CXX+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 if test -n "$CXX"; then
4669 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir
=.
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 if test -n "$CXX"; then
4689 echo "$as_me:$LINENO: result: $CXX" >&5
4690 echo "${ECHO_T}$CXX" >&6
4692 echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6
4696 test -n "$CXX" && break
4699 if test -z "$CXX"; then
4701 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4703 # Extract the first word of "$ac_prog", so it can be a program name with args.
4704 set dummy
$ac_prog; ac_word
=$2
4705 echo "$as_me:$LINENO: checking for $ac_word" >&5
4706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4707 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 if test -n "$ac_ct_CXX"; then
4711 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4717 test -z "$as_dir" && as_dir
=.
4718 for ac_exec_ext
in '' $ac_executable_extensions; do
4719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4720 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4729 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4730 if test -n "$ac_ct_CXX"; then
4731 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4732 echo "${ECHO_T}$ac_ct_CXX" >&6
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4738 test -n "$ac_ct_CXX" && break
4740 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4746 # Provide some information about the compiler.
4747 echo "$as_me:$LINENO:" \
4748 "checking for C++ compiler version" >&5
4749 ac_compiler
=`set X $ac_compile; echo $2`
4750 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4751 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }
4755 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4756 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); }
4760 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4761 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }
4766 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4767 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4768 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 cat >conftest.
$ac_ext <<_ACEOF
4774 cat confdefs.h
>>conftest.
$ac_ext
4775 cat >>conftest.
$ac_ext <<_ACEOF
4776 /* end confdefs.h. */
4789 rm -f conftest.
$ac_objext
4790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4791 (eval $ac_compile) 2>conftest.er1
4793 grep -v '^ *+' conftest.er1
>conftest.err
4795 cat conftest.err
>&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); } &&
4798 { ac_try
='test -z "$ac_cxx_werror_flag"
4799 || test ! -s conftest.err'
4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; } &&
4805 { ac_try
='test -s conftest.$ac_objext'
4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); }; }; then
4813 echo "$as_me: failed program was:" >&5
4814 sed 's/^/| /' conftest.
$ac_ext >&5
4818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4819 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4822 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4823 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4824 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4825 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4826 ac_save_CXXFLAGS
=$CXXFLAGS
4828 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4829 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4830 if test "${ac_cv_prog_cxx_g+set}" = set; then
4831 echo $ECHO_N "(cached) $ECHO_C" >&6
4833 cat >conftest.
$ac_ext <<_ACEOF
4836 cat confdefs.h
>>conftest.
$ac_ext
4837 cat >>conftest.
$ac_ext <<_ACEOF
4838 /* end confdefs.h. */
4848 rm -f conftest.
$ac_objext
4849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4850 (eval $ac_compile) 2>conftest.er1
4852 grep -v '^ *+' conftest.er1
>conftest.err
4854 cat conftest.err
>&5
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); } &&
4857 { ac_try
='test -z "$ac_cxx_werror_flag"
4858 || test ! -s conftest.err'
4859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; } &&
4864 { ac_try
='test -s conftest.$ac_objext'
4865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); }; }; then
4870 ac_cv_prog_cxx_g
=yes
4872 echo "$as_me: failed program was:" >&5
4873 sed 's/^/| /' conftest.
$ac_ext >&5
4877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4879 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4880 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4881 if test "$ac_test_CXXFLAGS" = set; then
4882 CXXFLAGS
=$ac_save_CXXFLAGS
4883 elif test $ac_cv_prog_cxx_g = yes; then
4884 if test "$GXX" = yes; then
4890 if test "$GXX" = yes; then
4896 for ac_declaration
in \
4898 'extern "C" void std::exit (int) throw (); using std::exit;' \
4899 'extern "C" void std::exit (int); using std::exit;' \
4900 'extern "C" void exit (int) throw ();' \
4901 'extern "C" void exit (int);' \
4904 cat >conftest.
$ac_ext <<_ACEOF
4907 cat confdefs.h
>>conftest.
$ac_ext
4908 cat >>conftest.
$ac_ext <<_ACEOF
4909 /* end confdefs.h. */
4920 rm -f conftest.
$ac_objext
4921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4922 (eval $ac_compile) 2>conftest.er1
4924 grep -v '^ *+' conftest.er1
>conftest.err
4926 cat conftest.err
>&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); } &&
4929 { ac_try
='test -z "$ac_cxx_werror_flag"
4930 || test ! -s conftest.err'
4931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; } &&
4936 { ac_try
='test -s conftest.$ac_objext'
4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; }; then
4944 echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.
$ac_ext >&5
4949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4950 cat >conftest.
$ac_ext <<_ACEOF
4953 cat confdefs.h
>>conftest.
$ac_ext
4954 cat >>conftest.
$ac_ext <<_ACEOF
4955 /* end confdefs.h. */
4965 rm -f conftest.
$ac_objext
4966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4967 (eval $ac_compile) 2>conftest.er1
4969 grep -v '^ *+' conftest.er1
>conftest.err
4971 cat conftest.err
>&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } &&
4974 { ac_try
='test -z "$ac_cxx_werror_flag"
4975 || test ! -s conftest.err'
4976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); }; } &&
4981 { ac_try
='test -s conftest.$ac_objext'
4982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); }; }; then
4989 echo "$as_me: failed program was:" >&5
4990 sed 's/^/| /' conftest.
$ac_ext >&5
4993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4996 if test -n "$ac_declaration"; then
4997 echo '#ifdef __cplusplus' >>confdefs.h
4998 echo $ac_declaration >>confdefs.h
4999 echo '#endif' >>confdefs.h
5003 ac_cpp
='$CXXCPP $CPPFLAGS'
5004 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5005 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5006 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5008 depcc
="$CXX" am_compiler_list
=
5010 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5011 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5012 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5016 # We make a subdir and do the tests there. Otherwise we can end up
5017 # making bogus files that we don't know about and never remove. For
5018 # instance it was reported that on HP-UX the gcc test will end up
5019 # making a dummy file named `D' -- because `-MD' means `put the output
5022 # Copy depcomp to subdir because otherwise we won't find it if we're
5023 # using a relative directory.
5024 cp "$am_depcomp" conftest.dir
5026 # We will build objects and dependencies in a subdirectory because
5027 # it helps to detect inapplicable dependency modes. For instance
5028 # both Tru64's cc and ICC support -MD to output dependencies as a
5029 # side effect of compilation, but ICC will put the dependencies in
5030 # the current directory while Tru64 will put them in the object
5034 am_cv_CXX_dependencies_compiler_type
=none
5035 if test "$am_compiler_list" = ""; then
5036 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5038 for depmode
in $am_compiler_list; do
5039 # Setup a source with many dependencies, because some compilers
5040 # like to wrap large dependency lists on column 80 (with \), and
5041 # we should not choose a depcomp mode which is confused by this.
5043 # We need to recreate these files for each test, as the compiler may
5044 # overwrite some of them when testing with obscure command lines.
5045 # This happens at least with the AIX C compiler.
5047 for i
in 1 2 3 4 5 6; do
5048 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5049 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5050 # Solaris 8's {/usr,}/bin/sh.
5051 touch sub
/conftst
$i.h
5053 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5057 # after this tag, mechanisms are not by side-effect, so they'll
5058 # only be used when explicitly requested
5059 if test "x$enable_dependency_tracking" = xyes
; then
5067 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5068 # mode. It turns out that the SunPro C++ compiler does not properly
5069 # handle `-M -o', and we need to detect this.
5070 if depmode
=$depmode \
5071 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5072 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5073 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5074 >/dev
/null
2>conftest.err
&&
5075 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5076 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5077 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5078 # icc doesn't choke on unknown options, it will just issue warnings
5079 # or remarks (even with -Werror). So we grep stderr for any message
5080 # that says an option was ignored or not supported.
5081 # When given -MP, icc 7.0 and 7.1 complain thusly:
5082 # icc: Command line warning: ignoring option '-M'; no argument required
5083 # The diagnosis changed in icc 8.0:
5084 # icc: Command line remark: option '-MP' not supported
5085 if (grep 'ignoring option' conftest.err ||
5086 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5087 am_cv_CXX_dependencies_compiler_type
=$depmode
5096 am_cv_CXX_dependencies_compiler_type
=none
5100 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5101 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5102 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5107 test "x$enable_dependency_tracking" != xno \
5108 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5109 am__fastdepCXX_TRUE
=
5110 am__fastdepCXX_FALSE
='#'
5112 am__fastdepCXX_TRUE
='#'
5113 am__fastdepCXX_FALSE
=
5119 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5120 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5121 (test "X$CXX" != "Xg++"))) ; then
5123 ac_cpp
='$CXXCPP $CPPFLAGS'
5124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5127 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5128 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5129 if test -z "$CXXCPP"; then
5130 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5131 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 # Double quotes because CXXCPP needs to be expanded
5134 for CXXCPP
in "$CXX -E" "/lib/cpp"
5137 for ac_cxx_preproc_warn_flag
in '' yes
5139 # Use a header file that comes with gcc, so configuring glibc
5140 # with a fresh cross-compiler works.
5141 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5142 # <limits.h> exists even on freestanding compilers.
5143 # On the NeXT, cc -E runs the code through the compiler's parser,
5144 # not just through cpp. "Syntax error" is here to catch this case.
5145 cat >conftest.
$ac_ext <<_ACEOF
5148 cat confdefs.h
>>conftest.
$ac_ext
5149 cat >>conftest.
$ac_ext <<_ACEOF
5150 /* end confdefs.h. */
5152 # include <limits.h>
5154 # include <assert.h>
5158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5161 grep -v '^ *+' conftest.er1
>conftest.err
5163 cat conftest.err
>&5
5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); } >/dev
/null
; then
5166 if test -s conftest.err
; then
5167 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5168 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5175 if test -z "$ac_cpp_err"; then
5178 echo "$as_me: failed program was:" >&5
5179 sed 's/^/| /' conftest.
$ac_ext >&5
5181 # Broken: fails on valid input.
5184 rm -f conftest.err conftest.
$ac_ext
5186 # OK, works on sane cases. Now check whether non-existent headers
5187 # can be detected and how.
5188 cat >conftest.
$ac_ext <<_ACEOF
5191 cat confdefs.h
>>conftest.
$ac_ext
5192 cat >>conftest.
$ac_ext <<_ACEOF
5193 /* end confdefs.h. */
5194 #include <ac_nonexistent.h>
5196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5197 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5199 grep -v '^ *+' conftest.er1
>conftest.err
5201 cat conftest.err
>&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); } >/dev
/null
; then
5204 if test -s conftest.err
; then
5205 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5206 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5213 if test -z "$ac_cpp_err"; then
5214 # Broken: success on invalid input.
5217 echo "$as_me: failed program was:" >&5
5218 sed 's/^/| /' conftest.
$ac_ext >&5
5220 # Passes both tests.
5224 rm -f conftest.err conftest.
$ac_ext
5227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5228 rm -f conftest.err conftest.
$ac_ext
5229 if $ac_preproc_ok; then
5234 ac_cv_prog_CXXCPP
=$CXXCPP
5237 CXXCPP
=$ac_cv_prog_CXXCPP
5239 ac_cv_prog_CXXCPP
=$CXXCPP
5241 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5242 echo "${ECHO_T}$CXXCPP" >&6
5244 for ac_cxx_preproc_warn_flag
in '' yes
5246 # Use a header file that comes with gcc, so configuring glibc
5247 # with a fresh cross-compiler works.
5248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5249 # <limits.h> exists even on freestanding compilers.
5250 # On the NeXT, cc -E runs the code through the compiler's parser,
5251 # not just through cpp. "Syntax error" is here to catch this case.
5252 cat >conftest.
$ac_ext <<_ACEOF
5255 cat confdefs.h
>>conftest.
$ac_ext
5256 cat >>conftest.
$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5259 # include <limits.h>
5261 # include <assert.h>
5265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5266 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5268 grep -v '^ *+' conftest.er1
>conftest.err
5270 cat conftest.err
>&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); } >/dev
/null
; then
5273 if test -s conftest.err
; then
5274 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5275 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5282 if test -z "$ac_cpp_err"; then
5285 echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.
$ac_ext >&5
5288 # Broken: fails on valid input.
5291 rm -f conftest.err conftest.
$ac_ext
5293 # OK, works on sane cases. Now check whether non-existent headers
5294 # can be detected and how.
5295 cat >conftest.
$ac_ext <<_ACEOF
5298 cat confdefs.h
>>conftest.
$ac_ext
5299 cat >>conftest.
$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5301 #include <ac_nonexistent.h>
5303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5306 grep -v '^ *+' conftest.er1
>conftest.err
5308 cat conftest.err
>&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); } >/dev
/null
; then
5311 if test -s conftest.err
; then
5312 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5313 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5320 if test -z "$ac_cpp_err"; then
5321 # Broken: success on invalid input.
5324 echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.
$ac_ext >&5
5327 # Passes both tests.
5331 rm -f conftest.err conftest.
$ac_ext
5334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5335 rm -f conftest.err conftest.
$ac_ext
5336 if $ac_preproc_ok; then
5339 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5340 See \`config.log' for more details." >&5
5341 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5342 See \`config.log' for more details." >&2;}
5343 { (exit 1); exit 1; }; }
5347 ac_cpp
='$CXXCPP $CPPFLAGS'
5348 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5349 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5350 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5356 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5357 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5358 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5359 if test -n "$ac_tool_prefix"; then
5360 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5363 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5364 echo "$as_me:$LINENO: checking for $ac_word" >&5
5365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5366 if test "${ac_cv_prog_F77+set}" = set; then
5367 echo $ECHO_N "(cached) $ECHO_C" >&6
5369 if test -n "$F77"; then
5370 ac_cv_prog_F77
="$F77" # Let the user override the test.
5372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5376 test -z "$as_dir" && as_dir
=.
5377 for ac_exec_ext
in '' $ac_executable_extensions; do
5378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 if test -n "$F77"; then
5390 echo "$as_me:$LINENO: result: $F77" >&5
5391 echo "${ECHO_T}$F77" >&6
5393 echo "$as_me:$LINENO: result: no" >&5
5394 echo "${ECHO_T}no" >&6
5397 test -n "$F77" && break
5400 if test -z "$F77"; then
5402 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5404 # Extract the first word of "$ac_prog", so it can be a program name with args.
5405 set dummy
$ac_prog; ac_word
=$2
5406 echo "$as_me:$LINENO: checking for $ac_word" >&5
5407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5408 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 if test -n "$ac_ct_F77"; then
5412 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5418 test -z "$as_dir" && as_dir
=.
5419 for ac_exec_ext
in '' $ac_executable_extensions; do
5420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5421 ac_cv_prog_ac_ct_F77
="$ac_prog"
5422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5431 if test -n "$ac_ct_F77"; then
5432 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5433 echo "${ECHO_T}$ac_ct_F77" >&6
5435 echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6
5439 test -n "$ac_ct_F77" && break
5446 # Provide some information about the compiler.
5447 echo "$as_me:5447:" \
5448 "checking for Fortran 77 compiler version" >&5
5449 ac_compiler
=`set X $ac_compile; echo $2`
5450 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5451 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); }
5455 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5456 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); }
5460 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5461 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); }
5467 # If we don't use `.F' as extension, the preprocessor is not run on the
5468 # input file. (Note that this only needs to work for GNU compilers.)
5471 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5472 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5473 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5474 echo $ECHO_N "(cached) $ECHO_C" >&6
5476 cat >conftest.
$ac_ext <<_ACEOF
5484 rm -f conftest.
$ac_objext
5485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5486 (eval $ac_compile) 2>conftest.er1
5488 grep -v '^ *+' conftest.er1
>conftest.err
5490 cat conftest.err
>&5
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); } &&
5493 { ac_try
='test -z "$ac_f77_werror_flag"
5494 || test ! -s conftest.err'
5495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); }; } &&
5500 { ac_try
='test -s conftest.$ac_objext'
5501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }; }; then
5508 echo "$as_me: failed program was:" >&5
5509 sed 's/^/| /' conftest.
$ac_ext >&5
5513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5514 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5517 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5518 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5520 ac_test_FFLAGS
=${FFLAGS+set}
5521 ac_save_FFLAGS
=$FFLAGS
5523 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5524 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5525 if test "${ac_cv_prog_f77_g+set}" = set; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 cat >conftest.
$ac_ext <<_ACEOF
5534 rm -f conftest.
$ac_objext
5535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5536 (eval $ac_compile) 2>conftest.er1
5538 grep -v '^ *+' conftest.er1
>conftest.err
5540 cat conftest.err
>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } &&
5543 { ac_try
='test -z "$ac_f77_werror_flag"
5544 || test ! -s conftest.err'
5545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 (exit $ac_status); }; } &&
5550 { ac_try
='test -s conftest.$ac_objext'
5551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); }; }; then
5556 ac_cv_prog_f77_g
=yes
5558 echo "$as_me: failed program was:" >&5
5559 sed 's/^/| /' conftest.
$ac_ext >&5
5563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5566 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5567 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5568 if test "$ac_test_FFLAGS" = set; then
5569 FFLAGS
=$ac_save_FFLAGS
5570 elif test $ac_cv_prog_f77_g = yes; then
5571 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5577 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5584 G77
=`test $ac_compiler_gnu = yes && echo yes`
5586 ac_cpp
='$CPP $CPPFLAGS'
5587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5593 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5595 # find the maximum length of command line arguments
5596 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5597 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5598 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5606 # On DJGPP, this test can blow up pretty badly due to problems in libc
5607 # (any single argument exceeding 2000 bytes causes a buffer overrun
5608 # during glob expansion). Even if it were fixed, the result of this
5609 # check would be larger than it should be.
5610 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5614 # Under GNU Hurd, this test is not required because there is
5615 # no limit to the length of command line arguments.
5616 # Libtool will interpret -1 as no limit whatsoever
5617 lt_cv_sys_max_cmd_len
=-1;
5621 # On Win9x/ME, this test blows up -- it succeeds, but takes
5622 # about 5 minutes as the teststring grows exponentially.
5623 # Worse, since 9x/ME are not pre-emptively multitasking,
5624 # you end up with a "frozen" computer, even though with patience
5625 # the test eventually succeeds (with a max line length of 256k).
5626 # Instead, let's just punt: use the minimum linelength reported by
5627 # all of the supported platforms: 8192 (on NT/2K/XP).
5628 lt_cv_sys_max_cmd_len
=8192;
5632 # On AmigaOS with pdksh, this test takes hours, literally.
5633 # So we just punt and use a minimum line length of 8192.
5634 lt_cv_sys_max_cmd_len
=8192;
5637 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5638 # This has been around since 386BSD, at least. Likely further.
5639 if test -x /sbin
/sysctl
; then
5640 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5641 elif test -x /usr
/sbin
/sysctl
; then
5642 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5644 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5646 # And add a safety zone
5647 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5648 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5652 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5653 lt_cv_sys_max_cmd_len
=196608
5657 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5658 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5659 # nice to cause kernel panics so lets avoid the loop below.
5660 # First set a reasonable default.
5661 lt_cv_sys_max_cmd_len
=16384
5663 if test -x /sbin
/sysconfig
; then
5664 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5665 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5670 lt_cv_sys_max_cmd_len
=102400
5672 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5673 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5674 if test -n "$kargmax"; then
5675 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5677 lt_cv_sys_max_cmd_len
=32768
5681 # If test is not a shell built-in, we'll probably end up computing a
5682 # maximum length that is only half of the actual maximum length, but
5684 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5685 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5686 = "XX$teststring") >/dev
/null
2>&1 &&
5687 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5688 lt_cv_sys_max_cmd_len
=$new_result &&
5689 test $i != 17 # 1/2 MB should be enough
5692 teststring
=$teststring$teststring
5695 # Add a significant safety factor because C++ compilers can tack on massive
5696 # amounts of additional arguments before passing them to the linker.
5697 # It appears as though 1/2 is a usable value.
5698 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5704 if test -n $lt_cv_sys_max_cmd_len ; then
5705 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5706 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5708 echo "$as_me:$LINENO: result: none" >&5
5709 echo "${ECHO_T}none" >&6
5715 # Check for command to grab the raw symbol name followed by C symbol from nm.
5716 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5717 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5718 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 # These are sane defaults that work on at least a few old systems.
5723 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5725 # Character class describing NM global symbol codes.
5726 symcode
='[BCDEGRST]'
5728 # Regexp to match symbols that can be accessed directly from C.
5729 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5731 # Transform an extracted symbol line into a proper C declaration
5732 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5734 # Transform an extracted symbol line into symbol name and symbol address
5735 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'"
5737 # Define system-specific variables.
5742 cygwin
* | mingw
* | pw32
*)
5743 symcode
='[ABCDGISTW]'
5745 hpux
*) # Its linker distinguishes data from code symbols
5746 if test "$host_cpu" = ia64
; then
5747 symcode
='[ABCDEGRST]'
5749 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5750 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'"
5753 if test "$host_cpu" = ia64
; then
5754 symcode
='[ABCDGIRSTW]'
5755 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5756 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'"
5760 symcode
='[BCDEGRST]'
5763 symcode
='[BCDEGQRST]'
5774 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5782 # Handle CRLF in mingw tool chain
5786 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5790 # If we're using GNU nm, then use its standard symbol codes.
5791 case `$NM -V 2>&1` in
5792 *GNU
* |
*'with BFD'*)
5793 symcode
='[ABCDGIRSTW]' ;;
5796 # Try without a prefix undercore, then with it.
5797 for ac_symprfx
in "" "_"; do
5799 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5800 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5802 # Write the raw and C identifiers.
5803 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5805 # Check to see that the pipe works correctly.
5809 cat > conftest.
$ac_ext <<EOF
5814 void nm_test_func(){}
5818 int main(){nm_test_var='a';nm_test_func();return(0);}
5821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5822 (eval $ac_compile) 2>&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); }; then
5826 # Now try to grab the symbols.
5828 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5829 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } && test -s "$nlist"; then
5833 # Try sorting and uniquifying the output.
5834 if sort "$nlist" |
uniq > "$nlist"T
; then
5835 mv -f "$nlist"T
"$nlist"
5840 # Make sure that we snagged all the symbols we need.
5841 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5842 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5843 cat <<EOF > conftest.$ac_ext
5849 # Now generate the symbol file.
5850 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5852 cat <<EOF >> conftest.$ac_ext
5853 #if defined (__STDC__) && __STDC__
5854 # define lt_ptr_t void *
5856 # define lt_ptr_t char *
5860 /* The mapping between symbol names and symbols. */
5865 lt_preloaded_symbols[] =
5868 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5869 cat <<\EOF
>> conftest.
$ac_ext
5877 # Now try linking the two files.
5878 mv conftest.
$ac_objext conftstm.
$ac_objext
5879 lt_save_LIBS
="$LIBS"
5880 lt_save_CFLAGS
="$CFLAGS"
5881 LIBS
="conftstm.$ac_objext"
5882 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5884 (eval $ac_link) 2>&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5890 LIBS
="$lt_save_LIBS"
5891 CFLAGS
="$lt_save_CFLAGS"
5893 echo "cannot find nm_test_func in $nlist" >&5
5896 echo "cannot find nm_test_var in $nlist" >&5
5899 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5902 echo "$progname: failed program was:" >&5
5903 cat conftest.
$ac_ext >&5
5905 rm -f conftest
* conftst
*
5907 # Do not use the global_symbol_pipe unless it works.
5908 if test "$pipe_works" = yes; then
5911 lt_cv_sys_global_symbol_pipe
=
5917 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5918 lt_cv_sys_global_symbol_to_cdecl
=
5920 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5921 echo "$as_me:$LINENO: result: failed" >&5
5922 echo "${ECHO_T}failed" >&6
5924 echo "$as_me:$LINENO: result: ok" >&5
5925 echo "${ECHO_T}ok" >&6
5928 echo "$as_me:$LINENO: checking for objdir" >&5
5929 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5930 if test "${lt_cv_objdir+set}" = set; then
5931 echo $ECHO_N "(cached) $ECHO_C" >&6
5933 rm -f .libs
2>/dev
/null
5934 mkdir .libs
2>/dev
/null
5935 if test -d .libs
; then
5938 # MS-DOS does not allow filenames that begin with a dot.
5941 rmdir .libs
2>/dev
/null
5943 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5944 echo "${ECHO_T}$lt_cv_objdir" >&6
5945 objdir
=$lt_cv_objdir
5953 # AIX sometimes has problems with the GCC collect2 program. For some
5954 # reason, if we set the COLLECT_NAMES environment variable, the problems
5955 # vanish in a puff of smoke.
5956 if test "X${COLLECT_NAMES+set}" != Xset
; then
5958 export COLLECT_NAMES
5963 # Sed substitution that helps us do robust quoting. It backslashifies
5964 # metacharacters that are still active within double-quoted strings.
5965 Xsed
='sed -e 1s/^X//'
5966 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5968 # Same as above, but do not quote variable references.
5969 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5971 # Sed substitution to delay expansion of an escaped shell variable in a
5972 # double_quote_subst'ed string.
5973 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5975 # Sed substitution to avoid accidental globbing in evaled expressions
5976 no_glob_subst
='s/\*/\\\*/g'
5982 default_ofile
=libtool
5983 can_build_shared
=yes
5985 # All known linkers require a `.a' archive for static linking (except MSVC,
5986 # which needs '.lib').
5988 ltmain
="$ac_aux_dir/ltmain.sh"
5989 ofile
="$default_ofile"
5990 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5992 if test -n "$ac_tool_prefix"; then
5993 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5994 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5995 echo "$as_me:$LINENO: checking for $ac_word" >&5
5996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5997 if test "${ac_cv_prog_AR+set}" = set; then
5998 echo $ECHO_N "(cached) $ECHO_C" >&6
6000 if test -n "$AR"; then
6001 ac_cv_prog_AR
="$AR" # Let the user override the test.
6003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir
=.
6008 for ac_exec_ext
in '' $ac_executable_extensions; do
6009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 if test -n "$AR"; then
6021 echo "$as_me:$LINENO: result: $AR" >&5
6022 echo "${ECHO_T}$AR" >&6
6024 echo "$as_me:$LINENO: result: no" >&5
6025 echo "${ECHO_T}no" >&6
6029 if test -z "$ac_cv_prog_AR"; then
6031 # Extract the first word of "ar", so it can be a program name with args.
6032 set dummy
ar; ac_word
=$2
6033 echo "$as_me:$LINENO: checking for $ac_word" >&5
6034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6035 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6036 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 if test -n "$ac_ct_AR"; then
6039 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir
=.
6046 for ac_exec_ext
in '' $ac_executable_extensions; do
6047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6048 ac_cv_prog_ac_ct_AR
="ar"
6049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6058 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6059 if test -n "$ac_ct_AR"; then
6060 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6061 echo "${ECHO_T}$ac_ct_AR" >&6
6063 echo "$as_me:$LINENO: result: no" >&5
6064 echo "${ECHO_T}no" >&6
6072 if test -n "$ac_tool_prefix"; then
6073 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6074 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6075 echo "$as_me:$LINENO: checking for $ac_word" >&5
6076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6077 if test "${ac_cv_prog_RANLIB+set}" = set; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6080 if test -n "$RANLIB"; then
6081 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6087 test -z "$as_dir" && as_dir
=.
6088 for ac_exec_ext
in '' $ac_executable_extensions; do
6089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6090 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 RANLIB
=$ac_cv_prog_RANLIB
6100 if test -n "$RANLIB"; then
6101 echo "$as_me:$LINENO: result: $RANLIB" >&5
6102 echo "${ECHO_T}$RANLIB" >&6
6104 echo "$as_me:$LINENO: result: no" >&5
6105 echo "${ECHO_T}no" >&6
6109 if test -z "$ac_cv_prog_RANLIB"; then
6110 ac_ct_RANLIB
=$RANLIB
6111 # Extract the first word of "ranlib", so it can be a program name with args.
6112 set dummy ranlib
; ac_word
=$2
6113 echo "$as_me:$LINENO: checking for $ac_word" >&5
6114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6115 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6116 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 if test -n "$ac_ct_RANLIB"; then
6119 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6125 test -z "$as_dir" && as_dir
=.
6126 for ac_exec_ext
in '' $ac_executable_extensions; do
6127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6128 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6138 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6139 if test -n "$ac_ct_RANLIB"; then
6140 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6141 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6143 echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6
6147 RANLIB
=$ac_ct_RANLIB
6149 RANLIB
="$ac_cv_prog_RANLIB"
6152 if test -n "$ac_tool_prefix"; then
6153 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6154 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6155 echo "$as_me:$LINENO: checking for $ac_word" >&5
6156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6157 if test "${ac_cv_prog_STRIP+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6160 if test -n "$STRIP"; then
6161 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6167 test -z "$as_dir" && as_dir
=.
6168 for ac_exec_ext
in '' $ac_executable_extensions; do
6169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6170 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6179 STRIP
=$ac_cv_prog_STRIP
6180 if test -n "$STRIP"; then
6181 echo "$as_me:$LINENO: result: $STRIP" >&5
6182 echo "${ECHO_T}$STRIP" >&6
6184 echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6
6189 if test -z "$ac_cv_prog_STRIP"; then
6191 # Extract the first word of "strip", so it can be a program name with args.
6192 set dummy strip
; ac_word
=$2
6193 echo "$as_me:$LINENO: checking for $ac_word" >&5
6194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6195 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6196 echo $ECHO_N "(cached) $ECHO_C" >&6
6198 if test -n "$ac_ct_STRIP"; then
6199 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6205 test -z "$as_dir" && as_dir
=.
6206 for ac_exec_ext
in '' $ac_executable_extensions; do
6207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6208 ac_cv_prog_ac_ct_STRIP
="strip"
6209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6215 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6218 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6219 if test -n "$ac_ct_STRIP"; then
6220 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6221 echo "${ECHO_T}$ac_ct_STRIP" >&6
6223 echo "$as_me:$LINENO: result: no" >&5
6224 echo "${ECHO_T}no" >&6
6229 STRIP
="$ac_cv_prog_STRIP"
6234 old_CFLAGS
="$CFLAGS"
6236 # Set sane defaults for various variables
6237 test -z "$AR" && AR
=ar
6238 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6239 test -z "$AS" && AS
=as
6240 test -z "$CC" && CC
=cc
6241 test -z "$LTCC" && LTCC
=$CC
6242 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6243 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6244 test -z "$LD" && LD
=ld
6245 test -z "$LN_S" && LN_S
="ln -s"
6246 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6247 test -z "$NM" && NM
=nm
6248 test -z "$SED" && SED
=sed
6249 test -z "$OBJDUMP" && OBJDUMP
=objdump
6250 test -z "$RANLIB" && RANLIB
=:
6251 test -z "$STRIP" && STRIP
=:
6252 test -z "$ac_objext" && ac_objext
=o
6254 # Determine commands to create old-style static archives.
6255 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6256 old_postinstall_cmds
='chmod 644 $oldlib'
6257 old_postuninstall_cmds
=
6259 if test -n "$RANLIB"; then
6262 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6265 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6268 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6271 for cc_temp
in $compiler""; do
6273 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6274 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6279 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6282 # Only perform the check for file, if the check method requires it
6283 case $deplibs_check_method in
6285 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6286 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6287 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6288 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6289 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6296 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6297 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6298 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6299 for ac_dir
in $ac_dummy; do
6301 test -z "$ac_dir" && ac_dir
=.
6302 if test -f $ac_dir/${ac_tool_prefix}file; then
6303 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6304 if test -n "$file_magic_test_file"; then
6305 case $deplibs_check_method in
6307 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6308 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6309 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6310 $EGREP "$file_magic_regex" > /dev
/null
; then
6315 *** Warning: the command libtool uses to detect shared libraries,
6316 *** $file_magic_cmd, produces output that libtool cannot recognize.
6317 *** The result is that libtool may fail to recognize shared libraries
6318 *** as such. This will affect the creation of libtool libraries that
6319 *** depend on shared libraries, but programs linked with such libtool
6320 *** libraries will work regardless of this problem. Nevertheless, you
6321 *** may want to report the problem to your system manager and/or to
6322 *** bug-libtool@gnu.org
6332 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6337 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6338 if test -n "$MAGIC_CMD"; then
6339 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6340 echo "${ECHO_T}$MAGIC_CMD" >&6
6342 echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6346 if test -z "$lt_cv_path_MAGIC_CMD"; then
6347 if test -n "$ac_tool_prefix"; then
6348 echo "$as_me:$LINENO: checking for file" >&5
6349 echo $ECHO_N "checking for file... $ECHO_C" >&6
6350 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6351 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6358 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6359 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6360 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6361 for ac_dir
in $ac_dummy; do
6363 test -z "$ac_dir" && ac_dir
=.
6364 if test -f $ac_dir/file; then
6365 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6366 if test -n "$file_magic_test_file"; then
6367 case $deplibs_check_method in
6369 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6370 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6371 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6372 $EGREP "$file_magic_regex" > /dev
/null
; then
6377 *** Warning: the command libtool uses to detect shared libraries,
6378 *** $file_magic_cmd, produces output that libtool cannot recognize.
6379 *** The result is that libtool may fail to recognize shared libraries
6380 *** as such. This will affect the creation of libtool libraries that
6381 *** depend on shared libraries, but programs linked with such libtool
6382 *** libraries will work regardless of this problem. Nevertheless, you
6383 *** may want to report the problem to your system manager and/or to
6384 *** bug-libtool@gnu.org
6394 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6399 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6400 if test -n "$MAGIC_CMD"; then
6401 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6402 echo "${ECHO_T}$MAGIC_CMD" >&6
6404 echo "$as_me:$LINENO: result: no" >&5
6405 echo "${ECHO_T}no" >&6
6420 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6421 if test "${enable_libtool_lock+set}" = set; then
6422 enableval
="$enable_libtool_lock"
6425 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6428 # Check whether --with-pic or --without-pic was given.
6429 if test "${with_pic+set}" = set; then
6435 test -z "$pic_mode" && pic_mode
=default
6437 # Use C for the default configuration in the libtool script
6441 ac_cpp
='$CPP $CPPFLAGS'
6442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6447 # Source file extension for C test sources.
6450 # Object file extension for compiled C test sources.
6454 # Code to be used in simple compile tests
6455 lt_simple_compile_test_code
="int some_variable = 0;\n"
6457 # Code to be used in simple link tests
6458 lt_simple_link_test_code
='int main(){return(0);}\n'
6461 # If no C compiler was specified, use CC.
6464 # If no C compiler flags were specified, use CFLAGS.
6465 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6467 # Allow CC to be a program name with arguments.
6471 # save warnings/boilerplate of simple test code
6472 ac_outfile
=conftest.
$ac_objext
6473 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6474 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6475 _lt_compiler_boilerplate
=`cat conftest.err`
6478 ac_outfile
=conftest.
$ac_objext
6479 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6480 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6481 _lt_linker_boilerplate
=`cat conftest.err`
6486 lt_prog_compiler_no_builtin_flag
=
6488 if test "$GCC" = yes; then
6489 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6492 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6493 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6494 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 lt_cv_prog_compiler_rtti_exceptions
=no
6498 ac_outfile
=conftest.
$ac_objext
6499 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6500 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6501 # Insert the option either (1) after the last *FLAGS variable, or
6502 # (2) before a word containing "conftest.", or (3) at the end.
6503 # Note that $ac_compile itself does not contain backslashes and begins
6504 # with a dollar sign (not a hyphen), so the echo should work correctly.
6505 # The option is referenced via a variable to avoid confusing sed.
6506 lt_compile
=`echo "$ac_compile" | $SED \
6507 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6508 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6509 -e 's:$: $lt_compiler_flag:'`
6510 (eval echo "\"\$as_me:6510: $lt_compile\"" >&5)
6511 (eval "$lt_compile" 2>conftest.err
)
6513 cat conftest.err
>&5
6514 echo "$as_me:6514: \$? = $ac_status" >&5
6515 if (exit $ac_status) && test -s "$ac_outfile"; then
6516 # The compiler can only warn and ignore the option if not recognized
6517 # So say no if there are warnings other than the usual output.
6518 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6519 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6520 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6521 lt_cv_prog_compiler_rtti_exceptions
=yes
6527 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6528 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6530 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6531 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6538 lt_prog_compiler_wl
=
6539 lt_prog_compiler_pic
=
6540 lt_prog_compiler_static
=
6542 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6543 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6545 if test "$GCC" = yes; then
6546 lt_prog_compiler_wl
='-Wl,'
6547 lt_prog_compiler_static
='-static'
6551 # All AIX code is PIC.
6552 if test "$host_cpu" = ia64
; then
6553 # AIX 5 now supports IA64 processor
6554 lt_prog_compiler_static
='-Bstatic'
6559 # FIXME: we need at least 68020 code to build shared libraries, but
6560 # adding the `-m68020' flag to GCC prevents building anything better,
6562 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6565 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6566 # PIC is the default for these OSes.
6569 mingw
* | pw32
* | os2
*)
6570 # This hack is so that the source file can tell whether it is being
6571 # built for inclusion in a dll (and should export symbols for example).
6572 lt_prog_compiler_pic
='-DDLL_EXPORT'
6575 darwin
* | rhapsody
*)
6576 # PIC is the default on this platform
6577 # Common symbols not allowed in MH_DYLIB files
6578 lt_prog_compiler_pic
='-fno-common'
6582 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6583 # Instead, we relocate shared libraries at runtime.
6587 # Just because we use GCC doesn't mean we suddenly get shared libraries
6588 # on systems that don't support them.
6589 lt_prog_compiler_can_build_shared
=no
6594 if test -d /usr
/nec
; then
6595 lt_prog_compiler_pic
=-Kconform_pic
6600 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6607 lt_prog_compiler_pic
='-fPIC'
6613 lt_prog_compiler_pic
='-fPIC'
6617 # PORTME Check for flag to pass linker flags through the system compiler.
6620 lt_prog_compiler_wl
='-Wl,'
6621 if test "$host_cpu" = ia64
; then
6622 # AIX 5 now supports IA64 processor
6623 lt_prog_compiler_static
='-Bstatic'
6625 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6629 # PIC is the default on this platform
6630 # Common symbols not allowed in MH_DYLIB files
6631 case $cc_basename in
6633 lt_prog_compiler_pic
='-qnocommon'
6634 lt_prog_compiler_wl
='-Wl,'
6639 mingw
* | pw32
* | os2
*)
6640 # This hack is so that the source file can tell whether it is being
6641 # built for inclusion in a dll (and should export symbols for example).
6642 lt_prog_compiler_pic
='-DDLL_EXPORT'
6645 hpux9
* | hpux10
* | hpux11
*)
6646 lt_prog_compiler_wl
='-Wl,'
6647 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6654 lt_prog_compiler_pic
='+Z'
6657 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6658 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6661 irix5
* | irix6
* | nonstopux
*)
6662 lt_prog_compiler_wl
='-Wl,'
6663 # PIC (with -KPIC) is the default.
6664 lt_prog_compiler_static
='-non_shared'
6668 lt_prog_compiler_pic
='-KPIC'
6669 lt_prog_compiler_static
='-Bstatic'
6673 case $cc_basename in
6675 lt_prog_compiler_wl
='-Wl,'
6676 lt_prog_compiler_pic
='-KPIC'
6677 lt_prog_compiler_static
='-static'
6679 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6680 # Portland Group compilers (*not* the Pentium gcc compiler,
6681 # which looks to be a dead project)
6682 lt_prog_compiler_wl
='-Wl,'
6683 lt_prog_compiler_pic
='-fpic'
6684 lt_prog_compiler_static
='-Bstatic'
6687 lt_prog_compiler_wl
='-Wl,'
6688 # All Alpha code is PIC.
6689 lt_prog_compiler_static
='-non_shared'
6694 osf3
* | osf4
* | osf5
*)
6695 lt_prog_compiler_wl
='-Wl,'
6696 # All OSF/1 code is PIC.
6697 lt_prog_compiler_static
='-non_shared'
6701 lt_prog_compiler_pic
='-KPIC'
6702 lt_prog_compiler_static
='-Bstatic'
6703 case $cc_basename in
6705 lt_prog_compiler_wl
='-Qoption ld ';;
6707 lt_prog_compiler_wl
='-Wl,';;
6712 lt_prog_compiler_wl
='-Qoption ld '
6713 lt_prog_compiler_pic
='-PIC'
6714 lt_prog_compiler_static
='-Bstatic'
6717 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6718 lt_prog_compiler_wl
='-Wl,'
6719 lt_prog_compiler_pic
='-KPIC'
6720 lt_prog_compiler_static
='-Bstatic'
6724 if test -d /usr
/nec
;then
6725 lt_prog_compiler_pic
='-Kconform_pic'
6726 lt_prog_compiler_static
='-Bstatic'
6730 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6731 lt_prog_compiler_wl
='-Wl,'
6732 lt_prog_compiler_pic
='-KPIC'
6733 lt_prog_compiler_static
='-Bstatic'
6737 lt_prog_compiler_wl
='-Wl,'
6738 lt_prog_compiler_can_build_shared
=no
6742 lt_prog_compiler_pic
='-pic'
6743 lt_prog_compiler_static
='-Bstatic'
6747 lt_prog_compiler_can_build_shared
=no
6752 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6753 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6756 # Check to make sure the PIC flag actually works.
6758 if test -n "$lt_prog_compiler_pic"; then
6760 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6761 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6762 if test "${lt_prog_compiler_pic_works+set}" = set; then
6763 echo $ECHO_N "(cached) $ECHO_C" >&6
6765 lt_prog_compiler_pic_works
=no
6766 ac_outfile
=conftest.
$ac_objext
6767 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6768 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6769 # Insert the option either (1) after the last *FLAGS variable, or
6770 # (2) before a word containing "conftest.", or (3) at the end.
6771 # Note that $ac_compile itself does not contain backslashes and begins
6772 # with a dollar sign (not a hyphen), so the echo should work correctly.
6773 # The option is referenced via a variable to avoid confusing sed.
6774 lt_compile
=`echo "$ac_compile" | $SED \
6775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6777 -e 's:$: $lt_compiler_flag:'`
6778 (eval echo "\"\$as_me:6778: $lt_compile\"" >&5)
6779 (eval "$lt_compile" 2>conftest.err
)
6781 cat conftest.err
>&5
6782 echo "$as_me:6782: \$? = $ac_status" >&5
6783 if (exit $ac_status) && test -s "$ac_outfile"; then
6784 # The compiler can only warn and ignore the option if not recognized
6785 # So say no if there are warnings other than the usual output.
6786 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6787 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6788 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6789 lt_prog_compiler_pic_works
=yes
6795 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6796 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6798 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6799 case $lt_prog_compiler_pic in
6801 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6804 lt_prog_compiler_pic
=
6805 lt_prog_compiler_can_build_shared
=no
6810 # For platforms which do not support PIC, -DPIC is meaningless:
6812 lt_prog_compiler_pic
=
6815 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6820 # Check to make sure the static flag actually works.
6822 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6823 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6824 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6825 if test "${lt_prog_compiler_static_works+set}" = set; then
6826 echo $ECHO_N "(cached) $ECHO_C" >&6
6828 lt_prog_compiler_static_works
=no
6829 save_LDFLAGS
="$LDFLAGS"
6830 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6831 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6832 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6833 # The linker can only warn and ignore the option if not recognized
6834 # So say no if there are warnings
6835 if test -s conftest.err
; then
6836 # Append any errors to the config.log.
6837 cat conftest.err
1>&5
6838 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6839 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6840 if diff conftest.exp conftest.er2
>/dev
/null
; then
6841 lt_prog_compiler_static_works
=yes
6844 lt_prog_compiler_static_works
=yes
6848 LDFLAGS
="$save_LDFLAGS"
6851 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6852 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6854 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6857 lt_prog_compiler_static
=
6861 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6862 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6863 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6864 echo $ECHO_N "(cached) $ECHO_C" >&6
6866 lt_cv_prog_compiler_c_o
=no
6867 $rm -r conftest
2>/dev
/null
6871 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6873 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6874 # Insert the option either (1) after the last *FLAGS variable, or
6875 # (2) before a word containing "conftest.", or (3) at the end.
6876 # Note that $ac_compile itself does not contain backslashes and begins
6877 # with a dollar sign (not a hyphen), so the echo should work correctly.
6878 lt_compile
=`echo "$ac_compile" | $SED \
6879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6881 -e 's:$: $lt_compiler_flag:'`
6882 (eval echo "\"\$as_me:6882: $lt_compile\"" >&5)
6883 (eval "$lt_compile" 2>out
/conftest.err
)
6885 cat out
/conftest.err
>&5
6886 echo "$as_me:6886: \$? = $ac_status" >&5
6887 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6889 # The compiler can only warn and ignore the option if not recognized
6890 # So say no if there are warnings
6891 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6892 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6893 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6894 lt_cv_prog_compiler_c_o
=yes
6899 # SGI C++ compiler will create directory out/ii_files/ for
6900 # template instantiation
6901 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6902 $rm out
/* && rmdir out
6908 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6909 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6912 hard_links
="nottested"
6913 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6914 # do not overwrite the value of need_locks provided by the user
6915 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6916 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6919 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6921 ln conftest.a conftest.b
2>&5 || hard_links
=no
6922 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6923 echo "$as_me:$LINENO: result: $hard_links" >&5
6924 echo "${ECHO_T}$hard_links" >&6
6925 if test "$hard_links" = no
; then
6926 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6927 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6934 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6935 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6938 allow_undefined_flag
=
6939 enable_shared_with_static_runtimes
=no
6941 archive_expsym_cmds
=
6942 old_archive_From_new_cmds
=
6943 old_archive_from_expsyms_cmds
=
6944 export_dynamic_flag_spec
=
6945 whole_archive_flag_spec
=
6946 thread_safe_flag_spec
=
6947 hardcode_libdir_flag_spec
=
6948 hardcode_libdir_flag_spec_ld
=
6949 hardcode_libdir_separator
=
6952 hardcode_shlibpath_var
=unsupported
6953 link_all_deplibs
=unknown
6954 hardcode_automatic
=no
6957 always_export_symbols
=no
6958 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6959 # include_expsyms should be a list of space-separated symbols to be *always*
6960 # included in the symbol list
6962 # exclude_expsyms can be an extended regexp of symbols to exclude
6963 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6964 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6965 # as well as any symbol that contains `d'.
6966 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6967 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6968 # platforms (ab)use it in PIC code, but their linkers get confused if
6969 # the symbol is explicitly referenced. Since portable code cannot
6970 # rely on this symbol name, it's probably fine to never include it in
6971 # preloaded symbol tables.
6972 extract_expsyms_cmds
=
6973 # Just being paranoid about ensuring that cc_basename is set.
6974 for cc_temp
in $compiler""; do
6976 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6977 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6982 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6985 cygwin
* | mingw
* | pw32
*)
6986 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6987 # When not using gcc, we currently assume that we are using
6988 # Microsoft Visual C++.
6989 if test "$GCC" != yes; then
6994 # we just hope/assume this is gcc and not c89 (= MSVC++)
7003 if test "$with_gnu_ld" = yes; then
7004 # If archive_cmds runs LD, not CC, wlarc should be empty
7007 # Set some defaults for GNU ld with shared library support. These
7008 # are reset later if shared libraries are not supported. Putting them
7009 # here allows them to be overridden if necessary.
7010 runpath_var
=LD_RUN_PATH
7011 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7012 export_dynamic_flag_spec
='${wl}--export-dynamic'
7013 # ancient GNU ld didn't support --whole-archive et. al.
7014 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7015 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7017 whole_archive_flag_spec
=
7019 supports_anon_versioning
=no
7020 case `$LD -v 2>/dev/null` in
7021 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7022 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7023 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7024 *\
2.11.
*) ;; # other 2.11 versions
7025 *) supports_anon_versioning
=yes ;;
7028 # See if GNU ld supports shared libraries.
7030 aix3
* | aix4
* | aix5
*)
7031 # On AIX/PPC, the GNU linker is very broken
7032 if test "$host_cpu" != ia64
; then
7036 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7037 *** to be unable to reliably create shared libraries on AIX.
7038 *** Therefore, libtool is disabling shared libraries support. If you
7039 *** really care for shared libraries, you may want to modify your PATH
7040 *** so that a non-GNU linker is found, and then restart.
7047 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)'
7048 hardcode_libdir_flag_spec
='-L$libdir'
7049 hardcode_minus_L
=yes
7051 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7052 # that the semantics of dynamic libraries on AmigaOS, at least up
7053 # to version 4, is to share data among multiple programs linked
7054 # with the same dynamic library. Since this doesn't match the
7055 # behavior of shared libraries on other platforms, we can't use
7061 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7062 allow_undefined_flag
=unsupported
7063 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7064 # support --undefined. This deserves some investigation. FIXME
7065 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7071 cygwin
* | mingw
* | pw32
*)
7072 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7073 # as there is no search path for DLLs.
7074 hardcode_libdir_flag_spec
='-L$libdir'
7075 allow_undefined_flag
=unsupported
7076 always_export_symbols
=no
7077 enable_shared_with_static_runtimes
=yes
7078 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7080 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7081 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7082 # If the export-symbols file already is a .def file (1st line
7083 # is EXPORTS), use it as is; otherwise, prepend...
7084 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7085 cp $export_symbols $output_objdir/$soname.def;
7087 echo EXPORTS > $output_objdir/$soname.def;
7088 cat $export_symbols >> $output_objdir/$soname.def;
7090 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7098 hardcode_shlibpath_var
=no
7099 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7100 export_dynamic_flag_spec
='${wl}-E'
7101 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7102 # Instead, shared libraries are loaded at an image base (0x10000000 by
7103 # default) and relocated if they conflict, which is a slow very memory
7104 # consuming and fragmenting process. To avoid this, we pick a random,
7105 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7106 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7107 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7108 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'
7112 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7114 case $cc_basename,$host_cpu in
7115 pgcc
*) # Portland Group C compiler
7116 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'
7117 tmp_addflag
=' $pic_flag'
7119 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7120 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'
7121 tmp_addflag
=' $pic_flag -Mnomain' ;;
7122 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7123 tmp_addflag
=' -i_dynamic' ;;
7124 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7125 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7126 ifc
* | ifort
*) # Intel Fortran compiler
7127 tmp_addflag
=' -nofor_main' ;;
7129 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7131 if test $supports_anon_versioning = yes; then
7132 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7133 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7134 $echo "local: *; };" >> $output_objdir/$libname.ver~
7135 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7143 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7144 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7147 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7148 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7153 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7157 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7158 *** create shared libraries on Solaris systems. Therefore, libtool
7159 *** is disabling shared libraries support. We urge you to upgrade GNU
7160 *** binutils to release 2.9.1 or newer. Another option is to modify
7161 *** your PATH or compiler configuration so that the native linker is
7162 *** used, and then restart.
7165 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7166 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7167 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7173 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7174 case `$LD -v 2>&1` in
7175 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7179 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7180 *** reliably create shared libraries on SCO systems. Therefore, libtool
7181 *** is disabling shared libraries support. We urge you to upgrade GNU
7182 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7183 *** your PATH or compiler configuration so that the native linker is
7184 *** used, and then restart.
7189 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7190 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7191 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7192 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7201 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7204 hardcode_shlibpath_var
=no
7208 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7209 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7210 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7217 if test "$ld_shlibs" = no
; then
7219 hardcode_libdir_flag_spec
=
7220 export_dynamic_flag_spec
=
7221 whole_archive_flag_spec
=
7224 # PORTME fill in a description of your system's linker (not GNU ld)
7227 allow_undefined_flag
=unsupported
7228 always_export_symbols
=yes
7229 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'
7230 # Note: this linker hardcodes the directories in LIBPATH if there
7231 # are no directories specified by -L.
7232 hardcode_minus_L
=yes
7233 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7234 # Neither direct hardcoding nor static linking is supported with a
7236 hardcode_direct
=unsupported
7241 if test "$host_cpu" = ia64
; then
7242 # On IA64, the linker does run time linking by default, so we don't
7243 # have to do anything special.
7244 aix_use_runtimelinking
=no
7245 exp_sym_flag
='-Bexport'
7248 # If we're using GNU nm, then we don't want the "-C" option.
7249 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7250 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7251 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'
7253 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'
7255 aix_use_runtimelinking
=no
7257 # Test if we are trying to use run time linking or normal
7258 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7259 # need to do runtime linking.
7260 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7261 for ld_flag
in $LDFLAGS; do
7262 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7263 aix_use_runtimelinking
=yes
7270 exp_sym_flag
='-bexport'
7271 no_entry_flag
='-bnoentry'
7274 # When large executables or shared objects are built, AIX ld can
7275 # have problems creating the table of contents. If linking a library
7276 # or program results in "error TOC overflow" add -mminimal-toc to
7277 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7278 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7282 hardcode_libdir_separator
=':'
7283 link_all_deplibs
=yes
7285 if test "$GCC" = yes; then
7286 case $host_os in aix4.
[012]|aix4.
[012].
*)
7287 # We only want to do this on AIX 4.2 and lower, the check
7288 # below for broken collect2 doesn't work under 4.3+
7289 collect2name
=`${CC} -print-prog-name=collect2`
7290 if test -f "$collect2name" && \
7291 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7293 # We have reworked collect2
7296 # We have old collect2
7297 hardcode_direct
=unsupported
7298 # It fails to find uninstalled libraries when the uninstalled
7299 # path is not listed in the libpath. Setting hardcode_minus_L
7300 # to unsupported forces relinking
7301 hardcode_minus_L
=yes
7302 hardcode_libdir_flag_spec
='-L$libdir'
7303 hardcode_libdir_separator
=
7307 shared_flag
='-shared'
7308 if test "$aix_use_runtimelinking" = yes; then
7309 shared_flag
="$shared_flag "'${wl}-G'
7313 if test "$host_cpu" = ia64
; then
7314 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7315 # chokes on -Wl,-G. The following line is correct:
7318 if test "$aix_use_runtimelinking" = yes; then
7319 shared_flag
='${wl}-G'
7321 shared_flag
='${wl}-bM:SRE'
7326 # It seems that -bexpall does not export symbols beginning with
7327 # underscore (_), so it is better to generate a list of symbols to export.
7328 always_export_symbols
=yes
7329 if test "$aix_use_runtimelinking" = yes; then
7330 # Warning - without using the other runtime loading flags (-brtl),
7331 # -berok will link without error, but may produce a broken library.
7332 allow_undefined_flag
='-berok'
7333 # Determine the default libpath from the value encoded in an empty executable.
7334 cat >conftest.
$ac_ext <<_ACEOF
7337 cat confdefs.h
>>conftest.
$ac_ext
7338 cat >>conftest.
$ac_ext <<_ACEOF
7339 /* end confdefs.h. */
7349 rm -f conftest.
$ac_objext conftest
$ac_exeext
7350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7351 (eval $ac_link) 2>conftest.er1
7353 grep -v '^ *+' conftest.er1
>conftest.err
7355 cat conftest.err
>&5
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); } &&
7358 { ac_try
='test -z "$ac_c_werror_flag"
7359 || test ! -s conftest.err'
7360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); }; } &&
7365 { ac_try
='test -s conftest$ac_exeext'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; }; then
7372 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7374 # Check for a 64-bit object if we didn't find anything.
7375 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; }
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.
$ac_ext >&5
7382 rm -f conftest.err conftest.
$ac_objext \
7383 conftest
$ac_exeext conftest.
$ac_ext
7384 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7386 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7387 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"
7389 if test "$host_cpu" = ia64
; then
7390 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7391 allow_undefined_flag
="-z nodefs"
7392 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"
7394 # Determine the default libpath from the value encoded in an empty executable.
7395 cat >conftest.
$ac_ext <<_ACEOF
7398 cat confdefs.h
>>conftest.
$ac_ext
7399 cat >>conftest.
$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7410 rm -f conftest.
$ac_objext conftest
$ac_exeext
7411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7412 (eval $ac_link) 2>conftest.er1
7414 grep -v '^ *+' conftest.er1
>conftest.err
7416 cat conftest.err
>&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); } &&
7419 { ac_try
='test -z "$ac_c_werror_flag"
7420 || test ! -s conftest.err'
7421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425 (exit $ac_status); }; } &&
7426 { ac_try
='test -s conftest$ac_exeext'
7427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); }; }; then
7433 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7435 # Check for a 64-bit object if we didn't find anything.
7436 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; }
7439 echo "$as_me: failed program was:" >&5
7440 sed 's/^/| /' conftest.
$ac_ext >&5
7443 rm -f conftest.err conftest.
$ac_objext \
7444 conftest
$ac_exeext conftest.
$ac_ext
7445 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7447 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7448 # Warning - without using the other run time loading flags,
7449 # -berok will link without error, but may produce a broken library.
7450 no_undefined_flag
=' ${wl}-bernotok'
7451 allow_undefined_flag
=' ${wl}-berok'
7452 # Exported symbols can be pulled into shared objects from archives
7453 whole_archive_flag_spec
='$convenience'
7454 archive_cmds_need_lc
=yes
7455 # This is similar to how AIX traditionally builds its shared libraries.
7456 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'
7462 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)'
7463 hardcode_libdir_flag_spec
='-L$libdir'
7464 hardcode_minus_L
=yes
7465 # see comment about different semantics on the GNU ld section
7470 export_dynamic_flag_spec
=-rdynamic
7473 cygwin
* | mingw
* | pw32
*)
7474 # When not using gcc, we currently assume that we are using
7475 # Microsoft Visual C++.
7476 # hardcode_libdir_flag_spec is actually meaningless, as there is
7477 # no search path for DLLs.
7478 hardcode_libdir_flag_spec
=' '
7479 allow_undefined_flag
=unsupported
7480 # Tell ltmain to make .lib files, not .a files.
7482 # Tell ltmain to make .dll files, not .so files.
7484 # FIXME: Setting linknames here is a bad hack.
7485 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7486 # The linker will automatically build a .lib file if we build a DLL.
7487 old_archive_From_new_cmds
='true'
7488 # FIXME: Should let the user specify the lib program.
7489 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7490 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7491 enable_shared_with_static_runtimes
=yes
7494 darwin
* | rhapsody
*)
7496 rhapsody
* | darwin1.
[012])
7497 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7500 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7501 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7503 case ${MACOSX_DEPLOYMENT_TARGET} in
7505 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7508 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7514 archive_cmds_need_lc
=no
7516 hardcode_automatic
=yes
7517 hardcode_shlibpath_var
=unsupported
7518 whole_archive_flag_spec
=''
7519 link_all_deplibs
=yes
7520 if test "$GCC" = yes ; then
7521 output_verbose_link_cmd
='echo'
7522 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7523 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7524 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7525 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}'
7526 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}'
7528 case $cc_basename in
7530 output_verbose_link_cmd
='echo'
7531 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7532 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7533 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7534 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}'
7535 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}'
7545 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7546 hardcode_libdir_flag_spec
='-L$libdir'
7547 hardcode_shlibpath_var
=no
7554 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7555 # support. Future versions do this automatically, but an explicit c++rt0.o
7556 # does not break anything, and helps significantly (at the cost of a little
7559 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7560 hardcode_libdir_flag_spec
='-R$libdir'
7562 hardcode_shlibpath_var
=no
7565 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7567 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7569 hardcode_minus_L
=yes
7570 hardcode_shlibpath_var
=no
7573 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7574 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7575 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7576 hardcode_libdir_flag_spec
='-R$libdir'
7578 hardcode_shlibpath_var
=no
7582 if test "$GCC" = yes; then
7583 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'
7585 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'
7587 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7588 hardcode_libdir_separator
=:
7591 # hardcode_minus_L: Not really in the search PATH,
7592 # but as the default location of the library.
7593 hardcode_minus_L
=yes
7594 export_dynamic_flag_spec
='${wl}-E'
7598 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7599 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7601 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7603 if test "$with_gnu_ld" = no
; then
7604 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7605 hardcode_libdir_separator
=:
7608 export_dynamic_flag_spec
='${wl}-E'
7610 # hardcode_minus_L: Not really in the search PATH,
7611 # but as the default location of the library.
7612 hardcode_minus_L
=yes
7617 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7620 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7623 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7626 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7632 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7635 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7638 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7642 if test "$with_gnu_ld" = no
; then
7643 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7644 hardcode_libdir_separator
=:
7648 hardcode_libdir_flag_spec_ld
='+b $libdir'
7650 hardcode_shlibpath_var
=no
7654 export_dynamic_flag_spec
='${wl}-E'
7656 # hardcode_minus_L: Not really in the search PATH,
7657 # but as the default location of the library.
7658 hardcode_minus_L
=yes
7664 irix5
* | irix6
* | nonstopux
*)
7665 if test "$GCC" = yes; then
7666 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'
7668 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'
7669 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7671 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7672 hardcode_libdir_separator
=:
7673 link_all_deplibs
=yes
7677 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7678 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7680 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7682 hardcode_libdir_flag_spec
='-R$libdir'
7684 hardcode_shlibpath_var
=no
7688 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7690 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7691 hardcode_libdir_separator
=:
7692 hardcode_shlibpath_var
=no
7697 hardcode_shlibpath_var
=no
7698 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7699 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7700 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7701 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7702 export_dynamic_flag_spec
='${wl}-E'
7705 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7706 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7707 hardcode_libdir_flag_spec
='-R$libdir'
7710 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7711 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7718 hardcode_libdir_flag_spec
='-L$libdir'
7719 hardcode_minus_L
=yes
7720 allow_undefined_flag
=unsupported
7721 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'
7722 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7726 if test "$GCC" = yes; then
7727 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7728 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'
7730 allow_undefined_flag
=' -expect_unresolved \*'
7731 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'
7733 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7734 hardcode_libdir_separator
=:
7737 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7738 if test "$GCC" = yes; then
7739 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7740 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'
7741 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7743 allow_undefined_flag
=' -expect_unresolved \*'
7744 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'
7745 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7746 $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'
7748 # Both c and cxx compiler support -rpath directly
7749 hardcode_libdir_flag_spec
='-rpath $libdir'
7751 hardcode_libdir_separator
=:
7755 no_undefined_flag
=' -z text'
7756 if test "$GCC" = yes; then
7758 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7759 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7760 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7763 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7764 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7765 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7767 hardcode_libdir_flag_spec
='-R$libdir'
7768 hardcode_shlibpath_var
=no
7770 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7772 # The compiler driver will combine linker options so we
7773 # cannot just pass the convience library names through
7774 # without $wl, iff we do not link with $LD.
7775 # Luckily, gcc supports the same syntax we need for Sun Studio.
7776 # Supported since Solaris 2.6 (maybe 2.5.1?)
7779 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7781 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' ;;
7784 link_all_deplibs
=yes
7788 if test "x$host_vendor" = xsequent
; then
7789 # Use $CC to link under sequent, because it throws in some extra .o
7790 # files that make .init and .fini sections work.
7791 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7793 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7795 hardcode_libdir_flag_spec
='-L$libdir'
7797 hardcode_minus_L
=yes
7798 hardcode_shlibpath_var
=no
7802 case $host_vendor in
7804 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7805 hardcode_direct
=yes # is this really true???
7808 ## LD is ld it makes a PLAMLIB
7809 ## CC just makes a GrossModule.
7810 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7811 reload_cmds
='$CC -r -o $output$reload_objs'
7815 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7816 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7819 runpath_var
='LD_RUN_PATH'
7820 hardcode_shlibpath_var
=no
7824 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7825 hardcode_shlibpath_var
=no
7826 export_dynamic_flag_spec
='-Bexport'
7830 if test -d /usr
/nec
; then
7831 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7832 hardcode_shlibpath_var
=no
7833 runpath_var
=LD_RUN_PATH
7834 hardcode_runpath_var
=yes
7839 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
7840 no_undefined_flag
='${wl}-z,text'
7841 archive_cmds_need_lc
=no
7842 hardcode_shlibpath_var
=no
7843 runpath_var
='LD_RUN_PATH'
7845 if test "$GCC" = yes; then
7846 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7847 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7849 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7850 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7854 sysv5
* | sco3.2v5
* | sco5v6
*)
7855 # Note: We can NOT use -z defs as we might desire, because we do not
7856 # link with -lc, and that would cause any symbols used from libc to
7857 # always be unresolved, which means just about no library would
7858 # ever link correctly. If we're not using GNU ld we use -z text
7859 # though, which does catch some bad symbols but isn't as heavy-handed
7861 no_undefined_flag
='${wl}-z,text'
7862 allow_undefined_flag
='${wl}-z,nodefs'
7863 archive_cmds_need_lc
=no
7864 hardcode_shlibpath_var
=no
7865 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7866 hardcode_libdir_separator
=':'
7867 link_all_deplibs
=yes
7868 export_dynamic_flag_spec
='${wl}-Bexport'
7869 runpath_var
='LD_RUN_PATH'
7871 if test "$GCC" = yes; then
7872 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7873 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7875 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7876 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7881 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7882 hardcode_libdir_flag_spec
='-L$libdir'
7883 hardcode_shlibpath_var
=no
7892 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7893 echo "${ECHO_T}$ld_shlibs" >&6
7894 test "$ld_shlibs" = no
&& can_build_shared
=no
7897 # Do we need to explicitly link libc?
7899 case "x$archive_cmds_need_lc" in
7901 # Assume -lc should be added
7902 archive_cmds_need_lc
=yes
7904 if test "$enable_shared" = yes && test "$GCC" = yes; then
7905 case $archive_cmds in
7907 # FIXME: we may have to deal with multi-command sequences.
7910 # Test whether the compiler implicitly links with -lc since on some
7911 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7912 # to ld, don't add -lc before -lgcc.
7913 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7914 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7916 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7919 (eval $ac_compile) 2>&5
7921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922 (exit $ac_status); } 2>conftest.err
; then
7925 libobjs
=conftest.
$ac_objext
7927 wl
=$lt_prog_compiler_wl
7928 pic_flag
=$lt_prog_compiler_pic
7934 lt_save_allow_undefined_flag
=$allow_undefined_flag
7935 allow_undefined_flag
=
7936 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7937 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }
7942 archive_cmds_need_lc
=no
7944 archive_cmds_need_lc
=yes
7946 allow_undefined_flag
=$lt_save_allow_undefined_flag
7948 cat conftest.err
1>&5
7951 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7952 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7959 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7960 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7962 libname_spec
='lib$name'
7970 shlibpath_overrides_runpath
=unknown
7972 dynamic_linker
="$host_os ld.so"
7973 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7974 if test "$GCC" = yes; then
7975 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7976 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7977 # if the path contains ";" then we assume it to be the separator
7978 # otherwise default to the standard path separator (i.e. ":") - it is
7979 # assumed that no part of a normal pathname contains ";" but that should
7980 # okay in the real world where ";" in dirpaths is itself problematic.
7981 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7983 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7986 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7988 need_lib_prefix
=unknown
7989 hardcode_into_libs
=no
7991 # when you set need_version to no, make sure it does not cause -set_version
7992 # flags to be left without arguments
7993 need_version
=unknown
7998 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7999 shlibpath_var
=LIBPATH
8001 # AIX 3 has no versioning support, so we append a major version to the name.
8002 soname_spec
='${libname}${release}${shared_ext}$major'
8009 hardcode_into_libs
=yes
8010 if test "$host_cpu" = ia64
; then
8011 # AIX 5 supports IA64
8012 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8013 shlibpath_var
=LD_LIBRARY_PATH
8015 # With GCC up to 2.95.x, collect2 would create an import file
8016 # for dependence libraries. The import file would start with
8017 # the line `#! .'. This would cause the generated library to
8018 # depend on `.', always an invalid library. This was fixed in
8019 # development snapshots of GCC prior to 3.0.
8021 aix4 | aix4.
[01] | aix4.
[01].
*)
8022 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8024 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8031 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8032 # soname into executable. Probably we can add versioning support to
8033 # collect2, so additional links can be useful in future.
8034 if test "$aix_use_runtimelinking" = yes; then
8035 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8036 # instead of lib<name>.a to let people know that these are not
8037 # typical AIX shared libraries.
8038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8040 # We preserve .a as extension for shared libraries through AIX4.2
8041 # and later when we are not doing run time linking.
8042 library_names_spec
='${libname}${release}.a $libname.a'
8043 soname_spec
='${libname}${release}${shared_ext}$major'
8045 shlibpath_var
=LIBPATH
8050 library_names_spec
='$libname.ixlibrary $libname.a'
8051 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8052 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'
8056 library_names_spec
='${libname}${shared_ext}'
8057 dynamic_linker
="$host_os ld.so"
8058 shlibpath_var
=LIBRARY_PATH
8064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8065 soname_spec
='${libname}${release}${shared_ext}$major'
8066 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8067 shlibpath_var
=LD_LIBRARY_PATH
8068 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8069 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8070 # the default ld.so.conf also contains /usr/contrib/lib and
8071 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8072 # libtool to hard-code these into programs
8075 cygwin
* | mingw
* | pw32
*)
8076 version_type
=windows
8081 case $GCC,$host_os in
8082 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8083 library_names_spec
='$libname.dll.a'
8084 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8085 postinstall_cmds
='base_file=`basename \${file}`~
8086 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8087 dldir=$destdir/`dirname \$dlpath`~
8088 test -d \$dldir || mkdir -p \$dldir~
8089 $install_prog $dir/$dlname \$dldir/$dlname~
8090 chmod a+x \$dldir/$dlname'
8091 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8092 dlpath=$dir/\$dldll~
8094 shlibpath_overrides_runpath
=yes
8098 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8099 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8100 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8103 # MinGW DLLs use traditional 'lib' prefix
8104 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8105 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8106 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8107 # It is most probably a Windows format PATH printed by
8108 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8109 # path with ; separators, and with drive letters. We can handle the
8110 # drive letters (cygwin fileutils understands them), so leave them,
8111 # especially as we might pass files found there to a mingw objdump,
8112 # which wouldn't understand a cygwinified path. Ahh.
8113 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8115 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8119 # pw32 DLLs use 'pw' prefix rather than 'lib'
8120 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8126 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8129 dynamic_linker
='Win32 ld.exe'
8130 # FIXME: first we should search . and the directory the executable is in
8134 darwin
* | rhapsody
*)
8135 dynamic_linker
="$host_os dyld"
8139 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8140 soname_spec
='${libname}${release}${major}$shared_ext'
8141 shlibpath_overrides_runpath
=yes
8142 shlibpath_var
=DYLD_LIBRARY_PATH
8143 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8144 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8145 if test "$GCC" = yes; then
8146 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"`
8148 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8150 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8158 soname_spec
='${libname}${release}${shared_ext}$major'
8159 shlibpath_var
=LD_LIBRARY_PATH
8170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8171 soname_spec
='${libname}${release}${shared_ext}$major'
8172 shlibpath_var
=LD_LIBRARY_PATH
8173 shlibpath_overrides_runpath
=no
8174 hardcode_into_libs
=yes
8175 dynamic_linker
='GNU ld.so'
8178 freebsd
* | dragonfly
*)
8179 # DragonFly does not have aout. When/if they implement a new
8180 # versioning mechanism, adjust this.
8181 if test -x /usr
/bin
/objformat
; then
8182 objformat
=`/usr/bin/objformat`
8185 freebsd
[123]*) objformat
=aout
;;
8189 version_type
=freebsd-
$objformat
8190 case $version_type in
8192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8197 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8201 shlibpath_var
=LD_LIBRARY_PATH
8204 shlibpath_overrides_runpath
=yes
8206 freebsd3.
[01]* | freebsdelf3.
[01]*)
8207 shlibpath_overrides_runpath
=yes
8208 hardcode_into_libs
=yes
8210 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8211 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8212 shlibpath_overrides_runpath
=no
8213 hardcode_into_libs
=yes
8215 freebsd
*) # from 4.6 on
8216 shlibpath_overrides_runpath
=yes
8217 hardcode_into_libs
=yes
8226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8227 soname_spec
='${libname}${release}${shared_ext}$major'
8228 shlibpath_var
=LD_LIBRARY_PATH
8229 hardcode_into_libs
=yes
8232 hpux9
* | hpux10
* | hpux11
*)
8233 # Give a soname corresponding to the major version so that dld.sl refuses to
8234 # link against other versions.
8241 hardcode_into_libs
=yes
8242 dynamic_linker
="$host_os dld.so"
8243 shlibpath_var
=LD_LIBRARY_PATH
8244 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8246 soname_spec
='${libname}${release}${shared_ext}$major'
8247 if test "X$HPUX_IA64_MODE" = X32
; then
8248 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8250 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8252 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8256 hardcode_into_libs
=yes
8257 dynamic_linker
="$host_os dld.sl"
8258 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8259 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8261 soname_spec
='${libname}${release}${shared_ext}$major'
8262 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8263 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8267 dynamic_linker
="$host_os dld.sl"
8268 shlibpath_var
=SHLIB_PATH
8269 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8271 soname_spec
='${libname}${release}${shared_ext}$major'
8274 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8275 postinstall_cmds
='chmod 555 $lib'
8282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8283 soname_spec
='${libname}${release}${shared_ext}$major'
8284 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8285 shlibpath_var
=LD_LIBRARY_PATH
8286 shlibpath_overrides_runpath
=no
8287 hardcode_into_libs
=yes
8290 irix5
* | irix6
* | nonstopux
*)
8292 nonstopux
*) version_type
=nonstopux
;;
8294 if test "$lt_cv_prog_gnu_ld" = yes; then
8302 soname_spec
='${libname}${release}${shared_ext}$major'
8303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8305 irix5
* | nonstopux
*)
8309 case $LD in # libtool.m4 will add one of these switches to LD
8310 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8311 libsuff
= shlibsuff
= libmagic
=32-bit;;
8312 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8313 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8314 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8315 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8316 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8320 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8321 shlibpath_overrides_runpath
=no
8322 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8323 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8324 hardcode_into_libs
=yes
8327 # No shared lib support for Linux oldld, aout, or coff.
8328 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8332 # This must be Linux ELF.
8337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8338 soname_spec
='${libname}${release}${shared_ext}$major'
8339 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8340 shlibpath_var
=LD_LIBRARY_PATH
8341 shlibpath_overrides_runpath
=no
8342 # This implies no fast_install, which is unacceptable.
8343 # Some rework will be needed to allow for fast_install
8344 # before this can be enabled.
8345 hardcode_into_libs
=yes
8347 # find out which ABI we are using
8350 x86_64
*|s390x
*|powerpc64
*)
8351 echo '#line 8351 "configure"' > conftest.
$ac_ext
8352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8353 (eval $ac_compile) 2>&5
8355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8356 (exit $ac_status); }; then
8357 case `/usr/bin/file conftest.$ac_objext` in
8360 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8368 # Append ld.so.conf contents to the search path
8369 if test -f /etc
/ld.so.conf
; then
8370 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8371 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8374 # We used to test for /lib/ld.so.1 and disable shared libraries on
8375 # powerpc, because MkLinux only supported shared libraries with the
8376 # GNU dynamic linker. Since this was broken with cross compilers,
8377 # most powerpc-linux boxes support dynamic linking these days and
8378 # people can always --disable-shared, the test was removed, and we
8379 # assume the GNU/Linux dynamic linker is in use.
8380 dynamic_linker
='GNU/Linux ld.so'
8387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8388 soname_spec
='${libname}${release}${shared_ext}$major'
8389 shlibpath_var
=LD_LIBRARY_PATH
8390 shlibpath_overrides_runpath
=no
8391 hardcode_into_libs
=yes
8392 dynamic_linker
='GNU ld.so'
8399 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8401 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8402 dynamic_linker
='NetBSD (a.out) ld.so'
8404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8405 soname_spec
='${libname}${release}${shared_ext}$major'
8406 dynamic_linker
='NetBSD ld.elf_so'
8408 shlibpath_var
=LD_LIBRARY_PATH
8409 shlibpath_overrides_runpath
=yes
8410 hardcode_into_libs
=yes
8415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8416 shlibpath_var
=LD_LIBRARY_PATH
8417 shlibpath_overrides_runpath
=yes
8424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8425 soname_spec
='${libname}${release}${shared_ext}$major'
8426 shlibpath_var
=LD_LIBRARY_PATH
8427 shlibpath_overrides_runpath
=yes
8432 sys_lib_dlsearch_path_spec
="/usr/lib"
8434 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8436 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8437 *) need_version
=no
;;
8439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8440 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8441 shlibpath_var
=LD_LIBRARY_PATH
8442 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8444 openbsd2.
[89] | openbsd2.
[89].
*)
8445 shlibpath_overrides_runpath
=no
8448 shlibpath_overrides_runpath
=yes
8452 shlibpath_overrides_runpath
=yes
8457 libname_spec
='$name'
8460 library_names_spec
='$libname${shared_ext} $libname.a'
8461 dynamic_linker
='OS/2 ld.exe'
8462 shlibpath_var
=LIBPATH
8465 osf3
* | osf4
* | osf5
*)
8469 soname_spec
='${libname}${release}${shared_ext}$major'
8470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8471 shlibpath_var
=LD_LIBRARY_PATH
8472 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8473 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8481 soname_spec
='${libname}${release}${shared_ext}$major'
8482 shlibpath_var
=LD_LIBRARY_PATH
8483 shlibpath_overrides_runpath
=yes
8484 hardcode_into_libs
=yes
8485 # ldd complains unless libraries are executable
8486 postinstall_cmds
='chmod +x $lib'
8491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8492 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8493 shlibpath_var
=LD_LIBRARY_PATH
8494 shlibpath_overrides_runpath
=yes
8495 if test "$with_gnu_ld" = yes; then
8503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8504 soname_spec
='${libname}${release}${shared_ext}$major'
8505 shlibpath_var
=LD_LIBRARY_PATH
8506 case $host_vendor in
8508 shlibpath_overrides_runpath
=no
8510 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8511 runpath_var
=LD_RUN_PATH
8519 shlibpath_overrides_runpath
=no
8520 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8526 if test -d /usr
/nec
;then
8528 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8529 soname_spec
='$libname${shared_ext}.$major'
8530 shlibpath_var
=LD_LIBRARY_PATH
8534 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8535 version_type
=freebsd-elf
8538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8539 soname_spec
='${libname}${release}${shared_ext}$major'
8540 shlibpath_var
=LD_LIBRARY_PATH
8541 hardcode_into_libs
=yes
8542 if test "$with_gnu_ld" = yes; then
8543 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8544 shlibpath_overrides_runpath
=no
8546 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8547 shlibpath_overrides_runpath
=yes
8550 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8554 sys_lib_dlsearch_path_spec
='/usr/lib'
8559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8560 soname_spec
='${libname}${release}${shared_ext}$major'
8561 shlibpath_var
=LD_LIBRARY_PATH
8568 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8569 echo "${ECHO_T}$dynamic_linker" >&6
8570 test "$dynamic_linker" = no
&& can_build_shared
=no
8572 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8573 if test "$GCC" = yes; then
8574 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8577 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8578 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8580 if test -n "$hardcode_libdir_flag_spec" || \
8581 test -n "$runpath_var" || \
8582 test "X$hardcode_automatic" = "Xyes" ; then
8584 # We can hardcode non-existant directories.
8585 if test "$hardcode_direct" != no
&&
8586 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8587 # have to relink, otherwise we might link with an installed library
8588 # when we should be linking with a yet-to-be-installed one
8589 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8590 test "$hardcode_minus_L" != no
; then
8591 # Linking always hardcodes the temporary library directory.
8592 hardcode_action
=relink
8594 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8595 hardcode_action
=immediate
8598 # We cannot hardcode anything, or else we can only hardcode existing
8600 hardcode_action
=unsupported
8602 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8603 echo "${ECHO_T}$hardcode_action" >&6
8605 if test "$hardcode_action" = relink
; then
8606 # Fast installation is not supported
8607 enable_fast_install
=no
8608 elif test "$shlibpath_overrides_runpath" = yes ||
8609 test "$enable_shared" = no
; then
8610 # Fast installation is not necessary
8611 enable_fast_install
=needless
8616 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8617 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8618 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8619 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8620 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8621 echo "$as_me:$LINENO: result: yes" >&5
8622 echo "${ECHO_T}yes" >&6
8624 # FIXME - insert some real tests, host_os isn't really good enough
8627 if test -n "$STRIP" ; then
8628 striplib
="$STRIP -x"
8629 echo "$as_me:$LINENO: result: yes" >&5
8630 echo "${ECHO_T}yes" >&6
8632 echo "$as_me:$LINENO: result: no" >&5
8633 echo "${ECHO_T}no" >&6
8637 echo "$as_me:$LINENO: result: no" >&5
8638 echo "${ECHO_T}no" >&6
8643 if test "x$enable_dlopen" != xyes
; then
8644 enable_dlopen
=unknown
8645 enable_dlopen_self
=unknown
8646 enable_dlopen_self_static
=unknown
8653 lt_cv_dlopen
="load_add_on"
8655 lt_cv_dlopen_self
=yes
8659 lt_cv_dlopen
="LoadLibrary"
8664 lt_cv_dlopen
="dlopen"
8669 # if libdl is installed we need to link against it
8670 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8671 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8672 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8675 ac_check_lib_save_LIBS
=$LIBS
8677 cat >conftest.
$ac_ext <<_ACEOF
8680 cat confdefs.h
>>conftest.
$ac_ext
8681 cat >>conftest.
$ac_ext <<_ACEOF
8682 /* end confdefs.h. */
8684 /* Override any gcc2 internal prototype to avoid an error. */
8688 /* We use char because int might match the return type of a gcc2
8689 builtin and then its argument prototype would still apply. */
8699 rm -f conftest.
$ac_objext conftest
$ac_exeext
8700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8701 (eval $ac_link) 2>conftest.er1
8703 grep -v '^ *+' conftest.er1
>conftest.err
8705 cat conftest.err
>&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); } &&
8708 { ac_try
='test -z "$ac_c_werror_flag"
8709 || test ! -s conftest.err'
8710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); }; } &&
8715 { ac_try
='test -s conftest$ac_exeext'
8716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); }; }; then
8721 ac_cv_lib_dl_dlopen
=yes
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.
$ac_ext >&5
8726 ac_cv_lib_dl_dlopen
=no
8728 rm -f conftest.err conftest.
$ac_objext \
8729 conftest
$ac_exeext conftest.
$ac_ext
8730 LIBS
=$ac_check_lib_save_LIBS
8732 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8733 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8734 if test $ac_cv_lib_dl_dlopen = yes; then
8735 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8740 lt_cv_dlopen_self
=yes
8747 echo "$as_me:$LINENO: checking for shl_load" >&5
8748 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8749 if test "${ac_cv_func_shl_load+set}" = set; then
8750 echo $ECHO_N "(cached) $ECHO_C" >&6
8752 cat >conftest.
$ac_ext <<_ACEOF
8755 cat confdefs.h
>>conftest.
$ac_ext
8756 cat >>conftest.
$ac_ext <<_ACEOF
8757 /* end confdefs.h. */
8758 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8760 #define shl_load innocuous_shl_load
8762 /* System header to define __stub macros and hopefully few prototypes,
8763 which can conflict with char shl_load (); below.
8764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8765 <limits.h> exists even on freestanding compilers. */
8768 # include <limits.h>
8770 # include <assert.h>
8775 /* Override any gcc2 internal prototype to avoid an error. */
8780 /* We use char because int might match the return type of a gcc2
8781 builtin and then its argument prototype would still apply. */
8783 /* The GNU C library defines this for functions which it implements
8784 to always fail with ENOSYS. Some functions are actually named
8785 something starting with __ and the normal name is an alias. */
8786 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8789 char (*f) () = shl_load;
8798 return f != shl_load;
8803 rm -f conftest.
$ac_objext conftest
$ac_exeext
8804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8805 (eval $ac_link) 2>conftest.er1
8807 grep -v '^ *+' conftest.er1
>conftest.err
8809 cat conftest.err
>&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } &&
8812 { ac_try
='test -z "$ac_c_werror_flag"
8813 || test ! -s conftest.err'
8814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; } &&
8819 { ac_try
='test -s conftest$ac_exeext'
8820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); }; }; then
8825 ac_cv_func_shl_load
=yes
8827 echo "$as_me: failed program was:" >&5
8828 sed 's/^/| /' conftest.
$ac_ext >&5
8830 ac_cv_func_shl_load
=no
8832 rm -f conftest.err conftest.
$ac_objext \
8833 conftest
$ac_exeext conftest.
$ac_ext
8835 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8836 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8837 if test $ac_cv_func_shl_load = yes; then
8838 lt_cv_dlopen
="shl_load"
8840 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8841 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8842 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8843 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 ac_check_lib_save_LIBS
=$LIBS
8847 cat >conftest.
$ac_ext <<_ACEOF
8850 cat confdefs.h
>>conftest.
$ac_ext
8851 cat >>conftest.
$ac_ext <<_ACEOF
8852 /* end confdefs.h. */
8854 /* Override any gcc2 internal prototype to avoid an error. */
8858 /* We use char because int might match the return type of a gcc2
8859 builtin and then its argument prototype would still apply. */
8869 rm -f conftest.
$ac_objext conftest
$ac_exeext
8870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8871 (eval $ac_link) 2>conftest.er1
8873 grep -v '^ *+' conftest.er1
>conftest.err
8875 cat conftest.err
>&5
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); } &&
8878 { ac_try
='test -z "$ac_c_werror_flag"
8879 || test ! -s conftest.err'
8880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); }; } &&
8885 { ac_try
='test -s conftest$ac_exeext'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; }; then
8891 ac_cv_lib_dld_shl_load
=yes
8893 echo "$as_me: failed program was:" >&5
8894 sed 's/^/| /' conftest.
$ac_ext >&5
8896 ac_cv_lib_dld_shl_load
=no
8898 rm -f conftest.err conftest.
$ac_objext \
8899 conftest
$ac_exeext conftest.
$ac_ext
8900 LIBS
=$ac_check_lib_save_LIBS
8902 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8903 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8904 if test $ac_cv_lib_dld_shl_load = yes; then
8905 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8907 echo "$as_me:$LINENO: checking for dlopen" >&5
8908 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8909 if test "${ac_cv_func_dlopen+set}" = set; then
8910 echo $ECHO_N "(cached) $ECHO_C" >&6
8912 cat >conftest.
$ac_ext <<_ACEOF
8915 cat confdefs.h
>>conftest.
$ac_ext
8916 cat >>conftest.
$ac_ext <<_ACEOF
8917 /* end confdefs.h. */
8918 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8920 #define dlopen innocuous_dlopen
8922 /* System header to define __stub macros and hopefully few prototypes,
8923 which can conflict with char dlopen (); below.
8924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8925 <limits.h> exists even on freestanding compilers. */
8928 # include <limits.h>
8930 # include <assert.h>
8935 /* Override any gcc2 internal prototype to avoid an error. */
8940 /* We use char because int might match the return type of a gcc2
8941 builtin and then its argument prototype would still apply. */
8943 /* The GNU C library defines this for functions which it implements
8944 to always fail with ENOSYS. Some functions are actually named
8945 something starting with __ and the normal name is an alias. */
8946 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8949 char (*f) () = dlopen;
8963 rm -f conftest.
$ac_objext conftest
$ac_exeext
8964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8965 (eval $ac_link) 2>conftest.er1
8967 grep -v '^ *+' conftest.er1
>conftest.err
8969 cat conftest.err
>&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); } &&
8972 { ac_try
='test -z "$ac_c_werror_flag"
8973 || test ! -s conftest.err'
8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; } &&
8979 { ac_try
='test -s conftest$ac_exeext'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; }; then
8985 ac_cv_func_dlopen
=yes
8987 echo "$as_me: failed program was:" >&5
8988 sed 's/^/| /' conftest.
$ac_ext >&5
8990 ac_cv_func_dlopen
=no
8992 rm -f conftest.err conftest.
$ac_objext \
8993 conftest
$ac_exeext conftest.
$ac_ext
8995 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8996 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8997 if test $ac_cv_func_dlopen = yes; then
8998 lt_cv_dlopen
="dlopen"
9000 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9001 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9002 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9003 echo $ECHO_N "(cached) $ECHO_C" >&6
9005 ac_check_lib_save_LIBS
=$LIBS
9007 cat >conftest.
$ac_ext <<_ACEOF
9010 cat confdefs.h
>>conftest.
$ac_ext
9011 cat >>conftest.
$ac_ext <<_ACEOF
9012 /* end confdefs.h. */
9014 /* Override any gcc2 internal prototype to avoid an error. */
9018 /* We use char because int might match the return type of a gcc2
9019 builtin and then its argument prototype would still apply. */
9029 rm -f conftest.
$ac_objext conftest
$ac_exeext
9030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9031 (eval $ac_link) 2>conftest.er1
9033 grep -v '^ *+' conftest.er1
>conftest.err
9035 cat conftest.err
>&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); } &&
9038 { ac_try
='test -z "$ac_c_werror_flag"
9039 || test ! -s conftest.err'
9040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); }; } &&
9045 { ac_try
='test -s conftest$ac_exeext'
9046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); }; }; then
9051 ac_cv_lib_dl_dlopen
=yes
9053 echo "$as_me: failed program was:" >&5
9054 sed 's/^/| /' conftest.
$ac_ext >&5
9056 ac_cv_lib_dl_dlopen
=no
9058 rm -f conftest.err conftest.
$ac_objext \
9059 conftest
$ac_exeext conftest.
$ac_ext
9060 LIBS
=$ac_check_lib_save_LIBS
9062 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9063 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9064 if test $ac_cv_lib_dl_dlopen = yes; then
9065 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9067 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9068 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9069 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9070 echo $ECHO_N "(cached) $ECHO_C" >&6
9072 ac_check_lib_save_LIBS
=$LIBS
9074 cat >conftest.
$ac_ext <<_ACEOF
9077 cat confdefs.h
>>conftest.
$ac_ext
9078 cat >>conftest.
$ac_ext <<_ACEOF
9079 /* end confdefs.h. */
9081 /* Override any gcc2 internal prototype to avoid an error. */
9085 /* We use char because int might match the return type of a gcc2
9086 builtin and then its argument prototype would still apply. */
9096 rm -f conftest.
$ac_objext conftest
$ac_exeext
9097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9098 (eval $ac_link) 2>conftest.er1
9100 grep -v '^ *+' conftest.er1
>conftest.err
9102 cat conftest.err
>&5
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); } &&
9105 { ac_try
='test -z "$ac_c_werror_flag"
9106 || test ! -s conftest.err'
9107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111 (exit $ac_status); }; } &&
9112 { ac_try
='test -s conftest$ac_exeext'
9113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); }; }; then
9118 ac_cv_lib_svld_dlopen
=yes
9120 echo "$as_me: failed program was:" >&5
9121 sed 's/^/| /' conftest.
$ac_ext >&5
9123 ac_cv_lib_svld_dlopen
=no
9125 rm -f conftest.err conftest.
$ac_objext \
9126 conftest
$ac_exeext conftest.
$ac_ext
9127 LIBS
=$ac_check_lib_save_LIBS
9129 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9130 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9131 if test $ac_cv_lib_svld_dlopen = yes; then
9132 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9134 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9135 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9136 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9137 echo $ECHO_N "(cached) $ECHO_C" >&6
9139 ac_check_lib_save_LIBS
=$LIBS
9141 cat >conftest.
$ac_ext <<_ACEOF
9144 cat confdefs.h
>>conftest.
$ac_ext
9145 cat >>conftest.
$ac_ext <<_ACEOF
9146 /* end confdefs.h. */
9148 /* Override any gcc2 internal prototype to avoid an error. */
9152 /* We use char because int might match the return type of a gcc2
9153 builtin and then its argument prototype would still apply. */
9163 rm -f conftest.
$ac_objext conftest
$ac_exeext
9164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9165 (eval $ac_link) 2>conftest.er1
9167 grep -v '^ *+' conftest.er1
>conftest.err
9169 cat conftest.err
>&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); } &&
9172 { ac_try
='test -z "$ac_c_werror_flag"
9173 || test ! -s conftest.err'
9174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; } &&
9179 { ac_try
='test -s conftest$ac_exeext'
9180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); }; }; then
9185 ac_cv_lib_dld_dld_link
=yes
9187 echo "$as_me: failed program was:" >&5
9188 sed 's/^/| /' conftest.
$ac_ext >&5
9190 ac_cv_lib_dld_dld_link
=no
9192 rm -f conftest.err conftest.
$ac_objext \
9193 conftest
$ac_exeext conftest.
$ac_ext
9194 LIBS
=$ac_check_lib_save_LIBS
9196 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9197 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9198 if test $ac_cv_lib_dld_dld_link = yes; then
9199 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9220 if test "x$lt_cv_dlopen" != xno
; then
9226 case $lt_cv_dlopen in
9228 save_CPPFLAGS
="$CPPFLAGS"
9229 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9231 save_LDFLAGS
="$LDFLAGS"
9232 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9235 LIBS
="$lt_cv_dlopen_libs $LIBS"
9237 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9238 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9239 if test "${lt_cv_dlopen_self+set}" = set; then
9240 echo $ECHO_N "(cached) $ECHO_C" >&6
9242 if test "$cross_compiling" = yes; then :
9243 lt_cv_dlopen_self
=cross
9245 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9246 lt_status
=$lt_dlunknown
9247 cat > conftest.
$ac_ext <<EOF
9248 #line 9248 "configure"
9249 #include "confdefs.h"
9258 # define LT_DLGLOBAL RTLD_GLOBAL
9261 # define LT_DLGLOBAL DL_GLOBAL
9263 # define LT_DLGLOBAL 0
9267 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9268 find out it does not work in some platform. */
9269 #ifndef LT_DLLAZY_OR_NOW
9271 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9274 # define LT_DLLAZY_OR_NOW DL_LAZY
9277 # define LT_DLLAZY_OR_NOW RTLD_NOW
9280 # define LT_DLLAZY_OR_NOW DL_NOW
9282 # define LT_DLLAZY_OR_NOW 0
9290 extern "C" void exit (int);
9293 void fnord() { int i=42;}
9296 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9297 int status = $lt_dlunknown;
9301 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9302 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9303 /* dlclose (self); */
9311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9312 (eval $ac_link) 2>&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9316 (.
/conftest
; exit; ) >&5 2>/dev
/null
9319 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9320 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9321 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9324 # compilation failed
9325 lt_cv_dlopen_self
=no
9332 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9333 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9335 if test "x$lt_cv_dlopen_self" = xyes
; then
9336 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9337 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9338 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9339 if test "${lt_cv_dlopen_self_static+set}" = set; then
9340 echo $ECHO_N "(cached) $ECHO_C" >&6
9342 if test "$cross_compiling" = yes; then :
9343 lt_cv_dlopen_self_static
=cross
9345 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9346 lt_status
=$lt_dlunknown
9347 cat > conftest.
$ac_ext <<EOF
9348 #line 9348 "configure"
9349 #include "confdefs.h"
9358 # define LT_DLGLOBAL RTLD_GLOBAL
9361 # define LT_DLGLOBAL DL_GLOBAL
9363 # define LT_DLGLOBAL 0
9367 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9368 find out it does not work in some platform. */
9369 #ifndef LT_DLLAZY_OR_NOW
9371 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9374 # define LT_DLLAZY_OR_NOW DL_LAZY
9377 # define LT_DLLAZY_OR_NOW RTLD_NOW
9380 # define LT_DLLAZY_OR_NOW DL_NOW
9382 # define LT_DLLAZY_OR_NOW 0
9390 extern "C" void exit (int);
9393 void fnord() { int i=42;}
9396 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9397 int status = $lt_dlunknown;
9401 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9402 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9403 /* dlclose (self); */
9411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9412 (eval $ac_link) 2>&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9416 (.
/conftest
; exit; ) >&5 2>/dev
/null
9419 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9420 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9421 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9424 # compilation failed
9425 lt_cv_dlopen_self_static
=no
9432 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9433 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9436 CPPFLAGS
="$save_CPPFLAGS"
9437 LDFLAGS
="$save_LDFLAGS"
9442 case $lt_cv_dlopen_self in
9443 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9444 *) enable_dlopen_self
=unknown
;;
9447 case $lt_cv_dlopen_self_static in
9448 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9449 *) enable_dlopen_self_static
=unknown
;;
9454 # Report which library types will actually be built
9455 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9456 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9457 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9458 echo "${ECHO_T}$can_build_shared" >&6
9460 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9461 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9462 test "$can_build_shared" = "no" && enable_shared
=no
9464 # On AIX, shared libraries and static libraries use the same namespace, and
9465 # are all built from PIC.
9468 test "$enable_shared" = yes && enable_static
=no
9469 if test -n "$RANLIB"; then
9470 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9471 postinstall_cmds
='$RANLIB $lib'
9476 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9477 test "$enable_shared" = yes && enable_static
=no
9481 echo "$as_me:$LINENO: result: $enable_shared" >&5
9482 echo "${ECHO_T}$enable_shared" >&6
9484 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9485 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9486 # Make sure either enable_shared or enable_static is yes.
9487 test "$enable_shared" = yes || enable_static
=yes
9488 echo "$as_me:$LINENO: result: $enable_static" >&5
9489 echo "${ECHO_T}$enable_static" >&6
9491 # The else clause should only fire when bootstrapping the
9492 # libtool distribution, otherwise you forgot to ship ltmain.sh
9493 # with your package, and you will get complaints that there are
9494 # no rules to generate ltmain.sh.
9495 if test -f "$ltmain"; then
9496 # See if we are running on zsh, and set the options which allow our commands through
9497 # without removal of \ escapes.
9498 if test -n "${ZSH_VERSION+set}" ; then
9499 setopt NO_GLOB_SUBST
9501 # Now quote all the things that may contain metacharacters while being
9502 # careful not to overquote the AC_SUBSTed values. We take copies of the
9503 # variables and quote the copies for generation of the libtool script.
9504 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9506 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9507 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9508 deplibs_check_method reload_flag reload_cmds need_locks \
9509 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9510 lt_cv_sys_global_symbol_to_c_name_address \
9511 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9512 old_postinstall_cmds old_postuninstall_cmds \
9516 lt_prog_compiler_wl \
9517 lt_prog_compiler_pic \
9518 lt_prog_compiler_static \
9519 lt_prog_compiler_no_builtin_flag \
9520 export_dynamic_flag_spec \
9521 thread_safe_flag_spec \
9522 whole_archive_flag_spec \
9523 enable_shared_with_static_runtimes \
9525 old_archive_from_new_cmds \
9530 compiler_lib_search_path \
9532 archive_expsym_cmds \
9534 postuninstall_cmds \
9535 old_archive_from_expsyms_cmds \
9536 allow_undefined_flag \
9538 export_symbols_cmds \
9539 hardcode_libdir_flag_spec \
9540 hardcode_libdir_flag_spec_ld \
9541 hardcode_libdir_separator \
9542 hardcode_automatic \
9544 module_expsym_cmds \
9545 lt_cv_prog_compiler_c_o \
9550 old_archive_cmds | \
9551 old_archive_from_new_cmds | \
9553 archive_expsym_cmds | \
9555 module_expsym_cmds | \
9556 old_archive_from_expsyms_cmds | \
9557 export_symbols_cmds | \
9558 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9559 postinstall_cmds | postuninstall_cmds | \
9560 old_postinstall_cmds | old_postuninstall_cmds | \
9561 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9562 # Double-quote double-evaled strings.
9563 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9566 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9572 *'\$0 --fallback-echo"')
9573 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9578 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9580 { echo "$as_me:$LINENO: creating $ofile" >&5
9581 echo "$as_me: creating $ofile" >&6;}
9583 cat <<__EOF__ >> "$cfgfile"
9586 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9587 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9588 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9590 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9591 # Free Software Foundation, Inc.
9593 # This file is part of GNU Libtool:
9594 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9596 # This program is free software; you can redistribute it and/or modify
9597 # it under the terms of the GNU General Public License as published by
9598 # the Free Software Foundation; either version 2 of the License, or
9599 # (at your option) any later version.
9601 # This program is distributed in the hope that it will be useful, but
9602 # WITHOUT ANY WARRANTY; without even the implied warranty of
9603 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9604 # General Public License for more details.
9606 # You should have received a copy of the GNU General Public License
9607 # along with this program; if not, write to the Free Software
9608 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9610 # As a special exception to the GNU General Public License, if you
9611 # distribute this file as part of a program that contains a
9612 # configuration script generated by Autoconf, you may include it under
9613 # the same distribution terms that you use for the rest of that program.
9615 # A sed program that does not truncate output.
9618 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9619 Xsed="$SED -e 1s/^X//"
9621 # The HP-UX ksh and POSIX shell print the target directory to stdout
9623 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9625 # The names of the tagged configurations supported by this script.
9628 # ### BEGIN LIBTOOL CONFIG
9630 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9632 # Shell to use when invoking shell scripts.
9635 # Whether or not to build shared libraries.
9636 build_libtool_libs=$enable_shared
9638 # Whether or not to build static libraries.
9639 build_old_libs=$enable_static
9641 # Whether or not to add -lc for building shared libraries.
9642 build_libtool_need_lc=$archive_cmds_need_lc
9644 # Whether or not to disallow shared libs when runtime libs are static
9645 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9647 # Whether or not to optimize for fast installation.
9648 fast_install=$enable_fast_install
9651 host_alias=$host_alias
9656 build_alias=$build_alias
9660 # An echo program that does not interpret backslashes.
9665 AR_FLAGS=$lt_AR_FLAGS
9670 # LTCC compiler flags.
9671 LTCFLAGS=$lt_LTCFLAGS
9673 # A language-specific compiler.
9676 # Is the compiler the GNU C compiler?
9679 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9680 gcc_ver=\`gcc -dumpversion\`
9685 # The linker used to build libraries.
9688 # Whether we need hard or soft links.
9691 # A BSD-compatible nm program.
9694 # A symbol stripping program
9697 # Used to examine libraries when file_magic_cmd begins "file"
9698 MAGIC_CMD=$MAGIC_CMD
9700 # Used on cygwin: DLL creation program.
9703 # Used on cygwin: object dumper.
9706 # Used on cygwin: assembler.
9709 # The name of the directory that contains temporary libtool files.
9712 # How to create reloadable object files.
9713 reload_flag=$lt_reload_flag
9714 reload_cmds=$lt_reload_cmds
9716 # How to pass a linker flag through the compiler.
9717 wl=$lt_lt_prog_compiler_wl
9719 # Object file suffix (normally "o").
9722 # Old archive suffix (normally "a").
9725 # Shared library suffix (normally ".so").
9726 shrext_cmds='$shrext_cmds'
9728 # Executable file suffix (normally "").
9731 # Additional compiler flags for building library objects.
9732 pic_flag=$lt_lt_prog_compiler_pic
9735 # What is the maximum length of a command?
9736 max_cmd_len=$lt_cv_sys_max_cmd_len
9738 # Does compiler simultaneously support -c and -o options?
9739 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9741 # Must we lock files when doing compilation?
9742 need_locks=$lt_need_locks
9744 # Do we need the lib prefix for modules?
9745 need_lib_prefix=$need_lib_prefix
9747 # Do we need a version for libraries?
9748 need_version=$need_version
9750 # Whether dlopen is supported.
9751 dlopen_support=$enable_dlopen
9753 # Whether dlopen of programs is supported.
9754 dlopen_self=$enable_dlopen_self
9756 # Whether dlopen of statically linked programs is supported.
9757 dlopen_self_static=$enable_dlopen_self_static
9759 # Compiler flag to prevent dynamic linking.
9760 link_static_flag=$lt_lt_prog_compiler_static
9762 # Compiler flag to turn off builtin functions.
9763 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9765 # Compiler flag to allow reflexive dlopens.
9766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9768 # Compiler flag to generate shared objects directly from archives.
9769 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9771 # Compiler flag to generate thread-safe objects.
9772 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9774 # Library versioning type.
9775 version_type=$version_type
9777 # Format of library name prefix.
9778 libname_spec=$lt_libname_spec
9780 # List of archive names. First name is the real one, the rest are links.
9781 # The last name is the one that the linker finds with -lNAME.
9782 library_names_spec=$lt_library_names_spec
9784 # The coded name of the library, if different from the real name.
9785 soname_spec=$lt_soname_spec
9787 # Commands used to build and install an old-style archive.
9789 old_archive_cmds=$lt_old_archive_cmds
9790 old_postinstall_cmds=$lt_old_postinstall_cmds
9791 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9793 # Create an old-style archive from a shared archive.
9794 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9796 # Create a temporary old-style archive to link instead of a shared archive.
9797 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9799 # Commands used to build and install a shared archive.
9800 archive_cmds=$lt_archive_cmds
9801 archive_expsym_cmds=$lt_archive_expsym_cmds
9802 postinstall_cmds=$lt_postinstall_cmds
9803 postuninstall_cmds=$lt_postuninstall_cmds
9805 # Commands used to build a loadable module (assumed same as above if empty)
9806 module_cmds=$lt_module_cmds
9807 module_expsym_cmds=$lt_module_expsym_cmds
9809 # Commands to strip libraries.
9810 old_striplib=$lt_old_striplib
9811 striplib=$lt_striplib
9813 # Dependencies to place before the objects being linked to create a
9815 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9817 # Dependencies to place after the objects being linked to create a
9819 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9821 # Dependencies to place before the objects being linked to create a
9825 # Dependencies to place after the objects being linked to create a
9827 postdeps=$lt_postdeps
9829 # The library search path used internally by the compiler when linking
9831 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9833 # Method to check whether dependent libraries are shared objects.
9834 deplibs_check_method=$lt_deplibs_check_method
9836 # Command to use when deplibs_check_method == file_magic.
9837 file_magic_cmd=$lt_file_magic_cmd
9839 # Flag that allows shared libraries with undefined symbols to be built.
9840 allow_undefined_flag=$lt_allow_undefined_flag
9842 # Flag that forces no undefined symbols.
9843 no_undefined_flag=$lt_no_undefined_flag
9845 # Commands used to finish a libtool library installation in a directory.
9846 finish_cmds=$lt_finish_cmds
9848 # Same as above, but a single script fragment to be evaled but not shown.
9849 finish_eval=$lt_finish_eval
9851 # Take the output of nm and produce a listing of raw symbols and C names.
9852 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9854 # Transform the output of nm in a proper C declaration
9855 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9857 # Transform the output of nm in a C name address pair
9858 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9860 # This is the shared library runtime path variable.
9861 runpath_var=$runpath_var
9863 # This is the shared library path variable.
9864 shlibpath_var=$shlibpath_var
9866 # Is shlibpath searched before the hard-coded library search path?
9867 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9869 # How to hardcode a shared library path into an executable.
9870 hardcode_action=$hardcode_action
9872 # Whether we should hardcode library paths into libraries.
9873 hardcode_into_libs=$hardcode_into_libs
9875 # Flag to hardcode \$libdir into a binary during linking.
9876 # This must work even if \$libdir does not exist.
9877 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9879 # If ld is used when linking, flag to hardcode \$libdir into
9880 # a binary during linking. This must work even if \$libdir does
9882 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9884 # Whether we need a single -rpath flag with a separated argument.
9885 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9887 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9889 hardcode_direct=$hardcode_direct
9891 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9893 hardcode_minus_L=$hardcode_minus_L
9895 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9896 # the resulting binary.
9897 hardcode_shlibpath_var=$hardcode_shlibpath_var
9899 # Set to yes if building a shared library automatically hardcodes DIR into the library
9900 # and all subsequent libraries and executables linked against it.
9901 hardcode_automatic=$hardcode_automatic
9903 # Variables whose values should be saved in libtool wrapper scripts and
9904 # restored at relink time.
9905 variables_saved_for_relink="$variables_saved_for_relink"
9907 # Whether libtool must link a program against all its dependency libraries.
9908 link_all_deplibs=$link_all_deplibs
9910 # Compile-time system search path for libraries
9911 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9913 # Run-time system search path for libraries
9914 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9916 # Fix the shell variable \$srcfile for the compiler.
9917 fix_srcfile_path="$fix_srcfile_path"
9919 # Set to yes if exported symbols are required.
9920 always_export_symbols=$always_export_symbols
9922 # The commands to list exported symbols.
9923 export_symbols_cmds=$lt_export_symbols_cmds
9925 # The commands to extract the exported symbol list from a shared archive.
9926 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9928 # Symbols that should not be listed in the preloaded symbols.
9929 exclude_expsyms=$lt_exclude_expsyms
9931 # Symbols that must always be exported.
9932 include_expsyms=$lt_include_expsyms
9934 # ### END LIBTOOL CONFIG
9941 cat <<\EOF
>> "$cfgfile"
9943 # AIX sometimes has problems with the GCC collect2 program. For some
9944 # reason, if we set the COLLECT_NAMES environment variable, the problems
9945 # vanish in a puff of smoke.
9946 if test "X${COLLECT_NAMES+set}" != Xset
; then
9948 export COLLECT_NAMES
9954 # We use sed instead of cat because bash on DJGPP gets confused if
9955 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9956 # text mode, it properly converts lines to CR/LF. This bash problem
9957 # is reportedly fixed, but why not run on old versions too?
9958 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9960 mv -f "$cfgfile" "$ofile" || \
9961 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9965 # If there is no Makefile yet, we rely on a make rule to execute
9966 # `config.status --recheck' to rerun these tests and create the
9967 # libtool script then.
9968 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9969 if test -f "$ltmain_in"; then
9970 test -f Makefile
&& make "$ltmain"
9976 ac_cpp
='$CPP $CPPFLAGS'
9977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9984 # Check whether --with-tags or --without-tags was given.
9985 if test "${with_tags+set}" = set; then
9986 withval
="$with_tags"
9990 if test -f "$ltmain" && test -n "$tagnames"; then
9991 if test ! -f "${ofile}"; then
9992 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9993 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9996 if test -z "$LTCC"; then
9997 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9998 if test -z "$LTCC"; then
9999 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10000 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10002 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10003 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10006 if test -z "$LTCFLAGS"; then
10007 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10010 # Extract list of available tagged configurations in $ofile.
10011 # Note that this assumes the entire list is on one line.
10012 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10014 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10015 for tagname
in $tagnames; do
10017 # Check whether tagname contains only valid characters
10018 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10020 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10021 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10022 { (exit 1); exit 1; }; }
10026 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
10028 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10029 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10030 { (exit 1); exit 1; }; }
10033 # Update the list of available tags.
10034 if test -n "$tagname"; then
10035 echo appending configuration tag
\"$tagname\" to
$ofile
10039 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10040 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10041 (test "X$CXX" != "Xg++"))) ; then
10043 ac_cpp
='$CXXCPP $CPPFLAGS'
10044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10051 archive_cmds_need_lc_CXX
=no
10052 allow_undefined_flag_CXX
=
10053 always_export_symbols_CXX
=no
10054 archive_expsym_cmds_CXX
=
10055 export_dynamic_flag_spec_CXX
=
10056 hardcode_direct_CXX
=no
10057 hardcode_libdir_flag_spec_CXX
=
10058 hardcode_libdir_flag_spec_ld_CXX
=
10059 hardcode_libdir_separator_CXX
=
10060 hardcode_minus_L_CXX
=no
10061 hardcode_shlibpath_var_CXX
=unsupported
10062 hardcode_automatic_CXX
=no
10064 module_expsym_cmds_CXX
=
10065 link_all_deplibs_CXX
=unknown
10066 old_archive_cmds_CXX
=$old_archive_cmds
10067 no_undefined_flag_CXX
=
10068 whole_archive_flag_spec_CXX
=
10069 enable_shared_with_static_runtimes_CXX
=no
10071 # Dependencies to place before and after the object being linked:
10072 predep_objects_CXX
=
10073 postdep_objects_CXX
=
10076 compiler_lib_search_path_CXX
=
10078 # Source file extension for C++ test sources.
10081 # Object file extension for compiled C++ test sources.
10085 # Code to be used in simple compile tests
10086 lt_simple_compile_test_code
="int some_variable = 0;\n"
10088 # Code to be used in simple link tests
10089 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
10091 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10093 # If no C compiler was specified, use CC.
10096 # If no C compiler flags were specified, use CFLAGS.
10097 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10099 # Allow CC to be a program name with arguments.
10103 # save warnings/boilerplate of simple test code
10104 ac_outfile
=conftest.
$ac_objext
10105 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10106 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10107 _lt_compiler_boilerplate
=`cat conftest.err`
10110 ac_outfile
=conftest.
$ac_objext
10111 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10112 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10113 _lt_linker_boilerplate
=`cat conftest.err`
10117 # Allow CC to be a program name with arguments.
10122 lt_save_with_gnu_ld
=$with_gnu_ld
10123 lt_save_path_LD
=$lt_cv_path_LD
10124 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10125 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10127 $as_unset lt_cv_prog_gnu_ld
10129 if test -n "${lt_cv_path_LDCXX+set}"; then
10130 lt_cv_path_LD
=$lt_cv_path_LDCXX
10132 $as_unset lt_cv_path_LD
10134 test -z "${LDCXX+set}" || LD
=$LDCXX
10138 for cc_temp
in $compiler""; do
10140 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10141 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10146 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10149 # We don't want -fno-exception wen compiling C++ code, so set the
10150 # no_builtin_flag separately
10151 if test "$GXX" = yes; then
10152 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10154 lt_prog_compiler_no_builtin_flag_CXX
=
10157 if test "$GXX" = yes; then
10158 # Set up default GNU C++ configuration
10161 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10162 if test "${with_gnu_ld+set}" = set; then
10163 withval
="$with_gnu_ld"
10164 test "$withval" = no || with_gnu_ld
=yes
10169 if test "$GCC" = yes; then
10170 # Check if gcc -print-prog-name=ld gives a path.
10171 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10172 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10175 # gcc leaves a trailing carriage return which upsets mingw
10176 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10178 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10181 # Accept absolute paths.
10183 re_direlt
='/[^/][^/]*/\.\./'
10184 # Canonicalize the pathname of ld
10185 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10186 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10187 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10189 test -z "$LD" && LD
="$ac_prog"
10192 # If it fails, then pretend we aren't using GCC.
10196 # If it is relative, then search for the first ld in PATH.
10197 with_gnu_ld
=unknown
10200 elif test "$with_gnu_ld" = yes; then
10201 echo "$as_me:$LINENO: checking for GNU ld" >&5
10202 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10204 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10205 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10207 if test "${lt_cv_path_LD+set}" = set; then
10208 echo $ECHO_N "(cached) $ECHO_C" >&6
10210 if test -z "$LD"; then
10211 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10212 for ac_dir
in $PATH; do
10214 test -z "$ac_dir" && ac_dir
=.
10215 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10216 lt_cv_path_LD
="$ac_dir/$ac_prog"
10217 # Check to see if the program is GNU ld. I'd rather use --version,
10218 # but apparently some variants of GNU ld only accept -v.
10219 # Break only if it was the GNU/non-GNU ld that we prefer.
10220 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10221 *GNU
* |
*'with BFD'*)
10222 test "$with_gnu_ld" != no
&& break
10225 test "$with_gnu_ld" != yes && break
10232 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10236 LD
="$lt_cv_path_LD"
10237 if test -n "$LD"; then
10238 echo "$as_me:$LINENO: result: $LD" >&5
10239 echo "${ECHO_T}$LD" >&6
10241 echo "$as_me:$LINENO: result: no" >&5
10242 echo "${ECHO_T}no" >&6
10244 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10245 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10246 { (exit 1); exit 1; }; }
10247 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10248 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10249 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10250 echo $ECHO_N "(cached) $ECHO_C" >&6
10252 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10253 case `$LD -v 2>&1 </dev/null` in
10254 *GNU
* |
*'with BFD'*)
10255 lt_cv_prog_gnu_ld
=yes
10258 lt_cv_prog_gnu_ld
=no
10262 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10263 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10264 with_gnu_ld
=$lt_cv_prog_gnu_ld
10268 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10269 # archiving commands below assume that GNU ld is being used.
10270 if test "$with_gnu_ld" = yes; then
10271 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10272 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'
10274 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10275 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10277 # If archive_cmds runs LD, not CC, wlarc should be empty
10278 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10279 # investigate it a little bit more. (MM)
10282 # ancient GNU ld didn't support --whole-archive et. al.
10283 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10284 grep 'no-whole-archive' > /dev
/null
; then
10285 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10287 whole_archive_flag_spec_CXX
=
10293 # A generic and very simple default shared library creation
10294 # command for GNU C++ for the case where it uses the native
10295 # linker, instead of GNU ld. If possible, this setting should
10296 # overridden to take advantage of the native linker features on
10297 # the platform it is being used on.
10298 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10301 # Commands to make compiler produce verbose output that lists
10302 # what "hidden" libraries, object files and flags are used when
10303 # linking a shared library.
10304 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10312 # PORTME: fill in a description of your system's C++ link characteristics
10313 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10314 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10318 # FIXME: insert proper C++ library support
10322 if test "$host_cpu" = ia64
; then
10323 # On IA64, the linker does run time linking by default, so we don't
10324 # have to do anything special.
10325 aix_use_runtimelinking
=no
10326 exp_sym_flag
='-Bexport'
10329 aix_use_runtimelinking
=no
10331 # Test if we are trying to use run time linking or normal
10332 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10333 # need to do runtime linking.
10334 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10335 for ld_flag
in $LDFLAGS; do
10338 aix_use_runtimelinking
=yes
10346 exp_sym_flag
='-bexport'
10347 no_entry_flag
='-bnoentry'
10350 # When large executables or shared objects are built, AIX ld can
10351 # have problems creating the table of contents. If linking a library
10352 # or program results in "error TOC overflow" add -mminimal-toc to
10353 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10354 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10356 archive_cmds_CXX
=''
10357 hardcode_direct_CXX
=yes
10358 hardcode_libdir_separator_CXX
=':'
10359 link_all_deplibs_CXX
=yes
10361 if test "$GXX" = yes; then
10362 case $host_os in aix4.
[012]|aix4.
[012].
*)
10363 # We only want to do this on AIX 4.2 and lower, the check
10364 # below for broken collect2 doesn't work under 4.3+
10365 collect2name
=`${CC} -print-prog-name=collect2`
10366 if test -f "$collect2name" && \
10367 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10369 # We have reworked collect2
10370 hardcode_direct_CXX
=yes
10372 # We have old collect2
10373 hardcode_direct_CXX
=unsupported
10374 # It fails to find uninstalled libraries when the uninstalled
10375 # path is not listed in the libpath. Setting hardcode_minus_L
10376 # to unsupported forces relinking
10377 hardcode_minus_L_CXX
=yes
10378 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10379 hardcode_libdir_separator_CXX
=
10383 shared_flag
='-shared'
10384 if test "$aix_use_runtimelinking" = yes; then
10385 shared_flag
="$shared_flag "'${wl}-G'
10389 if test "$host_cpu" = ia64
; then
10390 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10391 # chokes on -Wl,-G. The following line is correct:
10394 if test "$aix_use_runtimelinking" = yes; then
10395 shared_flag
='${wl}-G'
10397 shared_flag
='${wl}-bM:SRE'
10402 # It seems that -bexpall does not export symbols beginning with
10403 # underscore (_), so it is better to generate a list of symbols to export.
10404 always_export_symbols_CXX
=yes
10405 if test "$aix_use_runtimelinking" = yes; then
10406 # Warning - without using the other runtime loading flags (-brtl),
10407 # -berok will link without error, but may produce a broken library.
10408 allow_undefined_flag_CXX
='-berok'
10409 # Determine the default libpath from the value encoded in an empty executable.
10410 cat >conftest.
$ac_ext <<_ACEOF
10413 cat confdefs.h
>>conftest.
$ac_ext
10414 cat >>conftest.
$ac_ext <<_ACEOF
10415 /* end confdefs.h. */
10425 rm -f conftest.
$ac_objext conftest
$ac_exeext
10426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10427 (eval $ac_link) 2>conftest.er1
10429 grep -v '^ *+' conftest.er1
>conftest.err
10431 cat conftest.err
>&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); } &&
10434 { ac_try
='test -z "$ac_cxx_werror_flag"
10435 || test ! -s conftest.err'
10436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10437 (eval $ac_try) 2>&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); }; } &&
10441 { ac_try
='test -s conftest$ac_exeext'
10442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10443 (eval $ac_try) 2>&5
10445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); }; }; then
10448 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10450 # Check for a 64-bit object if we didn't find anything.
10451 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; }
10454 echo "$as_me: failed program was:" >&5
10455 sed 's/^/| /' conftest.
$ac_ext >&5
10458 rm -f conftest.err conftest.
$ac_objext \
10459 conftest
$ac_exeext conftest.
$ac_ext
10460 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10462 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10464 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"
10466 if test "$host_cpu" = ia64
; then
10467 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10468 allow_undefined_flag_CXX
="-z nodefs"
10469 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"
10471 # Determine the default libpath from the value encoded in an empty executable.
10472 cat >conftest.
$ac_ext <<_ACEOF
10475 cat confdefs.h
>>conftest.
$ac_ext
10476 cat >>conftest.
$ac_ext <<_ACEOF
10477 /* end confdefs.h. */
10487 rm -f conftest.
$ac_objext conftest
$ac_exeext
10488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10489 (eval $ac_link) 2>conftest.er1
10491 grep -v '^ *+' conftest.er1
>conftest.err
10493 cat conftest.err
>&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); } &&
10496 { ac_try
='test -z "$ac_cxx_werror_flag"
10497 || test ! -s conftest.err'
10498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10499 (eval $ac_try) 2>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }; } &&
10503 { ac_try
='test -s conftest$ac_exeext'
10504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10505 (eval $ac_try) 2>&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); }; }; then
10510 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10512 # Check for a 64-bit object if we didn't find anything.
10513 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; }
10516 echo "$as_me: failed program was:" >&5
10517 sed 's/^/| /' conftest.
$ac_ext >&5
10520 rm -f conftest.err conftest.
$ac_objext \
10521 conftest
$ac_exeext conftest.
$ac_ext
10522 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10524 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10525 # Warning - without using the other run time loading flags,
10526 # -berok will link without error, but may produce a broken library.
10527 no_undefined_flag_CXX
=' ${wl}-bernotok'
10528 allow_undefined_flag_CXX
=' ${wl}-berok'
10529 # Exported symbols can be pulled into shared objects from archives
10530 whole_archive_flag_spec_CXX
='$convenience'
10531 archive_cmds_need_lc_CXX
=yes
10532 # This is similar to how AIX traditionally builds its shared libraries.
10533 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'
10539 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10540 allow_undefined_flag_CXX
=unsupported
10541 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10542 # support --undefined. This deserves some investigation. FIXME
10543 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10550 case $cc_basename in
10552 # FIXME: insert proper C++ library support
10558 cygwin
* | mingw
* | pw32
*)
10559 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10560 # as there is no search path for DLLs.
10561 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10562 allow_undefined_flag_CXX
=unsupported
10563 always_export_symbols_CXX
=no
10564 enable_shared_with_static_runtimes_CXX
=yes
10566 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10567 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'
10568 # If the export-symbols file already is a .def file (1st line
10569 # is EXPORTS), use it as is; otherwise, prepend...
10570 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10571 cp $export_symbols $output_objdir/$soname.def;
10573 echo EXPORTS > $output_objdir/$soname.def;
10574 cat $export_symbols >> $output_objdir/$soname.def;
10576 $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'
10581 darwin
* | rhapsody
*)
10583 rhapsody
* | darwin1.
[012])
10584 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10587 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10588 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10590 case ${MACOSX_DEPLOYMENT_TARGET} in
10592 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10595 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10601 archive_cmds_need_lc_CXX
=no
10602 hardcode_direct_CXX
=no
10603 hardcode_automatic_CXX
=yes
10604 hardcode_shlibpath_var_CXX
=unsupported
10605 whole_archive_flag_spec_CXX
=''
10606 link_all_deplibs_CXX
=yes
10608 if test "$GXX" = yes ; then
10609 lt_int_apple_cc_single_mod
=no
10610 output_verbose_link_cmd
='echo'
10611 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10612 lt_int_apple_cc_single_mod
=yes
10614 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10615 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10617 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'
10619 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10620 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10621 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10622 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}'
10624 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}'
10626 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}'
10628 case $cc_basename in
10630 output_verbose_link_cmd
='echo'
10631 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'
10632 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10633 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10634 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}'
10635 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}'
10645 case $cc_basename in
10647 # FIXME: insert proper C++ library support
10651 # Green Hills C++ Compiler
10652 # FIXME: insert proper C++ library support
10656 # FIXME: insert proper C++ library support
10662 # C++ shared libraries reported to be fairly broken before switch to ELF
10666 archive_cmds_need_lc_CXX
=no
10668 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10669 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10676 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10677 hardcode_libdir_separator_CXX
=:
10678 export_dynamic_flag_spec_CXX
='${wl}-E'
10679 hardcode_direct_CXX
=yes
10680 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10681 # but as the default
10682 # location of the library.
10684 case $cc_basename in
10686 # FIXME: insert proper C++ library support
10690 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'
10691 # Commands to make compiler produce verbose output that lists
10692 # what "hidden" libraries, object files and flags are used when
10693 # linking a shared library.
10695 # There doesn't appear to be a way to prevent this compiler from
10696 # explicitly linking system object files so we need to strip them
10697 # from the output so that they don't get included in the library
10699 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'
10702 if test "$GXX" = yes; then
10703 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'
10705 # FIXME: insert proper C++ library support
10712 if test $with_gnu_ld = no
; then
10713 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10714 hardcode_libdir_separator_CXX
=:
10718 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10721 export_dynamic_flag_spec_CXX
='${wl}-E'
10727 hardcode_direct_CXX
=no
10728 hardcode_shlibpath_var_CXX
=no
10731 hardcode_direct_CXX
=yes
10732 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10733 # but as the default
10734 # location of the library.
10738 case $cc_basename in
10740 # FIXME: insert proper C++ library support
10746 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10749 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10752 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10755 # Commands to make compiler produce verbose output that lists
10756 # what "hidden" libraries, object files and flags are used when
10757 # linking a shared library.
10759 # There doesn't appear to be a way to prevent this compiler from
10760 # explicitly linking system object files so we need to strip them
10761 # from the output so that they don't get included in the library
10763 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'
10766 if test "$GXX" = yes; then
10767 if test $with_gnu_ld = no
; then
10770 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10773 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10776 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'
10781 # FIXME: insert proper C++ library support
10788 hardcode_direct_CXX
=no
10789 hardcode_shlibpath_var_CXX
=no
10790 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10791 export_dynamic_flag_spec_CXX
='${wl}-E'
10792 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10793 # Instead, shared libraries are loaded at an image base (0x10000000 by
10794 # default) and relocated if they conflict, which is a slow very memory
10795 # consuming and fragmenting process. To avoid this, we pick a random,
10796 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10797 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10798 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'
10799 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'
10802 case $cc_basename in
10805 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'
10807 # Archives containing C++ object files must be created using
10808 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10809 # necessary to make sure instantiated templates are included
10811 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10814 if test "$GXX" = yes; then
10815 if test "$with_gnu_ld" = no
; then
10816 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'
10818 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'
10821 link_all_deplibs_CXX
=yes
10824 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10825 hardcode_libdir_separator_CXX
=:
10828 case $cc_basename in
10830 # Kuck and Associates, Inc. (KAI) C++ Compiler
10832 # KCC will only create a shared library if the output file
10833 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10834 # to its proper name (with version) after linking.
10835 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'
10836 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'
10837 # Commands to make compiler produce verbose output that lists
10838 # what "hidden" libraries, object files and flags are used when
10839 # linking a shared library.
10841 # There doesn't appear to be a way to prevent this compiler from
10842 # explicitly linking system object files so we need to strip them
10843 # from the output so that they don't get included in the library
10845 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'
10847 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10848 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10850 # Archives containing C++ object files must be created using
10851 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10852 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10857 # version 8.0 and above of icpc choke on multiply defined symbols
10858 # if we add $predep_objects and $postdep_objects, however 7.1 and
10859 # earlier do not add the objects themselves.
10860 case `$CC -V 2>&1` in
10862 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10863 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'
10865 *) # Version 8.0 or newer
10868 ia64
*) tmp_idyn
=' -i_dynamic';;
10870 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10871 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'
10874 archive_cmds_need_lc_CXX
=no
10875 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10876 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10877 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10880 # Portland Group C++ compiler
10881 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10882 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'
10884 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10885 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10886 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'
10890 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10891 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'
10893 runpath_var
=LD_RUN_PATH
10894 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10895 hardcode_libdir_separator_CXX
=:
10897 # Commands to make compiler produce verbose output that lists
10898 # what "hidden" libraries, object files and flags are used when
10899 # linking a shared library.
10901 # There doesn't appear to be a way to prevent this compiler from
10902 # explicitly linking system object files so we need to strip them
10903 # from the output so that they don't get included in the library
10905 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'
10910 # FIXME: insert proper C++ library support
10914 # FIXME: insert proper C++ library support
10918 case $cc_basename in
10920 # FIXME: insert proper C++ library support
10924 # FIXME: insert proper C++ library support
10930 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10931 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10933 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10934 hardcode_direct_CXX
=yes
10935 hardcode_shlibpath_var_CXX
=no
10937 # Workaround some broken pre-1.5 toolchains
10938 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10941 # C++ shared libraries are fairly broken
10945 hardcode_direct_CXX
=yes
10946 hardcode_shlibpath_var_CXX
=no
10947 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10948 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10949 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10950 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10951 export_dynamic_flag_spec_CXX
='${wl}-E'
10952 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10954 output_verbose_link_cmd
='echo'
10957 case $cc_basename in
10959 # Kuck and Associates, Inc. (KAI) C++ Compiler
10961 # KCC will only create a shared library if the output file
10962 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10963 # to its proper name (with version) after linking.
10964 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'
10966 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10967 hardcode_libdir_separator_CXX
=:
10969 # Archives containing C++ object files must be created using
10970 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10971 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10975 # Rational C++ 2.4.1
10976 # FIXME: insert proper C++ library support
10980 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10981 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'
10983 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10984 hardcode_libdir_separator_CXX
=:
10986 # Commands to make compiler produce verbose output that lists
10987 # what "hidden" libraries, object files and flags are used when
10988 # linking a shared library.
10990 # There doesn't appear to be a way to prevent this compiler from
10991 # explicitly linking system object files so we need to strip them
10992 # from the output so that they don't get included in the library
10994 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'
10997 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10998 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10999 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'
11001 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11002 hardcode_libdir_separator_CXX
=:
11004 # Commands to make compiler produce verbose output that lists
11005 # what "hidden" libraries, object files and flags are used when
11006 # linking a shared library.
11007 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11010 # FIXME: insert proper C++ library support
11017 case $cc_basename in
11019 # Kuck and Associates, Inc. (KAI) C++ Compiler
11021 # KCC will only create a shared library if the output file
11022 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11023 # to its proper name (with version) after linking.
11024 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'
11026 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11027 hardcode_libdir_separator_CXX
=:
11029 # Archives containing C++ object files must be created using
11030 # the KAI C++ compiler.
11031 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11034 # Rational C++ 2.4.1
11035 # FIXME: insert proper C++ library support
11039 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11040 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'
11041 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11042 echo "-hidden">> $lib.exp~
11043 $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~
11046 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11047 hardcode_libdir_separator_CXX
=:
11049 # Commands to make compiler produce verbose output that lists
11050 # what "hidden" libraries, object files and flags are used when
11051 # linking a shared library.
11053 # There doesn't appear to be a way to prevent this compiler from
11054 # explicitly linking system object files so we need to strip them
11055 # from the output so that they don't get included in the library
11057 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'
11060 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11061 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11062 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'
11064 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11065 hardcode_libdir_separator_CXX
=:
11067 # Commands to make compiler produce verbose output that lists
11068 # what "hidden" libraries, object files and flags are used when
11069 # linking a shared library.
11070 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11073 # FIXME: insert proper C++ library support
11080 # FIXME: insert proper C++ library support
11084 case $cc_basename in
11087 # FIXME: insert proper C++ library support
11092 # FIXME: insert proper C++ library support
11096 # FIXME: insert proper C++ library support
11102 case $cc_basename in
11104 # Sun C++ 4.2, 5.x and Centerline C++
11105 archive_cmds_need_lc_CXX
=yes
11106 no_undefined_flag_CXX
=' -zdefs'
11107 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11108 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11109 $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'
11111 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11112 hardcode_shlibpath_var_CXX
=no
11114 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11116 # The C++ compiler is used as linker so we must use $wl
11117 # flag to pass the commands to the underlying system
11118 # linker. We must also pass each convience library through
11119 # to the system linker between allextract/defaultextract.
11120 # The C++ compiler will combine linker options so we
11121 # cannot just pass the convience library names through
11123 # Supported since Solaris 2.6 (maybe 2.5.1?)
11124 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'
11127 link_all_deplibs_CXX
=yes
11129 output_verbose_link_cmd
='echo'
11131 # Archives containing C++ object files must be created using
11132 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11133 # necessary to make sure instantiated templates are included
11135 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11138 # Green Hills C++ Compiler
11139 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11141 # The C++ compiler must be used to create the archive.
11142 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11145 # GNU C++ compiler with Solaris linker
11146 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11147 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11148 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11149 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11150 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11151 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11153 # Commands to make compiler produce verbose output that lists
11154 # what "hidden" libraries, object files and flags are used when
11155 # linking a shared library.
11156 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11158 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11160 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11161 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11162 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11164 # Commands to make compiler produce verbose output that lists
11165 # what "hidden" libraries, object files and flags are used when
11166 # linking a shared library.
11167 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11170 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11175 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11176 no_undefined_flag_CXX
='${wl}-z,text'
11177 archive_cmds_need_lc_CXX
=no
11178 hardcode_shlibpath_var_CXX
=no
11179 runpath_var
='LD_RUN_PATH'
11181 case $cc_basename in
11183 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11184 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11187 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11188 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11192 sysv5
* | sco3.2v5
* | sco5v6
*)
11193 # Note: We can NOT use -z defs as we might desire, because we do not
11194 # link with -lc, and that would cause any symbols used from libc to
11195 # always be unresolved, which means just about no library would
11196 # ever link correctly. If we're not using GNU ld we use -z text
11197 # though, which does catch some bad symbols but isn't as heavy-handed
11199 # For security reasons, it is highly recommended that you always
11200 # use absolute paths for naming shared libraries, and exclude the
11201 # DT_RUNPATH tag from executables and libraries. But doing so
11202 # requires that you compile everything twice, which is a pain.
11203 # So that behaviour is only enabled if SCOABSPATH is set to a
11204 # non-empty value in the environment. Most likely only useful for
11205 # creating official distributions of packages.
11206 # This is a hack until libtool officially supports absolute path
11207 # names for shared libraries.
11208 no_undefined_flag_CXX
='${wl}-z,text'
11209 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11210 archive_cmds_need_lc_CXX
=no
11211 hardcode_shlibpath_var_CXX
=no
11212 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11213 hardcode_libdir_separator_CXX
=':'
11214 link_all_deplibs_CXX
=yes
11215 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11216 runpath_var
='LD_RUN_PATH'
11218 case $cc_basename in
11220 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11221 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11224 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11225 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11230 case $cc_basename in
11232 # NonStop-UX NCC 3.20
11233 # FIXME: insert proper C++ library support
11237 # FIXME: insert proper C++ library support
11243 # FIXME: insert proper C++ library support
11247 # FIXME: insert proper C++ library support
11251 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11252 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11253 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11259 cat > conftest.
$ac_ext <<EOF
11263 Foo (void) { a = 0; }
11269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11270 (eval $ac_compile) 2>&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; then
11274 # Parse the compiler output and extract the necessary
11275 # objects, libraries and library flags.
11277 # Sentinel used to keep track of whether or not we are before
11278 # the conftest object file.
11279 pre_test_object_deps_done
=no
11281 # The `*' in the case matches for architectures that use `case' in
11282 # $output_verbose_cmd can trigger glob expansion during the loop
11283 # eval without this substitution.
11284 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11286 for p
in `eval $output_verbose_link_cmd`; do
11290 # Some compilers place space between "-{L,R}" and the path.
11291 # Remove the space.
11292 if test $p = "-L" \
11293 ||
test $p = "-R"; then
11300 if test "$pre_test_object_deps_done" = no
; then
11303 # Internal compiler library paths should come after those
11304 # provided the user. The postdeps already come after the
11305 # user supplied libs so there is no need to process them.
11306 if test -z "$compiler_lib_search_path_CXX"; then
11307 compiler_lib_search_path_CXX
="${prev}${p}"
11309 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11312 # The "-l" case would never come before the object being
11313 # linked, so don't bother handling this case.
11316 if test -z "$postdeps_CXX"; then
11317 postdeps_CXX
="${prev}${p}"
11319 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11325 # This assumes that the test object file only shows up
11326 # once in the compiler output.
11327 if test "$p" = "conftest.$objext"; then
11328 pre_test_object_deps_done
=yes
11332 if test "$pre_test_object_deps_done" = no
; then
11333 if test -z "$predep_objects_CXX"; then
11334 predep_objects_CXX
="$p"
11336 predep_objects_CXX
="$predep_objects_CXX $p"
11339 if test -z "$postdep_objects_CXX"; then
11340 postdep_objects_CXX
="$p"
11342 postdep_objects_CXX
="$postdep_objects_CXX $p"
11347 *) ;; # Ignore the rest.
11355 echo "libtool.m4: error: problem compiling CXX test program"
11358 $rm -f confest.
$objext
11360 # PORTME: override above test on systems where it is broken
11363 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11364 # hack all around it, let's just trust "g++" to DTRT.
11365 predep_objects_CXX
=
11366 postdep_objects_CXX
=
11371 case $cc_basename in
11373 # Adding this requires a known-good setup of shared libraries for
11374 # Sun compiler versions before 5.6, else PIC objects from an old
11375 # archive will be linked into the output, leading to subtle bugs.
11376 postdeps_CXX
='-lCstd -lCrun'
11383 case " $postdeps_CXX " in
11384 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11387 lt_prog_compiler_wl_CXX
=
11388 lt_prog_compiler_pic_CXX
=
11389 lt_prog_compiler_static_CXX
=
11391 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11392 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11394 # C++ specific cases for pic, static, wl, etc.
11395 if test "$GXX" = yes; then
11396 lt_prog_compiler_wl_CXX
='-Wl,'
11397 lt_prog_compiler_static_CXX
='-static'
11401 # All AIX code is PIC.
11402 if test "$host_cpu" = ia64
; then
11403 # AIX 5 now supports IA64 processor
11404 lt_prog_compiler_static_CXX
='-Bstatic'
11408 # FIXME: we need at least 68020 code to build shared libraries, but
11409 # adding the `-m68020' flag to GCC prevents building anything better,
11411 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11413 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11414 # PIC is the default for these OSes.
11416 mingw
* | os2
* | pw32
*)
11417 # This hack is so that the source file can tell whether it is being
11418 # built for inclusion in a dll (and should export symbols for example).
11419 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11421 darwin
* | rhapsody
*)
11422 # PIC is the default on this platform
11423 # Common symbols not allowed in MH_DYLIB files
11424 lt_prog_compiler_pic_CXX
='-fno-common'
11427 # DJGPP does not support shared libraries at all
11428 lt_prog_compiler_pic_CXX
=
11431 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11432 # Instead, we relocate shared libraries at runtime.
11435 if test -d /usr
/nec
; then
11436 lt_prog_compiler_pic_CXX
=-Kconform_pic
11440 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11441 # not for PA HP-UX.
11446 lt_prog_compiler_pic_CXX
='-fPIC'
11451 lt_prog_compiler_pic_CXX
='-fPIC'
11457 # All AIX code is PIC.
11458 if test "$host_cpu" = ia64
; then
11459 # AIX 5 now supports IA64 processor
11460 lt_prog_compiler_static_CXX
='-Bstatic'
11462 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11466 case $cc_basename in
11468 # Green Hills C++ Compiler
11469 # _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"
11474 # PIC is the default on this platform
11475 # Common symbols not allowed in MH_DYLIB files
11476 case $cc_basename in
11478 lt_prog_compiler_pic_CXX
='-qnocommon'
11479 lt_prog_compiler_wl_CXX
='-Wl,'
11484 case $cc_basename in
11486 lt_prog_compiler_pic_CXX
='-KPIC'
11489 # Green Hills C++ Compiler
11490 lt_prog_compiler_pic_CXX
='-pic'
11496 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11497 # FreeBSD uses GNU C++
11499 hpux9
* | hpux10
* | hpux11
*)
11500 case $cc_basename in
11502 lt_prog_compiler_wl_CXX
='-Wl,'
11503 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11504 if test "$host_cpu" != ia64
; then
11505 lt_prog_compiler_pic_CXX
='+Z'
11509 lt_prog_compiler_wl_CXX
='-Wl,'
11510 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11516 lt_prog_compiler_pic_CXX
='+Z'
11525 # This is c89, which is MS Visual C++ (no shared libs)
11526 # Anyone wants to do a port?
11528 irix5
* | irix6
* | nonstopux
*)
11529 case $cc_basename in
11531 lt_prog_compiler_wl_CXX
='-Wl,'
11532 lt_prog_compiler_static_CXX
='-non_shared'
11533 # CC pic flag -KPIC is the default.
11540 case $cc_basename in
11543 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11544 lt_prog_compiler_pic_CXX
='-fPIC'
11548 lt_prog_compiler_wl_CXX
='-Wl,'
11549 lt_prog_compiler_pic_CXX
='-KPIC'
11550 lt_prog_compiler_static_CXX
='-static'
11553 # Portland Group C++ compiler.
11554 lt_prog_compiler_wl_CXX
='-Wl,'
11555 lt_prog_compiler_pic_CXX
='-fpic'
11556 lt_prog_compiler_static_CXX
='-Bstatic'
11560 # Make sure the PIC flag is empty. It appears that all Alpha
11561 # Linux and Compaq Tru64 Unix objects are PIC.
11562 lt_prog_compiler_pic_CXX
=
11563 lt_prog_compiler_static_CXX
='-non_shared'
11574 case $cc_basename in
11576 lt_prog_compiler_pic_CXX
='-W c,exportall'
11584 osf3
* | osf4
* | osf5
*)
11585 case $cc_basename in
11587 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11590 # Rational C++ 2.4.1
11591 lt_prog_compiler_pic_CXX
='-pic'
11594 # Digital/Compaq C++
11595 lt_prog_compiler_wl_CXX
='-Wl,'
11596 # Make sure the PIC flag is empty. It appears that all Alpha
11597 # Linux and Compaq Tru64 Unix objects are PIC.
11598 lt_prog_compiler_pic_CXX
=
11599 lt_prog_compiler_static_CXX
='-non_shared'
11608 case $cc_basename in
11610 # Sun C++ 4.2, 5.x and Centerline C++
11611 lt_prog_compiler_pic_CXX
='-KPIC'
11612 lt_prog_compiler_static_CXX
='-Bstatic'
11613 lt_prog_compiler_wl_CXX
='-Qoption ld '
11616 # Green Hills C++ Compiler
11617 lt_prog_compiler_pic_CXX
='-PIC'
11624 case $cc_basename in
11627 lt_prog_compiler_pic_CXX
='-pic'
11628 lt_prog_compiler_static_CXX
='-Bstatic'
11632 lt_prog_compiler_pic_CXX
='-pic'
11639 case $cc_basename in
11641 # NonStop-UX NCC 3.20
11642 lt_prog_compiler_pic_CXX
='-KPIC'
11648 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11649 case $cc_basename in
11651 lt_prog_compiler_wl_CXX
='-Wl,'
11652 lt_prog_compiler_pic_CXX
='-KPIC'
11653 lt_prog_compiler_static_CXX
='-Bstatic'
11660 lt_prog_compiler_can_build_shared_CXX
=no
11665 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11666 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11669 # Check to make sure the PIC flag actually works.
11671 if test -n "$lt_prog_compiler_pic_CXX"; then
11673 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11674 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11675 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 lt_prog_compiler_pic_works_CXX
=no
11679 ac_outfile
=conftest.
$ac_objext
11680 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11681 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11682 # Insert the option either (1) after the last *FLAGS variable, or
11683 # (2) before a word containing "conftest.", or (3) at the end.
11684 # Note that $ac_compile itself does not contain backslashes and begins
11685 # with a dollar sign (not a hyphen), so the echo should work correctly.
11686 # The option is referenced via a variable to avoid confusing sed.
11687 lt_compile
=`echo "$ac_compile" | $SED \
11688 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11689 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11690 -e 's:$: $lt_compiler_flag:'`
11691 (eval echo "\"\$as_me:11691: $lt_compile\"" >&5)
11692 (eval "$lt_compile" 2>conftest.err
)
11694 cat conftest.err
>&5
11695 echo "$as_me:11695: \$? = $ac_status" >&5
11696 if (exit $ac_status) && test -s "$ac_outfile"; then
11697 # The compiler can only warn and ignore the option if not recognized
11698 # So say no if there are warnings other than the usual output.
11699 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11700 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11701 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11702 lt_prog_compiler_pic_works_CXX
=yes
11708 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11709 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11711 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11712 case $lt_prog_compiler_pic_CXX in
11714 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11717 lt_prog_compiler_pic_CXX
=
11718 lt_prog_compiler_can_build_shared_CXX
=no
11723 # For platforms which do not support PIC, -DPIC is meaningless:
11725 lt_prog_compiler_pic_CXX
=
11728 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11733 # Check to make sure the static flag actually works.
11735 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11736 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11737 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11738 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11739 echo $ECHO_N "(cached) $ECHO_C" >&6
11741 lt_prog_compiler_static_works_CXX
=no
11742 save_LDFLAGS
="$LDFLAGS"
11743 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11744 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11745 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11746 # The linker can only warn and ignore the option if not recognized
11747 # So say no if there are warnings
11748 if test -s conftest.err
; then
11749 # Append any errors to the config.log.
11750 cat conftest.err
1>&5
11751 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11752 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11753 if diff conftest.exp conftest.er2
>/dev
/null
; then
11754 lt_prog_compiler_static_works_CXX
=yes
11757 lt_prog_compiler_static_works_CXX
=yes
11761 LDFLAGS
="$save_LDFLAGS"
11764 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11765 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11767 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11770 lt_prog_compiler_static_CXX
=
11774 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11775 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11776 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11777 echo $ECHO_N "(cached) $ECHO_C" >&6
11779 lt_cv_prog_compiler_c_o_CXX
=no
11780 $rm -r conftest
2>/dev
/null
11784 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11786 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11787 # Insert the option either (1) after the last *FLAGS variable, or
11788 # (2) before a word containing "conftest.", or (3) at the end.
11789 # Note that $ac_compile itself does not contain backslashes and begins
11790 # with a dollar sign (not a hyphen), so the echo should work correctly.
11791 lt_compile
=`echo "$ac_compile" | $SED \
11792 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11793 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11794 -e 's:$: $lt_compiler_flag:'`
11795 (eval echo "\"\$as_me:11795: $lt_compile\"" >&5)
11796 (eval "$lt_compile" 2>out
/conftest.err
)
11798 cat out
/conftest.err
>&5
11799 echo "$as_me:11799: \$? = $ac_status" >&5
11800 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11802 # The compiler can only warn and ignore the option if not recognized
11803 # So say no if there are warnings
11804 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11805 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11806 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11807 lt_cv_prog_compiler_c_o_CXX
=yes
11812 # SGI C++ compiler will create directory out/ii_files/ for
11813 # template instantiation
11814 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11815 $rm out
/* && rmdir out
11821 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11822 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11825 hard_links
="nottested"
11826 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11827 # do not overwrite the value of need_locks provided by the user
11828 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11829 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11832 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11834 ln conftest.a conftest.b
2>&5 || hard_links
=no
11835 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11836 echo "$as_me:$LINENO: result: $hard_links" >&5
11837 echo "${ECHO_T}$hard_links" >&6
11838 if test "$hard_links" = no
; then
11839 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11840 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11847 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11848 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11850 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11853 # If we're using GNU nm, then we don't want the "-C" option.
11854 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11855 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11856 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'
11858 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'
11862 export_symbols_cmds_CXX
="$ltdll_cmds"
11865 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'
11868 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11872 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11873 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11874 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11877 # Do we need to explicitly link libc?
11879 case "x$archive_cmds_need_lc_CXX" in
11881 # Assume -lc should be added
11882 archive_cmds_need_lc_CXX
=yes
11884 if test "$enable_shared" = yes && test "$GCC" = yes; then
11885 case $archive_cmds_CXX in
11887 # FIXME: we may have to deal with multi-command sequences.
11890 # Test whether the compiler implicitly links with -lc since on some
11891 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11892 # to ld, don't add -lc before -lgcc.
11893 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11894 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11896 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11899 (eval $ac_compile) 2>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); } 2>conftest.err
; then
11905 libobjs
=conftest.
$ac_objext
11907 wl
=$lt_prog_compiler_wl_CXX
11908 pic_flag
=$lt_prog_compiler_pic_CXX
11914 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11915 allow_undefined_flag_CXX
=
11916 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11917 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); }
11922 archive_cmds_need_lc_CXX
=no
11924 archive_cmds_need_lc_CXX
=yes
11926 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11928 cat conftest.err
1>&5
11931 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11932 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11939 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11940 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11941 library_names_spec
=
11942 libname_spec
='lib$name'
11946 postuninstall_cmds
=
11950 shlibpath_overrides_runpath
=unknown
11952 dynamic_linker
="$host_os ld.so"
11953 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11954 if test "$GCC" = yes; then
11955 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11956 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11957 # if the path contains ";" then we assume it to be the separator
11958 # otherwise default to the standard path separator (i.e. ":") - it is
11959 # assumed that no part of a normal pathname contains ";" but that should
11960 # okay in the real world where ";" in dirpaths is itself problematic.
11961 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11963 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11966 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11968 need_lib_prefix
=unknown
11969 hardcode_into_libs
=no
11971 # when you set need_version to no, make sure it does not cause -set_version
11972 # flags to be left without arguments
11973 need_version
=unknown
11978 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11979 shlibpath_var
=LIBPATH
11981 # AIX 3 has no versioning support, so we append a major version to the name.
11982 soname_spec
='${libname}${release}${shared_ext}$major'
11989 hardcode_into_libs
=yes
11990 if test "$host_cpu" = ia64
; then
11991 # AIX 5 supports IA64
11992 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11993 shlibpath_var
=LD_LIBRARY_PATH
11995 # With GCC up to 2.95.x, collect2 would create an import file
11996 # for dependence libraries. The import file would start with
11997 # the line `#! .'. This would cause the generated library to
11998 # depend on `.', always an invalid library. This was fixed in
11999 # development snapshots of GCC prior to 3.0.
12001 aix4 | aix4.
[01] | aix4.
[01].
*)
12002 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12004 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12007 can_build_shared
=no
12011 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12012 # soname into executable. Probably we can add versioning support to
12013 # collect2, so additional links can be useful in future.
12014 if test "$aix_use_runtimelinking" = yes; then
12015 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12016 # instead of lib<name>.a to let people know that these are not
12017 # typical AIX shared libraries.
12018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12020 # We preserve .a as extension for shared libraries through AIX4.2
12021 # and later when we are not doing run time linking.
12022 library_names_spec
='${libname}${release}.a $libname.a'
12023 soname_spec
='${libname}${release}${shared_ext}$major'
12025 shlibpath_var
=LIBPATH
12030 library_names_spec
='$libname.ixlibrary $libname.a'
12031 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12032 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'
12036 library_names_spec
='${libname}${shared_ext}'
12037 dynamic_linker
="$host_os ld.so"
12038 shlibpath_var
=LIBRARY_PATH
12044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12045 soname_spec
='${libname}${release}${shared_ext}$major'
12046 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12047 shlibpath_var
=LD_LIBRARY_PATH
12048 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12049 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12050 # the default ld.so.conf also contains /usr/contrib/lib and
12051 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12052 # libtool to hard-code these into programs
12055 cygwin
* | mingw
* | pw32
*)
12056 version_type
=windows
12061 case $GCC,$host_os in
12062 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12063 library_names_spec
='$libname.dll.a'
12064 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12065 postinstall_cmds
='base_file=`basename \${file}`~
12066 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12067 dldir=$destdir/`dirname \$dlpath`~
12068 test -d \$dldir || mkdir -p \$dldir~
12069 $install_prog $dir/$dlname \$dldir/$dlname~
12070 chmod a+x \$dldir/$dlname'
12071 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12072 dlpath=$dir/\$dldll~
12074 shlibpath_overrides_runpath
=yes
12078 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12079 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12080 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12083 # MinGW DLLs use traditional 'lib' prefix
12084 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12085 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12086 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12087 # It is most probably a Windows format PATH printed by
12088 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12089 # path with ; separators, and with drive letters. We can handle the
12090 # drive letters (cygwin fileutils understands them), so leave them,
12091 # especially as we might pass files found there to a mingw objdump,
12092 # which wouldn't understand a cygwinified path. Ahh.
12093 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12095 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12099 # pw32 DLLs use 'pw' prefix rather than 'lib'
12100 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12106 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12109 dynamic_linker
='Win32 ld.exe'
12110 # FIXME: first we should search . and the directory the executable is in
12114 darwin
* | rhapsody
*)
12115 dynamic_linker
="$host_os dyld"
12116 version_type
=darwin
12119 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12120 soname_spec
='${libname}${release}${major}$shared_ext'
12121 shlibpath_overrides_runpath
=yes
12122 shlibpath_var
=DYLD_LIBRARY_PATH
12123 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12124 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12125 if test "$GCC" = yes; then
12126 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"`
12128 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12130 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12138 soname_spec
='${libname}${release}${shared_ext}$major'
12139 shlibpath_var
=LD_LIBRARY_PATH
12150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12151 soname_spec
='${libname}${release}${shared_ext}$major'
12152 shlibpath_var
=LD_LIBRARY_PATH
12153 shlibpath_overrides_runpath
=no
12154 hardcode_into_libs
=yes
12155 dynamic_linker
='GNU ld.so'
12158 freebsd
* | dragonfly
*)
12159 # DragonFly does not have aout. When/if they implement a new
12160 # versioning mechanism, adjust this.
12161 if test -x /usr
/bin
/objformat
; then
12162 objformat
=`/usr/bin/objformat`
12165 freebsd
[123]*) objformat
=aout
;;
12166 *) objformat
=elf
;;
12169 version_type
=freebsd-
$objformat
12170 case $version_type in
12172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12177 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12181 shlibpath_var
=LD_LIBRARY_PATH
12184 shlibpath_overrides_runpath
=yes
12186 freebsd3.
[01]* | freebsdelf3.
[01]*)
12187 shlibpath_overrides_runpath
=yes
12188 hardcode_into_libs
=yes
12190 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12191 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12192 shlibpath_overrides_runpath
=no
12193 hardcode_into_libs
=yes
12195 freebsd
*) # from 4.6 on
12196 shlibpath_overrides_runpath
=yes
12197 hardcode_into_libs
=yes
12206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12207 soname_spec
='${libname}${release}${shared_ext}$major'
12208 shlibpath_var
=LD_LIBRARY_PATH
12209 hardcode_into_libs
=yes
12212 hpux9
* | hpux10
* | hpux11
*)
12213 # Give a soname corresponding to the major version so that dld.sl refuses to
12214 # link against other versions.
12221 hardcode_into_libs
=yes
12222 dynamic_linker
="$host_os dld.so"
12223 shlibpath_var
=LD_LIBRARY_PATH
12224 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12226 soname_spec
='${libname}${release}${shared_ext}$major'
12227 if test "X$HPUX_IA64_MODE" = X32
; then
12228 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12230 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12232 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12236 hardcode_into_libs
=yes
12237 dynamic_linker
="$host_os dld.sl"
12238 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12239 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12241 soname_spec
='${libname}${release}${shared_ext}$major'
12242 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12243 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12247 dynamic_linker
="$host_os dld.sl"
12248 shlibpath_var
=SHLIB_PATH
12249 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12251 soname_spec
='${libname}${release}${shared_ext}$major'
12254 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12255 postinstall_cmds
='chmod 555 $lib'
12262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12263 soname_spec
='${libname}${release}${shared_ext}$major'
12264 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12265 shlibpath_var
=LD_LIBRARY_PATH
12266 shlibpath_overrides_runpath
=no
12267 hardcode_into_libs
=yes
12270 irix5
* | irix6
* | nonstopux
*)
12272 nonstopux
*) version_type
=nonstopux
;;
12274 if test "$lt_cv_prog_gnu_ld" = yes; then
12282 soname_spec
='${libname}${release}${shared_ext}$major'
12283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12285 irix5
* | nonstopux
*)
12286 libsuff
= shlibsuff
=
12289 case $LD in # libtool.m4 will add one of these switches to LD
12290 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12291 libsuff
= shlibsuff
= libmagic
=32-bit;;
12292 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12293 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12294 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12295 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12296 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12300 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12301 shlibpath_overrides_runpath
=no
12302 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12303 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12304 hardcode_into_libs
=yes
12307 # No shared lib support for Linux oldld, aout, or coff.
12308 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12312 # This must be Linux ELF.
12317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12318 soname_spec
='${libname}${release}${shared_ext}$major'
12319 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12320 shlibpath_var
=LD_LIBRARY_PATH
12321 shlibpath_overrides_runpath
=no
12322 # This implies no fast_install, which is unacceptable.
12323 # Some rework will be needed to allow for fast_install
12324 # before this can be enabled.
12325 hardcode_into_libs
=yes
12327 # find out which ABI we are using
12329 case "$host_cpu" in
12330 x86_64
*|s390x
*|powerpc64
*)
12331 echo '#line 12331 "configure"' > conftest.
$ac_ext
12332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12333 (eval $ac_compile) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }; then
12337 case `/usr/bin/file conftest.$ac_objext` in
12340 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12348 # Append ld.so.conf contents to the search path
12349 if test -f /etc
/ld.so.conf
; then
12350 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12351 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12354 # We used to test for /lib/ld.so.1 and disable shared libraries on
12355 # powerpc, because MkLinux only supported shared libraries with the
12356 # GNU dynamic linker. Since this was broken with cross compilers,
12357 # most powerpc-linux boxes support dynamic linking these days and
12358 # people can always --disable-shared, the test was removed, and we
12359 # assume the GNU/Linux dynamic linker is in use.
12360 dynamic_linker
='GNU/Linux ld.so'
12367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12368 soname_spec
='${libname}${release}${shared_ext}$major'
12369 shlibpath_var
=LD_LIBRARY_PATH
12370 shlibpath_overrides_runpath
=no
12371 hardcode_into_libs
=yes
12372 dynamic_linker
='GNU ld.so'
12379 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12381 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12382 dynamic_linker
='NetBSD (a.out) ld.so'
12384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12385 soname_spec
='${libname}${release}${shared_ext}$major'
12386 dynamic_linker
='NetBSD ld.elf_so'
12388 shlibpath_var
=LD_LIBRARY_PATH
12389 shlibpath_overrides_runpath
=yes
12390 hardcode_into_libs
=yes
12395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12396 shlibpath_var
=LD_LIBRARY_PATH
12397 shlibpath_overrides_runpath
=yes
12404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12405 soname_spec
='${libname}${release}${shared_ext}$major'
12406 shlibpath_var
=LD_LIBRARY_PATH
12407 shlibpath_overrides_runpath
=yes
12412 sys_lib_dlsearch_path_spec
="/usr/lib"
12414 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12416 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12417 *) need_version
=no
;;
12419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12420 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12421 shlibpath_var
=LD_LIBRARY_PATH
12422 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12424 openbsd2.
[89] | openbsd2.
[89].
*)
12425 shlibpath_overrides_runpath
=no
12428 shlibpath_overrides_runpath
=yes
12432 shlibpath_overrides_runpath
=yes
12437 libname_spec
='$name'
12440 library_names_spec
='$libname${shared_ext} $libname.a'
12441 dynamic_linker
='OS/2 ld.exe'
12442 shlibpath_var
=LIBPATH
12445 osf3
* | osf4
* | osf5
*)
12449 soname_spec
='${libname}${release}${shared_ext}$major'
12450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12451 shlibpath_var
=LD_LIBRARY_PATH
12452 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12453 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12461 soname_spec
='${libname}${release}${shared_ext}$major'
12462 shlibpath_var
=LD_LIBRARY_PATH
12463 shlibpath_overrides_runpath
=yes
12464 hardcode_into_libs
=yes
12465 # ldd complains unless libraries are executable
12466 postinstall_cmds
='chmod +x $lib'
12471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12472 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12473 shlibpath_var
=LD_LIBRARY_PATH
12474 shlibpath_overrides_runpath
=yes
12475 if test "$with_gnu_ld" = yes; then
12483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12484 soname_spec
='${libname}${release}${shared_ext}$major'
12485 shlibpath_var
=LD_LIBRARY_PATH
12486 case $host_vendor in
12488 shlibpath_overrides_runpath
=no
12490 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12491 runpath_var
=LD_RUN_PATH
12499 shlibpath_overrides_runpath
=no
12500 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12506 if test -d /usr
/nec
;then
12508 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12509 soname_spec
='$libname${shared_ext}.$major'
12510 shlibpath_var
=LD_LIBRARY_PATH
12514 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12515 version_type
=freebsd-elf
12518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12519 soname_spec
='${libname}${release}${shared_ext}$major'
12520 shlibpath_var
=LD_LIBRARY_PATH
12521 hardcode_into_libs
=yes
12522 if test "$with_gnu_ld" = yes; then
12523 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12524 shlibpath_overrides_runpath
=no
12526 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12527 shlibpath_overrides_runpath
=yes
12530 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12534 sys_lib_dlsearch_path_spec
='/usr/lib'
12539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12540 soname_spec
='${libname}${release}${shared_ext}$major'
12541 shlibpath_var
=LD_LIBRARY_PATH
12548 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12549 echo "${ECHO_T}$dynamic_linker" >&6
12550 test "$dynamic_linker" = no
&& can_build_shared
=no
12552 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12553 if test "$GCC" = yes; then
12554 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12557 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12558 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12559 hardcode_action_CXX
=
12560 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12561 test -n "$runpath_var_CXX" || \
12562 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12564 # We can hardcode non-existant directories.
12565 if test "$hardcode_direct_CXX" != no
&&
12566 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12567 # have to relink, otherwise we might link with an installed library
12568 # when we should be linking with a yet-to-be-installed one
12569 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12570 test "$hardcode_minus_L_CXX" != no
; then
12571 # Linking always hardcodes the temporary library directory.
12572 hardcode_action_CXX
=relink
12574 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12575 hardcode_action_CXX
=immediate
12578 # We cannot hardcode anything, or else we can only hardcode existing
12580 hardcode_action_CXX
=unsupported
12582 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12583 echo "${ECHO_T}$hardcode_action_CXX" >&6
12585 if test "$hardcode_action_CXX" = relink
; then
12586 # Fast installation is not supported
12587 enable_fast_install
=no
12588 elif test "$shlibpath_overrides_runpath" = yes ||
12589 test "$enable_shared" = no
; then
12590 # Fast installation is not necessary
12591 enable_fast_install
=needless
12595 # The else clause should only fire when bootstrapping the
12596 # libtool distribution, otherwise you forgot to ship ltmain.sh
12597 # with your package, and you will get complaints that there are
12598 # no rules to generate ltmain.sh.
12599 if test -f "$ltmain"; then
12600 # See if we are running on zsh, and set the options which allow our commands through
12601 # without removal of \ escapes.
12602 if test -n "${ZSH_VERSION+set}" ; then
12603 setopt NO_GLOB_SUBST
12605 # Now quote all the things that may contain metacharacters while being
12606 # careful not to overquote the AC_SUBSTed values. We take copies of the
12607 # variables and quote the copies for generation of the libtool script.
12608 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12610 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12611 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12612 deplibs_check_method reload_flag reload_cmds need_locks \
12613 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12614 lt_cv_sys_global_symbol_to_c_name_address \
12615 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12616 old_postinstall_cmds old_postuninstall_cmds \
12620 lt_prog_compiler_wl_CXX \
12621 lt_prog_compiler_pic_CXX \
12622 lt_prog_compiler_static_CXX \
12623 lt_prog_compiler_no_builtin_flag_CXX \
12624 export_dynamic_flag_spec_CXX \
12625 thread_safe_flag_spec_CXX \
12626 whole_archive_flag_spec_CXX \
12627 enable_shared_with_static_runtimes_CXX \
12628 old_archive_cmds_CXX \
12629 old_archive_from_new_cmds_CXX \
12630 predep_objects_CXX \
12631 postdep_objects_CXX \
12634 compiler_lib_search_path_CXX \
12636 archive_expsym_cmds_CXX \
12637 postinstall_cmds_CXX \
12638 postuninstall_cmds_CXX \
12639 old_archive_from_expsyms_cmds_CXX \
12640 allow_undefined_flag_CXX \
12641 no_undefined_flag_CXX \
12642 export_symbols_cmds_CXX \
12643 hardcode_libdir_flag_spec_CXX \
12644 hardcode_libdir_flag_spec_ld_CXX \
12645 hardcode_libdir_separator_CXX \
12646 hardcode_automatic_CXX \
12648 module_expsym_cmds_CXX \
12649 lt_cv_prog_compiler_c_o_CXX \
12650 exclude_expsyms_CXX \
12651 include_expsyms_CXX
; do
12654 old_archive_cmds_CXX | \
12655 old_archive_from_new_cmds_CXX | \
12656 archive_cmds_CXX | \
12657 archive_expsym_cmds_CXX | \
12658 module_cmds_CXX | \
12659 module_expsym_cmds_CXX | \
12660 old_archive_from_expsyms_cmds_CXX | \
12661 export_symbols_cmds_CXX | \
12662 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12663 postinstall_cmds | postuninstall_cmds | \
12664 old_postinstall_cmds | old_postuninstall_cmds | \
12665 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12666 # Double-quote double-evaled strings.
12667 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12670 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12676 *'\$0 --fallback-echo"')
12677 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12683 cat <<__EOF__ >> "$cfgfile"
12684 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12686 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12688 # Shell to use when invoking shell scripts.
12691 # Whether or not to build shared libraries.
12692 build_libtool_libs=$enable_shared
12694 # Whether or not to build static libraries.
12695 build_old_libs=$enable_static
12697 # Whether or not to add -lc for building shared libraries.
12698 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12700 # Whether or not to disallow shared libs when runtime libs are static
12701 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12703 # Whether or not to optimize for fast installation.
12704 fast_install=$enable_fast_install
12707 host_alias=$host_alias
12711 # The build system.
12712 build_alias=$build_alias
12716 # An echo program that does not interpret backslashes.
12721 AR_FLAGS=$lt_AR_FLAGS
12726 # LTCC compiler flags.
12727 LTCFLAGS=$lt_LTCFLAGS
12729 # A language-specific compiler.
12730 CC=$lt_compiler_CXX
12732 # Is the compiler the GNU C compiler?
12735 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12736 gcc_ver=\`gcc -dumpversion\`
12741 # The linker used to build libraries.
12744 # Whether we need hard or soft links.
12747 # A BSD-compatible nm program.
12750 # A symbol stripping program
12753 # Used to examine libraries when file_magic_cmd begins "file"
12754 MAGIC_CMD=$MAGIC_CMD
12756 # Used on cygwin: DLL creation program.
12759 # Used on cygwin: object dumper.
12762 # Used on cygwin: assembler.
12765 # The name of the directory that contains temporary libtool files.
12768 # How to create reloadable object files.
12769 reload_flag=$lt_reload_flag
12770 reload_cmds=$lt_reload_cmds
12772 # How to pass a linker flag through the compiler.
12773 wl=$lt_lt_prog_compiler_wl_CXX
12775 # Object file suffix (normally "o").
12776 objext="$ac_objext"
12778 # Old archive suffix (normally "a").
12781 # Shared library suffix (normally ".so").
12782 shrext_cmds='$shrext_cmds'
12784 # Executable file suffix (normally "").
12787 # Additional compiler flags for building library objects.
12788 pic_flag=$lt_lt_prog_compiler_pic_CXX
12791 # What is the maximum length of a command?
12792 max_cmd_len=$lt_cv_sys_max_cmd_len
12794 # Does compiler simultaneously support -c and -o options?
12795 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12797 # Must we lock files when doing compilation?
12798 need_locks=$lt_need_locks
12800 # Do we need the lib prefix for modules?
12801 need_lib_prefix=$need_lib_prefix
12803 # Do we need a version for libraries?
12804 need_version=$need_version
12806 # Whether dlopen is supported.
12807 dlopen_support=$enable_dlopen
12809 # Whether dlopen of programs is supported.
12810 dlopen_self=$enable_dlopen_self
12812 # Whether dlopen of statically linked programs is supported.
12813 dlopen_self_static=$enable_dlopen_self_static
12815 # Compiler flag to prevent dynamic linking.
12816 link_static_flag=$lt_lt_prog_compiler_static_CXX
12818 # Compiler flag to turn off builtin functions.
12819 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12821 # Compiler flag to allow reflexive dlopens.
12822 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12824 # Compiler flag to generate shared objects directly from archives.
12825 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12827 # Compiler flag to generate thread-safe objects.
12828 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12830 # Library versioning type.
12831 version_type=$version_type
12833 # Format of library name prefix.
12834 libname_spec=$lt_libname_spec
12836 # List of archive names. First name is the real one, the rest are links.
12837 # The last name is the one that the linker finds with -lNAME.
12838 library_names_spec=$lt_library_names_spec
12840 # The coded name of the library, if different from the real name.
12841 soname_spec=$lt_soname_spec
12843 # Commands used to build and install an old-style archive.
12845 old_archive_cmds=$lt_old_archive_cmds_CXX
12846 old_postinstall_cmds=$lt_old_postinstall_cmds
12847 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12849 # Create an old-style archive from a shared archive.
12850 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12852 # Create a temporary old-style archive to link instead of a shared archive.
12853 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12855 # Commands used to build and install a shared archive.
12856 archive_cmds=$lt_archive_cmds_CXX
12857 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12858 postinstall_cmds=$lt_postinstall_cmds
12859 postuninstall_cmds=$lt_postuninstall_cmds
12861 # Commands used to build a loadable module (assumed same as above if empty)
12862 module_cmds=$lt_module_cmds_CXX
12863 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12865 # Commands to strip libraries.
12866 old_striplib=$lt_old_striplib
12867 striplib=$lt_striplib
12869 # Dependencies to place before the objects being linked to create a
12871 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12873 # Dependencies to place after the objects being linked to create a
12875 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12877 # Dependencies to place before the objects being linked to create a
12879 predeps=$lt_predeps_CXX
12881 # Dependencies to place after the objects being linked to create a
12883 postdeps=$lt_postdeps_CXX
12885 # The library search path used internally by the compiler when linking
12886 # a shared library.
12887 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12889 # Method to check whether dependent libraries are shared objects.
12890 deplibs_check_method=$lt_deplibs_check_method
12892 # Command to use when deplibs_check_method == file_magic.
12893 file_magic_cmd=$lt_file_magic_cmd
12895 # Flag that allows shared libraries with undefined symbols to be built.
12896 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12898 # Flag that forces no undefined symbols.
12899 no_undefined_flag=$lt_no_undefined_flag_CXX
12901 # Commands used to finish a libtool library installation in a directory.
12902 finish_cmds=$lt_finish_cmds
12904 # Same as above, but a single script fragment to be evaled but not shown.
12905 finish_eval=$lt_finish_eval
12907 # Take the output of nm and produce a listing of raw symbols and C names.
12908 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12910 # Transform the output of nm in a proper C declaration
12911 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12913 # Transform the output of nm in a C name address pair
12914 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12916 # This is the shared library runtime path variable.
12917 runpath_var=$runpath_var
12919 # This is the shared library path variable.
12920 shlibpath_var=$shlibpath_var
12922 # Is shlibpath searched before the hard-coded library search path?
12923 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12925 # How to hardcode a shared library path into an executable.
12926 hardcode_action=$hardcode_action_CXX
12928 # Whether we should hardcode library paths into libraries.
12929 hardcode_into_libs=$hardcode_into_libs
12931 # Flag to hardcode \$libdir into a binary during linking.
12932 # This must work even if \$libdir does not exist.
12933 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12935 # If ld is used when linking, flag to hardcode \$libdir into
12936 # a binary during linking. This must work even if \$libdir does
12938 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12940 # Whether we need a single -rpath flag with a separated argument.
12941 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12943 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12944 # resulting binary.
12945 hardcode_direct=$hardcode_direct_CXX
12947 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12948 # resulting binary.
12949 hardcode_minus_L=$hardcode_minus_L_CXX
12951 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12952 # the resulting binary.
12953 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12955 # Set to yes if building a shared library automatically hardcodes DIR into the library
12956 # and all subsequent libraries and executables linked against it.
12957 hardcode_automatic=$hardcode_automatic_CXX
12959 # Variables whose values should be saved in libtool wrapper scripts and
12960 # restored at relink time.
12961 variables_saved_for_relink="$variables_saved_for_relink"
12963 # Whether libtool must link a program against all its dependency libraries.
12964 link_all_deplibs=$link_all_deplibs_CXX
12966 # Compile-time system search path for libraries
12967 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12969 # Run-time system search path for libraries
12970 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12972 # Fix the shell variable \$srcfile for the compiler.
12973 fix_srcfile_path="$fix_srcfile_path_CXX"
12975 # Set to yes if exported symbols are required.
12976 always_export_symbols=$always_export_symbols_CXX
12978 # The commands to list exported symbols.
12979 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12981 # The commands to extract the exported symbol list from a shared archive.
12982 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12984 # Symbols that should not be listed in the preloaded symbols.
12985 exclude_expsyms=$lt_exclude_expsyms_CXX
12987 # Symbols that must always be exported.
12988 include_expsyms=$lt_include_expsyms_CXX
12990 # ### END LIBTOOL TAG CONFIG: $tagname
12996 # If there is no Makefile yet, we rely on a make rule to execute
12997 # `config.status --recheck' to rerun these tests and create the
12998 # libtool script then.
12999 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13000 if test -f "$ltmain_in"; then
13001 test -f Makefile
&& make "$ltmain"
13007 ac_cpp
='$CPP $CPPFLAGS'
13008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13016 with_gnu_ldcxx
=$with_gnu_ld
13017 with_gnu_ld
=$lt_save_with_gnu_ld
13018 lt_cv_path_LDCXX
=$lt_cv_path_LD
13019 lt_cv_path_LD
=$lt_save_path_LD
13020 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13021 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13029 if test -n "$F77" && test "X$F77" != "Xno"; then
13032 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13033 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13034 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13037 archive_cmds_need_lc_F77
=no
13038 allow_undefined_flag_F77
=
13039 always_export_symbols_F77
=no
13040 archive_expsym_cmds_F77
=
13041 export_dynamic_flag_spec_F77
=
13042 hardcode_direct_F77
=no
13043 hardcode_libdir_flag_spec_F77
=
13044 hardcode_libdir_flag_spec_ld_F77
=
13045 hardcode_libdir_separator_F77
=
13046 hardcode_minus_L_F77
=no
13047 hardcode_automatic_F77
=no
13049 module_expsym_cmds_F77
=
13050 link_all_deplibs_F77
=unknown
13051 old_archive_cmds_F77
=$old_archive_cmds
13052 no_undefined_flag_F77
=
13053 whole_archive_flag_spec_F77
=
13054 enable_shared_with_static_runtimes_F77
=no
13056 # Source file extension for f77 test sources.
13059 # Object file extension for compiled f77 test sources.
13063 # Code to be used in simple compile tests
13064 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13066 # Code to be used in simple link tests
13067 lt_simple_link_test_code
=" program t\n end\n"
13069 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13071 # If no C compiler was specified, use CC.
13074 # If no C compiler flags were specified, use CFLAGS.
13075 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13077 # Allow CC to be a program name with arguments.
13081 # save warnings/boilerplate of simple test code
13082 ac_outfile
=conftest.
$ac_objext
13083 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13084 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13085 _lt_compiler_boilerplate
=`cat conftest.err`
13088 ac_outfile
=conftest.
$ac_objext
13089 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13090 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13091 _lt_linker_boilerplate
=`cat conftest.err`
13095 # Allow CC to be a program name with arguments.
13100 for cc_temp
in $compiler""; do
13102 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13103 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13108 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13111 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13112 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13113 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13114 echo "${ECHO_T}$can_build_shared" >&6
13116 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13117 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13118 test "$can_build_shared" = "no" && enable_shared
=no
13120 # On AIX, shared libraries and static libraries use the same namespace, and
13121 # are all built from PIC.
13124 test "$enable_shared" = yes && enable_static
=no
13125 if test -n "$RANLIB"; then
13126 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13127 postinstall_cmds
='$RANLIB $lib'
13131 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13132 test "$enable_shared" = yes && enable_static
=no
13136 echo "$as_me:$LINENO: result: $enable_shared" >&5
13137 echo "${ECHO_T}$enable_shared" >&6
13139 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13140 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13141 # Make sure either enable_shared or enable_static is yes.
13142 test "$enable_shared" = yes || enable_static
=yes
13143 echo "$as_me:$LINENO: result: $enable_static" >&5
13144 echo "${ECHO_T}$enable_static" >&6
13149 lt_prog_compiler_wl_F77
=
13150 lt_prog_compiler_pic_F77
=
13151 lt_prog_compiler_static_F77
=
13153 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13154 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13156 if test "$GCC" = yes; then
13157 lt_prog_compiler_wl_F77
='-Wl,'
13158 lt_prog_compiler_static_F77
='-static'
13162 # All AIX code is PIC.
13163 if test "$host_cpu" = ia64
; then
13164 # AIX 5 now supports IA64 processor
13165 lt_prog_compiler_static_F77
='-Bstatic'
13170 # FIXME: we need at least 68020 code to build shared libraries, but
13171 # adding the `-m68020' flag to GCC prevents building anything better,
13173 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13176 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13177 # PIC is the default for these OSes.
13180 mingw
* | pw32
* | os2
*)
13181 # This hack is so that the source file can tell whether it is being
13182 # built for inclusion in a dll (and should export symbols for example).
13183 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13186 darwin
* | rhapsody
*)
13187 # PIC is the default on this platform
13188 # Common symbols not allowed in MH_DYLIB files
13189 lt_prog_compiler_pic_F77
='-fno-common'
13193 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13194 # Instead, we relocate shared libraries at runtime.
13198 # Just because we use GCC doesn't mean we suddenly get shared libraries
13199 # on systems that don't support them.
13200 lt_prog_compiler_can_build_shared_F77
=no
13205 if test -d /usr
/nec
; then
13206 lt_prog_compiler_pic_F77
=-Kconform_pic
13211 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13212 # not for PA HP-UX.
13218 lt_prog_compiler_pic_F77
='-fPIC'
13224 lt_prog_compiler_pic_F77
='-fPIC'
13228 # PORTME Check for flag to pass linker flags through the system compiler.
13231 lt_prog_compiler_wl_F77
='-Wl,'
13232 if test "$host_cpu" = ia64
; then
13233 # AIX 5 now supports IA64 processor
13234 lt_prog_compiler_static_F77
='-Bstatic'
13236 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13240 # PIC is the default on this platform
13241 # Common symbols not allowed in MH_DYLIB files
13242 case $cc_basename in
13244 lt_prog_compiler_pic_F77
='-qnocommon'
13245 lt_prog_compiler_wl_F77
='-Wl,'
13250 mingw
* | pw32
* | os2
*)
13251 # This hack is so that the source file can tell whether it is being
13252 # built for inclusion in a dll (and should export symbols for example).
13253 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13256 hpux9
* | hpux10
* | hpux11
*)
13257 lt_prog_compiler_wl_F77
='-Wl,'
13258 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13259 # not for PA HP-UX.
13265 lt_prog_compiler_pic_F77
='+Z'
13268 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13269 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13272 irix5
* | irix6
* | nonstopux
*)
13273 lt_prog_compiler_wl_F77
='-Wl,'
13274 # PIC (with -KPIC) is the default.
13275 lt_prog_compiler_static_F77
='-non_shared'
13279 lt_prog_compiler_pic_F77
='-KPIC'
13280 lt_prog_compiler_static_F77
='-Bstatic'
13284 case $cc_basename in
13286 lt_prog_compiler_wl_F77
='-Wl,'
13287 lt_prog_compiler_pic_F77
='-KPIC'
13288 lt_prog_compiler_static_F77
='-static'
13290 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13291 # Portland Group compilers (*not* the Pentium gcc compiler,
13292 # which looks to be a dead project)
13293 lt_prog_compiler_wl_F77
='-Wl,'
13294 lt_prog_compiler_pic_F77
='-fpic'
13295 lt_prog_compiler_static_F77
='-Bstatic'
13298 lt_prog_compiler_wl_F77
='-Wl,'
13299 # All Alpha code is PIC.
13300 lt_prog_compiler_static_F77
='-non_shared'
13305 osf3
* | osf4
* | osf5
*)
13306 lt_prog_compiler_wl_F77
='-Wl,'
13307 # All OSF/1 code is PIC.
13308 lt_prog_compiler_static_F77
='-non_shared'
13312 lt_prog_compiler_pic_F77
='-KPIC'
13313 lt_prog_compiler_static_F77
='-Bstatic'
13314 case $cc_basename in
13315 f77
* | f90
* | f95
*)
13316 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13318 lt_prog_compiler_wl_F77
='-Wl,';;
13323 lt_prog_compiler_wl_F77
='-Qoption ld '
13324 lt_prog_compiler_pic_F77
='-PIC'
13325 lt_prog_compiler_static_F77
='-Bstatic'
13328 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13329 lt_prog_compiler_wl_F77
='-Wl,'
13330 lt_prog_compiler_pic_F77
='-KPIC'
13331 lt_prog_compiler_static_F77
='-Bstatic'
13335 if test -d /usr
/nec
;then
13336 lt_prog_compiler_pic_F77
='-Kconform_pic'
13337 lt_prog_compiler_static_F77
='-Bstatic'
13341 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13342 lt_prog_compiler_wl_F77
='-Wl,'
13343 lt_prog_compiler_pic_F77
='-KPIC'
13344 lt_prog_compiler_static_F77
='-Bstatic'
13348 lt_prog_compiler_wl_F77
='-Wl,'
13349 lt_prog_compiler_can_build_shared_F77
=no
13353 lt_prog_compiler_pic_F77
='-pic'
13354 lt_prog_compiler_static_F77
='-Bstatic'
13358 lt_prog_compiler_can_build_shared_F77
=no
13363 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13364 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13367 # Check to make sure the PIC flag actually works.
13369 if test -n "$lt_prog_compiler_pic_F77"; then
13371 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13372 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13373 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13376 lt_prog_compiler_pic_works_F77
=no
13377 ac_outfile
=conftest.
$ac_objext
13378 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13379 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13380 # Insert the option either (1) after the last *FLAGS variable, or
13381 # (2) before a word containing "conftest.", or (3) at the end.
13382 # Note that $ac_compile itself does not contain backslashes and begins
13383 # with a dollar sign (not a hyphen), so the echo should work correctly.
13384 # The option is referenced via a variable to avoid confusing sed.
13385 lt_compile
=`echo "$ac_compile" | $SED \
13386 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13387 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13388 -e 's:$: $lt_compiler_flag:'`
13389 (eval echo "\"\$as_me:13389: $lt_compile\"" >&5)
13390 (eval "$lt_compile" 2>conftest.err
)
13392 cat conftest.err
>&5
13393 echo "$as_me:13393: \$? = $ac_status" >&5
13394 if (exit $ac_status) && test -s "$ac_outfile"; then
13395 # The compiler can only warn and ignore the option if not recognized
13396 # So say no if there are warnings other than the usual output.
13397 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13398 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13399 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13400 lt_prog_compiler_pic_works_F77
=yes
13406 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13407 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13409 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13410 case $lt_prog_compiler_pic_F77 in
13412 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13415 lt_prog_compiler_pic_F77
=
13416 lt_prog_compiler_can_build_shared_F77
=no
13421 # For platforms which do not support PIC, -DPIC is meaningless:
13423 lt_prog_compiler_pic_F77
=
13426 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13431 # Check to make sure the static flag actually works.
13433 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13434 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13435 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13436 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13437 echo $ECHO_N "(cached) $ECHO_C" >&6
13439 lt_prog_compiler_static_works_F77
=no
13440 save_LDFLAGS
="$LDFLAGS"
13441 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13442 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13443 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13444 # The linker can only warn and ignore the option if not recognized
13445 # So say no if there are warnings
13446 if test -s conftest.err
; then
13447 # Append any errors to the config.log.
13448 cat conftest.err
1>&5
13449 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13450 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13451 if diff conftest.exp conftest.er2
>/dev
/null
; then
13452 lt_prog_compiler_static_works_F77
=yes
13455 lt_prog_compiler_static_works_F77
=yes
13459 LDFLAGS
="$save_LDFLAGS"
13462 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13463 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13465 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13468 lt_prog_compiler_static_F77
=
13472 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13473 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13474 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13477 lt_cv_prog_compiler_c_o_F77
=no
13478 $rm -r conftest
2>/dev
/null
13482 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13484 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13485 # Insert the option either (1) after the last *FLAGS variable, or
13486 # (2) before a word containing "conftest.", or (3) at the end.
13487 # Note that $ac_compile itself does not contain backslashes and begins
13488 # with a dollar sign (not a hyphen), so the echo should work correctly.
13489 lt_compile
=`echo "$ac_compile" | $SED \
13490 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13491 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13492 -e 's:$: $lt_compiler_flag:'`
13493 (eval echo "\"\$as_me:13493: $lt_compile\"" >&5)
13494 (eval "$lt_compile" 2>out
/conftest.err
)
13496 cat out
/conftest.err
>&5
13497 echo "$as_me:13497: \$? = $ac_status" >&5
13498 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13500 # The compiler can only warn and ignore the option if not recognized
13501 # So say no if there are warnings
13502 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13503 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13504 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13505 lt_cv_prog_compiler_c_o_F77
=yes
13510 # SGI C++ compiler will create directory out/ii_files/ for
13511 # template instantiation
13512 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13513 $rm out
/* && rmdir out
13519 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13520 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13523 hard_links
="nottested"
13524 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13525 # do not overwrite the value of need_locks provided by the user
13526 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13527 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13530 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13532 ln conftest.a conftest.b
2>&5 || hard_links
=no
13533 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13534 echo "$as_me:$LINENO: result: $hard_links" >&5
13535 echo "${ECHO_T}$hard_links" >&6
13536 if test "$hard_links" = no
; then
13537 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13538 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13545 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13546 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13549 allow_undefined_flag_F77
=
13550 enable_shared_with_static_runtimes_F77
=no
13552 archive_expsym_cmds_F77
=
13553 old_archive_From_new_cmds_F77
=
13554 old_archive_from_expsyms_cmds_F77
=
13555 export_dynamic_flag_spec_F77
=
13556 whole_archive_flag_spec_F77
=
13557 thread_safe_flag_spec_F77
=
13558 hardcode_libdir_flag_spec_F77
=
13559 hardcode_libdir_flag_spec_ld_F77
=
13560 hardcode_libdir_separator_F77
=
13561 hardcode_direct_F77
=no
13562 hardcode_minus_L_F77
=no
13563 hardcode_shlibpath_var_F77
=unsupported
13564 link_all_deplibs_F77
=unknown
13565 hardcode_automatic_F77
=no
13567 module_expsym_cmds_F77
=
13568 always_export_symbols_F77
=no
13569 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13570 # include_expsyms should be a list of space-separated symbols to be *always*
13571 # included in the symbol list
13572 include_expsyms_F77
=
13573 # exclude_expsyms can be an extended regexp of symbols to exclude
13574 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13575 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13576 # as well as any symbol that contains `d'.
13577 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13578 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13579 # platforms (ab)use it in PIC code, but their linkers get confused if
13580 # the symbol is explicitly referenced. Since portable code cannot
13581 # rely on this symbol name, it's probably fine to never include it in
13582 # preloaded symbol tables.
13583 extract_expsyms_cmds
=
13584 # Just being paranoid about ensuring that cc_basename is set.
13585 for cc_temp
in $compiler""; do
13587 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13588 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13593 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13596 cygwin
* | mingw
* | pw32
*)
13597 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13598 # When not using gcc, we currently assume that we are using
13599 # Microsoft Visual C++.
13600 if test "$GCC" != yes; then
13605 # we just hope/assume this is gcc and not c89 (= MSVC++)
13614 if test "$with_gnu_ld" = yes; then
13615 # If archive_cmds runs LD, not CC, wlarc should be empty
13618 # Set some defaults for GNU ld with shared library support. These
13619 # are reset later if shared libraries are not supported. Putting them
13620 # here allows them to be overridden if necessary.
13621 runpath_var
=LD_RUN_PATH
13622 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13623 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13624 # ancient GNU ld didn't support --whole-archive et. al.
13625 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13626 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13628 whole_archive_flag_spec_F77
=
13630 supports_anon_versioning
=no
13631 case `$LD -v 2>/dev/null` in
13632 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13633 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13634 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13635 *\
2.11.
*) ;; # other 2.11 versions
13636 *) supports_anon_versioning
=yes ;;
13639 # See if GNU ld supports shared libraries.
13641 aix3
* | aix4
* | aix5
*)
13642 # On AIX/PPC, the GNU linker is very broken
13643 if test "$host_cpu" != ia64
; then
13647 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13648 *** to be unable to reliably create shared libraries on AIX.
13649 *** Therefore, libtool is disabling shared libraries support. If you
13650 *** really care for shared libraries, you may want to modify your PATH
13651 *** so that a non-GNU linker is found, and then restart.
13658 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)'
13659 hardcode_libdir_flag_spec_F77
='-L$libdir'
13660 hardcode_minus_L_F77
=yes
13662 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13663 # that the semantics of dynamic libraries on AmigaOS, at least up
13664 # to version 4, is to share data among multiple programs linked
13665 # with the same dynamic library. Since this doesn't match the
13666 # behavior of shared libraries on other platforms, we can't use
13672 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13673 allow_undefined_flag_F77
=unsupported
13674 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13675 # support --undefined. This deserves some investigation. FIXME
13676 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13682 cygwin
* | mingw
* | pw32
*)
13683 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13684 # as there is no search path for DLLs.
13685 hardcode_libdir_flag_spec_F77
='-L$libdir'
13686 allow_undefined_flag_F77
=unsupported
13687 always_export_symbols_F77
=no
13688 enable_shared_with_static_runtimes_F77
=yes
13689 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13691 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13692 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13693 # If the export-symbols file already is a .def file (1st line
13694 # is EXPORTS), use it as is; otherwise, prepend...
13695 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13696 cp $export_symbols $output_objdir/$soname.def;
13698 echo EXPORTS > $output_objdir/$soname.def;
13699 cat $export_symbols >> $output_objdir/$soname.def;
13701 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13708 hardcode_direct_F77
=no
13709 hardcode_shlibpath_var_F77
=no
13710 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13711 export_dynamic_flag_spec_F77
='${wl}-E'
13712 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13713 # Instead, shared libraries are loaded at an image base (0x10000000 by
13714 # default) and relocated if they conflict, which is a slow very memory
13715 # consuming and fragmenting process. To avoid this, we pick a random,
13716 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13717 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13718 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'
13719 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'
13723 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13725 case $cc_basename,$host_cpu in
13726 pgcc
*) # Portland Group C compiler
13727 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'
13728 tmp_addflag
=' $pic_flag'
13730 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13731 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'
13732 tmp_addflag
=' $pic_flag -Mnomain' ;;
13733 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13734 tmp_addflag
=' -i_dynamic' ;;
13735 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13736 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13737 ifc
* | ifort
*) # Intel Fortran compiler
13738 tmp_addflag
=' -nofor_main' ;;
13740 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13742 if test $supports_anon_versioning = yes; then
13743 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13744 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13745 $echo "local: *; };" >> $output_objdir/$libname.ver~
13746 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13754 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13755 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13758 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13759 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13764 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13768 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13769 *** create shared libraries on Solaris systems. Therefore, libtool
13770 *** is disabling shared libraries support. We urge you to upgrade GNU
13771 *** binutils to release 2.9.1 or newer. Another option is to modify
13772 *** your PATH or compiler configuration so that the native linker is
13773 *** used, and then restart.
13776 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13777 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13778 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13784 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13785 case `$LD -v 2>&1` in
13786 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13790 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13791 *** reliably create shared libraries on SCO systems. Therefore, libtool
13792 *** is disabling shared libraries support. We urge you to upgrade GNU
13793 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13794 *** your PATH or compiler configuration so that the native linker is
13795 *** used, and then restart.
13800 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13801 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13802 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13803 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13812 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13814 hardcode_direct_F77
=yes
13815 hardcode_shlibpath_var_F77
=no
13819 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13820 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13821 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13828 if test "$ld_shlibs_F77" = no
; then
13830 hardcode_libdir_flag_spec_F77
=
13831 export_dynamic_flag_spec_F77
=
13832 whole_archive_flag_spec_F77
=
13835 # PORTME fill in a description of your system's linker (not GNU ld)
13838 allow_undefined_flag_F77
=unsupported
13839 always_export_symbols_F77
=yes
13840 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'
13841 # Note: this linker hardcodes the directories in LIBPATH if there
13842 # are no directories specified by -L.
13843 hardcode_minus_L_F77
=yes
13844 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13845 # Neither direct hardcoding nor static linking is supported with a
13847 hardcode_direct_F77
=unsupported
13852 if test "$host_cpu" = ia64
; then
13853 # On IA64, the linker does run time linking by default, so we don't
13854 # have to do anything special.
13855 aix_use_runtimelinking
=no
13856 exp_sym_flag
='-Bexport'
13859 # If we're using GNU nm, then we don't want the "-C" option.
13860 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13861 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13862 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'
13864 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'
13866 aix_use_runtimelinking
=no
13868 # Test if we are trying to use run time linking or normal
13869 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13870 # need to do runtime linking.
13871 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13872 for ld_flag
in $LDFLAGS; do
13873 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13874 aix_use_runtimelinking
=yes
13881 exp_sym_flag
='-bexport'
13882 no_entry_flag
='-bnoentry'
13885 # When large executables or shared objects are built, AIX ld can
13886 # have problems creating the table of contents. If linking a library
13887 # or program results in "error TOC overflow" add -mminimal-toc to
13888 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13889 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13891 archive_cmds_F77
=''
13892 hardcode_direct_F77
=yes
13893 hardcode_libdir_separator_F77
=':'
13894 link_all_deplibs_F77
=yes
13896 if test "$GCC" = yes; then
13897 case $host_os in aix4.
[012]|aix4.
[012].
*)
13898 # We only want to do this on AIX 4.2 and lower, the check
13899 # below for broken collect2 doesn't work under 4.3+
13900 collect2name
=`${CC} -print-prog-name=collect2`
13901 if test -f "$collect2name" && \
13902 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13904 # We have reworked collect2
13905 hardcode_direct_F77
=yes
13907 # We have old collect2
13908 hardcode_direct_F77
=unsupported
13909 # It fails to find uninstalled libraries when the uninstalled
13910 # path is not listed in the libpath. Setting hardcode_minus_L
13911 # to unsupported forces relinking
13912 hardcode_minus_L_F77
=yes
13913 hardcode_libdir_flag_spec_F77
='-L$libdir'
13914 hardcode_libdir_separator_F77
=
13918 shared_flag
='-shared'
13919 if test "$aix_use_runtimelinking" = yes; then
13920 shared_flag
="$shared_flag "'${wl}-G'
13924 if test "$host_cpu" = ia64
; then
13925 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13926 # chokes on -Wl,-G. The following line is correct:
13929 if test "$aix_use_runtimelinking" = yes; then
13930 shared_flag
='${wl}-G'
13932 shared_flag
='${wl}-bM:SRE'
13937 # It seems that -bexpall does not export symbols beginning with
13938 # underscore (_), so it is better to generate a list of symbols to export.
13939 always_export_symbols_F77
=yes
13940 if test "$aix_use_runtimelinking" = yes; then
13941 # Warning - without using the other runtime loading flags (-brtl),
13942 # -berok will link without error, but may produce a broken library.
13943 allow_undefined_flag_F77
='-berok'
13944 # Determine the default libpath from the value encoded in an empty executable.
13945 cat >conftest.
$ac_ext <<_ACEOF
13950 rm -f conftest.
$ac_objext conftest
$ac_exeext
13951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13952 (eval $ac_link) 2>conftest.er1
13954 grep -v '^ *+' conftest.er1
>conftest.err
13956 cat conftest.err
>&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 (exit $ac_status); } &&
13959 { ac_try
='test -z "$ac_f77_werror_flag"
13960 || test ! -s conftest.err'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; } &&
13966 { ac_try
='test -s conftest$ac_exeext'
13967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968 (eval $ac_try) 2>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; }; then
13973 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13975 # Check for a 64-bit object if we didn't find anything.
13976 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; }
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.
$ac_ext >&5
13983 rm -f conftest.err conftest.
$ac_objext \
13984 conftest
$ac_exeext conftest.
$ac_ext
13985 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13987 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13988 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"
13990 if test "$host_cpu" = ia64
; then
13991 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
13992 allow_undefined_flag_F77
="-z nodefs"
13993 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"
13995 # Determine the default libpath from the value encoded in an empty executable.
13996 cat >conftest.
$ac_ext <<_ACEOF
14001 rm -f conftest.
$ac_objext conftest
$ac_exeext
14002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14003 (eval $ac_link) 2>conftest.er1
14005 grep -v '^ *+' conftest.er1
>conftest.err
14007 cat conftest.err
>&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); } &&
14010 { ac_try
='test -z "$ac_f77_werror_flag"
14011 || test ! -s conftest.err'
14012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14013 (eval $ac_try) 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; } &&
14017 { ac_try
='test -s conftest$ac_exeext'
14018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14019 (eval $ac_try) 2>&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); }; }; then
14024 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14026 # Check for a 64-bit object if we didn't find anything.
14027 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; }
14030 echo "$as_me: failed program was:" >&5
14031 sed 's/^/| /' conftest.
$ac_ext >&5
14034 rm -f conftest.err conftest.
$ac_objext \
14035 conftest
$ac_exeext conftest.
$ac_ext
14036 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14038 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14039 # Warning - without using the other run time loading flags,
14040 # -berok will link without error, but may produce a broken library.
14041 no_undefined_flag_F77
=' ${wl}-bernotok'
14042 allow_undefined_flag_F77
=' ${wl}-berok'
14043 # Exported symbols can be pulled into shared objects from archives
14044 whole_archive_flag_spec_F77
='$convenience'
14045 archive_cmds_need_lc_F77
=yes
14046 # This is similar to how AIX traditionally builds its shared libraries.
14047 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'
14053 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)'
14054 hardcode_libdir_flag_spec_F77
='-L$libdir'
14055 hardcode_minus_L_F77
=yes
14056 # see comment about different semantics on the GNU ld section
14061 export_dynamic_flag_spec_F77
=-rdynamic
14064 cygwin
* | mingw
* | pw32
*)
14065 # When not using gcc, we currently assume that we are using
14066 # Microsoft Visual C++.
14067 # hardcode_libdir_flag_spec is actually meaningless, as there is
14068 # no search path for DLLs.
14069 hardcode_libdir_flag_spec_F77
=' '
14070 allow_undefined_flag_F77
=unsupported
14071 # Tell ltmain to make .lib files, not .a files.
14073 # Tell ltmain to make .dll files, not .so files.
14075 # FIXME: Setting linknames here is a bad hack.
14076 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14077 # The linker will automatically build a .lib file if we build a DLL.
14078 old_archive_From_new_cmds_F77
='true'
14079 # FIXME: Should let the user specify the lib program.
14080 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14081 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14082 enable_shared_with_static_runtimes_F77
=yes
14085 darwin
* | rhapsody
*)
14087 rhapsody
* | darwin1.
[012])
14088 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14091 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14092 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14094 case ${MACOSX_DEPLOYMENT_TARGET} in
14096 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14099 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14105 archive_cmds_need_lc_F77
=no
14106 hardcode_direct_F77
=no
14107 hardcode_automatic_F77
=yes
14108 hardcode_shlibpath_var_F77
=unsupported
14109 whole_archive_flag_spec_F77
=''
14110 link_all_deplibs_F77
=yes
14111 if test "$GCC" = yes ; then
14112 output_verbose_link_cmd
='echo'
14113 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14114 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14115 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14116 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}'
14117 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}'
14119 case $cc_basename in
14121 output_verbose_link_cmd
='echo'
14122 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14123 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14124 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14125 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}'
14126 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}'
14136 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14137 hardcode_libdir_flag_spec_F77
='-L$libdir'
14138 hardcode_shlibpath_var_F77
=no
14145 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14146 # support. Future versions do this automatically, but an explicit c++rt0.o
14147 # does not break anything, and helps significantly (at the cost of a little
14150 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14151 hardcode_libdir_flag_spec_F77
='-R$libdir'
14152 hardcode_direct_F77
=yes
14153 hardcode_shlibpath_var_F77
=no
14156 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14158 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14159 hardcode_direct_F77
=yes
14160 hardcode_minus_L_F77
=yes
14161 hardcode_shlibpath_var_F77
=no
14164 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14165 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14166 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14167 hardcode_libdir_flag_spec_F77
='-R$libdir'
14168 hardcode_direct_F77
=yes
14169 hardcode_shlibpath_var_F77
=no
14173 if test "$GCC" = yes; then
14174 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'
14176 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'
14178 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14179 hardcode_libdir_separator_F77
=:
14180 hardcode_direct_F77
=yes
14182 # hardcode_minus_L: Not really in the search PATH,
14183 # but as the default location of the library.
14184 hardcode_minus_L_F77
=yes
14185 export_dynamic_flag_spec_F77
='${wl}-E'
14189 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14190 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14192 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14194 if test "$with_gnu_ld" = no
; then
14195 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14196 hardcode_libdir_separator_F77
=:
14198 hardcode_direct_F77
=yes
14199 export_dynamic_flag_spec_F77
='${wl}-E'
14201 # hardcode_minus_L: Not really in the search PATH,
14202 # but as the default location of the library.
14203 hardcode_minus_L_F77
=yes
14208 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14211 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14214 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14217 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14223 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14226 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14229 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14233 if test "$with_gnu_ld" = no
; then
14234 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14235 hardcode_libdir_separator_F77
=:
14239 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14240 hardcode_direct_F77
=no
14241 hardcode_shlibpath_var_F77
=no
14244 hardcode_direct_F77
=yes
14245 export_dynamic_flag_spec_F77
='${wl}-E'
14247 # hardcode_minus_L: Not really in the search PATH,
14248 # but as the default location of the library.
14249 hardcode_minus_L_F77
=yes
14255 irix5
* | irix6
* | nonstopux
*)
14256 if test "$GCC" = yes; then
14257 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'
14259 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'
14260 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14262 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14263 hardcode_libdir_separator_F77
=:
14264 link_all_deplibs_F77
=yes
14268 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14269 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14271 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14273 hardcode_libdir_flag_spec_F77
='-R$libdir'
14274 hardcode_direct_F77
=yes
14275 hardcode_shlibpath_var_F77
=no
14279 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14280 hardcode_direct_F77
=yes
14281 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14282 hardcode_libdir_separator_F77
=:
14283 hardcode_shlibpath_var_F77
=no
14287 hardcode_direct_F77
=yes
14288 hardcode_shlibpath_var_F77
=no
14289 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14290 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14291 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14292 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14293 export_dynamic_flag_spec_F77
='${wl}-E'
14296 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14297 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14298 hardcode_libdir_flag_spec_F77
='-R$libdir'
14301 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14302 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14309 hardcode_libdir_flag_spec_F77
='-L$libdir'
14310 hardcode_minus_L_F77
=yes
14311 allow_undefined_flag_F77
=unsupported
14312 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'
14313 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14317 if test "$GCC" = yes; then
14318 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14319 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'
14321 allow_undefined_flag_F77
=' -expect_unresolved \*'
14322 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'
14324 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14325 hardcode_libdir_separator_F77
=:
14328 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14329 if test "$GCC" = yes; then
14330 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14331 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'
14332 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14334 allow_undefined_flag_F77
=' -expect_unresolved \*'
14335 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'
14336 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~
14337 $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'
14339 # Both c and cxx compiler support -rpath directly
14340 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14342 hardcode_libdir_separator_F77
=:
14346 no_undefined_flag_F77
=' -z text'
14347 if test "$GCC" = yes; then
14349 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14350 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14351 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14354 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14355 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14356 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14358 hardcode_libdir_flag_spec_F77
='-R$libdir'
14359 hardcode_shlibpath_var_F77
=no
14361 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14363 # The compiler driver will combine linker options so we
14364 # cannot just pass the convience library names through
14365 # without $wl, iff we do not link with $LD.
14366 # Luckily, gcc supports the same syntax we need for Sun Studio.
14367 # Supported since Solaris 2.6 (maybe 2.5.1?)
14370 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14372 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' ;;
14375 link_all_deplibs_F77
=yes
14379 if test "x$host_vendor" = xsequent
; then
14380 # Use $CC to link under sequent, because it throws in some extra .o
14381 # files that make .init and .fini sections work.
14382 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14384 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14386 hardcode_libdir_flag_spec_F77
='-L$libdir'
14387 hardcode_direct_F77
=yes
14388 hardcode_minus_L_F77
=yes
14389 hardcode_shlibpath_var_F77
=no
14393 case $host_vendor in
14395 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14396 hardcode_direct_F77
=yes # is this really true???
14399 ## LD is ld it makes a PLAMLIB
14400 ## CC just makes a GrossModule.
14401 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14402 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14403 hardcode_direct_F77
=no
14406 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14407 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14410 runpath_var
='LD_RUN_PATH'
14411 hardcode_shlibpath_var_F77
=no
14415 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14416 hardcode_shlibpath_var_F77
=no
14417 export_dynamic_flag_spec_F77
='-Bexport'
14421 if test -d /usr
/nec
; then
14422 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14423 hardcode_shlibpath_var_F77
=no
14424 runpath_var
=LD_RUN_PATH
14425 hardcode_runpath_var
=yes
14430 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14431 no_undefined_flag_F77
='${wl}-z,text'
14432 archive_cmds_need_lc_F77
=no
14433 hardcode_shlibpath_var_F77
=no
14434 runpath_var
='LD_RUN_PATH'
14436 if test "$GCC" = yes; then
14437 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14438 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14440 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14441 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14445 sysv5
* | sco3.2v5
* | sco5v6
*)
14446 # Note: We can NOT use -z defs as we might desire, because we do not
14447 # link with -lc, and that would cause any symbols used from libc to
14448 # always be unresolved, which means just about no library would
14449 # ever link correctly. If we're not using GNU ld we use -z text
14450 # though, which does catch some bad symbols but isn't as heavy-handed
14452 no_undefined_flag_F77
='${wl}-z,text'
14453 allow_undefined_flag_F77
='${wl}-z,nodefs'
14454 archive_cmds_need_lc_F77
=no
14455 hardcode_shlibpath_var_F77
=no
14456 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14457 hardcode_libdir_separator_F77
=':'
14458 link_all_deplibs_F77
=yes
14459 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14460 runpath_var
='LD_RUN_PATH'
14462 if test "$GCC" = yes; then
14463 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14464 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14466 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14467 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14472 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14473 hardcode_libdir_flag_spec_F77
='-L$libdir'
14474 hardcode_shlibpath_var_F77
=no
14483 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14484 echo "${ECHO_T}$ld_shlibs_F77" >&6
14485 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14488 # Do we need to explicitly link libc?
14490 case "x$archive_cmds_need_lc_F77" in
14492 # Assume -lc should be added
14493 archive_cmds_need_lc_F77
=yes
14495 if test "$enable_shared" = yes && test "$GCC" = yes; then
14496 case $archive_cmds_F77 in
14498 # FIXME: we may have to deal with multi-command sequences.
14501 # Test whether the compiler implicitly links with -lc since on some
14502 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14503 # to ld, don't add -lc before -lgcc.
14504 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14505 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14507 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14510 (eval $ac_compile) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); } 2>conftest.err
; then
14516 libobjs
=conftest.
$ac_objext
14518 wl
=$lt_prog_compiler_wl_F77
14519 pic_flag
=$lt_prog_compiler_pic_F77
14525 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14526 allow_undefined_flag_F77
=
14527 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14528 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }
14533 archive_cmds_need_lc_F77
=no
14535 archive_cmds_need_lc_F77
=yes
14537 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14539 cat conftest.err
1>&5
14542 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14543 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14550 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14551 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14552 library_names_spec
=
14553 libname_spec
='lib$name'
14557 postuninstall_cmds
=
14561 shlibpath_overrides_runpath
=unknown
14563 dynamic_linker
="$host_os ld.so"
14564 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14565 if test "$GCC" = yes; then
14566 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14567 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14568 # if the path contains ";" then we assume it to be the separator
14569 # otherwise default to the standard path separator (i.e. ":") - it is
14570 # assumed that no part of a normal pathname contains ";" but that should
14571 # okay in the real world where ";" in dirpaths is itself problematic.
14572 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14574 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14577 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14579 need_lib_prefix
=unknown
14580 hardcode_into_libs
=no
14582 # when you set need_version to no, make sure it does not cause -set_version
14583 # flags to be left without arguments
14584 need_version
=unknown
14589 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14590 shlibpath_var
=LIBPATH
14592 # AIX 3 has no versioning support, so we append a major version to the name.
14593 soname_spec
='${libname}${release}${shared_ext}$major'
14600 hardcode_into_libs
=yes
14601 if test "$host_cpu" = ia64
; then
14602 # AIX 5 supports IA64
14603 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14604 shlibpath_var
=LD_LIBRARY_PATH
14606 # With GCC up to 2.95.x, collect2 would create an import file
14607 # for dependence libraries. The import file would start with
14608 # the line `#! .'. This would cause the generated library to
14609 # depend on `.', always an invalid library. This was fixed in
14610 # development snapshots of GCC prior to 3.0.
14612 aix4 | aix4.
[01] | aix4.
[01].
*)
14613 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14615 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14618 can_build_shared
=no
14622 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14623 # soname into executable. Probably we can add versioning support to
14624 # collect2, so additional links can be useful in future.
14625 if test "$aix_use_runtimelinking" = yes; then
14626 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14627 # instead of lib<name>.a to let people know that these are not
14628 # typical AIX shared libraries.
14629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14631 # We preserve .a as extension for shared libraries through AIX4.2
14632 # and later when we are not doing run time linking.
14633 library_names_spec
='${libname}${release}.a $libname.a'
14634 soname_spec
='${libname}${release}${shared_ext}$major'
14636 shlibpath_var
=LIBPATH
14641 library_names_spec
='$libname.ixlibrary $libname.a'
14642 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14643 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'
14647 library_names_spec
='${libname}${shared_ext}'
14648 dynamic_linker
="$host_os ld.so"
14649 shlibpath_var
=LIBRARY_PATH
14655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14656 soname_spec
='${libname}${release}${shared_ext}$major'
14657 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14658 shlibpath_var
=LD_LIBRARY_PATH
14659 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14660 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14661 # the default ld.so.conf also contains /usr/contrib/lib and
14662 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14663 # libtool to hard-code these into programs
14666 cygwin
* | mingw
* | pw32
*)
14667 version_type
=windows
14672 case $GCC,$host_os in
14673 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14674 library_names_spec
='$libname.dll.a'
14675 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14676 postinstall_cmds
='base_file=`basename \${file}`~
14677 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14678 dldir=$destdir/`dirname \$dlpath`~
14679 test -d \$dldir || mkdir -p \$dldir~
14680 $install_prog $dir/$dlname \$dldir/$dlname~
14681 chmod a+x \$dldir/$dlname'
14682 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14683 dlpath=$dir/\$dldll~
14685 shlibpath_overrides_runpath
=yes
14689 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14690 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14691 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14694 # MinGW DLLs use traditional 'lib' prefix
14695 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14696 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14697 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14698 # It is most probably a Windows format PATH printed by
14699 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14700 # path with ; separators, and with drive letters. We can handle the
14701 # drive letters (cygwin fileutils understands them), so leave them,
14702 # especially as we might pass files found there to a mingw objdump,
14703 # which wouldn't understand a cygwinified path. Ahh.
14704 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14706 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14710 # pw32 DLLs use 'pw' prefix rather than 'lib'
14711 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14717 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14720 dynamic_linker
='Win32 ld.exe'
14721 # FIXME: first we should search . and the directory the executable is in
14725 darwin
* | rhapsody
*)
14726 dynamic_linker
="$host_os dyld"
14727 version_type
=darwin
14730 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14731 soname_spec
='${libname}${release}${major}$shared_ext'
14732 shlibpath_overrides_runpath
=yes
14733 shlibpath_var
=DYLD_LIBRARY_PATH
14734 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14735 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14736 if test "$GCC" = yes; then
14737 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"`
14739 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14741 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14749 soname_spec
='${libname}${release}${shared_ext}$major'
14750 shlibpath_var
=LD_LIBRARY_PATH
14761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14762 soname_spec
='${libname}${release}${shared_ext}$major'
14763 shlibpath_var
=LD_LIBRARY_PATH
14764 shlibpath_overrides_runpath
=no
14765 hardcode_into_libs
=yes
14766 dynamic_linker
='GNU ld.so'
14769 freebsd
* | dragonfly
*)
14770 # DragonFly does not have aout. When/if they implement a new
14771 # versioning mechanism, adjust this.
14772 if test -x /usr
/bin
/objformat
; then
14773 objformat
=`/usr/bin/objformat`
14776 freebsd
[123]*) objformat
=aout
;;
14777 *) objformat
=elf
;;
14780 version_type
=freebsd-
$objformat
14781 case $version_type in
14783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14788 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14792 shlibpath_var
=LD_LIBRARY_PATH
14795 shlibpath_overrides_runpath
=yes
14797 freebsd3.
[01]* | freebsdelf3.
[01]*)
14798 shlibpath_overrides_runpath
=yes
14799 hardcode_into_libs
=yes
14801 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14802 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14803 shlibpath_overrides_runpath
=no
14804 hardcode_into_libs
=yes
14806 freebsd
*) # from 4.6 on
14807 shlibpath_overrides_runpath
=yes
14808 hardcode_into_libs
=yes
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 hardcode_into_libs
=yes
14823 hpux9
* | hpux10
* | hpux11
*)
14824 # Give a soname corresponding to the major version so that dld.sl refuses to
14825 # link against other versions.
14832 hardcode_into_libs
=yes
14833 dynamic_linker
="$host_os dld.so"
14834 shlibpath_var
=LD_LIBRARY_PATH
14835 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14837 soname_spec
='${libname}${release}${shared_ext}$major'
14838 if test "X$HPUX_IA64_MODE" = X32
; then
14839 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14841 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14843 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14847 hardcode_into_libs
=yes
14848 dynamic_linker
="$host_os dld.sl"
14849 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14850 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14852 soname_spec
='${libname}${release}${shared_ext}$major'
14853 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14854 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14858 dynamic_linker
="$host_os dld.sl"
14859 shlibpath_var
=SHLIB_PATH
14860 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14862 soname_spec
='${libname}${release}${shared_ext}$major'
14865 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14866 postinstall_cmds
='chmod 555 $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 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14876 shlibpath_var
=LD_LIBRARY_PATH
14877 shlibpath_overrides_runpath
=no
14878 hardcode_into_libs
=yes
14881 irix5
* | irix6
* | nonstopux
*)
14883 nonstopux
*) version_type
=nonstopux
;;
14885 if test "$lt_cv_prog_gnu_ld" = yes; then
14893 soname_spec
='${libname}${release}${shared_ext}$major'
14894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14896 irix5
* | nonstopux
*)
14897 libsuff
= shlibsuff
=
14900 case $LD in # libtool.m4 will add one of these switches to LD
14901 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14902 libsuff
= shlibsuff
= libmagic
=32-bit;;
14903 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14904 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14905 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14906 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14907 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14911 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14912 shlibpath_overrides_runpath
=no
14913 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14914 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14915 hardcode_into_libs
=yes
14918 # No shared lib support for Linux oldld, aout, or coff.
14919 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14923 # This must be Linux ELF.
14928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14929 soname_spec
='${libname}${release}${shared_ext}$major'
14930 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14931 shlibpath_var
=LD_LIBRARY_PATH
14932 shlibpath_overrides_runpath
=no
14933 # This implies no fast_install, which is unacceptable.
14934 # Some rework will be needed to allow for fast_install
14935 # before this can be enabled.
14936 hardcode_into_libs
=yes
14938 # find out which ABI we are using
14940 case "$host_cpu" in
14941 x86_64
*|s390x
*|powerpc64
*)
14942 echo '#line 14942 "configure"' > conftest.
$ac_ext
14943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14944 (eval $ac_compile) 2>&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; then
14948 case `/usr/bin/file conftest.$ac_objext` in
14951 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14959 # Append ld.so.conf contents to the search path
14960 if test -f /etc
/ld.so.conf
; then
14961 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14962 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14965 # We used to test for /lib/ld.so.1 and disable shared libraries on
14966 # powerpc, because MkLinux only supported shared libraries with the
14967 # GNU dynamic linker. Since this was broken with cross compilers,
14968 # most powerpc-linux boxes support dynamic linking these days and
14969 # people can always --disable-shared, the test was removed, and we
14970 # assume the GNU/Linux dynamic linker is in use.
14971 dynamic_linker
='GNU/Linux ld.so'
14978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14979 soname_spec
='${libname}${release}${shared_ext}$major'
14980 shlibpath_var
=LD_LIBRARY_PATH
14981 shlibpath_overrides_runpath
=no
14982 hardcode_into_libs
=yes
14983 dynamic_linker
='GNU ld.so'
14990 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14992 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14993 dynamic_linker
='NetBSD (a.out) ld.so'
14995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14996 soname_spec
='${libname}${release}${shared_ext}$major'
14997 dynamic_linker
='NetBSD ld.elf_so'
14999 shlibpath_var
=LD_LIBRARY_PATH
15000 shlibpath_overrides_runpath
=yes
15001 hardcode_into_libs
=yes
15006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15007 shlibpath_var
=LD_LIBRARY_PATH
15008 shlibpath_overrides_runpath
=yes
15015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15016 soname_spec
='${libname}${release}${shared_ext}$major'
15017 shlibpath_var
=LD_LIBRARY_PATH
15018 shlibpath_overrides_runpath
=yes
15023 sys_lib_dlsearch_path_spec
="/usr/lib"
15025 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15027 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15028 *) need_version
=no
;;
15030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15031 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15032 shlibpath_var
=LD_LIBRARY_PATH
15033 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15035 openbsd2.
[89] | openbsd2.
[89].
*)
15036 shlibpath_overrides_runpath
=no
15039 shlibpath_overrides_runpath
=yes
15043 shlibpath_overrides_runpath
=yes
15048 libname_spec
='$name'
15051 library_names_spec
='$libname${shared_ext} $libname.a'
15052 dynamic_linker
='OS/2 ld.exe'
15053 shlibpath_var
=LIBPATH
15056 osf3
* | osf4
* | osf5
*)
15060 soname_spec
='${libname}${release}${shared_ext}$major'
15061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15062 shlibpath_var
=LD_LIBRARY_PATH
15063 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15064 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072 soname_spec
='${libname}${release}${shared_ext}$major'
15073 shlibpath_var
=LD_LIBRARY_PATH
15074 shlibpath_overrides_runpath
=yes
15075 hardcode_into_libs
=yes
15076 # ldd complains unless libraries are executable
15077 postinstall_cmds
='chmod +x $lib'
15082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15083 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15084 shlibpath_var
=LD_LIBRARY_PATH
15085 shlibpath_overrides_runpath
=yes
15086 if test "$with_gnu_ld" = yes; then
15094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15095 soname_spec
='${libname}${release}${shared_ext}$major'
15096 shlibpath_var
=LD_LIBRARY_PATH
15097 case $host_vendor in
15099 shlibpath_overrides_runpath
=no
15101 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15102 runpath_var
=LD_RUN_PATH
15110 shlibpath_overrides_runpath
=no
15111 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15117 if test -d /usr
/nec
;then
15119 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15120 soname_spec
='$libname${shared_ext}.$major'
15121 shlibpath_var
=LD_LIBRARY_PATH
15125 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15126 version_type
=freebsd-elf
15129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15130 soname_spec
='${libname}${release}${shared_ext}$major'
15131 shlibpath_var
=LD_LIBRARY_PATH
15132 hardcode_into_libs
=yes
15133 if test "$with_gnu_ld" = yes; then
15134 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15135 shlibpath_overrides_runpath
=no
15137 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15138 shlibpath_overrides_runpath
=yes
15141 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15145 sys_lib_dlsearch_path_spec
='/usr/lib'
15150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15151 soname_spec
='${libname}${release}${shared_ext}$major'
15152 shlibpath_var
=LD_LIBRARY_PATH
15159 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15160 echo "${ECHO_T}$dynamic_linker" >&6
15161 test "$dynamic_linker" = no
&& can_build_shared
=no
15163 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15164 if test "$GCC" = yes; then
15165 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15168 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15169 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15170 hardcode_action_F77
=
15171 if test -n "$hardcode_libdir_flag_spec_F77" || \
15172 test -n "$runpath_var_F77" || \
15173 test "X$hardcode_automatic_F77" = "Xyes" ; then
15175 # We can hardcode non-existant directories.
15176 if test "$hardcode_direct_F77" != no
&&
15177 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15178 # have to relink, otherwise we might link with an installed library
15179 # when we should be linking with a yet-to-be-installed one
15180 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15181 test "$hardcode_minus_L_F77" != no
; then
15182 # Linking always hardcodes the temporary library directory.
15183 hardcode_action_F77
=relink
15185 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15186 hardcode_action_F77
=immediate
15189 # We cannot hardcode anything, or else we can only hardcode existing
15191 hardcode_action_F77
=unsupported
15193 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15194 echo "${ECHO_T}$hardcode_action_F77" >&6
15196 if test "$hardcode_action_F77" = relink
; then
15197 # Fast installation is not supported
15198 enable_fast_install
=no
15199 elif test "$shlibpath_overrides_runpath" = yes ||
15200 test "$enable_shared" = no
; then
15201 # Fast installation is not necessary
15202 enable_fast_install
=needless
15206 # The else clause should only fire when bootstrapping the
15207 # libtool distribution, otherwise you forgot to ship ltmain.sh
15208 # with your package, and you will get complaints that there are
15209 # no rules to generate ltmain.sh.
15210 if test -f "$ltmain"; then
15211 # See if we are running on zsh, and set the options which allow our commands through
15212 # without removal of \ escapes.
15213 if test -n "${ZSH_VERSION+set}" ; then
15214 setopt NO_GLOB_SUBST
15216 # Now quote all the things that may contain metacharacters while being
15217 # careful not to overquote the AC_SUBSTed values. We take copies of the
15218 # variables and quote the copies for generation of the libtool script.
15219 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15221 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15222 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15223 deplibs_check_method reload_flag reload_cmds need_locks \
15224 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15225 lt_cv_sys_global_symbol_to_c_name_address \
15226 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15227 old_postinstall_cmds old_postuninstall_cmds \
15231 lt_prog_compiler_wl_F77 \
15232 lt_prog_compiler_pic_F77 \
15233 lt_prog_compiler_static_F77 \
15234 lt_prog_compiler_no_builtin_flag_F77 \
15235 export_dynamic_flag_spec_F77 \
15236 thread_safe_flag_spec_F77 \
15237 whole_archive_flag_spec_F77 \
15238 enable_shared_with_static_runtimes_F77 \
15239 old_archive_cmds_F77 \
15240 old_archive_from_new_cmds_F77 \
15241 predep_objects_F77 \
15242 postdep_objects_F77 \
15245 compiler_lib_search_path_F77 \
15247 archive_expsym_cmds_F77 \
15248 postinstall_cmds_F77 \
15249 postuninstall_cmds_F77 \
15250 old_archive_from_expsyms_cmds_F77 \
15251 allow_undefined_flag_F77 \
15252 no_undefined_flag_F77 \
15253 export_symbols_cmds_F77 \
15254 hardcode_libdir_flag_spec_F77 \
15255 hardcode_libdir_flag_spec_ld_F77 \
15256 hardcode_libdir_separator_F77 \
15257 hardcode_automatic_F77 \
15259 module_expsym_cmds_F77 \
15260 lt_cv_prog_compiler_c_o_F77 \
15261 exclude_expsyms_F77 \
15262 include_expsyms_F77
; do
15265 old_archive_cmds_F77 | \
15266 old_archive_from_new_cmds_F77 | \
15267 archive_cmds_F77 | \
15268 archive_expsym_cmds_F77 | \
15269 module_cmds_F77 | \
15270 module_expsym_cmds_F77 | \
15271 old_archive_from_expsyms_cmds_F77 | \
15272 export_symbols_cmds_F77 | \
15273 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15274 postinstall_cmds | postuninstall_cmds | \
15275 old_postinstall_cmds | old_postuninstall_cmds | \
15276 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15277 # Double-quote double-evaled strings.
15278 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15281 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15287 *'\$0 --fallback-echo"')
15288 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15294 cat <<__EOF__ >> "$cfgfile"
15295 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15297 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15299 # Shell to use when invoking shell scripts.
15302 # Whether or not to build shared libraries.
15303 build_libtool_libs=$enable_shared
15305 # Whether or not to build static libraries.
15306 build_old_libs=$enable_static
15308 # Whether or not to add -lc for building shared libraries.
15309 build_libtool_need_lc=$archive_cmds_need_lc_F77
15311 # Whether or not to disallow shared libs when runtime libs are static
15312 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15314 # Whether or not to optimize for fast installation.
15315 fast_install=$enable_fast_install
15318 host_alias=$host_alias
15322 # The build system.
15323 build_alias=$build_alias
15327 # An echo program that does not interpret backslashes.
15332 AR_FLAGS=$lt_AR_FLAGS
15337 # LTCC compiler flags.
15338 LTCFLAGS=$lt_LTCFLAGS
15340 # A language-specific compiler.
15341 CC=$lt_compiler_F77
15343 # Is the compiler the GNU C compiler?
15346 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15347 gcc_ver=\`gcc -dumpversion\`
15352 # The linker used to build libraries.
15355 # Whether we need hard or soft links.
15358 # A BSD-compatible nm program.
15361 # A symbol stripping program
15364 # Used to examine libraries when file_magic_cmd begins "file"
15365 MAGIC_CMD=$MAGIC_CMD
15367 # Used on cygwin: DLL creation program.
15370 # Used on cygwin: object dumper.
15373 # Used on cygwin: assembler.
15376 # The name of the directory that contains temporary libtool files.
15379 # How to create reloadable object files.
15380 reload_flag=$lt_reload_flag
15381 reload_cmds=$lt_reload_cmds
15383 # How to pass a linker flag through the compiler.
15384 wl=$lt_lt_prog_compiler_wl_F77
15386 # Object file suffix (normally "o").
15387 objext="$ac_objext"
15389 # Old archive suffix (normally "a").
15392 # Shared library suffix (normally ".so").
15393 shrext_cmds='$shrext_cmds'
15395 # Executable file suffix (normally "").
15398 # Additional compiler flags for building library objects.
15399 pic_flag=$lt_lt_prog_compiler_pic_F77
15402 # What is the maximum length of a command?
15403 max_cmd_len=$lt_cv_sys_max_cmd_len
15405 # Does compiler simultaneously support -c and -o options?
15406 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15408 # Must we lock files when doing compilation?
15409 need_locks=$lt_need_locks
15411 # Do we need the lib prefix for modules?
15412 need_lib_prefix=$need_lib_prefix
15414 # Do we need a version for libraries?
15415 need_version=$need_version
15417 # Whether dlopen is supported.
15418 dlopen_support=$enable_dlopen
15420 # Whether dlopen of programs is supported.
15421 dlopen_self=$enable_dlopen_self
15423 # Whether dlopen of statically linked programs is supported.
15424 dlopen_self_static=$enable_dlopen_self_static
15426 # Compiler flag to prevent dynamic linking.
15427 link_static_flag=$lt_lt_prog_compiler_static_F77
15429 # Compiler flag to turn off builtin functions.
15430 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15432 # Compiler flag to allow reflexive dlopens.
15433 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15435 # Compiler flag to generate shared objects directly from archives.
15436 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15438 # Compiler flag to generate thread-safe objects.
15439 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15441 # Library versioning type.
15442 version_type=$version_type
15444 # Format of library name prefix.
15445 libname_spec=$lt_libname_spec
15447 # List of archive names. First name is the real one, the rest are links.
15448 # The last name is the one that the linker finds with -lNAME.
15449 library_names_spec=$lt_library_names_spec
15451 # The coded name of the library, if different from the real name.
15452 soname_spec=$lt_soname_spec
15454 # Commands used to build and install an old-style archive.
15456 old_archive_cmds=$lt_old_archive_cmds_F77
15457 old_postinstall_cmds=$lt_old_postinstall_cmds
15458 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15460 # Create an old-style archive from a shared archive.
15461 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15463 # Create a temporary old-style archive to link instead of a shared archive.
15464 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15466 # Commands used to build and install a shared archive.
15467 archive_cmds=$lt_archive_cmds_F77
15468 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15469 postinstall_cmds=$lt_postinstall_cmds
15470 postuninstall_cmds=$lt_postuninstall_cmds
15472 # Commands used to build a loadable module (assumed same as above if empty)
15473 module_cmds=$lt_module_cmds_F77
15474 module_expsym_cmds=$lt_module_expsym_cmds_F77
15476 # Commands to strip libraries.
15477 old_striplib=$lt_old_striplib
15478 striplib=$lt_striplib
15480 # Dependencies to place before the objects being linked to create a
15482 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15484 # Dependencies to place after the objects being linked to create a
15486 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15488 # Dependencies to place before the objects being linked to create a
15490 predeps=$lt_predeps_F77
15492 # Dependencies to place after the objects being linked to create a
15494 postdeps=$lt_postdeps_F77
15496 # The library search path used internally by the compiler when linking
15497 # a shared library.
15498 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15500 # Method to check whether dependent libraries are shared objects.
15501 deplibs_check_method=$lt_deplibs_check_method
15503 # Command to use when deplibs_check_method == file_magic.
15504 file_magic_cmd=$lt_file_magic_cmd
15506 # Flag that allows shared libraries with undefined symbols to be built.
15507 allow_undefined_flag=$lt_allow_undefined_flag_F77
15509 # Flag that forces no undefined symbols.
15510 no_undefined_flag=$lt_no_undefined_flag_F77
15512 # Commands used to finish a libtool library installation in a directory.
15513 finish_cmds=$lt_finish_cmds
15515 # Same as above, but a single script fragment to be evaled but not shown.
15516 finish_eval=$lt_finish_eval
15518 # Take the output of nm and produce a listing of raw symbols and C names.
15519 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15521 # Transform the output of nm in a proper C declaration
15522 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15524 # Transform the output of nm in a C name address pair
15525 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15527 # This is the shared library runtime path variable.
15528 runpath_var=$runpath_var
15530 # This is the shared library path variable.
15531 shlibpath_var=$shlibpath_var
15533 # Is shlibpath searched before the hard-coded library search path?
15534 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15536 # How to hardcode a shared library path into an executable.
15537 hardcode_action=$hardcode_action_F77
15539 # Whether we should hardcode library paths into libraries.
15540 hardcode_into_libs=$hardcode_into_libs
15542 # Flag to hardcode \$libdir into a binary during linking.
15543 # This must work even if \$libdir does not exist.
15544 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15546 # If ld is used when linking, flag to hardcode \$libdir into
15547 # a binary during linking. This must work even if \$libdir does
15549 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15551 # Whether we need a single -rpath flag with a separated argument.
15552 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15554 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15555 # resulting binary.
15556 hardcode_direct=$hardcode_direct_F77
15558 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15559 # resulting binary.
15560 hardcode_minus_L=$hardcode_minus_L_F77
15562 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15563 # the resulting binary.
15564 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15566 # Set to yes if building a shared library automatically hardcodes DIR into the library
15567 # and all subsequent libraries and executables linked against it.
15568 hardcode_automatic=$hardcode_automatic_F77
15570 # Variables whose values should be saved in libtool wrapper scripts and
15571 # restored at relink time.
15572 variables_saved_for_relink="$variables_saved_for_relink"
15574 # Whether libtool must link a program against all its dependency libraries.
15575 link_all_deplibs=$link_all_deplibs_F77
15577 # Compile-time system search path for libraries
15578 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15580 # Run-time system search path for libraries
15581 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15583 # Fix the shell variable \$srcfile for the compiler.
15584 fix_srcfile_path="$fix_srcfile_path_F77"
15586 # Set to yes if exported symbols are required.
15587 always_export_symbols=$always_export_symbols_F77
15589 # The commands to list exported symbols.
15590 export_symbols_cmds=$lt_export_symbols_cmds_F77
15592 # The commands to extract the exported symbol list from a shared archive.
15593 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15595 # Symbols that should not be listed in the preloaded symbols.
15596 exclude_expsyms=$lt_exclude_expsyms_F77
15598 # Symbols that must always be exported.
15599 include_expsyms=$lt_include_expsyms_F77
15601 # ### END LIBTOOL TAG CONFIG: $tagname
15607 # If there is no Makefile yet, we rely on a make rule to execute
15608 # `config.status --recheck' to rerun these tests and create the
15609 # libtool script then.
15610 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15611 if test -f "$ltmain_in"; then
15612 test -f Makefile
&& make "$ltmain"
15618 ac_cpp
='$CPP $CPPFLAGS'
15619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15631 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15635 # Source file extension for Java test sources.
15638 # Object file extension for compiled Java test sources.
15642 # Code to be used in simple compile tests
15643 lt_simple_compile_test_code
="class foo {}\n"
15645 # Code to be used in simple link tests
15646 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15648 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15650 # If no C compiler was specified, use CC.
15653 # If no C compiler flags were specified, use CFLAGS.
15654 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15656 # Allow CC to be a program name with arguments.
15660 # save warnings/boilerplate of simple test code
15661 ac_outfile
=conftest.
$ac_objext
15662 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15663 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15664 _lt_compiler_boilerplate
=`cat conftest.err`
15667 ac_outfile
=conftest.
$ac_objext
15668 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15669 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15670 _lt_linker_boilerplate
=`cat conftest.err`
15674 # Allow CC to be a program name with arguments.
15679 for cc_temp
in $compiler""; do
15681 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15682 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15687 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15690 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15691 archive_cmds_need_lc_GCJ
=no
15693 old_archive_cmds_GCJ
=$old_archive_cmds
15696 lt_prog_compiler_no_builtin_flag_GCJ
=
15698 if test "$GCC" = yes; then
15699 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15702 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15703 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15704 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 lt_cv_prog_compiler_rtti_exceptions
=no
15708 ac_outfile
=conftest.
$ac_objext
15709 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15710 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15711 # Insert the option either (1) after the last *FLAGS variable, or
15712 # (2) before a word containing "conftest.", or (3) at the end.
15713 # Note that $ac_compile itself does not contain backslashes and begins
15714 # with a dollar sign (not a hyphen), so the echo should work correctly.
15715 # The option is referenced via a variable to avoid confusing sed.
15716 lt_compile
=`echo "$ac_compile" | $SED \
15717 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15718 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15719 -e 's:$: $lt_compiler_flag:'`
15720 (eval echo "\"\$as_me:15720: $lt_compile\"" >&5)
15721 (eval "$lt_compile" 2>conftest.err
)
15723 cat conftest.err
>&5
15724 echo "$as_me:15724: \$? = $ac_status" >&5
15725 if (exit $ac_status) && test -s "$ac_outfile"; then
15726 # The compiler can only warn and ignore the option if not recognized
15727 # So say no if there are warnings other than the usual output.
15728 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15729 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15730 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15731 lt_cv_prog_compiler_rtti_exceptions
=yes
15737 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15738 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15740 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15741 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15748 lt_prog_compiler_wl_GCJ
=
15749 lt_prog_compiler_pic_GCJ
=
15750 lt_prog_compiler_static_GCJ
=
15752 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15753 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15755 if test "$GCC" = yes; then
15756 lt_prog_compiler_wl_GCJ
='-Wl,'
15757 lt_prog_compiler_static_GCJ
='-static'
15761 # All AIX code is PIC.
15762 if test "$host_cpu" = ia64
; then
15763 # AIX 5 now supports IA64 processor
15764 lt_prog_compiler_static_GCJ
='-Bstatic'
15769 # FIXME: we need at least 68020 code to build shared libraries, but
15770 # adding the `-m68020' flag to GCC prevents building anything better,
15772 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15775 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15776 # PIC is the default for these OSes.
15779 mingw
* | pw32
* | os2
*)
15780 # This hack is so that the source file can tell whether it is being
15781 # built for inclusion in a dll (and should export symbols for example).
15782 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15785 darwin
* | rhapsody
*)
15786 # PIC is the default on this platform
15787 # Common symbols not allowed in MH_DYLIB files
15788 lt_prog_compiler_pic_GCJ
='-fno-common'
15792 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15793 # Instead, we relocate shared libraries at runtime.
15797 # Just because we use GCC doesn't mean we suddenly get shared libraries
15798 # on systems that don't support them.
15799 lt_prog_compiler_can_build_shared_GCJ
=no
15804 if test -d /usr
/nec
; then
15805 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15810 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15811 # not for PA HP-UX.
15817 lt_prog_compiler_pic_GCJ
='-fPIC'
15823 lt_prog_compiler_pic_GCJ
='-fPIC'
15827 # PORTME Check for flag to pass linker flags through the system compiler.
15830 lt_prog_compiler_wl_GCJ
='-Wl,'
15831 if test "$host_cpu" = ia64
; then
15832 # AIX 5 now supports IA64 processor
15833 lt_prog_compiler_static_GCJ
='-Bstatic'
15835 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15839 # PIC is the default on this platform
15840 # Common symbols not allowed in MH_DYLIB files
15841 case $cc_basename in
15843 lt_prog_compiler_pic_GCJ
='-qnocommon'
15844 lt_prog_compiler_wl_GCJ
='-Wl,'
15849 mingw
* | pw32
* | os2
*)
15850 # This hack is so that the source file can tell whether it is being
15851 # built for inclusion in a dll (and should export symbols for example).
15852 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15855 hpux9
* | hpux10
* | hpux11
*)
15856 lt_prog_compiler_wl_GCJ
='-Wl,'
15857 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15858 # not for PA HP-UX.
15864 lt_prog_compiler_pic_GCJ
='+Z'
15867 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15868 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15871 irix5
* | irix6
* | nonstopux
*)
15872 lt_prog_compiler_wl_GCJ
='-Wl,'
15873 # PIC (with -KPIC) is the default.
15874 lt_prog_compiler_static_GCJ
='-non_shared'
15878 lt_prog_compiler_pic_GCJ
='-KPIC'
15879 lt_prog_compiler_static_GCJ
='-Bstatic'
15883 case $cc_basename in
15885 lt_prog_compiler_wl_GCJ
='-Wl,'
15886 lt_prog_compiler_pic_GCJ
='-KPIC'
15887 lt_prog_compiler_static_GCJ
='-static'
15889 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15890 # Portland Group compilers (*not* the Pentium gcc compiler,
15891 # which looks to be a dead project)
15892 lt_prog_compiler_wl_GCJ
='-Wl,'
15893 lt_prog_compiler_pic_GCJ
='-fpic'
15894 lt_prog_compiler_static_GCJ
='-Bstatic'
15897 lt_prog_compiler_wl_GCJ
='-Wl,'
15898 # All Alpha code is PIC.
15899 lt_prog_compiler_static_GCJ
='-non_shared'
15904 osf3
* | osf4
* | osf5
*)
15905 lt_prog_compiler_wl_GCJ
='-Wl,'
15906 # All OSF/1 code is PIC.
15907 lt_prog_compiler_static_GCJ
='-non_shared'
15911 lt_prog_compiler_pic_GCJ
='-KPIC'
15912 lt_prog_compiler_static_GCJ
='-Bstatic'
15913 case $cc_basename in
15914 f77
* | f90
* | f95
*)
15915 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15917 lt_prog_compiler_wl_GCJ
='-Wl,';;
15922 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15923 lt_prog_compiler_pic_GCJ
='-PIC'
15924 lt_prog_compiler_static_GCJ
='-Bstatic'
15927 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15928 lt_prog_compiler_wl_GCJ
='-Wl,'
15929 lt_prog_compiler_pic_GCJ
='-KPIC'
15930 lt_prog_compiler_static_GCJ
='-Bstatic'
15934 if test -d /usr
/nec
;then
15935 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15936 lt_prog_compiler_static_GCJ
='-Bstatic'
15940 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15941 lt_prog_compiler_wl_GCJ
='-Wl,'
15942 lt_prog_compiler_pic_GCJ
='-KPIC'
15943 lt_prog_compiler_static_GCJ
='-Bstatic'
15947 lt_prog_compiler_wl_GCJ
='-Wl,'
15948 lt_prog_compiler_can_build_shared_GCJ
=no
15952 lt_prog_compiler_pic_GCJ
='-pic'
15953 lt_prog_compiler_static_GCJ
='-Bstatic'
15957 lt_prog_compiler_can_build_shared_GCJ
=no
15962 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15963 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15966 # Check to make sure the PIC flag actually works.
15968 if test -n "$lt_prog_compiler_pic_GCJ"; then
15970 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15971 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15972 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15975 lt_prog_compiler_pic_works_GCJ
=no
15976 ac_outfile
=conftest.
$ac_objext
15977 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15978 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15979 # Insert the option either (1) after the last *FLAGS variable, or
15980 # (2) before a word containing "conftest.", or (3) at the end.
15981 # Note that $ac_compile itself does not contain backslashes and begins
15982 # with a dollar sign (not a hyphen), so the echo should work correctly.
15983 # The option is referenced via a variable to avoid confusing sed.
15984 lt_compile
=`echo "$ac_compile" | $SED \
15985 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15986 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15987 -e 's:$: $lt_compiler_flag:'`
15988 (eval echo "\"\$as_me:15988: $lt_compile\"" >&5)
15989 (eval "$lt_compile" 2>conftest.err
)
15991 cat conftest.err
>&5
15992 echo "$as_me:15992: \$? = $ac_status" >&5
15993 if (exit $ac_status) && test -s "$ac_outfile"; then
15994 # The compiler can only warn and ignore the option if not recognized
15995 # So say no if there are warnings other than the usual output.
15996 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15997 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15998 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15999 lt_prog_compiler_pic_works_GCJ
=yes
16005 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16006 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16008 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16009 case $lt_prog_compiler_pic_GCJ in
16011 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16014 lt_prog_compiler_pic_GCJ
=
16015 lt_prog_compiler_can_build_shared_GCJ
=no
16020 # For platforms which do not support PIC, -DPIC is meaningless:
16022 lt_prog_compiler_pic_GCJ
=
16025 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16030 # Check to make sure the static flag actually works.
16032 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16033 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16034 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16035 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 lt_prog_compiler_static_works_GCJ
=no
16039 save_LDFLAGS
="$LDFLAGS"
16040 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16041 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16042 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16043 # The linker can only warn and ignore the option if not recognized
16044 # So say no if there are warnings
16045 if test -s conftest.err
; then
16046 # Append any errors to the config.log.
16047 cat conftest.err
1>&5
16048 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16049 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16050 if diff conftest.exp conftest.er2
>/dev
/null
; then
16051 lt_prog_compiler_static_works_GCJ
=yes
16054 lt_prog_compiler_static_works_GCJ
=yes
16058 LDFLAGS
="$save_LDFLAGS"
16061 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16062 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16064 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16067 lt_prog_compiler_static_GCJ
=
16071 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16072 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16073 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16074 echo $ECHO_N "(cached) $ECHO_C" >&6
16076 lt_cv_prog_compiler_c_o_GCJ
=no
16077 $rm -r conftest
2>/dev
/null
16081 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16083 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16084 # Insert the option either (1) after the last *FLAGS variable, or
16085 # (2) before a word containing "conftest.", or (3) at the end.
16086 # Note that $ac_compile itself does not contain backslashes and begins
16087 # with a dollar sign (not a hyphen), so the echo should work correctly.
16088 lt_compile
=`echo "$ac_compile" | $SED \
16089 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16090 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16091 -e 's:$: $lt_compiler_flag:'`
16092 (eval echo "\"\$as_me:16092: $lt_compile\"" >&5)
16093 (eval "$lt_compile" 2>out
/conftest.err
)
16095 cat out
/conftest.err
>&5
16096 echo "$as_me:16096: \$? = $ac_status" >&5
16097 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16099 # The compiler can only warn and ignore the option if not recognized
16100 # So say no if there are warnings
16101 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16102 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16103 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16104 lt_cv_prog_compiler_c_o_GCJ
=yes
16109 # SGI C++ compiler will create directory out/ii_files/ for
16110 # template instantiation
16111 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16112 $rm out
/* && rmdir out
16118 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16119 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16122 hard_links
="nottested"
16123 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16124 # do not overwrite the value of need_locks provided by the user
16125 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16126 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16129 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16131 ln conftest.a conftest.b
2>&5 || hard_links
=no
16132 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16133 echo "$as_me:$LINENO: result: $hard_links" >&5
16134 echo "${ECHO_T}$hard_links" >&6
16135 if test "$hard_links" = no
; then
16136 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16137 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16144 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16145 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16148 allow_undefined_flag_GCJ
=
16149 enable_shared_with_static_runtimes_GCJ
=no
16151 archive_expsym_cmds_GCJ
=
16152 old_archive_From_new_cmds_GCJ
=
16153 old_archive_from_expsyms_cmds_GCJ
=
16154 export_dynamic_flag_spec_GCJ
=
16155 whole_archive_flag_spec_GCJ
=
16156 thread_safe_flag_spec_GCJ
=
16157 hardcode_libdir_flag_spec_GCJ
=
16158 hardcode_libdir_flag_spec_ld_GCJ
=
16159 hardcode_libdir_separator_GCJ
=
16160 hardcode_direct_GCJ
=no
16161 hardcode_minus_L_GCJ
=no
16162 hardcode_shlibpath_var_GCJ
=unsupported
16163 link_all_deplibs_GCJ
=unknown
16164 hardcode_automatic_GCJ
=no
16166 module_expsym_cmds_GCJ
=
16167 always_export_symbols_GCJ
=no
16168 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16169 # include_expsyms should be a list of space-separated symbols to be *always*
16170 # included in the symbol list
16171 include_expsyms_GCJ
=
16172 # exclude_expsyms can be an extended regexp of symbols to exclude
16173 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16174 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16175 # as well as any symbol that contains `d'.
16176 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16177 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16178 # platforms (ab)use it in PIC code, but their linkers get confused if
16179 # the symbol is explicitly referenced. Since portable code cannot
16180 # rely on this symbol name, it's probably fine to never include it in
16181 # preloaded symbol tables.
16182 extract_expsyms_cmds
=
16183 # Just being paranoid about ensuring that cc_basename is set.
16184 for cc_temp
in $compiler""; do
16186 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16187 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16192 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16195 cygwin
* | mingw
* | pw32
*)
16196 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16197 # When not using gcc, we currently assume that we are using
16198 # Microsoft Visual C++.
16199 if test "$GCC" != yes; then
16204 # we just hope/assume this is gcc and not c89 (= MSVC++)
16213 if test "$with_gnu_ld" = yes; then
16214 # If archive_cmds runs LD, not CC, wlarc should be empty
16217 # Set some defaults for GNU ld with shared library support. These
16218 # are reset later if shared libraries are not supported. Putting them
16219 # here allows them to be overridden if necessary.
16220 runpath_var
=LD_RUN_PATH
16221 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16222 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16223 # ancient GNU ld didn't support --whole-archive et. al.
16224 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16225 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16227 whole_archive_flag_spec_GCJ
=
16229 supports_anon_versioning
=no
16230 case `$LD -v 2>/dev/null` in
16231 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16232 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16233 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16234 *\
2.11.
*) ;; # other 2.11 versions
16235 *) supports_anon_versioning
=yes ;;
16238 # See if GNU ld supports shared libraries.
16240 aix3
* | aix4
* | aix5
*)
16241 # On AIX/PPC, the GNU linker is very broken
16242 if test "$host_cpu" != ia64
; then
16246 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16247 *** to be unable to reliably create shared libraries on AIX.
16248 *** Therefore, libtool is disabling shared libraries support. If you
16249 *** really care for shared libraries, you may want to modify your PATH
16250 *** so that a non-GNU linker is found, and then restart.
16257 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)'
16258 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16259 hardcode_minus_L_GCJ
=yes
16261 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16262 # that the semantics of dynamic libraries on AmigaOS, at least up
16263 # to version 4, is to share data among multiple programs linked
16264 # with the same dynamic library. Since this doesn't match the
16265 # behavior of shared libraries on other platforms, we can't use
16271 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16272 allow_undefined_flag_GCJ
=unsupported
16273 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16274 # support --undefined. This deserves some investigation. FIXME
16275 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16281 cygwin
* | mingw
* | pw32
*)
16282 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16283 # as there is no search path for DLLs.
16284 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16285 allow_undefined_flag_GCJ
=unsupported
16286 always_export_symbols_GCJ
=no
16287 enable_shared_with_static_runtimes_GCJ
=yes
16288 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16290 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16291 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16292 # If the export-symbols file already is a .def file (1st line
16293 # is EXPORTS), use it as is; otherwise, prepend...
16294 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16295 cp $export_symbols $output_objdir/$soname.def;
16297 echo EXPORTS > $output_objdir/$soname.def;
16298 cat $export_symbols >> $output_objdir/$soname.def;
16300 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16307 hardcode_direct_GCJ
=no
16308 hardcode_shlibpath_var_GCJ
=no
16309 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16310 export_dynamic_flag_spec_GCJ
='${wl}-E'
16311 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16312 # Instead, shared libraries are loaded at an image base (0x10000000 by
16313 # default) and relocated if they conflict, which is a slow very memory
16314 # consuming and fragmenting process. To avoid this, we pick a random,
16315 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16316 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16317 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'
16318 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'
16322 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16324 case $cc_basename,$host_cpu in
16325 pgcc
*) # Portland Group C compiler
16326 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'
16327 tmp_addflag
=' $pic_flag'
16329 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16330 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'
16331 tmp_addflag
=' $pic_flag -Mnomain' ;;
16332 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16333 tmp_addflag
=' -i_dynamic' ;;
16334 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16335 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16336 ifc
* | ifort
*) # Intel Fortran compiler
16337 tmp_addflag
=' -nofor_main' ;;
16339 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16341 if test $supports_anon_versioning = yes; then
16342 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16343 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16344 $echo "local: *; };" >> $output_objdir/$libname.ver~
16345 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16353 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16354 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16357 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16358 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16363 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16367 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16368 *** create shared libraries on Solaris systems. Therefore, libtool
16369 *** is disabling shared libraries support. We urge you to upgrade GNU
16370 *** binutils to release 2.9.1 or newer. Another option is to modify
16371 *** your PATH or compiler configuration so that the native linker is
16372 *** used, and then restart.
16375 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16376 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16377 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16383 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16384 case `$LD -v 2>&1` in
16385 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16389 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16390 *** reliably create shared libraries on SCO systems. Therefore, libtool
16391 *** is disabling shared libraries support. We urge you to upgrade GNU
16392 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16393 *** your PATH or compiler configuration so that the native linker is
16394 *** used, and then restart.
16399 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16400 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16401 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16402 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16411 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16413 hardcode_direct_GCJ
=yes
16414 hardcode_shlibpath_var_GCJ
=no
16418 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16419 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16420 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16427 if test "$ld_shlibs_GCJ" = no
; then
16429 hardcode_libdir_flag_spec_GCJ
=
16430 export_dynamic_flag_spec_GCJ
=
16431 whole_archive_flag_spec_GCJ
=
16434 # PORTME fill in a description of your system's linker (not GNU ld)
16437 allow_undefined_flag_GCJ
=unsupported
16438 always_export_symbols_GCJ
=yes
16439 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'
16440 # Note: this linker hardcodes the directories in LIBPATH if there
16441 # are no directories specified by -L.
16442 hardcode_minus_L_GCJ
=yes
16443 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16444 # Neither direct hardcoding nor static linking is supported with a
16446 hardcode_direct_GCJ
=unsupported
16451 if test "$host_cpu" = ia64
; then
16452 # On IA64, the linker does run time linking by default, so we don't
16453 # have to do anything special.
16454 aix_use_runtimelinking
=no
16455 exp_sym_flag
='-Bexport'
16458 # If we're using GNU nm, then we don't want the "-C" option.
16459 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16460 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16461 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'
16463 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'
16465 aix_use_runtimelinking
=no
16467 # Test if we are trying to use run time linking or normal
16468 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16469 # need to do runtime linking.
16470 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16471 for ld_flag
in $LDFLAGS; do
16472 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16473 aix_use_runtimelinking
=yes
16480 exp_sym_flag
='-bexport'
16481 no_entry_flag
='-bnoentry'
16484 # When large executables or shared objects are built, AIX ld can
16485 # have problems creating the table of contents. If linking a library
16486 # or program results in "error TOC overflow" add -mminimal-toc to
16487 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16488 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16490 archive_cmds_GCJ
=''
16491 hardcode_direct_GCJ
=yes
16492 hardcode_libdir_separator_GCJ
=':'
16493 link_all_deplibs_GCJ
=yes
16495 if test "$GCC" = yes; then
16496 case $host_os in aix4.
[012]|aix4.
[012].
*)
16497 # We only want to do this on AIX 4.2 and lower, the check
16498 # below for broken collect2 doesn't work under 4.3+
16499 collect2name
=`${CC} -print-prog-name=collect2`
16500 if test -f "$collect2name" && \
16501 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16503 # We have reworked collect2
16504 hardcode_direct_GCJ
=yes
16506 # We have old collect2
16507 hardcode_direct_GCJ
=unsupported
16508 # It fails to find uninstalled libraries when the uninstalled
16509 # path is not listed in the libpath. Setting hardcode_minus_L
16510 # to unsupported forces relinking
16511 hardcode_minus_L_GCJ
=yes
16512 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16513 hardcode_libdir_separator_GCJ
=
16517 shared_flag
='-shared'
16518 if test "$aix_use_runtimelinking" = yes; then
16519 shared_flag
="$shared_flag "'${wl}-G'
16523 if test "$host_cpu" = ia64
; then
16524 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16525 # chokes on -Wl,-G. The following line is correct:
16528 if test "$aix_use_runtimelinking" = yes; then
16529 shared_flag
='${wl}-G'
16531 shared_flag
='${wl}-bM:SRE'
16536 # It seems that -bexpall does not export symbols beginning with
16537 # underscore (_), so it is better to generate a list of symbols to export.
16538 always_export_symbols_GCJ
=yes
16539 if test "$aix_use_runtimelinking" = yes; then
16540 # Warning - without using the other runtime loading flags (-brtl),
16541 # -berok will link without error, but may produce a broken library.
16542 allow_undefined_flag_GCJ
='-berok'
16543 # Determine the default libpath from the value encoded in an empty executable.
16544 cat >conftest.
$ac_ext <<_ACEOF
16547 cat confdefs.h
>>conftest.
$ac_ext
16548 cat >>conftest.
$ac_ext <<_ACEOF
16549 /* end confdefs.h. */
16559 rm -f conftest.
$ac_objext conftest
$ac_exeext
16560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16561 (eval $ac_link) 2>conftest.er1
16563 grep -v '^ *+' conftest.er1
>conftest.err
16565 cat conftest.err
>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } &&
16568 { ac_try
='test -z "$ac_c_werror_flag"
16569 || test ! -s conftest.err'
16570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16571 (eval $ac_try) 2>&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; } &&
16575 { ac_try
='test -s conftest$ac_exeext'
16576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16577 (eval $ac_try) 2>&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); }; }; then
16582 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16584 # Check for a 64-bit object if we didn't find anything.
16585 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; }
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.
$ac_ext >&5
16592 rm -f conftest.err conftest.
$ac_objext \
16593 conftest
$ac_exeext conftest.
$ac_ext
16594 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16596 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16597 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"
16599 if test "$host_cpu" = ia64
; then
16600 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16601 allow_undefined_flag_GCJ
="-z nodefs"
16602 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"
16604 # Determine the default libpath from the value encoded in an empty executable.
16605 cat >conftest.
$ac_ext <<_ACEOF
16608 cat confdefs.h
>>conftest.
$ac_ext
16609 cat >>conftest.
$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16620 rm -f conftest.
$ac_objext conftest
$ac_exeext
16621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16622 (eval $ac_link) 2>conftest.er1
16624 grep -v '^ *+' conftest.er1
>conftest.err
16626 cat conftest.err
>&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); } &&
16629 { ac_try
='test -z "$ac_c_werror_flag"
16630 || test ! -s conftest.err'
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; } &&
16636 { ac_try
='test -s conftest$ac_exeext'
16637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16638 (eval $ac_try) 2>&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); }; }; then
16643 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16645 # Check for a 64-bit object if we didn't find anything.
16646 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; }
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.
$ac_ext >&5
16653 rm -f conftest.err conftest.
$ac_objext \
16654 conftest
$ac_exeext conftest.
$ac_ext
16655 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16657 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16658 # Warning - without using the other run time loading flags,
16659 # -berok will link without error, but may produce a broken library.
16660 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16661 allow_undefined_flag_GCJ
=' ${wl}-berok'
16662 # Exported symbols can be pulled into shared objects from archives
16663 whole_archive_flag_spec_GCJ
='$convenience'
16664 archive_cmds_need_lc_GCJ
=yes
16665 # This is similar to how AIX traditionally builds its shared libraries.
16666 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'
16672 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)'
16673 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16674 hardcode_minus_L_GCJ
=yes
16675 # see comment about different semantics on the GNU ld section
16680 export_dynamic_flag_spec_GCJ
=-rdynamic
16683 cygwin
* | mingw
* | pw32
*)
16684 # When not using gcc, we currently assume that we are using
16685 # Microsoft Visual C++.
16686 # hardcode_libdir_flag_spec is actually meaningless, as there is
16687 # no search path for DLLs.
16688 hardcode_libdir_flag_spec_GCJ
=' '
16689 allow_undefined_flag_GCJ
=unsupported
16690 # Tell ltmain to make .lib files, not .a files.
16692 # Tell ltmain to make .dll files, not .so files.
16694 # FIXME: Setting linknames here is a bad hack.
16695 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16696 # The linker will automatically build a .lib file if we build a DLL.
16697 old_archive_From_new_cmds_GCJ
='true'
16698 # FIXME: Should let the user specify the lib program.
16699 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16700 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16701 enable_shared_with_static_runtimes_GCJ
=yes
16704 darwin
* | rhapsody
*)
16706 rhapsody
* | darwin1.
[012])
16707 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16710 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16711 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16713 case ${MACOSX_DEPLOYMENT_TARGET} in
16715 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16718 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16724 archive_cmds_need_lc_GCJ
=no
16725 hardcode_direct_GCJ
=no
16726 hardcode_automatic_GCJ
=yes
16727 hardcode_shlibpath_var_GCJ
=unsupported
16728 whole_archive_flag_spec_GCJ
=''
16729 link_all_deplibs_GCJ
=yes
16730 if test "$GCC" = yes ; then
16731 output_verbose_link_cmd
='echo'
16732 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16733 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16734 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16735 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}'
16736 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}'
16738 case $cc_basename in
16740 output_verbose_link_cmd
='echo'
16741 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16742 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16743 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16744 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}'
16745 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}'
16755 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16756 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16757 hardcode_shlibpath_var_GCJ
=no
16764 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16765 # support. Future versions do this automatically, but an explicit c++rt0.o
16766 # does not break anything, and helps significantly (at the cost of a little
16769 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16770 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16771 hardcode_direct_GCJ
=yes
16772 hardcode_shlibpath_var_GCJ
=no
16775 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16777 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16778 hardcode_direct_GCJ
=yes
16779 hardcode_minus_L_GCJ
=yes
16780 hardcode_shlibpath_var_GCJ
=no
16783 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16784 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16785 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16786 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16787 hardcode_direct_GCJ
=yes
16788 hardcode_shlibpath_var_GCJ
=no
16792 if test "$GCC" = yes; then
16793 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'
16795 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'
16797 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16798 hardcode_libdir_separator_GCJ
=:
16799 hardcode_direct_GCJ
=yes
16801 # hardcode_minus_L: Not really in the search PATH,
16802 # but as the default location of the library.
16803 hardcode_minus_L_GCJ
=yes
16804 export_dynamic_flag_spec_GCJ
='${wl}-E'
16808 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16809 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16811 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16813 if test "$with_gnu_ld" = no
; then
16814 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16815 hardcode_libdir_separator_GCJ
=:
16817 hardcode_direct_GCJ
=yes
16818 export_dynamic_flag_spec_GCJ
='${wl}-E'
16820 # hardcode_minus_L: Not really in the search PATH,
16821 # but as the default location of the library.
16822 hardcode_minus_L_GCJ
=yes
16827 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16830 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16833 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16836 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16842 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16845 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16848 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16852 if test "$with_gnu_ld" = no
; then
16853 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16854 hardcode_libdir_separator_GCJ
=:
16858 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16859 hardcode_direct_GCJ
=no
16860 hardcode_shlibpath_var_GCJ
=no
16863 hardcode_direct_GCJ
=yes
16864 export_dynamic_flag_spec_GCJ
='${wl}-E'
16866 # hardcode_minus_L: Not really in the search PATH,
16867 # but as the default location of the library.
16868 hardcode_minus_L_GCJ
=yes
16874 irix5
* | irix6
* | nonstopux
*)
16875 if test "$GCC" = yes; then
16876 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'
16878 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'
16879 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16881 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16882 hardcode_libdir_separator_GCJ
=:
16883 link_all_deplibs_GCJ
=yes
16887 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16888 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16890 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16892 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16893 hardcode_direct_GCJ
=yes
16894 hardcode_shlibpath_var_GCJ
=no
16898 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16899 hardcode_direct_GCJ
=yes
16900 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16901 hardcode_libdir_separator_GCJ
=:
16902 hardcode_shlibpath_var_GCJ
=no
16906 hardcode_direct_GCJ
=yes
16907 hardcode_shlibpath_var_GCJ
=no
16908 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16909 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16910 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16911 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16912 export_dynamic_flag_spec_GCJ
='${wl}-E'
16915 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16916 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16917 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16920 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16921 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16928 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16929 hardcode_minus_L_GCJ
=yes
16930 allow_undefined_flag_GCJ
=unsupported
16931 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'
16932 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16936 if test "$GCC" = yes; then
16937 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16938 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'
16940 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16941 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'
16943 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16944 hardcode_libdir_separator_GCJ
=:
16947 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16948 if test "$GCC" = yes; then
16949 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16950 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'
16951 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16953 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16954 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'
16955 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~
16956 $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'
16958 # Both c and cxx compiler support -rpath directly
16959 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16961 hardcode_libdir_separator_GCJ
=:
16965 no_undefined_flag_GCJ
=' -z text'
16966 if test "$GCC" = yes; then
16968 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16969 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16970 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16973 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16974 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16975 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16977 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16978 hardcode_shlibpath_var_GCJ
=no
16980 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16982 # The compiler driver will combine linker options so we
16983 # cannot just pass the convience library names through
16984 # without $wl, iff we do not link with $LD.
16985 # Luckily, gcc supports the same syntax we need for Sun Studio.
16986 # Supported since Solaris 2.6 (maybe 2.5.1?)
16989 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16991 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' ;;
16994 link_all_deplibs_GCJ
=yes
16998 if test "x$host_vendor" = xsequent
; then
16999 # Use $CC to link under sequent, because it throws in some extra .o
17000 # files that make .init and .fini sections work.
17001 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17003 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17005 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17006 hardcode_direct_GCJ
=yes
17007 hardcode_minus_L_GCJ
=yes
17008 hardcode_shlibpath_var_GCJ
=no
17012 case $host_vendor in
17014 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17015 hardcode_direct_GCJ
=yes # is this really true???
17018 ## LD is ld it makes a PLAMLIB
17019 ## CC just makes a GrossModule.
17020 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17021 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17022 hardcode_direct_GCJ
=no
17025 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17026 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17029 runpath_var
='LD_RUN_PATH'
17030 hardcode_shlibpath_var_GCJ
=no
17034 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17035 hardcode_shlibpath_var_GCJ
=no
17036 export_dynamic_flag_spec_GCJ
='-Bexport'
17040 if test -d /usr
/nec
; then
17041 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17042 hardcode_shlibpath_var_GCJ
=no
17043 runpath_var
=LD_RUN_PATH
17044 hardcode_runpath_var
=yes
17049 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17050 no_undefined_flag_GCJ
='${wl}-z,text'
17051 archive_cmds_need_lc_GCJ
=no
17052 hardcode_shlibpath_var_GCJ
=no
17053 runpath_var
='LD_RUN_PATH'
17055 if test "$GCC" = yes; then
17056 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17057 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17059 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17060 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17064 sysv5
* | sco3.2v5
* | sco5v6
*)
17065 # Note: We can NOT use -z defs as we might desire, because we do not
17066 # link with -lc, and that would cause any symbols used from libc to
17067 # always be unresolved, which means just about no library would
17068 # ever link correctly. If we're not using GNU ld we use -z text
17069 # though, which does catch some bad symbols but isn't as heavy-handed
17071 no_undefined_flag_GCJ
='${wl}-z,text'
17072 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17073 archive_cmds_need_lc_GCJ
=no
17074 hardcode_shlibpath_var_GCJ
=no
17075 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17076 hardcode_libdir_separator_GCJ
=':'
17077 link_all_deplibs_GCJ
=yes
17078 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17079 runpath_var
='LD_RUN_PATH'
17081 if test "$GCC" = yes; then
17082 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17083 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17085 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17086 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17091 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17092 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17093 hardcode_shlibpath_var_GCJ
=no
17102 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17103 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17104 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17107 # Do we need to explicitly link libc?
17109 case "x$archive_cmds_need_lc_GCJ" in
17111 # Assume -lc should be added
17112 archive_cmds_need_lc_GCJ
=yes
17114 if test "$enable_shared" = yes && test "$GCC" = yes; then
17115 case $archive_cmds_GCJ in
17117 # FIXME: we may have to deal with multi-command sequences.
17120 # Test whether the compiler implicitly links with -lc since on some
17121 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17122 # to ld, don't add -lc before -lgcc.
17123 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17124 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17126 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17129 (eval $ac_compile) 2>&5
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); } 2>conftest.err
; then
17135 libobjs
=conftest.
$ac_objext
17137 wl
=$lt_prog_compiler_wl_GCJ
17138 pic_flag
=$lt_prog_compiler_pic_GCJ
17144 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17145 allow_undefined_flag_GCJ
=
17146 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17147 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }
17152 archive_cmds_need_lc_GCJ
=no
17154 archive_cmds_need_lc_GCJ
=yes
17156 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17158 cat conftest.err
1>&5
17161 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17162 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17169 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17170 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17171 library_names_spec
=
17172 libname_spec
='lib$name'
17176 postuninstall_cmds
=
17180 shlibpath_overrides_runpath
=unknown
17182 dynamic_linker
="$host_os ld.so"
17183 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17184 if test "$GCC" = yes; then
17185 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17186 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17187 # if the path contains ";" then we assume it to be the separator
17188 # otherwise default to the standard path separator (i.e. ":") - it is
17189 # assumed that no part of a normal pathname contains ";" but that should
17190 # okay in the real world where ";" in dirpaths is itself problematic.
17191 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17193 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17196 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17198 need_lib_prefix
=unknown
17199 hardcode_into_libs
=no
17201 # when you set need_version to no, make sure it does not cause -set_version
17202 # flags to be left without arguments
17203 need_version
=unknown
17208 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17209 shlibpath_var
=LIBPATH
17211 # AIX 3 has no versioning support, so we append a major version to the name.
17212 soname_spec
='${libname}${release}${shared_ext}$major'
17219 hardcode_into_libs
=yes
17220 if test "$host_cpu" = ia64
; then
17221 # AIX 5 supports IA64
17222 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17223 shlibpath_var
=LD_LIBRARY_PATH
17225 # With GCC up to 2.95.x, collect2 would create an import file
17226 # for dependence libraries. The import file would start with
17227 # the line `#! .'. This would cause the generated library to
17228 # depend on `.', always an invalid library. This was fixed in
17229 # development snapshots of GCC prior to 3.0.
17231 aix4 | aix4.
[01] | aix4.
[01].
*)
17232 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17234 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17237 can_build_shared
=no
17241 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17242 # soname into executable. Probably we can add versioning support to
17243 # collect2, so additional links can be useful in future.
17244 if test "$aix_use_runtimelinking" = yes; then
17245 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17246 # instead of lib<name>.a to let people know that these are not
17247 # typical AIX shared libraries.
17248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17250 # We preserve .a as extension for shared libraries through AIX4.2
17251 # and later when we are not doing run time linking.
17252 library_names_spec
='${libname}${release}.a $libname.a'
17253 soname_spec
='${libname}${release}${shared_ext}$major'
17255 shlibpath_var
=LIBPATH
17260 library_names_spec
='$libname.ixlibrary $libname.a'
17261 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17262 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'
17266 library_names_spec
='${libname}${shared_ext}'
17267 dynamic_linker
="$host_os ld.so"
17268 shlibpath_var
=LIBRARY_PATH
17274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17275 soname_spec
='${libname}${release}${shared_ext}$major'
17276 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17277 shlibpath_var
=LD_LIBRARY_PATH
17278 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17279 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17280 # the default ld.so.conf also contains /usr/contrib/lib and
17281 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17282 # libtool to hard-code these into programs
17285 cygwin
* | mingw
* | pw32
*)
17286 version_type
=windows
17291 case $GCC,$host_os in
17292 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17293 library_names_spec
='$libname.dll.a'
17294 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17295 postinstall_cmds
='base_file=`basename \${file}`~
17296 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17297 dldir=$destdir/`dirname \$dlpath`~
17298 test -d \$dldir || mkdir -p \$dldir~
17299 $install_prog $dir/$dlname \$dldir/$dlname~
17300 chmod a+x \$dldir/$dlname'
17301 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17302 dlpath=$dir/\$dldll~
17304 shlibpath_overrides_runpath
=yes
17308 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17309 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17310 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17313 # MinGW DLLs use traditional 'lib' prefix
17314 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17315 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17316 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17317 # It is most probably a Windows format PATH printed by
17318 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17319 # path with ; separators, and with drive letters. We can handle the
17320 # drive letters (cygwin fileutils understands them), so leave them,
17321 # especially as we might pass files found there to a mingw objdump,
17322 # which wouldn't understand a cygwinified path. Ahh.
17323 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17325 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17329 # pw32 DLLs use 'pw' prefix rather than 'lib'
17330 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17336 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17339 dynamic_linker
='Win32 ld.exe'
17340 # FIXME: first we should search . and the directory the executable is in
17344 darwin
* | rhapsody
*)
17345 dynamic_linker
="$host_os dyld"
17346 version_type
=darwin
17349 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17350 soname_spec
='${libname}${release}${major}$shared_ext'
17351 shlibpath_overrides_runpath
=yes
17352 shlibpath_var
=DYLD_LIBRARY_PATH
17353 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17354 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17355 if test "$GCC" = yes; then
17356 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"`
17358 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17360 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17368 soname_spec
='${libname}${release}${shared_ext}$major'
17369 shlibpath_var
=LD_LIBRARY_PATH
17380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17381 soname_spec
='${libname}${release}${shared_ext}$major'
17382 shlibpath_var
=LD_LIBRARY_PATH
17383 shlibpath_overrides_runpath
=no
17384 hardcode_into_libs
=yes
17385 dynamic_linker
='GNU ld.so'
17388 freebsd
* | dragonfly
*)
17389 # DragonFly does not have aout. When/if they implement a new
17390 # versioning mechanism, adjust this.
17391 if test -x /usr
/bin
/objformat
; then
17392 objformat
=`/usr/bin/objformat`
17395 freebsd
[123]*) objformat
=aout
;;
17396 *) objformat
=elf
;;
17399 version_type
=freebsd-
$objformat
17400 case $version_type in
17402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17407 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17411 shlibpath_var
=LD_LIBRARY_PATH
17414 shlibpath_overrides_runpath
=yes
17416 freebsd3.
[01]* | freebsdelf3.
[01]*)
17417 shlibpath_overrides_runpath
=yes
17418 hardcode_into_libs
=yes
17420 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17421 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17422 shlibpath_overrides_runpath
=no
17423 hardcode_into_libs
=yes
17425 freebsd
*) # from 4.6 on
17426 shlibpath_overrides_runpath
=yes
17427 hardcode_into_libs
=yes
17436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17437 soname_spec
='${libname}${release}${shared_ext}$major'
17438 shlibpath_var
=LD_LIBRARY_PATH
17439 hardcode_into_libs
=yes
17442 hpux9
* | hpux10
* | hpux11
*)
17443 # Give a soname corresponding to the major version so that dld.sl refuses to
17444 # link against other versions.
17451 hardcode_into_libs
=yes
17452 dynamic_linker
="$host_os dld.so"
17453 shlibpath_var
=LD_LIBRARY_PATH
17454 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17456 soname_spec
='${libname}${release}${shared_ext}$major'
17457 if test "X$HPUX_IA64_MODE" = X32
; then
17458 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17460 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17462 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17466 hardcode_into_libs
=yes
17467 dynamic_linker
="$host_os dld.sl"
17468 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17469 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17471 soname_spec
='${libname}${release}${shared_ext}$major'
17472 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17473 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17477 dynamic_linker
="$host_os dld.sl"
17478 shlibpath_var
=SHLIB_PATH
17479 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17481 soname_spec
='${libname}${release}${shared_ext}$major'
17484 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17485 postinstall_cmds
='chmod 555 $lib'
17492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17493 soname_spec
='${libname}${release}${shared_ext}$major'
17494 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17495 shlibpath_var
=LD_LIBRARY_PATH
17496 shlibpath_overrides_runpath
=no
17497 hardcode_into_libs
=yes
17500 irix5
* | irix6
* | nonstopux
*)
17502 nonstopux
*) version_type
=nonstopux
;;
17504 if test "$lt_cv_prog_gnu_ld" = yes; then
17512 soname_spec
='${libname}${release}${shared_ext}$major'
17513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17515 irix5
* | nonstopux
*)
17516 libsuff
= shlibsuff
=
17519 case $LD in # libtool.m4 will add one of these switches to LD
17520 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17521 libsuff
= shlibsuff
= libmagic
=32-bit;;
17522 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17523 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17524 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17525 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17526 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17530 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17531 shlibpath_overrides_runpath
=no
17532 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17533 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17534 hardcode_into_libs
=yes
17537 # No shared lib support for Linux oldld, aout, or coff.
17538 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17542 # This must be Linux ELF.
17547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17548 soname_spec
='${libname}${release}${shared_ext}$major'
17549 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17550 shlibpath_var
=LD_LIBRARY_PATH
17551 shlibpath_overrides_runpath
=no
17552 # This implies no fast_install, which is unacceptable.
17553 # Some rework will be needed to allow for fast_install
17554 # before this can be enabled.
17555 hardcode_into_libs
=yes
17557 # find out which ABI we are using
17559 case "$host_cpu" in
17560 x86_64
*|s390x
*|powerpc64
*)
17561 echo '#line 17561 "configure"' > conftest.
$ac_ext
17562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17563 (eval $ac_compile) 2>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; then
17567 case `/usr/bin/file conftest.$ac_objext` in
17570 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17578 # Append ld.so.conf contents to the search path
17579 if test -f /etc
/ld.so.conf
; then
17580 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17581 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17584 # We used to test for /lib/ld.so.1 and disable shared libraries on
17585 # powerpc, because MkLinux only supported shared libraries with the
17586 # GNU dynamic linker. Since this was broken with cross compilers,
17587 # most powerpc-linux boxes support dynamic linking these days and
17588 # people can always --disable-shared, the test was removed, and we
17589 # assume the GNU/Linux dynamic linker is in use.
17590 dynamic_linker
='GNU/Linux ld.so'
17597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17598 soname_spec
='${libname}${release}${shared_ext}$major'
17599 shlibpath_var
=LD_LIBRARY_PATH
17600 shlibpath_overrides_runpath
=no
17601 hardcode_into_libs
=yes
17602 dynamic_linker
='GNU ld.so'
17609 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17611 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17612 dynamic_linker
='NetBSD (a.out) ld.so'
17614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17615 soname_spec
='${libname}${release}${shared_ext}$major'
17616 dynamic_linker
='NetBSD ld.elf_so'
17618 shlibpath_var
=LD_LIBRARY_PATH
17619 shlibpath_overrides_runpath
=yes
17620 hardcode_into_libs
=yes
17625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17626 shlibpath_var
=LD_LIBRARY_PATH
17627 shlibpath_overrides_runpath
=yes
17634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17635 soname_spec
='${libname}${release}${shared_ext}$major'
17636 shlibpath_var
=LD_LIBRARY_PATH
17637 shlibpath_overrides_runpath
=yes
17642 sys_lib_dlsearch_path_spec
="/usr/lib"
17644 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17646 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17647 *) need_version
=no
;;
17649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17650 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17651 shlibpath_var
=LD_LIBRARY_PATH
17652 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17654 openbsd2.
[89] | openbsd2.
[89].
*)
17655 shlibpath_overrides_runpath
=no
17658 shlibpath_overrides_runpath
=yes
17662 shlibpath_overrides_runpath
=yes
17667 libname_spec
='$name'
17670 library_names_spec
='$libname${shared_ext} $libname.a'
17671 dynamic_linker
='OS/2 ld.exe'
17672 shlibpath_var
=LIBPATH
17675 osf3
* | osf4
* | osf5
*)
17679 soname_spec
='${libname}${release}${shared_ext}$major'
17680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17681 shlibpath_var
=LD_LIBRARY_PATH
17682 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17683 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17691 soname_spec
='${libname}${release}${shared_ext}$major'
17692 shlibpath_var
=LD_LIBRARY_PATH
17693 shlibpath_overrides_runpath
=yes
17694 hardcode_into_libs
=yes
17695 # ldd complains unless libraries are executable
17696 postinstall_cmds
='chmod +x $lib'
17701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17702 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17703 shlibpath_var
=LD_LIBRARY_PATH
17704 shlibpath_overrides_runpath
=yes
17705 if test "$with_gnu_ld" = yes; then
17713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17714 soname_spec
='${libname}${release}${shared_ext}$major'
17715 shlibpath_var
=LD_LIBRARY_PATH
17716 case $host_vendor in
17718 shlibpath_overrides_runpath
=no
17720 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17721 runpath_var
=LD_RUN_PATH
17729 shlibpath_overrides_runpath
=no
17730 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17736 if test -d /usr
/nec
;then
17738 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17739 soname_spec
='$libname${shared_ext}.$major'
17740 shlibpath_var
=LD_LIBRARY_PATH
17744 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17745 version_type
=freebsd-elf
17748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17749 soname_spec
='${libname}${release}${shared_ext}$major'
17750 shlibpath_var
=LD_LIBRARY_PATH
17751 hardcode_into_libs
=yes
17752 if test "$with_gnu_ld" = yes; then
17753 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17754 shlibpath_overrides_runpath
=no
17756 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17757 shlibpath_overrides_runpath
=yes
17760 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17764 sys_lib_dlsearch_path_spec
='/usr/lib'
17769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17770 soname_spec
='${libname}${release}${shared_ext}$major'
17771 shlibpath_var
=LD_LIBRARY_PATH
17778 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17779 echo "${ECHO_T}$dynamic_linker" >&6
17780 test "$dynamic_linker" = no
&& can_build_shared
=no
17782 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17783 if test "$GCC" = yes; then
17784 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17787 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17788 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17789 hardcode_action_GCJ
=
17790 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17791 test -n "$runpath_var_GCJ" || \
17792 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17794 # We can hardcode non-existant directories.
17795 if test "$hardcode_direct_GCJ" != no
&&
17796 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17797 # have to relink, otherwise we might link with an installed library
17798 # when we should be linking with a yet-to-be-installed one
17799 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17800 test "$hardcode_minus_L_GCJ" != no
; then
17801 # Linking always hardcodes the temporary library directory.
17802 hardcode_action_GCJ
=relink
17804 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17805 hardcode_action_GCJ
=immediate
17808 # We cannot hardcode anything, or else we can only hardcode existing
17810 hardcode_action_GCJ
=unsupported
17812 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17813 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17815 if test "$hardcode_action_GCJ" = relink
; then
17816 # Fast installation is not supported
17817 enable_fast_install
=no
17818 elif test "$shlibpath_overrides_runpath" = yes ||
17819 test "$enable_shared" = no
; then
17820 # Fast installation is not necessary
17821 enable_fast_install
=needless
17825 # The else clause should only fire when bootstrapping the
17826 # libtool distribution, otherwise you forgot to ship ltmain.sh
17827 # with your package, and you will get complaints that there are
17828 # no rules to generate ltmain.sh.
17829 if test -f "$ltmain"; then
17830 # See if we are running on zsh, and set the options which allow our commands through
17831 # without removal of \ escapes.
17832 if test -n "${ZSH_VERSION+set}" ; then
17833 setopt NO_GLOB_SUBST
17835 # Now quote all the things that may contain metacharacters while being
17836 # careful not to overquote the AC_SUBSTed values. We take copies of the
17837 # variables and quote the copies for generation of the libtool script.
17838 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17840 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17841 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17842 deplibs_check_method reload_flag reload_cmds need_locks \
17843 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17844 lt_cv_sys_global_symbol_to_c_name_address \
17845 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17846 old_postinstall_cmds old_postuninstall_cmds \
17850 lt_prog_compiler_wl_GCJ \
17851 lt_prog_compiler_pic_GCJ \
17852 lt_prog_compiler_static_GCJ \
17853 lt_prog_compiler_no_builtin_flag_GCJ \
17854 export_dynamic_flag_spec_GCJ \
17855 thread_safe_flag_spec_GCJ \
17856 whole_archive_flag_spec_GCJ \
17857 enable_shared_with_static_runtimes_GCJ \
17858 old_archive_cmds_GCJ \
17859 old_archive_from_new_cmds_GCJ \
17860 predep_objects_GCJ \
17861 postdep_objects_GCJ \
17864 compiler_lib_search_path_GCJ \
17866 archive_expsym_cmds_GCJ \
17867 postinstall_cmds_GCJ \
17868 postuninstall_cmds_GCJ \
17869 old_archive_from_expsyms_cmds_GCJ \
17870 allow_undefined_flag_GCJ \
17871 no_undefined_flag_GCJ \
17872 export_symbols_cmds_GCJ \
17873 hardcode_libdir_flag_spec_GCJ \
17874 hardcode_libdir_flag_spec_ld_GCJ \
17875 hardcode_libdir_separator_GCJ \
17876 hardcode_automatic_GCJ \
17878 module_expsym_cmds_GCJ \
17879 lt_cv_prog_compiler_c_o_GCJ \
17880 exclude_expsyms_GCJ \
17881 include_expsyms_GCJ
; do
17884 old_archive_cmds_GCJ | \
17885 old_archive_from_new_cmds_GCJ | \
17886 archive_cmds_GCJ | \
17887 archive_expsym_cmds_GCJ | \
17888 module_cmds_GCJ | \
17889 module_expsym_cmds_GCJ | \
17890 old_archive_from_expsyms_cmds_GCJ | \
17891 export_symbols_cmds_GCJ | \
17892 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17893 postinstall_cmds | postuninstall_cmds | \
17894 old_postinstall_cmds | old_postuninstall_cmds | \
17895 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17896 # Double-quote double-evaled strings.
17897 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17900 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17906 *'\$0 --fallback-echo"')
17907 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17913 cat <<__EOF__ >> "$cfgfile"
17914 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17916 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17918 # Shell to use when invoking shell scripts.
17921 # Whether or not to build shared libraries.
17922 build_libtool_libs=$enable_shared
17924 # Whether or not to build static libraries.
17925 build_old_libs=$enable_static
17927 # Whether or not to add -lc for building shared libraries.
17928 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17930 # Whether or not to disallow shared libs when runtime libs are static
17931 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17933 # Whether or not to optimize for fast installation.
17934 fast_install=$enable_fast_install
17937 host_alias=$host_alias
17941 # The build system.
17942 build_alias=$build_alias
17946 # An echo program that does not interpret backslashes.
17951 AR_FLAGS=$lt_AR_FLAGS
17956 # LTCC compiler flags.
17957 LTCFLAGS=$lt_LTCFLAGS
17959 # A language-specific compiler.
17960 CC=$lt_compiler_GCJ
17962 # Is the compiler the GNU C compiler?
17965 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
17966 gcc_ver=\`gcc -dumpversion\`
17971 # The linker used to build libraries.
17974 # Whether we need hard or soft links.
17977 # A BSD-compatible nm program.
17980 # A symbol stripping program
17983 # Used to examine libraries when file_magic_cmd begins "file"
17984 MAGIC_CMD=$MAGIC_CMD
17986 # Used on cygwin: DLL creation program.
17989 # Used on cygwin: object dumper.
17992 # Used on cygwin: assembler.
17995 # The name of the directory that contains temporary libtool files.
17998 # How to create reloadable object files.
17999 reload_flag=$lt_reload_flag
18000 reload_cmds=$lt_reload_cmds
18002 # How to pass a linker flag through the compiler.
18003 wl=$lt_lt_prog_compiler_wl_GCJ
18005 # Object file suffix (normally "o").
18006 objext="$ac_objext"
18008 # Old archive suffix (normally "a").
18011 # Shared library suffix (normally ".so").
18012 shrext_cmds='$shrext_cmds'
18014 # Executable file suffix (normally "").
18017 # Additional compiler flags for building library objects.
18018 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18021 # What is the maximum length of a command?
18022 max_cmd_len=$lt_cv_sys_max_cmd_len
18024 # Does compiler simultaneously support -c and -o options?
18025 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18027 # Must we lock files when doing compilation?
18028 need_locks=$lt_need_locks
18030 # Do we need the lib prefix for modules?
18031 need_lib_prefix=$need_lib_prefix
18033 # Do we need a version for libraries?
18034 need_version=$need_version
18036 # Whether dlopen is supported.
18037 dlopen_support=$enable_dlopen
18039 # Whether dlopen of programs is supported.
18040 dlopen_self=$enable_dlopen_self
18042 # Whether dlopen of statically linked programs is supported.
18043 dlopen_self_static=$enable_dlopen_self_static
18045 # Compiler flag to prevent dynamic linking.
18046 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18048 # Compiler flag to turn off builtin functions.
18049 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18051 # Compiler flag to allow reflexive dlopens.
18052 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18054 # Compiler flag to generate shared objects directly from archives.
18055 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18057 # Compiler flag to generate thread-safe objects.
18058 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18060 # Library versioning type.
18061 version_type=$version_type
18063 # Format of library name prefix.
18064 libname_spec=$lt_libname_spec
18066 # List of archive names. First name is the real one, the rest are links.
18067 # The last name is the one that the linker finds with -lNAME.
18068 library_names_spec=$lt_library_names_spec
18070 # The coded name of the library, if different from the real name.
18071 soname_spec=$lt_soname_spec
18073 # Commands used to build and install an old-style archive.
18075 old_archive_cmds=$lt_old_archive_cmds_GCJ
18076 old_postinstall_cmds=$lt_old_postinstall_cmds
18077 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18079 # Create an old-style archive from a shared archive.
18080 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18082 # Create a temporary old-style archive to link instead of a shared archive.
18083 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18085 # Commands used to build and install a shared archive.
18086 archive_cmds=$lt_archive_cmds_GCJ
18087 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18088 postinstall_cmds=$lt_postinstall_cmds
18089 postuninstall_cmds=$lt_postuninstall_cmds
18091 # Commands used to build a loadable module (assumed same as above if empty)
18092 module_cmds=$lt_module_cmds_GCJ
18093 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18095 # Commands to strip libraries.
18096 old_striplib=$lt_old_striplib
18097 striplib=$lt_striplib
18099 # Dependencies to place before the objects being linked to create a
18101 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18103 # Dependencies to place after the objects being linked to create a
18105 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18107 # Dependencies to place before the objects being linked to create a
18109 predeps=$lt_predeps_GCJ
18111 # Dependencies to place after the objects being linked to create a
18113 postdeps=$lt_postdeps_GCJ
18115 # The library search path used internally by the compiler when linking
18116 # a shared library.
18117 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18119 # Method to check whether dependent libraries are shared objects.
18120 deplibs_check_method=$lt_deplibs_check_method
18122 # Command to use when deplibs_check_method == file_magic.
18123 file_magic_cmd=$lt_file_magic_cmd
18125 # Flag that allows shared libraries with undefined symbols to be built.
18126 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18128 # Flag that forces no undefined symbols.
18129 no_undefined_flag=$lt_no_undefined_flag_GCJ
18131 # Commands used to finish a libtool library installation in a directory.
18132 finish_cmds=$lt_finish_cmds
18134 # Same as above, but a single script fragment to be evaled but not shown.
18135 finish_eval=$lt_finish_eval
18137 # Take the output of nm and produce a listing of raw symbols and C names.
18138 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18140 # Transform the output of nm in a proper C declaration
18141 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18143 # Transform the output of nm in a C name address pair
18144 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18146 # This is the shared library runtime path variable.
18147 runpath_var=$runpath_var
18149 # This is the shared library path variable.
18150 shlibpath_var=$shlibpath_var
18152 # Is shlibpath searched before the hard-coded library search path?
18153 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18155 # How to hardcode a shared library path into an executable.
18156 hardcode_action=$hardcode_action_GCJ
18158 # Whether we should hardcode library paths into libraries.
18159 hardcode_into_libs=$hardcode_into_libs
18161 # Flag to hardcode \$libdir into a binary during linking.
18162 # This must work even if \$libdir does not exist.
18163 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18165 # If ld is used when linking, flag to hardcode \$libdir into
18166 # a binary during linking. This must work even if \$libdir does
18168 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18170 # Whether we need a single -rpath flag with a separated argument.
18171 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18173 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18174 # resulting binary.
18175 hardcode_direct=$hardcode_direct_GCJ
18177 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18178 # resulting binary.
18179 hardcode_minus_L=$hardcode_minus_L_GCJ
18181 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18182 # the resulting binary.
18183 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18185 # Set to yes if building a shared library automatically hardcodes DIR into the library
18186 # and all subsequent libraries and executables linked against it.
18187 hardcode_automatic=$hardcode_automatic_GCJ
18189 # Variables whose values should be saved in libtool wrapper scripts and
18190 # restored at relink time.
18191 variables_saved_for_relink="$variables_saved_for_relink"
18193 # Whether libtool must link a program against all its dependency libraries.
18194 link_all_deplibs=$link_all_deplibs_GCJ
18196 # Compile-time system search path for libraries
18197 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18199 # Run-time system search path for libraries
18200 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18202 # Fix the shell variable \$srcfile for the compiler.
18203 fix_srcfile_path="$fix_srcfile_path_GCJ"
18205 # Set to yes if exported symbols are required.
18206 always_export_symbols=$always_export_symbols_GCJ
18208 # The commands to list exported symbols.
18209 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18211 # The commands to extract the exported symbol list from a shared archive.
18212 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18214 # Symbols that should not be listed in the preloaded symbols.
18215 exclude_expsyms=$lt_exclude_expsyms_GCJ
18217 # Symbols that must always be exported.
18218 include_expsyms=$lt_include_expsyms_GCJ
18220 # ### END LIBTOOL TAG CONFIG: $tagname
18226 # If there is no Makefile yet, we rely on a make rule to execute
18227 # `config.status --recheck' to rerun these tests and create the
18228 # libtool script then.
18229 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18230 if test -f "$ltmain_in"; then
18231 test -f Makefile
&& make "$ltmain"
18237 ac_cpp
='$CPP $CPPFLAGS'
18238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18253 # Source file extension for RC test sources.
18256 # Object file extension for compiled RC test sources.
18260 # Code to be used in simple compile tests
18261 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18263 # Code to be used in simple link tests
18264 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18266 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18268 # If no C compiler was specified, use CC.
18271 # If no C compiler flags were specified, use CFLAGS.
18272 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18274 # Allow CC to be a program name with arguments.
18278 # save warnings/boilerplate of simple test code
18279 ac_outfile
=conftest.
$ac_objext
18280 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18281 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18282 _lt_compiler_boilerplate
=`cat conftest.err`
18285 ac_outfile
=conftest.
$ac_objext
18286 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18287 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18288 _lt_linker_boilerplate
=`cat conftest.err`
18292 # Allow CC to be a program name with arguments.
18297 for cc_temp
in $compiler""; do
18299 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18300 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18305 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18307 lt_cv_prog_compiler_c_o_RC
=yes
18309 # The else clause should only fire when bootstrapping the
18310 # libtool distribution, otherwise you forgot to ship ltmain.sh
18311 # with your package, and you will get complaints that there are
18312 # no rules to generate ltmain.sh.
18313 if test -f "$ltmain"; then
18314 # See if we are running on zsh, and set the options which allow our commands through
18315 # without removal of \ escapes.
18316 if test -n "${ZSH_VERSION+set}" ; then
18317 setopt NO_GLOB_SUBST
18319 # Now quote all the things that may contain metacharacters while being
18320 # careful not to overquote the AC_SUBSTed values. We take copies of the
18321 # variables and quote the copies for generation of the libtool script.
18322 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18324 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18325 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18326 deplibs_check_method reload_flag reload_cmds need_locks \
18327 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18328 lt_cv_sys_global_symbol_to_c_name_address \
18329 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18330 old_postinstall_cmds old_postuninstall_cmds \
18334 lt_prog_compiler_wl_RC \
18335 lt_prog_compiler_pic_RC \
18336 lt_prog_compiler_static_RC \
18337 lt_prog_compiler_no_builtin_flag_RC \
18338 export_dynamic_flag_spec_RC \
18339 thread_safe_flag_spec_RC \
18340 whole_archive_flag_spec_RC \
18341 enable_shared_with_static_runtimes_RC \
18342 old_archive_cmds_RC \
18343 old_archive_from_new_cmds_RC \
18344 predep_objects_RC \
18345 postdep_objects_RC \
18348 compiler_lib_search_path_RC \
18350 archive_expsym_cmds_RC \
18351 postinstall_cmds_RC \
18352 postuninstall_cmds_RC \
18353 old_archive_from_expsyms_cmds_RC \
18354 allow_undefined_flag_RC \
18355 no_undefined_flag_RC \
18356 export_symbols_cmds_RC \
18357 hardcode_libdir_flag_spec_RC \
18358 hardcode_libdir_flag_spec_ld_RC \
18359 hardcode_libdir_separator_RC \
18360 hardcode_automatic_RC \
18362 module_expsym_cmds_RC \
18363 lt_cv_prog_compiler_c_o_RC \
18364 exclude_expsyms_RC \
18365 include_expsyms_RC
; do
18368 old_archive_cmds_RC | \
18369 old_archive_from_new_cmds_RC | \
18370 archive_cmds_RC | \
18371 archive_expsym_cmds_RC | \
18373 module_expsym_cmds_RC | \
18374 old_archive_from_expsyms_cmds_RC | \
18375 export_symbols_cmds_RC | \
18376 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18377 postinstall_cmds | postuninstall_cmds | \
18378 old_postinstall_cmds | old_postuninstall_cmds | \
18379 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18380 # Double-quote double-evaled strings.
18381 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18384 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18390 *'\$0 --fallback-echo"')
18391 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18397 cat <<__EOF__ >> "$cfgfile"
18398 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18400 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18402 # Shell to use when invoking shell scripts.
18405 # Whether or not to build shared libraries.
18406 build_libtool_libs=$enable_shared
18408 # Whether or not to build static libraries.
18409 build_old_libs=$enable_static
18411 # Whether or not to add -lc for building shared libraries.
18412 build_libtool_need_lc=$archive_cmds_need_lc_RC
18414 # Whether or not to disallow shared libs when runtime libs are static
18415 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18417 # Whether or not to optimize for fast installation.
18418 fast_install=$enable_fast_install
18421 host_alias=$host_alias
18425 # The build system.
18426 build_alias=$build_alias
18430 # An echo program that does not interpret backslashes.
18435 AR_FLAGS=$lt_AR_FLAGS
18440 # LTCC compiler flags.
18441 LTCFLAGS=$lt_LTCFLAGS
18443 # A language-specific compiler.
18446 # Is the compiler the GNU C compiler?
18449 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18450 gcc_ver=\`gcc -dumpversion\`
18455 # The linker used to build libraries.
18458 # Whether we need hard or soft links.
18461 # A BSD-compatible nm program.
18464 # A symbol stripping program
18467 # Used to examine libraries when file_magic_cmd begins "file"
18468 MAGIC_CMD=$MAGIC_CMD
18470 # Used on cygwin: DLL creation program.
18473 # Used on cygwin: object dumper.
18476 # Used on cygwin: assembler.
18479 # The name of the directory that contains temporary libtool files.
18482 # How to create reloadable object files.
18483 reload_flag=$lt_reload_flag
18484 reload_cmds=$lt_reload_cmds
18486 # How to pass a linker flag through the compiler.
18487 wl=$lt_lt_prog_compiler_wl_RC
18489 # Object file suffix (normally "o").
18490 objext="$ac_objext"
18492 # Old archive suffix (normally "a").
18495 # Shared library suffix (normally ".so").
18496 shrext_cmds='$shrext_cmds'
18498 # Executable file suffix (normally "").
18501 # Additional compiler flags for building library objects.
18502 pic_flag=$lt_lt_prog_compiler_pic_RC
18505 # What is the maximum length of a command?
18506 max_cmd_len=$lt_cv_sys_max_cmd_len
18508 # Does compiler simultaneously support -c and -o options?
18509 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18511 # Must we lock files when doing compilation?
18512 need_locks=$lt_need_locks
18514 # Do we need the lib prefix for modules?
18515 need_lib_prefix=$need_lib_prefix
18517 # Do we need a version for libraries?
18518 need_version=$need_version
18520 # Whether dlopen is supported.
18521 dlopen_support=$enable_dlopen
18523 # Whether dlopen of programs is supported.
18524 dlopen_self=$enable_dlopen_self
18526 # Whether dlopen of statically linked programs is supported.
18527 dlopen_self_static=$enable_dlopen_self_static
18529 # Compiler flag to prevent dynamic linking.
18530 link_static_flag=$lt_lt_prog_compiler_static_RC
18532 # Compiler flag to turn off builtin functions.
18533 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18535 # Compiler flag to allow reflexive dlopens.
18536 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18538 # Compiler flag to generate shared objects directly from archives.
18539 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18541 # Compiler flag to generate thread-safe objects.
18542 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18544 # Library versioning type.
18545 version_type=$version_type
18547 # Format of library name prefix.
18548 libname_spec=$lt_libname_spec
18550 # List of archive names. First name is the real one, the rest are links.
18551 # The last name is the one that the linker finds with -lNAME.
18552 library_names_spec=$lt_library_names_spec
18554 # The coded name of the library, if different from the real name.
18555 soname_spec=$lt_soname_spec
18557 # Commands used to build and install an old-style archive.
18559 old_archive_cmds=$lt_old_archive_cmds_RC
18560 old_postinstall_cmds=$lt_old_postinstall_cmds
18561 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18563 # Create an old-style archive from a shared archive.
18564 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18566 # Create a temporary old-style archive to link instead of a shared archive.
18567 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18569 # Commands used to build and install a shared archive.
18570 archive_cmds=$lt_archive_cmds_RC
18571 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18572 postinstall_cmds=$lt_postinstall_cmds
18573 postuninstall_cmds=$lt_postuninstall_cmds
18575 # Commands used to build a loadable module (assumed same as above if empty)
18576 module_cmds=$lt_module_cmds_RC
18577 module_expsym_cmds=$lt_module_expsym_cmds_RC
18579 # Commands to strip libraries.
18580 old_striplib=$lt_old_striplib
18581 striplib=$lt_striplib
18583 # Dependencies to place before the objects being linked to create a
18585 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18587 # Dependencies to place after the objects being linked to create a
18589 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18591 # Dependencies to place before the objects being linked to create a
18593 predeps=$lt_predeps_RC
18595 # Dependencies to place after the objects being linked to create a
18597 postdeps=$lt_postdeps_RC
18599 # The library search path used internally by the compiler when linking
18600 # a shared library.
18601 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18603 # Method to check whether dependent libraries are shared objects.
18604 deplibs_check_method=$lt_deplibs_check_method
18606 # Command to use when deplibs_check_method == file_magic.
18607 file_magic_cmd=$lt_file_magic_cmd
18609 # Flag that allows shared libraries with undefined symbols to be built.
18610 allow_undefined_flag=$lt_allow_undefined_flag_RC
18612 # Flag that forces no undefined symbols.
18613 no_undefined_flag=$lt_no_undefined_flag_RC
18615 # Commands used to finish a libtool library installation in a directory.
18616 finish_cmds=$lt_finish_cmds
18618 # Same as above, but a single script fragment to be evaled but not shown.
18619 finish_eval=$lt_finish_eval
18621 # Take the output of nm and produce a listing of raw symbols and C names.
18622 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18624 # Transform the output of nm in a proper C declaration
18625 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18627 # Transform the output of nm in a C name address pair
18628 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18630 # This is the shared library runtime path variable.
18631 runpath_var=$runpath_var
18633 # This is the shared library path variable.
18634 shlibpath_var=$shlibpath_var
18636 # Is shlibpath searched before the hard-coded library search path?
18637 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18639 # How to hardcode a shared library path into an executable.
18640 hardcode_action=$hardcode_action_RC
18642 # Whether we should hardcode library paths into libraries.
18643 hardcode_into_libs=$hardcode_into_libs
18645 # Flag to hardcode \$libdir into a binary during linking.
18646 # This must work even if \$libdir does not exist.
18647 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18649 # If ld is used when linking, flag to hardcode \$libdir into
18650 # a binary during linking. This must work even if \$libdir does
18652 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18654 # Whether we need a single -rpath flag with a separated argument.
18655 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18657 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18658 # resulting binary.
18659 hardcode_direct=$hardcode_direct_RC
18661 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18662 # resulting binary.
18663 hardcode_minus_L=$hardcode_minus_L_RC
18665 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18666 # the resulting binary.
18667 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18669 # Set to yes if building a shared library automatically hardcodes DIR into the library
18670 # and all subsequent libraries and executables linked against it.
18671 hardcode_automatic=$hardcode_automatic_RC
18673 # Variables whose values should be saved in libtool wrapper scripts and
18674 # restored at relink time.
18675 variables_saved_for_relink="$variables_saved_for_relink"
18677 # Whether libtool must link a program against all its dependency libraries.
18678 link_all_deplibs=$link_all_deplibs_RC
18680 # Compile-time system search path for libraries
18681 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18683 # Run-time system search path for libraries
18684 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18686 # Fix the shell variable \$srcfile for the compiler.
18687 fix_srcfile_path="$fix_srcfile_path_RC"
18689 # Set to yes if exported symbols are required.
18690 always_export_symbols=$always_export_symbols_RC
18692 # The commands to list exported symbols.
18693 export_symbols_cmds=$lt_export_symbols_cmds_RC
18695 # The commands to extract the exported symbol list from a shared archive.
18696 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18698 # Symbols that should not be listed in the preloaded symbols.
18699 exclude_expsyms=$lt_exclude_expsyms_RC
18701 # Symbols that must always be exported.
18702 include_expsyms=$lt_include_expsyms_RC
18704 # ### END LIBTOOL TAG CONFIG: $tagname
18710 # If there is no Makefile yet, we rely on a make rule to execute
18711 # `config.status --recheck' to rerun these tests and create the
18712 # libtool script then.
18713 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18714 if test -f "$ltmain_in"; then
18715 test -f Makefile
&& make "$ltmain"
18721 ac_cpp
='$CPP $CPPFLAGS'
18722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18731 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18732 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18733 { (exit 1); exit 1; }; }
18737 # Append the new tag name to the list of available tags.
18738 if test -n "$tagname" ; then
18739 available_tags
="$available_tags $tagname"
18745 # Now substitute the updated list of available tags.
18746 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18747 mv "${ofile}T" "$ofile"
18751 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18752 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18753 { (exit 1); exit 1; }; }
18759 # This can be used to rebuild libtool when needed
18760 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18762 # Always use our own libtool.
18763 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18765 # Prevent multiple expansion
18787 if test x
$GCC = xyes
18789 CFLAGS
="-Wall $CFLAGS"
18791 if test x
$GXX = xyes
18793 CXXFLAGS
="-Wall $CXXFLAGS"
18796 CFLAGS
="-I$srcdir/.. -I.. $CFLAGS"
18797 CXXFLAGS
="-I$srcdir/.. -I.. $CXXFLAGS"
18801 # Check whether --with-db or --without-db was given.
18802 if test "${with_db+set}" = set; then
18811 makedatprog_target
=makedatprog
18814 dblibrary
=..
/gdbmobj
/libgdbmobj.la
18818 dblibrary
=..
/bdbobj
/libbdbobj.la
18822 makedatprog_target
=""
18832 if test "$USE_GDBM" = 1; then
18842 if test "$USE_DB" = 1; then
18852 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18853 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
18854 if test "${ac_cv_header_stdc+set}" = set; then
18855 echo $ECHO_N "(cached) $ECHO_C" >&6
18857 cat >conftest.
$ac_ext <<_ACEOF
18860 cat confdefs.h
>>conftest.
$ac_ext
18861 cat >>conftest.
$ac_ext <<_ACEOF
18862 /* end confdefs.h. */
18863 #include <stdlib.h>
18864 #include <stdarg.h>
18865 #include <string.h>
18876 rm -f conftest.
$ac_objext
18877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18878 (eval $ac_compile) 2>conftest.er1
18880 grep -v '^ *+' conftest.er1
>conftest.err
18882 cat conftest.err
>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } &&
18885 { ac_try
='test -z "$ac_c_werror_flag"
18886 || test ! -s conftest.err'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; } &&
18892 { ac_try
='test -s conftest.$ac_objext'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; }; then
18898 ac_cv_header_stdc
=yes
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.
$ac_ext >&5
18903 ac_cv_header_stdc
=no
18905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18907 if test $ac_cv_header_stdc = yes; then
18908 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18909 cat >conftest.
$ac_ext <<_ACEOF
18912 cat confdefs.h
>>conftest.
$ac_ext
18913 cat >>conftest.
$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915 #include <string.h>
18918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18919 $EGREP "memchr" >/dev
/null
2>&1; then
18922 ac_cv_header_stdc
=no
18928 if test $ac_cv_header_stdc = yes; then
18929 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18930 cat >conftest.
$ac_ext <<_ACEOF
18933 cat confdefs.h
>>conftest.
$ac_ext
18934 cat >>conftest.
$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18936 #include <stdlib.h>
18939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18940 $EGREP "free" >/dev
/null
2>&1; then
18943 ac_cv_header_stdc
=no
18949 if test $ac_cv_header_stdc = yes; then
18950 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18951 if test "$cross_compiling" = yes; then
18954 cat >conftest.
$ac_ext <<_ACEOF
18957 cat confdefs.h
>>conftest.
$ac_ext
18958 cat >>conftest.
$ac_ext <<_ACEOF
18959 /* end confdefs.h. */
18961 #if ((' ' & 0x0FF) == 0x020)
18962 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18963 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18965 # define ISLOWER(c) \
18966 (('a' <= (c) && (c) <= 'i') \
18967 || ('j' <= (c) && (c) <= 'r') \
18968 || ('s' <= (c) && (c) <= 'z'))
18969 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18972 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18977 for (i = 0; i < 256; i++)
18978 if (XOR (islower (i), ISLOWER (i))
18979 || toupper (i) != TOUPPER (i))
18984 rm -f conftest
$ac_exeext
18985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18986 (eval $ac_link) 2>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18991 (eval $ac_try) 2>&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); }; }; then
18997 echo "$as_me: program exited with status $ac_status" >&5
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.
$ac_ext >&5
19001 ( exit $ac_status )
19002 ac_cv_header_stdc
=no
19004 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19008 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19009 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19010 if test $ac_cv_header_stdc = yes; then
19012 cat >>confdefs.h
<<\_ACEOF
19013 #define STDC_HEADERS 1
19019 for ac_header
in unistd.h
19021 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19023 echo "$as_me:$LINENO: checking for $ac_header" >&5
19024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19031 # Is the header compilable?
19032 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19033 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19034 cat >conftest.
$ac_ext <<_ACEOF
19037 cat confdefs.h
>>conftest.
$ac_ext
19038 cat >>conftest.
$ac_ext <<_ACEOF
19039 /* end confdefs.h. */
19040 $ac_includes_default
19041 #include <$ac_header>
19043 rm -f conftest.
$ac_objext
19044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19045 (eval $ac_compile) 2>conftest.er1
19047 grep -v '^ *+' conftest.er1
>conftest.err
19049 cat conftest.err
>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } &&
19052 { ac_try
='test -z "$ac_c_werror_flag"
19053 || test ! -s conftest.err'
19054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19055 (eval $ac_try) 2>&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); }; } &&
19059 { ac_try
='test -s conftest.$ac_objext'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; }; then
19065 ac_header_compiler
=yes
19067 echo "$as_me: failed program was:" >&5
19068 sed 's/^/| /' conftest.
$ac_ext >&5
19070 ac_header_compiler
=no
19072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19074 echo "${ECHO_T}$ac_header_compiler" >&6
19076 # Is the header present?
19077 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19079 cat >conftest.
$ac_ext <<_ACEOF
19082 cat confdefs.h
>>conftest.
$ac_ext
19083 cat >>conftest.
$ac_ext <<_ACEOF
19084 /* end confdefs.h. */
19085 #include <$ac_header>
19087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19088 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19090 grep -v '^ *+' conftest.er1
>conftest.err
19092 cat conftest.err
>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } >/dev
/null
; then
19095 if test -s conftest.err
; then
19096 ac_cpp_err
=$ac_c_preproc_warn_flag
19097 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19104 if test -z "$ac_cpp_err"; then
19105 ac_header_preproc
=yes
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.
$ac_ext >&5
19110 ac_header_preproc
=no
19112 rm -f conftest.err conftest.
$ac_ext
19113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19114 echo "${ECHO_T}$ac_header_preproc" >&6
19116 # So? What about this header?
19117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19119 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19122 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19123 ac_header_preproc
=yes
19126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19129 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19130 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19131 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19132 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19133 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19136 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19137 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19140 ## -------------------------------------------------- ##
19141 ## Report this to courier-users@lists.sourceforge.net ##
19142 ## -------------------------------------------------- ##
19145 sed "s/^/$as_me: WARNING: /" >&2
19148 echo "$as_me:$LINENO: checking for $ac_header" >&5
19149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19151 echo $ECHO_N "(cached) $ECHO_C" >&6
19153 eval "$as_ac_Header=\$ac_header_preproc"
19155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19160 cat >>confdefs.h
<<_ACEOF
19161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19172 # Check whether --with-makedatprog or --without-makedatprog was given.
19173 if test "${with_makedatprog+set}" = set; then
19174 withval
="$with_makedatprog"
19175 makedatprog
="$withval"
19177 makedatprog
="$bindir/makedatprog"
19180 makedatprogpath
="$makedatprog"
19183 ac_config_files
="$ac_config_files Makefile makedat"
19184 cat >confcache
<<\_ACEOF
19185 # This file is a shell script that caches the results of configure
19186 # tests run on this system so they can be shared between configure
19187 # scripts and configure runs, see configure's option --config-cache.
19188 # It is not useful on other systems. If it contains results you don't
19189 # want to keep, you may remove or edit it.
19191 # config.status only pays attention to the cache file if you give it
19192 # the --recheck option to rerun configure.
19194 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19195 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19196 # following values.
19200 # The following way of writing the cache mishandles newlines in values,
19201 # but we know of no workaround that is simple, portable, and efficient.
19202 # So, don't put newlines in cache variables' values.
19203 # Ultrix sh set writes to stderr and can't be redirected directly,
19204 # and sets the high bit in the cache file unless we assign to the vars.
19207 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19209 # `set' does not quote correctly, so add quotes (double-quote
19210 # substitution turns \\\\ into \\, and sed turns \\ into \).
19213 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19216 # `set' quotes correctly as required by POSIX, so do not add quotes.
19218 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19225 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19227 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19229 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19230 if test -w $cache_file; then
19231 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19232 cat confcache
>$cache_file
19234 echo "not updating unwritable cache $cache_file"
19239 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19240 # Let make expand exec_prefix.
19241 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19243 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19244 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19245 # trailing colons and then remove the whole line if VPATH becomes empty
19246 # (actually we leave an empty line to preserve line numbers).
19247 if test "x$srcdir" = x.
; then
19248 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19249 s/:*\$(srcdir):*/:/;
19250 s/:*\${srcdir}:*/:/;
19252 s/^\([^=]*=[ ]*\):*/\1/;
19258 DEFS
=-DHAVE_CONFIG_H
19262 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19263 # 1. Remove the extension, and $U if already installed.
19264 ac_i
=`echo "$ac_i" |
19265 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19267 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19268 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19270 LIBOBJS
=$ac_libobjs
19272 LTLIBOBJS
=$ac_ltlibobjs
19275 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19276 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19277 Usually this means the macro was only invoked conditionally." >&5
19278 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19279 Usually this means the macro was only invoked conditionally." >&2;}
19280 { (exit 1); exit 1; }; }
19282 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19283 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19284 Usually this means the macro was only invoked conditionally." >&5
19285 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19286 Usually this means the macro was only invoked conditionally." >&2;}
19287 { (exit 1); exit 1; }; }
19289 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19290 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19291 Usually this means the macro was only invoked conditionally." >&5
19292 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19293 Usually this means the macro was only invoked conditionally." >&2;}
19294 { (exit 1); exit 1; }; }
19296 if test -z "${USE_GDBM_TRUE}" && test -z "${USE_GDBM_FALSE}"; then
19297 { { echo "$as_me:$LINENO: error: conditional \"USE_GDBM\" was never defined.
19298 Usually this means the macro was only invoked conditionally." >&5
19299 echo "$as_me: error: conditional \"USE_GDBM\" was never defined.
19300 Usually this means the macro was only invoked conditionally." >&2;}
19301 { (exit 1); exit 1; }; }
19303 if test -z "${USE_DB_TRUE}" && test -z "${USE_DB_FALSE}"; then
19304 { { echo "$as_me:$LINENO: error: conditional \"USE_DB\" was never defined.
19305 Usually this means the macro was only invoked conditionally." >&5
19306 echo "$as_me: error: conditional \"USE_DB\" was never defined.
19307 Usually this means the macro was only invoked conditionally." >&2;}
19308 { (exit 1); exit 1; }; }
19311 : ${CONFIG_STATUS=./config.status}
19312 ac_clean_files_save
=$ac_clean_files
19313 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19314 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19315 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19316 cat >$CONFIG_STATUS <<_ACEOF
19318 # Generated by $as_me.
19319 # Run this file to recreate the current configuration.
19320 # Compiler output produced by configure, useful for debugging
19321 # configure, is in config.log if it exists.
19324 ac_cs_recheck=false
19326 SHELL=\${CONFIG_SHELL-$SHELL}
19329 cat >>$CONFIG_STATUS <<\_ACEOF
19330 ## --------------------- ##
19331 ## M4sh Initialization. ##
19332 ## --------------------- ##
19334 # Be Bourne compatible
19335 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19338 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19339 # is contrary to our usage. Disable this feature.
19340 alias -g '${1+"$@"}'='"$@"'
19341 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19344 DUALCASE
=1; export DUALCASE
# for MKS sh
19346 # Support unset when possible.
19347 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19354 # Work around bugs in pre-3.0 UWIN ksh.
19355 $as_unset ENV MAIL MAILPATH
19362 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19363 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19364 LC_TELEPHONE LC_TIME
19366 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19367 eval $as_var=C
; export $as_var
19373 # Required to use basename.
19374 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19380 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19381 as_basename
=basename
19387 # Name of the executable.
19388 as_me
=`$as_basename "$0" ||
19389 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19390 X"$0" : 'X\(//\)$' \| \
19391 X"$0" : 'X\(/\)$' \| \
19392 . : '\(.\)' 2>/dev/null ||
19394 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19395 /^X\/\(\/\/\)$/{ s//\1/; q; }
19396 /^X\/\(\/\).*/{ s//\1/; q; }
19400 # PATH needs CR, and LINENO needs CR and PATH.
19401 # Avoid depending upon Character Ranges.
19402 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19403 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19404 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19405 as_cr_digits
='0123456789'
19406 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19408 # The user is always right.
19409 if test "${PATH_SEPARATOR+set}" != set; then
19410 echo "#! /bin/sh" >conf$$.sh
19411 echo "exit 0" >>conf$$.sh
19413 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19422 as_lineno_1
=$LINENO
19423 as_lineno_2
=$LINENO
19424 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19425 test "x$as_lineno_1" != "x$as_lineno_2" &&
19426 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19427 # Find who we are. Look in the path if we contain no path at all
19430 *[\\/]* ) as_myself
=$0 ;;
19431 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19432 for as_dir
in $PATH
19435 test -z "$as_dir" && as_dir
=.
19436 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19441 # We did not find ourselves, most probably we were run as `sh COMMAND'
19442 # in which case we are not to be found in the path.
19443 if test "x$as_myself" = x
; then
19446 if test ! -f "$as_myself"; then
19447 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19448 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19449 { (exit 1); exit 1; }; }
19451 case $CONFIG_SHELL in
19453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19454 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19457 test -z "$as_dir" && as_dir
=.
19458 for as_base
in sh bash ksh sh5
; do
19461 if ("$as_dir/$as_base" -c '
19462 as_lineno_1=$LINENO
19463 as_lineno_2=$LINENO
19464 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19465 test "x$as_lineno_1" != "x$as_lineno_2" &&
19466 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19467 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19468 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19469 CONFIG_SHELL
=$as_dir/$as_base
19470 export CONFIG_SHELL
19471 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19479 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19480 # uniformly replaced by the line number. The first 'sed' inserts a
19481 # line-number line before each line; the second 'sed' does the real
19482 # work. The second script uses 'N' to pair each line-number line
19483 # with the numbered line, and appends trailing '-' during
19484 # substitution so that $LINENO is not a special case at line end.
19485 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19486 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19487 sed '=' <$as_myself |
19492 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19495 s,^['$as_cr_digits']*\n,,
19496 ' >$as_me.lineno
&&
19497 chmod +x
$as_me.lineno ||
19498 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19499 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19500 { (exit 1); exit 1; }; }
19502 # Don't try to exec as it changes $[0], causing all sort of problems
19503 # (the dirname of $[0] is not the place where we might find the
19504 # original and so on. Autoconf is especially sensible to this).
19506 # Exit status is that of the last command.
19511 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19512 *c
*,-n*) ECHO_N
= ECHO_C
='
19514 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19515 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19518 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19524 rm -f conf$$ conf$$.exe conf$$.
file
19526 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19527 # We could just check for DJGPP; but this test a) works b) is more generic
19528 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19529 if test -f conf$$.exe
; then
19530 # Don't use ln at all; we don't have any links
19535 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19540 rm -f conf$$ conf$$.exe conf$$.
file
19542 if mkdir
-p .
2>/dev
/null
; then
19545 test -d .
/-p && rmdir .
/-p
19549 as_executable_p
="test -f"
19551 # Sed expression to map a string onto a valid CPP name.
19552 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19554 # Sed expression to map a string onto a valid variable name.
19555 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19559 # We need space, tab and new line, in precisely that order.
19569 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19570 # report actual input values of CONFIG_FILES etc. instead of their
19571 # values after options handling. Logging --version etc. is OK.
19575 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19576 ## Running $as_me. ##
19581 This file was extended by makedat $as_me 0.60, which was
19582 generated by GNU Autoconf 2.59. Invocation command line was
19584 CONFIG_FILES = $CONFIG_FILES
19585 CONFIG_HEADERS = $CONFIG_HEADERS
19586 CONFIG_LINKS = $CONFIG_LINKS
19587 CONFIG_COMMANDS = $CONFIG_COMMANDS
19591 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19595 # Files that config.status was made for.
19596 if test -n "$ac_config_files"; then
19597 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19600 if test -n "$ac_config_headers"; then
19601 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19604 if test -n "$ac_config_links"; then
19605 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19608 if test -n "$ac_config_commands"; then
19609 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19612 cat >>$CONFIG_STATUS <<\_ACEOF
19615 \`$as_me' instantiates files from templates according to the
19616 current configuration.
19618 Usage: $0 [OPTIONS] [FILE]...
19620 -h, --help print this help, then exit
19621 -V, --version print version number, then exit
19622 -q, --quiet do not print progress messages
19623 -d, --debug don't remove temporary files
19624 --recheck update $as_me by reconfiguring in the same conditions
19625 --file=FILE[:TEMPLATE]
19626 instantiate the configuration file FILE
19627 --header=FILE[:TEMPLATE]
19628 instantiate the configuration header FILE
19630 Configuration files:
19633 Configuration headers:
19636 Configuration commands:
19639 Report bugs to <bug-autoconf@gnu.org>."
19642 cat >>$CONFIG_STATUS <<_ACEOF
19644 makedat config.status 0.60
19645 configured by $0, generated by GNU Autoconf 2.59,
19646 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19648 Copyright (C) 2003 Free Software Foundation, Inc.
19649 This config.status script is free software; the Free Software Foundation
19650 gives unlimited permission to copy, distribute and modify it."
19655 cat >>$CONFIG_STATUS <<\_ACEOF
19656 # If no file are specified by the user, then we need to provide default
19657 # value. By we need to know if files were specified by the user.
19663 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19664 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19672 *) # This is not an option, so the user has probably given explicit
19675 ac_need_defaults
=false
;;
19679 # Handling of the options.
19681 cat >>$CONFIG_STATUS <<\_ACEOF
19682 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19684 --version |
--vers* |
-V )
19685 echo "$ac_cs_version"; exit 0 ;;
19687 # Conflict between --help and --header
19688 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19689 Try \`$0 --help' for more information." >&5
19690 echo "$as_me: error: ambiguous option: $1
19691 Try \`$0 --help' for more information." >&2;}
19692 { (exit 1); exit 1; }; };;
19693 --help |
--hel |
-h )
19694 echo "$ac_cs_usage"; exit 0 ;;
19695 --debug |
--d* |
-d )
19697 --file |
--fil |
--fi |
--f )
19699 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19700 ac_need_defaults
=false
;;
19701 --header |
--heade |
--head |
--hea )
19703 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19704 ac_need_defaults
=false
;;
19705 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19706 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19709 # This is an error.
19710 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19711 Try \`$0 --help' for more information." >&5
19712 echo "$as_me: error: unrecognized option: $1
19713 Try \`$0 --help' for more information." >&2;}
19714 { (exit 1); exit 1; }; } ;;
19716 *) ac_config_targets
="$ac_config_targets $1" ;;
19722 ac_configure_extra_args
=
19724 if $ac_cs_silent; then
19726 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19730 cat >>$CONFIG_STATUS <<_ACEOF
19731 if \$ac_cs_recheck; then
19732 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19733 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19738 cat >>$CONFIG_STATUS <<_ACEOF
19740 # INIT-COMMANDS section.
19743 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19749 cat >>$CONFIG_STATUS <<\_ACEOF
19750 for ac_config_target
in $ac_config_targets
19752 case "$ac_config_target" in
19753 # Handling of arguments.
19754 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19755 "makedat" ) CONFIG_FILES
="$CONFIG_FILES makedat" ;;
19756 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19757 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19758 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19759 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19760 { (exit 1); exit 1; }; };;
19764 # If the user did not use the arguments to specify the items to instantiate,
19765 # then the envvar interface is used. Set only those that are not.
19766 # We use the long form for the default assignment because of an extremely
19767 # bizarre bug on SunOS 4.1.3.
19768 if $ac_need_defaults; then
19769 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19770 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19771 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19774 # Have a temporary directory for convenience. Make it in the build tree
19775 # simply because there is no reason to put it here, and in addition,
19776 # creating and moving files from /tmp can sometimes cause problems.
19777 # Create a temporary directory, and hook for its removal unless debugging.
19780 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19781 trap '{ (exit 1); exit 1; }' 1 2 13 15
19784 # Create a (secure) tmp directory for tmp files.
19787 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19788 test -n "$tmp" && test -d "$tmp"
19791 tmp
=.
/confstat$$
-$RANDOM
19792 (umask 077 && mkdir
$tmp)
19795 echo "$me: cannot create a temporary directory in ." >&2
19796 { (exit 1); exit 1; }
19801 cat >>$CONFIG_STATUS <<_ACEOF
19804 # CONFIG_FILES section.
19807 # No need to generate the scripts if there are no CONFIG_FILES.
19808 # This happens for instance when ./config.status config.h
19809 if test -n "\$CONFIG_FILES"; then
19810 # Protect against being on the right side of a sed subst in config.status.
19811 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19812 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19813 s,@SHELL@,$SHELL,;t t
19814 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19815 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19816 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19817 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19818 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19819 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19820 s,@exec_prefix@,$exec_prefix,;t t
19821 s,@prefix@,$prefix,;t t
19822 s,@program_transform_name@,$program_transform_name,;t t
19823 s,@bindir@,$bindir,;t t
19824 s,@sbindir@,$sbindir,;t t
19825 s,@libexecdir@,$libexecdir,;t t
19826 s,@datadir@,$datadir,;t t
19827 s,@sysconfdir@,$sysconfdir,;t t
19828 s,@sharedstatedir@,$sharedstatedir,;t t
19829 s,@localstatedir@,$localstatedir,;t t
19830 s,@libdir@,$libdir,;t t
19831 s,@includedir@,$includedir,;t t
19832 s,@oldincludedir@,$oldincludedir,;t t
19833 s,@infodir@,$infodir,;t t
19834 s,@mandir@,$mandir,;t t
19835 s,@build_alias@,$build_alias,;t t
19836 s,@host_alias@,$host_alias,;t t
19837 s,@target_alias@,$target_alias,;t t
19838 s,@DEFS@,$DEFS,;t t
19839 s,@ECHO_C@,$ECHO_C,;t t
19840 s,@ECHO_N@,$ECHO_N,;t t
19841 s,@ECHO_T@,$ECHO_T,;t t
19842 s,@LIBS@,$LIBS,;t t
19843 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19844 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19845 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19846 s,@CYGPATH_W@,$CYGPATH_W,;t t
19847 s,@PACKAGE@,$PACKAGE,;t t
19848 s,@VERSION@,$VERSION,;t t
19849 s,@ACLOCAL@,$ACLOCAL,;t t
19850 s,@AUTOCONF@,$AUTOCONF,;t t
19851 s,@AUTOMAKE@,$AUTOMAKE,;t t
19852 s,@AUTOHEADER@,$AUTOHEADER,;t t
19853 s,@MAKEINFO@,$MAKEINFO,;t t
19854 s,@install_sh@,$install_sh,;t t
19855 s,@STRIP@,$STRIP,;t t
19856 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19857 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
19858 s,@mkdir_p@,$mkdir_p,;t t
19860 s,@SET_MAKE@,$SET_MAKE,;t t
19861 s,@am__leading_dot@,$am__leading_dot,;t t
19862 s,@AMTAR@,$AMTAR,;t t
19863 s,@am__tar@,$am__tar,;t t
19864 s,@am__untar@,$am__untar,;t t
19866 s,@CFLAGS@,$CFLAGS,;t t
19867 s,@LDFLAGS@,$LDFLAGS,;t t
19868 s,@CPPFLAGS@,$CPPFLAGS,;t t
19869 s,@ac_ct_CC@,$ac_ct_CC,;t t
19870 s,@EXEEXT@,$EXEEXT,;t t
19871 s,@OBJEXT@,$OBJEXT,;t t
19872 s,@DEPDIR@,$DEPDIR,;t t
19873 s,@am__include@,$am__include,;t t
19874 s,@am__quote@,$am__quote,;t t
19875 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
19876 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
19877 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
19878 s,@CCDEPMODE@,$CCDEPMODE,;t t
19879 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
19880 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
19881 s,@LN_S@,$LN_S,;t t
19882 s,@PERL@,$PERL,;t t
19884 s,@build@,$build,;t t
19885 s,@build_cpu@,$build_cpu,;t t
19886 s,@build_vendor@,$build_vendor,;t t
19887 s,@build_os@,$build_os,;t t
19888 s,@host@,$host,;t t
19889 s,@host_cpu@,$host_cpu,;t t
19890 s,@host_vendor@,$host_vendor,;t t
19891 s,@host_os@,$host_os,;t t
19893 s,@EGREP@,$EGREP,;t t
19894 s,@ECHO@,$ECHO,;t t
19896 s,@ac_ct_AR@,$ac_ct_AR,;t t
19897 s,@RANLIB@,$RANLIB,;t t
19898 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19901 s,@CXXFLAGS@,$CXXFLAGS,;t t
19902 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19903 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
19904 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
19905 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
19906 s,@CXXCPP@,$CXXCPP,;t t
19908 s,@FFLAGS@,$FFLAGS,;t t
19909 s,@ac_ct_F77@,$ac_ct_F77,;t t
19910 s,@LIBTOOL@,$LIBTOOL,;t t
19911 s,@makedatprog_target@,$makedatprog_target,;t t
19912 s,@dblibrary@,$dblibrary,;t t
19913 s,@LIBGDBM@,$LIBGDBM,;t t
19914 s,@LIBDB@,$LIBDB,;t t
19915 s,@USE_GDBM_TRUE@,$USE_GDBM_TRUE,;t t
19916 s,@USE_GDBM_FALSE@,$USE_GDBM_FALSE,;t t
19917 s,@USE_DB_TRUE@,$USE_DB_TRUE,;t t
19918 s,@USE_DB_FALSE@,$USE_DB_FALSE,;t t
19919 s,@makedatprogpath@,$makedatprogpath,;t t
19920 s,@LIBOBJS@,$LIBOBJS,;t t
19921 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
19926 cat >>$CONFIG_STATUS <<\_ACEOF
19927 # Split the substitutions into bite-sized pieces for seds with
19928 # small command number limits, like on Digital OSF/1 and HP-UX.
19929 ac_max_sed_lines
=48
19930 ac_sed_frag
=1 # Number of current file.
19931 ac_beg
=1 # First line for current file.
19932 ac_end
=$ac_max_sed_lines # Line after last line for current file.
19935 while $ac_more_lines; do
19936 if test $ac_beg -gt 1; then
19937 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19939 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19941 if test ! -s $tmp/subs.frag
; then
19942 ac_more_lines
=false
19944 # The purpose of the label and of the branching condition is to
19945 # speed up the sed processing (if there are no `@' at all, there
19946 # is no need to browse any of the substitutions).
19947 # These are the two extra sed commands mentioned above.
19949 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
19950 if test -z "$ac_sed_cmds"; then
19951 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
19953 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
19955 ac_sed_frag
=`expr $ac_sed_frag + 1`
19957 ac_end
=`expr $ac_end + $ac_max_sed_lines`
19960 if test -z "$ac_sed_cmds"; then
19963 fi # test -n "$CONFIG_FILES"
19966 cat >>$CONFIG_STATUS <<\_ACEOF
19967 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
19968 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19970 - |
*:- |
*:-:* ) # input from stdin
19972 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19973 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19974 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19975 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19976 * ) ac_file_in
=$ac_file.
in ;;
19979 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19980 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
19981 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19982 X"$ac_file" : 'X\(//\)[^/]' \| \
19983 X"$ac_file" : 'X\(//\)$' \| \
19984 X"$ac_file" : 'X\(/\)' \| \
19985 . : '\(.\)' 2>/dev/null ||
19987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19988 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19989 /^X\(\/\/\)$/{ s//\1/; q; }
19990 /^X\(\/\).*/{ s//\1/; q; }
19992 { if $as_mkdir_p; then
19997 while test ! -d "$as_dir"; do
19998 as_dirs
="$as_dir $as_dirs"
19999 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20000 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20001 X"$as_dir" : 'X\(//\)[^/]' \| \
20002 X"$as_dir" : 'X\(//\)$' \| \
20003 X"$as_dir" : 'X\(/\)' \| \
20004 . : '\(.\)' 2>/dev/null ||
20006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20008 /^X\(\/\/\)$/{ s//\1/; q; }
20009 /^X\(\/\).*/{ s//\1/; q; }
20012 test ! -n "$as_dirs" || mkdir
$as_dirs
20013 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20014 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20015 { (exit 1); exit 1; }; }; }
20019 if test "$ac_dir" != .
; then
20020 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20021 # A "../" for each directory in $ac_dir_suffix.
20022 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20024 ac_dir_suffix
= ac_top_builddir
=
20028 .
) # No --srcdir option. We are building in place.
20030 if test -z "$ac_top_builddir"; then
20033 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20035 [\\/]* | ?
:[\\/]* ) # Absolute path.
20036 ac_srcdir
=$srcdir$ac_dir_suffix;
20037 ac_top_srcdir
=$srcdir ;;
20038 *) # Relative path.
20039 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20040 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20043 # Do not use `cd foo && pwd` to compute absolute paths, because
20044 # the directories may not exist.
20046 .
) ac_abs_builddir
="$ac_dir";;
20049 .
) ac_abs_builddir
=`pwd`;;
20050 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20051 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20054 case $ac_abs_builddir in
20055 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20057 case ${ac_top_builddir}.
in
20058 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20059 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20060 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20063 case $ac_abs_builddir in
20064 .
) ac_abs_srcdir
=$ac_srcdir;;
20067 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20068 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20069 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20072 case $ac_abs_builddir in
20073 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20075 case $ac_top_srcdir in
20076 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20077 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20078 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20084 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20085 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20088 if test x
"$ac_file" != x-
; then
20089 { echo "$as_me:$LINENO: creating $ac_file" >&5
20090 echo "$as_me: creating $ac_file" >&6;}
20093 # Let's still pretend it is `configure' which instantiates (i.e., don't
20094 # use $as_me), people would be surprised to read:
20095 # /* config.h. Generated by config.status. */
20096 if test x
"$ac_file" = x-
; then
20099 configure_input
="$ac_file. "
20101 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20102 sed 's,.*/,,'` by configure."
20104 # First look for the input files in the build tree, otherwise in the
20106 ac_file_inputs
=`IFS=:
20107 for f in $ac_file_in; do
20109 -) echo $tmp/stdin ;;
20111 # Absolute (can't be DOS-style, as IFS=:)
20112 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20113 echo "$as_me: error: cannot find input file: $f" >&2;}
20114 { (exit 1); exit 1; }; }
20117 if test -f "$f"; then
20120 elif test -f "$srcdir/$f"; then
20125 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20126 echo "$as_me: error: cannot find input file: $f" >&2;}
20127 { (exit 1); exit 1; }; }
20130 done` ||
{ (exit 1); exit 1; }
20132 cat >>$CONFIG_STATUS <<_ACEOF
20136 cat >>$CONFIG_STATUS <<\_ACEOF
20138 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20139 s
,@configure_input@
,$configure_input,;t t
20140 s
,@srcdir@
,$ac_srcdir,;t t
20141 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20142 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20143 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20144 s
,@builddir@
,$ac_builddir,;t t
20145 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20146 s
,@top_builddir@
,$ac_top_builddir,;t t
20147 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20148 s
,@INSTALL@
,$ac_INSTALL,;t t
20149 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20151 if test x"$ac_file" != x-; then
20152 mv $tmp/out $ac_file
20160 cat >>$CONFIG_STATUS <<\_ACEOF
20163 # CONFIG_HEADER section.
20166 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20167 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20169 # ac_d sets the value in "#define NAME VALUE" lines.
20170 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20171 ac_dB
='[ ].*$,\1#\2'
20174 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20175 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20176 ac_uB
='$,\1#\2define\3'
20180 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20181 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20183 - |
*:- |
*:-:* ) # input from stdin
20185 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20186 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20187 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20188 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20189 * ) ac_file_in
=$ac_file.
in ;;
20192 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20193 echo "$as_me: creating $ac_file" >&6;}
20195 # First look for the input files in the build tree, otherwise in the
20197 ac_file_inputs
=`IFS=:
20198 for f in $ac_file_in; do
20200 -) echo $tmp/stdin ;;
20202 # Absolute (can't be DOS-style, as IFS=:)
20203 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20204 echo "$as_me: error: cannot find input file: $f" >&2;}
20205 { (exit 1); exit 1; }; }
20206 # Do quote $f, to prevent DOS paths from being IFS'd.
20209 if test -f "$f"; then
20212 elif test -f "$srcdir/$f"; then
20217 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20218 echo "$as_me: error: cannot find input file: $f" >&2;}
20219 { (exit 1); exit 1; }; }
20222 done` ||
{ (exit 1); exit 1; }
20223 # Remove the trailing spaces.
20224 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20228 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20229 # `conftest.undefs', that substitutes the proper values into
20230 # config.h.in to produce config.h. The first handles `#define'
20231 # templates, and the second `#undef' templates.
20232 # And first: Protect against being on the right side of a sed subst in
20233 # config.status. Protect against being in an unquoted here document
20234 # in config.status.
20235 rm -f conftest.defines conftest.undefs
20236 # Using a here document instead of a string reduces the quoting nightmare.
20237 # Putting comments in sed scripts is not portable.
20239 # `end' is used to avoid that the second main sed command (meant for
20240 # 0-ary CPP macros) applies to n-ary macro definitions.
20241 # See the Autoconf documentation for `clear'.
20242 cat >confdef2sed.
sed <<\_ACEOF
20247 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20249 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20252 # If some macros were called several times there might be several times
20253 # the same #defines, which is useless. Nevertheless, we may not want to
20254 # sort them, since we want the *last* AC-DEFINE to be honored.
20255 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20256 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20257 rm -f confdef2sed.sed
20259 # This sed command replaces #undef with comments. This is necessary, for
20260 # example, in the case of _POSIX_SOURCE, which is predefined and required
20261 # on some systems where configure will not decide to define it.
20262 cat >>conftest.undefs <<\_ACEOF
20263 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20266 # Break up conftest.defines because some shells have a limit on the size
20267 # of here documents, and old seds have small limits too (100 cmds).
20268 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20269 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20270 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20271 echo ' :' >>$CONFIG_STATUS
20272 rm -f conftest.tail
20273 while grep . conftest.defines >/dev/null
20275 # Write a limited-size here document to $tmp/defines.sed.
20276 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20277 # Speed up: don't consider the non `#define' lines.
20278 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20279 # Work around the forget-to-reset-the-flag bug.
20280 echo 't clr' >>$CONFIG_STATUS
20281 echo ': clr' >>$CONFIG_STATUS
20282 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20284 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20286 mv $tmp/out $tmp/in
20288 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20289 rm -f conftest.defines
20290 mv conftest.
tail conftest.defines
20292 rm -f conftest.defines
20293 echo ' fi # grep' >>$CONFIG_STATUS
20294 echo >>$CONFIG_STATUS
20296 # Break up conftest.undefs because some shells have a limit on the size
20297 # of here documents, and old seds have small limits too (100 cmds).
20298 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20299 rm -f conftest.
tail
20300 while grep . conftest.undefs
>/dev
/null
20302 # Write a limited-size here document to $tmp/undefs.sed.
20303 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20304 # Speed up: don't consider the non
`#undef'
20305 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20306 # Work around the forget-to-reset-the-flag bug.
20307 echo 't clr' >>$CONFIG_STATUS
20308 echo ': clr' >>$CONFIG_STATUS
20309 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20311 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20313 mv $tmp/out $tmp/in
20315 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20316 rm -f conftest.undefs
20317 mv conftest.tail conftest.undefs
20319 rm -f conftest.undefs
20321 cat >>$CONFIG_STATUS <<\_ACEOF
20322 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20323 # use $as_me), people would be surprised to read:
20324 # /* config.h. Generated by config.status. */
20325 if test x
"$ac_file" = x-
; then
20326 echo "/* Generated by configure. */" >$tmp/config.h
20328 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20330 cat $tmp/in >>$tmp/config.h
20332 if test x
"$ac_file" != x-
; then
20333 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20334 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20335 echo "$as_me: $ac_file is unchanged" >&6;}
20337 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20338 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20339 X"$ac_file" : 'X\(//\)[^/]' \| \
20340 X"$ac_file" : 'X\(//\)$' \| \
20341 X"$ac_file" : 'X\(/\)' \| \
20342 . : '\(.\)' 2>/dev/null ||
20344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20345 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20346 /^X\(\/\/\)$/{ s//\1/; q; }
20347 /^X\(\/\).*/{ s//\1/; q; }
20349 { if $as_mkdir_p; then
20354 while test ! -d "$as_dir"; do
20355 as_dirs
="$as_dir $as_dirs"
20356 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20357 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20358 X"$as_dir" : 'X\(//\)[^/]' \| \
20359 X"$as_dir" : 'X\(//\)$' \| \
20360 X"$as_dir" : 'X\(/\)' \| \
20361 . : '\(.\)' 2>/dev/null ||
20363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20365 /^X\(\/\/\)$/{ s//\1/; q; }
20366 /^X\(\/\).*/{ s//\1/; q; }
20369 test ! -n "$as_dirs" || mkdir
$as_dirs
20370 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20371 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20372 { (exit 1); exit 1; }; }; }
20375 mv $tmp/config.h
$ac_file
20379 rm -f $tmp/config.h
20381 # Compute $ac_file's index in $config_headers.
20383 for _am_header
in $config_headers :; do
20384 case $_am_header in
20385 $ac_file |
$ac_file:* )
20388 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20391 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20392 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20393 X$ac_file : 'X\(//\)[^/]' \| \
20394 X$ac_file : 'X\(//\)$' \| \
20395 X$ac_file : 'X\(/\)' \| \
20396 . : '\(.\)' 2>/dev/null ||
20398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20400 /^X\(\/\/\)$/{ s//\1/; q; }
20401 /^X\(\/\).*/{ s//\1/; q; }
20402 s/.*/./; q'`/stamp-h
$_am_stamp_count
20405 cat >>$CONFIG_STATUS <<\_ACEOF
20408 # CONFIG_COMMANDS section.
20410 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20411 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20412 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20413 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20414 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20415 X"$ac_dest" : 'X\(//\)[^/]' \| \
20416 X"$ac_dest" : 'X\(//\)$' \| \
20417 X"$ac_dest" : 'X\(/\)' \| \
20418 . : '\(.\)' 2>/dev/null ||
20420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20421 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20422 /^X\(\/\/\)$/{ s//\1/; q; }
20423 /^X\(\/\).*/{ s//\1/; q; }
20425 { if $as_mkdir_p; then
20430 while test ! -d "$as_dir"; do
20431 as_dirs
="$as_dir $as_dirs"
20432 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20433 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20434 X"$as_dir" : 'X\(//\)[^/]' \| \
20435 X"$as_dir" : 'X\(//\)$' \| \
20436 X"$as_dir" : 'X\(/\)' \| \
20437 . : '\(.\)' 2>/dev/null ||
20439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20441 /^X\(\/\/\)$/{ s//\1/; q; }
20442 /^X\(\/\).*/{ s//\1/; q; }
20445 test ! -n "$as_dirs" || mkdir
$as_dirs
20446 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20447 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20448 { (exit 1); exit 1; }; }; }
20452 if test "$ac_dir" != .
; then
20453 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20454 # A "../" for each directory in $ac_dir_suffix.
20455 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20457 ac_dir_suffix
= ac_top_builddir
=
20461 .
) # No --srcdir option. We are building in place.
20463 if test -z "$ac_top_builddir"; then
20466 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20468 [\\/]* | ?
:[\\/]* ) # Absolute path.
20469 ac_srcdir
=$srcdir$ac_dir_suffix;
20470 ac_top_srcdir
=$srcdir ;;
20471 *) # Relative path.
20472 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20473 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20476 # Do not use `cd foo && pwd` to compute absolute paths, because
20477 # the directories may not exist.
20479 .
) ac_abs_builddir
="$ac_dir";;
20482 .
) ac_abs_builddir
=`pwd`;;
20483 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20484 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20487 case $ac_abs_builddir in
20488 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20490 case ${ac_top_builddir}.
in
20491 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20492 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20493 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20496 case $ac_abs_builddir in
20497 .
) ac_abs_srcdir
=$ac_srcdir;;
20500 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20501 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20502 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20505 case $ac_abs_builddir in
20506 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20508 case $ac_top_srcdir in
20509 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20510 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20511 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20516 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20517 echo "$as_me: executing $ac_dest commands" >&6;}
20519 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20520 # Strip MF so we end up with the name of the file.
20521 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20522 # Check whether this is an Automake generated Makefile or not.
20523 # We used to match only the files named `Makefile.in', but
20524 # some people rename them; so instead we look at the file content.
20525 # Grep'ing the first line is not enough: some people post-process
20526 # each Makefile.in and add a new line on top of each file to say so.
20527 # So let's grep whole file.
20528 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
20529 dirpart
=`(dirname "$mf") 2>/dev/null ||
20530 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20531 X"$mf" : 'X\(//\)[^/]' \| \
20532 X"$mf" : 'X\(//\)$' \| \
20533 X"$mf" : 'X\(/\)' \| \
20534 . : '\(.\)' 2>/dev/null ||
20536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20537 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20538 /^X\(\/\/\)$/{ s//\1/; q; }
20539 /^X\(\/\).*/{ s//\1/; q; }
20544 # Extract the definition of DEPDIR, am__include, and am__quote
20545 # from the Makefile without running `make'.
20546 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20547 test -z "$DEPDIR" && continue
20548 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20549 test -z "am__include" && continue
20550 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20551 # When using ansi2knr, U may be empty or an underscore; expand it
20552 U
=`sed -n 's/^U = //p' < "$mf"`
20553 # Find all dependency output files, they are included files with
20554 # $(DEPDIR) in their names. We invoke sed twice because it is the
20555 # simplest approach to changing $(DEPDIR) to its actual value in the
20557 for file in `sed -n "
20558 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20559 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20560 # Make sure the directory exists.
20561 test -f "$dirpart/$file" && continue
20562 fdir
=`(dirname "$file") 2>/dev/null ||
20563 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20564 X"$file" : 'X\(//\)[^/]' \| \
20565 X"$file" : 'X\(//\)$' \| \
20566 X"$file" : 'X\(/\)' \| \
20567 . : '\(.\)' 2>/dev/null ||
20569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20570 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20571 /^X\(\/\/\)$/{ s//\1/; q; }
20572 /^X\(\/\).*/{ s//\1/; q; }
20574 { if $as_mkdir_p; then
20575 mkdir
-p $dirpart/$fdir
20577 as_dir
=$dirpart/$fdir
20579 while test ! -d "$as_dir"; do
20580 as_dirs
="$as_dir $as_dirs"
20581 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20583 X"$as_dir" : 'X\(//\)[^/]' \| \
20584 X"$as_dir" : 'X\(//\)$' \| \
20585 X"$as_dir" : 'X\(/\)' \| \
20586 . : '\(.\)' 2>/dev/null ||
20588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20589 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20590 /^X\(\/\/\)$/{ s//\1/; q; }
20591 /^X\(\/\).*/{ s//\1/; q; }
20594 test ! -n "$as_dirs" || mkdir
$as_dirs
20595 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20596 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
20597 { (exit 1); exit 1; }; }; }
20599 # echo "creating $dirpart/$file"
20600 echo '# dummy' > "$dirpart/$file"
20608 cat >>$CONFIG_STATUS <<\_ACEOF
20610 { (exit 0); exit 0; }
20612 chmod +x
$CONFIG_STATUS
20613 ac_clean_files
=$ac_clean_files_save
20616 # configure is writing to config.log, and then calls config.status.
20617 # config.status does its own redirection, appending to config.log.
20618 # Unfortunately, on DOS this fails, as config.log is still kept open
20619 # by configure, so config.status won't be able to write to it; its
20620 # output is simply discarded. So we exec the FD to /dev/null,
20621 # effectively closing config.log, so it can be properly (re)opened and
20622 # appended to by config.status. When coming back to configure, we
20623 # need to make the FD available again.
20624 if test "$no_create" != yes; then
20626 ac_config_status_args
=
20627 test "$silent" = yes &&
20628 ac_config_status_args
="$ac_config_status_args --quiet"
20630 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20632 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20633 # would make configure fail if this is the last instruction.
20634 $ac_cs_success ||
{ (exit 1); exit 1; }