2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for courierlogger 0.10.
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
='courierlogger'
425 PACKAGE_TARNAME
='courierlogger'
426 PACKAGE_VERSION
='0.10'
427 PACKAGE_STRING
='courierlogger 0.10'
428 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
430 ac_unique_file
="logger.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 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 HAVE_SGML_TRUE HAVE_SGML_FALSE 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 courierlogger 0.10 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 courierlogger 0.10:";;
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
]
1048 --with-syslog=XXX syslog facility
[MAIL
]
1050 Some influential environment variables
:
1051 CC C compiler
command
1052 CFLAGS C compiler flags
1053 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1054 nonstandard directory
<lib dir
>
1055 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1056 headers
in a nonstandard directory
<include dir
>
1058 CXX C
++ compiler
command
1059 CXXFLAGS C
++ compiler flags
1060 CXXCPP C
++ preprocessor
1061 F77 Fortran
77 compiler
command
1062 FFLAGS Fortran
77 compiler flags
1064 Use these variables to override the choices made by
`configure' or to help
1065 it to find libraries and programs with nonstandard names/locations.
1067 Report bugs to <courier-users@lists.sourceforge.net>.
1071 if test "$ac_init_help" = "recursive"; then
1072 # If there are subdirs, report their specific --help.
1074 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1075 test -d $ac_dir || continue
1078 if test "$ac_dir" != .; then
1079 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1080 # A "../" for each directory in $ac_dir_suffix.
1081 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1083 ac_dir_suffix= ac_top_builddir=
1087 .) # No --srcdir option. We are building in place.
1089 if test -z "$ac_top_builddir"; then
1092 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1094 [\\/]* | ?:[\\/]* ) # Absolute path.
1095 ac_srcdir=$srcdir$ac_dir_suffix;
1096 ac_top_srcdir=$srcdir ;;
1098 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1099 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1102 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1103 # the directories may not exist.
1105 .) ac_abs_builddir="$ac_dir";;
1108 .) ac_abs_builddir=`pwd`;;
1109 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1110 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1113 case $ac_abs_builddir in
1114 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1116 case ${ac_top_builddir}. in
1117 .) ac_abs_top_builddir=$ac_abs_builddir;;
1118 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1119 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1122 case $ac_abs_builddir in
1123 .) ac_abs_srcdir=$ac_srcdir;;
1126 .) ac_abs_srcdir=$ac_abs_builddir;;
1127 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1128 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1131 case $ac_abs_builddir in
1132 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1134 case $ac_top_srcdir in
1135 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1136 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1137 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1142 # Check for guested configure; otherwise get Cygnus style configure.
1143 if test -f $ac_srcdir/configure.gnu; then
1145 $SHELL $ac_srcdir/configure.gnu --help=recursive
1146 elif test -f $ac_srcdir/configure; then
1148 $SHELL $ac_srcdir/configure --help=recursive
1149 elif test -f $ac_srcdir/configure.ac ||
1150 test -f $ac_srcdir/configure.in; then
1152 $ac_configure --help
1154 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1160 test -n "$ac_init_help" && exit 0
1161 if $ac_init_version; then
1163 courierlogger configure 0.10
1164 generated by GNU Autoconf 2.59
1166 Copyright (C) 2003 Free Software Foundation, Inc.
1167 This configure script is free software; the Free Software Foundation
1168 gives unlimited permission to copy, distribute and modify it.
1174 This file contains any messages produced by compilers while
1175 running configure, to aid debugging if configure makes a mistake.
1177 It was created by courierlogger $as_me 0.10, which was
1178 generated by GNU Autoconf 2.59. Invocation command line was
1189 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1190 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1191 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1192 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1193 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1195 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1196 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1198 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1199 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1200 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1201 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1202 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1203 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1204 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1212 test -z "$as_dir" && as_dir=.
1213 echo "PATH: $as_dir"
1228 # Keep a trace of the command line.
1229 # Strip out --no-create and --no-recursion so they do not pile up.
1230 # Strip out --silent because we don't want to record it for future runs.
1231 # Also quote any args containing shell meta-characters.
1232 # Make two passes to allow for proper duplicate-argument suppression.
1237 ac_must_keep_next=false
1243 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1245 | -silent | --silent | --silen | --sile | --sil)
1247 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1248 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1251 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1253 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1254 if test $ac_must_keep_next = true; then
1255 ac_must_keep_next=false # Got value, back to normal.
1258 *=* | --config-cache | -C | -disable-* | --disable-* \
1259 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1260 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1261 | -with-* | --with-* | -without-* | --without-* | --x)
1262 case "$ac_configure_args0 " in
1263 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1266 -* ) ac_must_keep_next=true ;;
1269 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1270 # Get rid of the leading space.
1276 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1277 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1279 # When interrupted or exit'd, cleanup temporary files, and complete
1280 # config.log. We remove comments because anyway the quotes in there
1281 # would cause problems or look ugly.
1282 # WARNING: Be sure not to use single quotes in there, as some shells,
1283 # such as our DU 5.0 friend, will then `close
' the trap.
1284 trap 'exit_status
=$?
1285 # Save into config.log some information that might help in debugging.
1290 ## ---------------- ##
1291 ## Cache variables. ##
1292 ## ---------------- ##
1295 # The following way of writing the cache mishandles newlines in values,
1298 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1301 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1306 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1313 ## ----------------- ##
1314 ## Output variables. ##
1315 ## ----------------- ##
1318 for ac_var
in $ac_subst_vars
1320 eval ac_val
=$
`echo $ac_var`
1321 echo "$ac_var='"'"'$ac_val'"'"'"
1325 if test -n "$ac_subst_files"; then
1332 for ac_var
in $ac_subst_files
1334 eval ac_val
=$
`echo $ac_var`
1335 echo "$ac_var='"'"'$ac_val'"'"'"
1340 if test -s confdefs.h
; then
1347 sed "/^$/d" confdefs.h |
sort
1350 test "$ac_signal" != 0 &&
1351 echo "$as_me: caught signal $ac_signal"
1352 echo "$as_me: exit $exit_status"
1354 rm -f core
*.core
&&
1355 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1358 for ac_signal in 1 2 13 15; do
1359 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1363 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1364 rm -rf conftest* confdefs.h
1365 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1368 # Predefined preprocessor variables.
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_NAME "$PACKAGE_NAME"
1375 cat >>confdefs.h <<_ACEOF
1376 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1380 cat >>confdefs.h <<_ACEOF
1381 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1385 cat >>confdefs.h <<_ACEOF
1386 #define PACKAGE_STRING "$PACKAGE_STRING"
1390 cat >>confdefs.h <<_ACEOF
1391 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1395 # Let the site file select an alternate cache file if it wants to.
1396 # Prefer explicitly selected file to automatically selected ones.
1397 if test -z "$CONFIG_SITE"; then
1398 if test "x$prefix" != xNONE; then
1399 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1401 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1404 for ac_site_file in $CONFIG_SITE; do
1405 if test -r "$ac_site_file"; then
1406 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1407 echo "$as_me: loading site script $ac_site_file" >&6;}
1408 sed 's
/^
/|
/' "$ac_site_file" >&5
1413 if test -r "$cache_file"; then
1414 # Some versions of bash will fail to source /dev/null (special
1415 # files actually), so we avoid doing that.
1416 if test -f "$cache_file"; then
1417 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1418 echo "$as_me: loading cache $cache_file" >&6;}
1420 [\\/]* | ?:[\\/]* ) . $cache_file;;
1421 *) . ./$cache_file;;
1425 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1426 echo "$as_me: creating cache $cache_file" >&6;}
1430 # Check that the precious variables saved in the cache have kept the same
1432 ac_cache_corrupted=false
1433 for ac_var in `(set) 2>&1 |
1434 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1435 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1436 eval ac_new_set=\$ac_env_${ac_var}_set
1437 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1438 eval ac_new_val="\$ac_env_${ac_var}_value"
1439 case $ac_old_set,$ac_new_set in
1441 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1442 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1443 ac_cache_corrupted=: ;;
1445 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1446 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1447 ac_cache_corrupted=: ;;
1450 if test "x$ac_old_val" != "x$ac_new_val"; then
1451 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1452 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1453 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1454 echo "$as_me: former value: $ac_old_val" >&2;}
1455 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1456 echo "$as_me: current value: $ac_new_val" >&2;}
1457 ac_cache_corrupted=:
1460 # Pass precious variables to config.status.
1461 if test "$ac_new_set" = set; then
1463 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1464 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1465 *) ac_arg=$ac_var=$ac_new_val ;;
1467 case " $ac_configure_args " in
1468 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1469 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1473 if $ac_cache_corrupted; then
1474 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1475 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1476 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1477 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1478 { (exit 1); exit 1; }; }
1482 ac_cpp='$CPP $CPPFLAGS'
1483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1484 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1514 >confdefs.h # Kill PACKAGE_ macros.
1515 LPATH="$PATH:/usr/local/bin"
1517 am__api_version="1.9"
1519 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1520 if test -f $ac_dir/install-sh; then
1522 ac_install_sh="$ac_aux_dir/install-sh -c"
1524 elif test -f $ac_dir/install.sh; then
1526 ac_install_sh="$ac_aux_dir/install.sh -c"
1528 elif test -f $ac_dir/shtool; then
1530 ac_install_sh="$ac_aux_dir/shtool install -c"
1534 if test -z "$ac_aux_dir"; then
1535 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1536 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1537 { (exit 1); exit 1; }; }
1539 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1540 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1541 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1543 # Find a good install program. We prefer a C program (faster),
1544 # so one script is as good as another. But avoid the broken or
1545 # incompatible versions:
1546 # SysV /etc/install, /usr/sbin/install
1547 # SunOS /usr/etc/install
1548 # IRIX /sbin/install
1550 # AmigaOS /C/install, which installs bootblocks on floppy discs
1551 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1552 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1553 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1554 # OS/2's system install, which has a completely different semantic
1555 # ./install, which can be erroneously created by make from ./install.sh.
1556 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1557 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1558 if test -z "$INSTALL"; then
1559 if test "${ac_cv_path_install+set}" = set; then
1560 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1566 test -z "$as_dir" && as_dir
=.
1567 # Account for people who put trailing slashes in PATH elements.
1569 .
/ | .
// |
/cC
/* | \
1570 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1571 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1574 # OSF1 and SCO ODT 3.0 have their own names for install.
1575 # Don't use installbsd from OSF since it installs stuff as root
1577 for ac_prog
in ginstall scoinst
install; do
1578 for ac_exec_ext
in '' $ac_executable_extensions; do
1579 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1580 if test $ac_prog = install &&
1581 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1582 # AIX install. It has an incompatible calling convention.
1584 elif test $ac_prog = install &&
1585 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1586 # program-specific install script used by HP pwplus--don't use.
1589 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1601 if test "${ac_cv_path_install+set}" = set; then
1602 INSTALL
=$ac_cv_path_install
1604 # As a last resort, use the slow shell script. We don't cache a
1605 # path for INSTALL within a source directory, because that will
1606 # break other packages using the cache if that directory is
1607 # removed, or if the path is relative.
1608 INSTALL
=$ac_install_sh
1611 echo "$as_me:$LINENO: result: $INSTALL" >&5
1612 echo "${ECHO_T}$INSTALL" >&6
1614 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1615 # It thinks the first close brace ends the variable substitution.
1616 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1618 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1620 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1622 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1623 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1626 echo timestamp
> conftest.
file
1627 # Do `set' in a subshell so we don't clobber the current shell's
1628 # arguments. Must try -L first in case configure is actually a
1629 # symlink; some systems play weird games with the mod time of symlinks
1630 # (eg FreeBSD returns the mod time of the symlink's containing
1633 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1634 if test "$*" = "X"; then
1636 set X
`ls -t $srcdir/configure conftest.file`
1639 if test "$*" != "X $srcdir/configure conftest.file" \
1640 && test "$*" != "X conftest.file $srcdir/configure"; then
1642 # If neither matched, then we have a broken ls. This can happen
1643 # if, for instance, CONFIG_SHELL is bash and it inherits a
1644 # broken ls alias from the environment. This has actually
1645 # happened. Such a system could not be considered "sane".
1646 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1647 alias in your environment" >&5
1648 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1649 alias in your environment" >&2;}
1650 { (exit 1); exit 1; }; }
1653 test "$2" = conftest.
file
1659 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1660 Check your system clock" >&5
1661 echo "$as_me: error: newly created file is older than distributed files!
1662 Check your system clock" >&2;}
1663 { (exit 1); exit 1; }; }
1665 echo "$as_me:$LINENO: result: yes" >&5
1666 echo "${ECHO_T}yes" >&6
1667 test "$program_prefix" != NONE
&&
1668 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1669 # Use a double $ so make ignores it.
1670 test "$program_suffix" != NONE
&&
1671 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1672 # Double any \ or $. echo might interpret backslashes.
1673 # By default was `s,x,x', remove it if useless.
1674 cat <<\_ACEOF
>conftest.
sed
1675 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1677 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1680 # expand $ac_aux_dir to an absolute path
1681 am_aux_dir
=`cd $ac_aux_dir && pwd`
1683 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1684 # Use eval to expand $SHELL
1685 if eval "$MISSING --run true"; then
1686 am_missing_run
="$MISSING --run "
1689 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1690 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1693 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1694 # We used to keeping the `.' as first argument, in order to
1695 # allow $(mkdir_p) to be used without argument. As in
1696 # $(mkdir_p) $(somedir)
1697 # where $(somedir) is conditionally defined. However this is wrong
1699 # 1. if the package is installed by a user who cannot write `.'
1700 # make install will fail,
1701 # 2. the above comment should most certainly read
1702 # $(mkdir_p) $(DESTDIR)$(somedir)
1703 # so it does not work when $(somedir) is undefined and
1704 # $(DESTDIR) is not.
1705 # To support the latter case, we have to write
1706 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1707 # so the `.' trick is pointless.
1708 mkdir_p
='mkdir -p --'
1710 # On NextStep and OpenStep, the `mkdir' command does not
1711 # recognize any option. It will interpret all options as
1712 # directories to create, and then abort because `.' already
1714 for d
in .
/-p .
/--version;
1716 test -d $d && rmdir $d
1718 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1719 if test -f "$ac_aux_dir/mkinstalldirs"; then
1720 mkdir_p
='$(mkinstalldirs)'
1722 mkdir_p
='$(install_sh) -d'
1726 for ac_prog
in gawk mawk nawk
awk
1728 # Extract the first word of "$ac_prog", so it can be a program name with args.
1729 set dummy
$ac_prog; ac_word
=$2
1730 echo "$as_me:$LINENO: checking for $ac_word" >&5
1731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1732 if test "${ac_cv_prog_AWK+set}" = set; then
1733 echo $ECHO_N "(cached) $ECHO_C" >&6
1735 if test -n "$AWK"; then
1736 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1742 test -z "$as_dir" && as_dir
=.
1743 for ac_exec_ext
in '' $ac_executable_extensions; do
1744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1745 ac_cv_prog_AWK
="$ac_prog"
1746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755 if test -n "$AWK"; then
1756 echo "$as_me:$LINENO: result: $AWK" >&5
1757 echo "${ECHO_T}$AWK" >&6
1759 echo "$as_me:$LINENO: result: no" >&5
1760 echo "${ECHO_T}no" >&6
1763 test -n "$AWK" && break
1766 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1767 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1768 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1769 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 cat >conftest.
make <<\_ACEOF
1774 @
echo 'ac_maketemp="$(MAKE)"'
1776 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1777 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1778 if test -n "$ac_maketemp"; then
1779 eval ac_cv_prog_make_
${ac_make}_set
=yes
1781 eval ac_cv_prog_make_
${ac_make}_set
=no
1785 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1786 echo "$as_me:$LINENO: result: yes" >&5
1787 echo "${ECHO_T}yes" >&6
1790 echo "$as_me:$LINENO: result: no" >&5
1791 echo "${ECHO_T}no" >&6
1792 SET_MAKE
="MAKE=${MAKE-make}"
1795 rm -rf .tst
2>/dev
/null
1796 mkdir .tst
2>/dev
/null
1797 if test -d .tst
; then
1802 rmdir .tst
2>/dev
/null
1804 # test to see if srcdir already configured
1805 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1806 test -f $srcdir/config.status
; then
1807 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1808 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1809 { (exit 1); exit 1; }; }
1812 # test whether we have cygpath
1813 if test -z "$CYGPATH_W"; then
1814 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1815 CYGPATH_W
='cygpath -w'
1822 # Define the identity of the package.
1823 PACKAGE
='courierlogger'
1827 # Some tools Automake needs.
1829 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1832 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1835 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1838 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1841 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1843 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1845 # Installed binaries are usually stripped using `strip' when the user
1846 # run `make install-strip'. However `strip' might not be the right
1847 # tool to use in cross-compilation environments, therefore Automake
1848 # will honor the `STRIP' environment variable to overrule this program.
1849 if test "$cross_compiling" != no
; then
1850 if test -n "$ac_tool_prefix"; then
1851 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1852 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1853 echo "$as_me:$LINENO: checking for $ac_word" >&5
1854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1855 if test "${ac_cv_prog_STRIP+set}" = set; then
1856 echo $ECHO_N "(cached) $ECHO_C" >&6
1858 if test -n "$STRIP"; then
1859 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1865 test -z "$as_dir" && as_dir
=.
1866 for ac_exec_ext
in '' $ac_executable_extensions; do
1867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1868 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1877 STRIP
=$ac_cv_prog_STRIP
1878 if test -n "$STRIP"; then
1879 echo "$as_me:$LINENO: result: $STRIP" >&5
1880 echo "${ECHO_T}$STRIP" >&6
1882 echo "$as_me:$LINENO: result: no" >&5
1883 echo "${ECHO_T}no" >&6
1887 if test -z "$ac_cv_prog_STRIP"; then
1889 # Extract the first word of "strip", so it can be a program name with args.
1890 set dummy strip
; ac_word
=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 if test -n "$ac_ct_STRIP"; then
1897 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir
=.
1904 for ac_exec_ext
in '' $ac_executable_extensions; do
1905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906 ac_cv_prog_ac_ct_STRIP
="strip"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1913 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1916 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1917 if test -n "$ac_ct_STRIP"; then
1918 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1919 echo "${ECHO_T}$ac_ct_STRIP" >&6
1921 echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6
1927 STRIP
="$ac_cv_prog_STRIP"
1931 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1933 # We need awk for the "check" target. The system "awk" is bad on
1935 # Always define AMTAR for backward compatibility.
1937 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1939 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1945 ac_config_headers
="$ac_config_headers config.h"
1949 ac_cpp
='$CPP $CPPFLAGS'
1950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1953 if test -n "$ac_tool_prefix"; then
1954 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1955 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1956 echo "$as_me:$LINENO: checking for $ac_word" >&5
1957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1958 if test "${ac_cv_prog_CC+set}" = set; then
1959 echo $ECHO_N "(cached) $ECHO_C" >&6
1961 if test -n "$CC"; then
1962 ac_cv_prog_CC
="$CC" # Let the user override the test.
1964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1968 test -z "$as_dir" && as_dir
=.
1969 for ac_exec_ext
in '' $ac_executable_extensions; do
1970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1971 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981 if test -n "$CC"; then
1982 echo "$as_me:$LINENO: result: $CC" >&5
1983 echo "${ECHO_T}$CC" >&6
1985 echo "$as_me:$LINENO: result: no" >&5
1986 echo "${ECHO_T}no" >&6
1990 if test -z "$ac_cv_prog_CC"; then
1992 # Extract the first word of "gcc", so it can be a program name with args.
1993 set dummy gcc
; ac_word
=$2
1994 echo "$as_me:$LINENO: checking for $ac_word" >&5
1995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1996 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 if test -n "$ac_ct_CC"; then
2000 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir
=.
2007 for ac_exec_ext
in '' $ac_executable_extensions; do
2008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009 ac_cv_prog_ac_ct_CC
="gcc"
2010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2019 if test -n "$ac_ct_CC"; then
2020 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2021 echo "${ECHO_T}$ac_ct_CC" >&6
2023 echo "$as_me:$LINENO: result: no" >&5
2024 echo "${ECHO_T}no" >&6
2032 if test -z "$CC"; then
2033 if test -n "$ac_tool_prefix"; then
2034 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2035 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2036 echo "$as_me:$LINENO: checking for $ac_word" >&5
2037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2038 if test "${ac_cv_prog_CC+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 if test -n "$CC"; then
2042 ac_cv_prog_CC
="$CC" # Let the user override the test.
2044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2048 test -z "$as_dir" && as_dir
=.
2049 for ac_exec_ext
in '' $ac_executable_extensions; do
2050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2051 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 if test -n "$CC"; then
2062 echo "$as_me:$LINENO: result: $CC" >&5
2063 echo "${ECHO_T}$CC" >&6
2065 echo "$as_me:$LINENO: result: no" >&5
2066 echo "${ECHO_T}no" >&6
2070 if test -z "$ac_cv_prog_CC"; then
2072 # Extract the first word of "cc", so it can be a program name with args.
2073 set dummy cc
; ac_word
=$2
2074 echo "$as_me:$LINENO: checking for $ac_word" >&5
2075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2076 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&6
2079 if test -n "$ac_ct_CC"; then
2080 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir
=.
2087 for ac_exec_ext
in '' $ac_executable_extensions; do
2088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 ac_cv_prog_ac_ct_CC
="cc"
2090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2099 if test -n "$ac_ct_CC"; then
2100 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2101 echo "${ECHO_T}$ac_ct_CC" >&6
2103 echo "$as_me:$LINENO: result: no" >&5
2104 echo "${ECHO_T}no" >&6
2113 if test -z "$CC"; then
2114 # Extract the first word of "cc", so it can be a program name with args.
2115 set dummy cc
; ac_word
=$2
2116 echo "$as_me:$LINENO: checking for $ac_word" >&5
2117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2118 if test "${ac_cv_prog_CC+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 if test -n "$CC"; then
2122 ac_cv_prog_CC
="$CC" # Let the user override the test.
2125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir
=.
2130 for ac_exec_ext
in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2133 ac_prog_rejected
=yes
2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143 if test $ac_prog_rejected = yes; then
2144 # We found a bogon in the path, so make sure we never use it.
2145 set dummy
$ac_cv_prog_CC
2147 if test $# != 0; then
2148 # We chose a different compiler from the bogus one.
2149 # However, it has the same basename, so the bogon will be chosen
2150 # first if we set CC to just the basename; use the full file name.
2152 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2158 if test -n "$CC"; then
2159 echo "$as_me:$LINENO: result: $CC" >&5
2160 echo "${ECHO_T}$CC" >&6
2162 echo "$as_me:$LINENO: result: no" >&5
2163 echo "${ECHO_T}no" >&6
2167 if test -z "$CC"; then
2168 if test -n "$ac_tool_prefix"; then
2171 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2172 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2173 echo "$as_me:$LINENO: checking for $ac_word" >&5
2174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2175 if test "${ac_cv_prog_CC+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 if test -n "$CC"; then
2179 ac_cv_prog_CC
="$CC" # Let the user override the test.
2181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2185 test -z "$as_dir" && as_dir
=.
2186 for ac_exec_ext
in '' $ac_executable_extensions; do
2187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2188 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 if test -n "$CC"; then
2199 echo "$as_me:$LINENO: result: $CC" >&5
2200 echo "${ECHO_T}$CC" >&6
2202 echo "$as_me:$LINENO: result: no" >&5
2203 echo "${ECHO_T}no" >&6
2206 test -n "$CC" && break
2209 if test -z "$CC"; then
2213 # Extract the first word of "$ac_prog", so it can be a program name with args.
2214 set dummy
$ac_prog; ac_word
=$2
2215 echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 if test -n "$ac_ct_CC"; then
2221 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir
=.
2228 for ac_exec_ext
in '' $ac_executable_extensions; do
2229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2230 ac_cv_prog_ac_ct_CC
="$ac_prog"
2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2239 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2240 if test -n "$ac_ct_CC"; then
2241 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2242 echo "${ECHO_T}$ac_ct_CC" >&6
2244 echo "$as_me:$LINENO: result: no" >&5
2245 echo "${ECHO_T}no" >&6
2248 test -n "$ac_ct_CC" && break
2257 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2258 See \`config.log' for more details." >&5
2259 echo "$as_me: error: no acceptable C compiler found in \$PATH
2260 See \`config.log' for more details." >&2;}
2261 { (exit 1); exit 1; }; }
2263 # Provide some information about the compiler.
2264 echo "$as_me:$LINENO:" \
2265 "checking for C compiler version" >&5
2266 ac_compiler
=`set X $ac_compile; echo $2`
2267 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2268 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }
2272 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2273 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }
2277 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2278 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }
2283 cat >conftest.
$ac_ext <<_ACEOF
2286 cat confdefs.h
>>conftest.
$ac_ext
2287 cat >>conftest.
$ac_ext <<_ACEOF
2288 /* end confdefs.h. */
2298 ac_clean_files_save
=$ac_clean_files
2299 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2300 # Try to create an executable without -o first, disregard a.out.
2301 # It will help us diagnose broken compilers, and finding out an intuition
2303 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2304 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2305 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2306 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2307 (eval $ac_link_default) 2>&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }; then
2311 # Find the output, starting from the most likely. This scheme is
2312 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2315 # Be careful to initialize this variable, since it used to be cached.
2316 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2318 # b.out is created by i960 compilers.
2319 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2321 test -f "$ac_file" ||
continue
2323 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2326 # This is the source file.
2329 # We found the default executable, but exeext='' is most
2333 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2334 # FIXME: I believe we export ac_cv_exeext for Libtool,
2335 # but it would be cool to find out if it's true. Does anybody
2336 # maintain Libtool? --akim.
2344 echo "$as_me: failed program was:" >&5
2345 sed 's/^/| /' conftest.
$ac_ext >&5
2347 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2348 See \`config.log' for more details." >&5
2349 echo "$as_me: error: C compiler cannot create executables
2350 See \`config.log' for more details." >&2;}
2351 { (exit 77); exit 77; }; }
2354 ac_exeext
=$ac_cv_exeext
2355 echo "$as_me:$LINENO: result: $ac_file" >&5
2356 echo "${ECHO_T}$ac_file" >&6
2358 # Check the compiler produces executables we can run. If not, either
2359 # the compiler is broken, or we cross compile.
2360 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2361 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2362 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2363 # If not cross compiling, check that we can run a simple program.
2364 if test "$cross_compiling" != yes; then
2365 if { ac_try
='./$ac_file'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; }; then
2373 if test "$cross_compiling" = maybe
; then
2376 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2377 If you meant to cross compile, use \`--host'.
2378 See \`config.log' for more details." >&5
2379 echo "$as_me: error: cannot run C compiled programs.
2380 If you meant to cross compile, use \`--host'.
2381 See \`config.log' for more details." >&2;}
2382 { (exit 1); exit 1; }; }
2386 echo "$as_me:$LINENO: result: yes" >&5
2387 echo "${ECHO_T}yes" >&6
2389 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2390 ac_clean_files
=$ac_clean_files_save
2391 # Check the compiler produces executables we can run. If not, either
2392 # the compiler is broken, or we cross compile.
2393 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2394 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2395 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2396 echo "${ECHO_T}$cross_compiling" >&6
2398 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2399 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2401 (eval $ac_link) 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; then
2405 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2406 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2407 # work properly (i.e., refer to `conftest.exe'), while it won't with
2409 for ac_file
in conftest.exe conftest conftest.
*; do
2410 test -f "$ac_file" ||
continue
2412 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2413 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2420 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2421 See \`config.log' for more details." >&5
2422 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2423 See \`config.log' for more details." >&2;}
2424 { (exit 1); exit 1; }; }
2427 rm -f conftest
$ac_cv_exeext
2428 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2429 echo "${ECHO_T}$ac_cv_exeext" >&6
2431 rm -f conftest.
$ac_ext
2432 EXEEXT
=$ac_cv_exeext
2434 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2435 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2436 if test "${ac_cv_objext+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 cat >conftest.
$ac_ext <<_ACEOF
2442 cat confdefs.h
>>conftest.
$ac_ext
2443 cat >>conftest.
$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2454 rm -f conftest.o conftest.obj
2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456 (eval $ac_compile) 2>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2462 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2463 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.
$ac_ext >&5
2471 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2472 See \`config.log' for more details." >&5
2473 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2474 See \`config.log' for more details." >&2;}
2475 { (exit 1); exit 1; }; }
2478 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2480 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2481 echo "${ECHO_T}$ac_cv_objext" >&6
2482 OBJEXT
=$ac_cv_objext
2484 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2485 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2486 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 cat >conftest.
$ac_ext <<_ACEOF
2492 cat confdefs.h
>>conftest.
$ac_ext
2493 cat >>conftest.
$ac_ext <<_ACEOF
2494 /* end confdefs.h. */
2507 rm -f conftest.
$ac_objext
2508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2509 (eval $ac_compile) 2>conftest.er1
2511 grep -v '^ *+' conftest.er1
>conftest.err
2513 cat conftest.err
>&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); } &&
2516 { ac_try
='test -z "$ac_c_werror_flag"
2517 || test ! -s conftest.err'
2518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; } &&
2523 { ac_try
='test -s conftest.$ac_objext'
2524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; }; then
2531 echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.
$ac_ext >&5
2536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2537 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2540 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2541 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2542 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2543 ac_test_CFLAGS
=${CFLAGS+set}
2544 ac_save_CFLAGS
=$CFLAGS
2546 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2547 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2548 if test "${ac_cv_prog_cc_g+set}" = set; then
2549 echo $ECHO_N "(cached) $ECHO_C" >&6
2551 cat >conftest.
$ac_ext <<_ACEOF
2554 cat confdefs.h
>>conftest.
$ac_ext
2555 cat >>conftest.
$ac_ext <<_ACEOF
2556 /* end confdefs.h. */
2566 rm -f conftest.
$ac_objext
2567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2568 (eval $ac_compile) 2>conftest.er1
2570 grep -v '^ *+' conftest.er1
>conftest.err
2572 cat conftest.err
>&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); } &&
2575 { ac_try
='test -z "$ac_c_werror_flag"
2576 || test ! -s conftest.err'
2577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; } &&
2582 { ac_try
='test -s conftest.$ac_objext'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; }; then
2590 echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.
$ac_ext >&5
2595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2597 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2598 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2599 if test "$ac_test_CFLAGS" = set; then
2600 CFLAGS
=$ac_save_CFLAGS
2601 elif test $ac_cv_prog_cc_g = yes; then
2602 if test "$GCC" = yes; then
2608 if test "$GCC" = yes; then
2614 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2615 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2616 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2619 ac_cv_prog_cc_stdc
=no
2621 cat >conftest.
$ac_ext <<_ACEOF
2624 cat confdefs.h
>>conftest.
$ac_ext
2625 cat >>conftest.
$ac_ext <<_ACEOF
2626 /* end confdefs.h. */
2629 #include <sys/types.h>
2630 #include <sys/stat.h>
2631 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2632 struct buf { int x; };
2633 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2634 static char *e (p, i)
2640 static char *f (char * (*g) (char **, int), char **p, ...)
2645 s = g (p, va_arg (v,int));
2650 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2651 function prototypes and stuff, but not '\xHH' hex character constants.
2652 These don't provoke an error unfortunately, instead are silently treated
2653 as 'x'. The following induces an error, until -std1 is added to get
2654 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2655 array size at least. It's necessary to write '\x00'==0 to get something
2656 that's true only with -std1. */
2657 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2659 int test (int i, double x);
2660 struct s1 {int (*f) (int a);};
2661 struct s2 {int (*f) (double a);};
2662 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2668 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2673 # Don't try gcc -ansi; that turns off useful extensions and
2674 # breaks some systems' header files.
2675 # AIX -qlanglvl=ansi
2676 # Ultrix and OSF/1 -std1
2677 # HP-UX 10.20 and later -Ae
2678 # HP-UX older versions -Aa -D_HPUX_SOURCE
2679 # SVR4 -Xc -D__EXTENSIONS__
2680 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2682 CC
="$ac_save_CC $ac_arg"
2683 rm -f conftest.
$ac_objext
2684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2685 (eval $ac_compile) 2>conftest.er1
2687 grep -v '^ *+' conftest.er1
>conftest.err
2689 cat conftest.err
>&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); } &&
2692 { ac_try
='test -z "$ac_c_werror_flag"
2693 || test ! -s conftest.err'
2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; } &&
2699 { ac_try
='test -s conftest.$ac_objext'
2700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }; }; then
2705 ac_cv_prog_cc_stdc
=$ac_arg
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.
$ac_ext >&5
2712 rm -f conftest.err conftest.
$ac_objext
2714 rm -f conftest.
$ac_ext conftest.
$ac_objext
2719 case "x$ac_cv_prog_cc_stdc" in
2721 echo "$as_me:$LINENO: result: none needed" >&5
2722 echo "${ECHO_T}none needed" >&6 ;;
2724 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2725 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2726 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2729 # Some people use a C++ compiler to compile C. Since we use `exit',
2730 # in C++ we need to declare it. In case someone uses the same compiler
2731 # for both compiling C and C++ we need to have the C++ compiler decide
2732 # the declaration of exit, since it's the most demanding environment.
2733 cat >conftest.
$ac_ext <<_ACEOF
2738 rm -f conftest.
$ac_objext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740 (eval $ac_compile) 2>conftest.er1
2742 grep -v '^ *+' conftest.er1
>conftest.err
2744 cat conftest.err
>&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try
='test -z "$ac_c_werror_flag"
2748 || test ! -s conftest.err'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; } &&
2754 { ac_try
='test -s conftest.$ac_objext'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; }; then
2760 for ac_declaration
in \
2762 'extern "C" void std::exit (int) throw (); using std::exit;' \
2763 'extern "C" void std::exit (int); using std::exit;' \
2764 'extern "C" void exit (int) throw ();' \
2765 'extern "C" void exit (int);' \
2768 cat >conftest.
$ac_ext <<_ACEOF
2771 cat confdefs.h
>>conftest.
$ac_ext
2772 cat >>conftest.
$ac_ext <<_ACEOF
2773 /* end confdefs.h. */
2784 rm -f conftest.
$ac_objext
2785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2786 (eval $ac_compile) 2>conftest.er1
2788 grep -v '^ *+' conftest.er1
>conftest.err
2790 cat conftest.err
>&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } &&
2793 { ac_try
='test -z "$ac_c_werror_flag"
2794 || test ! -s conftest.err'
2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; } &&
2800 { ac_try
='test -s conftest.$ac_objext'
2801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }; }; then
2808 echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.
$ac_ext >&5
2813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2814 cat >conftest.
$ac_ext <<_ACEOF
2817 cat confdefs.h
>>conftest.
$ac_ext
2818 cat >>conftest.
$ac_ext <<_ACEOF
2819 /* end confdefs.h. */
2829 rm -f conftest.
$ac_objext
2830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2831 (eval $ac_compile) 2>conftest.er1
2833 grep -v '^ *+' conftest.er1
>conftest.err
2835 cat conftest.err
>&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); } &&
2838 { ac_try
='test -z "$ac_c_werror_flag"
2839 || test ! -s conftest.err'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; } &&
2845 { ac_try
='test -s conftest.$ac_objext'
2846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; }; then
2853 echo "$as_me: failed program was:" >&5
2854 sed 's/^/| /' conftest.
$ac_ext >&5
2857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2860 if test -n "$ac_declaration"; then
2861 echo '#ifdef __cplusplus' >>confdefs.h
2862 echo $ac_declaration >>confdefs.h
2863 echo '#endif' >>confdefs.h
2867 echo "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.
$ac_ext >&5
2871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2873 ac_cpp
='$CPP $CPPFLAGS'
2874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2877 DEPDIR
="${am__leading_dot}deps"
2879 ac_config_commands
="$ac_config_commands depfiles"
2882 am_make
=${MAKE-make}
2883 cat > confinc
<< 'END'
2888 # If we don't find an include directive, just comment out the code.
2889 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2890 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2894 # First try GNU make style include.
2895 echo "include confinc" > confmf
2896 # We grep out `Entering directory' and `Leaving directory'
2897 # messages which can occur if `w' ends up in MAKEFLAGS.
2898 # In particular we don't look at `^make:' because GNU make might
2899 # be invoked under some other name (usually "gmake"), in which
2900 # case it prints its new name instead of `make'.
2901 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2906 # Now try BSD make style include.
2907 if test "$am__include" = "#"; then
2908 echo '.include "confinc"' > confmf
2909 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2910 am__include
=.include
2917 echo "$as_me:$LINENO: result: $_am_result" >&5
2918 echo "${ECHO_T}$_am_result" >&6
2919 rm -f confinc confmf
2921 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2922 if test "${enable_dependency_tracking+set}" = set; then
2923 enableval
="$enable_dependency_tracking"
2926 if test "x$enable_dependency_tracking" != xno
; then
2927 am_depcomp
="$ac_aux_dir/depcomp"
2932 if test "x$enable_dependency_tracking" != xno; then
2943 depcc
="$CC" am_compiler_list
=
2945 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2946 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2947 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
2950 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2951 # We make a subdir and do the tests there. Otherwise we can end up
2952 # making bogus files that we don't know about and never remove. For
2953 # instance it was reported that on HP-UX the gcc test will end up
2954 # making a dummy file named `D' -- because `-MD' means `put the output
2957 # Copy depcomp to subdir because otherwise we won't find it if we're
2958 # using a relative directory.
2959 cp "$am_depcomp" conftest.dir
2961 # We will build objects and dependencies in a subdirectory because
2962 # it helps to detect inapplicable dependency modes. For instance
2963 # both Tru64's cc and ICC support -MD to output dependencies as a
2964 # side effect of compilation, but ICC will put the dependencies in
2965 # the current directory while Tru64 will put them in the object
2969 am_cv_CC_dependencies_compiler_type
=none
2970 if test "$am_compiler_list" = ""; then
2971 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2973 for depmode
in $am_compiler_list; do
2974 # Setup a source with many dependencies, because some compilers
2975 # like to wrap large dependency lists on column 80 (with \), and
2976 # we should not choose a depcomp mode which is confused by this.
2978 # We need to recreate these files for each test, as the compiler may
2979 # overwrite some of them when testing with obscure command lines.
2980 # This happens at least with the AIX C compiler.
2982 for i
in 1 2 3 4 5 6; do
2983 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2984 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2985 # Solaris 8's {/usr,}/bin/sh.
2986 touch sub
/conftst
$i.h
2988 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2992 # after this tag, mechanisms are not by side-effect, so they'll
2993 # only be used when explicitly requested
2994 if test "x$enable_dependency_tracking" = xyes
; then
3002 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3003 # mode. It turns out that the SunPro C++ compiler does not properly
3004 # handle `-M -o', and we need to detect this.
3005 if depmode
=$depmode \
3006 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3007 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3008 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3009 >/dev
/null
2>conftest.err
&&
3010 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3011 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3012 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3013 # icc doesn't choke on unknown options, it will just issue warnings
3014 # or remarks (even with -Werror). So we grep stderr for any message
3015 # that says an option was ignored or not supported.
3016 # When given -MP, icc 7.0 and 7.1 complain thusly:
3017 # icc: Command line warning: ignoring option '-M'; no argument required
3018 # The diagnosis changed in icc 8.0:
3019 # icc: Command line remark: option '-MP' not supported
3020 if (grep 'ignoring option' conftest.err ||
3021 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3022 am_cv_CC_dependencies_compiler_type
=$depmode
3031 am_cv_CC_dependencies_compiler_type
=none
3035 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3036 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3037 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3042 test "x$enable_dependency_tracking" != xno \
3043 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3045 am__fastdepCC_FALSE
='#'
3047 am__fastdepCC_TRUE
='#'
3048 am__fastdepCC_FALSE
=
3052 # Find a good install program. We prefer a C program (faster),
3053 # so one script is as good as another. But avoid the broken or
3054 # incompatible versions:
3055 # SysV /etc/install, /usr/sbin/install
3056 # SunOS /usr/etc/install
3057 # IRIX /sbin/install
3059 # AmigaOS /C/install, which installs bootblocks on floppy discs
3060 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3061 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3062 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3063 # OS/2's system install, which has a completely different semantic
3064 # ./install, which can be erroneously created by make from ./install.sh.
3065 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3066 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3067 if test -z "$INSTALL"; then
3068 if test "${ac_cv_path_install+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3075 test -z "$as_dir" && as_dir
=.
3076 # Account for people who put trailing slashes in PATH elements.
3078 .
/ | .
// |
/cC
/* | \
3079 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3080 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3083 # OSF1 and SCO ODT 3.0 have their own names for install.
3084 # Don't use installbsd from OSF since it installs stuff as root
3086 for ac_prog
in ginstall scoinst
install; do
3087 for ac_exec_ext
in '' $ac_executable_extensions; do
3088 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3089 if test $ac_prog = install &&
3090 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3091 # AIX install. It has an incompatible calling convention.
3093 elif test $ac_prog = install &&
3094 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3095 # program-specific install script used by HP pwplus--don't use.
3098 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3110 if test "${ac_cv_path_install+set}" = set; then
3111 INSTALL
=$ac_cv_path_install
3113 # As a last resort, use the slow shell script. We don't cache a
3114 # path for INSTALL within a source directory, because that will
3115 # break other packages using the cache if that directory is
3116 # removed, or if the path is relative.
3117 INSTALL
=$ac_install_sh
3120 echo "$as_me:$LINENO: result: $INSTALL" >&5
3121 echo "${ECHO_T}$INSTALL" >&6
3123 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3124 # It thinks the first close brace ends the variable substitution.
3125 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3127 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3129 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3131 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3132 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3134 if test "$LN_S" = "ln -s"; then
3135 echo "$as_me:$LINENO: result: yes" >&5
3136 echo "${ECHO_T}yes" >&6
3138 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3139 echo "${ECHO_T}no, using $LN_S" >&6
3142 # Check whether --enable-shared or --disable-shared was given.
3143 if test "${enable_shared+set}" = set; then
3144 enableval
="$enable_shared"
3145 p
=${PACKAGE-default}
3147 yes) enable_shared
=yes ;;
3148 no
) enable_shared
=no
;;
3151 # Look at the argument we got. We use all the common list separators.
3152 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3153 for pkg
in $enableval; do
3155 if test "X$pkg" = "X$p"; then
3166 # Check whether --enable-static or --disable-static was given.
3167 if test "${enable_static+set}" = set; then
3168 enableval
="$enable_static"
3169 p
=${PACKAGE-default}
3171 yes) enable_static
=yes ;;
3172 no
) enable_static
=no
;;
3175 # Look at the argument we got. We use all the common list separators.
3176 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3177 for pkg
in $enableval; do
3179 if test "X$pkg" = "X$p"; then
3190 # Check whether --enable-fast-install or --disable-fast-install was given.
3191 if test "${enable_fast_install+set}" = set; then
3192 enableval
="$enable_fast_install"
3193 p
=${PACKAGE-default}
3195 yes) enable_fast_install
=yes ;;
3196 no
) enable_fast_install
=no
;;
3198 enable_fast_install
=no
3199 # Look at the argument we got. We use all the common list separators.
3200 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3201 for pkg
in $enableval; do
3203 if test "X$pkg" = "X$p"; then
3204 enable_fast_install
=yes
3211 enable_fast_install
=yes
3214 # Make sure we can run config.sub.
3215 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3216 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3217 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3218 { (exit 1); exit 1; }; }
3220 echo "$as_me:$LINENO: checking build system type" >&5
3221 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3222 if test "${ac_cv_build+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6
3225 ac_cv_build_alias
=$build_alias
3226 test -z "$ac_cv_build_alias" &&
3227 ac_cv_build_alias
=`$ac_config_guess`
3228 test -z "$ac_cv_build_alias" &&
3229 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3230 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3231 { (exit 1); exit 1; }; }
3232 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3233 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3234 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3235 { (exit 1); exit 1; }; }
3238 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3239 echo "${ECHO_T}$ac_cv_build" >&6
3241 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3242 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3243 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3246 echo "$as_me:$LINENO: checking host system type" >&5
3247 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3248 if test "${ac_cv_host+set}" = set; then
3249 echo $ECHO_N "(cached) $ECHO_C" >&6
3251 ac_cv_host_alias
=$host_alias
3252 test -z "$ac_cv_host_alias" &&
3253 ac_cv_host_alias
=$ac_cv_build_alias
3254 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3255 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3256 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3257 { (exit 1); exit 1; }; }
3260 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3261 echo "${ECHO_T}$ac_cv_host" >&6
3263 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3264 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3265 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3268 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3269 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3270 if test "${lt_cv_path_SED+set}" = set; then
3271 echo $ECHO_N "(cached) $ECHO_C" >&6
3273 # Loop through the user's path and test for sed and gsed.
3274 # Then use that list of sed's as ones to test for truncation.
3275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3279 test -z "$as_dir" && as_dir
=.
3280 for lt_ac_prog
in sed gsed
; do
3281 for ac_exec_ext
in '' $ac_executable_extensions; do
3282 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3283 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3291 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3292 # along with /bin/sed that truncates output.
3293 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3294 test ! -f $lt_ac_sed && continue
3295 cat /dev
/null
> conftest.
in
3297 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3298 # Check for GNU sed and select it if it is found.
3299 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3300 lt_cv_path_SED
=$lt_ac_sed
3304 cat conftest.
in conftest.
in >conftest.tmp
3305 mv conftest.tmp conftest.
in
3306 cp conftest.
in conftest.
nl
3308 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3309 cmp -s conftest.out conftest.
nl ||
break
3310 # 10000 chars as input seems more than enough
3311 test $lt_ac_count -gt 10 && break
3312 lt_ac_count
=`expr $lt_ac_count + 1`
3313 if test $lt_ac_count -gt $lt_ac_max; then
3314 lt_ac_max
=$lt_ac_count
3315 lt_cv_path_SED
=$lt_ac_sed
3324 echo "$as_me:$LINENO: result: $SED" >&5
3325 echo "${ECHO_T}$SED" >&6
3327 echo "$as_me:$LINENO: checking for egrep" >&5
3328 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3329 if test "${ac_cv_prog_egrep+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3333 then ac_cv_prog_egrep
='grep -E'
3334 else ac_cv_prog_egrep
='egrep'
3337 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3338 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3339 EGREP
=$ac_cv_prog_egrep
3343 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3344 if test "${with_gnu_ld+set}" = set; then
3345 withval
="$with_gnu_ld"
3346 test "$withval" = no || with_gnu_ld
=yes
3351 if test "$GCC" = yes; then
3352 # Check if gcc -print-prog-name=ld gives a path.
3353 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3354 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3357 # gcc leaves a trailing carriage return which upsets mingw
3358 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3360 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3363 # Accept absolute paths.
3365 re_direlt
='/[^/][^/]*/\.\./'
3366 # Canonicalize the pathname of ld
3367 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3368 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3369 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3371 test -z "$LD" && LD
="$ac_prog"
3374 # If it fails, then pretend we aren't using GCC.
3378 # If it is relative, then search for the first ld in PATH.
3382 elif test "$with_gnu_ld" = yes; then
3383 echo "$as_me:$LINENO: checking for GNU ld" >&5
3384 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3386 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3387 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3389 if test "${lt_cv_path_LD+set}" = set; then
3390 echo $ECHO_N "(cached) $ECHO_C" >&6
3392 if test -z "$LD"; then
3393 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3394 for ac_dir
in $PATH; do
3396 test -z "$ac_dir" && ac_dir
=.
3397 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3398 lt_cv_path_LD
="$ac_dir/$ac_prog"
3399 # Check to see if the program is GNU ld. I'd rather use --version,
3400 # but apparently some variants of GNU ld only accept -v.
3401 # Break only if it was the GNU/non-GNU ld that we prefer.
3402 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3403 *GNU
* |
*'with BFD'*)
3404 test "$with_gnu_ld" != no
&& break
3407 test "$with_gnu_ld" != yes && break
3414 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3419 if test -n "$LD"; then
3420 echo "$as_me:$LINENO: result: $LD" >&5
3421 echo "${ECHO_T}$LD" >&6
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3426 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3427 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3428 { (exit 1); exit 1; }; }
3429 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3430 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3431 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3432 echo $ECHO_N "(cached) $ECHO_C" >&6
3434 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3435 case `$LD -v 2>&1 </dev/null` in
3436 *GNU
* |
*'with BFD'*)
3437 lt_cv_prog_gnu_ld
=yes
3440 lt_cv_prog_gnu_ld
=no
3444 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3445 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3446 with_gnu_ld
=$lt_cv_prog_gnu_ld
3449 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3450 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3451 if test "${lt_cv_ld_reload_flag+set}" = set; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 lt_cv_ld_reload_flag
='-r'
3456 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3457 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3458 reload_flag
=$lt_cv_ld_reload_flag
3459 case $reload_flag in
3461 *) reload_flag
=" $reload_flag" ;;
3463 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3466 if test "$GCC" = yes; then
3467 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3469 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3474 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3475 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3476 if test "${lt_cv_path_NM+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3479 if test -n "$NM"; then
3480 # Let the user override the test.
3483 lt_nm_to_check
="${ac_tool_prefix}nm"
3484 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3485 lt_nm_to_check
="$lt_nm_to_check nm"
3487 for lt_tmp_nm
in $lt_nm_to_check; do
3488 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3489 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3491 test -z "$ac_dir" && ac_dir
=.
3492 tmp_nm
="$ac_dir/$lt_tmp_nm"
3493 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3494 # Check to see if the nm accepts a BSD-compat flag.
3495 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3496 # nm: unknown option "B" ignored
3497 # Tru64's nm complains that /dev/null is an invalid object file
3498 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3499 */dev
/null
* |
*'Invalid file or object type'*)
3500 lt_cv_path_NM
="$tmp_nm -B"
3504 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3506 lt_cv_path_NM
="$tmp_nm -p"
3510 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3511 continue # so that we can try to find one that supports BSD flags
3520 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3523 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3524 echo "${ECHO_T}$lt_cv_path_NM" >&6
3527 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3528 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3529 if test "${lt_cv_deplibs_check_method+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3532 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3533 lt_cv_file_magic_test_file
=
3534 lt_cv_deplibs_check_method
='unknown'
3535 # Need to set the preceding variable on all platforms that support
3536 # interlibrary dependencies.
3537 # 'none' -- dependencies not supported.
3538 # `unknown' -- same as none, but documents that we really don't know.
3539 # 'pass_all' -- all dependencies passed with no checks.
3540 # 'test_compile' -- check by making test program.
3541 # 'file_magic [[regex]]' -- check by looking for files in library path
3542 # which responds to the $file_magic_cmd with a given extended regex.
3543 # If you have `file' or equivalent on your system and you're not sure
3544 # whether `pass_all' will *always* work, you probably want this one.
3548 lt_cv_deplibs_check_method
=pass_all
3552 lt_cv_deplibs_check_method
=pass_all
3556 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3557 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3558 lt_cv_file_magic_test_file
=/shlib
/libc.so
3562 # func_win32_libid is a shell function defined in ltmain.sh
3563 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3564 lt_cv_file_magic_cmd
='func_win32_libid'
3568 # Base MSYS/MinGW do not provide the 'file' command needed by
3569 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3570 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3571 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3574 darwin
* | rhapsody
*)
3575 lt_cv_deplibs_check_method
=pass_all
3578 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3579 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3582 # Not sure whether the presence of OpenBSD here was a mistake.
3583 # Let's accept both of them until this is cleared up.
3584 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3585 lt_cv_file_magic_cmd
=/usr
/bin
/file
3586 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3590 lt_cv_deplibs_check_method
=pass_all
3595 lt_cv_deplibs_check_method
=pass_all
3598 hpux10.20
* | hpux11
*)
3599 lt_cv_file_magic_cmd
=/usr
/bin
/file
3602 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3603 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3606 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]'
3607 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3610 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3611 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3617 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3618 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3621 irix5
* | irix6
* | nonstopux
*)
3623 *-32|
*"-32 ") libmagic
=32-bit;;
3624 *-n32|
*"-n32 ") libmagic
=N32
;;
3625 *-64|
*"-64 ") libmagic
=64-bit;;
3626 *) libmagic
=never-match
;;
3628 lt_cv_deplibs_check_method
=pass_all
3631 # This must be Linux ELF.
3633 lt_cv_deplibs_check_method
=pass_all
3637 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3638 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3640 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3645 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3646 lt_cv_file_magic_cmd
=/usr
/bin
/file
3647 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3651 lt_cv_deplibs_check_method
=unknown
3655 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3656 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3658 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3662 osf3
* | osf4
* | osf5
*)
3663 lt_cv_deplibs_check_method
=pass_all
3667 lt_cv_deplibs_check_method
=pass_all
3671 case $host_vendor in
3673 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]'
3674 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3677 lt_cv_deplibs_check_method
=pass_all
3680 lt_cv_file_magic_cmd
='/bin/file'
3681 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3684 lt_cv_file_magic_cmd
='/bin/file'
3685 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3686 lt_cv_file_magic_test_file
=/lib
/libc.so
3689 lt_cv_deplibs_check_method
=pass_all
3692 lt_cv_deplibs_check_method
=pass_all
3697 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3698 lt_cv_deplibs_check_method
=pass_all
3703 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3704 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3705 file_magic_cmd
=$lt_cv_file_magic_cmd
3706 deplibs_check_method
=$lt_cv_deplibs_check_method
3707 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3712 # If no C compiler was specified, use CC.
3715 # If no C compiler flags were specified, use CFLAGS.
3716 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3718 # Allow CC to be a program name with arguments.
3722 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3723 if test "${enable_libtool_lock+set}" = set; then
3724 enableval
="$enable_libtool_lock"
3727 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3729 # Some flags need to be propagated to the compiler or linker for good
3733 # Find out which ABI we are using.
3734 echo 'int i;' > conftest.
$ac_ext
3735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3736 (eval $ac_compile) 2>&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); }; then
3740 case `/usr/bin/file conftest.$ac_objext` in
3752 # Find out which ABI we are using.
3753 echo '#line 3753 "configure"' > conftest.
$ac_ext
3754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3755 (eval $ac_compile) 2>&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }; then
3759 if test "$lt_cv_prog_gnu_ld" = yes; then
3760 case `/usr/bin/file conftest.$ac_objext` in
3762 LD
="${LD-ld} -melf32bsmip"
3765 LD
="${LD-ld} -melf32bmipn32"
3768 LD
="${LD-ld} -melf64bmip"
3772 case `/usr/bin/file conftest.$ac_objext` in
3788 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3789 # Find out which ABI we are using.
3790 echo 'int i;' > conftest.
$ac_ext
3791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3792 (eval $ac_compile) 2>&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; then
3796 case `/usr/bin/file conftest.o` in
3800 LD
="${LD-ld} -m elf_i386"
3802 ppc64-
*linux
*|powerpc64-
*linux
*)
3803 LD
="${LD-ld} -m elf32ppclinux"
3806 LD
="${LD-ld} -m elf_s390"
3809 LD
="${LD-ld} -m elf32_sparc"
3816 LD
="${LD-ld} -m elf_x86_64"
3818 ppc
*-*linux
*|powerpc
*-*linux
*)
3819 LD
="${LD-ld} -m elf64ppc"
3822 LD
="${LD-ld} -m elf64_s390"
3825 LD
="${LD-ld} -m elf64_sparc"
3835 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3836 SAVE_CFLAGS
="$CFLAGS"
3837 CFLAGS
="$CFLAGS -belf"
3838 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3839 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3840 if test "${lt_cv_cc_needs_belf+set}" = set; then
3841 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 ac_cpp
='$CPP $CPPFLAGS'
3845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3849 cat >conftest.
$ac_ext <<_ACEOF
3852 cat confdefs.h
>>conftest.
$ac_ext
3853 cat >>conftest.
$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3864 rm -f conftest.
$ac_objext conftest
$ac_exeext
3865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3866 (eval $ac_link) 2>conftest.er1
3868 grep -v '^ *+' conftest.er1
>conftest.err
3870 cat conftest.err
>&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); } &&
3873 { ac_try
='test -z "$ac_c_werror_flag"
3874 || test ! -s conftest.err'
3875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; } &&
3880 { ac_try
='test -s conftest$ac_exeext'
3881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); }; }; then
3886 lt_cv_cc_needs_belf
=yes
3888 echo "$as_me: failed program was:" >&5
3889 sed 's/^/| /' conftest.
$ac_ext >&5
3891 lt_cv_cc_needs_belf
=no
3893 rm -f conftest.err conftest.
$ac_objext \
3894 conftest
$ac_exeext conftest.
$ac_ext
3896 ac_cpp
='$CPP $CPPFLAGS'
3897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3902 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3903 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3904 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3905 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3906 CFLAGS
="$SAVE_CFLAGS"
3910 # Find out which ABI we are using.
3911 echo 'int i;' > conftest.
$ac_ext
3912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3913 (eval $ac_compile) 2>&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); }; then
3917 case `/usr/bin/file conftest.o` in
3919 case $lt_cv_prog_gnu_ld in
3920 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
3921 *) LD
="${LD-ld} -64" ;;
3932 need_locks
="$enable_libtool_lock"
3936 ac_cpp
='$CPP $CPPFLAGS'
3937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3940 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3941 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3942 # On Suns, sometimes $CPP names a directory.
3943 if test -n "$CPP" && test -d "$CPP"; then
3946 if test -z "$CPP"; then
3947 if test "${ac_cv_prog_CPP+set}" = set; then
3948 echo $ECHO_N "(cached) $ECHO_C" >&6
3950 # Double quotes because CPP needs to be expanded
3951 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3954 for ac_c_preproc_warn_flag
in '' yes
3956 # Use a header file that comes with gcc, so configuring glibc
3957 # with a fresh cross-compiler works.
3958 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3959 # <limits.h> exists even on freestanding compilers.
3960 # On the NeXT, cc -E runs the code through the compiler's parser,
3961 # not just through cpp. "Syntax error" is here to catch this case.
3962 cat >conftest.
$ac_ext <<_ACEOF
3965 cat confdefs.h
>>conftest.
$ac_ext
3966 cat >>conftest.
$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3969 # include <limits.h>
3971 # include <assert.h>
3975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3978 grep -v '^ *+' conftest.er1
>conftest.err
3980 cat conftest.err
>&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); } >/dev
/null
; then
3983 if test -s conftest.err
; then
3984 ac_cpp_err
=$ac_c_preproc_warn_flag
3985 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3992 if test -z "$ac_cpp_err"; then
3995 echo "$as_me: failed program was:" >&5
3996 sed 's/^/| /' conftest.
$ac_ext >&5
3998 # Broken: fails on valid input.
4001 rm -f conftest.err conftest.
$ac_ext
4003 # OK, works on sane cases. Now check whether non-existent headers
4004 # can be detected and how.
4005 cat >conftest.
$ac_ext <<_ACEOF
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4011 #include <ac_nonexistent.h>
4013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4014 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4016 grep -v '^ *+' conftest.er1
>conftest.err
4018 cat conftest.err
>&5
4019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020 (exit $ac_status); } >/dev
/null
; then
4021 if test -s conftest.err
; then
4022 ac_cpp_err
=$ac_c_preproc_warn_flag
4023 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4030 if test -z "$ac_cpp_err"; then
4031 # Broken: success on invalid input.
4034 echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.
$ac_ext >&5
4037 # Passes both tests.
4041 rm -f conftest.err conftest.
$ac_ext
4044 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4045 rm -f conftest.err conftest.
$ac_ext
4046 if $ac_preproc_ok; then
4058 echo "$as_me:$LINENO: result: $CPP" >&5
4059 echo "${ECHO_T}$CPP" >&6
4061 for ac_c_preproc_warn_flag
in '' yes
4063 # Use a header file that comes with gcc, so configuring glibc
4064 # with a fresh cross-compiler works.
4065 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4066 # <limits.h> exists even on freestanding compilers.
4067 # On the NeXT, cc -E runs the code through the compiler's parser,
4068 # not just through cpp. "Syntax error" is here to catch this case.
4069 cat >conftest.
$ac_ext <<_ACEOF
4072 cat confdefs.h
>>conftest.
$ac_ext
4073 cat >>conftest.
$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 # include <limits.h>
4078 # include <assert.h>
4082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4083 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4085 grep -v '^ *+' conftest.er1
>conftest.err
4087 cat conftest.err
>&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } >/dev
/null
; then
4090 if test -s conftest.err
; then
4091 ac_cpp_err
=$ac_c_preproc_warn_flag
4092 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4099 if test -z "$ac_cpp_err"; then
4102 echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.
$ac_ext >&5
4105 # Broken: fails on valid input.
4108 rm -f conftest.err conftest.
$ac_ext
4110 # OK, works on sane cases. Now check whether non-existent headers
4111 # can be detected and how.
4112 cat >conftest.
$ac_ext <<_ACEOF
4115 cat confdefs.h
>>conftest.
$ac_ext
4116 cat >>conftest.
$ac_ext <<_ACEOF
4117 /* end confdefs.h. */
4118 #include <ac_nonexistent.h>
4120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4121 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4123 grep -v '^ *+' conftest.er1
>conftest.err
4125 cat conftest.err
>&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } >/dev
/null
; then
4128 if test -s conftest.err
; then
4129 ac_cpp_err
=$ac_c_preproc_warn_flag
4130 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4137 if test -z "$ac_cpp_err"; then
4138 # Broken: success on invalid input.
4141 echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.
$ac_ext >&5
4144 # Passes both tests.
4148 rm -f conftest.err conftest.
$ac_ext
4151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4152 rm -f conftest.err conftest.
$ac_ext
4153 if $ac_preproc_ok; then
4156 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4157 See \`config.log' for more details." >&5
4158 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4159 See \`config.log' for more details." >&2;}
4160 { (exit 1); exit 1; }; }
4164 ac_cpp
='$CPP $CPPFLAGS'
4165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4170 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4171 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4172 if test "${ac_cv_header_stdc+set}" = set; then
4173 echo $ECHO_N "(cached) $ECHO_C" >&6
4175 cat >conftest.
$ac_ext <<_ACEOF
4178 cat confdefs.h
>>conftest.
$ac_ext
4179 cat >>conftest.
$ac_ext <<_ACEOF
4180 /* end confdefs.h. */
4194 rm -f conftest.
$ac_objext
4195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4196 (eval $ac_compile) 2>conftest.er1
4198 grep -v '^ *+' conftest.er1
>conftest.err
4200 cat conftest.err
>&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } &&
4203 { ac_try
='test -z "$ac_c_werror_flag"
4204 || test ! -s conftest.err'
4205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); }; } &&
4210 { ac_try
='test -s conftest.$ac_objext'
4211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); }; }; then
4216 ac_cv_header_stdc
=yes
4218 echo "$as_me: failed program was:" >&5
4219 sed 's/^/| /' conftest.
$ac_ext >&5
4221 ac_cv_header_stdc
=no
4223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4225 if test $ac_cv_header_stdc = yes; then
4226 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4227 cat >conftest.
$ac_ext <<_ACEOF
4230 cat confdefs.h
>>conftest.
$ac_ext
4231 cat >>conftest.
$ac_ext <<_ACEOF
4232 /* end confdefs.h. */
4236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4237 $EGREP "memchr" >/dev
/null
2>&1; then
4240 ac_cv_header_stdc
=no
4246 if test $ac_cv_header_stdc = yes; then
4247 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4248 cat >conftest.
$ac_ext <<_ACEOF
4251 cat confdefs.h
>>conftest.
$ac_ext
4252 cat >>conftest.
$ac_ext <<_ACEOF
4253 /* end confdefs.h. */
4257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4258 $EGREP "free" >/dev
/null
2>&1; then
4261 ac_cv_header_stdc
=no
4267 if test $ac_cv_header_stdc = yes; then
4268 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4269 if test "$cross_compiling" = yes; then
4272 cat >conftest.
$ac_ext <<_ACEOF
4275 cat confdefs.h
>>conftest.
$ac_ext
4276 cat >>conftest.
$ac_ext <<_ACEOF
4277 /* end confdefs.h. */
4279 #if ((' ' & 0x0FF) == 0x020)
4280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4283 # define ISLOWER(c) \
4284 (('a' <= (c) && (c) <= 'i') \
4285 || ('j' <= (c) && (c) <= 'r') \
4286 || ('s' <= (c) && (c) <= 'z'))
4287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4295 for (i = 0; i < 256; i++)
4296 if (XOR (islower (i), ISLOWER (i))
4297 || toupper (i) != TOUPPER (i))
4302 rm -f conftest
$ac_exeext
4303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4304 (eval $ac_link) 2>&5
4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; }; then
4315 echo "$as_me: program exited with status $ac_status" >&5
4316 echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.
$ac_ext >&5
4320 ac_cv_header_stdc
=no
4322 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4326 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4327 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4328 if test $ac_cv_header_stdc = yes; then
4330 cat >>confdefs.h
<<\_ACEOF
4331 #define STDC_HEADERS 1
4336 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4346 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4347 inttypes.h stdint.h unistd.h
4349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4350 echo "$as_me:$LINENO: checking for $ac_header" >&5
4351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 cat >conftest.
$ac_ext <<_ACEOF
4358 cat confdefs.h
>>conftest.
$ac_ext
4359 cat >>conftest.
$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4361 $ac_includes_default
4363 #include <$ac_header>
4365 rm -f conftest.
$ac_objext
4366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4367 (eval $ac_compile) 2>conftest.er1
4369 grep -v '^ *+' conftest.er1
>conftest.err
4371 cat conftest.err
>&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } &&
4374 { ac_try
='test -z "$ac_c_werror_flag"
4375 || test ! -s conftest.err'
4376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; } &&
4381 { ac_try
='test -s conftest.$ac_objext'
4382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); }; }; then
4387 eval "$as_ac_Header=yes"
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.
$ac_ext >&5
4392 eval "$as_ac_Header=no"
4394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4399 cat >>confdefs.h
<<_ACEOF
4400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4409 for ac_header
in dlfcn.h
4411 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4413 echo "$as_me:$LINENO: checking for $ac_header" >&5
4414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4421 # Is the header compilable?
4422 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4423 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4424 cat >conftest.
$ac_ext <<_ACEOF
4427 cat confdefs.h
>>conftest.
$ac_ext
4428 cat >>conftest.
$ac_ext <<_ACEOF
4429 /* end confdefs.h. */
4430 $ac_includes_default
4431 #include <$ac_header>
4433 rm -f conftest.
$ac_objext
4434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4435 (eval $ac_compile) 2>conftest.er1
4437 grep -v '^ *+' conftest.er1
>conftest.err
4439 cat conftest.err
>&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } &&
4442 { ac_try
='test -z "$ac_c_werror_flag"
4443 || test ! -s conftest.err'
4444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); }; } &&
4449 { ac_try
='test -s conftest.$ac_objext'
4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); }; }; then
4455 ac_header_compiler
=yes
4457 echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.
$ac_ext >&5
4460 ac_header_compiler
=no
4462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4463 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4464 echo "${ECHO_T}$ac_header_compiler" >&6
4466 # Is the header present?
4467 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4468 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4469 cat >conftest.
$ac_ext <<_ACEOF
4472 cat confdefs.h
>>conftest.
$ac_ext
4473 cat >>conftest.
$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4475 #include <$ac_header>
4477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4478 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4480 grep -v '^ *+' conftest.er1
>conftest.err
4482 cat conftest.err
>&5
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); } >/dev
/null
; then
4485 if test -s conftest.err
; then
4486 ac_cpp_err
=$ac_c_preproc_warn_flag
4487 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4494 if test -z "$ac_cpp_err"; then
4495 ac_header_preproc
=yes
4497 echo "$as_me: failed program was:" >&5
4498 sed 's/^/| /' conftest.
$ac_ext >&5
4500 ac_header_preproc
=no
4502 rm -f conftest.err conftest.
$ac_ext
4503 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4504 echo "${ECHO_T}$ac_header_preproc" >&6
4506 # So? What about this header?
4507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4509 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4510 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4512 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4513 ac_header_preproc
=yes
4516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4520 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4521 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4522 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4523 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4526 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4527 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4530 ## -------------------------------------------------- ##
4531 ## Report this to courier-users@lists.sourceforge.net ##
4532 ## -------------------------------------------------- ##
4535 sed "s/^/$as_me: WARNING: /" >&2
4538 echo "$as_me:$LINENO: checking for $ac_header" >&5
4539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 eval "$as_ac_Header=\$ac_header_preproc"
4545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4550 cat >>confdefs.h
<<_ACEOF
4551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4559 ac_cpp
='$CXXCPP $CPPFLAGS'
4560 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4561 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4562 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4563 if test -n "$ac_tool_prefix"; then
4564 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4566 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4567 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4568 echo "$as_me:$LINENO: checking for $ac_word" >&5
4569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4570 if test "${ac_cv_prog_CXX+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 if test -n "$CXX"; then
4574 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir
=.
4581 for ac_exec_ext
in '' $ac_executable_extensions; do
4582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4583 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4593 if test -n "$CXX"; then
4594 echo "$as_me:$LINENO: result: $CXX" >&5
4595 echo "${ECHO_T}$CXX" >&6
4597 echo "$as_me:$LINENO: result: no" >&5
4598 echo "${ECHO_T}no" >&6
4601 test -n "$CXX" && break
4604 if test -z "$CXX"; then
4606 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4608 # Extract the first word of "$ac_prog", so it can be a program name with args.
4609 set dummy
$ac_prog; ac_word
=$2
4610 echo "$as_me:$LINENO: checking for $ac_word" >&5
4611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4612 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 if test -n "$ac_ct_CXX"; then
4616 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir
=.
4623 for ac_exec_ext
in '' $ac_executable_extensions; do
4624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4635 if test -n "$ac_ct_CXX"; then
4636 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4637 echo "${ECHO_T}$ac_ct_CXX" >&6
4639 echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6
4643 test -n "$ac_ct_CXX" && break
4645 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4651 # Provide some information about the compiler.
4652 echo "$as_me:$LINENO:" \
4653 "checking for C++ compiler version" >&5
4654 ac_compiler
=`set X $ac_compile; echo $2`
4655 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4656 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }
4660 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4661 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); }
4665 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4666 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }
4671 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4672 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4673 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4674 echo $ECHO_N "(cached) $ECHO_C" >&6
4676 cat >conftest.
$ac_ext <<_ACEOF
4679 cat confdefs.h
>>conftest.
$ac_ext
4680 cat >>conftest.
$ac_ext <<_ACEOF
4681 /* end confdefs.h. */
4694 rm -f conftest.
$ac_objext
4695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4696 (eval $ac_compile) 2>conftest.er1
4698 grep -v '^ *+' conftest.er1
>conftest.err
4700 cat conftest.err
>&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); } &&
4703 { ac_try
='test -z "$ac_cxx_werror_flag"
4704 || test ! -s conftest.err'
4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }; } &&
4710 { ac_try
='test -s conftest.$ac_objext'
4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); }; }; then
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.
$ac_ext >&5
4723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4724 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4727 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4728 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4729 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4730 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4731 ac_save_CXXFLAGS
=$CXXFLAGS
4733 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4734 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4735 if test "${ac_cv_prog_cxx_g+set}" = set; then
4736 echo $ECHO_N "(cached) $ECHO_C" >&6
4738 cat >conftest.
$ac_ext <<_ACEOF
4741 cat confdefs.h
>>conftest.
$ac_ext
4742 cat >>conftest.
$ac_ext <<_ACEOF
4743 /* end confdefs.h. */
4753 rm -f conftest.
$ac_objext
4754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4755 (eval $ac_compile) 2>conftest.er1
4757 grep -v '^ *+' conftest.er1
>conftest.err
4759 cat conftest.err
>&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); } &&
4762 { ac_try
='test -z "$ac_cxx_werror_flag"
4763 || test ! -s conftest.err'
4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; } &&
4769 { ac_try
='test -s conftest.$ac_objext'
4770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); }; }; then
4775 ac_cv_prog_cxx_g
=yes
4777 echo "$as_me: failed program was:" >&5
4778 sed 's/^/| /' conftest.
$ac_ext >&5
4782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4784 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4785 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4786 if test "$ac_test_CXXFLAGS" = set; then
4787 CXXFLAGS
=$ac_save_CXXFLAGS
4788 elif test $ac_cv_prog_cxx_g = yes; then
4789 if test "$GXX" = yes; then
4795 if test "$GXX" = yes; then
4801 for ac_declaration
in \
4803 'extern "C" void std::exit (int) throw (); using std::exit;' \
4804 'extern "C" void std::exit (int); using std::exit;' \
4805 'extern "C" void exit (int) throw ();' \
4806 'extern "C" void exit (int);' \
4809 cat >conftest.
$ac_ext <<_ACEOF
4812 cat confdefs.h
>>conftest.
$ac_ext
4813 cat >>conftest.
$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4825 rm -f conftest.
$ac_objext
4826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4827 (eval $ac_compile) 2>conftest.er1
4829 grep -v '^ *+' conftest.er1
>conftest.err
4831 cat conftest.err
>&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } &&
4834 { ac_try
='test -z "$ac_cxx_werror_flag"
4835 || test ! -s conftest.err'
4836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840 (exit $ac_status); }; } &&
4841 { ac_try
='test -s conftest.$ac_objext'
4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }; }; then
4849 echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.
$ac_ext >&5
4854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4855 cat >conftest.
$ac_ext <<_ACEOF
4858 cat confdefs.h
>>conftest.
$ac_ext
4859 cat >>conftest.
$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4870 rm -f conftest.
$ac_objext
4871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4872 (eval $ac_compile) 2>conftest.er1
4874 grep -v '^ *+' conftest.er1
>conftest.err
4876 cat conftest.err
>&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); } &&
4879 { ac_try
='test -z "$ac_cxx_werror_flag"
4880 || test ! -s conftest.err'
4881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); }; } &&
4886 { ac_try
='test -s conftest.$ac_objext'
4887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); }; }; then
4894 echo "$as_me: failed program was:" >&5
4895 sed 's/^/| /' conftest.
$ac_ext >&5
4898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4901 if test -n "$ac_declaration"; then
4902 echo '#ifdef __cplusplus' >>confdefs.h
4903 echo $ac_declaration >>confdefs.h
4904 echo '#endif' >>confdefs.h
4908 ac_cpp
='$CXXCPP $CPPFLAGS'
4909 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4910 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4911 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4913 depcc
="$CXX" am_compiler_list
=
4915 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4916 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4917 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4918 echo $ECHO_N "(cached) $ECHO_C" >&6
4920 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4921 # We make a subdir and do the tests there. Otherwise we can end up
4922 # making bogus files that we don't know about and never remove. For
4923 # instance it was reported that on HP-UX the gcc test will end up
4924 # making a dummy file named `D' -- because `-MD' means `put the output
4927 # Copy depcomp to subdir because otherwise we won't find it if we're
4928 # using a relative directory.
4929 cp "$am_depcomp" conftest.dir
4931 # We will build objects and dependencies in a subdirectory because
4932 # it helps to detect inapplicable dependency modes. For instance
4933 # both Tru64's cc and ICC support -MD to output dependencies as a
4934 # side effect of compilation, but ICC will put the dependencies in
4935 # the current directory while Tru64 will put them in the object
4939 am_cv_CXX_dependencies_compiler_type
=none
4940 if test "$am_compiler_list" = ""; then
4941 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4943 for depmode
in $am_compiler_list; do
4944 # Setup a source with many dependencies, because some compilers
4945 # like to wrap large dependency lists on column 80 (with \), and
4946 # we should not choose a depcomp mode which is confused by this.
4948 # We need to recreate these files for each test, as the compiler may
4949 # overwrite some of them when testing with obscure command lines.
4950 # This happens at least with the AIX C compiler.
4952 for i
in 1 2 3 4 5 6; do
4953 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4954 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4955 # Solaris 8's {/usr,}/bin/sh.
4956 touch sub
/conftst
$i.h
4958 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4962 # after this tag, mechanisms are not by side-effect, so they'll
4963 # only be used when explicitly requested
4964 if test "x$enable_dependency_tracking" = xyes
; then
4972 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4973 # mode. It turns out that the SunPro C++ compiler does not properly
4974 # handle `-M -o', and we need to detect this.
4975 if depmode
=$depmode \
4976 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4977 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4978 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4979 >/dev
/null
2>conftest.err
&&
4980 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4981 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4982 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4983 # icc doesn't choke on unknown options, it will just issue warnings
4984 # or remarks (even with -Werror). So we grep stderr for any message
4985 # that says an option was ignored or not supported.
4986 # When given -MP, icc 7.0 and 7.1 complain thusly:
4987 # icc: Command line warning: ignoring option '-M'; no argument required
4988 # The diagnosis changed in icc 8.0:
4989 # icc: Command line remark: option '-MP' not supported
4990 if (grep 'ignoring option' conftest.err ||
4991 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4992 am_cv_CXX_dependencies_compiler_type
=$depmode
5001 am_cv_CXX_dependencies_compiler_type
=none
5005 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5006 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5007 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5012 test "x$enable_dependency_tracking" != xno \
5013 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5014 am__fastdepCXX_TRUE
=
5015 am__fastdepCXX_FALSE
='#'
5017 am__fastdepCXX_TRUE
='#'
5018 am__fastdepCXX_FALSE
=
5024 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5025 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5026 (test "X$CXX" != "Xg++"))) ; then
5028 ac_cpp
='$CXXCPP $CPPFLAGS'
5029 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5030 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5031 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5032 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5033 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5034 if test -z "$CXXCPP"; then
5035 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5036 echo $ECHO_N "(cached) $ECHO_C" >&6
5038 # Double quotes because CXXCPP needs to be expanded
5039 for CXXCPP
in "$CXX -E" "/lib/cpp"
5042 for ac_cxx_preproc_warn_flag
in '' yes
5044 # Use a header file that comes with gcc, so configuring glibc
5045 # with a fresh cross-compiler works.
5046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5047 # <limits.h> exists even on freestanding compilers.
5048 # On the NeXT, cc -E runs the code through the compiler's parser,
5049 # not just through cpp. "Syntax error" is here to catch this case.
5050 cat >conftest.
$ac_ext <<_ACEOF
5053 cat confdefs.h
>>conftest.
$ac_ext
5054 cat >>conftest.
$ac_ext <<_ACEOF
5055 /* end confdefs.h. */
5057 # include <limits.h>
5059 # include <assert.h>
5063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5064 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5066 grep -v '^ *+' conftest.er1
>conftest.err
5068 cat conftest.err
>&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } >/dev
/null
; then
5071 if test -s conftest.err
; then
5072 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5073 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5080 if test -z "$ac_cpp_err"; then
5083 echo "$as_me: failed program was:" >&5
5084 sed 's/^/| /' conftest.
$ac_ext >&5
5086 # Broken: fails on valid input.
5089 rm -f conftest.err conftest.
$ac_ext
5091 # OK, works on sane cases. Now check whether non-existent headers
5092 # can be detected and how.
5093 cat >conftest.
$ac_ext <<_ACEOF
5096 cat confdefs.h
>>conftest.
$ac_ext
5097 cat >>conftest.
$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5099 #include <ac_nonexistent.h>
5101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5104 grep -v '^ *+' conftest.er1
>conftest.err
5106 cat conftest.err
>&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); } >/dev
/null
; then
5109 if test -s conftest.err
; then
5110 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5111 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5118 if test -z "$ac_cpp_err"; then
5119 # Broken: success on invalid input.
5122 echo "$as_me: failed program was:" >&5
5123 sed 's/^/| /' conftest.
$ac_ext >&5
5125 # Passes both tests.
5129 rm -f conftest.err conftest.
$ac_ext
5132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5133 rm -f conftest.err conftest.
$ac_ext
5134 if $ac_preproc_ok; then
5139 ac_cv_prog_CXXCPP
=$CXXCPP
5142 CXXCPP
=$ac_cv_prog_CXXCPP
5144 ac_cv_prog_CXXCPP
=$CXXCPP
5146 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5147 echo "${ECHO_T}$CXXCPP" >&6
5149 for ac_cxx_preproc_warn_flag
in '' yes
5151 # Use a header file that comes with gcc, so configuring glibc
5152 # with a fresh cross-compiler works.
5153 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5154 # <limits.h> exists even on freestanding compilers.
5155 # On the NeXT, cc -E runs the code through the compiler's parser,
5156 # not just through cpp. "Syntax error" is here to catch this case.
5157 cat >conftest.
$ac_ext <<_ACEOF
5160 cat confdefs.h
>>conftest.
$ac_ext
5161 cat >>conftest.
$ac_ext <<_ACEOF
5162 /* end confdefs.h. */
5164 # include <limits.h>
5166 # include <assert.h>
5170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5171 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5173 grep -v '^ *+' conftest.er1
>conftest.err
5175 cat conftest.err
>&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); } >/dev
/null
; then
5178 if test -s conftest.err
; then
5179 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5180 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5187 if test -z "$ac_cpp_err"; then
5190 echo "$as_me: failed program was:" >&5
5191 sed 's/^/| /' conftest.
$ac_ext >&5
5193 # Broken: fails on valid input.
5196 rm -f conftest.err conftest.
$ac_ext
5198 # OK, works on sane cases. Now check whether non-existent headers
5199 # can be detected and how.
5200 cat >conftest.
$ac_ext <<_ACEOF
5203 cat confdefs.h
>>conftest.
$ac_ext
5204 cat >>conftest.
$ac_ext <<_ACEOF
5205 /* end confdefs.h. */
5206 #include <ac_nonexistent.h>
5208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5209 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5211 grep -v '^ *+' conftest.er1
>conftest.err
5213 cat conftest.err
>&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); } >/dev
/null
; then
5216 if test -s conftest.err
; then
5217 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5218 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5225 if test -z "$ac_cpp_err"; then
5226 # Broken: success on invalid input.
5229 echo "$as_me: failed program was:" >&5
5230 sed 's/^/| /' conftest.
$ac_ext >&5
5232 # Passes both tests.
5236 rm -f conftest.err conftest.
$ac_ext
5239 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5240 rm -f conftest.err conftest.
$ac_ext
5241 if $ac_preproc_ok; then
5244 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5245 See \`config.log' for more details." >&5
5246 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5247 See \`config.log' for more details." >&2;}
5248 { (exit 1); exit 1; }; }
5252 ac_cpp
='$CXXCPP $CPPFLAGS'
5253 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5254 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5255 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5261 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5262 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5263 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5264 if test -n "$ac_tool_prefix"; then
5265 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5268 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5269 echo "$as_me:$LINENO: checking for $ac_word" >&5
5270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5271 if test "${ac_cv_prog_F77+set}" = set; then
5272 echo $ECHO_N "(cached) $ECHO_C" >&6
5274 if test -n "$F77"; then
5275 ac_cv_prog_F77
="$F77" # Let the user override the test.
5277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5281 test -z "$as_dir" && as_dir
=.
5282 for ac_exec_ext
in '' $ac_executable_extensions; do
5283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5284 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 if test -n "$F77"; then
5295 echo "$as_me:$LINENO: result: $F77" >&5
5296 echo "${ECHO_T}$F77" >&6
5298 echo "$as_me:$LINENO: result: no" >&5
5299 echo "${ECHO_T}no" >&6
5302 test -n "$F77" && break
5305 if test -z "$F77"; then
5307 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5309 # Extract the first word of "$ac_prog", so it can be a program name with args.
5310 set dummy
$ac_prog; ac_word
=$2
5311 echo "$as_me:$LINENO: checking for $ac_word" >&5
5312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5313 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5314 echo $ECHO_N "(cached) $ECHO_C" >&6
5316 if test -n "$ac_ct_F77"; then
5317 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5323 test -z "$as_dir" && as_dir
=.
5324 for ac_exec_ext
in '' $ac_executable_extensions; do
5325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5326 ac_cv_prog_ac_ct_F77
="$ac_prog"
5327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5336 if test -n "$ac_ct_F77"; then
5337 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5338 echo "${ECHO_T}$ac_ct_F77" >&6
5340 echo "$as_me:$LINENO: result: no" >&5
5341 echo "${ECHO_T}no" >&6
5344 test -n "$ac_ct_F77" && break
5351 # Provide some information about the compiler.
5352 echo "$as_me:5352:" \
5353 "checking for Fortran 77 compiler version" >&5
5354 ac_compiler
=`set X $ac_compile; echo $2`
5355 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5356 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); }
5360 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5361 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364 (exit $ac_status); }
5365 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5366 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); }
5372 # If we don't use `.F' as extension, the preprocessor is not run on the
5373 # input file. (Note that this only needs to work for GNU compilers.)
5376 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5377 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5378 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5379 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 cat >conftest.
$ac_ext <<_ACEOF
5389 rm -f conftest.
$ac_objext
5390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5391 (eval $ac_compile) 2>conftest.er1
5393 grep -v '^ *+' conftest.er1
>conftest.err
5395 cat conftest.err
>&5
5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397 (exit $ac_status); } &&
5398 { ac_try
='test -z "$ac_f77_werror_flag"
5399 || test ! -s conftest.err'
5400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); }; } &&
5405 { ac_try
='test -s conftest.$ac_objext'
5406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); }; }; then
5413 echo "$as_me: failed program was:" >&5
5414 sed 's/^/| /' conftest.
$ac_ext >&5
5418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5419 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5422 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5423 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5425 ac_test_FFLAGS
=${FFLAGS+set}
5426 ac_save_FFLAGS
=$FFLAGS
5428 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5429 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5430 if test "${ac_cv_prog_f77_g+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5434 cat >conftest.
$ac_ext <<_ACEOF
5439 rm -f conftest.
$ac_objext
5440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5441 (eval $ac_compile) 2>conftest.er1
5443 grep -v '^ *+' conftest.er1
>conftest.err
5445 cat conftest.err
>&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); } &&
5448 { ac_try
='test -z "$ac_f77_werror_flag"
5449 || test ! -s conftest.err'
5450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); }; } &&
5455 { ac_try
='test -s conftest.$ac_objext'
5456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 (exit $ac_status); }; }; then
5461 ac_cv_prog_f77_g
=yes
5463 echo "$as_me: failed program was:" >&5
5464 sed 's/^/| /' conftest.
$ac_ext >&5
5468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5471 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5472 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5473 if test "$ac_test_FFLAGS" = set; then
5474 FFLAGS
=$ac_save_FFLAGS
5475 elif test $ac_cv_prog_f77_g = yes; then
5476 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5482 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5489 G77
=`test $ac_compiler_gnu = yes && echo yes`
5491 ac_cpp
='$CPP $CPPFLAGS'
5492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5498 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5500 # find the maximum length of command line arguments
5501 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5502 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5503 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5504 echo $ECHO_N "(cached) $ECHO_C" >&6
5511 # On DJGPP, this test can blow up pretty badly due to problems in libc
5512 # (any single argument exceeding 2000 bytes causes a buffer overrun
5513 # during glob expansion). Even if it were fixed, the result of this
5514 # check would be larger than it should be.
5515 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5519 # Under GNU Hurd, this test is not required because there is
5520 # no limit to the length of command line arguments.
5521 # Libtool will interpret -1 as no limit whatsoever
5522 lt_cv_sys_max_cmd_len
=-1;
5526 # On Win9x/ME, this test blows up -- it succeeds, but takes
5527 # about 5 minutes as the teststring grows exponentially.
5528 # Worse, since 9x/ME are not pre-emptively multitasking,
5529 # you end up with a "frozen" computer, even though with patience
5530 # the test eventually succeeds (with a max line length of 256k).
5531 # Instead, let's just punt: use the minimum linelength reported by
5532 # all of the supported platforms: 8192 (on NT/2K/XP).
5533 lt_cv_sys_max_cmd_len
=8192;
5537 # On AmigaOS with pdksh, this test takes hours, literally.
5538 # So we just punt and use a minimum line length of 8192.
5539 lt_cv_sys_max_cmd_len
=8192;
5542 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5543 # This has been around since 386BSD, at least. Likely further.
5544 if test -x /sbin
/sysctl
; then
5545 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5546 elif test -x /usr
/sbin
/sysctl
; then
5547 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5549 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5551 # And add a safety zone
5552 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5553 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5557 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5558 lt_cv_sys_max_cmd_len
=196608
5562 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5563 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5564 # nice to cause kernel panics so lets avoid the loop below.
5565 # First set a reasonable default.
5566 lt_cv_sys_max_cmd_len
=16384
5568 if test -x /sbin
/sysconfig
; then
5569 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5570 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5575 lt_cv_sys_max_cmd_len
=102400
5577 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5578 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5579 if test -n "$kargmax"; then
5580 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5582 lt_cv_sys_max_cmd_len
=32768
5586 # If test is not a shell built-in, we'll probably end up computing a
5587 # maximum length that is only half of the actual maximum length, but
5589 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5590 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5591 = "XX$teststring") >/dev
/null
2>&1 &&
5592 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5593 lt_cv_sys_max_cmd_len
=$new_result &&
5594 test $i != 17 # 1/2 MB should be enough
5597 teststring
=$teststring$teststring
5600 # Add a significant safety factor because C++ compilers can tack on massive
5601 # amounts of additional arguments before passing them to the linker.
5602 # It appears as though 1/2 is a usable value.
5603 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5609 if test -n $lt_cv_sys_max_cmd_len ; then
5610 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5611 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5613 echo "$as_me:$LINENO: result: none" >&5
5614 echo "${ECHO_T}none" >&6
5620 # Check for command to grab the raw symbol name followed by C symbol from nm.
5621 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5622 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5623 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5624 echo $ECHO_N "(cached) $ECHO_C" >&6
5627 # These are sane defaults that work on at least a few old systems.
5628 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5630 # Character class describing NM global symbol codes.
5631 symcode
='[BCDEGRST]'
5633 # Regexp to match symbols that can be accessed directly from C.
5634 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5636 # Transform an extracted symbol line into a proper C declaration
5637 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5639 # Transform an extracted symbol line into symbol name and symbol address
5640 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'"
5642 # Define system-specific variables.
5647 cygwin
* | mingw
* | pw32
*)
5648 symcode
='[ABCDGISTW]'
5650 hpux
*) # Its linker distinguishes data from code symbols
5651 if test "$host_cpu" = ia64
; then
5652 symcode
='[ABCDEGRST]'
5654 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5655 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'"
5658 if test "$host_cpu" = ia64
; then
5659 symcode
='[ABCDGIRSTW]'
5660 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5661 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'"
5665 symcode
='[BCDEGRST]'
5668 symcode
='[BCDEGQRST]'
5679 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5687 # Handle CRLF in mingw tool chain
5691 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5695 # If we're using GNU nm, then use its standard symbol codes.
5696 case `$NM -V 2>&1` in
5697 *GNU
* |
*'with BFD'*)
5698 symcode
='[ABCDGIRSTW]' ;;
5701 # Try without a prefix undercore, then with it.
5702 for ac_symprfx
in "" "_"; do
5704 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5705 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5707 # Write the raw and C identifiers.
5708 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5710 # Check to see that the pipe works correctly.
5714 cat > conftest.
$ac_ext <<EOF
5719 void nm_test_func(){}
5723 int main(){nm_test_var='a';nm_test_func();return(0);}
5726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5727 (eval $ac_compile) 2>&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); }; then
5731 # Now try to grab the symbols.
5733 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5734 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); } && test -s "$nlist"; then
5738 # Try sorting and uniquifying the output.
5739 if sort "$nlist" |
uniq > "$nlist"T
; then
5740 mv -f "$nlist"T
"$nlist"
5745 # Make sure that we snagged all the symbols we need.
5746 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5747 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5748 cat <<EOF > conftest.$ac_ext
5754 # Now generate the symbol file.
5755 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5757 cat <<EOF >> conftest.$ac_ext
5758 #if defined (__STDC__) && __STDC__
5759 # define lt_ptr_t void *
5761 # define lt_ptr_t char *
5765 /* The mapping between symbol names and symbols. */
5770 lt_preloaded_symbols[] =
5773 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5774 cat <<\EOF
>> conftest.
$ac_ext
5782 # Now try linking the two files.
5783 mv conftest.
$ac_objext conftstm.
$ac_objext
5784 lt_save_LIBS
="$LIBS"
5785 lt_save_CFLAGS
="$CFLAGS"
5786 LIBS
="conftstm.$ac_objext"
5787 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5789 (eval $ac_link) 2>&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5795 LIBS
="$lt_save_LIBS"
5796 CFLAGS
="$lt_save_CFLAGS"
5798 echo "cannot find nm_test_func in $nlist" >&5
5801 echo "cannot find nm_test_var in $nlist" >&5
5804 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5807 echo "$progname: failed program was:" >&5
5808 cat conftest.
$ac_ext >&5
5810 rm -f conftest
* conftst
*
5812 # Do not use the global_symbol_pipe unless it works.
5813 if test "$pipe_works" = yes; then
5816 lt_cv_sys_global_symbol_pipe
=
5822 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5823 lt_cv_sys_global_symbol_to_cdecl
=
5825 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5826 echo "$as_me:$LINENO: result: failed" >&5
5827 echo "${ECHO_T}failed" >&6
5829 echo "$as_me:$LINENO: result: ok" >&5
5830 echo "${ECHO_T}ok" >&6
5833 echo "$as_me:$LINENO: checking for objdir" >&5
5834 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5835 if test "${lt_cv_objdir+set}" = set; then
5836 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 rm -f .libs
2>/dev
/null
5839 mkdir .libs
2>/dev
/null
5840 if test -d .libs
; then
5843 # MS-DOS does not allow filenames that begin with a dot.
5846 rmdir .libs
2>/dev
/null
5848 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5849 echo "${ECHO_T}$lt_cv_objdir" >&6
5850 objdir
=$lt_cv_objdir
5858 # AIX sometimes has problems with the GCC collect2 program. For some
5859 # reason, if we set the COLLECT_NAMES environment variable, the problems
5860 # vanish in a puff of smoke.
5861 if test "X${COLLECT_NAMES+set}" != Xset
; then
5863 export COLLECT_NAMES
5868 # Sed substitution that helps us do robust quoting. It backslashifies
5869 # metacharacters that are still active within double-quoted strings.
5870 Xsed
='sed -e 1s/^X//'
5871 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5873 # Same as above, but do not quote variable references.
5874 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5876 # Sed substitution to delay expansion of an escaped shell variable in a
5877 # double_quote_subst'ed string.
5878 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5880 # Sed substitution to avoid accidental globbing in evaled expressions
5881 no_glob_subst
='s/\*/\\\*/g'
5887 default_ofile
=libtool
5888 can_build_shared
=yes
5890 # All known linkers require a `.a' archive for static linking (except MSVC,
5891 # which needs '.lib').
5893 ltmain
="$ac_aux_dir/ltmain.sh"
5894 ofile
="$default_ofile"
5895 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5897 if test -n "$ac_tool_prefix"; then
5898 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5899 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5900 echo "$as_me:$LINENO: checking for $ac_word" >&5
5901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5902 if test "${ac_cv_prog_AR+set}" = set; then
5903 echo $ECHO_N "(cached) $ECHO_C" >&6
5905 if test -n "$AR"; then
5906 ac_cv_prog_AR
="$AR" # Let the user override the test.
5908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5912 test -z "$as_dir" && as_dir
=.
5913 for ac_exec_ext
in '' $ac_executable_extensions; do
5914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5925 if test -n "$AR"; then
5926 echo "$as_me:$LINENO: result: $AR" >&5
5927 echo "${ECHO_T}$AR" >&6
5929 echo "$as_me:$LINENO: result: no" >&5
5930 echo "${ECHO_T}no" >&6
5934 if test -z "$ac_cv_prog_AR"; then
5936 # Extract the first word of "ar", so it can be a program name with args.
5937 set dummy
ar; ac_word
=$2
5938 echo "$as_me:$LINENO: checking for $ac_word" >&5
5939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5940 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5941 echo $ECHO_N "(cached) $ECHO_C" >&6
5943 if test -n "$ac_ct_AR"; then
5944 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5950 test -z "$as_dir" && as_dir
=.
5951 for ac_exec_ext
in '' $ac_executable_extensions; do
5952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5953 ac_cv_prog_ac_ct_AR
="ar"
5954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
5963 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5964 if test -n "$ac_ct_AR"; then
5965 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5966 echo "${ECHO_T}$ac_ct_AR" >&6
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5977 if test -n "$ac_tool_prefix"; then
5978 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5979 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5980 echo "$as_me:$LINENO: checking for $ac_word" >&5
5981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5982 if test "${ac_cv_prog_RANLIB+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 if test -n "$RANLIB"; then
5986 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5992 test -z "$as_dir" && as_dir
=.
5993 for ac_exec_ext
in '' $ac_executable_extensions; do
5994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6004 RANLIB
=$ac_cv_prog_RANLIB
6005 if test -n "$RANLIB"; then
6006 echo "$as_me:$LINENO: result: $RANLIB" >&5
6007 echo "${ECHO_T}$RANLIB" >&6
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6014 if test -z "$ac_cv_prog_RANLIB"; then
6015 ac_ct_RANLIB
=$RANLIB
6016 # Extract the first word of "ranlib", so it can be a program name with args.
6017 set dummy ranlib
; ac_word
=$2
6018 echo "$as_me:$LINENO: checking for $ac_word" >&5
6019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6020 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 if test -n "$ac_ct_RANLIB"; then
6024 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6030 test -z "$as_dir" && as_dir
=.
6031 for ac_exec_ext
in '' $ac_executable_extensions; do
6032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6033 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6040 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6043 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6044 if test -n "$ac_ct_RANLIB"; then
6045 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6046 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6048 echo "$as_me:$LINENO: result: no" >&5
6049 echo "${ECHO_T}no" >&6
6052 RANLIB
=$ac_ct_RANLIB
6054 RANLIB
="$ac_cv_prog_RANLIB"
6057 if test -n "$ac_tool_prefix"; then
6058 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6059 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6060 echo "$as_me:$LINENO: checking for $ac_word" >&5
6061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6062 if test "${ac_cv_prog_STRIP+set}" = set; then
6063 echo $ECHO_N "(cached) $ECHO_C" >&6
6065 if test -n "$STRIP"; then
6066 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6072 test -z "$as_dir" && as_dir
=.
6073 for ac_exec_ext
in '' $ac_executable_extensions; do
6074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 STRIP
=$ac_cv_prog_STRIP
6085 if test -n "$STRIP"; then
6086 echo "$as_me:$LINENO: result: $STRIP" >&5
6087 echo "${ECHO_T}$STRIP" >&6
6089 echo "$as_me:$LINENO: result: no" >&5
6090 echo "${ECHO_T}no" >&6
6094 if test -z "$ac_cv_prog_STRIP"; then
6096 # Extract the first word of "strip", so it can be a program name with args.
6097 set dummy strip
; ac_word
=$2
6098 echo "$as_me:$LINENO: checking for $ac_word" >&5
6099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6100 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6101 echo $ECHO_N "(cached) $ECHO_C" >&6
6103 if test -n "$ac_ct_STRIP"; then
6104 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6110 test -z "$as_dir" && as_dir
=.
6111 for ac_exec_ext
in '' $ac_executable_extensions; do
6112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_ac_ct_STRIP
="strip"
6114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6123 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6124 if test -n "$ac_ct_STRIP"; then
6125 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6126 echo "${ECHO_T}$ac_ct_STRIP" >&6
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6134 STRIP
="$ac_cv_prog_STRIP"
6139 old_CFLAGS
="$CFLAGS"
6141 # Set sane defaults for various variables
6142 test -z "$AR" && AR
=ar
6143 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6144 test -z "$AS" && AS
=as
6145 test -z "$CC" && CC
=cc
6146 test -z "$LTCC" && LTCC
=$CC
6147 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6148 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6149 test -z "$LD" && LD
=ld
6150 test -z "$LN_S" && LN_S
="ln -s"
6151 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6152 test -z "$NM" && NM
=nm
6153 test -z "$SED" && SED
=sed
6154 test -z "$OBJDUMP" && OBJDUMP
=objdump
6155 test -z "$RANLIB" && RANLIB
=:
6156 test -z "$STRIP" && STRIP
=:
6157 test -z "$ac_objext" && ac_objext
=o
6159 # Determine commands to create old-style static archives.
6160 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6161 old_postinstall_cmds
='chmod 644 $oldlib'
6162 old_postuninstall_cmds
=
6164 if test -n "$RANLIB"; then
6167 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6170 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6173 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6176 for cc_temp
in $compiler""; do
6178 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6179 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6184 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6187 # Only perform the check for file, if the check method requires it
6188 case $deplibs_check_method in
6190 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6191 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6192 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6193 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6194 echo $ECHO_N "(cached) $ECHO_C" >&6
6198 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6201 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6202 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6203 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6204 for ac_dir
in $ac_dummy; do
6206 test -z "$ac_dir" && ac_dir
=.
6207 if test -f $ac_dir/${ac_tool_prefix}file; then
6208 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6209 if test -n "$file_magic_test_file"; then
6210 case $deplibs_check_method in
6212 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6213 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6214 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6215 $EGREP "$file_magic_regex" > /dev
/null
; then
6220 *** Warning: the command libtool uses to detect shared libraries,
6221 *** $file_magic_cmd, produces output that libtool cannot recognize.
6222 *** The result is that libtool may fail to recognize shared libraries
6223 *** as such. This will affect the creation of libtool libraries that
6224 *** depend on shared libraries, but programs linked with such libtool
6225 *** libraries will work regardless of this problem. Nevertheless, you
6226 *** may want to report the problem to your system manager and/or to
6227 *** bug-libtool@gnu.org
6237 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6242 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6243 if test -n "$MAGIC_CMD"; then
6244 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6245 echo "${ECHO_T}$MAGIC_CMD" >&6
6247 echo "$as_me:$LINENO: result: no" >&5
6248 echo "${ECHO_T}no" >&6
6251 if test -z "$lt_cv_path_MAGIC_CMD"; then
6252 if test -n "$ac_tool_prefix"; then
6253 echo "$as_me:$LINENO: checking for file" >&5
6254 echo $ECHO_N "checking for file... $ECHO_C" >&6
6255 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6256 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6263 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6264 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6265 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6266 for ac_dir
in $ac_dummy; do
6268 test -z "$ac_dir" && ac_dir
=.
6269 if test -f $ac_dir/file; then
6270 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6271 if test -n "$file_magic_test_file"; then
6272 case $deplibs_check_method in
6274 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6275 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6276 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6277 $EGREP "$file_magic_regex" > /dev
/null
; then
6282 *** Warning: the command libtool uses to detect shared libraries,
6283 *** $file_magic_cmd, produces output that libtool cannot recognize.
6284 *** The result is that libtool may fail to recognize shared libraries
6285 *** as such. This will affect the creation of libtool libraries that
6286 *** depend on shared libraries, but programs linked with such libtool
6287 *** libraries will work regardless of this problem. Nevertheless, you
6288 *** may want to report the problem to your system manager and/or to
6289 *** bug-libtool@gnu.org
6299 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6304 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6305 if test -n "$MAGIC_CMD"; then
6306 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6307 echo "${ECHO_T}$MAGIC_CMD" >&6
6309 echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6
6325 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6326 if test "${enable_libtool_lock+set}" = set; then
6327 enableval
="$enable_libtool_lock"
6330 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6333 # Check whether --with-pic or --without-pic was given.
6334 if test "${with_pic+set}" = set; then
6340 test -z "$pic_mode" && pic_mode
=default
6342 # Use C for the default configuration in the libtool script
6346 ac_cpp
='$CPP $CPPFLAGS'
6347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6352 # Source file extension for C test sources.
6355 # Object file extension for compiled C test sources.
6359 # Code to be used in simple compile tests
6360 lt_simple_compile_test_code
="int some_variable = 0;\n"
6362 # Code to be used in simple link tests
6363 lt_simple_link_test_code
='int main(){return(0);}\n'
6366 # If no C compiler was specified, use CC.
6369 # If no C compiler flags were specified, use CFLAGS.
6370 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6372 # Allow CC to be a program name with arguments.
6376 # save warnings/boilerplate of simple test code
6377 ac_outfile
=conftest.
$ac_objext
6378 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6379 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6380 _lt_compiler_boilerplate
=`cat conftest.err`
6383 ac_outfile
=conftest.
$ac_objext
6384 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6385 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6386 _lt_linker_boilerplate
=`cat conftest.err`
6391 lt_prog_compiler_no_builtin_flag
=
6393 if test "$GCC" = yes; then
6394 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6397 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6398 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6399 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6400 echo $ECHO_N "(cached) $ECHO_C" >&6
6402 lt_cv_prog_compiler_rtti_exceptions
=no
6403 ac_outfile
=conftest.
$ac_objext
6404 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6405 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6406 # Insert the option either (1) after the last *FLAGS variable, or
6407 # (2) before a word containing "conftest.", or (3) at the end.
6408 # Note that $ac_compile itself does not contain backslashes and begins
6409 # with a dollar sign (not a hyphen), so the echo should work correctly.
6410 # The option is referenced via a variable to avoid confusing sed.
6411 lt_compile
=`echo "$ac_compile" | $SED \
6412 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6413 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6414 -e 's:$: $lt_compiler_flag:'`
6415 (eval echo "\"\$as_me:6415: $lt_compile\"" >&5)
6416 (eval "$lt_compile" 2>conftest.err
)
6418 cat conftest.err
>&5
6419 echo "$as_me:6419: \$? = $ac_status" >&5
6420 if (exit $ac_status) && test -s "$ac_outfile"; then
6421 # The compiler can only warn and ignore the option if not recognized
6422 # So say no if there are warnings other than the usual output.
6423 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6424 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6425 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6426 lt_cv_prog_compiler_rtti_exceptions
=yes
6432 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6433 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6435 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6436 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6443 lt_prog_compiler_wl
=
6444 lt_prog_compiler_pic
=
6445 lt_prog_compiler_static
=
6447 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6448 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6450 if test "$GCC" = yes; then
6451 lt_prog_compiler_wl
='-Wl,'
6452 lt_prog_compiler_static
='-static'
6456 # All AIX code is PIC.
6457 if test "$host_cpu" = ia64
; then
6458 # AIX 5 now supports IA64 processor
6459 lt_prog_compiler_static
='-Bstatic'
6464 # FIXME: we need at least 68020 code to build shared libraries, but
6465 # adding the `-m68020' flag to GCC prevents building anything better,
6467 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6470 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6471 # PIC is the default for these OSes.
6474 mingw
* | pw32
* | os2
*)
6475 # This hack is so that the source file can tell whether it is being
6476 # built for inclusion in a dll (and should export symbols for example).
6477 lt_prog_compiler_pic
='-DDLL_EXPORT'
6480 darwin
* | rhapsody
*)
6481 # PIC is the default on this platform
6482 # Common symbols not allowed in MH_DYLIB files
6483 lt_prog_compiler_pic
='-fno-common'
6487 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6488 # Instead, we relocate shared libraries at runtime.
6492 # Just because we use GCC doesn't mean we suddenly get shared libraries
6493 # on systems that don't support them.
6494 lt_prog_compiler_can_build_shared
=no
6499 if test -d /usr
/nec
; then
6500 lt_prog_compiler_pic
=-Kconform_pic
6505 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6512 lt_prog_compiler_pic
='-fPIC'
6518 lt_prog_compiler_pic
='-fPIC'
6522 # PORTME Check for flag to pass linker flags through the system compiler.
6525 lt_prog_compiler_wl
='-Wl,'
6526 if test "$host_cpu" = ia64
; then
6527 # AIX 5 now supports IA64 processor
6528 lt_prog_compiler_static
='-Bstatic'
6530 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6534 # PIC is the default on this platform
6535 # Common symbols not allowed in MH_DYLIB files
6536 case $cc_basename in
6538 lt_prog_compiler_pic
='-qnocommon'
6539 lt_prog_compiler_wl
='-Wl,'
6544 mingw
* | pw32
* | os2
*)
6545 # This hack is so that the source file can tell whether it is being
6546 # built for inclusion in a dll (and should export symbols for example).
6547 lt_prog_compiler_pic
='-DDLL_EXPORT'
6550 hpux9
* | hpux10
* | hpux11
*)
6551 lt_prog_compiler_wl
='-Wl,'
6552 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6559 lt_prog_compiler_pic
='+Z'
6562 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6563 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6566 irix5
* | irix6
* | nonstopux
*)
6567 lt_prog_compiler_wl
='-Wl,'
6568 # PIC (with -KPIC) is the default.
6569 lt_prog_compiler_static
='-non_shared'
6573 lt_prog_compiler_pic
='-KPIC'
6574 lt_prog_compiler_static
='-Bstatic'
6578 case $cc_basename in
6580 lt_prog_compiler_wl
='-Wl,'
6581 lt_prog_compiler_pic
='-KPIC'
6582 lt_prog_compiler_static
='-static'
6584 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6585 # Portland Group compilers (*not* the Pentium gcc compiler,
6586 # which looks to be a dead project)
6587 lt_prog_compiler_wl
='-Wl,'
6588 lt_prog_compiler_pic
='-fpic'
6589 lt_prog_compiler_static
='-Bstatic'
6592 lt_prog_compiler_wl
='-Wl,'
6593 # All Alpha code is PIC.
6594 lt_prog_compiler_static
='-non_shared'
6599 osf3
* | osf4
* | osf5
*)
6600 lt_prog_compiler_wl
='-Wl,'
6601 # All OSF/1 code is PIC.
6602 lt_prog_compiler_static
='-non_shared'
6606 lt_prog_compiler_pic
='-KPIC'
6607 lt_prog_compiler_static
='-Bstatic'
6608 case $cc_basename in
6610 lt_prog_compiler_wl
='-Qoption ld ';;
6612 lt_prog_compiler_wl
='-Wl,';;
6617 lt_prog_compiler_wl
='-Qoption ld '
6618 lt_prog_compiler_pic
='-PIC'
6619 lt_prog_compiler_static
='-Bstatic'
6622 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6623 lt_prog_compiler_wl
='-Wl,'
6624 lt_prog_compiler_pic
='-KPIC'
6625 lt_prog_compiler_static
='-Bstatic'
6629 if test -d /usr
/nec
;then
6630 lt_prog_compiler_pic
='-Kconform_pic'
6631 lt_prog_compiler_static
='-Bstatic'
6635 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6636 lt_prog_compiler_wl
='-Wl,'
6637 lt_prog_compiler_pic
='-KPIC'
6638 lt_prog_compiler_static
='-Bstatic'
6642 lt_prog_compiler_wl
='-Wl,'
6643 lt_prog_compiler_can_build_shared
=no
6647 lt_prog_compiler_pic
='-pic'
6648 lt_prog_compiler_static
='-Bstatic'
6652 lt_prog_compiler_can_build_shared
=no
6657 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6658 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6661 # Check to make sure the PIC flag actually works.
6663 if test -n "$lt_prog_compiler_pic"; then
6665 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6666 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6667 if test "${lt_prog_compiler_pic_works+set}" = set; then
6668 echo $ECHO_N "(cached) $ECHO_C" >&6
6670 lt_prog_compiler_pic_works
=no
6671 ac_outfile
=conftest.
$ac_objext
6672 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6673 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6674 # Insert the option either (1) after the last *FLAGS variable, or
6675 # (2) before a word containing "conftest.", or (3) at the end.
6676 # Note that $ac_compile itself does not contain backslashes and begins
6677 # with a dollar sign (not a hyphen), so the echo should work correctly.
6678 # The option is referenced via a variable to avoid confusing sed.
6679 lt_compile
=`echo "$ac_compile" | $SED \
6680 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6681 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6682 -e 's:$: $lt_compiler_flag:'`
6683 (eval echo "\"\$as_me:6683: $lt_compile\"" >&5)
6684 (eval "$lt_compile" 2>conftest.err
)
6686 cat conftest.err
>&5
6687 echo "$as_me:6687: \$? = $ac_status" >&5
6688 if (exit $ac_status) && test -s "$ac_outfile"; then
6689 # The compiler can only warn and ignore the option if not recognized
6690 # So say no if there are warnings other than the usual output.
6691 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6692 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6693 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6694 lt_prog_compiler_pic_works
=yes
6700 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6701 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6703 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6704 case $lt_prog_compiler_pic in
6706 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6709 lt_prog_compiler_pic
=
6710 lt_prog_compiler_can_build_shared
=no
6715 # For platforms which do not support PIC, -DPIC is meaningless:
6717 lt_prog_compiler_pic
=
6720 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6725 # Check to make sure the static flag actually works.
6727 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6728 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6729 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6730 if test "${lt_prog_compiler_static_works+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 lt_prog_compiler_static_works
=no
6734 save_LDFLAGS
="$LDFLAGS"
6735 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6736 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6737 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6738 # The linker can only warn and ignore the option if not recognized
6739 # So say no if there are warnings
6740 if test -s conftest.err
; then
6741 # Append any errors to the config.log.
6742 cat conftest.err
1>&5
6743 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6744 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6745 if diff conftest.exp conftest.er2
>/dev
/null
; then
6746 lt_prog_compiler_static_works
=yes
6749 lt_prog_compiler_static_works
=yes
6753 LDFLAGS
="$save_LDFLAGS"
6756 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6757 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6759 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6762 lt_prog_compiler_static
=
6766 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6767 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6768 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6769 echo $ECHO_N "(cached) $ECHO_C" >&6
6771 lt_cv_prog_compiler_c_o
=no
6772 $rm -r conftest
2>/dev
/null
6776 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6778 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6779 # Insert the option either (1) after the last *FLAGS variable, or
6780 # (2) before a word containing "conftest.", or (3) at the end.
6781 # Note that $ac_compile itself does not contain backslashes and begins
6782 # with a dollar sign (not a hyphen), so the echo should work correctly.
6783 lt_compile
=`echo "$ac_compile" | $SED \
6784 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6785 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6786 -e 's:$: $lt_compiler_flag:'`
6787 (eval echo "\"\$as_me:6787: $lt_compile\"" >&5)
6788 (eval "$lt_compile" 2>out
/conftest.err
)
6790 cat out
/conftest.err
>&5
6791 echo "$as_me:6791: \$? = $ac_status" >&5
6792 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6794 # The compiler can only warn and ignore the option if not recognized
6795 # So say no if there are warnings
6796 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6797 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6798 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6799 lt_cv_prog_compiler_c_o
=yes
6804 # SGI C++ compiler will create directory out/ii_files/ for
6805 # template instantiation
6806 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6807 $rm out
/* && rmdir out
6813 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6814 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6817 hard_links
="nottested"
6818 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6819 # do not overwrite the value of need_locks provided by the user
6820 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6821 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6824 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6826 ln conftest.a conftest.b
2>&5 || hard_links
=no
6827 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6828 echo "$as_me:$LINENO: result: $hard_links" >&5
6829 echo "${ECHO_T}$hard_links" >&6
6830 if test "$hard_links" = no
; then
6831 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6832 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6839 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6840 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6843 allow_undefined_flag
=
6844 enable_shared_with_static_runtimes
=no
6846 archive_expsym_cmds
=
6847 old_archive_From_new_cmds
=
6848 old_archive_from_expsyms_cmds
=
6849 export_dynamic_flag_spec
=
6850 whole_archive_flag_spec
=
6851 thread_safe_flag_spec
=
6852 hardcode_libdir_flag_spec
=
6853 hardcode_libdir_flag_spec_ld
=
6854 hardcode_libdir_separator
=
6857 hardcode_shlibpath_var
=unsupported
6858 link_all_deplibs
=unknown
6859 hardcode_automatic
=no
6862 always_export_symbols
=no
6863 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6864 # include_expsyms should be a list of space-separated symbols to be *always*
6865 # included in the symbol list
6867 # exclude_expsyms can be an extended regexp of symbols to exclude
6868 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6869 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6870 # as well as any symbol that contains `d'.
6871 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6872 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6873 # platforms (ab)use it in PIC code, but their linkers get confused if
6874 # the symbol is explicitly referenced. Since portable code cannot
6875 # rely on this symbol name, it's probably fine to never include it in
6876 # preloaded symbol tables.
6877 extract_expsyms_cmds
=
6878 # Just being paranoid about ensuring that cc_basename is set.
6879 for cc_temp
in $compiler""; do
6881 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6882 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6887 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6890 cygwin
* | mingw
* | pw32
*)
6891 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6892 # When not using gcc, we currently assume that we are using
6893 # Microsoft Visual C++.
6894 if test "$GCC" != yes; then
6899 # we just hope/assume this is gcc and not c89 (= MSVC++)
6908 if test "$with_gnu_ld" = yes; then
6909 # If archive_cmds runs LD, not CC, wlarc should be empty
6912 # Set some defaults for GNU ld with shared library support. These
6913 # are reset later if shared libraries are not supported. Putting them
6914 # here allows them to be overridden if necessary.
6915 runpath_var
=LD_RUN_PATH
6916 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6917 export_dynamic_flag_spec
='${wl}--export-dynamic'
6918 # ancient GNU ld didn't support --whole-archive et. al.
6919 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6920 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6922 whole_archive_flag_spec
=
6924 supports_anon_versioning
=no
6925 case `$LD -v 2>/dev/null` in
6926 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6927 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6928 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6929 *\
2.11.
*) ;; # other 2.11 versions
6930 *) supports_anon_versioning
=yes ;;
6933 # See if GNU ld supports shared libraries.
6935 aix3
* | aix4
* | aix5
*)
6936 # On AIX/PPC, the GNU linker is very broken
6937 if test "$host_cpu" != ia64
; then
6941 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6942 *** to be unable to reliably create shared libraries on AIX.
6943 *** Therefore, libtool is disabling shared libraries support. If you
6944 *** really care for shared libraries, you may want to modify your PATH
6945 *** so that a non-GNU linker is found, and then restart.
6952 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)'
6953 hardcode_libdir_flag_spec
='-L$libdir'
6954 hardcode_minus_L
=yes
6956 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6957 # that the semantics of dynamic libraries on AmigaOS, at least up
6958 # to version 4, is to share data among multiple programs linked
6959 # with the same dynamic library. Since this doesn't match the
6960 # behavior of shared libraries on other platforms, we can't use
6966 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6967 allow_undefined_flag
=unsupported
6968 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6969 # support --undefined. This deserves some investigation. FIXME
6970 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6976 cygwin
* | mingw
* | pw32
*)
6977 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6978 # as there is no search path for DLLs.
6979 hardcode_libdir_flag_spec
='-L$libdir'
6980 allow_undefined_flag
=unsupported
6981 always_export_symbols
=no
6982 enable_shared_with_static_runtimes
=yes
6983 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6985 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6986 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6987 # If the export-symbols file already is a .def file (1st line
6988 # is EXPORTS), use it as is; otherwise, prepend...
6989 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6990 cp $export_symbols $output_objdir/$soname.def;
6992 echo EXPORTS > $output_objdir/$soname.def;
6993 cat $export_symbols >> $output_objdir/$soname.def;
6995 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7003 hardcode_shlibpath_var
=no
7004 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7005 export_dynamic_flag_spec
='${wl}-E'
7006 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7007 # Instead, shared libraries are loaded at an image base (0x10000000 by
7008 # default) and relocated if they conflict, which is a slow very memory
7009 # consuming and fragmenting process. To avoid this, we pick a random,
7010 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7011 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7012 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7013 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'
7017 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7019 case $cc_basename,$host_cpu in
7020 pgcc
*) # Portland Group C compiler
7021 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'
7022 tmp_addflag
=' $pic_flag'
7024 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7025 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'
7026 tmp_addflag
=' $pic_flag -Mnomain' ;;
7027 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7028 tmp_addflag
=' -i_dynamic' ;;
7029 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7030 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7031 ifc
* | ifort
*) # Intel Fortran compiler
7032 tmp_addflag
=' -nofor_main' ;;
7034 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7036 if test $supports_anon_versioning = yes; then
7037 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7038 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7039 $echo "local: *; };" >> $output_objdir/$libname.ver~
7040 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7048 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7049 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7052 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7053 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7058 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7062 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7063 *** create shared libraries on Solaris systems. Therefore, libtool
7064 *** is disabling shared libraries support. We urge you to upgrade GNU
7065 *** binutils to release 2.9.1 or newer. Another option is to modify
7066 *** your PATH or compiler configuration so that the native linker is
7067 *** used, and then restart.
7070 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7071 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7072 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7078 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7079 case `$LD -v 2>&1` in
7080 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7084 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7085 *** reliably create shared libraries on SCO systems. Therefore, libtool
7086 *** is disabling shared libraries support. We urge you to upgrade GNU
7087 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7088 *** your PATH or compiler configuration so that the native linker is
7089 *** used, and then restart.
7094 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7095 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7096 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7097 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7106 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7109 hardcode_shlibpath_var
=no
7113 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7114 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7115 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7122 if test "$ld_shlibs" = no
; then
7124 hardcode_libdir_flag_spec
=
7125 export_dynamic_flag_spec
=
7126 whole_archive_flag_spec
=
7129 # PORTME fill in a description of your system's linker (not GNU ld)
7132 allow_undefined_flag
=unsupported
7133 always_export_symbols
=yes
7134 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'
7135 # Note: this linker hardcodes the directories in LIBPATH if there
7136 # are no directories specified by -L.
7137 hardcode_minus_L
=yes
7138 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7139 # Neither direct hardcoding nor static linking is supported with a
7141 hardcode_direct
=unsupported
7146 if test "$host_cpu" = ia64
; then
7147 # On IA64, the linker does run time linking by default, so we don't
7148 # have to do anything special.
7149 aix_use_runtimelinking
=no
7150 exp_sym_flag
='-Bexport'
7153 # If we're using GNU nm, then we don't want the "-C" option.
7154 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7155 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7156 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'
7158 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'
7160 aix_use_runtimelinking
=no
7162 # Test if we are trying to use run time linking or normal
7163 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7164 # need to do runtime linking.
7165 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7166 for ld_flag
in $LDFLAGS; do
7167 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7168 aix_use_runtimelinking
=yes
7175 exp_sym_flag
='-bexport'
7176 no_entry_flag
='-bnoentry'
7179 # When large executables or shared objects are built, AIX ld can
7180 # have problems creating the table of contents. If linking a library
7181 # or program results in "error TOC overflow" add -mminimal-toc to
7182 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7183 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7187 hardcode_libdir_separator
=':'
7188 link_all_deplibs
=yes
7190 if test "$GCC" = yes; then
7191 case $host_os in aix4.
[012]|aix4.
[012].
*)
7192 # We only want to do this on AIX 4.2 and lower, the check
7193 # below for broken collect2 doesn't work under 4.3+
7194 collect2name
=`${CC} -print-prog-name=collect2`
7195 if test -f "$collect2name" && \
7196 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7198 # We have reworked collect2
7201 # We have old collect2
7202 hardcode_direct
=unsupported
7203 # It fails to find uninstalled libraries when the uninstalled
7204 # path is not listed in the libpath. Setting hardcode_minus_L
7205 # to unsupported forces relinking
7206 hardcode_minus_L
=yes
7207 hardcode_libdir_flag_spec
='-L$libdir'
7208 hardcode_libdir_separator
=
7212 shared_flag
='-shared'
7213 if test "$aix_use_runtimelinking" = yes; then
7214 shared_flag
="$shared_flag "'${wl}-G'
7218 if test "$host_cpu" = ia64
; then
7219 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7220 # chokes on -Wl,-G. The following line is correct:
7223 if test "$aix_use_runtimelinking" = yes; then
7224 shared_flag
='${wl}-G'
7226 shared_flag
='${wl}-bM:SRE'
7231 # It seems that -bexpall does not export symbols beginning with
7232 # underscore (_), so it is better to generate a list of symbols to export.
7233 always_export_symbols
=yes
7234 if test "$aix_use_runtimelinking" = yes; then
7235 # Warning - without using the other runtime loading flags (-brtl),
7236 # -berok will link without error, but may produce a broken library.
7237 allow_undefined_flag
='-berok'
7238 # Determine the default libpath from the value encoded in an empty executable.
7239 cat >conftest.
$ac_ext <<_ACEOF
7242 cat confdefs.h
>>conftest.
$ac_ext
7243 cat >>conftest.
$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7254 rm -f conftest.
$ac_objext conftest
$ac_exeext
7255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7256 (eval $ac_link) 2>conftest.er1
7258 grep -v '^ *+' conftest.er1
>conftest.err
7260 cat conftest.err
>&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } &&
7263 { ac_try
='test -z "$ac_c_werror_flag"
7264 || test ! -s conftest.err'
7265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); }; } &&
7270 { ac_try
='test -s conftest$ac_exeext'
7271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7275 (exit $ac_status); }; }; then
7277 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7279 # Check for a 64-bit object if we didn't find anything.
7280 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; }
7283 echo "$as_me: failed program was:" >&5
7284 sed 's/^/| /' conftest.
$ac_ext >&5
7287 rm -f conftest.err conftest.
$ac_objext \
7288 conftest
$ac_exeext conftest.
$ac_ext
7289 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7291 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7292 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"
7294 if test "$host_cpu" = ia64
; then
7295 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7296 allow_undefined_flag
="-z nodefs"
7297 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"
7299 # Determine the default libpath from the value encoded in an empty executable.
7300 cat >conftest.
$ac_ext <<_ACEOF
7303 cat confdefs.h
>>conftest.
$ac_ext
7304 cat >>conftest.
$ac_ext <<_ACEOF
7305 /* end confdefs.h. */
7315 rm -f conftest.
$ac_objext conftest
$ac_exeext
7316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7317 (eval $ac_link) 2>conftest.er1
7319 grep -v '^ *+' conftest.er1
>conftest.err
7321 cat conftest.err
>&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); } &&
7324 { ac_try
='test -z "$ac_c_werror_flag"
7325 || test ! -s conftest.err'
7326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); }; } &&
7331 { ac_try
='test -s conftest$ac_exeext'
7332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 (exit $ac_status); }; }; then
7338 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7340 # Check for a 64-bit object if we didn't find anything.
7341 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; }
7344 echo "$as_me: failed program was:" >&5
7345 sed 's/^/| /' conftest.
$ac_ext >&5
7348 rm -f conftest.err conftest.
$ac_objext \
7349 conftest
$ac_exeext conftest.
$ac_ext
7350 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7352 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7353 # Warning - without using the other run time loading flags,
7354 # -berok will link without error, but may produce a broken library.
7355 no_undefined_flag
=' ${wl}-bernotok'
7356 allow_undefined_flag
=' ${wl}-berok'
7357 # Exported symbols can be pulled into shared objects from archives
7358 whole_archive_flag_spec
='$convenience'
7359 archive_cmds_need_lc
=yes
7360 # This is similar to how AIX traditionally builds its shared libraries.
7361 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'
7367 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)'
7368 hardcode_libdir_flag_spec
='-L$libdir'
7369 hardcode_minus_L
=yes
7370 # see comment about different semantics on the GNU ld section
7375 export_dynamic_flag_spec
=-rdynamic
7378 cygwin
* | mingw
* | pw32
*)
7379 # When not using gcc, we currently assume that we are using
7380 # Microsoft Visual C++.
7381 # hardcode_libdir_flag_spec is actually meaningless, as there is
7382 # no search path for DLLs.
7383 hardcode_libdir_flag_spec
=' '
7384 allow_undefined_flag
=unsupported
7385 # Tell ltmain to make .lib files, not .a files.
7387 # Tell ltmain to make .dll files, not .so files.
7389 # FIXME: Setting linknames here is a bad hack.
7390 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7391 # The linker will automatically build a .lib file if we build a DLL.
7392 old_archive_From_new_cmds
='true'
7393 # FIXME: Should let the user specify the lib program.
7394 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7395 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7396 enable_shared_with_static_runtimes
=yes
7399 darwin
* | rhapsody
*)
7401 rhapsody
* | darwin1.
[012])
7402 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7405 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7406 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7408 case ${MACOSX_DEPLOYMENT_TARGET} in
7410 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7413 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7419 archive_cmds_need_lc
=no
7421 hardcode_automatic
=yes
7422 hardcode_shlibpath_var
=unsupported
7423 whole_archive_flag_spec
=''
7424 link_all_deplibs
=yes
7425 if test "$GCC" = yes ; then
7426 output_verbose_link_cmd
='echo'
7427 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7428 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7429 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7430 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}'
7431 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}'
7433 case $cc_basename in
7435 output_verbose_link_cmd
='echo'
7436 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7437 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7438 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7439 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}'
7440 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}'
7450 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7451 hardcode_libdir_flag_spec
='-L$libdir'
7452 hardcode_shlibpath_var
=no
7459 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7460 # support. Future versions do this automatically, but an explicit c++rt0.o
7461 # does not break anything, and helps significantly (at the cost of a little
7464 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7465 hardcode_libdir_flag_spec
='-R$libdir'
7467 hardcode_shlibpath_var
=no
7470 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7472 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7474 hardcode_minus_L
=yes
7475 hardcode_shlibpath_var
=no
7478 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7479 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7480 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7481 hardcode_libdir_flag_spec
='-R$libdir'
7483 hardcode_shlibpath_var
=no
7487 if test "$GCC" = yes; then
7488 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'
7490 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'
7492 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7493 hardcode_libdir_separator
=:
7496 # hardcode_minus_L: Not really in the search PATH,
7497 # but as the default location of the library.
7498 hardcode_minus_L
=yes
7499 export_dynamic_flag_spec
='${wl}-E'
7503 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7504 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7506 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7508 if test "$with_gnu_ld" = no
; then
7509 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7510 hardcode_libdir_separator
=:
7513 export_dynamic_flag_spec
='${wl}-E'
7515 # hardcode_minus_L: Not really in the search PATH,
7516 # but as the default location of the library.
7517 hardcode_minus_L
=yes
7522 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7525 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7528 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7531 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7537 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7540 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7543 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7547 if test "$with_gnu_ld" = no
; then
7548 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7549 hardcode_libdir_separator
=:
7553 hardcode_libdir_flag_spec_ld
='+b $libdir'
7555 hardcode_shlibpath_var
=no
7559 export_dynamic_flag_spec
='${wl}-E'
7561 # hardcode_minus_L: Not really in the search PATH,
7562 # but as the default location of the library.
7563 hardcode_minus_L
=yes
7569 irix5
* | irix6
* | nonstopux
*)
7570 if test "$GCC" = yes; then
7571 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'
7573 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'
7574 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7576 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7577 hardcode_libdir_separator
=:
7578 link_all_deplibs
=yes
7582 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7583 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7585 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7587 hardcode_libdir_flag_spec
='-R$libdir'
7589 hardcode_shlibpath_var
=no
7593 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7595 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7596 hardcode_libdir_separator
=:
7597 hardcode_shlibpath_var
=no
7602 hardcode_shlibpath_var
=no
7603 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7604 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7605 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7606 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7607 export_dynamic_flag_spec
='${wl}-E'
7610 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7611 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7612 hardcode_libdir_flag_spec
='-R$libdir'
7615 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7616 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7623 hardcode_libdir_flag_spec
='-L$libdir'
7624 hardcode_minus_L
=yes
7625 allow_undefined_flag
=unsupported
7626 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'
7627 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7631 if test "$GCC" = yes; then
7632 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7633 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'
7635 allow_undefined_flag
=' -expect_unresolved \*'
7636 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'
7638 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7639 hardcode_libdir_separator
=:
7642 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7643 if test "$GCC" = yes; then
7644 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7645 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'
7646 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7648 allow_undefined_flag
=' -expect_unresolved \*'
7649 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'
7650 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7651 $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'
7653 # Both c and cxx compiler support -rpath directly
7654 hardcode_libdir_flag_spec
='-rpath $libdir'
7656 hardcode_libdir_separator
=:
7660 no_undefined_flag
=' -z text'
7661 if test "$GCC" = yes; then
7663 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7664 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7665 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7668 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7669 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7670 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7672 hardcode_libdir_flag_spec
='-R$libdir'
7673 hardcode_shlibpath_var
=no
7675 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7677 # The compiler driver will combine linker options so we
7678 # cannot just pass the convience library names through
7679 # without $wl, iff we do not link with $LD.
7680 # Luckily, gcc supports the same syntax we need for Sun Studio.
7681 # Supported since Solaris 2.6 (maybe 2.5.1?)
7684 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7686 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' ;;
7689 link_all_deplibs
=yes
7693 if test "x$host_vendor" = xsequent
; then
7694 # Use $CC to link under sequent, because it throws in some extra .o
7695 # files that make .init and .fini sections work.
7696 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7698 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7700 hardcode_libdir_flag_spec
='-L$libdir'
7702 hardcode_minus_L
=yes
7703 hardcode_shlibpath_var
=no
7707 case $host_vendor in
7709 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7710 hardcode_direct
=yes # is this really true???
7713 ## LD is ld it makes a PLAMLIB
7714 ## CC just makes a GrossModule.
7715 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7716 reload_cmds
='$CC -r -o $output$reload_objs'
7720 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7721 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7724 runpath_var
='LD_RUN_PATH'
7725 hardcode_shlibpath_var
=no
7729 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7730 hardcode_shlibpath_var
=no
7731 export_dynamic_flag_spec
='-Bexport'
7735 if test -d /usr
/nec
; then
7736 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7737 hardcode_shlibpath_var
=no
7738 runpath_var
=LD_RUN_PATH
7739 hardcode_runpath_var
=yes
7744 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
7745 no_undefined_flag
='${wl}-z,text'
7746 archive_cmds_need_lc
=no
7747 hardcode_shlibpath_var
=no
7748 runpath_var
='LD_RUN_PATH'
7750 if test "$GCC" = yes; then
7751 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7752 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7754 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7755 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7759 sysv5
* | sco3.2v5
* | sco5v6
*)
7760 # Note: We can NOT use -z defs as we might desire, because we do not
7761 # link with -lc, and that would cause any symbols used from libc to
7762 # always be unresolved, which means just about no library would
7763 # ever link correctly. If we're not using GNU ld we use -z text
7764 # though, which does catch some bad symbols but isn't as heavy-handed
7766 no_undefined_flag
='${wl}-z,text'
7767 allow_undefined_flag
='${wl}-z,nodefs'
7768 archive_cmds_need_lc
=no
7769 hardcode_shlibpath_var
=no
7770 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7771 hardcode_libdir_separator
=':'
7772 link_all_deplibs
=yes
7773 export_dynamic_flag_spec
='${wl}-Bexport'
7774 runpath_var
='LD_RUN_PATH'
7776 if test "$GCC" = yes; then
7777 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7778 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7780 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7781 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7786 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7787 hardcode_libdir_flag_spec
='-L$libdir'
7788 hardcode_shlibpath_var
=no
7797 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7798 echo "${ECHO_T}$ld_shlibs" >&6
7799 test "$ld_shlibs" = no
&& can_build_shared
=no
7802 # Do we need to explicitly link libc?
7804 case "x$archive_cmds_need_lc" in
7806 # Assume -lc should be added
7807 archive_cmds_need_lc
=yes
7809 if test "$enable_shared" = yes && test "$GCC" = yes; then
7810 case $archive_cmds in
7812 # FIXME: we may have to deal with multi-command sequences.
7815 # Test whether the compiler implicitly links with -lc since on some
7816 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7817 # to ld, don't add -lc before -lgcc.
7818 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7819 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7821 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7824 (eval $ac_compile) 2>&5
7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); } 2>conftest.err
; then
7830 libobjs
=conftest.
$ac_objext
7832 wl
=$lt_prog_compiler_wl
7833 pic_flag
=$lt_prog_compiler_pic
7839 lt_save_allow_undefined_flag
=$allow_undefined_flag
7840 allow_undefined_flag
=
7841 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7842 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); }
7847 archive_cmds_need_lc
=no
7849 archive_cmds_need_lc
=yes
7851 allow_undefined_flag
=$lt_save_allow_undefined_flag
7853 cat conftest.err
1>&5
7856 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7857 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7864 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7865 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7867 libname_spec
='lib$name'
7875 shlibpath_overrides_runpath
=unknown
7877 dynamic_linker
="$host_os ld.so"
7878 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7879 if test "$GCC" = yes; then
7880 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7881 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7882 # if the path contains ";" then we assume it to be the separator
7883 # otherwise default to the standard path separator (i.e. ":") - it is
7884 # assumed that no part of a normal pathname contains ";" but that should
7885 # okay in the real world where ";" in dirpaths is itself problematic.
7886 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7888 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7891 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7893 need_lib_prefix
=unknown
7894 hardcode_into_libs
=no
7896 # when you set need_version to no, make sure it does not cause -set_version
7897 # flags to be left without arguments
7898 need_version
=unknown
7903 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7904 shlibpath_var
=LIBPATH
7906 # AIX 3 has no versioning support, so we append a major version to the name.
7907 soname_spec
='${libname}${release}${shared_ext}$major'
7914 hardcode_into_libs
=yes
7915 if test "$host_cpu" = ia64
; then
7916 # AIX 5 supports IA64
7917 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7918 shlibpath_var
=LD_LIBRARY_PATH
7920 # With GCC up to 2.95.x, collect2 would create an import file
7921 # for dependence libraries. The import file would start with
7922 # the line `#! .'. This would cause the generated library to
7923 # depend on `.', always an invalid library. This was fixed in
7924 # development snapshots of GCC prior to 3.0.
7926 aix4 | aix4.
[01] | aix4.
[01].
*)
7927 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7929 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7936 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7937 # soname into executable. Probably we can add versioning support to
7938 # collect2, so additional links can be useful in future.
7939 if test "$aix_use_runtimelinking" = yes; then
7940 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7941 # instead of lib<name>.a to let people know that these are not
7942 # typical AIX shared libraries.
7943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7945 # We preserve .a as extension for shared libraries through AIX4.2
7946 # and later when we are not doing run time linking.
7947 library_names_spec
='${libname}${release}.a $libname.a'
7948 soname_spec
='${libname}${release}${shared_ext}$major'
7950 shlibpath_var
=LIBPATH
7955 library_names_spec
='$libname.ixlibrary $libname.a'
7956 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7957 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'
7961 library_names_spec
='${libname}${shared_ext}'
7962 dynamic_linker
="$host_os ld.so"
7963 shlibpath_var
=LIBRARY_PATH
7969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7970 soname_spec
='${libname}${release}${shared_ext}$major'
7971 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7972 shlibpath_var
=LD_LIBRARY_PATH
7973 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7974 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7975 # the default ld.so.conf also contains /usr/contrib/lib and
7976 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7977 # libtool to hard-code these into programs
7980 cygwin
* | mingw
* | pw32
*)
7981 version_type
=windows
7986 case $GCC,$host_os in
7987 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7988 library_names_spec
='$libname.dll.a'
7989 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7990 postinstall_cmds
='base_file=`basename \${file}`~
7991 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7992 dldir=$destdir/`dirname \$dlpath`~
7993 test -d \$dldir || mkdir -p \$dldir~
7994 $install_prog $dir/$dlname \$dldir/$dlname~
7995 chmod a+x \$dldir/$dlname'
7996 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7997 dlpath=$dir/\$dldll~
7999 shlibpath_overrides_runpath
=yes
8003 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8004 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8005 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8008 # MinGW DLLs use traditional 'lib' prefix
8009 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8010 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8011 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8012 # It is most probably a Windows format PATH printed by
8013 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8014 # path with ; separators, and with drive letters. We can handle the
8015 # drive letters (cygwin fileutils understands them), so leave them,
8016 # especially as we might pass files found there to a mingw objdump,
8017 # which wouldn't understand a cygwinified path. Ahh.
8018 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8020 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8024 # pw32 DLLs use 'pw' prefix rather than 'lib'
8025 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8031 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8034 dynamic_linker
='Win32 ld.exe'
8035 # FIXME: first we should search . and the directory the executable is in
8039 darwin
* | rhapsody
*)
8040 dynamic_linker
="$host_os dyld"
8044 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8045 soname_spec
='${libname}${release}${major}$shared_ext'
8046 shlibpath_overrides_runpath
=yes
8047 shlibpath_var
=DYLD_LIBRARY_PATH
8048 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8049 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8050 if test "$GCC" = yes; then
8051 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"`
8053 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8055 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8063 soname_spec
='${libname}${release}${shared_ext}$major'
8064 shlibpath_var
=LD_LIBRARY_PATH
8075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8076 soname_spec
='${libname}${release}${shared_ext}$major'
8077 shlibpath_var
=LD_LIBRARY_PATH
8078 shlibpath_overrides_runpath
=no
8079 hardcode_into_libs
=yes
8080 dynamic_linker
='GNU ld.so'
8083 freebsd
* | dragonfly
*)
8084 # DragonFly does not have aout. When/if they implement a new
8085 # versioning mechanism, adjust this.
8086 if test -x /usr
/bin
/objformat
; then
8087 objformat
=`/usr/bin/objformat`
8090 freebsd
[123]*) objformat
=aout
;;
8094 version_type
=freebsd-
$objformat
8095 case $version_type in
8097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8102 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8106 shlibpath_var
=LD_LIBRARY_PATH
8109 shlibpath_overrides_runpath
=yes
8111 freebsd3.
[01]* | freebsdelf3.
[01]*)
8112 shlibpath_overrides_runpath
=yes
8113 hardcode_into_libs
=yes
8115 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8116 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8117 shlibpath_overrides_runpath
=no
8118 hardcode_into_libs
=yes
8120 freebsd
*) # from 4.6 on
8121 shlibpath_overrides_runpath
=yes
8122 hardcode_into_libs
=yes
8131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8132 soname_spec
='${libname}${release}${shared_ext}$major'
8133 shlibpath_var
=LD_LIBRARY_PATH
8134 hardcode_into_libs
=yes
8137 hpux9
* | hpux10
* | hpux11
*)
8138 # Give a soname corresponding to the major version so that dld.sl refuses to
8139 # link against other versions.
8146 hardcode_into_libs
=yes
8147 dynamic_linker
="$host_os dld.so"
8148 shlibpath_var
=LD_LIBRARY_PATH
8149 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8151 soname_spec
='${libname}${release}${shared_ext}$major'
8152 if test "X$HPUX_IA64_MODE" = X32
; then
8153 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8155 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8157 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8161 hardcode_into_libs
=yes
8162 dynamic_linker
="$host_os dld.sl"
8163 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8164 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8166 soname_spec
='${libname}${release}${shared_ext}$major'
8167 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8168 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8172 dynamic_linker
="$host_os dld.sl"
8173 shlibpath_var
=SHLIB_PATH
8174 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8176 soname_spec
='${libname}${release}${shared_ext}$major'
8179 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8180 postinstall_cmds
='chmod 555 $lib'
8187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8188 soname_spec
='${libname}${release}${shared_ext}$major'
8189 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8190 shlibpath_var
=LD_LIBRARY_PATH
8191 shlibpath_overrides_runpath
=no
8192 hardcode_into_libs
=yes
8195 irix5
* | irix6
* | nonstopux
*)
8197 nonstopux
*) version_type
=nonstopux
;;
8199 if test "$lt_cv_prog_gnu_ld" = yes; then
8207 soname_spec
='${libname}${release}${shared_ext}$major'
8208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8210 irix5
* | nonstopux
*)
8214 case $LD in # libtool.m4 will add one of these switches to LD
8215 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8216 libsuff
= shlibsuff
= libmagic
=32-bit;;
8217 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8218 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8219 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8220 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8221 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8225 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8226 shlibpath_overrides_runpath
=no
8227 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8228 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8229 hardcode_into_libs
=yes
8232 # No shared lib support for Linux oldld, aout, or coff.
8233 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8237 # This must be Linux ELF.
8242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8243 soname_spec
='${libname}${release}${shared_ext}$major'
8244 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8245 shlibpath_var
=LD_LIBRARY_PATH
8246 shlibpath_overrides_runpath
=no
8247 # This implies no fast_install, which is unacceptable.
8248 # Some rework will be needed to allow for fast_install
8249 # before this can be enabled.
8250 hardcode_into_libs
=yes
8252 # find out which ABI we are using
8255 x86_64
*|s390x
*|powerpc64
*)
8256 echo '#line 8256 "configure"' > conftest.
$ac_ext
8257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8258 (eval $ac_compile) 2>&5
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); }; then
8262 case `/usr/bin/file conftest.$ac_objext` in
8265 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8273 # Append ld.so.conf contents to the search path
8274 if test -f /etc
/ld.so.conf
; then
8275 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' ' '`
8276 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8279 # We used to test for /lib/ld.so.1 and disable shared libraries on
8280 # powerpc, because MkLinux only supported shared libraries with the
8281 # GNU dynamic linker. Since this was broken with cross compilers,
8282 # most powerpc-linux boxes support dynamic linking these days and
8283 # people can always --disable-shared, the test was removed, and we
8284 # assume the GNU/Linux dynamic linker is in use.
8285 dynamic_linker
='GNU/Linux ld.so'
8292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8293 soname_spec
='${libname}${release}${shared_ext}$major'
8294 shlibpath_var
=LD_LIBRARY_PATH
8295 shlibpath_overrides_runpath
=no
8296 hardcode_into_libs
=yes
8297 dynamic_linker
='GNU ld.so'
8304 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8306 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8307 dynamic_linker
='NetBSD (a.out) ld.so'
8309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8310 soname_spec
='${libname}${release}${shared_ext}$major'
8311 dynamic_linker
='NetBSD ld.elf_so'
8313 shlibpath_var
=LD_LIBRARY_PATH
8314 shlibpath_overrides_runpath
=yes
8315 hardcode_into_libs
=yes
8320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8321 shlibpath_var
=LD_LIBRARY_PATH
8322 shlibpath_overrides_runpath
=yes
8329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8330 soname_spec
='${libname}${release}${shared_ext}$major'
8331 shlibpath_var
=LD_LIBRARY_PATH
8332 shlibpath_overrides_runpath
=yes
8337 sys_lib_dlsearch_path_spec
="/usr/lib"
8339 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8341 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8342 *) need_version
=no
;;
8344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8345 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8346 shlibpath_var
=LD_LIBRARY_PATH
8347 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8349 openbsd2.
[89] | openbsd2.
[89].
*)
8350 shlibpath_overrides_runpath
=no
8353 shlibpath_overrides_runpath
=yes
8357 shlibpath_overrides_runpath
=yes
8362 libname_spec
='$name'
8365 library_names_spec
='$libname${shared_ext} $libname.a'
8366 dynamic_linker
='OS/2 ld.exe'
8367 shlibpath_var
=LIBPATH
8370 osf3
* | osf4
* | osf5
*)
8374 soname_spec
='${libname}${release}${shared_ext}$major'
8375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8376 shlibpath_var
=LD_LIBRARY_PATH
8377 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8378 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8386 soname_spec
='${libname}${release}${shared_ext}$major'
8387 shlibpath_var
=LD_LIBRARY_PATH
8388 shlibpath_overrides_runpath
=yes
8389 hardcode_into_libs
=yes
8390 # ldd complains unless libraries are executable
8391 postinstall_cmds
='chmod +x $lib'
8396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8397 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8398 shlibpath_var
=LD_LIBRARY_PATH
8399 shlibpath_overrides_runpath
=yes
8400 if test "$with_gnu_ld" = yes; then
8408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8409 soname_spec
='${libname}${release}${shared_ext}$major'
8410 shlibpath_var
=LD_LIBRARY_PATH
8411 case $host_vendor in
8413 shlibpath_overrides_runpath
=no
8415 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8416 runpath_var
=LD_RUN_PATH
8424 shlibpath_overrides_runpath
=no
8425 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8431 if test -d /usr
/nec
;then
8433 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8434 soname_spec
='$libname${shared_ext}.$major'
8435 shlibpath_var
=LD_LIBRARY_PATH
8439 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8440 version_type
=freebsd-elf
8443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8444 soname_spec
='${libname}${release}${shared_ext}$major'
8445 shlibpath_var
=LD_LIBRARY_PATH
8446 hardcode_into_libs
=yes
8447 if test "$with_gnu_ld" = yes; then
8448 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8449 shlibpath_overrides_runpath
=no
8451 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8452 shlibpath_overrides_runpath
=yes
8455 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8459 sys_lib_dlsearch_path_spec
='/usr/lib'
8464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8465 soname_spec
='${libname}${release}${shared_ext}$major'
8466 shlibpath_var
=LD_LIBRARY_PATH
8473 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8474 echo "${ECHO_T}$dynamic_linker" >&6
8475 test "$dynamic_linker" = no
&& can_build_shared
=no
8477 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8478 if test "$GCC" = yes; then
8479 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8482 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8483 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8485 if test -n "$hardcode_libdir_flag_spec" || \
8486 test -n "$runpath_var" || \
8487 test "X$hardcode_automatic" = "Xyes" ; then
8489 # We can hardcode non-existant directories.
8490 if test "$hardcode_direct" != no
&&
8491 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8492 # have to relink, otherwise we might link with an installed library
8493 # when we should be linking with a yet-to-be-installed one
8494 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8495 test "$hardcode_minus_L" != no
; then
8496 # Linking always hardcodes the temporary library directory.
8497 hardcode_action
=relink
8499 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8500 hardcode_action
=immediate
8503 # We cannot hardcode anything, or else we can only hardcode existing
8505 hardcode_action
=unsupported
8507 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8508 echo "${ECHO_T}$hardcode_action" >&6
8510 if test "$hardcode_action" = relink
; then
8511 # Fast installation is not supported
8512 enable_fast_install
=no
8513 elif test "$shlibpath_overrides_runpath" = yes ||
8514 test "$enable_shared" = no
; then
8515 # Fast installation is not necessary
8516 enable_fast_install
=needless
8521 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8522 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8523 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8524 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8525 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8526 echo "$as_me:$LINENO: result: yes" >&5
8527 echo "${ECHO_T}yes" >&6
8529 # FIXME - insert some real tests, host_os isn't really good enough
8532 if test -n "$STRIP" ; then
8533 striplib
="$STRIP -x"
8534 echo "$as_me:$LINENO: result: yes" >&5
8535 echo "${ECHO_T}yes" >&6
8537 echo "$as_me:$LINENO: result: no" >&5
8538 echo "${ECHO_T}no" >&6
8542 echo "$as_me:$LINENO: result: no" >&5
8543 echo "${ECHO_T}no" >&6
8548 if test "x$enable_dlopen" != xyes
; then
8549 enable_dlopen
=unknown
8550 enable_dlopen_self
=unknown
8551 enable_dlopen_self_static
=unknown
8558 lt_cv_dlopen
="load_add_on"
8560 lt_cv_dlopen_self
=yes
8564 lt_cv_dlopen
="LoadLibrary"
8569 lt_cv_dlopen
="dlopen"
8574 # if libdl is installed we need to link against it
8575 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8576 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8577 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8578 echo $ECHO_N "(cached) $ECHO_C" >&6
8580 ac_check_lib_save_LIBS
=$LIBS
8582 cat >conftest.
$ac_ext <<_ACEOF
8585 cat confdefs.h
>>conftest.
$ac_ext
8586 cat >>conftest.
$ac_ext <<_ACEOF
8587 /* end confdefs.h. */
8589 /* Override any gcc2 internal prototype to avoid an error. */
8593 /* We use char because int might match the return type of a gcc2
8594 builtin and then its argument prototype would still apply. */
8604 rm -f conftest.
$ac_objext conftest
$ac_exeext
8605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8606 (eval $ac_link) 2>conftest.er1
8608 grep -v '^ *+' conftest.er1
>conftest.err
8610 cat conftest.err
>&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); } &&
8613 { ac_try
='test -z "$ac_c_werror_flag"
8614 || test ! -s conftest.err'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; } &&
8620 { ac_try
='test -s conftest$ac_exeext'
8621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); }; }; then
8626 ac_cv_lib_dl_dlopen
=yes
8628 echo "$as_me: failed program was:" >&5
8629 sed 's/^/| /' conftest.
$ac_ext >&5
8631 ac_cv_lib_dl_dlopen
=no
8633 rm -f conftest.err conftest.
$ac_objext \
8634 conftest
$ac_exeext conftest.
$ac_ext
8635 LIBS
=$ac_check_lib_save_LIBS
8637 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8638 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8639 if test $ac_cv_lib_dl_dlopen = yes; then
8640 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8645 lt_cv_dlopen_self
=yes
8652 echo "$as_me:$LINENO: checking for shl_load" >&5
8653 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8654 if test "${ac_cv_func_shl_load+set}" = set; then
8655 echo $ECHO_N "(cached) $ECHO_C" >&6
8657 cat >conftest.
$ac_ext <<_ACEOF
8660 cat confdefs.h
>>conftest.
$ac_ext
8661 cat >>conftest.
$ac_ext <<_ACEOF
8662 /* end confdefs.h. */
8663 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8665 #define shl_load innocuous_shl_load
8667 /* System header to define __stub macros and hopefully few prototypes,
8668 which can conflict with char shl_load (); below.
8669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8670 <limits.h> exists even on freestanding compilers. */
8673 # include <limits.h>
8675 # include <assert.h>
8680 /* Override any gcc2 internal prototype to avoid an error. */
8685 /* We use char because int might match the return type of a gcc2
8686 builtin and then its argument prototype would still apply. */
8688 /* The GNU C library defines this for functions which it implements
8689 to always fail with ENOSYS. Some functions are actually named
8690 something starting with __ and the normal name is an alias. */
8691 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8694 char (*f) () = shl_load;
8703 return f != shl_load;
8708 rm -f conftest.
$ac_objext conftest
$ac_exeext
8709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8710 (eval $ac_link) 2>conftest.er1
8712 grep -v '^ *+' conftest.er1
>conftest.err
8714 cat conftest.err
>&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } &&
8717 { ac_try
='test -z "$ac_c_werror_flag"
8718 || test ! -s conftest.err'
8719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); }; } &&
8724 { ac_try
='test -s conftest$ac_exeext'
8725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); }; }; then
8730 ac_cv_func_shl_load
=yes
8732 echo "$as_me: failed program was:" >&5
8733 sed 's/^/| /' conftest.
$ac_ext >&5
8735 ac_cv_func_shl_load
=no
8737 rm -f conftest.err conftest.
$ac_objext \
8738 conftest
$ac_exeext conftest.
$ac_ext
8740 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8741 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8742 if test $ac_cv_func_shl_load = yes; then
8743 lt_cv_dlopen
="shl_load"
8745 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8746 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8747 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8748 echo $ECHO_N "(cached) $ECHO_C" >&6
8750 ac_check_lib_save_LIBS
=$LIBS
8752 cat >conftest.
$ac_ext <<_ACEOF
8755 cat confdefs.h
>>conftest.
$ac_ext
8756 cat >>conftest.
$ac_ext <<_ACEOF
8757 /* end confdefs.h. */
8759 /* Override any gcc2 internal prototype to avoid an error. */
8763 /* We use char because int might match the return type of a gcc2
8764 builtin and then its argument prototype would still apply. */
8774 rm -f conftest.
$ac_objext conftest
$ac_exeext
8775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8776 (eval $ac_link) 2>conftest.er1
8778 grep -v '^ *+' conftest.er1
>conftest.err
8780 cat conftest.err
>&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 (exit $ac_status); } &&
8783 { ac_try
='test -z "$ac_c_werror_flag"
8784 || test ! -s conftest.err'
8785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); }; } &&
8790 { ac_try
='test -s conftest$ac_exeext'
8791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); }; }; then
8796 ac_cv_lib_dld_shl_load
=yes
8798 echo "$as_me: failed program was:" >&5
8799 sed 's/^/| /' conftest.
$ac_ext >&5
8801 ac_cv_lib_dld_shl_load
=no
8803 rm -f conftest.err conftest.
$ac_objext \
8804 conftest
$ac_exeext conftest.
$ac_ext
8805 LIBS
=$ac_check_lib_save_LIBS
8807 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8808 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8809 if test $ac_cv_lib_dld_shl_load = yes; then
8810 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8812 echo "$as_me:$LINENO: checking for dlopen" >&5
8813 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8814 if test "${ac_cv_func_dlopen+set}" = set; then
8815 echo $ECHO_N "(cached) $ECHO_C" >&6
8817 cat >conftest.
$ac_ext <<_ACEOF
8820 cat confdefs.h
>>conftest.
$ac_ext
8821 cat >>conftest.
$ac_ext <<_ACEOF
8822 /* end confdefs.h. */
8823 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8825 #define dlopen innocuous_dlopen
8827 /* System header to define __stub macros and hopefully few prototypes,
8828 which can conflict with char dlopen (); below.
8829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8830 <limits.h> exists even on freestanding compilers. */
8833 # include <limits.h>
8835 # include <assert.h>
8840 /* Override any gcc2 internal prototype to avoid an error. */
8845 /* We use char because int might match the return type of a gcc2
8846 builtin and then its argument prototype would still apply. */
8848 /* The GNU C library defines this for functions which it implements
8849 to always fail with ENOSYS. Some functions are actually named
8850 something starting with __ and the normal name is an alias. */
8851 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8854 char (*f) () = dlopen;
8868 rm -f conftest.
$ac_objext conftest
$ac_exeext
8869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8870 (eval $ac_link) 2>conftest.er1
8872 grep -v '^ *+' conftest.er1
>conftest.err
8874 cat conftest.err
>&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); } &&
8877 { ac_try
='test -z "$ac_c_werror_flag"
8878 || test ! -s conftest.err'
8879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); }; } &&
8884 { ac_try
='test -s conftest$ac_exeext'
8885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); }; }; then
8890 ac_cv_func_dlopen
=yes
8892 echo "$as_me: failed program was:" >&5
8893 sed 's/^/| /' conftest.
$ac_ext >&5
8895 ac_cv_func_dlopen
=no
8897 rm -f conftest.err conftest.
$ac_objext \
8898 conftest
$ac_exeext conftest.
$ac_ext
8900 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8901 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8902 if test $ac_cv_func_dlopen = yes; then
8903 lt_cv_dlopen
="dlopen"
8905 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8906 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8907 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8908 echo $ECHO_N "(cached) $ECHO_C" >&6
8910 ac_check_lib_save_LIBS
=$LIBS
8912 cat >conftest.
$ac_ext <<_ACEOF
8915 cat confdefs.h
>>conftest.
$ac_ext
8916 cat >>conftest.
$ac_ext <<_ACEOF
8917 /* end confdefs.h. */
8919 /* Override any gcc2 internal prototype to avoid an error. */
8923 /* We use char because int might match the return type of a gcc2
8924 builtin and then its argument prototype would still apply. */
8934 rm -f conftest.
$ac_objext conftest
$ac_exeext
8935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8936 (eval $ac_link) 2>conftest.er1
8938 grep -v '^ *+' conftest.er1
>conftest.err
8940 cat conftest.err
>&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 (exit $ac_status); } &&
8943 { ac_try
='test -z "$ac_c_werror_flag"
8944 || test ! -s conftest.err'
8945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); }; } &&
8950 { ac_try
='test -s conftest$ac_exeext'
8951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 (exit $ac_status); }; }; then
8956 ac_cv_lib_dl_dlopen
=yes
8958 echo "$as_me: failed program was:" >&5
8959 sed 's/^/| /' conftest.
$ac_ext >&5
8961 ac_cv_lib_dl_dlopen
=no
8963 rm -f conftest.err conftest.
$ac_objext \
8964 conftest
$ac_exeext conftest.
$ac_ext
8965 LIBS
=$ac_check_lib_save_LIBS
8967 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8968 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8969 if test $ac_cv_lib_dl_dlopen = yes; then
8970 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8972 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8973 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8974 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8975 echo $ECHO_N "(cached) $ECHO_C" >&6
8977 ac_check_lib_save_LIBS
=$LIBS
8979 cat >conftest.
$ac_ext <<_ACEOF
8982 cat confdefs.h
>>conftest.
$ac_ext
8983 cat >>conftest.
$ac_ext <<_ACEOF
8984 /* end confdefs.h. */
8986 /* Override any gcc2 internal prototype to avoid an error. */
8990 /* We use char because int might match the return type of a gcc2
8991 builtin and then its argument prototype would still apply. */
9001 rm -f conftest.
$ac_objext conftest
$ac_exeext
9002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9003 (eval $ac_link) 2>conftest.er1
9005 grep -v '^ *+' conftest.er1
>conftest.err
9007 cat conftest.err
>&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); } &&
9010 { ac_try
='test -z "$ac_c_werror_flag"
9011 || test ! -s conftest.err'
9012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); }; } &&
9017 { ac_try
='test -s conftest$ac_exeext'
9018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 (exit $ac_status); }; }; then
9023 ac_cv_lib_svld_dlopen
=yes
9025 echo "$as_me: failed program was:" >&5
9026 sed 's/^/| /' conftest.
$ac_ext >&5
9028 ac_cv_lib_svld_dlopen
=no
9030 rm -f conftest.err conftest.
$ac_objext \
9031 conftest
$ac_exeext conftest.
$ac_ext
9032 LIBS
=$ac_check_lib_save_LIBS
9034 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9035 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9036 if test $ac_cv_lib_svld_dlopen = yes; then
9037 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9039 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9040 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9041 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9042 echo $ECHO_N "(cached) $ECHO_C" >&6
9044 ac_check_lib_save_LIBS
=$LIBS
9046 cat >conftest.
$ac_ext <<_ACEOF
9049 cat confdefs.h
>>conftest.
$ac_ext
9050 cat >>conftest.
$ac_ext <<_ACEOF
9051 /* end confdefs.h. */
9053 /* Override any gcc2 internal prototype to avoid an error. */
9057 /* We use char because int might match the return type of a gcc2
9058 builtin and then its argument prototype would still apply. */
9068 rm -f conftest.
$ac_objext conftest
$ac_exeext
9069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9070 (eval $ac_link) 2>conftest.er1
9072 grep -v '^ *+' conftest.er1
>conftest.err
9074 cat conftest.err
>&5
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); } &&
9077 { ac_try
='test -z "$ac_c_werror_flag"
9078 || test ! -s conftest.err'
9079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); }; } &&
9084 { ac_try
='test -s conftest$ac_exeext'
9085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); }; }; then
9090 ac_cv_lib_dld_dld_link
=yes
9092 echo "$as_me: failed program was:" >&5
9093 sed 's/^/| /' conftest.
$ac_ext >&5
9095 ac_cv_lib_dld_dld_link
=no
9097 rm -f conftest.err conftest.
$ac_objext \
9098 conftest
$ac_exeext conftest.
$ac_ext
9099 LIBS
=$ac_check_lib_save_LIBS
9101 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9102 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9103 if test $ac_cv_lib_dld_dld_link = yes; then
9104 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9125 if test "x$lt_cv_dlopen" != xno
; then
9131 case $lt_cv_dlopen in
9133 save_CPPFLAGS
="$CPPFLAGS"
9134 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9136 save_LDFLAGS
="$LDFLAGS"
9137 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9140 LIBS
="$lt_cv_dlopen_libs $LIBS"
9142 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9143 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9144 if test "${lt_cv_dlopen_self+set}" = set; then
9145 echo $ECHO_N "(cached) $ECHO_C" >&6
9147 if test "$cross_compiling" = yes; then :
9148 lt_cv_dlopen_self
=cross
9150 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9151 lt_status
=$lt_dlunknown
9152 cat > conftest.
$ac_ext <<EOF
9153 #line 9153 "configure"
9154 #include "confdefs.h"
9163 # define LT_DLGLOBAL RTLD_GLOBAL
9166 # define LT_DLGLOBAL DL_GLOBAL
9168 # define LT_DLGLOBAL 0
9172 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9173 find out it does not work in some platform. */
9174 #ifndef LT_DLLAZY_OR_NOW
9176 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9179 # define LT_DLLAZY_OR_NOW DL_LAZY
9182 # define LT_DLLAZY_OR_NOW RTLD_NOW
9185 # define LT_DLLAZY_OR_NOW DL_NOW
9187 # define LT_DLLAZY_OR_NOW 0
9195 extern "C" void exit (int);
9198 void fnord() { int i=42;}
9201 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9202 int status = $lt_dlunknown;
9206 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9207 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9208 /* dlclose (self); */
9216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9217 (eval $ac_link) 2>&5
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9221 (.
/conftest
; exit; ) >&5 2>/dev
/null
9224 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9225 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9226 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9229 # compilation failed
9230 lt_cv_dlopen_self
=no
9237 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9238 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9240 if test "x$lt_cv_dlopen_self" = xyes
; then
9241 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9242 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9243 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9244 if test "${lt_cv_dlopen_self_static+set}" = set; then
9245 echo $ECHO_N "(cached) $ECHO_C" >&6
9247 if test "$cross_compiling" = yes; then :
9248 lt_cv_dlopen_self_static
=cross
9250 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9251 lt_status
=$lt_dlunknown
9252 cat > conftest.
$ac_ext <<EOF
9253 #line 9253 "configure"
9254 #include "confdefs.h"
9263 # define LT_DLGLOBAL RTLD_GLOBAL
9266 # define LT_DLGLOBAL DL_GLOBAL
9268 # define LT_DLGLOBAL 0
9272 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9273 find out it does not work in some platform. */
9274 #ifndef LT_DLLAZY_OR_NOW
9276 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9279 # define LT_DLLAZY_OR_NOW DL_LAZY
9282 # define LT_DLLAZY_OR_NOW RTLD_NOW
9285 # define LT_DLLAZY_OR_NOW DL_NOW
9287 # define LT_DLLAZY_OR_NOW 0
9295 extern "C" void exit (int);
9298 void fnord() { int i=42;}
9301 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9302 int status = $lt_dlunknown;
9306 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9307 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9308 /* dlclose (self); */
9316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9317 (eval $ac_link) 2>&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9321 (.
/conftest
; exit; ) >&5 2>/dev
/null
9324 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9325 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9326 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9329 # compilation failed
9330 lt_cv_dlopen_self_static
=no
9337 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9338 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9341 CPPFLAGS
="$save_CPPFLAGS"
9342 LDFLAGS
="$save_LDFLAGS"
9347 case $lt_cv_dlopen_self in
9348 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9349 *) enable_dlopen_self
=unknown
;;
9352 case $lt_cv_dlopen_self_static in
9353 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9354 *) enable_dlopen_self_static
=unknown
;;
9359 # Report which library types will actually be built
9360 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9361 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9362 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9363 echo "${ECHO_T}$can_build_shared" >&6
9365 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9366 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9367 test "$can_build_shared" = "no" && enable_shared
=no
9369 # On AIX, shared libraries and static libraries use the same namespace, and
9370 # are all built from PIC.
9373 test "$enable_shared" = yes && enable_static
=no
9374 if test -n "$RANLIB"; then
9375 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9376 postinstall_cmds
='$RANLIB $lib'
9381 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9382 test "$enable_shared" = yes && enable_static
=no
9386 echo "$as_me:$LINENO: result: $enable_shared" >&5
9387 echo "${ECHO_T}$enable_shared" >&6
9389 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9390 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9391 # Make sure either enable_shared or enable_static is yes.
9392 test "$enable_shared" = yes || enable_static
=yes
9393 echo "$as_me:$LINENO: result: $enable_static" >&5
9394 echo "${ECHO_T}$enable_static" >&6
9396 # The else clause should only fire when bootstrapping the
9397 # libtool distribution, otherwise you forgot to ship ltmain.sh
9398 # with your package, and you will get complaints that there are
9399 # no rules to generate ltmain.sh.
9400 if test -f "$ltmain"; then
9401 # See if we are running on zsh, and set the options which allow our commands through
9402 # without removal of \ escapes.
9403 if test -n "${ZSH_VERSION+set}" ; then
9404 setopt NO_GLOB_SUBST
9406 # Now quote all the things that may contain metacharacters while being
9407 # careful not to overquote the AC_SUBSTed values. We take copies of the
9408 # variables and quote the copies for generation of the libtool script.
9409 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9411 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9412 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9413 deplibs_check_method reload_flag reload_cmds need_locks \
9414 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9415 lt_cv_sys_global_symbol_to_c_name_address \
9416 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9417 old_postinstall_cmds old_postuninstall_cmds \
9421 lt_prog_compiler_wl \
9422 lt_prog_compiler_pic \
9423 lt_prog_compiler_static \
9424 lt_prog_compiler_no_builtin_flag \
9425 export_dynamic_flag_spec \
9426 thread_safe_flag_spec \
9427 whole_archive_flag_spec \
9428 enable_shared_with_static_runtimes \
9430 old_archive_from_new_cmds \
9435 compiler_lib_search_path \
9437 archive_expsym_cmds \
9439 postuninstall_cmds \
9440 old_archive_from_expsyms_cmds \
9441 allow_undefined_flag \
9443 export_symbols_cmds \
9444 hardcode_libdir_flag_spec \
9445 hardcode_libdir_flag_spec_ld \
9446 hardcode_libdir_separator \
9447 hardcode_automatic \
9449 module_expsym_cmds \
9450 lt_cv_prog_compiler_c_o \
9455 old_archive_cmds | \
9456 old_archive_from_new_cmds | \
9458 archive_expsym_cmds | \
9460 module_expsym_cmds | \
9461 old_archive_from_expsyms_cmds | \
9462 export_symbols_cmds | \
9463 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9464 postinstall_cmds | postuninstall_cmds | \
9465 old_postinstall_cmds | old_postuninstall_cmds | \
9466 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9467 # Double-quote double-evaled strings.
9468 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9471 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9477 *'\$0 --fallback-echo"')
9478 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9483 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9485 { echo "$as_me:$LINENO: creating $ofile" >&5
9486 echo "$as_me: creating $ofile" >&6;}
9488 cat <<__EOF__ >> "$cfgfile"
9491 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9492 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9493 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9495 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9496 # Free Software Foundation, Inc.
9498 # This file is part of GNU Libtool:
9499 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9501 # This program is free software; you can redistribute it and/or modify
9502 # it under the terms of the GNU General Public License as published by
9503 # the Free Software Foundation; either version 2 of the License, or
9504 # (at your option) any later version.
9506 # This program is distributed in the hope that it will be useful, but
9507 # WITHOUT ANY WARRANTY; without even the implied warranty of
9508 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9509 # General Public License for more details.
9511 # You should have received a copy of the GNU General Public License
9512 # along with this program; if not, write to the Free Software
9513 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9515 # As a special exception to the GNU General Public License, if you
9516 # distribute this file as part of a program that contains a
9517 # configuration script generated by Autoconf, you may include it under
9518 # the same distribution terms that you use for the rest of that program.
9520 # A sed program that does not truncate output.
9523 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9524 Xsed="$SED -e 1s/^X//"
9526 # The HP-UX ksh and POSIX shell print the target directory to stdout
9528 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9530 # The names of the tagged configurations supported by this script.
9533 # ### BEGIN LIBTOOL CONFIG
9535 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9537 # Shell to use when invoking shell scripts.
9540 # Whether or not to build shared libraries.
9541 build_libtool_libs=$enable_shared
9543 # Whether or not to build static libraries.
9544 build_old_libs=$enable_static
9546 # Whether or not to add -lc for building shared libraries.
9547 build_libtool_need_lc=$archive_cmds_need_lc
9549 # Whether or not to disallow shared libs when runtime libs are static
9550 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9552 # Whether or not to optimize for fast installation.
9553 fast_install=$enable_fast_install
9556 host_alias=$host_alias
9561 build_alias=$build_alias
9565 # An echo program that does not interpret backslashes.
9570 AR_FLAGS=$lt_AR_FLAGS
9575 # LTCC compiler flags.
9576 LTCFLAGS=$lt_LTCFLAGS
9578 # A language-specific compiler.
9581 # Is the compiler the GNU C compiler?
9584 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9585 gcc_ver=\`gcc -dumpversion\`
9590 # The linker used to build libraries.
9593 # Whether we need hard or soft links.
9596 # A BSD-compatible nm program.
9599 # A symbol stripping program
9602 # Used to examine libraries when file_magic_cmd begins "file"
9603 MAGIC_CMD=$MAGIC_CMD
9605 # Used on cygwin: DLL creation program.
9608 # Used on cygwin: object dumper.
9611 # Used on cygwin: assembler.
9614 # The name of the directory that contains temporary libtool files.
9617 # How to create reloadable object files.
9618 reload_flag=$lt_reload_flag
9619 reload_cmds=$lt_reload_cmds
9621 # How to pass a linker flag through the compiler.
9622 wl=$lt_lt_prog_compiler_wl
9624 # Object file suffix (normally "o").
9627 # Old archive suffix (normally "a").
9630 # Shared library suffix (normally ".so").
9631 shrext_cmds='$shrext_cmds'
9633 # Executable file suffix (normally "").
9636 # Additional compiler flags for building library objects.
9637 pic_flag=$lt_lt_prog_compiler_pic
9640 # What is the maximum length of a command?
9641 max_cmd_len=$lt_cv_sys_max_cmd_len
9643 # Does compiler simultaneously support -c and -o options?
9644 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9646 # Must we lock files when doing compilation?
9647 need_locks=$lt_need_locks
9649 # Do we need the lib prefix for modules?
9650 need_lib_prefix=$need_lib_prefix
9652 # Do we need a version for libraries?
9653 need_version=$need_version
9655 # Whether dlopen is supported.
9656 dlopen_support=$enable_dlopen
9658 # Whether dlopen of programs is supported.
9659 dlopen_self=$enable_dlopen_self
9661 # Whether dlopen of statically linked programs is supported.
9662 dlopen_self_static=$enable_dlopen_self_static
9664 # Compiler flag to prevent dynamic linking.
9665 link_static_flag=$lt_lt_prog_compiler_static
9667 # Compiler flag to turn off builtin functions.
9668 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9670 # Compiler flag to allow reflexive dlopens.
9671 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9673 # Compiler flag to generate shared objects directly from archives.
9674 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9676 # Compiler flag to generate thread-safe objects.
9677 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9679 # Library versioning type.
9680 version_type=$version_type
9682 # Format of library name prefix.
9683 libname_spec=$lt_libname_spec
9685 # List of archive names. First name is the real one, the rest are links.
9686 # The last name is the one that the linker finds with -lNAME.
9687 library_names_spec=$lt_library_names_spec
9689 # The coded name of the library, if different from the real name.
9690 soname_spec=$lt_soname_spec
9692 # Commands used to build and install an old-style archive.
9694 old_archive_cmds=$lt_old_archive_cmds
9695 old_postinstall_cmds=$lt_old_postinstall_cmds
9696 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9698 # Create an old-style archive from a shared archive.
9699 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9701 # Create a temporary old-style archive to link instead of a shared archive.
9702 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9704 # Commands used to build and install a shared archive.
9705 archive_cmds=$lt_archive_cmds
9706 archive_expsym_cmds=$lt_archive_expsym_cmds
9707 postinstall_cmds=$lt_postinstall_cmds
9708 postuninstall_cmds=$lt_postuninstall_cmds
9710 # Commands used to build a loadable module (assumed same as above if empty)
9711 module_cmds=$lt_module_cmds
9712 module_expsym_cmds=$lt_module_expsym_cmds
9714 # Commands to strip libraries.
9715 old_striplib=$lt_old_striplib
9716 striplib=$lt_striplib
9718 # Dependencies to place before the objects being linked to create a
9720 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9722 # Dependencies to place after the objects being linked to create a
9724 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9726 # Dependencies to place before the objects being linked to create a
9730 # Dependencies to place after the objects being linked to create a
9732 postdeps=$lt_postdeps
9734 # The library search path used internally by the compiler when linking
9736 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9738 # Method to check whether dependent libraries are shared objects.
9739 deplibs_check_method=$lt_deplibs_check_method
9741 # Command to use when deplibs_check_method == file_magic.
9742 file_magic_cmd=$lt_file_magic_cmd
9744 # Flag that allows shared libraries with undefined symbols to be built.
9745 allow_undefined_flag=$lt_allow_undefined_flag
9747 # Flag that forces no undefined symbols.
9748 no_undefined_flag=$lt_no_undefined_flag
9750 # Commands used to finish a libtool library installation in a directory.
9751 finish_cmds=$lt_finish_cmds
9753 # Same as above, but a single script fragment to be evaled but not shown.
9754 finish_eval=$lt_finish_eval
9756 # Take the output of nm and produce a listing of raw symbols and C names.
9757 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9759 # Transform the output of nm in a proper C declaration
9760 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9762 # Transform the output of nm in a C name address pair
9763 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9765 # This is the shared library runtime path variable.
9766 runpath_var=$runpath_var
9768 # This is the shared library path variable.
9769 shlibpath_var=$shlibpath_var
9771 # Is shlibpath searched before the hard-coded library search path?
9772 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9774 # How to hardcode a shared library path into an executable.
9775 hardcode_action=$hardcode_action
9777 # Whether we should hardcode library paths into libraries.
9778 hardcode_into_libs=$hardcode_into_libs
9780 # Flag to hardcode \$libdir into a binary during linking.
9781 # This must work even if \$libdir does not exist.
9782 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9784 # If ld is used when linking, flag to hardcode \$libdir into
9785 # a binary during linking. This must work even if \$libdir does
9787 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9789 # Whether we need a single -rpath flag with a separated argument.
9790 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9792 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9794 hardcode_direct=$hardcode_direct
9796 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9798 hardcode_minus_L=$hardcode_minus_L
9800 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9801 # the resulting binary.
9802 hardcode_shlibpath_var=$hardcode_shlibpath_var
9804 # Set to yes if building a shared library automatically hardcodes DIR into the library
9805 # and all subsequent libraries and executables linked against it.
9806 hardcode_automatic=$hardcode_automatic
9808 # Variables whose values should be saved in libtool wrapper scripts and
9809 # restored at relink time.
9810 variables_saved_for_relink="$variables_saved_for_relink"
9812 # Whether libtool must link a program against all its dependency libraries.
9813 link_all_deplibs=$link_all_deplibs
9815 # Compile-time system search path for libraries
9816 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"\`
9818 # Run-time system search path for libraries
9819 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9821 # Fix the shell variable \$srcfile for the compiler.
9822 fix_srcfile_path="$fix_srcfile_path"
9824 # Set to yes if exported symbols are required.
9825 always_export_symbols=$always_export_symbols
9827 # The commands to list exported symbols.
9828 export_symbols_cmds=$lt_export_symbols_cmds
9830 # The commands to extract the exported symbol list from a shared archive.
9831 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9833 # Symbols that should not be listed in the preloaded symbols.
9834 exclude_expsyms=$lt_exclude_expsyms
9836 # Symbols that must always be exported.
9837 include_expsyms=$lt_include_expsyms
9839 # ### END LIBTOOL CONFIG
9846 cat <<\EOF
>> "$cfgfile"
9848 # AIX sometimes has problems with the GCC collect2 program. For some
9849 # reason, if we set the COLLECT_NAMES environment variable, the problems
9850 # vanish in a puff of smoke.
9851 if test "X${COLLECT_NAMES+set}" != Xset
; then
9853 export COLLECT_NAMES
9859 # We use sed instead of cat because bash on DJGPP gets confused if
9860 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9861 # text mode, it properly converts lines to CR/LF. This bash problem
9862 # is reportedly fixed, but why not run on old versions too?
9863 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9865 mv -f "$cfgfile" "$ofile" || \
9866 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9870 # If there is no Makefile yet, we rely on a make rule to execute
9871 # `config.status --recheck' to rerun these tests and create the
9872 # libtool script then.
9873 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9874 if test -f "$ltmain_in"; then
9875 test -f Makefile
&& make "$ltmain"
9881 ac_cpp
='$CPP $CPPFLAGS'
9882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9889 # Check whether --with-tags or --without-tags was given.
9890 if test "${with_tags+set}" = set; then
9891 withval
="$with_tags"
9895 if test -f "$ltmain" && test -n "$tagnames"; then
9896 if test ! -f "${ofile}"; then
9897 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9898 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9901 if test -z "$LTCC"; then
9902 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9903 if test -z "$LTCC"; then
9904 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9905 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9907 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9908 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9911 if test -z "$LTCFLAGS"; then
9912 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9915 # Extract list of available tagged configurations in $ofile.
9916 # Note that this assumes the entire list is on one line.
9917 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9919 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9920 for tagname
in $tagnames; do
9922 # Check whether tagname contains only valid characters
9923 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9925 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9926 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9927 { (exit 1); exit 1; }; }
9931 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9933 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9934 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9935 { (exit 1); exit 1; }; }
9938 # Update the list of available tags.
9939 if test -n "$tagname"; then
9940 echo appending configuration tag
\"$tagname\" to
$ofile
9944 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9945 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9946 (test "X$CXX" != "Xg++"))) ; then
9948 ac_cpp
='$CXXCPP $CPPFLAGS'
9949 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9950 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9951 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9956 archive_cmds_need_lc_CXX
=no
9957 allow_undefined_flag_CXX
=
9958 always_export_symbols_CXX
=no
9959 archive_expsym_cmds_CXX
=
9960 export_dynamic_flag_spec_CXX
=
9961 hardcode_direct_CXX
=no
9962 hardcode_libdir_flag_spec_CXX
=
9963 hardcode_libdir_flag_spec_ld_CXX
=
9964 hardcode_libdir_separator_CXX
=
9965 hardcode_minus_L_CXX
=no
9966 hardcode_shlibpath_var_CXX
=unsupported
9967 hardcode_automatic_CXX
=no
9969 module_expsym_cmds_CXX
=
9970 link_all_deplibs_CXX
=unknown
9971 old_archive_cmds_CXX
=$old_archive_cmds
9972 no_undefined_flag_CXX
=
9973 whole_archive_flag_spec_CXX
=
9974 enable_shared_with_static_runtimes_CXX
=no
9976 # Dependencies to place before and after the object being linked:
9978 postdep_objects_CXX
=
9981 compiler_lib_search_path_CXX
=
9983 # Source file extension for C++ test sources.
9986 # Object file extension for compiled C++ test sources.
9990 # Code to be used in simple compile tests
9991 lt_simple_compile_test_code
="int some_variable = 0;\n"
9993 # Code to be used in simple link tests
9994 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
9996 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9998 # If no C compiler was specified, use CC.
10001 # If no C compiler flags were specified, use CFLAGS.
10002 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10004 # Allow CC to be a program name with arguments.
10008 # save warnings/boilerplate of simple test code
10009 ac_outfile
=conftest.
$ac_objext
10010 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10011 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10012 _lt_compiler_boilerplate
=`cat conftest.err`
10015 ac_outfile
=conftest.
$ac_objext
10016 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10017 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10018 _lt_linker_boilerplate
=`cat conftest.err`
10022 # Allow CC to be a program name with arguments.
10027 lt_save_with_gnu_ld
=$with_gnu_ld
10028 lt_save_path_LD
=$lt_cv_path_LD
10029 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10030 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10032 $as_unset lt_cv_prog_gnu_ld
10034 if test -n "${lt_cv_path_LDCXX+set}"; then
10035 lt_cv_path_LD
=$lt_cv_path_LDCXX
10037 $as_unset lt_cv_path_LD
10039 test -z "${LDCXX+set}" || LD
=$LDCXX
10043 for cc_temp
in $compiler""; do
10045 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10046 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10051 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10054 # We don't want -fno-exception wen compiling C++ code, so set the
10055 # no_builtin_flag separately
10056 if test "$GXX" = yes; then
10057 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10059 lt_prog_compiler_no_builtin_flag_CXX
=
10062 if test "$GXX" = yes; then
10063 # Set up default GNU C++ configuration
10066 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10067 if test "${with_gnu_ld+set}" = set; then
10068 withval
="$with_gnu_ld"
10069 test "$withval" = no || with_gnu_ld
=yes
10074 if test "$GCC" = yes; then
10075 # Check if gcc -print-prog-name=ld gives a path.
10076 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10077 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10080 # gcc leaves a trailing carriage return which upsets mingw
10081 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10083 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10086 # Accept absolute paths.
10088 re_direlt
='/[^/][^/]*/\.\./'
10089 # Canonicalize the pathname of ld
10090 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10091 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10092 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10094 test -z "$LD" && LD
="$ac_prog"
10097 # If it fails, then pretend we aren't using GCC.
10101 # If it is relative, then search for the first ld in PATH.
10102 with_gnu_ld
=unknown
10105 elif test "$with_gnu_ld" = yes; then
10106 echo "$as_me:$LINENO: checking for GNU ld" >&5
10107 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10109 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10110 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10112 if test "${lt_cv_path_LD+set}" = set; then
10113 echo $ECHO_N "(cached) $ECHO_C" >&6
10115 if test -z "$LD"; then
10116 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10117 for ac_dir
in $PATH; do
10119 test -z "$ac_dir" && ac_dir
=.
10120 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10121 lt_cv_path_LD
="$ac_dir/$ac_prog"
10122 # Check to see if the program is GNU ld. I'd rather use --version,
10123 # but apparently some variants of GNU ld only accept -v.
10124 # Break only if it was the GNU/non-GNU ld that we prefer.
10125 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10126 *GNU
* |
*'with BFD'*)
10127 test "$with_gnu_ld" != no
&& break
10130 test "$with_gnu_ld" != yes && break
10137 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10141 LD
="$lt_cv_path_LD"
10142 if test -n "$LD"; then
10143 echo "$as_me:$LINENO: result: $LD" >&5
10144 echo "${ECHO_T}$LD" >&6
10146 echo "$as_me:$LINENO: result: no" >&5
10147 echo "${ECHO_T}no" >&6
10149 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10150 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10151 { (exit 1); exit 1; }; }
10152 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10153 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10154 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10158 case `$LD -v 2>&1 </dev/null` in
10159 *GNU
* |
*'with BFD'*)
10160 lt_cv_prog_gnu_ld
=yes
10163 lt_cv_prog_gnu_ld
=no
10167 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10168 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10169 with_gnu_ld
=$lt_cv_prog_gnu_ld
10173 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10174 # archiving commands below assume that GNU ld is being used.
10175 if test "$with_gnu_ld" = yes; then
10176 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10177 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'
10179 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10180 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10182 # If archive_cmds runs LD, not CC, wlarc should be empty
10183 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10184 # investigate it a little bit more. (MM)
10187 # ancient GNU ld didn't support --whole-archive et. al.
10188 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10189 grep 'no-whole-archive' > /dev
/null
; then
10190 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10192 whole_archive_flag_spec_CXX
=
10198 # A generic and very simple default shared library creation
10199 # command for GNU C++ for the case where it uses the native
10200 # linker, instead of GNU ld. If possible, this setting should
10201 # overridden to take advantage of the native linker features on
10202 # the platform it is being used on.
10203 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10206 # Commands to make compiler produce verbose output that lists
10207 # what "hidden" libraries, object files and flags are used when
10208 # linking a shared library.
10209 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10217 # PORTME: fill in a description of your system's C++ link characteristics
10218 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10219 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10223 # FIXME: insert proper C++ library support
10227 if test "$host_cpu" = ia64
; then
10228 # On IA64, the linker does run time linking by default, so we don't
10229 # have to do anything special.
10230 aix_use_runtimelinking
=no
10231 exp_sym_flag
='-Bexport'
10234 aix_use_runtimelinking
=no
10236 # Test if we are trying to use run time linking or normal
10237 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10238 # need to do runtime linking.
10239 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10240 for ld_flag
in $LDFLAGS; do
10243 aix_use_runtimelinking
=yes
10251 exp_sym_flag
='-bexport'
10252 no_entry_flag
='-bnoentry'
10255 # When large executables or shared objects are built, AIX ld can
10256 # have problems creating the table of contents. If linking a library
10257 # or program results in "error TOC overflow" add -mminimal-toc to
10258 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10259 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10261 archive_cmds_CXX
=''
10262 hardcode_direct_CXX
=yes
10263 hardcode_libdir_separator_CXX
=':'
10264 link_all_deplibs_CXX
=yes
10266 if test "$GXX" = yes; then
10267 case $host_os in aix4.
[012]|aix4.
[012].
*)
10268 # We only want to do this on AIX 4.2 and lower, the check
10269 # below for broken collect2 doesn't work under 4.3+
10270 collect2name
=`${CC} -print-prog-name=collect2`
10271 if test -f "$collect2name" && \
10272 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10274 # We have reworked collect2
10275 hardcode_direct_CXX
=yes
10277 # We have old collect2
10278 hardcode_direct_CXX
=unsupported
10279 # It fails to find uninstalled libraries when the uninstalled
10280 # path is not listed in the libpath. Setting hardcode_minus_L
10281 # to unsupported forces relinking
10282 hardcode_minus_L_CXX
=yes
10283 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10284 hardcode_libdir_separator_CXX
=
10288 shared_flag
='-shared'
10289 if test "$aix_use_runtimelinking" = yes; then
10290 shared_flag
="$shared_flag "'${wl}-G'
10294 if test "$host_cpu" = ia64
; then
10295 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10296 # chokes on -Wl,-G. The following line is correct:
10299 if test "$aix_use_runtimelinking" = yes; then
10300 shared_flag
='${wl}-G'
10302 shared_flag
='${wl}-bM:SRE'
10307 # It seems that -bexpall does not export symbols beginning with
10308 # underscore (_), so it is better to generate a list of symbols to export.
10309 always_export_symbols_CXX
=yes
10310 if test "$aix_use_runtimelinking" = yes; then
10311 # Warning - without using the other runtime loading flags (-brtl),
10312 # -berok will link without error, but may produce a broken library.
10313 allow_undefined_flag_CXX
='-berok'
10314 # Determine the default libpath from the value encoded in an empty executable.
10315 cat >conftest.
$ac_ext <<_ACEOF
10318 cat confdefs.h
>>conftest.
$ac_ext
10319 cat >>conftest.
$ac_ext <<_ACEOF
10320 /* end confdefs.h. */
10330 rm -f conftest.
$ac_objext conftest
$ac_exeext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10332 (eval $ac_link) 2>conftest.er1
10334 grep -v '^ *+' conftest.er1
>conftest.err
10336 cat conftest.err
>&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); } &&
10339 { ac_try
='test -z "$ac_cxx_werror_flag"
10340 || test ! -s conftest.err'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; } &&
10346 { ac_try
='test -s conftest$ac_exeext'
10347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10348 (eval $ac_try) 2>&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); }; }; then
10353 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10355 # Check for a 64-bit object if we didn't find anything.
10356 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; }
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.
$ac_ext >&5
10363 rm -f conftest.err conftest.
$ac_objext \
10364 conftest
$ac_exeext conftest.
$ac_ext
10365 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10367 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10369 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"
10371 if test "$host_cpu" = ia64
; then
10372 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10373 allow_undefined_flag_CXX
="-z nodefs"
10374 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"
10376 # Determine the default libpath from the value encoded in an empty executable.
10377 cat >conftest.
$ac_ext <<_ACEOF
10380 cat confdefs.h
>>conftest.
$ac_ext
10381 cat >>conftest.
$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10392 rm -f conftest.
$ac_objext conftest
$ac_exeext
10393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10394 (eval $ac_link) 2>conftest.er1
10396 grep -v '^ *+' conftest.er1
>conftest.err
10398 cat conftest.err
>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); } &&
10401 { ac_try
='test -z "$ac_cxx_werror_flag"
10402 || test ! -s conftest.err'
10403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10404 (eval $ac_try) 2>&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); }; } &&
10408 { ac_try
='test -s conftest$ac_exeext'
10409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410 (eval $ac_try) 2>&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; }; then
10415 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10417 # Check for a 64-bit object if we didn't find anything.
10418 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; }
10421 echo "$as_me: failed program was:" >&5
10422 sed 's/^/| /' conftest.
$ac_ext >&5
10425 rm -f conftest.err conftest.
$ac_objext \
10426 conftest
$ac_exeext conftest.
$ac_ext
10427 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10429 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10430 # Warning - without using the other run time loading flags,
10431 # -berok will link without error, but may produce a broken library.
10432 no_undefined_flag_CXX
=' ${wl}-bernotok'
10433 allow_undefined_flag_CXX
=' ${wl}-berok'
10434 # Exported symbols can be pulled into shared objects from archives
10435 whole_archive_flag_spec_CXX
='$convenience'
10436 archive_cmds_need_lc_CXX
=yes
10437 # This is similar to how AIX traditionally builds its shared libraries.
10438 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'
10444 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10445 allow_undefined_flag_CXX
=unsupported
10446 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10447 # support --undefined. This deserves some investigation. FIXME
10448 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10455 case $cc_basename in
10457 # FIXME: insert proper C++ library support
10463 cygwin
* | mingw
* | pw32
*)
10464 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10465 # as there is no search path for DLLs.
10466 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10467 allow_undefined_flag_CXX
=unsupported
10468 always_export_symbols_CXX
=no
10469 enable_shared_with_static_runtimes_CXX
=yes
10471 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10472 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'
10473 # If the export-symbols file already is a .def file (1st line
10474 # is EXPORTS), use it as is; otherwise, prepend...
10475 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10476 cp $export_symbols $output_objdir/$soname.def;
10478 echo EXPORTS > $output_objdir/$soname.def;
10479 cat $export_symbols >> $output_objdir/$soname.def;
10481 $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'
10486 darwin
* | rhapsody
*)
10488 rhapsody
* | darwin1.
[012])
10489 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10492 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10493 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10495 case ${MACOSX_DEPLOYMENT_TARGET} in
10497 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10500 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10506 archive_cmds_need_lc_CXX
=no
10507 hardcode_direct_CXX
=no
10508 hardcode_automatic_CXX
=yes
10509 hardcode_shlibpath_var_CXX
=unsupported
10510 whole_archive_flag_spec_CXX
=''
10511 link_all_deplibs_CXX
=yes
10513 if test "$GXX" = yes ; then
10514 lt_int_apple_cc_single_mod
=no
10515 output_verbose_link_cmd
='echo'
10516 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10517 lt_int_apple_cc_single_mod
=yes
10519 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10520 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10522 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'
10524 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10525 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10526 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10527 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}'
10529 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}'
10531 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}'
10533 case $cc_basename in
10535 output_verbose_link_cmd
='echo'
10536 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'
10537 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10538 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10539 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}'
10540 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}'
10550 case $cc_basename in
10552 # FIXME: insert proper C++ library support
10556 # Green Hills C++ Compiler
10557 # FIXME: insert proper C++ library support
10561 # FIXME: insert proper C++ library support
10567 # C++ shared libraries reported to be fairly broken before switch to ELF
10571 archive_cmds_need_lc_CXX
=no
10573 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10574 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10581 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10582 hardcode_libdir_separator_CXX
=:
10583 export_dynamic_flag_spec_CXX
='${wl}-E'
10584 hardcode_direct_CXX
=yes
10585 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10586 # but as the default
10587 # location of the library.
10589 case $cc_basename in
10591 # FIXME: insert proper C++ library support
10595 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'
10596 # Commands to make compiler produce verbose output that lists
10597 # what "hidden" libraries, object files and flags are used when
10598 # linking a shared library.
10600 # There doesn't appear to be a way to prevent this compiler from
10601 # explicitly linking system object files so we need to strip them
10602 # from the output so that they don't get included in the library
10604 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'
10607 if test "$GXX" = yes; then
10608 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'
10610 # FIXME: insert proper C++ library support
10617 if test $with_gnu_ld = no
; then
10618 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10619 hardcode_libdir_separator_CXX
=:
10623 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10626 export_dynamic_flag_spec_CXX
='${wl}-E'
10632 hardcode_direct_CXX
=no
10633 hardcode_shlibpath_var_CXX
=no
10636 hardcode_direct_CXX
=yes
10637 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10638 # but as the default
10639 # location of the library.
10643 case $cc_basename in
10645 # FIXME: insert proper C++ library support
10651 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10654 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10657 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10660 # Commands to make compiler produce verbose output that lists
10661 # what "hidden" libraries, object files and flags are used when
10662 # linking a shared library.
10664 # There doesn't appear to be a way to prevent this compiler from
10665 # explicitly linking system object files so we need to strip them
10666 # from the output so that they don't get included in the library
10668 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'
10671 if test "$GXX" = yes; then
10672 if test $with_gnu_ld = no
; then
10675 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10678 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10681 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'
10686 # FIXME: insert proper C++ library support
10693 hardcode_direct_CXX
=no
10694 hardcode_shlibpath_var_CXX
=no
10695 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10696 export_dynamic_flag_spec_CXX
='${wl}-E'
10697 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10698 # Instead, shared libraries are loaded at an image base (0x10000000 by
10699 # default) and relocated if they conflict, which is a slow very memory
10700 # consuming and fragmenting process. To avoid this, we pick a random,
10701 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10702 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10703 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'
10704 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'
10707 case $cc_basename in
10710 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'
10712 # Archives containing C++ object files must be created using
10713 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10714 # necessary to make sure instantiated templates are included
10716 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10719 if test "$GXX" = yes; then
10720 if test "$with_gnu_ld" = no
; then
10721 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'
10723 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'
10726 link_all_deplibs_CXX
=yes
10729 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10730 hardcode_libdir_separator_CXX
=:
10733 case $cc_basename in
10735 # Kuck and Associates, Inc. (KAI) C++ Compiler
10737 # KCC will only create a shared library if the output file
10738 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10739 # to its proper name (with version) after linking.
10740 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'
10741 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'
10742 # Commands to make compiler produce verbose output that lists
10743 # what "hidden" libraries, object files and flags are used when
10744 # linking a shared library.
10746 # There doesn't appear to be a way to prevent this compiler from
10747 # explicitly linking system object files so we need to strip them
10748 # from the output so that they don't get included in the library
10750 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'
10752 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10753 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10755 # Archives containing C++ object files must be created using
10756 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10757 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10762 # version 8.0 and above of icpc choke on multiply defined symbols
10763 # if we add $predep_objects and $postdep_objects, however 7.1 and
10764 # earlier do not add the objects themselves.
10765 case `$CC -V 2>&1` in
10767 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10768 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'
10770 *) # Version 8.0 or newer
10773 ia64
*) tmp_idyn
=' -i_dynamic';;
10775 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10776 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'
10779 archive_cmds_need_lc_CXX
=no
10780 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10781 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10782 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10785 # Portland Group C++ compiler
10786 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10787 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'
10789 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10790 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10791 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'
10795 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10796 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'
10798 runpath_var
=LD_RUN_PATH
10799 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10800 hardcode_libdir_separator_CXX
=:
10802 # Commands to make compiler produce verbose output that lists
10803 # what "hidden" libraries, object files and flags are used when
10804 # linking a shared library.
10806 # There doesn't appear to be a way to prevent this compiler from
10807 # explicitly linking system object files so we need to strip them
10808 # from the output so that they don't get included in the library
10810 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'
10815 # FIXME: insert proper C++ library support
10819 # FIXME: insert proper C++ library support
10823 case $cc_basename in
10825 # FIXME: insert proper C++ library support
10829 # FIXME: insert proper C++ library support
10835 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10836 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10838 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10839 hardcode_direct_CXX
=yes
10840 hardcode_shlibpath_var_CXX
=no
10842 # Workaround some broken pre-1.5 toolchains
10843 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10846 # C++ shared libraries are fairly broken
10850 hardcode_direct_CXX
=yes
10851 hardcode_shlibpath_var_CXX
=no
10852 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10853 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10854 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10855 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10856 export_dynamic_flag_spec_CXX
='${wl}-E'
10857 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10859 output_verbose_link_cmd
='echo'
10862 case $cc_basename in
10864 # Kuck and Associates, Inc. (KAI) C++ Compiler
10866 # KCC will only create a shared library if the output file
10867 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10868 # to its proper name (with version) after linking.
10869 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'
10871 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10872 hardcode_libdir_separator_CXX
=:
10874 # Archives containing C++ object files must be created using
10875 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10876 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10880 # Rational C++ 2.4.1
10881 # FIXME: insert proper C++ library support
10885 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10886 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'
10888 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10889 hardcode_libdir_separator_CXX
=:
10891 # Commands to make compiler produce verbose output that lists
10892 # what "hidden" libraries, object files and flags are used when
10893 # linking a shared library.
10895 # There doesn't appear to be a way to prevent this compiler from
10896 # explicitly linking system object files so we need to strip them
10897 # from the output so that they don't get included in the library
10899 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'
10902 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10903 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10904 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'
10906 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10907 hardcode_libdir_separator_CXX
=:
10909 # Commands to make compiler produce verbose output that lists
10910 # what "hidden" libraries, object files and flags are used when
10911 # linking a shared library.
10912 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10915 # FIXME: insert proper C++ library support
10922 case $cc_basename in
10924 # Kuck and Associates, Inc. (KAI) C++ Compiler
10926 # KCC will only create a shared library if the output file
10927 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10928 # to its proper name (with version) after linking.
10929 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'
10931 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10932 hardcode_libdir_separator_CXX
=:
10934 # Archives containing C++ object files must be created using
10935 # the KAI C++ compiler.
10936 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10939 # Rational C++ 2.4.1
10940 # FIXME: insert proper C++ library support
10944 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10945 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'
10946 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10947 echo "-hidden">> $lib.exp~
10948 $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~
10951 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10952 hardcode_libdir_separator_CXX
=:
10954 # Commands to make compiler produce verbose output that lists
10955 # what "hidden" libraries, object files and flags are used when
10956 # linking a shared library.
10958 # There doesn't appear to be a way to prevent this compiler from
10959 # explicitly linking system object files so we need to strip them
10960 # from the output so that they don't get included in the library
10962 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'
10965 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10966 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10967 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'
10969 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10970 hardcode_libdir_separator_CXX
=:
10972 # Commands to make compiler produce verbose output that lists
10973 # what "hidden" libraries, object files and flags are used when
10974 # linking a shared library.
10975 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10978 # FIXME: insert proper C++ library support
10985 # FIXME: insert proper C++ library support
10989 case $cc_basename in
10992 # FIXME: insert proper C++ library support
10997 # FIXME: insert proper C++ library support
11001 # FIXME: insert proper C++ library support
11007 case $cc_basename in
11009 # Sun C++ 4.2, 5.x and Centerline C++
11010 archive_cmds_need_lc_CXX
=yes
11011 no_undefined_flag_CXX
=' -zdefs'
11012 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11013 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11014 $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'
11016 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11017 hardcode_shlibpath_var_CXX
=no
11019 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11021 # The C++ compiler is used as linker so we must use $wl
11022 # flag to pass the commands to the underlying system
11023 # linker. We must also pass each convience library through
11024 # to the system linker between allextract/defaultextract.
11025 # The C++ compiler will combine linker options so we
11026 # cannot just pass the convience library names through
11028 # Supported since Solaris 2.6 (maybe 2.5.1?)
11029 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'
11032 link_all_deplibs_CXX
=yes
11034 output_verbose_link_cmd
='echo'
11036 # Archives containing C++ object files must be created using
11037 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11038 # necessary to make sure instantiated templates are included
11040 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11043 # Green Hills C++ Compiler
11044 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11046 # The C++ compiler must be used to create the archive.
11047 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11050 # GNU C++ compiler with Solaris linker
11051 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11052 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11053 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11054 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11055 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11056 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11058 # Commands to make compiler produce verbose output that lists
11059 # what "hidden" libraries, object files and flags are used when
11060 # linking a shared library.
11061 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11063 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11065 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11066 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11067 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11069 # Commands to make compiler produce verbose output that lists
11070 # what "hidden" libraries, object files and flags are used when
11071 # linking a shared library.
11072 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11075 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11080 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11081 no_undefined_flag_CXX
='${wl}-z,text'
11082 archive_cmds_need_lc_CXX
=no
11083 hardcode_shlibpath_var_CXX
=no
11084 runpath_var
='LD_RUN_PATH'
11086 case $cc_basename in
11088 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11089 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11092 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11093 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11097 sysv5
* | sco3.2v5
* | sco5v6
*)
11098 # Note: We can NOT use -z defs as we might desire, because we do not
11099 # link with -lc, and that would cause any symbols used from libc to
11100 # always be unresolved, which means just about no library would
11101 # ever link correctly. If we're not using GNU ld we use -z text
11102 # though, which does catch some bad symbols but isn't as heavy-handed
11104 # For security reasons, it is highly recommended that you always
11105 # use absolute paths for naming shared libraries, and exclude the
11106 # DT_RUNPATH tag from executables and libraries. But doing so
11107 # requires that you compile everything twice, which is a pain.
11108 # So that behaviour is only enabled if SCOABSPATH is set to a
11109 # non-empty value in the environment. Most likely only useful for
11110 # creating official distributions of packages.
11111 # This is a hack until libtool officially supports absolute path
11112 # names for shared libraries.
11113 no_undefined_flag_CXX
='${wl}-z,text'
11114 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11115 archive_cmds_need_lc_CXX
=no
11116 hardcode_shlibpath_var_CXX
=no
11117 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11118 hardcode_libdir_separator_CXX
=':'
11119 link_all_deplibs_CXX
=yes
11120 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11121 runpath_var
='LD_RUN_PATH'
11123 case $cc_basename in
11125 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11126 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11129 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11130 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11135 case $cc_basename in
11137 # NonStop-UX NCC 3.20
11138 # FIXME: insert proper C++ library support
11142 # FIXME: insert proper C++ library support
11148 # FIXME: insert proper C++ library support
11152 # FIXME: insert proper C++ library support
11156 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11157 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11158 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11164 cat > conftest.
$ac_ext <<EOF
11168 Foo (void) { a = 0; }
11174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11175 (eval $ac_compile) 2>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); }; then
11179 # Parse the compiler output and extract the necessary
11180 # objects, libraries and library flags.
11182 # Sentinel used to keep track of whether or not we are before
11183 # the conftest object file.
11184 pre_test_object_deps_done
=no
11186 # The `*' in the case matches for architectures that use `case' in
11187 # $output_verbose_cmd can trigger glob expansion during the loop
11188 # eval without this substitution.
11189 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11191 for p
in `eval $output_verbose_link_cmd`; do
11195 # Some compilers place space between "-{L,R}" and the path.
11196 # Remove the space.
11197 if test $p = "-L" \
11198 ||
test $p = "-R"; then
11205 if test "$pre_test_object_deps_done" = no
; then
11208 # Internal compiler library paths should come after those
11209 # provided the user. The postdeps already come after the
11210 # user supplied libs so there is no need to process them.
11211 if test -z "$compiler_lib_search_path_CXX"; then
11212 compiler_lib_search_path_CXX
="${prev}${p}"
11214 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11217 # The "-l" case would never come before the object being
11218 # linked, so don't bother handling this case.
11221 if test -z "$postdeps_CXX"; then
11222 postdeps_CXX
="${prev}${p}"
11224 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11230 # This assumes that the test object file only shows up
11231 # once in the compiler output.
11232 if test "$p" = "conftest.$objext"; then
11233 pre_test_object_deps_done
=yes
11237 if test "$pre_test_object_deps_done" = no
; then
11238 if test -z "$predep_objects_CXX"; then
11239 predep_objects_CXX
="$p"
11241 predep_objects_CXX
="$predep_objects_CXX $p"
11244 if test -z "$postdep_objects_CXX"; then
11245 postdep_objects_CXX
="$p"
11247 postdep_objects_CXX
="$postdep_objects_CXX $p"
11252 *) ;; # Ignore the rest.
11260 echo "libtool.m4: error: problem compiling CXX test program"
11263 $rm -f confest.
$objext
11265 # PORTME: override above test on systems where it is broken
11268 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11269 # hack all around it, let's just trust "g++" to DTRT.
11270 predep_objects_CXX
=
11271 postdep_objects_CXX
=
11276 case $cc_basename in
11278 # Adding this requires a known-good setup of shared libraries for
11279 # Sun compiler versions before 5.6, else PIC objects from an old
11280 # archive will be linked into the output, leading to subtle bugs.
11281 postdeps_CXX
='-lCstd -lCrun'
11288 case " $postdeps_CXX " in
11289 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11292 lt_prog_compiler_wl_CXX
=
11293 lt_prog_compiler_pic_CXX
=
11294 lt_prog_compiler_static_CXX
=
11296 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11297 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11299 # C++ specific cases for pic, static, wl, etc.
11300 if test "$GXX" = yes; then
11301 lt_prog_compiler_wl_CXX
='-Wl,'
11302 lt_prog_compiler_static_CXX
='-static'
11306 # All AIX code is PIC.
11307 if test "$host_cpu" = ia64
; then
11308 # AIX 5 now supports IA64 processor
11309 lt_prog_compiler_static_CXX
='-Bstatic'
11313 # FIXME: we need at least 68020 code to build shared libraries, but
11314 # adding the `-m68020' flag to GCC prevents building anything better,
11316 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11318 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11319 # PIC is the default for these OSes.
11321 mingw
* | os2
* | pw32
*)
11322 # This hack is so that the source file can tell whether it is being
11323 # built for inclusion in a dll (and should export symbols for example).
11324 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11326 darwin
* | rhapsody
*)
11327 # PIC is the default on this platform
11328 # Common symbols not allowed in MH_DYLIB files
11329 lt_prog_compiler_pic_CXX
='-fno-common'
11332 # DJGPP does not support shared libraries at all
11333 lt_prog_compiler_pic_CXX
=
11336 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11337 # Instead, we relocate shared libraries at runtime.
11340 if test -d /usr
/nec
; then
11341 lt_prog_compiler_pic_CXX
=-Kconform_pic
11345 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11346 # not for PA HP-UX.
11351 lt_prog_compiler_pic_CXX
='-fPIC'
11356 lt_prog_compiler_pic_CXX
='-fPIC'
11362 # All AIX code is PIC.
11363 if test "$host_cpu" = ia64
; then
11364 # AIX 5 now supports IA64 processor
11365 lt_prog_compiler_static_CXX
='-Bstatic'
11367 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11371 case $cc_basename in
11373 # Green Hills C++ Compiler
11374 # _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"
11379 # PIC is the default on this platform
11380 # Common symbols not allowed in MH_DYLIB files
11381 case $cc_basename in
11383 lt_prog_compiler_pic_CXX
='-qnocommon'
11384 lt_prog_compiler_wl_CXX
='-Wl,'
11389 case $cc_basename in
11391 lt_prog_compiler_pic_CXX
='-KPIC'
11394 # Green Hills C++ Compiler
11395 lt_prog_compiler_pic_CXX
='-pic'
11401 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11402 # FreeBSD uses GNU C++
11404 hpux9
* | hpux10
* | hpux11
*)
11405 case $cc_basename in
11407 lt_prog_compiler_wl_CXX
='-Wl,'
11408 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11409 if test "$host_cpu" != ia64
; then
11410 lt_prog_compiler_pic_CXX
='+Z'
11414 lt_prog_compiler_wl_CXX
='-Wl,'
11415 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11421 lt_prog_compiler_pic_CXX
='+Z'
11430 # This is c89, which is MS Visual C++ (no shared libs)
11431 # Anyone wants to do a port?
11433 irix5
* | irix6
* | nonstopux
*)
11434 case $cc_basename in
11436 lt_prog_compiler_wl_CXX
='-Wl,'
11437 lt_prog_compiler_static_CXX
='-non_shared'
11438 # CC pic flag -KPIC is the default.
11445 case $cc_basename in
11448 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11449 lt_prog_compiler_pic_CXX
='-fPIC'
11453 lt_prog_compiler_wl_CXX
='-Wl,'
11454 lt_prog_compiler_pic_CXX
='-KPIC'
11455 lt_prog_compiler_static_CXX
='-static'
11458 # Portland Group C++ compiler.
11459 lt_prog_compiler_wl_CXX
='-Wl,'
11460 lt_prog_compiler_pic_CXX
='-fpic'
11461 lt_prog_compiler_static_CXX
='-Bstatic'
11465 # Make sure the PIC flag is empty. It appears that all Alpha
11466 # Linux and Compaq Tru64 Unix objects are PIC.
11467 lt_prog_compiler_pic_CXX
=
11468 lt_prog_compiler_static_CXX
='-non_shared'
11479 case $cc_basename in
11481 lt_prog_compiler_pic_CXX
='-W c,exportall'
11489 osf3
* | osf4
* | osf5
*)
11490 case $cc_basename in
11492 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11495 # Rational C++ 2.4.1
11496 lt_prog_compiler_pic_CXX
='-pic'
11499 # Digital/Compaq C++
11500 lt_prog_compiler_wl_CXX
='-Wl,'
11501 # Make sure the PIC flag is empty. It appears that all Alpha
11502 # Linux and Compaq Tru64 Unix objects are PIC.
11503 lt_prog_compiler_pic_CXX
=
11504 lt_prog_compiler_static_CXX
='-non_shared'
11513 case $cc_basename in
11515 # Sun C++ 4.2, 5.x and Centerline C++
11516 lt_prog_compiler_pic_CXX
='-KPIC'
11517 lt_prog_compiler_static_CXX
='-Bstatic'
11518 lt_prog_compiler_wl_CXX
='-Qoption ld '
11521 # Green Hills C++ Compiler
11522 lt_prog_compiler_pic_CXX
='-PIC'
11529 case $cc_basename in
11532 lt_prog_compiler_pic_CXX
='-pic'
11533 lt_prog_compiler_static_CXX
='-Bstatic'
11537 lt_prog_compiler_pic_CXX
='-pic'
11544 case $cc_basename in
11546 # NonStop-UX NCC 3.20
11547 lt_prog_compiler_pic_CXX
='-KPIC'
11553 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11554 case $cc_basename in
11556 lt_prog_compiler_wl_CXX
='-Wl,'
11557 lt_prog_compiler_pic_CXX
='-KPIC'
11558 lt_prog_compiler_static_CXX
='-Bstatic'
11565 lt_prog_compiler_can_build_shared_CXX
=no
11570 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11571 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11574 # Check to make sure the PIC flag actually works.
11576 if test -n "$lt_prog_compiler_pic_CXX"; then
11578 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11579 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11580 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11581 echo $ECHO_N "(cached) $ECHO_C" >&6
11583 lt_prog_compiler_pic_works_CXX
=no
11584 ac_outfile
=conftest.
$ac_objext
11585 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11586 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11587 # Insert the option either (1) after the last *FLAGS variable, or
11588 # (2) before a word containing "conftest.", or (3) at the end.
11589 # Note that $ac_compile itself does not contain backslashes and begins
11590 # with a dollar sign (not a hyphen), so the echo should work correctly.
11591 # The option is referenced via a variable to avoid confusing sed.
11592 lt_compile
=`echo "$ac_compile" | $SED \
11593 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11594 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11595 -e 's:$: $lt_compiler_flag:'`
11596 (eval echo "\"\$as_me:11596: $lt_compile\"" >&5)
11597 (eval "$lt_compile" 2>conftest.err
)
11599 cat conftest.err
>&5
11600 echo "$as_me:11600: \$? = $ac_status" >&5
11601 if (exit $ac_status) && test -s "$ac_outfile"; then
11602 # The compiler can only warn and ignore the option if not recognized
11603 # So say no if there are warnings other than the usual output.
11604 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11605 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11606 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11607 lt_prog_compiler_pic_works_CXX
=yes
11613 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11614 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11616 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11617 case $lt_prog_compiler_pic_CXX in
11619 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11622 lt_prog_compiler_pic_CXX
=
11623 lt_prog_compiler_can_build_shared_CXX
=no
11628 # For platforms which do not support PIC, -DPIC is meaningless:
11630 lt_prog_compiler_pic_CXX
=
11633 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11638 # Check to make sure the static flag actually works.
11640 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11641 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11642 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11643 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6
11646 lt_prog_compiler_static_works_CXX
=no
11647 save_LDFLAGS
="$LDFLAGS"
11648 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11649 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11650 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11651 # The linker can only warn and ignore the option if not recognized
11652 # So say no if there are warnings
11653 if test -s conftest.err
; then
11654 # Append any errors to the config.log.
11655 cat conftest.err
1>&5
11656 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11657 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11658 if diff conftest.exp conftest.er2
>/dev
/null
; then
11659 lt_prog_compiler_static_works_CXX
=yes
11662 lt_prog_compiler_static_works_CXX
=yes
11666 LDFLAGS
="$save_LDFLAGS"
11669 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11670 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11672 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11675 lt_prog_compiler_static_CXX
=
11679 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11680 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11681 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 lt_cv_prog_compiler_c_o_CXX
=no
11685 $rm -r conftest
2>/dev
/null
11689 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11691 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11692 # Insert the option either (1) after the last *FLAGS variable, or
11693 # (2) before a word containing "conftest.", or (3) at the end.
11694 # Note that $ac_compile itself does not contain backslashes and begins
11695 # with a dollar sign (not a hyphen), so the echo should work correctly.
11696 lt_compile
=`echo "$ac_compile" | $SED \
11697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11699 -e 's:$: $lt_compiler_flag:'`
11700 (eval echo "\"\$as_me:11700: $lt_compile\"" >&5)
11701 (eval "$lt_compile" 2>out
/conftest.err
)
11703 cat out
/conftest.err
>&5
11704 echo "$as_me:11704: \$? = $ac_status" >&5
11705 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11707 # The compiler can only warn and ignore the option if not recognized
11708 # So say no if there are warnings
11709 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11710 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11711 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11712 lt_cv_prog_compiler_c_o_CXX
=yes
11717 # SGI C++ compiler will create directory out/ii_files/ for
11718 # template instantiation
11719 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11720 $rm out
/* && rmdir out
11726 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11727 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11730 hard_links
="nottested"
11731 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11732 # do not overwrite the value of need_locks provided by the user
11733 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11734 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11737 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11739 ln conftest.a conftest.b
2>&5 || hard_links
=no
11740 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11741 echo "$as_me:$LINENO: result: $hard_links" >&5
11742 echo "${ECHO_T}$hard_links" >&6
11743 if test "$hard_links" = no
; then
11744 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11745 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11752 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11753 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11755 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11758 # If we're using GNU nm, then we don't want the "-C" option.
11759 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11760 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11761 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'
11763 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'
11767 export_symbols_cmds_CXX
="$ltdll_cmds"
11770 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'
11773 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11777 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11778 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11779 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11782 # Do we need to explicitly link libc?
11784 case "x$archive_cmds_need_lc_CXX" in
11786 # Assume -lc should be added
11787 archive_cmds_need_lc_CXX
=yes
11789 if test "$enable_shared" = yes && test "$GCC" = yes; then
11790 case $archive_cmds_CXX in
11792 # FIXME: we may have to deal with multi-command sequences.
11795 # Test whether the compiler implicitly links with -lc since on some
11796 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11797 # to ld, don't add -lc before -lgcc.
11798 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11799 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11801 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11804 (eval $ac_compile) 2>&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); } 2>conftest.err
; then
11810 libobjs
=conftest.
$ac_objext
11812 wl
=$lt_prog_compiler_wl_CXX
11813 pic_flag
=$lt_prog_compiler_pic_CXX
11819 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11820 allow_undefined_flag_CXX
=
11821 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11822 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); }
11827 archive_cmds_need_lc_CXX
=no
11829 archive_cmds_need_lc_CXX
=yes
11831 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11833 cat conftest.err
1>&5
11836 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11837 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11844 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11845 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11846 library_names_spec
=
11847 libname_spec
='lib$name'
11851 postuninstall_cmds
=
11855 shlibpath_overrides_runpath
=unknown
11857 dynamic_linker
="$host_os ld.so"
11858 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11859 if test "$GCC" = yes; then
11860 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11861 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11862 # if the path contains ";" then we assume it to be the separator
11863 # otherwise default to the standard path separator (i.e. ":") - it is
11864 # assumed that no part of a normal pathname contains ";" but that should
11865 # okay in the real world where ";" in dirpaths is itself problematic.
11866 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11868 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11871 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11873 need_lib_prefix
=unknown
11874 hardcode_into_libs
=no
11876 # when you set need_version to no, make sure it does not cause -set_version
11877 # flags to be left without arguments
11878 need_version
=unknown
11883 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11884 shlibpath_var
=LIBPATH
11886 # AIX 3 has no versioning support, so we append a major version to the name.
11887 soname_spec
='${libname}${release}${shared_ext}$major'
11894 hardcode_into_libs
=yes
11895 if test "$host_cpu" = ia64
; then
11896 # AIX 5 supports IA64
11897 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11898 shlibpath_var
=LD_LIBRARY_PATH
11900 # With GCC up to 2.95.x, collect2 would create an import file
11901 # for dependence libraries. The import file would start with
11902 # the line `#! .'. This would cause the generated library to
11903 # depend on `.', always an invalid library. This was fixed in
11904 # development snapshots of GCC prior to 3.0.
11906 aix4 | aix4.
[01] | aix4.
[01].
*)
11907 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11909 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11912 can_build_shared
=no
11916 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11917 # soname into executable. Probably we can add versioning support to
11918 # collect2, so additional links can be useful in future.
11919 if test "$aix_use_runtimelinking" = yes; then
11920 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11921 # instead of lib<name>.a to let people know that these are not
11922 # typical AIX shared libraries.
11923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11925 # We preserve .a as extension for shared libraries through AIX4.2
11926 # and later when we are not doing run time linking.
11927 library_names_spec
='${libname}${release}.a $libname.a'
11928 soname_spec
='${libname}${release}${shared_ext}$major'
11930 shlibpath_var
=LIBPATH
11935 library_names_spec
='$libname.ixlibrary $libname.a'
11936 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11937 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'
11941 library_names_spec
='${libname}${shared_ext}'
11942 dynamic_linker
="$host_os ld.so"
11943 shlibpath_var
=LIBRARY_PATH
11949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11950 soname_spec
='${libname}${release}${shared_ext}$major'
11951 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11952 shlibpath_var
=LD_LIBRARY_PATH
11953 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11954 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11955 # the default ld.so.conf also contains /usr/contrib/lib and
11956 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11957 # libtool to hard-code these into programs
11960 cygwin
* | mingw
* | pw32
*)
11961 version_type
=windows
11966 case $GCC,$host_os in
11967 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11968 library_names_spec
='$libname.dll.a'
11969 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11970 postinstall_cmds
='base_file=`basename \${file}`~
11971 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11972 dldir=$destdir/`dirname \$dlpath`~
11973 test -d \$dldir || mkdir -p \$dldir~
11974 $install_prog $dir/$dlname \$dldir/$dlname~
11975 chmod a+x \$dldir/$dlname'
11976 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11977 dlpath=$dir/\$dldll~
11979 shlibpath_overrides_runpath
=yes
11983 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11984 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11985 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11988 # MinGW DLLs use traditional 'lib' prefix
11989 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11990 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11991 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11992 # It is most probably a Windows format PATH printed by
11993 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11994 # path with ; separators, and with drive letters. We can handle the
11995 # drive letters (cygwin fileutils understands them), so leave them,
11996 # especially as we might pass files found there to a mingw objdump,
11997 # which wouldn't understand a cygwinified path. Ahh.
11998 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12000 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12004 # pw32 DLLs use 'pw' prefix rather than 'lib'
12005 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12011 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12014 dynamic_linker
='Win32 ld.exe'
12015 # FIXME: first we should search . and the directory the executable is in
12019 darwin
* | rhapsody
*)
12020 dynamic_linker
="$host_os dyld"
12021 version_type
=darwin
12024 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12025 soname_spec
='${libname}${release}${major}$shared_ext'
12026 shlibpath_overrides_runpath
=yes
12027 shlibpath_var
=DYLD_LIBRARY_PATH
12028 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12029 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12030 if test "$GCC" = yes; then
12031 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"`
12033 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12035 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12043 soname_spec
='${libname}${release}${shared_ext}$major'
12044 shlibpath_var
=LD_LIBRARY_PATH
12055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12056 soname_spec
='${libname}${release}${shared_ext}$major'
12057 shlibpath_var
=LD_LIBRARY_PATH
12058 shlibpath_overrides_runpath
=no
12059 hardcode_into_libs
=yes
12060 dynamic_linker
='GNU ld.so'
12063 freebsd
* | dragonfly
*)
12064 # DragonFly does not have aout. When/if they implement a new
12065 # versioning mechanism, adjust this.
12066 if test -x /usr
/bin
/objformat
; then
12067 objformat
=`/usr/bin/objformat`
12070 freebsd
[123]*) objformat
=aout
;;
12071 *) objformat
=elf
;;
12074 version_type
=freebsd-
$objformat
12075 case $version_type in
12077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12082 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12086 shlibpath_var
=LD_LIBRARY_PATH
12089 shlibpath_overrides_runpath
=yes
12091 freebsd3.
[01]* | freebsdelf3.
[01]*)
12092 shlibpath_overrides_runpath
=yes
12093 hardcode_into_libs
=yes
12095 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12096 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12097 shlibpath_overrides_runpath
=no
12098 hardcode_into_libs
=yes
12100 freebsd
*) # from 4.6 on
12101 shlibpath_overrides_runpath
=yes
12102 hardcode_into_libs
=yes
12111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12112 soname_spec
='${libname}${release}${shared_ext}$major'
12113 shlibpath_var
=LD_LIBRARY_PATH
12114 hardcode_into_libs
=yes
12117 hpux9
* | hpux10
* | hpux11
*)
12118 # Give a soname corresponding to the major version so that dld.sl refuses to
12119 # link against other versions.
12126 hardcode_into_libs
=yes
12127 dynamic_linker
="$host_os dld.so"
12128 shlibpath_var
=LD_LIBRARY_PATH
12129 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12131 soname_spec
='${libname}${release}${shared_ext}$major'
12132 if test "X$HPUX_IA64_MODE" = X32
; then
12133 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12135 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12137 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12141 hardcode_into_libs
=yes
12142 dynamic_linker
="$host_os dld.sl"
12143 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12144 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12146 soname_spec
='${libname}${release}${shared_ext}$major'
12147 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12148 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12152 dynamic_linker
="$host_os dld.sl"
12153 shlibpath_var
=SHLIB_PATH
12154 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12156 soname_spec
='${libname}${release}${shared_ext}$major'
12159 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12160 postinstall_cmds
='chmod 555 $lib'
12167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12168 soname_spec
='${libname}${release}${shared_ext}$major'
12169 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12170 shlibpath_var
=LD_LIBRARY_PATH
12171 shlibpath_overrides_runpath
=no
12172 hardcode_into_libs
=yes
12175 irix5
* | irix6
* | nonstopux
*)
12177 nonstopux
*) version_type
=nonstopux
;;
12179 if test "$lt_cv_prog_gnu_ld" = yes; then
12187 soname_spec
='${libname}${release}${shared_ext}$major'
12188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12190 irix5
* | nonstopux
*)
12191 libsuff
= shlibsuff
=
12194 case $LD in # libtool.m4 will add one of these switches to LD
12195 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12196 libsuff
= shlibsuff
= libmagic
=32-bit;;
12197 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12198 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12199 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12200 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12201 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12205 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12206 shlibpath_overrides_runpath
=no
12207 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12208 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12209 hardcode_into_libs
=yes
12212 # No shared lib support for Linux oldld, aout, or coff.
12213 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12217 # This must be Linux ELF.
12222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12223 soname_spec
='${libname}${release}${shared_ext}$major'
12224 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12225 shlibpath_var
=LD_LIBRARY_PATH
12226 shlibpath_overrides_runpath
=no
12227 # This implies no fast_install, which is unacceptable.
12228 # Some rework will be needed to allow for fast_install
12229 # before this can be enabled.
12230 hardcode_into_libs
=yes
12232 # find out which ABI we are using
12234 case "$host_cpu" in
12235 x86_64
*|s390x
*|powerpc64
*)
12236 echo '#line 12236 "configure"' > conftest.
$ac_ext
12237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12238 (eval $ac_compile) 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; then
12242 case `/usr/bin/file conftest.$ac_objext` in
12245 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12253 # Append ld.so.conf contents to the search path
12254 if test -f /etc
/ld.so.conf
; then
12255 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' ' '`
12256 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12259 # We used to test for /lib/ld.so.1 and disable shared libraries on
12260 # powerpc, because MkLinux only supported shared libraries with the
12261 # GNU dynamic linker. Since this was broken with cross compilers,
12262 # most powerpc-linux boxes support dynamic linking these days and
12263 # people can always --disable-shared, the test was removed, and we
12264 # assume the GNU/Linux dynamic linker is in use.
12265 dynamic_linker
='GNU/Linux ld.so'
12272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12273 soname_spec
='${libname}${release}${shared_ext}$major'
12274 shlibpath_var
=LD_LIBRARY_PATH
12275 shlibpath_overrides_runpath
=no
12276 hardcode_into_libs
=yes
12277 dynamic_linker
='GNU ld.so'
12284 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12286 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12287 dynamic_linker
='NetBSD (a.out) ld.so'
12289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12290 soname_spec
='${libname}${release}${shared_ext}$major'
12291 dynamic_linker
='NetBSD ld.elf_so'
12293 shlibpath_var
=LD_LIBRARY_PATH
12294 shlibpath_overrides_runpath
=yes
12295 hardcode_into_libs
=yes
12300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12301 shlibpath_var
=LD_LIBRARY_PATH
12302 shlibpath_overrides_runpath
=yes
12309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12310 soname_spec
='${libname}${release}${shared_ext}$major'
12311 shlibpath_var
=LD_LIBRARY_PATH
12312 shlibpath_overrides_runpath
=yes
12317 sys_lib_dlsearch_path_spec
="/usr/lib"
12319 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12321 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12322 *) need_version
=no
;;
12324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12325 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12326 shlibpath_var
=LD_LIBRARY_PATH
12327 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12329 openbsd2.
[89] | openbsd2.
[89].
*)
12330 shlibpath_overrides_runpath
=no
12333 shlibpath_overrides_runpath
=yes
12337 shlibpath_overrides_runpath
=yes
12342 libname_spec
='$name'
12345 library_names_spec
='$libname${shared_ext} $libname.a'
12346 dynamic_linker
='OS/2 ld.exe'
12347 shlibpath_var
=LIBPATH
12350 osf3
* | osf4
* | osf5
*)
12354 soname_spec
='${libname}${release}${shared_ext}$major'
12355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12356 shlibpath_var
=LD_LIBRARY_PATH
12357 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12358 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12366 soname_spec
='${libname}${release}${shared_ext}$major'
12367 shlibpath_var
=LD_LIBRARY_PATH
12368 shlibpath_overrides_runpath
=yes
12369 hardcode_into_libs
=yes
12370 # ldd complains unless libraries are executable
12371 postinstall_cmds
='chmod +x $lib'
12376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12377 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12378 shlibpath_var
=LD_LIBRARY_PATH
12379 shlibpath_overrides_runpath
=yes
12380 if test "$with_gnu_ld" = yes; then
12388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12389 soname_spec
='${libname}${release}${shared_ext}$major'
12390 shlibpath_var
=LD_LIBRARY_PATH
12391 case $host_vendor in
12393 shlibpath_overrides_runpath
=no
12395 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12396 runpath_var
=LD_RUN_PATH
12404 shlibpath_overrides_runpath
=no
12405 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12411 if test -d /usr
/nec
;then
12413 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12414 soname_spec
='$libname${shared_ext}.$major'
12415 shlibpath_var
=LD_LIBRARY_PATH
12419 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12420 version_type
=freebsd-elf
12423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12424 soname_spec
='${libname}${release}${shared_ext}$major'
12425 shlibpath_var
=LD_LIBRARY_PATH
12426 hardcode_into_libs
=yes
12427 if test "$with_gnu_ld" = yes; then
12428 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12429 shlibpath_overrides_runpath
=no
12431 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12432 shlibpath_overrides_runpath
=yes
12435 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12439 sys_lib_dlsearch_path_spec
='/usr/lib'
12444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12445 soname_spec
='${libname}${release}${shared_ext}$major'
12446 shlibpath_var
=LD_LIBRARY_PATH
12453 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12454 echo "${ECHO_T}$dynamic_linker" >&6
12455 test "$dynamic_linker" = no
&& can_build_shared
=no
12457 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12458 if test "$GCC" = yes; then
12459 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12462 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12463 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12464 hardcode_action_CXX
=
12465 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12466 test -n "$runpath_var_CXX" || \
12467 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12469 # We can hardcode non-existant directories.
12470 if test "$hardcode_direct_CXX" != no
&&
12471 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12472 # have to relink, otherwise we might link with an installed library
12473 # when we should be linking with a yet-to-be-installed one
12474 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12475 test "$hardcode_minus_L_CXX" != no
; then
12476 # Linking always hardcodes the temporary library directory.
12477 hardcode_action_CXX
=relink
12479 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12480 hardcode_action_CXX
=immediate
12483 # We cannot hardcode anything, or else we can only hardcode existing
12485 hardcode_action_CXX
=unsupported
12487 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12488 echo "${ECHO_T}$hardcode_action_CXX" >&6
12490 if test "$hardcode_action_CXX" = relink
; then
12491 # Fast installation is not supported
12492 enable_fast_install
=no
12493 elif test "$shlibpath_overrides_runpath" = yes ||
12494 test "$enable_shared" = no
; then
12495 # Fast installation is not necessary
12496 enable_fast_install
=needless
12500 # The else clause should only fire when bootstrapping the
12501 # libtool distribution, otherwise you forgot to ship ltmain.sh
12502 # with your package, and you will get complaints that there are
12503 # no rules to generate ltmain.sh.
12504 if test -f "$ltmain"; then
12505 # See if we are running on zsh, and set the options which allow our commands through
12506 # without removal of \ escapes.
12507 if test -n "${ZSH_VERSION+set}" ; then
12508 setopt NO_GLOB_SUBST
12510 # Now quote all the things that may contain metacharacters while being
12511 # careful not to overquote the AC_SUBSTed values. We take copies of the
12512 # variables and quote the copies for generation of the libtool script.
12513 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12515 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12516 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12517 deplibs_check_method reload_flag reload_cmds need_locks \
12518 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12519 lt_cv_sys_global_symbol_to_c_name_address \
12520 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12521 old_postinstall_cmds old_postuninstall_cmds \
12525 lt_prog_compiler_wl_CXX \
12526 lt_prog_compiler_pic_CXX \
12527 lt_prog_compiler_static_CXX \
12528 lt_prog_compiler_no_builtin_flag_CXX \
12529 export_dynamic_flag_spec_CXX \
12530 thread_safe_flag_spec_CXX \
12531 whole_archive_flag_spec_CXX \
12532 enable_shared_with_static_runtimes_CXX \
12533 old_archive_cmds_CXX \
12534 old_archive_from_new_cmds_CXX \
12535 predep_objects_CXX \
12536 postdep_objects_CXX \
12539 compiler_lib_search_path_CXX \
12541 archive_expsym_cmds_CXX \
12542 postinstall_cmds_CXX \
12543 postuninstall_cmds_CXX \
12544 old_archive_from_expsyms_cmds_CXX \
12545 allow_undefined_flag_CXX \
12546 no_undefined_flag_CXX \
12547 export_symbols_cmds_CXX \
12548 hardcode_libdir_flag_spec_CXX \
12549 hardcode_libdir_flag_spec_ld_CXX \
12550 hardcode_libdir_separator_CXX \
12551 hardcode_automatic_CXX \
12553 module_expsym_cmds_CXX \
12554 lt_cv_prog_compiler_c_o_CXX \
12555 exclude_expsyms_CXX \
12556 include_expsyms_CXX
; do
12559 old_archive_cmds_CXX | \
12560 old_archive_from_new_cmds_CXX | \
12561 archive_cmds_CXX | \
12562 archive_expsym_cmds_CXX | \
12563 module_cmds_CXX | \
12564 module_expsym_cmds_CXX | \
12565 old_archive_from_expsyms_cmds_CXX | \
12566 export_symbols_cmds_CXX | \
12567 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12568 postinstall_cmds | postuninstall_cmds | \
12569 old_postinstall_cmds | old_postuninstall_cmds | \
12570 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12571 # Double-quote double-evaled strings.
12572 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12575 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12581 *'\$0 --fallback-echo"')
12582 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12588 cat <<__EOF__ >> "$cfgfile"
12589 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12591 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12593 # Shell to use when invoking shell scripts.
12596 # Whether or not to build shared libraries.
12597 build_libtool_libs=$enable_shared
12599 # Whether or not to build static libraries.
12600 build_old_libs=$enable_static
12602 # Whether or not to add -lc for building shared libraries.
12603 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12605 # Whether or not to disallow shared libs when runtime libs are static
12606 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12608 # Whether or not to optimize for fast installation.
12609 fast_install=$enable_fast_install
12612 host_alias=$host_alias
12616 # The build system.
12617 build_alias=$build_alias
12621 # An echo program that does not interpret backslashes.
12626 AR_FLAGS=$lt_AR_FLAGS
12631 # LTCC compiler flags.
12632 LTCFLAGS=$lt_LTCFLAGS
12634 # A language-specific compiler.
12635 CC=$lt_compiler_CXX
12637 # Is the compiler the GNU C compiler?
12640 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12641 gcc_ver=\`gcc -dumpversion\`
12646 # The linker used to build libraries.
12649 # Whether we need hard or soft links.
12652 # A BSD-compatible nm program.
12655 # A symbol stripping program
12658 # Used to examine libraries when file_magic_cmd begins "file"
12659 MAGIC_CMD=$MAGIC_CMD
12661 # Used on cygwin: DLL creation program.
12664 # Used on cygwin: object dumper.
12667 # Used on cygwin: assembler.
12670 # The name of the directory that contains temporary libtool files.
12673 # How to create reloadable object files.
12674 reload_flag=$lt_reload_flag
12675 reload_cmds=$lt_reload_cmds
12677 # How to pass a linker flag through the compiler.
12678 wl=$lt_lt_prog_compiler_wl_CXX
12680 # Object file suffix (normally "o").
12681 objext="$ac_objext"
12683 # Old archive suffix (normally "a").
12686 # Shared library suffix (normally ".so").
12687 shrext_cmds='$shrext_cmds'
12689 # Executable file suffix (normally "").
12692 # Additional compiler flags for building library objects.
12693 pic_flag=$lt_lt_prog_compiler_pic_CXX
12696 # What is the maximum length of a command?
12697 max_cmd_len=$lt_cv_sys_max_cmd_len
12699 # Does compiler simultaneously support -c and -o options?
12700 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12702 # Must we lock files when doing compilation?
12703 need_locks=$lt_need_locks
12705 # Do we need the lib prefix for modules?
12706 need_lib_prefix=$need_lib_prefix
12708 # Do we need a version for libraries?
12709 need_version=$need_version
12711 # Whether dlopen is supported.
12712 dlopen_support=$enable_dlopen
12714 # Whether dlopen of programs is supported.
12715 dlopen_self=$enable_dlopen_self
12717 # Whether dlopen of statically linked programs is supported.
12718 dlopen_self_static=$enable_dlopen_self_static
12720 # Compiler flag to prevent dynamic linking.
12721 link_static_flag=$lt_lt_prog_compiler_static_CXX
12723 # Compiler flag to turn off builtin functions.
12724 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12726 # Compiler flag to allow reflexive dlopens.
12727 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12729 # Compiler flag to generate shared objects directly from archives.
12730 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12732 # Compiler flag to generate thread-safe objects.
12733 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12735 # Library versioning type.
12736 version_type=$version_type
12738 # Format of library name prefix.
12739 libname_spec=$lt_libname_spec
12741 # List of archive names. First name is the real one, the rest are links.
12742 # The last name is the one that the linker finds with -lNAME.
12743 library_names_spec=$lt_library_names_spec
12745 # The coded name of the library, if different from the real name.
12746 soname_spec=$lt_soname_spec
12748 # Commands used to build and install an old-style archive.
12750 old_archive_cmds=$lt_old_archive_cmds_CXX
12751 old_postinstall_cmds=$lt_old_postinstall_cmds
12752 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12754 # Create an old-style archive from a shared archive.
12755 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12757 # Create a temporary old-style archive to link instead of a shared archive.
12758 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12760 # Commands used to build and install a shared archive.
12761 archive_cmds=$lt_archive_cmds_CXX
12762 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12763 postinstall_cmds=$lt_postinstall_cmds
12764 postuninstall_cmds=$lt_postuninstall_cmds
12766 # Commands used to build a loadable module (assumed same as above if empty)
12767 module_cmds=$lt_module_cmds_CXX
12768 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12770 # Commands to strip libraries.
12771 old_striplib=$lt_old_striplib
12772 striplib=$lt_striplib
12774 # Dependencies to place before the objects being linked to create a
12776 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12778 # Dependencies to place after the objects being linked to create a
12780 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12782 # Dependencies to place before the objects being linked to create a
12784 predeps=$lt_predeps_CXX
12786 # Dependencies to place after the objects being linked to create a
12788 postdeps=$lt_postdeps_CXX
12790 # The library search path used internally by the compiler when linking
12791 # a shared library.
12792 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"\`
12794 # Method to check whether dependent libraries are shared objects.
12795 deplibs_check_method=$lt_deplibs_check_method
12797 # Command to use when deplibs_check_method == file_magic.
12798 file_magic_cmd=$lt_file_magic_cmd
12800 # Flag that allows shared libraries with undefined symbols to be built.
12801 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12803 # Flag that forces no undefined symbols.
12804 no_undefined_flag=$lt_no_undefined_flag_CXX
12806 # Commands used to finish a libtool library installation in a directory.
12807 finish_cmds=$lt_finish_cmds
12809 # Same as above, but a single script fragment to be evaled but not shown.
12810 finish_eval=$lt_finish_eval
12812 # Take the output of nm and produce a listing of raw symbols and C names.
12813 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12815 # Transform the output of nm in a proper C declaration
12816 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12818 # Transform the output of nm in a C name address pair
12819 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12821 # This is the shared library runtime path variable.
12822 runpath_var=$runpath_var
12824 # This is the shared library path variable.
12825 shlibpath_var=$shlibpath_var
12827 # Is shlibpath searched before the hard-coded library search path?
12828 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12830 # How to hardcode a shared library path into an executable.
12831 hardcode_action=$hardcode_action_CXX
12833 # Whether we should hardcode library paths into libraries.
12834 hardcode_into_libs=$hardcode_into_libs
12836 # Flag to hardcode \$libdir into a binary during linking.
12837 # This must work even if \$libdir does not exist.
12838 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12840 # If ld is used when linking, flag to hardcode \$libdir into
12841 # a binary during linking. This must work even if \$libdir does
12843 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12845 # Whether we need a single -rpath flag with a separated argument.
12846 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12848 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12849 # resulting binary.
12850 hardcode_direct=$hardcode_direct_CXX
12852 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12853 # resulting binary.
12854 hardcode_minus_L=$hardcode_minus_L_CXX
12856 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12857 # the resulting binary.
12858 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12860 # Set to yes if building a shared library automatically hardcodes DIR into the library
12861 # and all subsequent libraries and executables linked against it.
12862 hardcode_automatic=$hardcode_automatic_CXX
12864 # Variables whose values should be saved in libtool wrapper scripts and
12865 # restored at relink time.
12866 variables_saved_for_relink="$variables_saved_for_relink"
12868 # Whether libtool must link a program against all its dependency libraries.
12869 link_all_deplibs=$link_all_deplibs_CXX
12871 # Compile-time system search path for libraries
12872 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"\`
12874 # Run-time system search path for libraries
12875 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12877 # Fix the shell variable \$srcfile for the compiler.
12878 fix_srcfile_path="$fix_srcfile_path_CXX"
12880 # Set to yes if exported symbols are required.
12881 always_export_symbols=$always_export_symbols_CXX
12883 # The commands to list exported symbols.
12884 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12886 # The commands to extract the exported symbol list from a shared archive.
12887 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12889 # Symbols that should not be listed in the preloaded symbols.
12890 exclude_expsyms=$lt_exclude_expsyms_CXX
12892 # Symbols that must always be exported.
12893 include_expsyms=$lt_include_expsyms_CXX
12895 # ### END LIBTOOL TAG CONFIG: $tagname
12901 # If there is no Makefile yet, we rely on a make rule to execute
12902 # `config.status --recheck' to rerun these tests and create the
12903 # libtool script then.
12904 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12905 if test -f "$ltmain_in"; then
12906 test -f Makefile
&& make "$ltmain"
12912 ac_cpp
='$CPP $CPPFLAGS'
12913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12921 with_gnu_ldcxx
=$with_gnu_ld
12922 with_gnu_ld
=$lt_save_with_gnu_ld
12923 lt_cv_path_LDCXX
=$lt_cv_path_LD
12924 lt_cv_path_LD
=$lt_save_path_LD
12925 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12926 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
12934 if test -n "$F77" && test "X$F77" != "Xno"; then
12937 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12938 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12939 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
12942 archive_cmds_need_lc_F77
=no
12943 allow_undefined_flag_F77
=
12944 always_export_symbols_F77
=no
12945 archive_expsym_cmds_F77
=
12946 export_dynamic_flag_spec_F77
=
12947 hardcode_direct_F77
=no
12948 hardcode_libdir_flag_spec_F77
=
12949 hardcode_libdir_flag_spec_ld_F77
=
12950 hardcode_libdir_separator_F77
=
12951 hardcode_minus_L_F77
=no
12952 hardcode_automatic_F77
=no
12954 module_expsym_cmds_F77
=
12955 link_all_deplibs_F77
=unknown
12956 old_archive_cmds_F77
=$old_archive_cmds
12957 no_undefined_flag_F77
=
12958 whole_archive_flag_spec_F77
=
12959 enable_shared_with_static_runtimes_F77
=no
12961 # Source file extension for f77 test sources.
12964 # Object file extension for compiled f77 test sources.
12968 # Code to be used in simple compile tests
12969 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
12971 # Code to be used in simple link tests
12972 lt_simple_link_test_code
=" program t\n end\n"
12974 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12976 # If no C compiler was specified, use CC.
12979 # If no C compiler flags were specified, use CFLAGS.
12980 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12982 # Allow CC to be a program name with arguments.
12986 # save warnings/boilerplate of simple test code
12987 ac_outfile
=conftest.
$ac_objext
12988 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
12989 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12990 _lt_compiler_boilerplate
=`cat conftest.err`
12993 ac_outfile
=conftest.
$ac_objext
12994 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
12995 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12996 _lt_linker_boilerplate
=`cat conftest.err`
13000 # Allow CC to be a program name with arguments.
13005 for cc_temp
in $compiler""; do
13007 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13008 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13013 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13016 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13017 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13018 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13019 echo "${ECHO_T}$can_build_shared" >&6
13021 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13022 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13023 test "$can_build_shared" = "no" && enable_shared
=no
13025 # On AIX, shared libraries and static libraries use the same namespace, and
13026 # are all built from PIC.
13029 test "$enable_shared" = yes && enable_static
=no
13030 if test -n "$RANLIB"; then
13031 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13032 postinstall_cmds
='$RANLIB $lib'
13036 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13037 test "$enable_shared" = yes && enable_static
=no
13041 echo "$as_me:$LINENO: result: $enable_shared" >&5
13042 echo "${ECHO_T}$enable_shared" >&6
13044 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13045 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13046 # Make sure either enable_shared or enable_static is yes.
13047 test "$enable_shared" = yes || enable_static
=yes
13048 echo "$as_me:$LINENO: result: $enable_static" >&5
13049 echo "${ECHO_T}$enable_static" >&6
13054 lt_prog_compiler_wl_F77
=
13055 lt_prog_compiler_pic_F77
=
13056 lt_prog_compiler_static_F77
=
13058 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13059 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13061 if test "$GCC" = yes; then
13062 lt_prog_compiler_wl_F77
='-Wl,'
13063 lt_prog_compiler_static_F77
='-static'
13067 # All AIX code is PIC.
13068 if test "$host_cpu" = ia64
; then
13069 # AIX 5 now supports IA64 processor
13070 lt_prog_compiler_static_F77
='-Bstatic'
13075 # FIXME: we need at least 68020 code to build shared libraries, but
13076 # adding the `-m68020' flag to GCC prevents building anything better,
13078 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13081 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13082 # PIC is the default for these OSes.
13085 mingw
* | pw32
* | os2
*)
13086 # This hack is so that the source file can tell whether it is being
13087 # built for inclusion in a dll (and should export symbols for example).
13088 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13091 darwin
* | rhapsody
*)
13092 # PIC is the default on this platform
13093 # Common symbols not allowed in MH_DYLIB files
13094 lt_prog_compiler_pic_F77
='-fno-common'
13098 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13099 # Instead, we relocate shared libraries at runtime.
13103 # Just because we use GCC doesn't mean we suddenly get shared libraries
13104 # on systems that don't support them.
13105 lt_prog_compiler_can_build_shared_F77
=no
13110 if test -d /usr
/nec
; then
13111 lt_prog_compiler_pic_F77
=-Kconform_pic
13116 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13117 # not for PA HP-UX.
13123 lt_prog_compiler_pic_F77
='-fPIC'
13129 lt_prog_compiler_pic_F77
='-fPIC'
13133 # PORTME Check for flag to pass linker flags through the system compiler.
13136 lt_prog_compiler_wl_F77
='-Wl,'
13137 if test "$host_cpu" = ia64
; then
13138 # AIX 5 now supports IA64 processor
13139 lt_prog_compiler_static_F77
='-Bstatic'
13141 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13145 # PIC is the default on this platform
13146 # Common symbols not allowed in MH_DYLIB files
13147 case $cc_basename in
13149 lt_prog_compiler_pic_F77
='-qnocommon'
13150 lt_prog_compiler_wl_F77
='-Wl,'
13155 mingw
* | pw32
* | os2
*)
13156 # This hack is so that the source file can tell whether it is being
13157 # built for inclusion in a dll (and should export symbols for example).
13158 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13161 hpux9
* | hpux10
* | hpux11
*)
13162 lt_prog_compiler_wl_F77
='-Wl,'
13163 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13164 # not for PA HP-UX.
13170 lt_prog_compiler_pic_F77
='+Z'
13173 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13174 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13177 irix5
* | irix6
* | nonstopux
*)
13178 lt_prog_compiler_wl_F77
='-Wl,'
13179 # PIC (with -KPIC) is the default.
13180 lt_prog_compiler_static_F77
='-non_shared'
13184 lt_prog_compiler_pic_F77
='-KPIC'
13185 lt_prog_compiler_static_F77
='-Bstatic'
13189 case $cc_basename in
13191 lt_prog_compiler_wl_F77
='-Wl,'
13192 lt_prog_compiler_pic_F77
='-KPIC'
13193 lt_prog_compiler_static_F77
='-static'
13195 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13196 # Portland Group compilers (*not* the Pentium gcc compiler,
13197 # which looks to be a dead project)
13198 lt_prog_compiler_wl_F77
='-Wl,'
13199 lt_prog_compiler_pic_F77
='-fpic'
13200 lt_prog_compiler_static_F77
='-Bstatic'
13203 lt_prog_compiler_wl_F77
='-Wl,'
13204 # All Alpha code is PIC.
13205 lt_prog_compiler_static_F77
='-non_shared'
13210 osf3
* | osf4
* | osf5
*)
13211 lt_prog_compiler_wl_F77
='-Wl,'
13212 # All OSF/1 code is PIC.
13213 lt_prog_compiler_static_F77
='-non_shared'
13217 lt_prog_compiler_pic_F77
='-KPIC'
13218 lt_prog_compiler_static_F77
='-Bstatic'
13219 case $cc_basename in
13220 f77
* | f90
* | f95
*)
13221 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13223 lt_prog_compiler_wl_F77
='-Wl,';;
13228 lt_prog_compiler_wl_F77
='-Qoption ld '
13229 lt_prog_compiler_pic_F77
='-PIC'
13230 lt_prog_compiler_static_F77
='-Bstatic'
13233 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13234 lt_prog_compiler_wl_F77
='-Wl,'
13235 lt_prog_compiler_pic_F77
='-KPIC'
13236 lt_prog_compiler_static_F77
='-Bstatic'
13240 if test -d /usr
/nec
;then
13241 lt_prog_compiler_pic_F77
='-Kconform_pic'
13242 lt_prog_compiler_static_F77
='-Bstatic'
13246 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13247 lt_prog_compiler_wl_F77
='-Wl,'
13248 lt_prog_compiler_pic_F77
='-KPIC'
13249 lt_prog_compiler_static_F77
='-Bstatic'
13253 lt_prog_compiler_wl_F77
='-Wl,'
13254 lt_prog_compiler_can_build_shared_F77
=no
13258 lt_prog_compiler_pic_F77
='-pic'
13259 lt_prog_compiler_static_F77
='-Bstatic'
13263 lt_prog_compiler_can_build_shared_F77
=no
13268 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13269 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13272 # Check to make sure the PIC flag actually works.
13274 if test -n "$lt_prog_compiler_pic_F77"; then
13276 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13277 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13278 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 lt_prog_compiler_pic_works_F77
=no
13282 ac_outfile
=conftest.
$ac_objext
13283 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13284 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13285 # Insert the option either (1) after the last *FLAGS variable, or
13286 # (2) before a word containing "conftest.", or (3) at the end.
13287 # Note that $ac_compile itself does not contain backslashes and begins
13288 # with a dollar sign (not a hyphen), so the echo should work correctly.
13289 # The option is referenced via a variable to avoid confusing sed.
13290 lt_compile
=`echo "$ac_compile" | $SED \
13291 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13292 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13293 -e 's:$: $lt_compiler_flag:'`
13294 (eval echo "\"\$as_me:13294: $lt_compile\"" >&5)
13295 (eval "$lt_compile" 2>conftest.err
)
13297 cat conftest.err
>&5
13298 echo "$as_me:13298: \$? = $ac_status" >&5
13299 if (exit $ac_status) && test -s "$ac_outfile"; then
13300 # The compiler can only warn and ignore the option if not recognized
13301 # So say no if there are warnings other than the usual output.
13302 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13303 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13304 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13305 lt_prog_compiler_pic_works_F77
=yes
13311 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13312 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13314 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13315 case $lt_prog_compiler_pic_F77 in
13317 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13320 lt_prog_compiler_pic_F77
=
13321 lt_prog_compiler_can_build_shared_F77
=no
13326 # For platforms which do not support PIC, -DPIC is meaningless:
13328 lt_prog_compiler_pic_F77
=
13331 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13336 # Check to make sure the static flag actually works.
13338 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13339 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13340 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13341 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13342 echo $ECHO_N "(cached) $ECHO_C" >&6
13344 lt_prog_compiler_static_works_F77
=no
13345 save_LDFLAGS
="$LDFLAGS"
13346 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13347 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13348 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13349 # The linker can only warn and ignore the option if not recognized
13350 # So say no if there are warnings
13351 if test -s conftest.err
; then
13352 # Append any errors to the config.log.
13353 cat conftest.err
1>&5
13354 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13355 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13356 if diff conftest.exp conftest.er2
>/dev
/null
; then
13357 lt_prog_compiler_static_works_F77
=yes
13360 lt_prog_compiler_static_works_F77
=yes
13364 LDFLAGS
="$save_LDFLAGS"
13367 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13368 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13370 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13373 lt_prog_compiler_static_F77
=
13377 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13378 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13379 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 lt_cv_prog_compiler_c_o_F77
=no
13383 $rm -r conftest
2>/dev
/null
13387 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13389 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13390 # Insert the option either (1) after the last *FLAGS variable, or
13391 # (2) before a word containing "conftest.", or (3) at the end.
13392 # Note that $ac_compile itself does not contain backslashes and begins
13393 # with a dollar sign (not a hyphen), so the echo should work correctly.
13394 lt_compile
=`echo "$ac_compile" | $SED \
13395 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13396 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13397 -e 's:$: $lt_compiler_flag:'`
13398 (eval echo "\"\$as_me:13398: $lt_compile\"" >&5)
13399 (eval "$lt_compile" 2>out
/conftest.err
)
13401 cat out
/conftest.err
>&5
13402 echo "$as_me:13402: \$? = $ac_status" >&5
13403 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13405 # The compiler can only warn and ignore the option if not recognized
13406 # So say no if there are warnings
13407 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13408 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13409 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13410 lt_cv_prog_compiler_c_o_F77
=yes
13415 # SGI C++ compiler will create directory out/ii_files/ for
13416 # template instantiation
13417 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13418 $rm out
/* && rmdir out
13424 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13425 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13428 hard_links
="nottested"
13429 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13430 # do not overwrite the value of need_locks provided by the user
13431 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13432 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13435 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13437 ln conftest.a conftest.b
2>&5 || hard_links
=no
13438 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13439 echo "$as_me:$LINENO: result: $hard_links" >&5
13440 echo "${ECHO_T}$hard_links" >&6
13441 if test "$hard_links" = no
; then
13442 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13443 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13450 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13451 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13454 allow_undefined_flag_F77
=
13455 enable_shared_with_static_runtimes_F77
=no
13457 archive_expsym_cmds_F77
=
13458 old_archive_From_new_cmds_F77
=
13459 old_archive_from_expsyms_cmds_F77
=
13460 export_dynamic_flag_spec_F77
=
13461 whole_archive_flag_spec_F77
=
13462 thread_safe_flag_spec_F77
=
13463 hardcode_libdir_flag_spec_F77
=
13464 hardcode_libdir_flag_spec_ld_F77
=
13465 hardcode_libdir_separator_F77
=
13466 hardcode_direct_F77
=no
13467 hardcode_minus_L_F77
=no
13468 hardcode_shlibpath_var_F77
=unsupported
13469 link_all_deplibs_F77
=unknown
13470 hardcode_automatic_F77
=no
13472 module_expsym_cmds_F77
=
13473 always_export_symbols_F77
=no
13474 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13475 # include_expsyms should be a list of space-separated symbols to be *always*
13476 # included in the symbol list
13477 include_expsyms_F77
=
13478 # exclude_expsyms can be an extended regexp of symbols to exclude
13479 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13480 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13481 # as well as any symbol that contains `d'.
13482 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13483 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13484 # platforms (ab)use it in PIC code, but their linkers get confused if
13485 # the symbol is explicitly referenced. Since portable code cannot
13486 # rely on this symbol name, it's probably fine to never include it in
13487 # preloaded symbol tables.
13488 extract_expsyms_cmds
=
13489 # Just being paranoid about ensuring that cc_basename is set.
13490 for cc_temp
in $compiler""; do
13492 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13493 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13498 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13501 cygwin
* | mingw
* | pw32
*)
13502 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13503 # When not using gcc, we currently assume that we are using
13504 # Microsoft Visual C++.
13505 if test "$GCC" != yes; then
13510 # we just hope/assume this is gcc and not c89 (= MSVC++)
13519 if test "$with_gnu_ld" = yes; then
13520 # If archive_cmds runs LD, not CC, wlarc should be empty
13523 # Set some defaults for GNU ld with shared library support. These
13524 # are reset later if shared libraries are not supported. Putting them
13525 # here allows them to be overridden if necessary.
13526 runpath_var
=LD_RUN_PATH
13527 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13528 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13529 # ancient GNU ld didn't support --whole-archive et. al.
13530 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13531 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13533 whole_archive_flag_spec_F77
=
13535 supports_anon_versioning
=no
13536 case `$LD -v 2>/dev/null` in
13537 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13538 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13539 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13540 *\
2.11.
*) ;; # other 2.11 versions
13541 *) supports_anon_versioning
=yes ;;
13544 # See if GNU ld supports shared libraries.
13546 aix3
* | aix4
* | aix5
*)
13547 # On AIX/PPC, the GNU linker is very broken
13548 if test "$host_cpu" != ia64
; then
13552 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13553 *** to be unable to reliably create shared libraries on AIX.
13554 *** Therefore, libtool is disabling shared libraries support. If you
13555 *** really care for shared libraries, you may want to modify your PATH
13556 *** so that a non-GNU linker is found, and then restart.
13563 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)'
13564 hardcode_libdir_flag_spec_F77
='-L$libdir'
13565 hardcode_minus_L_F77
=yes
13567 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13568 # that the semantics of dynamic libraries on AmigaOS, at least up
13569 # to version 4, is to share data among multiple programs linked
13570 # with the same dynamic library. Since this doesn't match the
13571 # behavior of shared libraries on other platforms, we can't use
13577 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13578 allow_undefined_flag_F77
=unsupported
13579 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13580 # support --undefined. This deserves some investigation. FIXME
13581 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13587 cygwin
* | mingw
* | pw32
*)
13588 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13589 # as there is no search path for DLLs.
13590 hardcode_libdir_flag_spec_F77
='-L$libdir'
13591 allow_undefined_flag_F77
=unsupported
13592 always_export_symbols_F77
=no
13593 enable_shared_with_static_runtimes_F77
=yes
13594 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13596 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13597 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13598 # If the export-symbols file already is a .def file (1st line
13599 # is EXPORTS), use it as is; otherwise, prepend...
13600 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13601 cp $export_symbols $output_objdir/$soname.def;
13603 echo EXPORTS > $output_objdir/$soname.def;
13604 cat $export_symbols >> $output_objdir/$soname.def;
13606 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13613 hardcode_direct_F77
=no
13614 hardcode_shlibpath_var_F77
=no
13615 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13616 export_dynamic_flag_spec_F77
='${wl}-E'
13617 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13618 # Instead, shared libraries are loaded at an image base (0x10000000 by
13619 # default) and relocated if they conflict, which is a slow very memory
13620 # consuming and fragmenting process. To avoid this, we pick a random,
13621 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13622 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13623 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'
13624 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'
13628 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13630 case $cc_basename,$host_cpu in
13631 pgcc
*) # Portland Group C compiler
13632 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'
13633 tmp_addflag
=' $pic_flag'
13635 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13636 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'
13637 tmp_addflag
=' $pic_flag -Mnomain' ;;
13638 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13639 tmp_addflag
=' -i_dynamic' ;;
13640 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13641 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13642 ifc
* | ifort
*) # Intel Fortran compiler
13643 tmp_addflag
=' -nofor_main' ;;
13645 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13647 if test $supports_anon_versioning = yes; then
13648 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13649 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13650 $echo "local: *; };" >> $output_objdir/$libname.ver~
13651 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13659 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13660 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13663 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13664 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13669 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13673 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13674 *** create shared libraries on Solaris systems. Therefore, libtool
13675 *** is disabling shared libraries support. We urge you to upgrade GNU
13676 *** binutils to release 2.9.1 or newer. Another option is to modify
13677 *** your PATH or compiler configuration so that the native linker is
13678 *** used, and then restart.
13681 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13682 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13683 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13689 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13690 case `$LD -v 2>&1` in
13691 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13695 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13696 *** reliably create shared libraries on SCO systems. Therefore, libtool
13697 *** is disabling shared libraries support. We urge you to upgrade GNU
13698 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13699 *** your PATH or compiler configuration so that the native linker is
13700 *** used, and then restart.
13705 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13706 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13707 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13708 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13717 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13719 hardcode_direct_F77
=yes
13720 hardcode_shlibpath_var_F77
=no
13724 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13725 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13726 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13733 if test "$ld_shlibs_F77" = no
; then
13735 hardcode_libdir_flag_spec_F77
=
13736 export_dynamic_flag_spec_F77
=
13737 whole_archive_flag_spec_F77
=
13740 # PORTME fill in a description of your system's linker (not GNU ld)
13743 allow_undefined_flag_F77
=unsupported
13744 always_export_symbols_F77
=yes
13745 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'
13746 # Note: this linker hardcodes the directories in LIBPATH if there
13747 # are no directories specified by -L.
13748 hardcode_minus_L_F77
=yes
13749 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13750 # Neither direct hardcoding nor static linking is supported with a
13752 hardcode_direct_F77
=unsupported
13757 if test "$host_cpu" = ia64
; then
13758 # On IA64, the linker does run time linking by default, so we don't
13759 # have to do anything special.
13760 aix_use_runtimelinking
=no
13761 exp_sym_flag
='-Bexport'
13764 # If we're using GNU nm, then we don't want the "-C" option.
13765 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13766 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13767 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'
13769 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'
13771 aix_use_runtimelinking
=no
13773 # Test if we are trying to use run time linking or normal
13774 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13775 # need to do runtime linking.
13776 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13777 for ld_flag
in $LDFLAGS; do
13778 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13779 aix_use_runtimelinking
=yes
13786 exp_sym_flag
='-bexport'
13787 no_entry_flag
='-bnoentry'
13790 # When large executables or shared objects are built, AIX ld can
13791 # have problems creating the table of contents. If linking a library
13792 # or program results in "error TOC overflow" add -mminimal-toc to
13793 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13794 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13796 archive_cmds_F77
=''
13797 hardcode_direct_F77
=yes
13798 hardcode_libdir_separator_F77
=':'
13799 link_all_deplibs_F77
=yes
13801 if test "$GCC" = yes; then
13802 case $host_os in aix4.
[012]|aix4.
[012].
*)
13803 # We only want to do this on AIX 4.2 and lower, the check
13804 # below for broken collect2 doesn't work under 4.3+
13805 collect2name
=`${CC} -print-prog-name=collect2`
13806 if test -f "$collect2name" && \
13807 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13809 # We have reworked collect2
13810 hardcode_direct_F77
=yes
13812 # We have old collect2
13813 hardcode_direct_F77
=unsupported
13814 # It fails to find uninstalled libraries when the uninstalled
13815 # path is not listed in the libpath. Setting hardcode_minus_L
13816 # to unsupported forces relinking
13817 hardcode_minus_L_F77
=yes
13818 hardcode_libdir_flag_spec_F77
='-L$libdir'
13819 hardcode_libdir_separator_F77
=
13823 shared_flag
='-shared'
13824 if test "$aix_use_runtimelinking" = yes; then
13825 shared_flag
="$shared_flag "'${wl}-G'
13829 if test "$host_cpu" = ia64
; then
13830 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13831 # chokes on -Wl,-G. The following line is correct:
13834 if test "$aix_use_runtimelinking" = yes; then
13835 shared_flag
='${wl}-G'
13837 shared_flag
='${wl}-bM:SRE'
13842 # It seems that -bexpall does not export symbols beginning with
13843 # underscore (_), so it is better to generate a list of symbols to export.
13844 always_export_symbols_F77
=yes
13845 if test "$aix_use_runtimelinking" = yes; then
13846 # Warning - without using the other runtime loading flags (-brtl),
13847 # -berok will link without error, but may produce a broken library.
13848 allow_undefined_flag_F77
='-berok'
13849 # Determine the default libpath from the value encoded in an empty executable.
13850 cat >conftest.
$ac_ext <<_ACEOF
13855 rm -f conftest.
$ac_objext conftest
$ac_exeext
13856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13857 (eval $ac_link) 2>conftest.er1
13859 grep -v '^ *+' conftest.er1
>conftest.err
13861 cat conftest.err
>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try
='test -z "$ac_f77_werror_flag"
13865 || test ! -s conftest.err'
13866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13867 (eval $ac_try) 2>&5
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); }; } &&
13871 { ac_try
='test -s conftest$ac_exeext'
13872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873 (eval $ac_try) 2>&5
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; }; then
13878 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13880 # Check for a 64-bit object if we didn't find anything.
13881 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; }
13884 echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.
$ac_ext >&5
13888 rm -f conftest.err conftest.
$ac_objext \
13889 conftest
$ac_exeext conftest.
$ac_ext
13890 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13892 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13893 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"
13895 if test "$host_cpu" = ia64
; then
13896 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
13897 allow_undefined_flag_F77
="-z nodefs"
13898 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"
13900 # Determine the default libpath from the value encoded in an empty executable.
13901 cat >conftest.
$ac_ext <<_ACEOF
13906 rm -f conftest.
$ac_objext conftest
$ac_exeext
13907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13908 (eval $ac_link) 2>conftest.er1
13910 grep -v '^ *+' conftest.er1
>conftest.err
13912 cat conftest.err
>&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); } &&
13915 { ac_try
='test -z "$ac_f77_werror_flag"
13916 || test ! -s conftest.err'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; } &&
13922 { ac_try
='test -s conftest$ac_exeext'
13923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13924 (eval $ac_try) 2>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }; }; then
13929 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13931 # Check for a 64-bit object if we didn't find anything.
13932 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; }
13935 echo "$as_me: failed program was:" >&5
13936 sed 's/^/| /' conftest.
$ac_ext >&5
13939 rm -f conftest.err conftest.
$ac_objext \
13940 conftest
$ac_exeext conftest.
$ac_ext
13941 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13943 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13944 # Warning - without using the other run time loading flags,
13945 # -berok will link without error, but may produce a broken library.
13946 no_undefined_flag_F77
=' ${wl}-bernotok'
13947 allow_undefined_flag_F77
=' ${wl}-berok'
13948 # Exported symbols can be pulled into shared objects from archives
13949 whole_archive_flag_spec_F77
='$convenience'
13950 archive_cmds_need_lc_F77
=yes
13951 # This is similar to how AIX traditionally builds its shared libraries.
13952 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'
13958 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)'
13959 hardcode_libdir_flag_spec_F77
='-L$libdir'
13960 hardcode_minus_L_F77
=yes
13961 # see comment about different semantics on the GNU ld section
13966 export_dynamic_flag_spec_F77
=-rdynamic
13969 cygwin
* | mingw
* | pw32
*)
13970 # When not using gcc, we currently assume that we are using
13971 # Microsoft Visual C++.
13972 # hardcode_libdir_flag_spec is actually meaningless, as there is
13973 # no search path for DLLs.
13974 hardcode_libdir_flag_spec_F77
=' '
13975 allow_undefined_flag_F77
=unsupported
13976 # Tell ltmain to make .lib files, not .a files.
13978 # Tell ltmain to make .dll files, not .so files.
13980 # FIXME: Setting linknames here is a bad hack.
13981 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13982 # The linker will automatically build a .lib file if we build a DLL.
13983 old_archive_From_new_cmds_F77
='true'
13984 # FIXME: Should let the user specify the lib program.
13985 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
13986 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
13987 enable_shared_with_static_runtimes_F77
=yes
13990 darwin
* | rhapsody
*)
13992 rhapsody
* | darwin1.
[012])
13993 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
13996 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13997 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13999 case ${MACOSX_DEPLOYMENT_TARGET} in
14001 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14004 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14010 archive_cmds_need_lc_F77
=no
14011 hardcode_direct_F77
=no
14012 hardcode_automatic_F77
=yes
14013 hardcode_shlibpath_var_F77
=unsupported
14014 whole_archive_flag_spec_F77
=''
14015 link_all_deplibs_F77
=yes
14016 if test "$GCC" = yes ; then
14017 output_verbose_link_cmd
='echo'
14018 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14019 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14020 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14021 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}'
14022 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}'
14024 case $cc_basename in
14026 output_verbose_link_cmd
='echo'
14027 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14028 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14029 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14030 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}'
14031 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}'
14041 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14042 hardcode_libdir_flag_spec_F77
='-L$libdir'
14043 hardcode_shlibpath_var_F77
=no
14050 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14051 # support. Future versions do this automatically, but an explicit c++rt0.o
14052 # does not break anything, and helps significantly (at the cost of a little
14055 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14056 hardcode_libdir_flag_spec_F77
='-R$libdir'
14057 hardcode_direct_F77
=yes
14058 hardcode_shlibpath_var_F77
=no
14061 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14063 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14064 hardcode_direct_F77
=yes
14065 hardcode_minus_L_F77
=yes
14066 hardcode_shlibpath_var_F77
=no
14069 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14070 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14071 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14072 hardcode_libdir_flag_spec_F77
='-R$libdir'
14073 hardcode_direct_F77
=yes
14074 hardcode_shlibpath_var_F77
=no
14078 if test "$GCC" = yes; then
14079 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'
14081 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'
14083 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14084 hardcode_libdir_separator_F77
=:
14085 hardcode_direct_F77
=yes
14087 # hardcode_minus_L: Not really in the search PATH,
14088 # but as the default location of the library.
14089 hardcode_minus_L_F77
=yes
14090 export_dynamic_flag_spec_F77
='${wl}-E'
14094 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14095 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14097 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14099 if test "$with_gnu_ld" = no
; then
14100 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14101 hardcode_libdir_separator_F77
=:
14103 hardcode_direct_F77
=yes
14104 export_dynamic_flag_spec_F77
='${wl}-E'
14106 # hardcode_minus_L: Not really in the search PATH,
14107 # but as the default location of the library.
14108 hardcode_minus_L_F77
=yes
14113 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14116 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14119 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14122 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14128 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14131 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14134 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14138 if test "$with_gnu_ld" = no
; then
14139 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14140 hardcode_libdir_separator_F77
=:
14144 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14145 hardcode_direct_F77
=no
14146 hardcode_shlibpath_var_F77
=no
14149 hardcode_direct_F77
=yes
14150 export_dynamic_flag_spec_F77
='${wl}-E'
14152 # hardcode_minus_L: Not really in the search PATH,
14153 # but as the default location of the library.
14154 hardcode_minus_L_F77
=yes
14160 irix5
* | irix6
* | nonstopux
*)
14161 if test "$GCC" = yes; then
14162 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'
14164 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'
14165 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14167 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14168 hardcode_libdir_separator_F77
=:
14169 link_all_deplibs_F77
=yes
14173 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14174 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14176 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14178 hardcode_libdir_flag_spec_F77
='-R$libdir'
14179 hardcode_direct_F77
=yes
14180 hardcode_shlibpath_var_F77
=no
14184 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14185 hardcode_direct_F77
=yes
14186 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14187 hardcode_libdir_separator_F77
=:
14188 hardcode_shlibpath_var_F77
=no
14192 hardcode_direct_F77
=yes
14193 hardcode_shlibpath_var_F77
=no
14194 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14195 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14196 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14197 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14198 export_dynamic_flag_spec_F77
='${wl}-E'
14201 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14202 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14203 hardcode_libdir_flag_spec_F77
='-R$libdir'
14206 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14207 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14214 hardcode_libdir_flag_spec_F77
='-L$libdir'
14215 hardcode_minus_L_F77
=yes
14216 allow_undefined_flag_F77
=unsupported
14217 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'
14218 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14222 if test "$GCC" = yes; then
14223 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14224 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'
14226 allow_undefined_flag_F77
=' -expect_unresolved \*'
14227 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'
14229 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14230 hardcode_libdir_separator_F77
=:
14233 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14234 if test "$GCC" = yes; then
14235 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14236 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'
14237 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14239 allow_undefined_flag_F77
=' -expect_unresolved \*'
14240 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'
14241 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~
14242 $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'
14244 # Both c and cxx compiler support -rpath directly
14245 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14247 hardcode_libdir_separator_F77
=:
14251 no_undefined_flag_F77
=' -z text'
14252 if test "$GCC" = yes; then
14254 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14255 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14256 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14259 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14260 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14261 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14263 hardcode_libdir_flag_spec_F77
='-R$libdir'
14264 hardcode_shlibpath_var_F77
=no
14266 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14268 # The compiler driver will combine linker options so we
14269 # cannot just pass the convience library names through
14270 # without $wl, iff we do not link with $LD.
14271 # Luckily, gcc supports the same syntax we need for Sun Studio.
14272 # Supported since Solaris 2.6 (maybe 2.5.1?)
14275 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14277 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' ;;
14280 link_all_deplibs_F77
=yes
14284 if test "x$host_vendor" = xsequent
; then
14285 # Use $CC to link under sequent, because it throws in some extra .o
14286 # files that make .init and .fini sections work.
14287 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14289 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14291 hardcode_libdir_flag_spec_F77
='-L$libdir'
14292 hardcode_direct_F77
=yes
14293 hardcode_minus_L_F77
=yes
14294 hardcode_shlibpath_var_F77
=no
14298 case $host_vendor in
14300 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14301 hardcode_direct_F77
=yes # is this really true???
14304 ## LD is ld it makes a PLAMLIB
14305 ## CC just makes a GrossModule.
14306 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14307 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14308 hardcode_direct_F77
=no
14311 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14312 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14315 runpath_var
='LD_RUN_PATH'
14316 hardcode_shlibpath_var_F77
=no
14320 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14321 hardcode_shlibpath_var_F77
=no
14322 export_dynamic_flag_spec_F77
='-Bexport'
14326 if test -d /usr
/nec
; then
14327 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14328 hardcode_shlibpath_var_F77
=no
14329 runpath_var
=LD_RUN_PATH
14330 hardcode_runpath_var
=yes
14335 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14336 no_undefined_flag_F77
='${wl}-z,text'
14337 archive_cmds_need_lc_F77
=no
14338 hardcode_shlibpath_var_F77
=no
14339 runpath_var
='LD_RUN_PATH'
14341 if test "$GCC" = yes; then
14342 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14343 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14345 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14346 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14350 sysv5
* | sco3.2v5
* | sco5v6
*)
14351 # Note: We can NOT use -z defs as we might desire, because we do not
14352 # link with -lc, and that would cause any symbols used from libc to
14353 # always be unresolved, which means just about no library would
14354 # ever link correctly. If we're not using GNU ld we use -z text
14355 # though, which does catch some bad symbols but isn't as heavy-handed
14357 no_undefined_flag_F77
='${wl}-z,text'
14358 allow_undefined_flag_F77
='${wl}-z,nodefs'
14359 archive_cmds_need_lc_F77
=no
14360 hardcode_shlibpath_var_F77
=no
14361 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14362 hardcode_libdir_separator_F77
=':'
14363 link_all_deplibs_F77
=yes
14364 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14365 runpath_var
='LD_RUN_PATH'
14367 if test "$GCC" = yes; then
14368 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14369 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14371 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14372 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14377 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14378 hardcode_libdir_flag_spec_F77
='-L$libdir'
14379 hardcode_shlibpath_var_F77
=no
14388 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14389 echo "${ECHO_T}$ld_shlibs_F77" >&6
14390 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14393 # Do we need to explicitly link libc?
14395 case "x$archive_cmds_need_lc_F77" in
14397 # Assume -lc should be added
14398 archive_cmds_need_lc_F77
=yes
14400 if test "$enable_shared" = yes && test "$GCC" = yes; then
14401 case $archive_cmds_F77 in
14403 # FIXME: we may have to deal with multi-command sequences.
14406 # Test whether the compiler implicitly links with -lc since on some
14407 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14408 # to ld, don't add -lc before -lgcc.
14409 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14410 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14412 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14415 (eval $ac_compile) 2>&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } 2>conftest.err
; then
14421 libobjs
=conftest.
$ac_objext
14423 wl
=$lt_prog_compiler_wl_F77
14424 pic_flag
=$lt_prog_compiler_pic_F77
14430 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14431 allow_undefined_flag_F77
=
14432 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14433 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); }
14438 archive_cmds_need_lc_F77
=no
14440 archive_cmds_need_lc_F77
=yes
14442 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14444 cat conftest.err
1>&5
14447 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14448 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14455 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14456 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14457 library_names_spec
=
14458 libname_spec
='lib$name'
14462 postuninstall_cmds
=
14466 shlibpath_overrides_runpath
=unknown
14468 dynamic_linker
="$host_os ld.so"
14469 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14470 if test "$GCC" = yes; then
14471 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14472 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14473 # if the path contains ";" then we assume it to be the separator
14474 # otherwise default to the standard path separator (i.e. ":") - it is
14475 # assumed that no part of a normal pathname contains ";" but that should
14476 # okay in the real world where ";" in dirpaths is itself problematic.
14477 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14479 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14482 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14484 need_lib_prefix
=unknown
14485 hardcode_into_libs
=no
14487 # when you set need_version to no, make sure it does not cause -set_version
14488 # flags to be left without arguments
14489 need_version
=unknown
14494 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14495 shlibpath_var
=LIBPATH
14497 # AIX 3 has no versioning support, so we append a major version to the name.
14498 soname_spec
='${libname}${release}${shared_ext}$major'
14505 hardcode_into_libs
=yes
14506 if test "$host_cpu" = ia64
; then
14507 # AIX 5 supports IA64
14508 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14509 shlibpath_var
=LD_LIBRARY_PATH
14511 # With GCC up to 2.95.x, collect2 would create an import file
14512 # for dependence libraries. The import file would start with
14513 # the line `#! .'. This would cause the generated library to
14514 # depend on `.', always an invalid library. This was fixed in
14515 # development snapshots of GCC prior to 3.0.
14517 aix4 | aix4.
[01] | aix4.
[01].
*)
14518 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14520 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14523 can_build_shared
=no
14527 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14528 # soname into executable. Probably we can add versioning support to
14529 # collect2, so additional links can be useful in future.
14530 if test "$aix_use_runtimelinking" = yes; then
14531 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14532 # instead of lib<name>.a to let people know that these are not
14533 # typical AIX shared libraries.
14534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14536 # We preserve .a as extension for shared libraries through AIX4.2
14537 # and later when we are not doing run time linking.
14538 library_names_spec
='${libname}${release}.a $libname.a'
14539 soname_spec
='${libname}${release}${shared_ext}$major'
14541 shlibpath_var
=LIBPATH
14546 library_names_spec
='$libname.ixlibrary $libname.a'
14547 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14548 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'
14552 library_names_spec
='${libname}${shared_ext}'
14553 dynamic_linker
="$host_os ld.so"
14554 shlibpath_var
=LIBRARY_PATH
14560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 soname_spec
='${libname}${release}${shared_ext}$major'
14562 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14563 shlibpath_var
=LD_LIBRARY_PATH
14564 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14565 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14566 # the default ld.so.conf also contains /usr/contrib/lib and
14567 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14568 # libtool to hard-code these into programs
14571 cygwin
* | mingw
* | pw32
*)
14572 version_type
=windows
14577 case $GCC,$host_os in
14578 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14579 library_names_spec
='$libname.dll.a'
14580 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14581 postinstall_cmds
='base_file=`basename \${file}`~
14582 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14583 dldir=$destdir/`dirname \$dlpath`~
14584 test -d \$dldir || mkdir -p \$dldir~
14585 $install_prog $dir/$dlname \$dldir/$dlname~
14586 chmod a+x \$dldir/$dlname'
14587 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14588 dlpath=$dir/\$dldll~
14590 shlibpath_overrides_runpath
=yes
14594 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14595 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14596 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14599 # MinGW DLLs use traditional 'lib' prefix
14600 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14601 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14602 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14603 # It is most probably a Windows format PATH printed by
14604 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14605 # path with ; separators, and with drive letters. We can handle the
14606 # drive letters (cygwin fileutils understands them), so leave them,
14607 # especially as we might pass files found there to a mingw objdump,
14608 # which wouldn't understand a cygwinified path. Ahh.
14609 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14611 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14615 # pw32 DLLs use 'pw' prefix rather than 'lib'
14616 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14622 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14625 dynamic_linker
='Win32 ld.exe'
14626 # FIXME: first we should search . and the directory the executable is in
14630 darwin
* | rhapsody
*)
14631 dynamic_linker
="$host_os dyld"
14632 version_type
=darwin
14635 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14636 soname_spec
='${libname}${release}${major}$shared_ext'
14637 shlibpath_overrides_runpath
=yes
14638 shlibpath_var
=DYLD_LIBRARY_PATH
14639 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14640 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14641 if test "$GCC" = yes; then
14642 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"`
14644 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14646 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14654 soname_spec
='${libname}${release}${shared_ext}$major'
14655 shlibpath_var
=LD_LIBRARY_PATH
14666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14667 soname_spec
='${libname}${release}${shared_ext}$major'
14668 shlibpath_var
=LD_LIBRARY_PATH
14669 shlibpath_overrides_runpath
=no
14670 hardcode_into_libs
=yes
14671 dynamic_linker
='GNU ld.so'
14674 freebsd
* | dragonfly
*)
14675 # DragonFly does not have aout. When/if they implement a new
14676 # versioning mechanism, adjust this.
14677 if test -x /usr
/bin
/objformat
; then
14678 objformat
=`/usr/bin/objformat`
14681 freebsd
[123]*) objformat
=aout
;;
14682 *) objformat
=elf
;;
14685 version_type
=freebsd-
$objformat
14686 case $version_type in
14688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14693 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14697 shlibpath_var
=LD_LIBRARY_PATH
14700 shlibpath_overrides_runpath
=yes
14702 freebsd3.
[01]* | freebsdelf3.
[01]*)
14703 shlibpath_overrides_runpath
=yes
14704 hardcode_into_libs
=yes
14706 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14707 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14708 shlibpath_overrides_runpath
=no
14709 hardcode_into_libs
=yes
14711 freebsd
*) # from 4.6 on
14712 shlibpath_overrides_runpath
=yes
14713 hardcode_into_libs
=yes
14722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14723 soname_spec
='${libname}${release}${shared_ext}$major'
14724 shlibpath_var
=LD_LIBRARY_PATH
14725 hardcode_into_libs
=yes
14728 hpux9
* | hpux10
* | hpux11
*)
14729 # Give a soname corresponding to the major version so that dld.sl refuses to
14730 # link against other versions.
14737 hardcode_into_libs
=yes
14738 dynamic_linker
="$host_os dld.so"
14739 shlibpath_var
=LD_LIBRARY_PATH
14740 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14742 soname_spec
='${libname}${release}${shared_ext}$major'
14743 if test "X$HPUX_IA64_MODE" = X32
; then
14744 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14746 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14748 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14752 hardcode_into_libs
=yes
14753 dynamic_linker
="$host_os dld.sl"
14754 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14755 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14757 soname_spec
='${libname}${release}${shared_ext}$major'
14758 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14759 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14763 dynamic_linker
="$host_os dld.sl"
14764 shlibpath_var
=SHLIB_PATH
14765 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14767 soname_spec
='${libname}${release}${shared_ext}$major'
14770 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14771 postinstall_cmds
='chmod 555 $lib'
14778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14779 soname_spec
='${libname}${release}${shared_ext}$major'
14780 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14781 shlibpath_var
=LD_LIBRARY_PATH
14782 shlibpath_overrides_runpath
=no
14783 hardcode_into_libs
=yes
14786 irix5
* | irix6
* | nonstopux
*)
14788 nonstopux
*) version_type
=nonstopux
;;
14790 if test "$lt_cv_prog_gnu_ld" = yes; then
14798 soname_spec
='${libname}${release}${shared_ext}$major'
14799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14801 irix5
* | nonstopux
*)
14802 libsuff
= shlibsuff
=
14805 case $LD in # libtool.m4 will add one of these switches to LD
14806 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14807 libsuff
= shlibsuff
= libmagic
=32-bit;;
14808 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14809 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14810 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14811 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14812 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14816 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14817 shlibpath_overrides_runpath
=no
14818 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14819 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14820 hardcode_into_libs
=yes
14823 # No shared lib support for Linux oldld, aout, or coff.
14824 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14828 # This must be Linux ELF.
14833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14834 soname_spec
='${libname}${release}${shared_ext}$major'
14835 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14836 shlibpath_var
=LD_LIBRARY_PATH
14837 shlibpath_overrides_runpath
=no
14838 # This implies no fast_install, which is unacceptable.
14839 # Some rework will be needed to allow for fast_install
14840 # before this can be enabled.
14841 hardcode_into_libs
=yes
14843 # find out which ABI we are using
14845 case "$host_cpu" in
14846 x86_64
*|s390x
*|powerpc64
*)
14847 echo '#line 14847 "configure"' > conftest.
$ac_ext
14848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14849 (eval $ac_compile) 2>&5
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); }; then
14853 case `/usr/bin/file conftest.$ac_objext` in
14856 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14864 # Append ld.so.conf contents to the search path
14865 if test -f /etc
/ld.so.conf
; then
14866 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' ' '`
14867 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14870 # We used to test for /lib/ld.so.1 and disable shared libraries on
14871 # powerpc, because MkLinux only supported shared libraries with the
14872 # GNU dynamic linker. Since this was broken with cross compilers,
14873 # most powerpc-linux boxes support dynamic linking these days and
14874 # people can always --disable-shared, the test was removed, and we
14875 # assume the GNU/Linux dynamic linker is in use.
14876 dynamic_linker
='GNU/Linux ld.so'
14883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14884 soname_spec
='${libname}${release}${shared_ext}$major'
14885 shlibpath_var
=LD_LIBRARY_PATH
14886 shlibpath_overrides_runpath
=no
14887 hardcode_into_libs
=yes
14888 dynamic_linker
='GNU ld.so'
14895 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14897 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14898 dynamic_linker
='NetBSD (a.out) ld.so'
14900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14901 soname_spec
='${libname}${release}${shared_ext}$major'
14902 dynamic_linker
='NetBSD ld.elf_so'
14904 shlibpath_var
=LD_LIBRARY_PATH
14905 shlibpath_overrides_runpath
=yes
14906 hardcode_into_libs
=yes
14911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14912 shlibpath_var
=LD_LIBRARY_PATH
14913 shlibpath_overrides_runpath
=yes
14920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14921 soname_spec
='${libname}${release}${shared_ext}$major'
14922 shlibpath_var
=LD_LIBRARY_PATH
14923 shlibpath_overrides_runpath
=yes
14928 sys_lib_dlsearch_path_spec
="/usr/lib"
14930 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14932 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14933 *) need_version
=no
;;
14935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14936 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14937 shlibpath_var
=LD_LIBRARY_PATH
14938 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14940 openbsd2.
[89] | openbsd2.
[89].
*)
14941 shlibpath_overrides_runpath
=no
14944 shlibpath_overrides_runpath
=yes
14948 shlibpath_overrides_runpath
=yes
14953 libname_spec
='$name'
14956 library_names_spec
='$libname${shared_ext} $libname.a'
14957 dynamic_linker
='OS/2 ld.exe'
14958 shlibpath_var
=LIBPATH
14961 osf3
* | osf4
* | osf5
*)
14965 soname_spec
='${libname}${release}${shared_ext}$major'
14966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14967 shlibpath_var
=LD_LIBRARY_PATH
14968 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14969 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14977 soname_spec
='${libname}${release}${shared_ext}$major'
14978 shlibpath_var
=LD_LIBRARY_PATH
14979 shlibpath_overrides_runpath
=yes
14980 hardcode_into_libs
=yes
14981 # ldd complains unless libraries are executable
14982 postinstall_cmds
='chmod +x $lib'
14987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14988 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14989 shlibpath_var
=LD_LIBRARY_PATH
14990 shlibpath_overrides_runpath
=yes
14991 if test "$with_gnu_ld" = yes; then
14999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15000 soname_spec
='${libname}${release}${shared_ext}$major'
15001 shlibpath_var
=LD_LIBRARY_PATH
15002 case $host_vendor in
15004 shlibpath_overrides_runpath
=no
15006 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15007 runpath_var
=LD_RUN_PATH
15015 shlibpath_overrides_runpath
=no
15016 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15022 if test -d /usr
/nec
;then
15024 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15025 soname_spec
='$libname${shared_ext}.$major'
15026 shlibpath_var
=LD_LIBRARY_PATH
15030 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15031 version_type
=freebsd-elf
15034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15035 soname_spec
='${libname}${release}${shared_ext}$major'
15036 shlibpath_var
=LD_LIBRARY_PATH
15037 hardcode_into_libs
=yes
15038 if test "$with_gnu_ld" = yes; then
15039 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15040 shlibpath_overrides_runpath
=no
15042 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15043 shlibpath_overrides_runpath
=yes
15046 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15050 sys_lib_dlsearch_path_spec
='/usr/lib'
15055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15056 soname_spec
='${libname}${release}${shared_ext}$major'
15057 shlibpath_var
=LD_LIBRARY_PATH
15064 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15065 echo "${ECHO_T}$dynamic_linker" >&6
15066 test "$dynamic_linker" = no
&& can_build_shared
=no
15068 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15069 if test "$GCC" = yes; then
15070 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15073 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15074 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15075 hardcode_action_F77
=
15076 if test -n "$hardcode_libdir_flag_spec_F77" || \
15077 test -n "$runpath_var_F77" || \
15078 test "X$hardcode_automatic_F77" = "Xyes" ; then
15080 # We can hardcode non-existant directories.
15081 if test "$hardcode_direct_F77" != no
&&
15082 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15083 # have to relink, otherwise we might link with an installed library
15084 # when we should be linking with a yet-to-be-installed one
15085 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15086 test "$hardcode_minus_L_F77" != no
; then
15087 # Linking always hardcodes the temporary library directory.
15088 hardcode_action_F77
=relink
15090 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15091 hardcode_action_F77
=immediate
15094 # We cannot hardcode anything, or else we can only hardcode existing
15096 hardcode_action_F77
=unsupported
15098 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15099 echo "${ECHO_T}$hardcode_action_F77" >&6
15101 if test "$hardcode_action_F77" = relink
; then
15102 # Fast installation is not supported
15103 enable_fast_install
=no
15104 elif test "$shlibpath_overrides_runpath" = yes ||
15105 test "$enable_shared" = no
; then
15106 # Fast installation is not necessary
15107 enable_fast_install
=needless
15111 # The else clause should only fire when bootstrapping the
15112 # libtool distribution, otherwise you forgot to ship ltmain.sh
15113 # with your package, and you will get complaints that there are
15114 # no rules to generate ltmain.sh.
15115 if test -f "$ltmain"; then
15116 # See if we are running on zsh, and set the options which allow our commands through
15117 # without removal of \ escapes.
15118 if test -n "${ZSH_VERSION+set}" ; then
15119 setopt NO_GLOB_SUBST
15121 # Now quote all the things that may contain metacharacters while being
15122 # careful not to overquote the AC_SUBSTed values. We take copies of the
15123 # variables and quote the copies for generation of the libtool script.
15124 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15126 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15127 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15128 deplibs_check_method reload_flag reload_cmds need_locks \
15129 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15130 lt_cv_sys_global_symbol_to_c_name_address \
15131 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15132 old_postinstall_cmds old_postuninstall_cmds \
15136 lt_prog_compiler_wl_F77 \
15137 lt_prog_compiler_pic_F77 \
15138 lt_prog_compiler_static_F77 \
15139 lt_prog_compiler_no_builtin_flag_F77 \
15140 export_dynamic_flag_spec_F77 \
15141 thread_safe_flag_spec_F77 \
15142 whole_archive_flag_spec_F77 \
15143 enable_shared_with_static_runtimes_F77 \
15144 old_archive_cmds_F77 \
15145 old_archive_from_new_cmds_F77 \
15146 predep_objects_F77 \
15147 postdep_objects_F77 \
15150 compiler_lib_search_path_F77 \
15152 archive_expsym_cmds_F77 \
15153 postinstall_cmds_F77 \
15154 postuninstall_cmds_F77 \
15155 old_archive_from_expsyms_cmds_F77 \
15156 allow_undefined_flag_F77 \
15157 no_undefined_flag_F77 \
15158 export_symbols_cmds_F77 \
15159 hardcode_libdir_flag_spec_F77 \
15160 hardcode_libdir_flag_spec_ld_F77 \
15161 hardcode_libdir_separator_F77 \
15162 hardcode_automatic_F77 \
15164 module_expsym_cmds_F77 \
15165 lt_cv_prog_compiler_c_o_F77 \
15166 exclude_expsyms_F77 \
15167 include_expsyms_F77
; do
15170 old_archive_cmds_F77 | \
15171 old_archive_from_new_cmds_F77 | \
15172 archive_cmds_F77 | \
15173 archive_expsym_cmds_F77 | \
15174 module_cmds_F77 | \
15175 module_expsym_cmds_F77 | \
15176 old_archive_from_expsyms_cmds_F77 | \
15177 export_symbols_cmds_F77 | \
15178 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15179 postinstall_cmds | postuninstall_cmds | \
15180 old_postinstall_cmds | old_postuninstall_cmds | \
15181 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15182 # Double-quote double-evaled strings.
15183 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15186 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15192 *'\$0 --fallback-echo"')
15193 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15199 cat <<__EOF__ >> "$cfgfile"
15200 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15202 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15204 # Shell to use when invoking shell scripts.
15207 # Whether or not to build shared libraries.
15208 build_libtool_libs=$enable_shared
15210 # Whether or not to build static libraries.
15211 build_old_libs=$enable_static
15213 # Whether or not to add -lc for building shared libraries.
15214 build_libtool_need_lc=$archive_cmds_need_lc_F77
15216 # Whether or not to disallow shared libs when runtime libs are static
15217 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15219 # Whether or not to optimize for fast installation.
15220 fast_install=$enable_fast_install
15223 host_alias=$host_alias
15227 # The build system.
15228 build_alias=$build_alias
15232 # An echo program that does not interpret backslashes.
15237 AR_FLAGS=$lt_AR_FLAGS
15242 # LTCC compiler flags.
15243 LTCFLAGS=$lt_LTCFLAGS
15245 # A language-specific compiler.
15246 CC=$lt_compiler_F77
15248 # Is the compiler the GNU C compiler?
15251 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15252 gcc_ver=\`gcc -dumpversion\`
15257 # The linker used to build libraries.
15260 # Whether we need hard or soft links.
15263 # A BSD-compatible nm program.
15266 # A symbol stripping program
15269 # Used to examine libraries when file_magic_cmd begins "file"
15270 MAGIC_CMD=$MAGIC_CMD
15272 # Used on cygwin: DLL creation program.
15275 # Used on cygwin: object dumper.
15278 # Used on cygwin: assembler.
15281 # The name of the directory that contains temporary libtool files.
15284 # How to create reloadable object files.
15285 reload_flag=$lt_reload_flag
15286 reload_cmds=$lt_reload_cmds
15288 # How to pass a linker flag through the compiler.
15289 wl=$lt_lt_prog_compiler_wl_F77
15291 # Object file suffix (normally "o").
15292 objext="$ac_objext"
15294 # Old archive suffix (normally "a").
15297 # Shared library suffix (normally ".so").
15298 shrext_cmds='$shrext_cmds'
15300 # Executable file suffix (normally "").
15303 # Additional compiler flags for building library objects.
15304 pic_flag=$lt_lt_prog_compiler_pic_F77
15307 # What is the maximum length of a command?
15308 max_cmd_len=$lt_cv_sys_max_cmd_len
15310 # Does compiler simultaneously support -c and -o options?
15311 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15313 # Must we lock files when doing compilation?
15314 need_locks=$lt_need_locks
15316 # Do we need the lib prefix for modules?
15317 need_lib_prefix=$need_lib_prefix
15319 # Do we need a version for libraries?
15320 need_version=$need_version
15322 # Whether dlopen is supported.
15323 dlopen_support=$enable_dlopen
15325 # Whether dlopen of programs is supported.
15326 dlopen_self=$enable_dlopen_self
15328 # Whether dlopen of statically linked programs is supported.
15329 dlopen_self_static=$enable_dlopen_self_static
15331 # Compiler flag to prevent dynamic linking.
15332 link_static_flag=$lt_lt_prog_compiler_static_F77
15334 # Compiler flag to turn off builtin functions.
15335 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15337 # Compiler flag to allow reflexive dlopens.
15338 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15340 # Compiler flag to generate shared objects directly from archives.
15341 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15343 # Compiler flag to generate thread-safe objects.
15344 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15346 # Library versioning type.
15347 version_type=$version_type
15349 # Format of library name prefix.
15350 libname_spec=$lt_libname_spec
15352 # List of archive names. First name is the real one, the rest are links.
15353 # The last name is the one that the linker finds with -lNAME.
15354 library_names_spec=$lt_library_names_spec
15356 # The coded name of the library, if different from the real name.
15357 soname_spec=$lt_soname_spec
15359 # Commands used to build and install an old-style archive.
15361 old_archive_cmds=$lt_old_archive_cmds_F77
15362 old_postinstall_cmds=$lt_old_postinstall_cmds
15363 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15365 # Create an old-style archive from a shared archive.
15366 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15368 # Create a temporary old-style archive to link instead of a shared archive.
15369 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15371 # Commands used to build and install a shared archive.
15372 archive_cmds=$lt_archive_cmds_F77
15373 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15374 postinstall_cmds=$lt_postinstall_cmds
15375 postuninstall_cmds=$lt_postuninstall_cmds
15377 # Commands used to build a loadable module (assumed same as above if empty)
15378 module_cmds=$lt_module_cmds_F77
15379 module_expsym_cmds=$lt_module_expsym_cmds_F77
15381 # Commands to strip libraries.
15382 old_striplib=$lt_old_striplib
15383 striplib=$lt_striplib
15385 # Dependencies to place before the objects being linked to create a
15387 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15389 # Dependencies to place after the objects being linked to create a
15391 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15393 # Dependencies to place before the objects being linked to create a
15395 predeps=$lt_predeps_F77
15397 # Dependencies to place after the objects being linked to create a
15399 postdeps=$lt_postdeps_F77
15401 # The library search path used internally by the compiler when linking
15402 # a shared library.
15403 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"\`
15405 # Method to check whether dependent libraries are shared objects.
15406 deplibs_check_method=$lt_deplibs_check_method
15408 # Command to use when deplibs_check_method == file_magic.
15409 file_magic_cmd=$lt_file_magic_cmd
15411 # Flag that allows shared libraries with undefined symbols to be built.
15412 allow_undefined_flag=$lt_allow_undefined_flag_F77
15414 # Flag that forces no undefined symbols.
15415 no_undefined_flag=$lt_no_undefined_flag_F77
15417 # Commands used to finish a libtool library installation in a directory.
15418 finish_cmds=$lt_finish_cmds
15420 # Same as above, but a single script fragment to be evaled but not shown.
15421 finish_eval=$lt_finish_eval
15423 # Take the output of nm and produce a listing of raw symbols and C names.
15424 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15426 # Transform the output of nm in a proper C declaration
15427 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15429 # Transform the output of nm in a C name address pair
15430 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15432 # This is the shared library runtime path variable.
15433 runpath_var=$runpath_var
15435 # This is the shared library path variable.
15436 shlibpath_var=$shlibpath_var
15438 # Is shlibpath searched before the hard-coded library search path?
15439 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15441 # How to hardcode a shared library path into an executable.
15442 hardcode_action=$hardcode_action_F77
15444 # Whether we should hardcode library paths into libraries.
15445 hardcode_into_libs=$hardcode_into_libs
15447 # Flag to hardcode \$libdir into a binary during linking.
15448 # This must work even if \$libdir does not exist.
15449 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15451 # If ld is used when linking, flag to hardcode \$libdir into
15452 # a binary during linking. This must work even if \$libdir does
15454 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15456 # Whether we need a single -rpath flag with a separated argument.
15457 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15459 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15460 # resulting binary.
15461 hardcode_direct=$hardcode_direct_F77
15463 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15464 # resulting binary.
15465 hardcode_minus_L=$hardcode_minus_L_F77
15467 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15468 # the resulting binary.
15469 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15471 # Set to yes if building a shared library automatically hardcodes DIR into the library
15472 # and all subsequent libraries and executables linked against it.
15473 hardcode_automatic=$hardcode_automatic_F77
15475 # Variables whose values should be saved in libtool wrapper scripts and
15476 # restored at relink time.
15477 variables_saved_for_relink="$variables_saved_for_relink"
15479 # Whether libtool must link a program against all its dependency libraries.
15480 link_all_deplibs=$link_all_deplibs_F77
15482 # Compile-time system search path for libraries
15483 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"\`
15485 # Run-time system search path for libraries
15486 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15488 # Fix the shell variable \$srcfile for the compiler.
15489 fix_srcfile_path="$fix_srcfile_path_F77"
15491 # Set to yes if exported symbols are required.
15492 always_export_symbols=$always_export_symbols_F77
15494 # The commands to list exported symbols.
15495 export_symbols_cmds=$lt_export_symbols_cmds_F77
15497 # The commands to extract the exported symbol list from a shared archive.
15498 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15500 # Symbols that should not be listed in the preloaded symbols.
15501 exclude_expsyms=$lt_exclude_expsyms_F77
15503 # Symbols that must always be exported.
15504 include_expsyms=$lt_include_expsyms_F77
15506 # ### END LIBTOOL TAG CONFIG: $tagname
15512 # If there is no Makefile yet, we rely on a make rule to execute
15513 # `config.status --recheck' to rerun these tests and create the
15514 # libtool script then.
15515 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15516 if test -f "$ltmain_in"; then
15517 test -f Makefile
&& make "$ltmain"
15523 ac_cpp
='$CPP $CPPFLAGS'
15524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15536 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15540 # Source file extension for Java test sources.
15543 # Object file extension for compiled Java test sources.
15547 # Code to be used in simple compile tests
15548 lt_simple_compile_test_code
="class foo {}\n"
15550 # Code to be used in simple link tests
15551 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15553 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15555 # If no C compiler was specified, use CC.
15558 # If no C compiler flags were specified, use CFLAGS.
15559 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15561 # Allow CC to be a program name with arguments.
15565 # save warnings/boilerplate of simple test code
15566 ac_outfile
=conftest.
$ac_objext
15567 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15568 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15569 _lt_compiler_boilerplate
=`cat conftest.err`
15572 ac_outfile
=conftest.
$ac_objext
15573 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15574 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15575 _lt_linker_boilerplate
=`cat conftest.err`
15579 # Allow CC to be a program name with arguments.
15584 for cc_temp
in $compiler""; do
15586 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15587 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15592 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15595 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15596 archive_cmds_need_lc_GCJ
=no
15598 old_archive_cmds_GCJ
=$old_archive_cmds
15601 lt_prog_compiler_no_builtin_flag_GCJ
=
15603 if test "$GCC" = yes; then
15604 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15607 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15608 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15609 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 lt_cv_prog_compiler_rtti_exceptions
=no
15613 ac_outfile
=conftest.
$ac_objext
15614 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15615 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15616 # Insert the option either (1) after the last *FLAGS variable, or
15617 # (2) before a word containing "conftest.", or (3) at the end.
15618 # Note that $ac_compile itself does not contain backslashes and begins
15619 # with a dollar sign (not a hyphen), so the echo should work correctly.
15620 # The option is referenced via a variable to avoid confusing sed.
15621 lt_compile
=`echo "$ac_compile" | $SED \
15622 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15623 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15624 -e 's:$: $lt_compiler_flag:'`
15625 (eval echo "\"\$as_me:15625: $lt_compile\"" >&5)
15626 (eval "$lt_compile" 2>conftest.err
)
15628 cat conftest.err
>&5
15629 echo "$as_me:15629: \$? = $ac_status" >&5
15630 if (exit $ac_status) && test -s "$ac_outfile"; then
15631 # The compiler can only warn and ignore the option if not recognized
15632 # So say no if there are warnings other than the usual output.
15633 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15634 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15635 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15636 lt_cv_prog_compiler_rtti_exceptions
=yes
15642 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15643 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15645 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15646 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15653 lt_prog_compiler_wl_GCJ
=
15654 lt_prog_compiler_pic_GCJ
=
15655 lt_prog_compiler_static_GCJ
=
15657 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15658 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15660 if test "$GCC" = yes; then
15661 lt_prog_compiler_wl_GCJ
='-Wl,'
15662 lt_prog_compiler_static_GCJ
='-static'
15666 # All AIX code is PIC.
15667 if test "$host_cpu" = ia64
; then
15668 # AIX 5 now supports IA64 processor
15669 lt_prog_compiler_static_GCJ
='-Bstatic'
15674 # FIXME: we need at least 68020 code to build shared libraries, but
15675 # adding the `-m68020' flag to GCC prevents building anything better,
15677 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15680 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15681 # PIC is the default for these OSes.
15684 mingw
* | pw32
* | os2
*)
15685 # This hack is so that the source file can tell whether it is being
15686 # built for inclusion in a dll (and should export symbols for example).
15687 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15690 darwin
* | rhapsody
*)
15691 # PIC is the default on this platform
15692 # Common symbols not allowed in MH_DYLIB files
15693 lt_prog_compiler_pic_GCJ
='-fno-common'
15697 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15698 # Instead, we relocate shared libraries at runtime.
15702 # Just because we use GCC doesn't mean we suddenly get shared libraries
15703 # on systems that don't support them.
15704 lt_prog_compiler_can_build_shared_GCJ
=no
15709 if test -d /usr
/nec
; then
15710 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15715 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15716 # not for PA HP-UX.
15722 lt_prog_compiler_pic_GCJ
='-fPIC'
15728 lt_prog_compiler_pic_GCJ
='-fPIC'
15732 # PORTME Check for flag to pass linker flags through the system compiler.
15735 lt_prog_compiler_wl_GCJ
='-Wl,'
15736 if test "$host_cpu" = ia64
; then
15737 # AIX 5 now supports IA64 processor
15738 lt_prog_compiler_static_GCJ
='-Bstatic'
15740 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15744 # PIC is the default on this platform
15745 # Common symbols not allowed in MH_DYLIB files
15746 case $cc_basename in
15748 lt_prog_compiler_pic_GCJ
='-qnocommon'
15749 lt_prog_compiler_wl_GCJ
='-Wl,'
15754 mingw
* | pw32
* | os2
*)
15755 # This hack is so that the source file can tell whether it is being
15756 # built for inclusion in a dll (and should export symbols for example).
15757 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15760 hpux9
* | hpux10
* | hpux11
*)
15761 lt_prog_compiler_wl_GCJ
='-Wl,'
15762 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15763 # not for PA HP-UX.
15769 lt_prog_compiler_pic_GCJ
='+Z'
15772 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15773 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15776 irix5
* | irix6
* | nonstopux
*)
15777 lt_prog_compiler_wl_GCJ
='-Wl,'
15778 # PIC (with -KPIC) is the default.
15779 lt_prog_compiler_static_GCJ
='-non_shared'
15783 lt_prog_compiler_pic_GCJ
='-KPIC'
15784 lt_prog_compiler_static_GCJ
='-Bstatic'
15788 case $cc_basename in
15790 lt_prog_compiler_wl_GCJ
='-Wl,'
15791 lt_prog_compiler_pic_GCJ
='-KPIC'
15792 lt_prog_compiler_static_GCJ
='-static'
15794 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15795 # Portland Group compilers (*not* the Pentium gcc compiler,
15796 # which looks to be a dead project)
15797 lt_prog_compiler_wl_GCJ
='-Wl,'
15798 lt_prog_compiler_pic_GCJ
='-fpic'
15799 lt_prog_compiler_static_GCJ
='-Bstatic'
15802 lt_prog_compiler_wl_GCJ
='-Wl,'
15803 # All Alpha code is PIC.
15804 lt_prog_compiler_static_GCJ
='-non_shared'
15809 osf3
* | osf4
* | osf5
*)
15810 lt_prog_compiler_wl_GCJ
='-Wl,'
15811 # All OSF/1 code is PIC.
15812 lt_prog_compiler_static_GCJ
='-non_shared'
15816 lt_prog_compiler_pic_GCJ
='-KPIC'
15817 lt_prog_compiler_static_GCJ
='-Bstatic'
15818 case $cc_basename in
15819 f77
* | f90
* | f95
*)
15820 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15822 lt_prog_compiler_wl_GCJ
='-Wl,';;
15827 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15828 lt_prog_compiler_pic_GCJ
='-PIC'
15829 lt_prog_compiler_static_GCJ
='-Bstatic'
15832 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15833 lt_prog_compiler_wl_GCJ
='-Wl,'
15834 lt_prog_compiler_pic_GCJ
='-KPIC'
15835 lt_prog_compiler_static_GCJ
='-Bstatic'
15839 if test -d /usr
/nec
;then
15840 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15841 lt_prog_compiler_static_GCJ
='-Bstatic'
15845 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15846 lt_prog_compiler_wl_GCJ
='-Wl,'
15847 lt_prog_compiler_pic_GCJ
='-KPIC'
15848 lt_prog_compiler_static_GCJ
='-Bstatic'
15852 lt_prog_compiler_wl_GCJ
='-Wl,'
15853 lt_prog_compiler_can_build_shared_GCJ
=no
15857 lt_prog_compiler_pic_GCJ
='-pic'
15858 lt_prog_compiler_static_GCJ
='-Bstatic'
15862 lt_prog_compiler_can_build_shared_GCJ
=no
15867 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15868 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15871 # Check to make sure the PIC flag actually works.
15873 if test -n "$lt_prog_compiler_pic_GCJ"; then
15875 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15876 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15877 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 lt_prog_compiler_pic_works_GCJ
=no
15881 ac_outfile
=conftest.
$ac_objext
15882 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15883 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15884 # Insert the option either (1) after the last *FLAGS variable, or
15885 # (2) before a word containing "conftest.", or (3) at the end.
15886 # Note that $ac_compile itself does not contain backslashes and begins
15887 # with a dollar sign (not a hyphen), so the echo should work correctly.
15888 # The option is referenced via a variable to avoid confusing sed.
15889 lt_compile
=`echo "$ac_compile" | $SED \
15890 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15891 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15892 -e 's:$: $lt_compiler_flag:'`
15893 (eval echo "\"\$as_me:15893: $lt_compile\"" >&5)
15894 (eval "$lt_compile" 2>conftest.err
)
15896 cat conftest.err
>&5
15897 echo "$as_me:15897: \$? = $ac_status" >&5
15898 if (exit $ac_status) && test -s "$ac_outfile"; then
15899 # The compiler can only warn and ignore the option if not recognized
15900 # So say no if there are warnings other than the usual output.
15901 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15902 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15903 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15904 lt_prog_compiler_pic_works_GCJ
=yes
15910 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15911 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15913 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15914 case $lt_prog_compiler_pic_GCJ in
15916 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15919 lt_prog_compiler_pic_GCJ
=
15920 lt_prog_compiler_can_build_shared_GCJ
=no
15925 # For platforms which do not support PIC, -DPIC is meaningless:
15927 lt_prog_compiler_pic_GCJ
=
15930 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15935 # Check to make sure the static flag actually works.
15937 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
15938 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15939 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15940 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15941 echo $ECHO_N "(cached) $ECHO_C" >&6
15943 lt_prog_compiler_static_works_GCJ
=no
15944 save_LDFLAGS
="$LDFLAGS"
15945 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15946 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15947 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15948 # The linker can only warn and ignore the option if not recognized
15949 # So say no if there are warnings
15950 if test -s conftest.err
; then
15951 # Append any errors to the config.log.
15952 cat conftest.err
1>&5
15953 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15954 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15955 if diff conftest.exp conftest.er2
>/dev
/null
; then
15956 lt_prog_compiler_static_works_GCJ
=yes
15959 lt_prog_compiler_static_works_GCJ
=yes
15963 LDFLAGS
="$save_LDFLAGS"
15966 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15967 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
15969 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
15972 lt_prog_compiler_static_GCJ
=
15976 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15977 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15978 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15979 echo $ECHO_N "(cached) $ECHO_C" >&6
15981 lt_cv_prog_compiler_c_o_GCJ
=no
15982 $rm -r conftest
2>/dev
/null
15986 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15988 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15989 # Insert the option either (1) after the last *FLAGS variable, or
15990 # (2) before a word containing "conftest.", or (3) at the end.
15991 # Note that $ac_compile itself does not contain backslashes and begins
15992 # with a dollar sign (not a hyphen), so the echo should work correctly.
15993 lt_compile
=`echo "$ac_compile" | $SED \
15994 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15995 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15996 -e 's:$: $lt_compiler_flag:'`
15997 (eval echo "\"\$as_me:15997: $lt_compile\"" >&5)
15998 (eval "$lt_compile" 2>out
/conftest.err
)
16000 cat out
/conftest.err
>&5
16001 echo "$as_me:16001: \$? = $ac_status" >&5
16002 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16004 # The compiler can only warn and ignore the option if not recognized
16005 # So say no if there are warnings
16006 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16007 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16008 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16009 lt_cv_prog_compiler_c_o_GCJ
=yes
16014 # SGI C++ compiler will create directory out/ii_files/ for
16015 # template instantiation
16016 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16017 $rm out
/* && rmdir out
16023 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16024 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16027 hard_links
="nottested"
16028 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16029 # do not overwrite the value of need_locks provided by the user
16030 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16031 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16034 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16036 ln conftest.a conftest.b
2>&5 || hard_links
=no
16037 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16038 echo "$as_me:$LINENO: result: $hard_links" >&5
16039 echo "${ECHO_T}$hard_links" >&6
16040 if test "$hard_links" = no
; then
16041 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16042 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16049 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16050 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16053 allow_undefined_flag_GCJ
=
16054 enable_shared_with_static_runtimes_GCJ
=no
16056 archive_expsym_cmds_GCJ
=
16057 old_archive_From_new_cmds_GCJ
=
16058 old_archive_from_expsyms_cmds_GCJ
=
16059 export_dynamic_flag_spec_GCJ
=
16060 whole_archive_flag_spec_GCJ
=
16061 thread_safe_flag_spec_GCJ
=
16062 hardcode_libdir_flag_spec_GCJ
=
16063 hardcode_libdir_flag_spec_ld_GCJ
=
16064 hardcode_libdir_separator_GCJ
=
16065 hardcode_direct_GCJ
=no
16066 hardcode_minus_L_GCJ
=no
16067 hardcode_shlibpath_var_GCJ
=unsupported
16068 link_all_deplibs_GCJ
=unknown
16069 hardcode_automatic_GCJ
=no
16071 module_expsym_cmds_GCJ
=
16072 always_export_symbols_GCJ
=no
16073 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16074 # include_expsyms should be a list of space-separated symbols to be *always*
16075 # included in the symbol list
16076 include_expsyms_GCJ
=
16077 # exclude_expsyms can be an extended regexp of symbols to exclude
16078 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16079 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16080 # as well as any symbol that contains `d'.
16081 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16082 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16083 # platforms (ab)use it in PIC code, but their linkers get confused if
16084 # the symbol is explicitly referenced. Since portable code cannot
16085 # rely on this symbol name, it's probably fine to never include it in
16086 # preloaded symbol tables.
16087 extract_expsyms_cmds
=
16088 # Just being paranoid about ensuring that cc_basename is set.
16089 for cc_temp
in $compiler""; do
16091 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16092 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16097 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16100 cygwin
* | mingw
* | pw32
*)
16101 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16102 # When not using gcc, we currently assume that we are using
16103 # Microsoft Visual C++.
16104 if test "$GCC" != yes; then
16109 # we just hope/assume this is gcc and not c89 (= MSVC++)
16118 if test "$with_gnu_ld" = yes; then
16119 # If archive_cmds runs LD, not CC, wlarc should be empty
16122 # Set some defaults for GNU ld with shared library support. These
16123 # are reset later if shared libraries are not supported. Putting them
16124 # here allows them to be overridden if necessary.
16125 runpath_var
=LD_RUN_PATH
16126 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16127 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16128 # ancient GNU ld didn't support --whole-archive et. al.
16129 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16130 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16132 whole_archive_flag_spec_GCJ
=
16134 supports_anon_versioning
=no
16135 case `$LD -v 2>/dev/null` in
16136 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16137 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16138 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16139 *\
2.11.
*) ;; # other 2.11 versions
16140 *) supports_anon_versioning
=yes ;;
16143 # See if GNU ld supports shared libraries.
16145 aix3
* | aix4
* | aix5
*)
16146 # On AIX/PPC, the GNU linker is very broken
16147 if test "$host_cpu" != ia64
; then
16151 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16152 *** to be unable to reliably create shared libraries on AIX.
16153 *** Therefore, libtool is disabling shared libraries support. If you
16154 *** really care for shared libraries, you may want to modify your PATH
16155 *** so that a non-GNU linker is found, and then restart.
16162 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)'
16163 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16164 hardcode_minus_L_GCJ
=yes
16166 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16167 # that the semantics of dynamic libraries on AmigaOS, at least up
16168 # to version 4, is to share data among multiple programs linked
16169 # with the same dynamic library. Since this doesn't match the
16170 # behavior of shared libraries on other platforms, we can't use
16176 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16177 allow_undefined_flag_GCJ
=unsupported
16178 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16179 # support --undefined. This deserves some investigation. FIXME
16180 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16186 cygwin
* | mingw
* | pw32
*)
16187 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16188 # as there is no search path for DLLs.
16189 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16190 allow_undefined_flag_GCJ
=unsupported
16191 always_export_symbols_GCJ
=no
16192 enable_shared_with_static_runtimes_GCJ
=yes
16193 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16195 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16196 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16197 # If the export-symbols file already is a .def file (1st line
16198 # is EXPORTS), use it as is; otherwise, prepend...
16199 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16200 cp $export_symbols $output_objdir/$soname.def;
16202 echo EXPORTS > $output_objdir/$soname.def;
16203 cat $export_symbols >> $output_objdir/$soname.def;
16205 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16212 hardcode_direct_GCJ
=no
16213 hardcode_shlibpath_var_GCJ
=no
16214 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16215 export_dynamic_flag_spec_GCJ
='${wl}-E'
16216 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16217 # Instead, shared libraries are loaded at an image base (0x10000000 by
16218 # default) and relocated if they conflict, which is a slow very memory
16219 # consuming and fragmenting process. To avoid this, we pick a random,
16220 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16221 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16222 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'
16223 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'
16227 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16229 case $cc_basename,$host_cpu in
16230 pgcc
*) # Portland Group C compiler
16231 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'
16232 tmp_addflag
=' $pic_flag'
16234 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16235 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'
16236 tmp_addflag
=' $pic_flag -Mnomain' ;;
16237 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16238 tmp_addflag
=' -i_dynamic' ;;
16239 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16240 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16241 ifc
* | ifort
*) # Intel Fortran compiler
16242 tmp_addflag
=' -nofor_main' ;;
16244 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16246 if test $supports_anon_versioning = yes; then
16247 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16248 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16249 $echo "local: *; };" >> $output_objdir/$libname.ver~
16250 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16258 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16259 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16262 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16263 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16268 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16272 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16273 *** create shared libraries on Solaris systems. Therefore, libtool
16274 *** is disabling shared libraries support. We urge you to upgrade GNU
16275 *** binutils to release 2.9.1 or newer. Another option is to modify
16276 *** your PATH or compiler configuration so that the native linker is
16277 *** used, and then restart.
16280 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16281 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16282 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16288 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16289 case `$LD -v 2>&1` in
16290 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16294 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16295 *** reliably create shared libraries on SCO systems. Therefore, libtool
16296 *** is disabling shared libraries support. We urge you to upgrade GNU
16297 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16298 *** your PATH or compiler configuration so that the native linker is
16299 *** used, and then restart.
16304 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16305 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16306 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16307 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16316 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16318 hardcode_direct_GCJ
=yes
16319 hardcode_shlibpath_var_GCJ
=no
16323 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16324 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16325 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16332 if test "$ld_shlibs_GCJ" = no
; then
16334 hardcode_libdir_flag_spec_GCJ
=
16335 export_dynamic_flag_spec_GCJ
=
16336 whole_archive_flag_spec_GCJ
=
16339 # PORTME fill in a description of your system's linker (not GNU ld)
16342 allow_undefined_flag_GCJ
=unsupported
16343 always_export_symbols_GCJ
=yes
16344 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'
16345 # Note: this linker hardcodes the directories in LIBPATH if there
16346 # are no directories specified by -L.
16347 hardcode_minus_L_GCJ
=yes
16348 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16349 # Neither direct hardcoding nor static linking is supported with a
16351 hardcode_direct_GCJ
=unsupported
16356 if test "$host_cpu" = ia64
; then
16357 # On IA64, the linker does run time linking by default, so we don't
16358 # have to do anything special.
16359 aix_use_runtimelinking
=no
16360 exp_sym_flag
='-Bexport'
16363 # If we're using GNU nm, then we don't want the "-C" option.
16364 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16365 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16366 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'
16368 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'
16370 aix_use_runtimelinking
=no
16372 # Test if we are trying to use run time linking or normal
16373 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16374 # need to do runtime linking.
16375 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16376 for ld_flag
in $LDFLAGS; do
16377 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16378 aix_use_runtimelinking
=yes
16385 exp_sym_flag
='-bexport'
16386 no_entry_flag
='-bnoentry'
16389 # When large executables or shared objects are built, AIX ld can
16390 # have problems creating the table of contents. If linking a library
16391 # or program results in "error TOC overflow" add -mminimal-toc to
16392 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16393 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16395 archive_cmds_GCJ
=''
16396 hardcode_direct_GCJ
=yes
16397 hardcode_libdir_separator_GCJ
=':'
16398 link_all_deplibs_GCJ
=yes
16400 if test "$GCC" = yes; then
16401 case $host_os in aix4.
[012]|aix4.
[012].
*)
16402 # We only want to do this on AIX 4.2 and lower, the check
16403 # below for broken collect2 doesn't work under 4.3+
16404 collect2name
=`${CC} -print-prog-name=collect2`
16405 if test -f "$collect2name" && \
16406 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16408 # We have reworked collect2
16409 hardcode_direct_GCJ
=yes
16411 # We have old collect2
16412 hardcode_direct_GCJ
=unsupported
16413 # It fails to find uninstalled libraries when the uninstalled
16414 # path is not listed in the libpath. Setting hardcode_minus_L
16415 # to unsupported forces relinking
16416 hardcode_minus_L_GCJ
=yes
16417 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16418 hardcode_libdir_separator_GCJ
=
16422 shared_flag
='-shared'
16423 if test "$aix_use_runtimelinking" = yes; then
16424 shared_flag
="$shared_flag "'${wl}-G'
16428 if test "$host_cpu" = ia64
; then
16429 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16430 # chokes on -Wl,-G. The following line is correct:
16433 if test "$aix_use_runtimelinking" = yes; then
16434 shared_flag
='${wl}-G'
16436 shared_flag
='${wl}-bM:SRE'
16441 # It seems that -bexpall does not export symbols beginning with
16442 # underscore (_), so it is better to generate a list of symbols to export.
16443 always_export_symbols_GCJ
=yes
16444 if test "$aix_use_runtimelinking" = yes; then
16445 # Warning - without using the other runtime loading flags (-brtl),
16446 # -berok will link without error, but may produce a broken library.
16447 allow_undefined_flag_GCJ
='-berok'
16448 # Determine the default libpath from the value encoded in an empty executable.
16449 cat >conftest.
$ac_ext <<_ACEOF
16452 cat confdefs.h
>>conftest.
$ac_ext
16453 cat >>conftest.
$ac_ext <<_ACEOF
16454 /* end confdefs.h. */
16464 rm -f conftest.
$ac_objext conftest
$ac_exeext
16465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16466 (eval $ac_link) 2>conftest.er1
16468 grep -v '^ *+' conftest.er1
>conftest.err
16470 cat conftest.err
>&5
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); } &&
16473 { ac_try
='test -z "$ac_c_werror_flag"
16474 || test ! -s conftest.err'
16475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16476 (eval $ac_try) 2>&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); }; } &&
16480 { ac_try
='test -s conftest$ac_exeext'
16481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16482 (eval $ac_try) 2>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); }; }; then
16487 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16489 # Check for a 64-bit object if we didn't find anything.
16490 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; }
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.
$ac_ext >&5
16497 rm -f conftest.err conftest.
$ac_objext \
16498 conftest
$ac_exeext conftest.
$ac_ext
16499 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16501 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16502 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"
16504 if test "$host_cpu" = ia64
; then
16505 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16506 allow_undefined_flag_GCJ
="-z nodefs"
16507 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"
16509 # Determine the default libpath from the value encoded in an empty executable.
16510 cat >conftest.
$ac_ext <<_ACEOF
16513 cat confdefs.h
>>conftest.
$ac_ext
16514 cat >>conftest.
$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16525 rm -f conftest.
$ac_objext conftest
$ac_exeext
16526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16527 (eval $ac_link) 2>conftest.er1
16529 grep -v '^ *+' conftest.er1
>conftest.err
16531 cat conftest.err
>&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); } &&
16534 { ac_try
='test -z "$ac_c_werror_flag"
16535 || test ! -s conftest.err'
16536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16537 (eval $ac_try) 2>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; } &&
16541 { ac_try
='test -s conftest$ac_exeext'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; }; then
16548 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16550 # Check for a 64-bit object if we didn't find anything.
16551 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; }
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.
$ac_ext >&5
16558 rm -f conftest.err conftest.
$ac_objext \
16559 conftest
$ac_exeext conftest.
$ac_ext
16560 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16562 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16563 # Warning - without using the other run time loading flags,
16564 # -berok will link without error, but may produce a broken library.
16565 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16566 allow_undefined_flag_GCJ
=' ${wl}-berok'
16567 # Exported symbols can be pulled into shared objects from archives
16568 whole_archive_flag_spec_GCJ
='$convenience'
16569 archive_cmds_need_lc_GCJ
=yes
16570 # This is similar to how AIX traditionally builds its shared libraries.
16571 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'
16577 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)'
16578 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16579 hardcode_minus_L_GCJ
=yes
16580 # see comment about different semantics on the GNU ld section
16585 export_dynamic_flag_spec_GCJ
=-rdynamic
16588 cygwin
* | mingw
* | pw32
*)
16589 # When not using gcc, we currently assume that we are using
16590 # Microsoft Visual C++.
16591 # hardcode_libdir_flag_spec is actually meaningless, as there is
16592 # no search path for DLLs.
16593 hardcode_libdir_flag_spec_GCJ
=' '
16594 allow_undefined_flag_GCJ
=unsupported
16595 # Tell ltmain to make .lib files, not .a files.
16597 # Tell ltmain to make .dll files, not .so files.
16599 # FIXME: Setting linknames here is a bad hack.
16600 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16601 # The linker will automatically build a .lib file if we build a DLL.
16602 old_archive_From_new_cmds_GCJ
='true'
16603 # FIXME: Should let the user specify the lib program.
16604 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16605 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16606 enable_shared_with_static_runtimes_GCJ
=yes
16609 darwin
* | rhapsody
*)
16611 rhapsody
* | darwin1.
[012])
16612 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16615 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16616 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16618 case ${MACOSX_DEPLOYMENT_TARGET} in
16620 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16623 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16629 archive_cmds_need_lc_GCJ
=no
16630 hardcode_direct_GCJ
=no
16631 hardcode_automatic_GCJ
=yes
16632 hardcode_shlibpath_var_GCJ
=unsupported
16633 whole_archive_flag_spec_GCJ
=''
16634 link_all_deplibs_GCJ
=yes
16635 if test "$GCC" = yes ; then
16636 output_verbose_link_cmd
='echo'
16637 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16638 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16639 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16640 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}'
16641 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}'
16643 case $cc_basename in
16645 output_verbose_link_cmd
='echo'
16646 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16647 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16648 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16649 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}'
16650 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}'
16660 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16661 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16662 hardcode_shlibpath_var_GCJ
=no
16669 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16670 # support. Future versions do this automatically, but an explicit c++rt0.o
16671 # does not break anything, and helps significantly (at the cost of a little
16674 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16675 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16676 hardcode_direct_GCJ
=yes
16677 hardcode_shlibpath_var_GCJ
=no
16680 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16682 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16683 hardcode_direct_GCJ
=yes
16684 hardcode_minus_L_GCJ
=yes
16685 hardcode_shlibpath_var_GCJ
=no
16688 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16689 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16690 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16691 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16692 hardcode_direct_GCJ
=yes
16693 hardcode_shlibpath_var_GCJ
=no
16697 if test "$GCC" = yes; then
16698 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'
16700 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'
16702 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16703 hardcode_libdir_separator_GCJ
=:
16704 hardcode_direct_GCJ
=yes
16706 # hardcode_minus_L: Not really in the search PATH,
16707 # but as the default location of the library.
16708 hardcode_minus_L_GCJ
=yes
16709 export_dynamic_flag_spec_GCJ
='${wl}-E'
16713 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16714 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16716 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16718 if test "$with_gnu_ld" = no
; then
16719 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16720 hardcode_libdir_separator_GCJ
=:
16722 hardcode_direct_GCJ
=yes
16723 export_dynamic_flag_spec_GCJ
='${wl}-E'
16725 # hardcode_minus_L: Not really in the search PATH,
16726 # but as the default location of the library.
16727 hardcode_minus_L_GCJ
=yes
16732 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16735 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16738 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16741 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16747 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16750 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16753 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16757 if test "$with_gnu_ld" = no
; then
16758 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16759 hardcode_libdir_separator_GCJ
=:
16763 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16764 hardcode_direct_GCJ
=no
16765 hardcode_shlibpath_var_GCJ
=no
16768 hardcode_direct_GCJ
=yes
16769 export_dynamic_flag_spec_GCJ
='${wl}-E'
16771 # hardcode_minus_L: Not really in the search PATH,
16772 # but as the default location of the library.
16773 hardcode_minus_L_GCJ
=yes
16779 irix5
* | irix6
* | nonstopux
*)
16780 if test "$GCC" = yes; then
16781 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'
16783 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'
16784 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16786 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16787 hardcode_libdir_separator_GCJ
=:
16788 link_all_deplibs_GCJ
=yes
16792 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16793 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16795 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16797 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16798 hardcode_direct_GCJ
=yes
16799 hardcode_shlibpath_var_GCJ
=no
16803 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16804 hardcode_direct_GCJ
=yes
16805 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16806 hardcode_libdir_separator_GCJ
=:
16807 hardcode_shlibpath_var_GCJ
=no
16811 hardcode_direct_GCJ
=yes
16812 hardcode_shlibpath_var_GCJ
=no
16813 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16814 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16815 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16816 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16817 export_dynamic_flag_spec_GCJ
='${wl}-E'
16820 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16821 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16822 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16825 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16826 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16833 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16834 hardcode_minus_L_GCJ
=yes
16835 allow_undefined_flag_GCJ
=unsupported
16836 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'
16837 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16841 if test "$GCC" = yes; then
16842 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16843 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'
16845 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16846 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'
16848 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16849 hardcode_libdir_separator_GCJ
=:
16852 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16853 if test "$GCC" = yes; then
16854 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16855 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'
16856 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16858 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16859 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'
16860 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~
16861 $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'
16863 # Both c and cxx compiler support -rpath directly
16864 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16866 hardcode_libdir_separator_GCJ
=:
16870 no_undefined_flag_GCJ
=' -z text'
16871 if test "$GCC" = yes; then
16873 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16874 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16875 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16878 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16879 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16880 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16882 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16883 hardcode_shlibpath_var_GCJ
=no
16885 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16887 # The compiler driver will combine linker options so we
16888 # cannot just pass the convience library names through
16889 # without $wl, iff we do not link with $LD.
16890 # Luckily, gcc supports the same syntax we need for Sun Studio.
16891 # Supported since Solaris 2.6 (maybe 2.5.1?)
16894 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16896 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' ;;
16899 link_all_deplibs_GCJ
=yes
16903 if test "x$host_vendor" = xsequent
; then
16904 # Use $CC to link under sequent, because it throws in some extra .o
16905 # files that make .init and .fini sections work.
16906 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16908 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16910 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16911 hardcode_direct_GCJ
=yes
16912 hardcode_minus_L_GCJ
=yes
16913 hardcode_shlibpath_var_GCJ
=no
16917 case $host_vendor in
16919 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16920 hardcode_direct_GCJ
=yes # is this really true???
16923 ## LD is ld it makes a PLAMLIB
16924 ## CC just makes a GrossModule.
16925 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16926 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16927 hardcode_direct_GCJ
=no
16930 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16931 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16934 runpath_var
='LD_RUN_PATH'
16935 hardcode_shlibpath_var_GCJ
=no
16939 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16940 hardcode_shlibpath_var_GCJ
=no
16941 export_dynamic_flag_spec_GCJ
='-Bexport'
16945 if test -d /usr
/nec
; then
16946 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16947 hardcode_shlibpath_var_GCJ
=no
16948 runpath_var
=LD_RUN_PATH
16949 hardcode_runpath_var
=yes
16954 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16955 no_undefined_flag_GCJ
='${wl}-z,text'
16956 archive_cmds_need_lc_GCJ
=no
16957 hardcode_shlibpath_var_GCJ
=no
16958 runpath_var
='LD_RUN_PATH'
16960 if test "$GCC" = yes; then
16961 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16962 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16964 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16965 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16969 sysv5
* | sco3.2v5
* | sco5v6
*)
16970 # Note: We can NOT use -z defs as we might desire, because we do not
16971 # link with -lc, and that would cause any symbols used from libc to
16972 # always be unresolved, which means just about no library would
16973 # ever link correctly. If we're not using GNU ld we use -z text
16974 # though, which does catch some bad symbols but isn't as heavy-handed
16976 no_undefined_flag_GCJ
='${wl}-z,text'
16977 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
16978 archive_cmds_need_lc_GCJ
=no
16979 hardcode_shlibpath_var_GCJ
=no
16980 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16981 hardcode_libdir_separator_GCJ
=':'
16982 link_all_deplibs_GCJ
=yes
16983 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16984 runpath_var
='LD_RUN_PATH'
16986 if test "$GCC" = yes; then
16987 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16988 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16990 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16991 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16996 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16997 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16998 hardcode_shlibpath_var_GCJ
=no
17007 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17008 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17009 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17012 # Do we need to explicitly link libc?
17014 case "x$archive_cmds_need_lc_GCJ" in
17016 # Assume -lc should be added
17017 archive_cmds_need_lc_GCJ
=yes
17019 if test "$enable_shared" = yes && test "$GCC" = yes; then
17020 case $archive_cmds_GCJ in
17022 # FIXME: we may have to deal with multi-command sequences.
17025 # Test whether the compiler implicitly links with -lc since on some
17026 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17027 # to ld, don't add -lc before -lgcc.
17028 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17029 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17031 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17034 (eval $ac_compile) 2>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } 2>conftest.err
; then
17040 libobjs
=conftest.
$ac_objext
17042 wl
=$lt_prog_compiler_wl_GCJ
17043 pic_flag
=$lt_prog_compiler_pic_GCJ
17049 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17050 allow_undefined_flag_GCJ
=
17051 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17052 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }
17057 archive_cmds_need_lc_GCJ
=no
17059 archive_cmds_need_lc_GCJ
=yes
17061 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17063 cat conftest.err
1>&5
17066 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17067 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17074 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17075 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17076 library_names_spec
=
17077 libname_spec
='lib$name'
17081 postuninstall_cmds
=
17085 shlibpath_overrides_runpath
=unknown
17087 dynamic_linker
="$host_os ld.so"
17088 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17089 if test "$GCC" = yes; then
17090 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17091 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17092 # if the path contains ";" then we assume it to be the separator
17093 # otherwise default to the standard path separator (i.e. ":") - it is
17094 # assumed that no part of a normal pathname contains ";" but that should
17095 # okay in the real world where ";" in dirpaths is itself problematic.
17096 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17098 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17101 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17103 need_lib_prefix
=unknown
17104 hardcode_into_libs
=no
17106 # when you set need_version to no, make sure it does not cause -set_version
17107 # flags to be left without arguments
17108 need_version
=unknown
17113 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17114 shlibpath_var
=LIBPATH
17116 # AIX 3 has no versioning support, so we append a major version to the name.
17117 soname_spec
='${libname}${release}${shared_ext}$major'
17124 hardcode_into_libs
=yes
17125 if test "$host_cpu" = ia64
; then
17126 # AIX 5 supports IA64
17127 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17128 shlibpath_var
=LD_LIBRARY_PATH
17130 # With GCC up to 2.95.x, collect2 would create an import file
17131 # for dependence libraries. The import file would start with
17132 # the line `#! .'. This would cause the generated library to
17133 # depend on `.', always an invalid library. This was fixed in
17134 # development snapshots of GCC prior to 3.0.
17136 aix4 | aix4.
[01] | aix4.
[01].
*)
17137 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17139 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17142 can_build_shared
=no
17146 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17147 # soname into executable. Probably we can add versioning support to
17148 # collect2, so additional links can be useful in future.
17149 if test "$aix_use_runtimelinking" = yes; then
17150 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17151 # instead of lib<name>.a to let people know that these are not
17152 # typical AIX shared libraries.
17153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17155 # We preserve .a as extension for shared libraries through AIX4.2
17156 # and later when we are not doing run time linking.
17157 library_names_spec
='${libname}${release}.a $libname.a'
17158 soname_spec
='${libname}${release}${shared_ext}$major'
17160 shlibpath_var
=LIBPATH
17165 library_names_spec
='$libname.ixlibrary $libname.a'
17166 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17167 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'
17171 library_names_spec
='${libname}${shared_ext}'
17172 dynamic_linker
="$host_os ld.so"
17173 shlibpath_var
=LIBRARY_PATH
17179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17180 soname_spec
='${libname}${release}${shared_ext}$major'
17181 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17182 shlibpath_var
=LD_LIBRARY_PATH
17183 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17184 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17185 # the default ld.so.conf also contains /usr/contrib/lib and
17186 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17187 # libtool to hard-code these into programs
17190 cygwin
* | mingw
* | pw32
*)
17191 version_type
=windows
17196 case $GCC,$host_os in
17197 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17198 library_names_spec
='$libname.dll.a'
17199 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17200 postinstall_cmds
='base_file=`basename \${file}`~
17201 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17202 dldir=$destdir/`dirname \$dlpath`~
17203 test -d \$dldir || mkdir -p \$dldir~
17204 $install_prog $dir/$dlname \$dldir/$dlname~
17205 chmod a+x \$dldir/$dlname'
17206 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17207 dlpath=$dir/\$dldll~
17209 shlibpath_overrides_runpath
=yes
17213 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17214 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17215 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17218 # MinGW DLLs use traditional 'lib' prefix
17219 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17220 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17221 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17222 # It is most probably a Windows format PATH printed by
17223 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17224 # path with ; separators, and with drive letters. We can handle the
17225 # drive letters (cygwin fileutils understands them), so leave them,
17226 # especially as we might pass files found there to a mingw objdump,
17227 # which wouldn't understand a cygwinified path. Ahh.
17228 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17230 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17234 # pw32 DLLs use 'pw' prefix rather than 'lib'
17235 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17241 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17244 dynamic_linker
='Win32 ld.exe'
17245 # FIXME: first we should search . and the directory the executable is in
17249 darwin
* | rhapsody
*)
17250 dynamic_linker
="$host_os dyld"
17251 version_type
=darwin
17254 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17255 soname_spec
='${libname}${release}${major}$shared_ext'
17256 shlibpath_overrides_runpath
=yes
17257 shlibpath_var
=DYLD_LIBRARY_PATH
17258 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17259 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17260 if test "$GCC" = yes; then
17261 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"`
17263 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17265 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17273 soname_spec
='${libname}${release}${shared_ext}$major'
17274 shlibpath_var
=LD_LIBRARY_PATH
17285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17286 soname_spec
='${libname}${release}${shared_ext}$major'
17287 shlibpath_var
=LD_LIBRARY_PATH
17288 shlibpath_overrides_runpath
=no
17289 hardcode_into_libs
=yes
17290 dynamic_linker
='GNU ld.so'
17293 freebsd
* | dragonfly
*)
17294 # DragonFly does not have aout. When/if they implement a new
17295 # versioning mechanism, adjust this.
17296 if test -x /usr
/bin
/objformat
; then
17297 objformat
=`/usr/bin/objformat`
17300 freebsd
[123]*) objformat
=aout
;;
17301 *) objformat
=elf
;;
17304 version_type
=freebsd-
$objformat
17305 case $version_type in
17307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17312 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17316 shlibpath_var
=LD_LIBRARY_PATH
17319 shlibpath_overrides_runpath
=yes
17321 freebsd3.
[01]* | freebsdelf3.
[01]*)
17322 shlibpath_overrides_runpath
=yes
17323 hardcode_into_libs
=yes
17325 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17326 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17327 shlibpath_overrides_runpath
=no
17328 hardcode_into_libs
=yes
17330 freebsd
*) # from 4.6 on
17331 shlibpath_overrides_runpath
=yes
17332 hardcode_into_libs
=yes
17341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17342 soname_spec
='${libname}${release}${shared_ext}$major'
17343 shlibpath_var
=LD_LIBRARY_PATH
17344 hardcode_into_libs
=yes
17347 hpux9
* | hpux10
* | hpux11
*)
17348 # Give a soname corresponding to the major version so that dld.sl refuses to
17349 # link against other versions.
17356 hardcode_into_libs
=yes
17357 dynamic_linker
="$host_os dld.so"
17358 shlibpath_var
=LD_LIBRARY_PATH
17359 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17361 soname_spec
='${libname}${release}${shared_ext}$major'
17362 if test "X$HPUX_IA64_MODE" = X32
; then
17363 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17365 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17367 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17371 hardcode_into_libs
=yes
17372 dynamic_linker
="$host_os dld.sl"
17373 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17374 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17376 soname_spec
='${libname}${release}${shared_ext}$major'
17377 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17378 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17382 dynamic_linker
="$host_os dld.sl"
17383 shlibpath_var
=SHLIB_PATH
17384 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17386 soname_spec
='${libname}${release}${shared_ext}$major'
17389 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17390 postinstall_cmds
='chmod 555 $lib'
17397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17398 soname_spec
='${libname}${release}${shared_ext}$major'
17399 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17400 shlibpath_var
=LD_LIBRARY_PATH
17401 shlibpath_overrides_runpath
=no
17402 hardcode_into_libs
=yes
17405 irix5
* | irix6
* | nonstopux
*)
17407 nonstopux
*) version_type
=nonstopux
;;
17409 if test "$lt_cv_prog_gnu_ld" = yes; then
17417 soname_spec
='${libname}${release}${shared_ext}$major'
17418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17420 irix5
* | nonstopux
*)
17421 libsuff
= shlibsuff
=
17424 case $LD in # libtool.m4 will add one of these switches to LD
17425 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17426 libsuff
= shlibsuff
= libmagic
=32-bit;;
17427 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17428 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17429 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17430 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17431 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17435 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17436 shlibpath_overrides_runpath
=no
17437 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17438 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17439 hardcode_into_libs
=yes
17442 # No shared lib support for Linux oldld, aout, or coff.
17443 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17447 # This must be Linux ELF.
17452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17453 soname_spec
='${libname}${release}${shared_ext}$major'
17454 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17455 shlibpath_var
=LD_LIBRARY_PATH
17456 shlibpath_overrides_runpath
=no
17457 # This implies no fast_install, which is unacceptable.
17458 # Some rework will be needed to allow for fast_install
17459 # before this can be enabled.
17460 hardcode_into_libs
=yes
17462 # find out which ABI we are using
17464 case "$host_cpu" in
17465 x86_64
*|s390x
*|powerpc64
*)
17466 echo '#line 17466 "configure"' > conftest.
$ac_ext
17467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17468 (eval $ac_compile) 2>&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; then
17472 case `/usr/bin/file conftest.$ac_objext` in
17475 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17483 # Append ld.so.conf contents to the search path
17484 if test -f /etc
/ld.so.conf
; then
17485 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' ' '`
17486 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17489 # We used to test for /lib/ld.so.1 and disable shared libraries on
17490 # powerpc, because MkLinux only supported shared libraries with the
17491 # GNU dynamic linker. Since this was broken with cross compilers,
17492 # most powerpc-linux boxes support dynamic linking these days and
17493 # people can always --disable-shared, the test was removed, and we
17494 # assume the GNU/Linux dynamic linker is in use.
17495 dynamic_linker
='GNU/Linux ld.so'
17502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17503 soname_spec
='${libname}${release}${shared_ext}$major'
17504 shlibpath_var
=LD_LIBRARY_PATH
17505 shlibpath_overrides_runpath
=no
17506 hardcode_into_libs
=yes
17507 dynamic_linker
='GNU ld.so'
17514 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17516 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17517 dynamic_linker
='NetBSD (a.out) ld.so'
17519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17520 soname_spec
='${libname}${release}${shared_ext}$major'
17521 dynamic_linker
='NetBSD ld.elf_so'
17523 shlibpath_var
=LD_LIBRARY_PATH
17524 shlibpath_overrides_runpath
=yes
17525 hardcode_into_libs
=yes
17530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17531 shlibpath_var
=LD_LIBRARY_PATH
17532 shlibpath_overrides_runpath
=yes
17539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17540 soname_spec
='${libname}${release}${shared_ext}$major'
17541 shlibpath_var
=LD_LIBRARY_PATH
17542 shlibpath_overrides_runpath
=yes
17547 sys_lib_dlsearch_path_spec
="/usr/lib"
17549 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17551 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17552 *) need_version
=no
;;
17554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17555 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17556 shlibpath_var
=LD_LIBRARY_PATH
17557 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17559 openbsd2.
[89] | openbsd2.
[89].
*)
17560 shlibpath_overrides_runpath
=no
17563 shlibpath_overrides_runpath
=yes
17567 shlibpath_overrides_runpath
=yes
17572 libname_spec
='$name'
17575 library_names_spec
='$libname${shared_ext} $libname.a'
17576 dynamic_linker
='OS/2 ld.exe'
17577 shlibpath_var
=LIBPATH
17580 osf3
* | osf4
* | osf5
*)
17584 soname_spec
='${libname}${release}${shared_ext}$major'
17585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17586 shlibpath_var
=LD_LIBRARY_PATH
17587 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17588 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17596 soname_spec
='${libname}${release}${shared_ext}$major'
17597 shlibpath_var
=LD_LIBRARY_PATH
17598 shlibpath_overrides_runpath
=yes
17599 hardcode_into_libs
=yes
17600 # ldd complains unless libraries are executable
17601 postinstall_cmds
='chmod +x $lib'
17606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17607 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17608 shlibpath_var
=LD_LIBRARY_PATH
17609 shlibpath_overrides_runpath
=yes
17610 if test "$with_gnu_ld" = yes; then
17618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17619 soname_spec
='${libname}${release}${shared_ext}$major'
17620 shlibpath_var
=LD_LIBRARY_PATH
17621 case $host_vendor in
17623 shlibpath_overrides_runpath
=no
17625 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17626 runpath_var
=LD_RUN_PATH
17634 shlibpath_overrides_runpath
=no
17635 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17641 if test -d /usr
/nec
;then
17643 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17644 soname_spec
='$libname${shared_ext}.$major'
17645 shlibpath_var
=LD_LIBRARY_PATH
17649 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17650 version_type
=freebsd-elf
17653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17654 soname_spec
='${libname}${release}${shared_ext}$major'
17655 shlibpath_var
=LD_LIBRARY_PATH
17656 hardcode_into_libs
=yes
17657 if test "$with_gnu_ld" = yes; then
17658 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17659 shlibpath_overrides_runpath
=no
17661 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17662 shlibpath_overrides_runpath
=yes
17665 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17669 sys_lib_dlsearch_path_spec
='/usr/lib'
17674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17675 soname_spec
='${libname}${release}${shared_ext}$major'
17676 shlibpath_var
=LD_LIBRARY_PATH
17683 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17684 echo "${ECHO_T}$dynamic_linker" >&6
17685 test "$dynamic_linker" = no
&& can_build_shared
=no
17687 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17688 if test "$GCC" = yes; then
17689 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17692 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17693 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17694 hardcode_action_GCJ
=
17695 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17696 test -n "$runpath_var_GCJ" || \
17697 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17699 # We can hardcode non-existant directories.
17700 if test "$hardcode_direct_GCJ" != no
&&
17701 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17702 # have to relink, otherwise we might link with an installed library
17703 # when we should be linking with a yet-to-be-installed one
17704 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17705 test "$hardcode_minus_L_GCJ" != no
; then
17706 # Linking always hardcodes the temporary library directory.
17707 hardcode_action_GCJ
=relink
17709 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17710 hardcode_action_GCJ
=immediate
17713 # We cannot hardcode anything, or else we can only hardcode existing
17715 hardcode_action_GCJ
=unsupported
17717 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17718 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17720 if test "$hardcode_action_GCJ" = relink
; then
17721 # Fast installation is not supported
17722 enable_fast_install
=no
17723 elif test "$shlibpath_overrides_runpath" = yes ||
17724 test "$enable_shared" = no
; then
17725 # Fast installation is not necessary
17726 enable_fast_install
=needless
17730 # The else clause should only fire when bootstrapping the
17731 # libtool distribution, otherwise you forgot to ship ltmain.sh
17732 # with your package, and you will get complaints that there are
17733 # no rules to generate ltmain.sh.
17734 if test -f "$ltmain"; then
17735 # See if we are running on zsh, and set the options which allow our commands through
17736 # without removal of \ escapes.
17737 if test -n "${ZSH_VERSION+set}" ; then
17738 setopt NO_GLOB_SUBST
17740 # Now quote all the things that may contain metacharacters while being
17741 # careful not to overquote the AC_SUBSTed values. We take copies of the
17742 # variables and quote the copies for generation of the libtool script.
17743 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17745 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17746 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17747 deplibs_check_method reload_flag reload_cmds need_locks \
17748 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17749 lt_cv_sys_global_symbol_to_c_name_address \
17750 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17751 old_postinstall_cmds old_postuninstall_cmds \
17755 lt_prog_compiler_wl_GCJ \
17756 lt_prog_compiler_pic_GCJ \
17757 lt_prog_compiler_static_GCJ \
17758 lt_prog_compiler_no_builtin_flag_GCJ \
17759 export_dynamic_flag_spec_GCJ \
17760 thread_safe_flag_spec_GCJ \
17761 whole_archive_flag_spec_GCJ \
17762 enable_shared_with_static_runtimes_GCJ \
17763 old_archive_cmds_GCJ \
17764 old_archive_from_new_cmds_GCJ \
17765 predep_objects_GCJ \
17766 postdep_objects_GCJ \
17769 compiler_lib_search_path_GCJ \
17771 archive_expsym_cmds_GCJ \
17772 postinstall_cmds_GCJ \
17773 postuninstall_cmds_GCJ \
17774 old_archive_from_expsyms_cmds_GCJ \
17775 allow_undefined_flag_GCJ \
17776 no_undefined_flag_GCJ \
17777 export_symbols_cmds_GCJ \
17778 hardcode_libdir_flag_spec_GCJ \
17779 hardcode_libdir_flag_spec_ld_GCJ \
17780 hardcode_libdir_separator_GCJ \
17781 hardcode_automatic_GCJ \
17783 module_expsym_cmds_GCJ \
17784 lt_cv_prog_compiler_c_o_GCJ \
17785 exclude_expsyms_GCJ \
17786 include_expsyms_GCJ
; do
17789 old_archive_cmds_GCJ | \
17790 old_archive_from_new_cmds_GCJ | \
17791 archive_cmds_GCJ | \
17792 archive_expsym_cmds_GCJ | \
17793 module_cmds_GCJ | \
17794 module_expsym_cmds_GCJ | \
17795 old_archive_from_expsyms_cmds_GCJ | \
17796 export_symbols_cmds_GCJ | \
17797 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17798 postinstall_cmds | postuninstall_cmds | \
17799 old_postinstall_cmds | old_postuninstall_cmds | \
17800 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17801 # Double-quote double-evaled strings.
17802 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17805 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17811 *'\$0 --fallback-echo"')
17812 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17818 cat <<__EOF__ >> "$cfgfile"
17819 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17821 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17823 # Shell to use when invoking shell scripts.
17826 # Whether or not to build shared libraries.
17827 build_libtool_libs=$enable_shared
17829 # Whether or not to build static libraries.
17830 build_old_libs=$enable_static
17832 # Whether or not to add -lc for building shared libraries.
17833 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17835 # Whether or not to disallow shared libs when runtime libs are static
17836 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17838 # Whether or not to optimize for fast installation.
17839 fast_install=$enable_fast_install
17842 host_alias=$host_alias
17846 # The build system.
17847 build_alias=$build_alias
17851 # An echo program that does not interpret backslashes.
17856 AR_FLAGS=$lt_AR_FLAGS
17861 # LTCC compiler flags.
17862 LTCFLAGS=$lt_LTCFLAGS
17864 # A language-specific compiler.
17865 CC=$lt_compiler_GCJ
17867 # Is the compiler the GNU C compiler?
17870 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
17871 gcc_ver=\`gcc -dumpversion\`
17876 # The linker used to build libraries.
17879 # Whether we need hard or soft links.
17882 # A BSD-compatible nm program.
17885 # A symbol stripping program
17888 # Used to examine libraries when file_magic_cmd begins "file"
17889 MAGIC_CMD=$MAGIC_CMD
17891 # Used on cygwin: DLL creation program.
17894 # Used on cygwin: object dumper.
17897 # Used on cygwin: assembler.
17900 # The name of the directory that contains temporary libtool files.
17903 # How to create reloadable object files.
17904 reload_flag=$lt_reload_flag
17905 reload_cmds=$lt_reload_cmds
17907 # How to pass a linker flag through the compiler.
17908 wl=$lt_lt_prog_compiler_wl_GCJ
17910 # Object file suffix (normally "o").
17911 objext="$ac_objext"
17913 # Old archive suffix (normally "a").
17916 # Shared library suffix (normally ".so").
17917 shrext_cmds='$shrext_cmds'
17919 # Executable file suffix (normally "").
17922 # Additional compiler flags for building library objects.
17923 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17926 # What is the maximum length of a command?
17927 max_cmd_len=$lt_cv_sys_max_cmd_len
17929 # Does compiler simultaneously support -c and -o options?
17930 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17932 # Must we lock files when doing compilation?
17933 need_locks=$lt_need_locks
17935 # Do we need the lib prefix for modules?
17936 need_lib_prefix=$need_lib_prefix
17938 # Do we need a version for libraries?
17939 need_version=$need_version
17941 # Whether dlopen is supported.
17942 dlopen_support=$enable_dlopen
17944 # Whether dlopen of programs is supported.
17945 dlopen_self=$enable_dlopen_self
17947 # Whether dlopen of statically linked programs is supported.
17948 dlopen_self_static=$enable_dlopen_self_static
17950 # Compiler flag to prevent dynamic linking.
17951 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17953 # Compiler flag to turn off builtin functions.
17954 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17956 # Compiler flag to allow reflexive dlopens.
17957 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17959 # Compiler flag to generate shared objects directly from archives.
17960 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17962 # Compiler flag to generate thread-safe objects.
17963 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17965 # Library versioning type.
17966 version_type=$version_type
17968 # Format of library name prefix.
17969 libname_spec=$lt_libname_spec
17971 # List of archive names. First name is the real one, the rest are links.
17972 # The last name is the one that the linker finds with -lNAME.
17973 library_names_spec=$lt_library_names_spec
17975 # The coded name of the library, if different from the real name.
17976 soname_spec=$lt_soname_spec
17978 # Commands used to build and install an old-style archive.
17980 old_archive_cmds=$lt_old_archive_cmds_GCJ
17981 old_postinstall_cmds=$lt_old_postinstall_cmds
17982 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17984 # Create an old-style archive from a shared archive.
17985 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17987 # Create a temporary old-style archive to link instead of a shared archive.
17988 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17990 # Commands used to build and install a shared archive.
17991 archive_cmds=$lt_archive_cmds_GCJ
17992 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17993 postinstall_cmds=$lt_postinstall_cmds
17994 postuninstall_cmds=$lt_postuninstall_cmds
17996 # Commands used to build a loadable module (assumed same as above if empty)
17997 module_cmds=$lt_module_cmds_GCJ
17998 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18000 # Commands to strip libraries.
18001 old_striplib=$lt_old_striplib
18002 striplib=$lt_striplib
18004 # Dependencies to place before the objects being linked to create a
18006 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18008 # Dependencies to place after the objects being linked to create a
18010 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18012 # Dependencies to place before the objects being linked to create a
18014 predeps=$lt_predeps_GCJ
18016 # Dependencies to place after the objects being linked to create a
18018 postdeps=$lt_postdeps_GCJ
18020 # The library search path used internally by the compiler when linking
18021 # a shared library.
18022 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"\`
18024 # Method to check whether dependent libraries are shared objects.
18025 deplibs_check_method=$lt_deplibs_check_method
18027 # Command to use when deplibs_check_method == file_magic.
18028 file_magic_cmd=$lt_file_magic_cmd
18030 # Flag that allows shared libraries with undefined symbols to be built.
18031 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18033 # Flag that forces no undefined symbols.
18034 no_undefined_flag=$lt_no_undefined_flag_GCJ
18036 # Commands used to finish a libtool library installation in a directory.
18037 finish_cmds=$lt_finish_cmds
18039 # Same as above, but a single script fragment to be evaled but not shown.
18040 finish_eval=$lt_finish_eval
18042 # Take the output of nm and produce a listing of raw symbols and C names.
18043 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18045 # Transform the output of nm in a proper C declaration
18046 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18048 # Transform the output of nm in a C name address pair
18049 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18051 # This is the shared library runtime path variable.
18052 runpath_var=$runpath_var
18054 # This is the shared library path variable.
18055 shlibpath_var=$shlibpath_var
18057 # Is shlibpath searched before the hard-coded library search path?
18058 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18060 # How to hardcode a shared library path into an executable.
18061 hardcode_action=$hardcode_action_GCJ
18063 # Whether we should hardcode library paths into libraries.
18064 hardcode_into_libs=$hardcode_into_libs
18066 # Flag to hardcode \$libdir into a binary during linking.
18067 # This must work even if \$libdir does not exist.
18068 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18070 # If ld is used when linking, flag to hardcode \$libdir into
18071 # a binary during linking. This must work even if \$libdir does
18073 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18075 # Whether we need a single -rpath flag with a separated argument.
18076 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18078 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18079 # resulting binary.
18080 hardcode_direct=$hardcode_direct_GCJ
18082 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18083 # resulting binary.
18084 hardcode_minus_L=$hardcode_minus_L_GCJ
18086 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18087 # the resulting binary.
18088 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18090 # Set to yes if building a shared library automatically hardcodes DIR into the library
18091 # and all subsequent libraries and executables linked against it.
18092 hardcode_automatic=$hardcode_automatic_GCJ
18094 # Variables whose values should be saved in libtool wrapper scripts and
18095 # restored at relink time.
18096 variables_saved_for_relink="$variables_saved_for_relink"
18098 # Whether libtool must link a program against all its dependency libraries.
18099 link_all_deplibs=$link_all_deplibs_GCJ
18101 # Compile-time system search path for libraries
18102 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"\`
18104 # Run-time system search path for libraries
18105 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18107 # Fix the shell variable \$srcfile for the compiler.
18108 fix_srcfile_path="$fix_srcfile_path_GCJ"
18110 # Set to yes if exported symbols are required.
18111 always_export_symbols=$always_export_symbols_GCJ
18113 # The commands to list exported symbols.
18114 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18116 # The commands to extract the exported symbol list from a shared archive.
18117 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18119 # Symbols that should not be listed in the preloaded symbols.
18120 exclude_expsyms=$lt_exclude_expsyms_GCJ
18122 # Symbols that must always be exported.
18123 include_expsyms=$lt_include_expsyms_GCJ
18125 # ### END LIBTOOL TAG CONFIG: $tagname
18131 # If there is no Makefile yet, we rely on a make rule to execute
18132 # `config.status --recheck' to rerun these tests and create the
18133 # libtool script then.
18134 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18135 if test -f "$ltmain_in"; then
18136 test -f Makefile
&& make "$ltmain"
18142 ac_cpp
='$CPP $CPPFLAGS'
18143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18158 # Source file extension for RC test sources.
18161 # Object file extension for compiled RC test sources.
18165 # Code to be used in simple compile tests
18166 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18168 # Code to be used in simple link tests
18169 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18171 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18173 # If no C compiler was specified, use CC.
18176 # If no C compiler flags were specified, use CFLAGS.
18177 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18179 # Allow CC to be a program name with arguments.
18183 # save warnings/boilerplate of simple test code
18184 ac_outfile
=conftest.
$ac_objext
18185 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18186 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18187 _lt_compiler_boilerplate
=`cat conftest.err`
18190 ac_outfile
=conftest.
$ac_objext
18191 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18192 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18193 _lt_linker_boilerplate
=`cat conftest.err`
18197 # Allow CC to be a program name with arguments.
18202 for cc_temp
in $compiler""; do
18204 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18205 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18210 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18212 lt_cv_prog_compiler_c_o_RC
=yes
18214 # The else clause should only fire when bootstrapping the
18215 # libtool distribution, otherwise you forgot to ship ltmain.sh
18216 # with your package, and you will get complaints that there are
18217 # no rules to generate ltmain.sh.
18218 if test -f "$ltmain"; then
18219 # See if we are running on zsh, and set the options which allow our commands through
18220 # without removal of \ escapes.
18221 if test -n "${ZSH_VERSION+set}" ; then
18222 setopt NO_GLOB_SUBST
18224 # Now quote all the things that may contain metacharacters while being
18225 # careful not to overquote the AC_SUBSTed values. We take copies of the
18226 # variables and quote the copies for generation of the libtool script.
18227 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18229 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18230 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18231 deplibs_check_method reload_flag reload_cmds need_locks \
18232 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18233 lt_cv_sys_global_symbol_to_c_name_address \
18234 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18235 old_postinstall_cmds old_postuninstall_cmds \
18239 lt_prog_compiler_wl_RC \
18240 lt_prog_compiler_pic_RC \
18241 lt_prog_compiler_static_RC \
18242 lt_prog_compiler_no_builtin_flag_RC \
18243 export_dynamic_flag_spec_RC \
18244 thread_safe_flag_spec_RC \
18245 whole_archive_flag_spec_RC \
18246 enable_shared_with_static_runtimes_RC \
18247 old_archive_cmds_RC \
18248 old_archive_from_new_cmds_RC \
18249 predep_objects_RC \
18250 postdep_objects_RC \
18253 compiler_lib_search_path_RC \
18255 archive_expsym_cmds_RC \
18256 postinstall_cmds_RC \
18257 postuninstall_cmds_RC \
18258 old_archive_from_expsyms_cmds_RC \
18259 allow_undefined_flag_RC \
18260 no_undefined_flag_RC \
18261 export_symbols_cmds_RC \
18262 hardcode_libdir_flag_spec_RC \
18263 hardcode_libdir_flag_spec_ld_RC \
18264 hardcode_libdir_separator_RC \
18265 hardcode_automatic_RC \
18267 module_expsym_cmds_RC \
18268 lt_cv_prog_compiler_c_o_RC \
18269 exclude_expsyms_RC \
18270 include_expsyms_RC
; do
18273 old_archive_cmds_RC | \
18274 old_archive_from_new_cmds_RC | \
18275 archive_cmds_RC | \
18276 archive_expsym_cmds_RC | \
18278 module_expsym_cmds_RC | \
18279 old_archive_from_expsyms_cmds_RC | \
18280 export_symbols_cmds_RC | \
18281 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18282 postinstall_cmds | postuninstall_cmds | \
18283 old_postinstall_cmds | old_postuninstall_cmds | \
18284 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18285 # Double-quote double-evaled strings.
18286 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18289 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18295 *'\$0 --fallback-echo"')
18296 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18302 cat <<__EOF__ >> "$cfgfile"
18303 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18305 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18307 # Shell to use when invoking shell scripts.
18310 # Whether or not to build shared libraries.
18311 build_libtool_libs=$enable_shared
18313 # Whether or not to build static libraries.
18314 build_old_libs=$enable_static
18316 # Whether or not to add -lc for building shared libraries.
18317 build_libtool_need_lc=$archive_cmds_need_lc_RC
18319 # Whether or not to disallow shared libs when runtime libs are static
18320 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18322 # Whether or not to optimize for fast installation.
18323 fast_install=$enable_fast_install
18326 host_alias=$host_alias
18330 # The build system.
18331 build_alias=$build_alias
18335 # An echo program that does not interpret backslashes.
18340 AR_FLAGS=$lt_AR_FLAGS
18345 # LTCC compiler flags.
18346 LTCFLAGS=$lt_LTCFLAGS
18348 # A language-specific compiler.
18351 # Is the compiler the GNU C compiler?
18354 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18355 gcc_ver=\`gcc -dumpversion\`
18360 # The linker used to build libraries.
18363 # Whether we need hard or soft links.
18366 # A BSD-compatible nm program.
18369 # A symbol stripping program
18372 # Used to examine libraries when file_magic_cmd begins "file"
18373 MAGIC_CMD=$MAGIC_CMD
18375 # Used on cygwin: DLL creation program.
18378 # Used on cygwin: object dumper.
18381 # Used on cygwin: assembler.
18384 # The name of the directory that contains temporary libtool files.
18387 # How to create reloadable object files.
18388 reload_flag=$lt_reload_flag
18389 reload_cmds=$lt_reload_cmds
18391 # How to pass a linker flag through the compiler.
18392 wl=$lt_lt_prog_compiler_wl_RC
18394 # Object file suffix (normally "o").
18395 objext="$ac_objext"
18397 # Old archive suffix (normally "a").
18400 # Shared library suffix (normally ".so").
18401 shrext_cmds='$shrext_cmds'
18403 # Executable file suffix (normally "").
18406 # Additional compiler flags for building library objects.
18407 pic_flag=$lt_lt_prog_compiler_pic_RC
18410 # What is the maximum length of a command?
18411 max_cmd_len=$lt_cv_sys_max_cmd_len
18413 # Does compiler simultaneously support -c and -o options?
18414 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18416 # Must we lock files when doing compilation?
18417 need_locks=$lt_need_locks
18419 # Do we need the lib prefix for modules?
18420 need_lib_prefix=$need_lib_prefix
18422 # Do we need a version for libraries?
18423 need_version=$need_version
18425 # Whether dlopen is supported.
18426 dlopen_support=$enable_dlopen
18428 # Whether dlopen of programs is supported.
18429 dlopen_self=$enable_dlopen_self
18431 # Whether dlopen of statically linked programs is supported.
18432 dlopen_self_static=$enable_dlopen_self_static
18434 # Compiler flag to prevent dynamic linking.
18435 link_static_flag=$lt_lt_prog_compiler_static_RC
18437 # Compiler flag to turn off builtin functions.
18438 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18440 # Compiler flag to allow reflexive dlopens.
18441 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18443 # Compiler flag to generate shared objects directly from archives.
18444 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18446 # Compiler flag to generate thread-safe objects.
18447 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18449 # Library versioning type.
18450 version_type=$version_type
18452 # Format of library name prefix.
18453 libname_spec=$lt_libname_spec
18455 # List of archive names. First name is the real one, the rest are links.
18456 # The last name is the one that the linker finds with -lNAME.
18457 library_names_spec=$lt_library_names_spec
18459 # The coded name of the library, if different from the real name.
18460 soname_spec=$lt_soname_spec
18462 # Commands used to build and install an old-style archive.
18464 old_archive_cmds=$lt_old_archive_cmds_RC
18465 old_postinstall_cmds=$lt_old_postinstall_cmds
18466 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18468 # Create an old-style archive from a shared archive.
18469 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18471 # Create a temporary old-style archive to link instead of a shared archive.
18472 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18474 # Commands used to build and install a shared archive.
18475 archive_cmds=$lt_archive_cmds_RC
18476 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18477 postinstall_cmds=$lt_postinstall_cmds
18478 postuninstall_cmds=$lt_postuninstall_cmds
18480 # Commands used to build a loadable module (assumed same as above if empty)
18481 module_cmds=$lt_module_cmds_RC
18482 module_expsym_cmds=$lt_module_expsym_cmds_RC
18484 # Commands to strip libraries.
18485 old_striplib=$lt_old_striplib
18486 striplib=$lt_striplib
18488 # Dependencies to place before the objects being linked to create a
18490 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18492 # Dependencies to place after the objects being linked to create a
18494 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18496 # Dependencies to place before the objects being linked to create a
18498 predeps=$lt_predeps_RC
18500 # Dependencies to place after the objects being linked to create a
18502 postdeps=$lt_postdeps_RC
18504 # The library search path used internally by the compiler when linking
18505 # a shared library.
18506 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"\`
18508 # Method to check whether dependent libraries are shared objects.
18509 deplibs_check_method=$lt_deplibs_check_method
18511 # Command to use when deplibs_check_method == file_magic.
18512 file_magic_cmd=$lt_file_magic_cmd
18514 # Flag that allows shared libraries with undefined symbols to be built.
18515 allow_undefined_flag=$lt_allow_undefined_flag_RC
18517 # Flag that forces no undefined symbols.
18518 no_undefined_flag=$lt_no_undefined_flag_RC
18520 # Commands used to finish a libtool library installation in a directory.
18521 finish_cmds=$lt_finish_cmds
18523 # Same as above, but a single script fragment to be evaled but not shown.
18524 finish_eval=$lt_finish_eval
18526 # Take the output of nm and produce a listing of raw symbols and C names.
18527 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18529 # Transform the output of nm in a proper C declaration
18530 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18532 # Transform the output of nm in a C name address pair
18533 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18535 # This is the shared library runtime path variable.
18536 runpath_var=$runpath_var
18538 # This is the shared library path variable.
18539 shlibpath_var=$shlibpath_var
18541 # Is shlibpath searched before the hard-coded library search path?
18542 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18544 # How to hardcode a shared library path into an executable.
18545 hardcode_action=$hardcode_action_RC
18547 # Whether we should hardcode library paths into libraries.
18548 hardcode_into_libs=$hardcode_into_libs
18550 # Flag to hardcode \$libdir into a binary during linking.
18551 # This must work even if \$libdir does not exist.
18552 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18554 # If ld is used when linking, flag to hardcode \$libdir into
18555 # a binary during linking. This must work even if \$libdir does
18557 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18559 # Whether we need a single -rpath flag with a separated argument.
18560 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18562 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18563 # resulting binary.
18564 hardcode_direct=$hardcode_direct_RC
18566 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18567 # resulting binary.
18568 hardcode_minus_L=$hardcode_minus_L_RC
18570 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18571 # the resulting binary.
18572 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18574 # Set to yes if building a shared library automatically hardcodes DIR into the library
18575 # and all subsequent libraries and executables linked against it.
18576 hardcode_automatic=$hardcode_automatic_RC
18578 # Variables whose values should be saved in libtool wrapper scripts and
18579 # restored at relink time.
18580 variables_saved_for_relink="$variables_saved_for_relink"
18582 # Whether libtool must link a program against all its dependency libraries.
18583 link_all_deplibs=$link_all_deplibs_RC
18585 # Compile-time system search path for libraries
18586 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"\`
18588 # Run-time system search path for libraries
18589 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18591 # Fix the shell variable \$srcfile for the compiler.
18592 fix_srcfile_path="$fix_srcfile_path_RC"
18594 # Set to yes if exported symbols are required.
18595 always_export_symbols=$always_export_symbols_RC
18597 # The commands to list exported symbols.
18598 export_symbols_cmds=$lt_export_symbols_cmds_RC
18600 # The commands to extract the exported symbol list from a shared archive.
18601 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18603 # Symbols that should not be listed in the preloaded symbols.
18604 exclude_expsyms=$lt_exclude_expsyms_RC
18606 # Symbols that must always be exported.
18607 include_expsyms=$lt_include_expsyms_RC
18609 # ### END LIBTOOL TAG CONFIG: $tagname
18615 # If there is no Makefile yet, we rely on a make rule to execute
18616 # `config.status --recheck' to rerun these tests and create the
18617 # libtool script then.
18618 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18619 if test -f "$ltmain_in"; then
18620 test -f Makefile
&& make "$ltmain"
18626 ac_cpp
='$CPP $CPPFLAGS'
18627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18636 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18637 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18638 { (exit 1); exit 1; }; }
18642 # Append the new tag name to the list of available tags.
18643 if test -n "$tagname" ; then
18644 available_tags
="$available_tags $tagname"
18650 # Now substitute the updated list of available tags.
18651 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18652 mv "${ofile}T" "$ofile"
18656 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18657 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18658 { (exit 1); exit 1; }; }
18664 # This can be used to rebuild libtool when needed
18665 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18667 # Always use our own libtool.
18668 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18670 # Prevent multiple expansion
18692 if test x
$GCC = xyes
18694 CFLAGS
="-Wall $CFLAGS"
18696 if test x
$GXX = xyes
18698 CXXFLAGS
="-Wall $CXXFLAGS"
18701 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18702 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18703 if test "${ac_cv_c_const+set}" = set; then
18704 echo $ECHO_N "(cached) $ECHO_C" >&6
18706 cat >conftest.
$ac_ext <<_ACEOF
18709 cat confdefs.h
>>conftest.
$ac_ext
18710 cat >>conftest.
$ac_ext <<_ACEOF
18711 /* end confdefs.h. */
18716 /* FIXME: Include the comments suggested by Paul. */
18717 #ifndef __cplusplus
18718 /* Ultrix mips cc rejects this. */
18719 typedef int charset[2];
18721 /* SunOS 4.1.1 cc rejects this. */
18722 char const *const *ccp;
18724 /* NEC SVR4.0.2 mips cc rejects this. */
18725 struct point {int x, y;};
18726 static struct point const zero = {0,0};
18727 /* AIX XL C 1.02.0.0 rejects this.
18728 It does not let you subtract one const X* pointer from another in
18729 an arm of an if-expression whose if-part is not a constant
18731 const char *g = "string";
18732 ccp = &g + (g ? g-g : 0);
18733 /* HPUX 7.0 cc rejects these. */
18736 ccp = (char const *const *) p;
18737 { /* SCO 3.2v4 cc rejects this. */
18739 char const *s = 0 ? (char *) 0 : (char const *) 0;
18743 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18744 int x[] = {25, 17};
18745 const int *foo = &x[0];
18748 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18749 typedef const int *iptr;
18753 { /* AIX XL C 1.02.0.0 rejects this saying
18754 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18755 struct s { int j; const int *ap[3]; };
18756 struct s *b; b->j = 5;
18758 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18759 const int foo = 10;
18767 rm -f conftest.
$ac_objext
18768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18769 (eval $ac_compile) 2>conftest.er1
18771 grep -v '^ *+' conftest.er1
>conftest.err
18773 cat conftest.err
>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); } &&
18776 { ac_try
='test -z "$ac_c_werror_flag"
18777 || test ! -s conftest.err'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; } &&
18783 { ac_try
='test -s conftest.$ac_objext'
18784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18785 (eval $ac_try) 2>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); }; }; then
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.
$ac_ext >&5
18796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18798 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18799 echo "${ECHO_T}$ac_cv_c_const" >&6
18800 if test $ac_cv_c_const = no
; then
18802 cat >>confdefs.h
<<\_ACEOF
18808 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18809 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
18810 if test "${ac_cv_header_stdc+set}" = set; then
18811 echo $ECHO_N "(cached) $ECHO_C" >&6
18813 cat >conftest.
$ac_ext <<_ACEOF
18816 cat confdefs.h
>>conftest.
$ac_ext
18817 cat >>conftest.
$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18819 #include <stdlib.h>
18820 #include <stdarg.h>
18821 #include <string.h>
18832 rm -f conftest.
$ac_objext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18834 (eval $ac_compile) 2>conftest.er1
18836 grep -v '^ *+' conftest.er1
>conftest.err
18838 cat conftest.err
>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } &&
18841 { ac_try
='test -z "$ac_c_werror_flag"
18842 || test ! -s conftest.err'
18843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); }; } &&
18848 { ac_try
='test -s conftest.$ac_objext'
18849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850 (eval $ac_try) 2>&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; }; then
18854 ac_cv_header_stdc
=yes
18856 echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.
$ac_ext >&5
18859 ac_cv_header_stdc
=no
18861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18863 if test $ac_cv_header_stdc = yes; then
18864 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18865 cat >conftest.
$ac_ext <<_ACEOF
18868 cat confdefs.h
>>conftest.
$ac_ext
18869 cat >>conftest.
$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 #include <string.h>
18874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18875 $EGREP "memchr" >/dev
/null
2>&1; then
18878 ac_cv_header_stdc
=no
18884 if test $ac_cv_header_stdc = yes; then
18885 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18886 cat >conftest.
$ac_ext <<_ACEOF
18889 cat confdefs.h
>>conftest.
$ac_ext
18890 cat >>conftest.
$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18892 #include <stdlib.h>
18895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18896 $EGREP "free" >/dev
/null
2>&1; then
18899 ac_cv_header_stdc
=no
18905 if test $ac_cv_header_stdc = yes; then
18906 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18907 if test "$cross_compiling" = yes; then
18910 cat >conftest.
$ac_ext <<_ACEOF
18913 cat confdefs.h
>>conftest.
$ac_ext
18914 cat >>conftest.
$ac_ext <<_ACEOF
18915 /* end confdefs.h. */
18917 #if ((' ' & 0x0FF) == 0x020)
18918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18921 # define ISLOWER(c) \
18922 (('a' <= (c) && (c) <= 'i') \
18923 || ('j' <= (c) && (c) <= 'r') \
18924 || ('s' <= (c) && (c) <= 'z'))
18925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18933 for (i = 0; i < 256; i++)
18934 if (XOR (islower (i), ISLOWER (i))
18935 || toupper (i) != TOUPPER (i))
18940 rm -f conftest
$ac_exeext
18941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18942 (eval $ac_link) 2>&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18947 (eval $ac_try) 2>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); }; }; then
18953 echo "$as_me: program exited with status $ac_status" >&5
18954 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.
$ac_ext >&5
18957 ( exit $ac_status )
18958 ac_cv_header_stdc
=no
18960 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18964 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18965 echo "${ECHO_T}$ac_cv_header_stdc" >&6
18966 if test $ac_cv_header_stdc = yes; then
18968 cat >>confdefs.h
<<\_ACEOF
18969 #define STDC_HEADERS 1
18977 for ac_header
in fcntl.h string.h syslog.h
18979 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18981 echo "$as_me:$LINENO: checking for $ac_header" >&5
18982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18984 echo $ECHO_N "(cached) $ECHO_C" >&6
18986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18989 # Is the header compilable?
18990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18992 cat >conftest.
$ac_ext <<_ACEOF
18995 cat confdefs.h
>>conftest.
$ac_ext
18996 cat >>conftest.
$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998 $ac_includes_default
18999 #include <$ac_header>
19001 rm -f conftest.
$ac_objext
19002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19003 (eval $ac_compile) 2>conftest.er1
19005 grep -v '^ *+' conftest.er1
>conftest.err
19007 cat conftest.err
>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } &&
19010 { ac_try
='test -z "$ac_c_werror_flag"
19011 || test ! -s conftest.err'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; } &&
19017 { ac_try
='test -s conftest.$ac_objext'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; }; then
19023 ac_header_compiler
=yes
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.
$ac_ext >&5
19028 ac_header_compiler
=no
19030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19032 echo "${ECHO_T}$ac_header_compiler" >&6
19034 # Is the header present?
19035 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19036 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19037 cat >conftest.
$ac_ext <<_ACEOF
19040 cat confdefs.h
>>conftest.
$ac_ext
19041 cat >>conftest.
$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 #include <$ac_header>
19045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19046 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19048 grep -v '^ *+' conftest.er1
>conftest.err
19050 cat conftest.err
>&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); } >/dev
/null
; then
19053 if test -s conftest.err
; then
19054 ac_cpp_err
=$ac_c_preproc_warn_flag
19055 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19062 if test -z "$ac_cpp_err"; then
19063 ac_header_preproc
=yes
19065 echo "$as_me: failed program was:" >&5
19066 sed 's/^/| /' conftest.
$ac_ext >&5
19068 ac_header_preproc
=no
19070 rm -f conftest.err conftest.
$ac_ext
19071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19072 echo "${ECHO_T}$ac_header_preproc" >&6
19074 # So? What about this header?
19075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19077 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19080 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19081 ac_header_preproc
=yes
19084 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19085 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19086 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19087 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19088 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19089 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19090 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19091 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19094 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19095 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19098 ## -------------------------------------------------- ##
19099 ## Report this to courier-users@lists.sourceforge.net ##
19100 ## -------------------------------------------------- ##
19103 sed "s/^/$as_me: WARNING: /" >&2
19106 echo "$as_me:$LINENO: checking for $ac_header" >&5
19107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19109 echo $ECHO_N "(cached) $ECHO_C" >&6
19111 eval "$as_ac_Header=\$ac_header_preproc"
19113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19118 cat >>confdefs.h
<<_ACEOF
19119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19126 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
19127 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
19128 if test "${ac_cv_type_uid_t+set}" = set; then
19129 echo $ECHO_N "(cached) $ECHO_C" >&6
19131 cat >conftest.
$ac_ext <<_ACEOF
19134 cat confdefs.h
>>conftest.
$ac_ext
19135 cat >>conftest.
$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 #include <sys/types.h>
19140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19141 $EGREP "uid_t" >/dev
/null
2>&1; then
19142 ac_cv_type_uid_t
=yes
19144 ac_cv_type_uid_t
=no
19149 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
19150 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
19151 if test $ac_cv_type_uid_t = no
; then
19153 cat >>confdefs.h
<<\_ACEOF
19158 cat >>confdefs.h
<<\_ACEOF
19165 for ac_func
in strchr
19167 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19168 echo "$as_me:$LINENO: checking for $ac_func" >&5
19169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19170 if eval "test \"\${$as_ac_var+set}\" = set"; then
19171 echo $ECHO_N "(cached) $ECHO_C" >&6
19173 cat >conftest.
$ac_ext <<_ACEOF
19176 cat confdefs.h
>>conftest.
$ac_ext
19177 cat >>conftest.
$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19181 #define $ac_func innocuous_$ac_func
19183 /* System header to define __stub macros and hopefully few prototypes,
19184 which can conflict with char $ac_func (); below.
19185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19186 <limits.h> exists even on freestanding compilers. */
19189 # include <limits.h>
19191 # include <assert.h>
19196 /* Override any gcc2 internal prototype to avoid an error. */
19201 /* We use char because int might match the return type of a gcc2
19202 builtin and then its argument prototype would still apply. */
19204 /* The GNU C library defines this for functions which it implements
19205 to always fail with ENOSYS. Some functions are actually named
19206 something starting with __ and the normal name is an alias. */
19207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19210 char (*f) () = $ac_func;
19219 return f != $ac_func;
19224 rm -f conftest.
$ac_objext conftest
$ac_exeext
19225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19226 (eval $ac_link) 2>conftest.er1
19228 grep -v '^ *+' conftest.er1
>conftest.err
19230 cat conftest.err
>&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); } &&
19233 { ac_try
='test -z "$ac_c_werror_flag"
19234 || test ! -s conftest.err'
19235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19236 (eval $ac_try) 2>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); }; } &&
19240 { ac_try
='test -s conftest$ac_exeext'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; }; then
19246 eval "$as_ac_var=yes"
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.
$ac_ext >&5
19251 eval "$as_ac_var=no"
19253 rm -f conftest.err conftest.
$ac_objext \
19254 conftest
$ac_exeext conftest.
$ac_ext
19256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19258 if test `eval echo '${'$as_ac_var'}'` = yes; then
19259 cat >>confdefs.h
<<_ACEOF
19260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19268 # Check whether --with-syslog or --without-syslog was given.
19269 if test "${with_syslog+set}" = set; then
19270 withval
="$with_syslog"
19271 logdest
="LOG_$withval"
19277 cat >>confdefs.h
<<_ACEOF
19278 #define LOG_DEST $logdest
19283 if test -d ${srcdir}/..
/docbook
; then
19285 HAVE_SGML_FALSE
='#'
19291 ac_config_files
="$ac_config_files Makefile"
19292 cat >confcache
<<\_ACEOF
19293 # This file is a shell script that caches the results of configure
19294 # tests run on this system so they can be shared between configure
19295 # scripts and configure runs, see configure's option --config-cache.
19296 # It is not useful on other systems. If it contains results you don't
19297 # want to keep, you may remove or edit it.
19299 # config.status only pays attention to the cache file if you give it
19300 # the --recheck option to rerun configure.
19302 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19303 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19304 # following values.
19308 # The following way of writing the cache mishandles newlines in values,
19309 # but we know of no workaround that is simple, portable, and efficient.
19310 # So, don't put newlines in cache variables' values.
19311 # Ultrix sh set writes to stderr and can't be redirected directly,
19312 # and sets the high bit in the cache file unless we assign to the vars.
19315 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19317 # `set' does not quote correctly, so add quotes (double-quote
19318 # substitution turns \\\\ into \\, and sed turns \\ into \).
19321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19324 # `set' quotes correctly as required by POSIX, so do not add quotes.
19326 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19333 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19335 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19337 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19338 if test -w $cache_file; then
19339 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19340 cat confcache
>$cache_file
19342 echo "not updating unwritable cache $cache_file"
19347 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19348 # Let make expand exec_prefix.
19349 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19351 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19352 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19353 # trailing colons and then remove the whole line if VPATH becomes empty
19354 # (actually we leave an empty line to preserve line numbers).
19355 if test "x$srcdir" = x.
; then
19356 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19357 s/:*\$(srcdir):*/:/;
19358 s/:*\${srcdir}:*/:/;
19360 s/^\([^=]*=[ ]*\):*/\1/;
19366 DEFS
=-DHAVE_CONFIG_H
19370 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19371 # 1. Remove the extension, and $U if already installed.
19372 ac_i
=`echo "$ac_i" |
19373 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19375 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19376 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19378 LIBOBJS
=$ac_libobjs
19380 LTLIBOBJS
=$ac_ltlibobjs
19383 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19384 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19385 Usually this means the macro was only invoked conditionally." >&5
19386 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19387 Usually this means the macro was only invoked conditionally." >&2;}
19388 { (exit 1); exit 1; }; }
19390 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19391 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19392 Usually this means the macro was only invoked conditionally." >&5
19393 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19394 Usually this means the macro was only invoked conditionally." >&2;}
19395 { (exit 1); exit 1; }; }
19397 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19398 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19399 Usually this means the macro was only invoked conditionally." >&5
19400 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19401 Usually this means the macro was only invoked conditionally." >&2;}
19402 { (exit 1); exit 1; }; }
19404 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
19405 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
19406 Usually this means the macro was only invoked conditionally." >&5
19407 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
19408 Usually this means the macro was only invoked conditionally." >&2;}
19409 { (exit 1); exit 1; }; }
19412 : ${CONFIG_STATUS=./config.status}
19413 ac_clean_files_save
=$ac_clean_files
19414 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19415 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19416 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19417 cat >$CONFIG_STATUS <<_ACEOF
19419 # Generated by $as_me.
19420 # Run this file to recreate the current configuration.
19421 # Compiler output produced by configure, useful for debugging
19422 # configure, is in config.log if it exists.
19425 ac_cs_recheck=false
19427 SHELL=\${CONFIG_SHELL-$SHELL}
19430 cat >>$CONFIG_STATUS <<\_ACEOF
19431 ## --------------------- ##
19432 ## M4sh Initialization. ##
19433 ## --------------------- ##
19435 # Be Bourne compatible
19436 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19439 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19440 # is contrary to our usage. Disable this feature.
19441 alias -g '${1+"$@"}'='"$@"'
19442 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19445 DUALCASE
=1; export DUALCASE
# for MKS sh
19447 # Support unset when possible.
19448 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19455 # Work around bugs in pre-3.0 UWIN ksh.
19456 $as_unset ENV MAIL MAILPATH
19463 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19464 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19465 LC_TELEPHONE LC_TIME
19467 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19468 eval $as_var=C
; export $as_var
19474 # Required to use basename.
19475 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19481 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19482 as_basename
=basename
19488 # Name of the executable.
19489 as_me
=`$as_basename "$0" ||
19490 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19491 X"$0" : 'X\(//\)$' \| \
19492 X"$0" : 'X\(/\)$' \| \
19493 . : '\(.\)' 2>/dev/null ||
19495 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19496 /^X\/\(\/\/\)$/{ s//\1/; q; }
19497 /^X\/\(\/\).*/{ s//\1/; q; }
19501 # PATH needs CR, and LINENO needs CR and PATH.
19502 # Avoid depending upon Character Ranges.
19503 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19504 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19505 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19506 as_cr_digits
='0123456789'
19507 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19509 # The user is always right.
19510 if test "${PATH_SEPARATOR+set}" != set; then
19511 echo "#! /bin/sh" >conf$$.sh
19512 echo "exit 0" >>conf$$.sh
19514 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19523 as_lineno_1
=$LINENO
19524 as_lineno_2
=$LINENO
19525 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19526 test "x$as_lineno_1" != "x$as_lineno_2" &&
19527 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19528 # Find who we are. Look in the path if we contain no path at all
19531 *[\\/]* ) as_myself
=$0 ;;
19532 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19533 for as_dir
in $PATH
19536 test -z "$as_dir" && as_dir
=.
19537 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19542 # We did not find ourselves, most probably we were run as `sh COMMAND'
19543 # in which case we are not to be found in the path.
19544 if test "x$as_myself" = x
; then
19547 if test ! -f "$as_myself"; then
19548 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19549 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19550 { (exit 1); exit 1; }; }
19552 case $CONFIG_SHELL in
19554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19555 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19558 test -z "$as_dir" && as_dir
=.
19559 for as_base
in sh bash ksh sh5
; do
19562 if ("$as_dir/$as_base" -c '
19563 as_lineno_1=$LINENO
19564 as_lineno_2=$LINENO
19565 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19566 test "x$as_lineno_1" != "x$as_lineno_2" &&
19567 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19568 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19569 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19570 CONFIG_SHELL
=$as_dir/$as_base
19571 export CONFIG_SHELL
19572 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19580 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19581 # uniformly replaced by the line number. The first 'sed' inserts a
19582 # line-number line before each line; the second 'sed' does the real
19583 # work. The second script uses 'N' to pair each line-number line
19584 # with the numbered line, and appends trailing '-' during
19585 # substitution so that $LINENO is not a special case at line end.
19586 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19587 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19588 sed '=' <$as_myself |
19593 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19596 s,^['$as_cr_digits']*\n,,
19597 ' >$as_me.lineno
&&
19598 chmod +x
$as_me.lineno ||
19599 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19600 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19601 { (exit 1); exit 1; }; }
19603 # Don't try to exec as it changes $[0], causing all sort of problems
19604 # (the dirname of $[0] is not the place where we might find the
19605 # original and so on. Autoconf is especially sensible to this).
19607 # Exit status is that of the last command.
19612 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19613 *c
*,-n*) ECHO_N
= ECHO_C
='
19615 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19616 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19619 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19625 rm -f conf$$ conf$$.exe conf$$.
file
19627 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19628 # We could just check for DJGPP; but this test a) works b) is more generic
19629 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19630 if test -f conf$$.exe
; then
19631 # Don't use ln at all; we don't have any links
19636 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19641 rm -f conf$$ conf$$.exe conf$$.
file
19643 if mkdir
-p .
2>/dev
/null
; then
19646 test -d .
/-p && rmdir .
/-p
19650 as_executable_p
="test -f"
19652 # Sed expression to map a string onto a valid CPP name.
19653 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19655 # Sed expression to map a string onto a valid variable name.
19656 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19660 # We need space, tab and new line, in precisely that order.
19670 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19671 # report actual input values of CONFIG_FILES etc. instead of their
19672 # values after options handling. Logging --version etc. is OK.
19676 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19677 ## Running $as_me. ##
19682 This file was extended by courierlogger $as_me 0.10, which was
19683 generated by GNU Autoconf 2.59. Invocation command line was
19685 CONFIG_FILES = $CONFIG_FILES
19686 CONFIG_HEADERS = $CONFIG_HEADERS
19687 CONFIG_LINKS = $CONFIG_LINKS
19688 CONFIG_COMMANDS = $CONFIG_COMMANDS
19692 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19696 # Files that config.status was made for.
19697 if test -n "$ac_config_files"; then
19698 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19701 if test -n "$ac_config_headers"; then
19702 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19705 if test -n "$ac_config_links"; then
19706 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19709 if test -n "$ac_config_commands"; then
19710 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19713 cat >>$CONFIG_STATUS <<\_ACEOF
19716 \`$as_me' instantiates files from templates according to the
19717 current configuration.
19719 Usage: $0 [OPTIONS] [FILE]...
19721 -h, --help print this help, then exit
19722 -V, --version print version number, then exit
19723 -q, --quiet do not print progress messages
19724 -d, --debug don't remove temporary files
19725 --recheck update $as_me by reconfiguring in the same conditions
19726 --file=FILE[:TEMPLATE]
19727 instantiate the configuration file FILE
19728 --header=FILE[:TEMPLATE]
19729 instantiate the configuration header FILE
19731 Configuration files:
19734 Configuration headers:
19737 Configuration commands:
19740 Report bugs to <bug-autoconf@gnu.org>."
19743 cat >>$CONFIG_STATUS <<_ACEOF
19745 courierlogger config.status 0.10
19746 configured by $0, generated by GNU Autoconf 2.59,
19747 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19749 Copyright (C) 2003 Free Software Foundation, Inc.
19750 This config.status script is free software; the Free Software Foundation
19751 gives unlimited permission to copy, distribute and modify it."
19756 cat >>$CONFIG_STATUS <<\_ACEOF
19757 # If no file are specified by the user, then we need to provide default
19758 # value. By we need to know if files were specified by the user.
19764 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19765 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19773 *) # This is not an option, so the user has probably given explicit
19776 ac_need_defaults
=false
;;
19780 # Handling of the options.
19782 cat >>$CONFIG_STATUS <<\_ACEOF
19783 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19785 --version |
--vers* |
-V )
19786 echo "$ac_cs_version"; exit 0 ;;
19788 # Conflict between --help and --header
19789 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19790 Try \`$0 --help' for more information." >&5
19791 echo "$as_me: error: ambiguous option: $1
19792 Try \`$0 --help' for more information." >&2;}
19793 { (exit 1); exit 1; }; };;
19794 --help |
--hel |
-h )
19795 echo "$ac_cs_usage"; exit 0 ;;
19796 --debug |
--d* |
-d )
19798 --file |
--fil |
--fi |
--f )
19800 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19801 ac_need_defaults
=false
;;
19802 --header |
--heade |
--head |
--hea )
19804 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19805 ac_need_defaults
=false
;;
19806 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19807 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19810 # This is an error.
19811 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19812 Try \`$0 --help' for more information." >&5
19813 echo "$as_me: error: unrecognized option: $1
19814 Try \`$0 --help' for more information." >&2;}
19815 { (exit 1); exit 1; }; } ;;
19817 *) ac_config_targets
="$ac_config_targets $1" ;;
19823 ac_configure_extra_args
=
19825 if $ac_cs_silent; then
19827 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19831 cat >>$CONFIG_STATUS <<_ACEOF
19832 if \$ac_cs_recheck; then
19833 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19834 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19839 cat >>$CONFIG_STATUS <<_ACEOF
19841 # INIT-COMMANDS section.
19844 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19850 cat >>$CONFIG_STATUS <<\_ACEOF
19851 for ac_config_target
in $ac_config_targets
19853 case "$ac_config_target" in
19854 # Handling of arguments.
19855 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19856 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19857 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19858 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19859 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19860 { (exit 1); exit 1; }; };;
19864 # If the user did not use the arguments to specify the items to instantiate,
19865 # then the envvar interface is used. Set only those that are not.
19866 # We use the long form for the default assignment because of an extremely
19867 # bizarre bug on SunOS 4.1.3.
19868 if $ac_need_defaults; then
19869 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19870 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19871 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19874 # Have a temporary directory for convenience. Make it in the build tree
19875 # simply because there is no reason to put it here, and in addition,
19876 # creating and moving files from /tmp can sometimes cause problems.
19877 # Create a temporary directory, and hook for its removal unless debugging.
19880 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19881 trap '{ (exit 1); exit 1; }' 1 2 13 15
19884 # Create a (secure) tmp directory for tmp files.
19887 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19888 test -n "$tmp" && test -d "$tmp"
19891 tmp
=.
/confstat$$
-$RANDOM
19892 (umask 077 && mkdir
$tmp)
19895 echo "$me: cannot create a temporary directory in ." >&2
19896 { (exit 1); exit 1; }
19901 cat >>$CONFIG_STATUS <<_ACEOF
19904 # CONFIG_FILES section.
19907 # No need to generate the scripts if there are no CONFIG_FILES.
19908 # This happens for instance when ./config.status config.h
19909 if test -n "\$CONFIG_FILES"; then
19910 # Protect against being on the right side of a sed subst in config.status.
19911 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19912 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19913 s,@SHELL@,$SHELL,;t t
19914 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19915 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19916 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19917 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19918 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19919 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19920 s,@exec_prefix@,$exec_prefix,;t t
19921 s,@prefix@,$prefix,;t t
19922 s,@program_transform_name@,$program_transform_name,;t t
19923 s,@bindir@,$bindir,;t t
19924 s,@sbindir@,$sbindir,;t t
19925 s,@libexecdir@,$libexecdir,;t t
19926 s,@datadir@,$datadir,;t t
19927 s,@sysconfdir@,$sysconfdir,;t t
19928 s,@sharedstatedir@,$sharedstatedir,;t t
19929 s,@localstatedir@,$localstatedir,;t t
19930 s,@libdir@,$libdir,;t t
19931 s,@includedir@,$includedir,;t t
19932 s,@oldincludedir@,$oldincludedir,;t t
19933 s,@infodir@,$infodir,;t t
19934 s,@mandir@,$mandir,;t t
19935 s,@build_alias@,$build_alias,;t t
19936 s,@host_alias@,$host_alias,;t t
19937 s,@target_alias@,$target_alias,;t t
19938 s,@DEFS@,$DEFS,;t t
19939 s,@ECHO_C@,$ECHO_C,;t t
19940 s,@ECHO_N@,$ECHO_N,;t t
19941 s,@ECHO_T@,$ECHO_T,;t t
19942 s,@LIBS@,$LIBS,;t t
19943 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19944 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19945 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19946 s,@CYGPATH_W@,$CYGPATH_W,;t t
19947 s,@PACKAGE@,$PACKAGE,;t t
19948 s,@VERSION@,$VERSION,;t t
19949 s,@ACLOCAL@,$ACLOCAL,;t t
19950 s,@AUTOCONF@,$AUTOCONF,;t t
19951 s,@AUTOMAKE@,$AUTOMAKE,;t t
19952 s,@AUTOHEADER@,$AUTOHEADER,;t t
19953 s,@MAKEINFO@,$MAKEINFO,;t t
19954 s,@install_sh@,$install_sh,;t t
19955 s,@STRIP@,$STRIP,;t t
19956 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19957 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
19958 s,@mkdir_p@,$mkdir_p,;t t
19960 s,@SET_MAKE@,$SET_MAKE,;t t
19961 s,@am__leading_dot@,$am__leading_dot,;t t
19962 s,@AMTAR@,$AMTAR,;t t
19963 s,@am__tar@,$am__tar,;t t
19964 s,@am__untar@,$am__untar,;t t
19966 s,@CFLAGS@,$CFLAGS,;t t
19967 s,@LDFLAGS@,$LDFLAGS,;t t
19968 s,@CPPFLAGS@,$CPPFLAGS,;t t
19969 s,@ac_ct_CC@,$ac_ct_CC,;t t
19970 s,@EXEEXT@,$EXEEXT,;t t
19971 s,@OBJEXT@,$OBJEXT,;t t
19972 s,@DEPDIR@,$DEPDIR,;t t
19973 s,@am__include@,$am__include,;t t
19974 s,@am__quote@,$am__quote,;t t
19975 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
19976 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
19977 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
19978 s,@CCDEPMODE@,$CCDEPMODE,;t t
19979 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
19980 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
19981 s,@LN_S@,$LN_S,;t t
19982 s,@build@,$build,;t t
19983 s,@build_cpu@,$build_cpu,;t t
19984 s,@build_vendor@,$build_vendor,;t t
19985 s,@build_os@,$build_os,;t t
19986 s,@host@,$host,;t t
19987 s,@host_cpu@,$host_cpu,;t t
19988 s,@host_vendor@,$host_vendor,;t t
19989 s,@host_os@,$host_os,;t t
19991 s,@EGREP@,$EGREP,;t t
19992 s,@ECHO@,$ECHO,;t t
19994 s,@ac_ct_AR@,$ac_ct_AR,;t t
19995 s,@RANLIB@,$RANLIB,;t t
19996 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19999 s,@CXXFLAGS@,$CXXFLAGS,;t t
20000 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20001 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20002 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20003 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20004 s,@CXXCPP@,$CXXCPP,;t t
20006 s,@FFLAGS@,$FFLAGS,;t t
20007 s,@ac_ct_F77@,$ac_ct_F77,;t t
20008 s,@LIBTOOL@,$LIBTOOL,;t t
20009 s,@HAVE_SGML_TRUE@,$HAVE_SGML_TRUE,;t t
20010 s,@HAVE_SGML_FALSE@,$HAVE_SGML_FALSE,;t t
20011 s,@LIBOBJS@,$LIBOBJS,;t t
20012 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20017 cat >>$CONFIG_STATUS <<\_ACEOF
20018 # Split the substitutions into bite-sized pieces for seds with
20019 # small command number limits, like on Digital OSF/1 and HP-UX.
20020 ac_max_sed_lines
=48
20021 ac_sed_frag
=1 # Number of current file.
20022 ac_beg
=1 # First line for current file.
20023 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20026 while $ac_more_lines; do
20027 if test $ac_beg -gt 1; then
20028 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20030 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20032 if test ! -s $tmp/subs.frag
; then
20033 ac_more_lines
=false
20035 # The purpose of the label and of the branching condition is to
20036 # speed up the sed processing (if there are no `@' at all, there
20037 # is no need to browse any of the substitutions).
20038 # These are the two extra sed commands mentioned above.
20040 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20041 if test -z "$ac_sed_cmds"; then
20042 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20044 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20046 ac_sed_frag
=`expr $ac_sed_frag + 1`
20048 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20051 if test -z "$ac_sed_cmds"; then
20054 fi # test -n "$CONFIG_FILES"
20057 cat >>$CONFIG_STATUS <<\_ACEOF
20058 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20059 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20061 - |
*:- |
*:-:* ) # input from stdin
20063 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20064 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20065 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20066 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20067 * ) ac_file_in
=$ac_file.
in ;;
20070 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20071 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20072 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20073 X"$ac_file" : 'X\(//\)[^/]' \| \
20074 X"$ac_file" : 'X\(//\)$' \| \
20075 X"$ac_file" : 'X\(/\)' \| \
20076 . : '\(.\)' 2>/dev/null ||
20078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20079 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20080 /^X\(\/\/\)$/{ s//\1/; q; }
20081 /^X\(\/\).*/{ s//\1/; q; }
20083 { if $as_mkdir_p; then
20088 while test ! -d "$as_dir"; do
20089 as_dirs
="$as_dir $as_dirs"
20090 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20092 X"$as_dir" : 'X\(//\)[^/]' \| \
20093 X"$as_dir" : 'X\(//\)$' \| \
20094 X"$as_dir" : 'X\(/\)' \| \
20095 . : '\(.\)' 2>/dev/null ||
20097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20098 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20099 /^X\(\/\/\)$/{ s//\1/; q; }
20100 /^X\(\/\).*/{ s//\1/; q; }
20103 test ! -n "$as_dirs" || mkdir
$as_dirs
20104 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20105 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20106 { (exit 1); exit 1; }; }; }
20110 if test "$ac_dir" != .
; then
20111 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20112 # A "../" for each directory in $ac_dir_suffix.
20113 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20115 ac_dir_suffix
= ac_top_builddir
=
20119 .
) # No --srcdir option. We are building in place.
20121 if test -z "$ac_top_builddir"; then
20124 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20126 [\\/]* | ?
:[\\/]* ) # Absolute path.
20127 ac_srcdir
=$srcdir$ac_dir_suffix;
20128 ac_top_srcdir
=$srcdir ;;
20129 *) # Relative path.
20130 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20131 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20134 # Do not use `cd foo && pwd` to compute absolute paths, because
20135 # the directories may not exist.
20137 .
) ac_abs_builddir
="$ac_dir";;
20140 .
) ac_abs_builddir
=`pwd`;;
20141 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20142 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20145 case $ac_abs_builddir in
20146 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20148 case ${ac_top_builddir}.
in
20149 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20150 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20151 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20154 case $ac_abs_builddir in
20155 .
) ac_abs_srcdir
=$ac_srcdir;;
20158 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20159 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20160 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20163 case $ac_abs_builddir in
20164 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20166 case $ac_top_srcdir in
20167 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20168 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20169 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20175 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20176 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20179 if test x
"$ac_file" != x-
; then
20180 { echo "$as_me:$LINENO: creating $ac_file" >&5
20181 echo "$as_me: creating $ac_file" >&6;}
20184 # Let's still pretend it is `configure' which instantiates (i.e., don't
20185 # use $as_me), people would be surprised to read:
20186 # /* config.h. Generated by config.status. */
20187 if test x
"$ac_file" = x-
; then
20190 configure_input
="$ac_file. "
20192 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20193 sed 's,.*/,,'` by configure."
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; }; }
20208 if test -f "$f"; then
20211 elif test -f "$srcdir/$f"; then
20216 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20217 echo "$as_me: error: cannot find input file: $f" >&2;}
20218 { (exit 1); exit 1; }; }
20221 done` ||
{ (exit 1); exit 1; }
20223 cat >>$CONFIG_STATUS <<_ACEOF
20227 cat >>$CONFIG_STATUS <<\_ACEOF
20229 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20230 s
,@configure_input@
,$configure_input,;t t
20231 s
,@srcdir@
,$ac_srcdir,;t t
20232 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20233 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20234 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20235 s
,@builddir@
,$ac_builddir,;t t
20236 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20237 s
,@top_builddir@
,$ac_top_builddir,;t t
20238 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20239 s
,@INSTALL@
,$ac_INSTALL,;t t
20240 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20242 if test x"$ac_file" != x-; then
20243 mv $tmp/out $ac_file
20251 cat >>$CONFIG_STATUS <<\_ACEOF
20254 # CONFIG_HEADER section.
20257 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20258 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20260 # ac_d sets the value in "#define NAME VALUE" lines.
20261 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20262 ac_dB
='[ ].*$,\1#\2'
20265 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20266 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20267 ac_uB
='$,\1#\2define\3'
20271 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20272 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20274 - |
*:- |
*:-:* ) # input from stdin
20276 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20277 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20278 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20279 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20280 * ) ac_file_in
=$ac_file.
in ;;
20283 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20284 echo "$as_me: creating $ac_file" >&6;}
20286 # First look for the input files in the build tree, otherwise in the
20288 ac_file_inputs
=`IFS=:
20289 for f in $ac_file_in; do
20291 -) echo $tmp/stdin ;;
20293 # Absolute (can't be DOS-style, as IFS=:)
20294 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20295 echo "$as_me: error: cannot find input file: $f" >&2;}
20296 { (exit 1); exit 1; }; }
20297 # Do quote $f, to prevent DOS paths from being IFS'd.
20300 if test -f "$f"; then
20303 elif test -f "$srcdir/$f"; then
20308 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20309 echo "$as_me: error: cannot find input file: $f" >&2;}
20310 { (exit 1); exit 1; }; }
20313 done` ||
{ (exit 1); exit 1; }
20314 # Remove the trailing spaces.
20315 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20319 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20320 # `conftest.undefs', that substitutes the proper values into
20321 # config.h.in to produce config.h. The first handles `#define'
20322 # templates, and the second `#undef' templates.
20323 # And first: Protect against being on the right side of a sed subst in
20324 # config.status. Protect against being in an unquoted here document
20325 # in config.status.
20326 rm -f conftest.defines conftest.undefs
20327 # Using a here document instead of a string reduces the quoting nightmare.
20328 # Putting comments in sed scripts is not portable.
20330 # `end' is used to avoid that the second main sed command (meant for
20331 # 0-ary CPP macros) applies to n-ary macro definitions.
20332 # See the Autoconf documentation for `clear'.
20333 cat >confdef2sed.
sed <<\_ACEOF
20338 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20340 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20343 # If some macros were called several times there might be several times
20344 # the same #defines, which is useless. Nevertheless, we may not want to
20345 # sort them, since we want the *last* AC-DEFINE to be honored.
20346 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20347 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20348 rm -f confdef2sed.sed
20350 # This sed command replaces #undef with comments. This is necessary, for
20351 # example, in the case of _POSIX_SOURCE, which is predefined and required
20352 # on some systems where configure will not decide to define it.
20353 cat >>conftest.undefs <<\_ACEOF
20354 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20357 # Break up conftest.defines because some shells have a limit on the size
20358 # of here documents, and old seds have small limits too (100 cmds).
20359 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20360 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20361 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20362 echo ' :' >>$CONFIG_STATUS
20363 rm -f conftest.tail
20364 while grep . conftest.defines >/dev/null
20366 # Write a limited-size here document to $tmp/defines.sed.
20367 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20368 # Speed up: don't consider the non `#define' lines.
20369 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20370 # Work around the forget-to-reset-the-flag bug.
20371 echo 't clr' >>$CONFIG_STATUS
20372 echo ': clr' >>$CONFIG_STATUS
20373 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20375 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20377 mv $tmp/out $tmp/in
20379 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20380 rm -f conftest.defines
20381 mv conftest.
tail conftest.defines
20383 rm -f conftest.defines
20384 echo ' fi # grep' >>$CONFIG_STATUS
20385 echo >>$CONFIG_STATUS
20387 # Break up conftest.undefs because some shells have a limit on the size
20388 # of here documents, and old seds have small limits too (100 cmds).
20389 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20390 rm -f conftest.
tail
20391 while grep . conftest.undefs
>/dev
/null
20393 # Write a limited-size here document to $tmp/undefs.sed.
20394 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20395 # Speed up: don't consider the non
`#undef'
20396 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20397 # Work around the forget-to-reset-the-flag bug.
20398 echo 't clr' >>$CONFIG_STATUS
20399 echo ': clr' >>$CONFIG_STATUS
20400 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20402 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20404 mv $tmp/out $tmp/in
20406 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20407 rm -f conftest.undefs
20408 mv conftest.tail conftest.undefs
20410 rm -f conftest.undefs
20412 cat >>$CONFIG_STATUS <<\_ACEOF
20413 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20414 # use $as_me), people would be surprised to read:
20415 # /* config.h. Generated by config.status. */
20416 if test x
"$ac_file" = x-
; then
20417 echo "/* Generated by configure. */" >$tmp/config.h
20419 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20421 cat $tmp/in >>$tmp/config.h
20423 if test x
"$ac_file" != x-
; then
20424 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20425 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20426 echo "$as_me: $ac_file is unchanged" >&6;}
20428 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20430 X"$ac_file" : 'X\(//\)[^/]' \| \
20431 X"$ac_file" : 'X\(//\)$' \| \
20432 X"$ac_file" : 'X\(/\)' \| \
20433 . : '\(.\)' 2>/dev/null ||
20435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20436 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20437 /^X\(\/\/\)$/{ s//\1/; q; }
20438 /^X\(\/\).*/{ s//\1/; q; }
20440 { if $as_mkdir_p; then
20445 while test ! -d "$as_dir"; do
20446 as_dirs
="$as_dir $as_dirs"
20447 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20449 X"$as_dir" : 'X\(//\)[^/]' \| \
20450 X"$as_dir" : 'X\(//\)$' \| \
20451 X"$as_dir" : 'X\(/\)' \| \
20452 . : '\(.\)' 2>/dev/null ||
20454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20455 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20456 /^X\(\/\/\)$/{ s//\1/; q; }
20457 /^X\(\/\).*/{ s//\1/; q; }
20460 test ! -n "$as_dirs" || mkdir
$as_dirs
20461 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20462 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20463 { (exit 1); exit 1; }; }; }
20466 mv $tmp/config.h
$ac_file
20470 rm -f $tmp/config.h
20472 # Compute $ac_file's index in $config_headers.
20474 for _am_header
in $config_headers :; do
20475 case $_am_header in
20476 $ac_file |
$ac_file:* )
20479 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20482 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20483 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20484 X$ac_file : 'X\(//\)[^/]' \| \
20485 X$ac_file : 'X\(//\)$' \| \
20486 X$ac_file : 'X\(/\)' \| \
20487 . : '\(.\)' 2>/dev/null ||
20489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20490 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20491 /^X\(\/\/\)$/{ s//\1/; q; }
20492 /^X\(\/\).*/{ s//\1/; q; }
20493 s/.*/./; q'`/stamp-h
$_am_stamp_count
20496 cat >>$CONFIG_STATUS <<\_ACEOF
20499 # CONFIG_COMMANDS section.
20501 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20502 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20503 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20504 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20505 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20506 X"$ac_dest" : 'X\(//\)[^/]' \| \
20507 X"$ac_dest" : 'X\(//\)$' \| \
20508 X"$ac_dest" : 'X\(/\)' \| \
20509 . : '\(.\)' 2>/dev/null ||
20511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20512 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20513 /^X\(\/\/\)$/{ s//\1/; q; }
20514 /^X\(\/\).*/{ s//\1/; q; }
20516 { if $as_mkdir_p; then
20521 while test ! -d "$as_dir"; do
20522 as_dirs
="$as_dir $as_dirs"
20523 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20524 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20525 X"$as_dir" : 'X\(//\)[^/]' \| \
20526 X"$as_dir" : 'X\(//\)$' \| \
20527 X"$as_dir" : 'X\(/\)' \| \
20528 . : '\(.\)' 2>/dev/null ||
20530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20531 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20532 /^X\(\/\/\)$/{ s//\1/; q; }
20533 /^X\(\/\).*/{ s//\1/; q; }
20536 test ! -n "$as_dirs" || mkdir
$as_dirs
20537 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20538 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20539 { (exit 1); exit 1; }; }; }
20543 if test "$ac_dir" != .
; then
20544 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20545 # A "../" for each directory in $ac_dir_suffix.
20546 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20548 ac_dir_suffix
= ac_top_builddir
=
20552 .
) # No --srcdir option. We are building in place.
20554 if test -z "$ac_top_builddir"; then
20557 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20559 [\\/]* | ?
:[\\/]* ) # Absolute path.
20560 ac_srcdir
=$srcdir$ac_dir_suffix;
20561 ac_top_srcdir
=$srcdir ;;
20562 *) # Relative path.
20563 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20564 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20567 # Do not use `cd foo && pwd` to compute absolute paths, because
20568 # the directories may not exist.
20570 .
) ac_abs_builddir
="$ac_dir";;
20573 .
) ac_abs_builddir
=`pwd`;;
20574 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20575 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20578 case $ac_abs_builddir in
20579 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20581 case ${ac_top_builddir}.
in
20582 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20583 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20584 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20587 case $ac_abs_builddir in
20588 .
) ac_abs_srcdir
=$ac_srcdir;;
20591 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20592 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20593 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20596 case $ac_abs_builddir in
20597 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20599 case $ac_top_srcdir in
20600 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20601 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20602 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20607 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20608 echo "$as_me: executing $ac_dest commands" >&6;}
20610 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20611 # Strip MF so we end up with the name of the file.
20612 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20613 # Check whether this is an Automake generated Makefile or not.
20614 # We used to match only the files named `Makefile.in', but
20615 # some people rename them; so instead we look at the file content.
20616 # Grep'ing the first line is not enough: some people post-process
20617 # each Makefile.in and add a new line on top of each file to say so.
20618 # So let's grep whole file.
20619 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
20620 dirpart
=`(dirname "$mf") 2>/dev/null ||
20621 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20622 X"$mf" : 'X\(//\)[^/]' \| \
20623 X"$mf" : 'X\(//\)$' \| \
20624 X"$mf" : 'X\(/\)' \| \
20625 . : '\(.\)' 2>/dev/null ||
20627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20628 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20629 /^X\(\/\/\)$/{ s//\1/; q; }
20630 /^X\(\/\).*/{ s//\1/; q; }
20635 # Extract the definition of DEPDIR, am__include, and am__quote
20636 # from the Makefile without running `make'.
20637 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20638 test -z "$DEPDIR" && continue
20639 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20640 test -z "am__include" && continue
20641 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20642 # When using ansi2knr, U may be empty or an underscore; expand it
20643 U
=`sed -n 's/^U = //p' < "$mf"`
20644 # Find all dependency output files, they are included files with
20645 # $(DEPDIR) in their names. We invoke sed twice because it is the
20646 # simplest approach to changing $(DEPDIR) to its actual value in the
20648 for file in `sed -n "
20649 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20650 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20651 # Make sure the directory exists.
20652 test -f "$dirpart/$file" && continue
20653 fdir
=`(dirname "$file") 2>/dev/null ||
20654 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20655 X"$file" : 'X\(//\)[^/]' \| \
20656 X"$file" : 'X\(//\)$' \| \
20657 X"$file" : 'X\(/\)' \| \
20658 . : '\(.\)' 2>/dev/null ||
20660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20661 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20662 /^X\(\/\/\)$/{ s//\1/; q; }
20663 /^X\(\/\).*/{ s//\1/; q; }
20665 { if $as_mkdir_p; then
20666 mkdir
-p $dirpart/$fdir
20668 as_dir
=$dirpart/$fdir
20670 while test ! -d "$as_dir"; do
20671 as_dirs
="$as_dir $as_dirs"
20672 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20673 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20674 X"$as_dir" : 'X\(//\)[^/]' \| \
20675 X"$as_dir" : 'X\(//\)$' \| \
20676 X"$as_dir" : 'X\(/\)' \| \
20677 . : '\(.\)' 2>/dev/null ||
20679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20681 /^X\(\/\/\)$/{ s//\1/; q; }
20682 /^X\(\/\).*/{ s//\1/; q; }
20685 test ! -n "$as_dirs" || mkdir
$as_dirs
20686 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20687 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
20688 { (exit 1); exit 1; }; }; }
20690 # echo "creating $dirpart/$file"
20691 echo '# dummy' > "$dirpart/$file"
20699 cat >>$CONFIG_STATUS <<\_ACEOF
20701 { (exit 0); exit 0; }
20703 chmod +x
$CONFIG_STATUS
20704 ac_clean_files
=$ac_clean_files_save
20707 # configure is writing to config.log, and then calls config.status.
20708 # config.status does its own redirection, appending to config.log.
20709 # Unfortunately, on DOS this fails, as config.log is still kept open
20710 # by configure, so config.status won't be able to write to it; its
20711 # output is simply discarded. So we exec the FD to /dev/null,
20712 # effectively closing config.log, so it can be properly (re)opened and
20713 # appended to by config.status. When coming back to configure, we
20714 # need to make the FD available again.
20715 if test "$no_create" != yes; then
20717 ac_config_status_args
=
20718 test "$silent" = yes &&
20719 ac_config_status_args
="$ac_config_status_args --quiet"
20721 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20723 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20724 # would make configure fail if this is the last instruction.
20725 $ac_cs_success ||
{ (exit 1); exit 1; }